diff --git a/src/browsedialog.cpp b/src/browsedialog.cpp index 7766d24..c96b39a 100644 --- a/src/browsedialog.cpp +++ b/src/browsedialog.cpp @@ -25,7 +25,7 @@ BrowseDialog::BrowseDialog( btn->setAction(BIND(&BrowseDialog::directoryUp)); buttonBox.add(btn); - btn = new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Enter folder"]); + btn = new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select"]); btn->setAction(BIND(&BrowseDialog::directoryEnter)); buttonBox.add(btn); diff --git a/src/contextmenu.cpp b/src/contextmenu.cpp index a57cc17..728b04e 100644 --- a/src/contextmenu.cpp +++ b/src/contextmenu.cpp @@ -60,7 +60,7 @@ ContextMenu::ContextMenu(GMenu2X &gmenu2x, Menu &menu) } if (!app->isOpk()) { options.push_back(std::make_shared( - tr.translate("Delete $1 link", app->getTitle().c_str(), NULL), + tr.translate("Delete $1", app->getTitle().c_str(), NULL), std::bind(&GMenu2X::deleteLink, &gmenu2x))); } } diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index b46675d..94dba33 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -904,7 +904,7 @@ void GMenu2X::editLink() { string linkSelScreens = linkApp->getSelectorScreens(); int linkClock = linkApp->clock(); - string diagTitle = tr.translate("Edit link: $1",linkTitle.c_str(),NULL); + string diagTitle = tr.translate("Edit $1",linkTitle.c_str(),NULL); string diagIcon = linkApp->getIconPath(); SettingsDialog sd(this, input, ts, diagTitle, diagIcon); @@ -913,18 +913,18 @@ void GMenu2X::editLink() { sd.addSetting(new MenuSettingString(this, ts, tr["Description"], tr["Link description"], &linkDescription, diagTitle, diagIcon)); sd.addSetting(new MenuSettingMultiString(this, ts, tr["Section"], tr["The section this link belongs to"], &newSection, &menu->getSections())); sd.addSetting(new MenuSettingImage(this, ts, tr["Icon"], - tr.translate("Select an icon for the link: $1", + tr.translate("Select an icon for this link", linkTitle.c_str(), NULL), &linkIcon, "png")); sd.addSetting(new MenuSettingFile(this, ts, tr["Manual"], - tr["Select a graphic/textual manual or a readme"], - &linkManual, "man.png,txt")); + tr["Select a manual or README file"], + &linkManual, "man.png,txt")); } if (!linkApp->isOpk() || !linkApp->getSelectorDir().empty()) { sd.addSetting(new MenuSettingDir(this, ts, tr["Selector Directory"], tr["Directory to scan for the selector"], &linkSelDir)); sd.addSetting(new MenuSettingBool(this, ts, tr["Selector Browser"], tr["Allow the selector to change directory"], &linkSelBrowser)); } #ifdef ENABLE_CPUFREQ - sd.addSetting(new MenuSettingInt(this, ts, tr["Clock frequency"], tr["Cpu clock frequency to set when launching this link"], &linkClock, cpuFreqMin, confInt["maxClock"], cpuFreqMultiple)); + sd.addSetting(new MenuSettingInt(this, ts, tr["Clock frequency"], tr["CPU clock frequency for this link"], &linkClock, cpuFreqMin, confInt["maxClock"], cpuFreqMultiple)); #endif if (!linkApp->isOpk()) { sd.addSetting(new MenuSettingString(this, ts, tr["Selector Filter"], tr["Selector filter (Separate values with a comma)"], &linkSelFilter, diagTitle, diagIcon)); diff --git a/src/menusettingdir.cpp b/src/menusettingdir.cpp index 21a7a09..4aa5168 100644 --- a/src/menusettingdir.cpp +++ b/src/menusettingdir.cpp @@ -41,7 +41,7 @@ MenuSettingDir::MenuSettingDir( buttonBox.add(btn); btn = new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", - gmenu2x->tr["Select a directory"]); + gmenu2x->tr["Select"]); btn->setAction(BIND(&MenuSettingDir::edit)); buttonBox.add(btn); } diff --git a/src/menusettingfile.cpp b/src/menusettingfile.cpp index 08f542b..1582e8b 100644 --- a/src/menusettingfile.cpp +++ b/src/menusettingfile.cpp @@ -41,7 +41,7 @@ MenuSettingFile::MenuSettingFile( btn->setAction(BIND(&MenuSettingFile::clear)); buttonBox.add(btn); - btn = new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select a file"]); + btn = new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select"]); btn->setAction(BIND(&MenuSettingFile::edit)); buttonBox.add(btn); } diff --git a/src/selector.cpp b/src/selector.cpp index 9652693..c62bfca 100644 --- a/src/selector.cpp +++ b/src/selector.cpp @@ -67,13 +67,13 @@ int Selector::exec(int startSelection) { if (link->getSelectorBrowser()) { gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"], - gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select a file"], + gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select"], gmenu2x->drawButton(&bg, "cancel", gmenu2x->tr["Up one folder"], gmenu2x->drawButton(&bg, "left", "", 5)-10))); } else { gmenu2x->drawButton(&bg, "start", gmenu2x->tr["Exit"], gmenu2x->drawButton(&bg, "cancel", "", - gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select a file"], 5)) - 10); + gmenu2x->drawButton(&bg, "accept", gmenu2x->tr["Select"], 5)) - 10); } unsigned int top, height; diff --git a/src/wallpaperdialog.cpp b/src/wallpaperdialog.cpp index 29d26bf..8bb32f7 100644 --- a/src/wallpaperdialog.cpp +++ b/src/wallpaperdialog.cpp @@ -78,7 +78,7 @@ bool WallpaperDialog::exec() uint i, selected = 0, firstElement = 0, iY; ButtonBox buttonbox(gmenu2x); - buttonbox.add(new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select wallpaper"])); + buttonbox.add(new IconButton(gmenu2x, ts, "skin:imgs/buttons/accept.png", gmenu2x->tr["Select"])); buttonbox.add(new IconButton(gmenu2x, ts, "skin:imgs/buttons/cancel.png", gmenu2x->tr["Exit"])); unsigned int top, height; @@ -100,8 +100,8 @@ bool WallpaperDialog::exec() gmenu2x->drawBottomBar(gmenu2x->s); drawTitleIcon("icons/wallpaper.png",true); - writeTitle("Wallpaper selection"); - writeSubTitle("Select an image from the list, to use as a wallpaper"); + writeTitle(gmenu2x->tr["Wallpaper selection"]); + writeSubTitle(gmenu2x->tr["Select a wallpaper from the list"]); buttonbox.paint(gmenu2x->s, 5);