Opened 5 years ago
Last modified 5 years ago
#16002 new bug
Mail: Untranslated strings
Reported by: | bitigchi | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Mail | Version: | R1/Development |
Keywords: | l10n, i18n | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Mail tray item has untranslated strings. On right click:
- Open Draft
- Open Inbox Folder
- Open Mail Folder
Note:
See TracTickets
for help on using tickets.
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.