[haiku-bugs] Re: [Haiku] #7689: [mail_daemon] Mail menu in deskbar is not localized

  • From: "taos" <trac@xxxxxxxxxxxx>
  • Date: Mon, 20 Jun 2011 10:33:54 -0000

#7689: [mail_daemon] Mail menu in deskbar is not localized
-----------------------------------+----------------------------
   Reporter:  taos                 |      Owner:  czeidler
       Type:  bug                  |     Status:  new
   Priority:  normal               |  Milestone:  R1
  Component:  Servers/mail_daemon  |    Version:  R1/Development
 Resolution:                       |   Keywords:  localization
 Blocked By:                       |   Blocking:
Has a Patch:  0                    |   Platform:  All
-----------------------------------+----------------------------

Comment (by taos):

 Okay, so I tried to get rid of MDR_DIALECT_CHOICE. Here is a patch
 ("mail_daemon.patch") that replaces it with B_TRANSLATE and adds
 DoCatalogs to the Jamfile. The old Japanese translation from the source
 code is attached ("Old_Japanese_translation.txt").

 Mail_daemon can be compiled without errors or warnings and works - as far
 as I can tell - as expected.

 However, to make things easier for translators on HTA, I would like to use
 more complete strings (e.g. {{{B_TRANSLATE("%d new messages for %s\n")}}}
 instead of {{{fAlertString << numMessages << B_TRANSLATE(" new
 messages");}}} and {{{fAlertString << B_TRANSLATE(" for ") <<
 msg->FindString("name") << '\n';}}}. Unfortunately, I'm new to programming
 and don't know (yet) how to implement this correctly (more research
 needed).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7689#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: