From fb0b9d6fff86f18d27164ed9b8f7ad3905d1d6d5 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Thu, 6 May 2010 22:38:11 +0000 Subject: [PATCH] Updated to use B_TRANSLATE* macros. relates to #5408. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36677 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/readonlybootprompt/BootPromptWindow.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/apps/readonlybootprompt/BootPromptWindow.cpp b/src/apps/readonlybootprompt/BootPromptWindow.cpp index a2d93669b9..497b095f22 100644 --- a/src/apps/readonlybootprompt/BootPromptWindow.cpp +++ b/src/apps/readonlybootprompt/BootPromptWindow.cpp @@ -222,9 +222,9 @@ BootPromptWindow::_InitCatalog(bool saveSettings) void BootPromptWindow::_UpdateStrings() { - SetTitle(TR("Welcome to Haiku!")); + SetTitle(B_TRANSLATE("Welcome to Haiku!")); - const char* infoText = TR( + const char* infoText = B_TRANSLATE( "Do you wish to run the Installer or continue booting to the " "Desktop? You can also select your preferred language and keyboard " "layout from the list below.\n\n" @@ -237,11 +237,11 @@ BootPromptWindow::_UpdateStrings() fInfoTextView->SetText(infoText); - fDesktopButton->SetLabel(TR("Desktop (Live-CD)")); - fInstallerButton->SetLabel(TR("Run Installer")); + fDesktopButton->SetLabel(B_TRANSLATE("Desktop (Live-CD)")); + fInstallerButton->SetLabel(B_TRANSLATE("Run Installer")); - fLanguagesLabelView->SetText(TR("Language")); - fKeymapsLabelView->SetText(TR("Keymap")); + fLanguagesLabelView->SetText(B_TRANSLATE("Language")); + fKeymapsLabelView->SetText(B_TRANSLATE("Keymap")); _PopulateLanguages(); _PopulateKeymaps(); @@ -277,7 +277,7 @@ BootPromptWindow::_PopulateLanguages() // Try to instantiate a BCatalog for each language, it will only work // for translations of this application. So the list of languages will be // limited to catalogs written for this application, which is on purpose! - + const char* languageString; for (int32 i = 0; installedCatalogs.FindString("langs", i, &languageString) == B_OK;