Changes between Version 30 and Version 31 of Notifications
- Timestamp:
- Nov 6, 2009, 2:36:57 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Notifications
v30 v31 157 157 * Message identifiers start at 1. 158 158 * Message identifiers should not be removed from the message list and cannot be removed if no longer used. 159 * Messages should be enclosed in the _( “Test Message”) macro syntax.160 * Message parameters are enclosed in ‘{} ‘braces with an index to the position in which the parameter should replace the marker.159 * Messages should be enclosed in the _("Test Message") macro syntax. 160 * Message parameters are enclosed in ‘{}’ braces with an index to the position in which the parameter should replace the marker. 161 161 162 162 When new messages are added poEdit or some other string extraction tool should be used to update the BOINC-Server-Messages.pot template file. After the localization process has been completed the resulting BOINC-Server-Messages.mo file should be shipped with the client software. … … 164 164 A string in need of localization would look like this: 165 165 {{{ 166 _( “This client needs {1} of additional memory. {2} detected in total.”)166 _("This client needs {1} of additional memory. {2} detected in total.") 167 167 }}} 168 168 169 169 After translation it could look like this: 170 170 {{{ 171 _( “Your computer has {2} of total detected memory, but the client needs an additional {1} in order to be assigned work.”)171 _("Your computer has {2} of total detected memory, but the client needs an additional {1} in order to be assigned work.") 172 172 }}} 173 173