From f3977cf5f461b5c7e5408ab200e62bcc1dc7272e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 6 Mar 2007 07:54:47 +0100 Subject: js: add initial i18n stuff --- functions.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.js') 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) { -- cgit v1.2.3