fix: Add missing localizations
This commit is contained in:
parent
f5cbcce112
commit
7b3e13c748
@ -256,6 +256,7 @@
|
||||
"hex.builtin.menu.help": "Help",
|
||||
"hex.builtin.menu.help.ask_for_help": "Ask Documentation...",
|
||||
"hex.builtin.menu.layout": "Layout",
|
||||
"hex.builtin.menu.layout.lock": "Lock Layout",
|
||||
"hex.builtin.menu.layout.save": "Save Layout",
|
||||
"hex.builtin.menu.view": "View",
|
||||
"hex.builtin.menu.view.debug": "Show Debugging View",
|
||||
@ -1103,6 +1104,7 @@
|
||||
"hex.builtin.welcome.server_contact.crash_logs_only": "Just crash logs",
|
||||
"hex.builtin.welcome.customize.settings.desc": "Change preferences of ImHex",
|
||||
"hex.builtin.welcome.customize.settings.title": "Settings",
|
||||
"hex.builtin.welcome.drop_file": "Drop a file here to get started...",
|
||||
"hex.builtin.welcome.header.customize": "Customize",
|
||||
"hex.builtin.welcome.header.help": "Help",
|
||||
"hex.builtin.welcome.header.learn": "Learn",
|
||||
@ -1111,6 +1113,7 @@
|
||||
"hex.builtin.welcome.header.start": "Start",
|
||||
"hex.builtin.welcome.header.update": "Updates",
|
||||
"hex.builtin.welcome.header.various": "Various",
|
||||
"hex.builtin.welcome.header.quick_settings": "Quick Settings",
|
||||
"hex.builtin.welcome.help.discord": "Discord Server",
|
||||
"hex.builtin.welcome.help.discord.link": "https://imhex.werwolv.net/discord",
|
||||
"hex.builtin.welcome.help.gethelp": "Get Help",
|
||||
@ -1148,6 +1151,7 @@
|
||||
"hex.builtin.welcome.tip_of_the_day": "Tip of the Day",
|
||||
"hex.builtin.welcome.update.desc": "ImHex {0} just released! Download it here.",
|
||||
"hex.builtin.welcome.update.link": "https://github.com/WerWolv/ImHex/releases/latest",
|
||||
"hex.builtin.welcome.update.title": "New Update available!"
|
||||
"hex.builtin.welcome.update.title": "New Update available!",
|
||||
"hex.builtin.welcome.quick_settings.simplified": "Simplified"
|
||||
}
|
||||
}
|
||||
|
@ -550,7 +550,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ContentRegistry::Interface::addMenuItemSubMenu({ "hex.builtin.menu.layout" }, 1150, [] {
|
||||
bool locked = LayoutManager::isLayoutLocked();
|
||||
if (ImGui::MenuItem(locked ? "Unlock Layout" : "Lock Layout", nullptr, &locked)) {
|
||||
if (ImGui::MenuItem("hex.builtin.menu.layout.lock"_lang, nullptr, &locked, ImHexApi::Provider::isValid())) {
|
||||
LayoutManager::lockLayout(locked);
|
||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.layout_locked", locked);
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::SetCursorPos((ImGui::GetContentRegionAvail() - backdropSize) / 2);
|
||||
ImGui::Image(s_backdropTexture, backdropSize);
|
||||
|
||||
ImGuiExt::TextFormattedCentered("Drop file here to get started");
|
||||
ImGuiExt::TextFormattedCentered("hex.builtin.welcome.drop_file"_lang);
|
||||
}
|
||||
|
||||
void drawWelcomeScreenContentFull() {
|
||||
@ -390,9 +390,9 @@ namespace hex::plugin::builtin {
|
||||
{
|
||||
const ImVec2 windowSize = scaled({ 150, 60 });
|
||||
ImGui::SetCursorPos(ImGui::GetWindowSize() - windowSize - ImGui::GetStyle().WindowPadding);
|
||||
ImGuiExt::BeginSubWindow("Quick Settings", windowSize);
|
||||
ImGuiExt::BeginSubWindow("hex.builtin.welcome.header.quick_settings"_lang, windowSize);
|
||||
{
|
||||
if (ImGuiExt::ToggleSwitch("Simplified", &s_simplifiedWelcomeScreen))
|
||||
if (ImGuiExt::ToggleSwitch("hex.builtin.welcome.quick_settings.simplified"_lang, &s_simplifiedWelcomeScreen))
|
||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.simplified_welcome_screen", s_simplifiedWelcomeScreen);
|
||||
}
|
||||
ImGuiExt::EndSubWindow();
|
||||
|
Loading…
x
Reference in New Issue
Block a user