diff options
author | Andrew Dolgov <[email protected]> | 2007-03-06 07:54:47 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-06 07:54:47 +0100 |
commit | f3977cf5f461b5c7e5408ab200e62bcc1dc7272e (patch) | |
tree | ead63b9c97db714aba8951f335c95d12a1cf1d30 /functions.js | |
parent | ac7bcd7135719c135ef5fe589f5bb23c30835dc6 (diff) |
js: add initial i18n stuff
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 7442daa67..b7e633ea9 100644 --- a/functions.js +++ b/functions.js @@ -140,6 +140,10 @@ function notify_real(msg, no_hide, n_type) { */ + if (typeof __ != 'undefined') { + msg = __(msg); + } + if (n_type == 1) { n.className = "notify"; } else if (n_type == 2) { |