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:
@@ -57,10 +57,10 @@ CharacterMap::MessageReceived(BMessage* message)
|
|||||||
void
|
void
|
||||||
CharacterMap::AboutRequested()
|
CharacterMap::AboutRequested()
|
||||||
{
|
{
|
||||||
BAlert *alert = new BAlert(B_TRANSLATE("about"), B_TRANSLATE(
|
BAlert *alert = new BAlert("about", B_TRANSLATE(
|
||||||
"CharacterMap\n"
|
"CharacterMap\n"
|
||||||
"\twritten by Axel Dörfler\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();
|
BTextView *view = alert->TextView();
|
||||||
BFont font;
|
BFont font;
|
||||||
|
|
||||||
|
|||||||
@@ -121,8 +121,8 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
CharacterWindow::CharacterWindow()
|
CharacterWindow::CharacterWindow()
|
||||||
: BWindow(BRect(100, 100, 700, 550), "CharacterMap", B_TITLED_WINDOW,
|
: BWindow(BRect(100, 100, 700, 550), B_TRANSLATE("CharacterMap"),
|
||||||
B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE
|
B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE
|
||||||
| B_AUTO_UPDATE_SIZE_LIMITS)
|
| B_AUTO_UPDATE_SIZE_LIMITS)
|
||||||
{
|
{
|
||||||
BMessage settings;
|
BMessage settings;
|
||||||
@@ -310,8 +310,8 @@ CharacterWindow::MessageReceived(BMessage* message)
|
|||||||
sizeof(utf8Hex));
|
sizeof(utf8Hex));
|
||||||
|
|
||||||
char text[128];
|
char text[128];
|
||||||
snprintf(text, sizeof(text), "'%s' Code: %#lx (%ld), UTF-8: %s",
|
snprintf(text, sizeof(text), "'%s' %s: %#lx (%ld), UTF-8: %s",
|
||||||
utf8, character, character, utf8Hex);
|
utf8, B_TRANSLATE("Code"), character, character, utf8Hex);
|
||||||
|
|
||||||
fCodeView->SetText(text);
|
fCodeView->SetText(text);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user