[haiku-commits] Re: r40506 - haiku/trunk/src/apps/charactermap

  • From: Siarzhuk Zharski <zharik@xxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 15 Feb 2011 13:54:15 +0200

On Tue, 15 Feb 2011 11:42:56 +0100, pulkomandy wrote:
-       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"));

This one ("about") can actually be visible if you use something else than the default decorator. For example, the WinDecorator has alerts with a
title bar.
We may switch to a different decorator in the future (R2 or beyond), so it
may be wise to localize it already...

Hm. Anyway that is not local CharacterMap issue, I have seen unlocalized labels in other apps too. So the ticket about "browse through BAlert constructors in the localized apps and fix them" should be droppen into Trac I think.

--
Kind Regards,
   S.Zharski

Other related posts: