diff options
| author | czaks <marcin@6irc.net> | 2013-07-03 01:04:08 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-03 01:04:08 -0400 |
| commit | da9f367f2f9cf24d47b8d6a04cf2e54cb14a03bc (patch) | |
| tree | 35e35df4d21630ce4e007a65fbe88b5bf12fd0de /templates | |
| parent | 3fc38cb55277098e234734baa5bb7513cc974109 (diff) | |
js i18n: misc fixes; quick-reply.js i18n
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/main.js b/templates/main.js index b3e773a3..31c0254a 100644 --- a/templates/main.js +++ b/templates/main.js @@ -2,12 +2,12 @@ /* gettext-compatible _ function, example of usage:
*
- * > // Loading pl_PL.json here (containing polish translation strings generated by tools/locale_compile.php)
+ * > // Loading pl_PL.json here (containing polish translation strings generated by tools/i18n_compile.php)
* > alert(_("Hello!"));
* Witaj!
*/
function _(s) {
- return (typeof tb_l10n != 'undefined' && typeof tb_l10n[s] != 'undefined') ? tb_l10n[s] : s;
+ return (typeof l10n != 'undefined' && typeof l10n[s] != 'undefined') ? l10n[s] : s;
}
/* printf-like formatting function, example of usage:
|
