Граф коммитов

231 Коммитов

Автор SHA1 Сообщение Дата
Anthony Ricaud d2f9517a10 Only parse .lang files if the cache is empty.
Before this, it would also parse when we cached an empty dict.
2012-07-16 16:28:09 +02:00
Anthony Ricaud cfb37582b0 Test another template because channel.html disappeared in d8921e105b 2012-07-06 16:31:27 +02:00
James Long 7faab4efc9 update l10n tests to use the "was" block instead of "else" 2012-05-31 15:33:59 +02:00
Anthony Ricaud bd0ba83456 Fix the testsuite so that it's possible to run tests. 2012-05-31 15:33:26 +02:00
James Long db01c61e8f polish l10n blocks, rewrite docs 2012-05-25 11:21:02 -04:00
James Long d77df47bb5 tweak workflow for l10n 2012-04-27 15:49:30 -04:00
James Long fe7aa37c0d fix problem with djanog forcing locales to lowercase 2012-04-17 11:19:41 -04:00
James Long 64a8c551e9 make .lang library case-sensitive 2012-04-16 14:13:19 -04:00
James Long 04cb7a8d3c strip {ok} and other tags off l10n strings 2012-04-16 13:32:57 -04:00
James Long 994aae3845 refactor .lang system, less hacky and more sleeky 2012-04-13 18:56:59 -04:00
James Long 6a83042136 tweaks to l10n stuff from wenzel r? 2012-04-11 15:56:56 -04:00
James Long d680df97cc finalize .lang functionality, provide set_lang_files and add_lang_files template blocks 2012-04-11 14:46:05 -04:00
James Long 44ae5f419a merge l10n branch 2012-04-11 00:57:53 -04:00
James Long e3c369bb44 implement more .lang utilities, extracting/merging 2012-04-11 00:44:22 -04:00
James Long d9f54b132f fix bug in l10n_utils helper 2012-04-06 15:36:34 -04:00
James Long 1952dd91af better y/n checking 2012-04-05 16:31:12 -04:00
James Long 08430fa0cc move dotlang lib into l10n_utils and write l10n_extract command 2012-04-02 13:59:19 -05:00
James Long 619f138aff a few tweaks to the l10n_check command, renamed else to was 2012-03-21 17:25:35 -04:00
Fred Wenzel 40e8e338b0 Merge branch 'master' of github.com:mozilla/bedrock 2012-02-24 15:29:50 -08:00
James Long 8a137d7e97 make l10n_check command only output l10n template if blocks exist 2011-12-14 15:52:13 -05:00
Fred Wenzel e0f9b6f358 PEP8ification and stuff. 2011-12-12 14:44:09 -08:00
James Long 848da29e25 add locale folder until we get it in SVN 2011-12-07 12:53:31 -08:00
James Long d308933633 add tests of l10n parser and finalize how it writes out the templates 2011-12-02 15:51:22 -05:00
James Long 4c6c41a107 refactor l10n_command to keep content outside of l10n blocks 2011-12-01 18:32:11 -05:00
James Long 73f9147947 update docs, remove unused -t argument to l10n_check command 2011-09-19 17:33:44 -04:00
James Long f984637ba9 rewrite l10n_check command to generate locale files with else statements 2011-09-19 12:05:50 -04:00
Fred Wenzel c660832f75 Added an else clause to l10n blocks. 2011-08-31 15:37:52 -07:00
James Long 7f9b81ed21 code cleanup 2011-05-25 18:24:56 -07:00
James Long bd159e03f5 move localized templates into locale directory, enhance l10n_check command 2011-05-25 00:10:20 -07:00
James Long 2b1ddf633f move l10n_check command to lib/l10n_utils 2011-05-24 14:41:40 -07:00
Fred Wenzel 306e0e5164 Initial implementation of l10n block type with jingo-like render shortcut. 2011-04-29 13:51:50 -07:00