🐛 corrige la traduction automatique de l'ui

pull/1059/head
Johan Girod 2020-05-28 12:42:23 +02:00
parent 16d5696378
commit fd2a420867
3 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,7 @@
"i18n:rules:check": "node scripts/i18n/check-missing-rule-translation.js",
"i18n:rules:translate": "node scripts/i18n/translate-rules.js",
"i18n:ui:check": "yarn run i18next -c scripts/i18n/parser.config.js && node scripts/i18n/check-missing-UI-translation",
"i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && yarn run i18next -c script/i18n/parser.config.js && node scripts/i18n/translate-ui.js",
"i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && yarn run i18next -c scripts/i18n/parser.config.js && node scripts/i18n/translate-ui.js",
"start": "node source/server.js",
"serve:dev": "yarn run serve:dev:mon-entreprise & yarn run serve:dev:mycompanyinfrance & yarn run serve:dev:publicodes",
"serve:dev:mon-entreprise": "PORT=5000 serve --config serve.mon-entreprise.json --no-clipboard",

View File

@ -9,6 +9,7 @@ const {
} = require('./utils')
const missingTranslations = getUiMissingTranslations()
let translatedKeys = parse(fs.readFileSync(UiTranslationPath, 'utf-8'))
Object.entries(missingTranslations)

View File

@ -794,6 +794,9 @@ non applicable si: not applicable if
non déductible: not deductible
noresults: No results
oui: yes
page:
documentation:
title: Documentation
pages:
dévelopeurs:
bibliothèque: "<0>Integrate our calculation library</0><1>If you think that your