update translation helper

pull/1193/head
gabrielburnworth 2019-05-15 09:14:01 -07:00
parent a6fa9523d4
commit b38e77694a
2 changed files with 31 additions and 10 deletions

View File

@ -54,7 +54,9 @@ var HelperNamespace = (function () {
var EXTRA_TAGS = [
"Fun", "Warn", "Controls", "Device", "Farm Designer", "on",
"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 += '|\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);
}

View File

@ -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.
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|
|:---:|---:|---:|---:|---:|
|de|45%|432|521|114|
|es|8%|74|879|133|
|fr|76%|728|225|167|
|it|9%|87|866|166|
|nl|8%|79|874|133|
|pt|7%|71|882|152|
|ru|63%|603|350|205|
|zh|9%|86|867|133|
|de|45%|436|525|108|
|es|8%|75|886|127|
|fr|76%|734|227|161|
|it|9%|88|873|160|
|nl|8%|80|881|127|
|pt|7%|72|889|146|
|ru|63%|609|352|199|
|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.