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
This commit is contained in:
Siarzhuk Zharski 2011-02-15 10:44:45 +00:00
parent 0ba57e76a4
commit 1c0ab34c37
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;