From 468f826656ee77d64ab966e6077db259ee0db619 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Thu, 16 Aug 2012 20:13:40 +0200 Subject: [PATCH] Some more string translations. A few more translator changes I missed with last commit. Added a few more strings for translation, pointed out by diver. Thanks! --- src/add-ons/translators/gif/GIFView.cpp | 2 +- src/add-ons/translators/raw/ConfigView.cpp | 2 +- src/add-ons/translators/webp/ConfigView.cpp | 3 ++- src/apps/mail/Prefs.cpp | 2 +- src/preferences/network/EthernetSettingsView.cpp | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/add-ons/translators/gif/GIFView.cpp b/src/add-ons/translators/gif/GIFView.cpp index 266a72b460..e54c3bdcef 100644 --- a/src/add-ons/translators/gif/GIFView.cpp +++ b/src/add-ons/translators/gif/GIFView.cpp @@ -42,7 +42,7 @@ GIFView::GIFView(const char *name) { SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - BStringView *title = new BStringView("Title", translatorName); + BStringView *title = new BStringView("Title", B_TRANSLATE("GIF image translator")); title->SetFont(be_bold_font); char version_string[100]; diff --git a/src/add-ons/translators/raw/ConfigView.cpp b/src/add-ons/translators/raw/ConfigView.cpp index bbb9c0bc15..060886604b 100644 --- a/src/add-ons/translators/raw/ConfigView.cpp +++ b/src/add-ons/translators/raw/ConfigView.cpp @@ -27,7 +27,7 @@ ConfigView::ConfigView(uint32 flags) { SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - BStringView *fTitle = new BStringView("title", B_TRANSLATE("RAW Images")); + BStringView *fTitle = new BStringView("title", B_TRANSLATE("RAW image translator")); fTitle->SetFont(be_bold_font); char version[256]; diff --git a/src/add-ons/translators/webp/ConfigView.cpp b/src/add-ons/translators/webp/ConfigView.cpp index 5bb7c34ef3..ac6ab0f8a8 100644 --- a/src/add-ons/translators/webp/ConfigView.cpp +++ b/src/add-ons/translators/webp/ConfigView.cpp @@ -58,7 +58,8 @@ ConfigView::ConfigView(TranslatorSettings* settings, uint32 flags) { SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); - BStringView* title = new BStringView("title", B_TRANSLATE("WebP Images")); + BStringView* title = new BStringView("title", + B_TRANSLATE("WebP image translator")); title->SetFont(be_bold_font); char versionString[256]; diff --git a/src/apps/mail/Prefs.cpp b/src/apps/mail/Prefs.cpp index 2edb2081b9..8611f1f917 100644 --- a/src/apps/mail/Prefs.cpp +++ b/src/apps/mail/Prefs.cpp @@ -629,7 +629,7 @@ TPrefsWindow::_BuildAccountMenu(int32 account) //menu->SetRadioMode(true); BMailAccounts accounts; if (accounts.CountAccounts() == 0) { - menu->AddItem(item = new BMenuItem("", NULL)); + menu->AddItem(item = new BMenuItem(B_TRANSLATE(""), NULL)); item->SetEnabled(false); return menu; } diff --git a/src/preferences/network/EthernetSettingsView.cpp b/src/preferences/network/EthernetSettingsView.cpp index f098797b0b..5ab586f903 100644 --- a/src/preferences/network/EthernetSettingsView.cpp +++ b/src/preferences/network/EthernetSettingsView.cpp @@ -114,7 +114,7 @@ EthernetSettingsView::EthernetSettingsView() rootLayout->SetSpacing(inset); layout->SetSpacing(inset, inset); - BPopUpMenu* deviceMenu = new BPopUpMenu(""); + BPopUpMenu* deviceMenu = new BPopUpMenu((B_TRANSLATE("")); for (int32 i = 0; i < fInterfaces.CountItems(); i++) { BString& name = *fInterfaces.ItemAt(i); BString label = name;