From 1c0ab34c371d3abce2673152625a2d7803d78b26 Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Tue, 15 Feb 2011 10:44:45 +0000 Subject: [PATCH] Applied yet another localization patch made by Jorma Karvonen. Fixes #7109. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40506 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/charactermap/CharacterMap.cpp | 4 ++-- src/apps/charactermap/CharacterWindow.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/apps/charactermap/CharacterMap.cpp b/src/apps/charactermap/CharacterMap.cpp index 29da741ef3..d680f5cdea 100644 --- a/src/apps/charactermap/CharacterMap.cpp +++ b/src/apps/charactermap/CharacterMap.cpp @@ -57,10 +57,10 @@ CharacterMap::MessageReceived(BMessage* message) void CharacterMap::AboutRequested() { - BAlert *alert = new BAlert(B_TRANSLATE("about"), B_TRANSLATE( + BAlert *alert = new BAlert("about", B_TRANSLATE( "CharacterMap\n" "\twritten by Axel Dörfler\n" - "\tCopyright 2009, Haiku, Inc.\n"), "OK"); + "\tCopyright 2009, Haiku, Inc.\n"), B_TRANSLATE("OK")); BTextView *view = alert->TextView(); BFont font; diff --git a/src/apps/charactermap/CharacterWindow.cpp b/src/apps/charactermap/CharacterWindow.cpp index a9b5fa2be9..39fd5395e8 100644 --- a/src/apps/charactermap/CharacterWindow.cpp +++ b/src/apps/charactermap/CharacterWindow.cpp @@ -121,8 +121,8 @@ private: CharacterWindow::CharacterWindow() - : BWindow(BRect(100, 100, 700, 550), "CharacterMap", B_TITLED_WINDOW, - B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE + : BWindow(BRect(100, 100, 700, 550), B_TRANSLATE("CharacterMap"), + B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE | B_AUTO_UPDATE_SIZE_LIMITS) { BMessage settings; @@ -310,8 +310,8 @@ CharacterWindow::MessageReceived(BMessage* message) sizeof(utf8Hex)); char text[128]; - snprintf(text, sizeof(text), "'%s' Code: %#lx (%ld), UTF-8: %s", - utf8, character, character, utf8Hex); + snprintf(text, sizeof(text), "'%s' %s: %#lx (%ld), UTF-8: %s", + utf8, B_TRANSLATE("Code"), character, character, utf8Hex); fCodeView->SetText(text); break;