update translation helper
parent
a6fa9523d4
commit
b38e77694a
|
@ -54,7 +54,9 @@ var HelperNamespace = (function () {
|
||||||
var EXTRA_TAGS = [
|
var EXTRA_TAGS = [
|
||||||
"Fun", "Warn", "Controls", "Device", "Farm Designer", "on",
|
"Fun", "Warn", "Controls", "Device", "Farm Designer", "on",
|
||||||
"Map Points", "Spread", "Row Spacing", "Height", "Taxon",
|
"Map Points", "Spread", "Row Spacing", "Height", "Taxon",
|
||||||
"Growing Degree Days", "Svg Icon", "Invalid date", "yes"
|
"Growing Degree Days", "Svg Icon", "Invalid date", "yes", "Tools",
|
||||||
|
"Messages", "Sequence Editor", "Commands", "Regimen Editor", "Scheduler",
|
||||||
|
"Farmware List", "SYNC NOW",
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -142,6 +144,16 @@ var HelperNamespace = (function () {
|
||||||
markdown += '|' + langMetrics.orphans;
|
markdown += '|' + langMetrics.orphans;
|
||||||
markdown += '|\n';
|
markdown += '|\n';
|
||||||
});
|
});
|
||||||
|
markdown += '\n**Percent translated** refers to the percent of phrases';
|
||||||
|
markdown += ' identified by the\nlanguage helper that have been';
|
||||||
|
markdown += ' translated. Additional phrases not identified\n';
|
||||||
|
markdown += 'by the language helper may exist in the Web App.\n\n';
|
||||||
|
markdown += '**Other Translations** include translated phrases';
|
||||||
|
markdown += ' that do not match any of\nthe phrases identified by the';
|
||||||
|
markdown += ' language helper. These are usually phrases\nnot identified';
|
||||||
|
markdown += ' by the language helper or phrases that have been changed';
|
||||||
|
markdown += '\nor removed from the Web App.';
|
||||||
|
markdown += '\n';
|
||||||
fs.writeFileSync(__dirname + '/translation_metrics.md', markdown);
|
fs.writeFileSync(__dirname + '/translation_metrics.md', markdown);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,15 +18,24 @@ npm run translation-check
|
||||||
|
|
||||||
See the [README](https://github.com/FarmBot/Farmbot-Web-App#translating-the-web-app-into-your-language) for contribution instructions.
|
See the [README](https://github.com/FarmBot/Farmbot-Web-App#translating-the-web-app-into-your-language) for contribution instructions.
|
||||||
|
|
||||||
Total number of phrases identified by the language helper for translation: __953__
|
Total number of phrases identified by the language helper for translation: __961__
|
||||||
|
|
||||||
|Language|Percent translated|Translated|Untranslated|Other Translations|
|
|Language|Percent translated|Translated|Untranslated|Other Translations|
|
||||||
|:---:|---:|---:|---:|---:|
|
|:---:|---:|---:|---:|---:|
|
||||||
|de|45%|432|521|114|
|
|de|45%|436|525|108|
|
||||||
|es|8%|74|879|133|
|
|es|8%|75|886|127|
|
||||||
|fr|76%|728|225|167|
|
|fr|76%|734|227|161|
|
||||||
|it|9%|87|866|166|
|
|it|9%|88|873|160|
|
||||||
|nl|8%|79|874|133|
|
|nl|8%|80|881|127|
|
||||||
|pt|7%|71|882|152|
|
|pt|7%|72|889|146|
|
||||||
|ru|63%|603|350|205|
|
|ru|63%|609|352|199|
|
||||||
|zh|9%|86|867|133|
|
|zh|9%|87|874|127|
|
||||||
|
|
||||||
|
**Percent translated** refers to the percent of phrases identified by the
|
||||||
|
language helper that have been translated. Additional phrases not identified
|
||||||
|
by the language helper may exist in the Web App.
|
||||||
|
|
||||||
|
**Other Translations** include translated phrases that do not match any of
|
||||||
|
the phrases identified by the language helper. These are usually phrases
|
||||||
|
not identified by the language helper or phrases that have been changed
|
||||||
|
or removed from the Web App.
|
||||||
|
|
Loading…
Reference in New Issue