I agree this is important to fix, but it's not that easy: JavaScript files are not natively supported by xgettext (i.e. try creating a JS file with a single-quoted string), so that's not going to work. We'll probably have to pass a suitable xgettext -L option for them, but ideally, someone would add native JavaScript support to gettext.
I agree this is important to fix, but it's not that easy: JavaScript files are not natively supported by xgettext (i.e. try creating a JS file with a single-quoted string), so that's not going to work. We'll probably have to pass a suitable xgettext -L option for them, but ideally, someone would add native JavaScript support to gettext.