GitHub PushEvent at 2014-10-17 14:42:27
Repository: bugzilla-4intranet
Actor: vitalif
Payload: {"shas":[["1efe7ed3394470dcb39d2a24e7eda682b4dca294","53e369a295c879c0950c38ac4f6245a0983f1438@yourcmc.ru","Remove editscrum.cgi link","Vitaliy Filippov",false],["b86dc45361e434f307a3723628c90b5ba2c69dd5","53e369a295c879c0950c38ac4f6245a0983f1438@yourcmc.ru","Localisation layer for Bugzilla, separated from templates\n\nLanguages are put into i18n/<lang>/ and consist of:\n* messages.pl - messages for translating templates, substituted at compile time\n* runtime.pl - messages that are needed in runtime, setup/strings.txt.pl is moved here\n* messages.js - messages for JavaScripts\n\nTemplates aren't subdivided into languages anymore; the single\n'template/localised' directory is used, and [% L('Message text') %]\nor [% L('Message $1 text is $2', 'Param1', 'Param2') %] is used in\nthe templates. Both forms are substituted at template compile time.\n\nLocalised templates are auto-generated from English ones by the\ncontrib/extract-strings.pl script which also uses i18n/en/blacklist.pl\nto determine what strings shouldn't be translated.\n\nSo, the commit includes:\n* contrib/extract-strings.pl -- script for translating TT templates\n* i18n/en/blacklist.pl -- blacklist of messages that should not be auto-extracted\n* Template adjustments for more correct string extraction\n  (for example, TT does not allow expressions in hash keys)\n* Template adjustments for string extraction from JavaScript blocks\n* js/*.js adjustments for using i18n messages\n* Compile-time i18n message substitution implementation\n* Bugzilla::Language class that manages loading of i18n messages","Vitaliy Filippov",true]],"size":2,"ref":"refs/heads/i18n","head":"b86dc45361e434f307a3723628c90b5ba2c69dd5"}