L20n/Features/Globals namespace: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== goal == variables that will be defined by the system should be available without collisions with user or developer defined values. == example == We decided to keep "globals...") |
|||
Line 17: | Line 17: | ||
* screenWidth | * screenWidth | ||
* languageCode | * languageCode | ||
* | * time | ||
The <code>time</code> global may allow the localizer to adjust the message to the time of the day (which often depends on it in case of greetings). | |||
== status == | == status == | ||
accepted for inclusion | accepted for inclusion |
Revision as of 11:35, 1 March 2012
goal
variables that will be defined by the system should be available without collisions with user or developer defined values.
example
We decided to keep "globals" in a separate namespace. Current proposal is to mark them with "@" sign as a prefix.
<title[@os] { *win: "Settings", lin: "Preferences", mac: "Settings" }>
Other examples of global values might be:
- os
- screenWidth
- languageCode
- time
The time
global may allow the localizer to adjust the message to the time of the day (which often depends on it in case of greetings).
status
accepted for inclusion