]> git.gir.st - VimFx.git/blob - extension/packages/l10n.coffee
Improve coding style
[VimFx.git] / extension / packages / l10n.coffee
1 PROPERTIES_FILE = 'vimfx.properties'
2
3 # Randomize URI to work around bug 719376.
4 stringBundle = Services.strings.createBundle(
5 "chrome://vimfx/locale/#{ PROPERTIES_FILE }?#{ Math.random() }"
6 )
7
8 _ = (name, values...) ->
9 return stringBundle.formatStringFromName(name, values, values.length)
10
11 exports._ = _
Imprint / Impressum