Permalink
Browse files

Update translations

  • Loading branch information...
1 parent d02fd0e commit b840b7e1188e541940c48bd5850b37c71cda0677 @jfirebaugh jfirebaugh committed Mar 15, 2013
Showing with 4,640 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +4,635 −1 data/locales.js
  3. +1 −1 data/update_locales.js
  4. +1 −1 js/id/presets/preset.js
  5. +2 −1 package.json
View
@@ -1,3 +1,4 @@
iD.js
iD.min.js
build
+transifex.auth
View
Oops, something went wrong.
@@ -28,7 +28,7 @@ asyncMap(resources, getResource, function(err, locales) {
locale = _.merge(locale, l);
});
for (var i in locale) {
- out += 'locale.' + i + ' = ' + JSON.stringify(locale[i]) + ';';
+ out += 'locale.' + i + ' = ' + JSON.stringify(locale[i], null, 4) + ';';
}
fs.writeFileSync(outfile, out);
});
@@ -29,7 +29,7 @@ iD.presets.Preset = function(id, preset, fields) {
};
preset.t = function(scope, options) {
- return t('presets.preset.' + id + '.' + scope, options);
+ return t('presets.presets.' + id + '.' + scope, options);
};
preset.name = function() {
View
@@ -23,7 +23,8 @@
"uglify-js": "~2.2.5",
"mocha-phantomjs": "~1.1.1",
"glob": "~3.1.21",
- "js-yaml": "~2.0.3"
+ "js-yaml": "~2.0.3",
+ "request": "~2.16.2"
},
"engines": {
"node": "~0.8.20"

0 comments on commit b840b7e

Please sign in to comment.