[haiku-bugs] Re: [Haiku] #16002: Mail: Untranslated strings

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 10 May 2020 07:22:40 -0000

#16002: Mail: Untranslated strings
--------------------------------+----------------------------
  Reporter:  bitigchi           |      Owner:  nobody
      Type:  bug                |     Status:  new
  Priority:  normal             |  Milestone:  Unscheduled
 Component:  Applications/Mail  |    Version:  R1/Development
Resolution:                     |   Keywords:  l10n, i18n
Blocked By:                     |   Blocking:
  Platform:  All                |
--------------------------------+----------------------------
Comment (by pulkomandy):

 These are actually symlinks to the matching directories. Since their names
 are stored on disk, translating needs a bit of special handling.

 The strings are in src/server/mail/DeskbarView.cpp, but just adding
 B_TRANSLATE there would result in changing the name of the link on-disk,
 and then it would not be translated as you change languages.

 Moreover, the user is allowed to edit the content of that menu/directory
 as they wish, these are just a default setting. You can rename them if you
 want. So we must take care to still allow that. For example if we marked
 these with a special attribute, if the user simply renamed them, that
 wouldn't work because the attribute would override the actual name.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16002#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: