From 36ad6cd20a07aecf69e92e9fa724beef14be536a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 22 Mar 2021 17:28:05 +0200 Subject: Basic language string mechanism Added a set of English strings. Lang can load a language. LabelWidget can replace IDs in the label. IssueID #192 --- src/ui/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/window.c') diff --git a/src/ui/window.c b/src/ui/window.c index b8b2853e..2d1deb72 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -188,8 +188,8 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { #if !defined (iPlatformAppleMobile) /* TODO: Submenus wouldn't hurt here. */ static const iMenuItem navMenuItems_[] = { - { add_Icon " ${menu.nav.newtab}", 't', KMOD_PRIMARY, "tabs.new" }, - { "${menu.nav.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, + { add_Icon " ${menu.newtab}", 't', KMOD_PRIMARY, "tabs.new" }, + { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, { "---", 0, 0, NULL }, { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, { "${menu.copy.source}", SDLK_c, KMOD_PRIMARY, "copy" }, -- cgit v1.2.3