E.g. https://github.com/mozilla/webifyme/blob/master/ff4/utils/trans_real.py date_format = ugettext('DATE_FORMAT') A comment for the localizers should specify what is the syntax to be used in this string. See http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#comments-for-translators
Austin - we were chatting about this yesterday, what was the solution?
This was the L10n comment piece. Example: # L10n: A date format is in the following form .... These comments are kept with the strings and end up in the po files.
(In reply to comment #0) get_date_formats - This is a very weird piece of code. Not sure where it came from or why it would be a get text string. Seems like you'd want to use the native i18n methods for date format. We should nuke this or figure out how the app uses it.
These are methods are not used in the app - removing them [master b593bb2] removing unused methods
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.