##// END OF EJS Templates
i18n: replaced fragile extraction of JS translations from an _TM variable....
i18n: replaced fragile extraction of JS translations from an _TM variable. We replaced it with similar to babel functions _gettext, and _ngettext, that will prevent UI from breaking in case of untranslated strings. This also will allow to use babel built in extractors to fetch the translations stored inside html and JS.

File last commit:

r152:500c2650 default
r325:9f2e29d4 stable
Show More
common.py
34 lines | 1.1 KiB | text/x-python | PythonLexer
# Try and keep this list alphabetical
# ui is for user interface elements and messages
# button - that's obvious
rst_epilog = '''
.. |AE| replace:: Appenlight
.. |authtoken| replace:: Authentication Token
.. |authtokens| replace:: **Auth Tokens**
.. |git| replace:: Git
.. |hg| replace:: Mercurial
.. |svn| replace:: Subversion
.. |LDAP| replace:: LDAP / Active Directory
.. |os| replace:: operating system
.. |OS| replace:: Operating System
.. |PY| replace:: Python
.. |pr| replace:: pull request
.. |prs| replace:: pull requests
.. |psf| replace:: Python Software Foundation
.. |repo| replace:: repository
.. |repos| replace:: repositories
.. |RCI| replace:: RhodeCode Control
.. |RCC| replace:: RhodeCode Control
.. |RCV| replace:: RhodeCode Enterprise
.. |RCM| replace:: RhodeCode Enterprise
.. |RCE| replace:: RhodeCode Enterprise
.. |RCCE| replace:: RhodeCode Community
.. |RCEE| replace:: RhodeCode Enterprise
.. |RCX| replace:: RhodeCode Extensions
.. |RCT| replace:: RhodeCode Tools
.. |RCEBOLD| replace:: **RhodeCode Enterprise**
.. |RCEITALICS| replace:: `RhodeCode Enterprise`
.. |RC| replace:: RhodeCode
.. |RNS| replace:: Release Notes
'''