i18n-abide
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -5,3 +5,3 @@ { | ||
"description": "Express/connect module for Node i18n and l10n support", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/mozilla/i18n-abide", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
"dependencies": { | ||
"node-gettext": "0.1.2" | ||
"node-gettext": "git://github.com/ozten/node-gettext.git" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
@@ -20,3 +20,3 @@ # i18n-abide | ||
npm install git://github.com/mozilla/i18n-abide.git | ||
npm install i18n-abide | ||
@@ -28,3 +28,3 @@ In your app where you setup express or connect: | ||
app.use(i18n.abide({ | ||
supported_languages: ['en-US', 'de', 'es', 'db-LB', 'it-CH']], | ||
supported_languages: ['en-US', 'de', 'es', 'db-LB', 'it-CH'], | ||
default_lang: 'en-US', | ||
@@ -85,2 +85,4 @@ debug_lang: 'it-CH', | ||
To create ``po`` files in bulk, do: | ||
$ for l in en_US de es db_LB; do | ||
@@ -107,2 +109,4 @@ mkdir -p locale/${l}/LC_MESSAGES/ | ||
# Debugging and Testing | ||
``db-LB`` is a special | ||
@@ -109,0 +113,0 @@ **debug** locale. To trigger it, set your Browser or Operating System language to Italian (Switzerland) which is ``it-CH``. This fake locale ``db-LB`` will be triggered, it is David Bowie speak for the region of Labyrinth. Oh, hell ya a Dude / Bowie Mashup. |
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
36123
18
616
131
1
- Removediconv@3.0.1(transitive)
- Removednode-gettext@0.1.2(transitive)