mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Add warning to generated file
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
/*
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
THIS FILE IS GENERATED BY `make translations`. Don't make changes to it.
|
||||
|
||||
Instead, edit the English strings in data/core.yaml or data/presets.yaml, or
|
||||
contribute translations on https://www.transifex.com/projects/p/id-editor/.
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
*/
|
||||
locale.en = {
|
||||
"modes": {
|
||||
"add_area": {
|
||||
|
||||
+10
-1
@@ -27,7 +27,16 @@ var sourceCore = yaml.load(fs.readFileSync('./data/core.yaml', 'utf8')),
|
||||
|
||||
asyncMap(resources, getResource, function(err, locales) {
|
||||
if (err) return console.log(err);
|
||||
var out = '';
|
||||
var out = '/*\n' +
|
||||
' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n' +
|
||||
'\n' +
|
||||
' THIS FILE IS GENERATED BY `make translations`. Don\'t make changes to it.\n' +
|
||||
'\n' +
|
||||
' Instead, edit the English strings in data/core.yaml or data/presets.yaml, or\n' +
|
||||
' contribute translations on https://www.transifex.com/projects/p/id-editor/.\n' +
|
||||
'\n' +
|
||||
' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n' +
|
||||
' */\n';
|
||||
var locale = _.merge(sourceCore, sourcePresets);
|
||||
locales.forEach(function(l) {
|
||||
locale = _.merge(locale, l);
|
||||
|
||||
Reference in New Issue
Block a user