ui: Localized new strings
This commit is contained in:
parent
9b9c040d2d
commit
5532a0673f
@ -220,6 +220,8 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.pattern.accept_pattern.question", "Do you want to apply the selected pattern?" },
|
||||
{ "hex.view.pattern.menu.file.load_pattern", "Load pattern..." },
|
||||
{ "hex.view.pattern.open_pattern", "Open pattern" },
|
||||
{ "hex.view.pattern.compiling", "[%c] Compiling..." },
|
||||
{ "hex.view.pattern.auto", "Auto compile" },
|
||||
|
||||
{ "hex.view.pattern_data.title", "Pattern Data" },
|
||||
{ "hex.view.pattern_data.name", "Name" },
|
||||
|
@ -258,7 +258,7 @@ namespace hex {
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(ImColor(0x20, 0x85, 0x20)));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1);
|
||||
|
||||
if (ImGui::ArrowButton("Compile", ImGuiDir_Right))
|
||||
if (ImGui::ArrowButton("compile", ImGuiDir_Right))
|
||||
this->parsePattern(this->m_textEditor.GetText().data());
|
||||
|
||||
ImGui::PopStyleVar();
|
||||
@ -267,9 +267,9 @@ namespace hex {
|
||||
|
||||
ImGui::SameLine();
|
||||
if (this->m_compilerRunning)
|
||||
ImGui::Text("[%c] Compiling...", "|/-\\"[u8(ImGui::GetTime() * 20) % 4]);
|
||||
ImGui::Text("hex.view.pattern.compiling"_lang, "|/-\\"[u8(ImGui::GetTime() * 20) % 4]);
|
||||
else
|
||||
ImGui::Checkbox("Run automatically", &this->m_runAutomatically);
|
||||
ImGui::Checkbox("hex.view.pattern.auto"_lang, &this->m_runAutomatically);
|
||||
|
||||
if (this->m_textEditor.IsTextChanged() && this->m_runAutomatically) {
|
||||
this->parsePattern(this->m_textEditor.GetText().data());
|
||||
|
Loading…
x
Reference in New Issue
Block a user