diff --git a/bin/trans-dump.js b/bin/trans-dump.js index 340082273f..39ffc16fca 100644 --- a/bin/trans-dump.js +++ b/bin/trans-dump.js @@ -2,7 +2,7 @@ const fs = require('fs-extra'); const parseString = require('xml2js').parseString; const baseDir = 'translation/source'; -const dbs = 'site arena emails learn activity coordinates study clas contact patron coach broadcast streamer tfa settings preferences team perfStat search tourname faq lag'.split(' '); +const dbs = 'site arena emails learn activity coordinates study clas contact patron coach broadcast streamer tfa settings preferences team perfStat search tourname faq lag swiss'.split(' '); function ucfirst(s) { return s.charAt(0).toUpperCase() + s.slice(1); diff --git a/build.sbt b/build.sbt index 0bd740c4bc..650fb6341f 100644 --- a/build.sbt +++ b/build.sbt @@ -75,7 +75,7 @@ lazy val i18n = module("i18n", MessageCompiler( sourceDir = new File("translation/source"), destDir = new File("translation/dest"), - dbs = "site arena emails learn activity coordinates study class contact patron coach broadcast streamer tfa settings preferences team perfStat search tourname faq lag".split(' ').toList, + dbs = "site arena emails learn activity coordinates study class contact patron coach broadcast streamer tfa settings preferences team perfStat search tourname faq lag swiss".split(' ').toList, compileTo = (sourceManaged in Compile).value ) }.taskValue diff --git a/modules/i18n/src/main/I18nKeys.scala b/modules/i18n/src/main/I18nKeys.scala index d13a46a4b2..48a13eb3c1 100644 --- a/modules/i18n/src/main/I18nKeys.scala +++ b/modules/i18n/src/main/I18nKeys.scala @@ -754,6 +754,7 @@ val `nbSeconds` = new I18nKey("nbSeconds") val `andSaveNbPremoveLines` = new I18nKey("andSaveNbPremoveLines") object arena { +val `arenaTournaments` = new I18nKey("arena:arenaTournaments") val `isItRated` = new I18nKey("arena:isItRated") val `willBeNotified` = new I18nKey("arena:willBeNotified") val `isRated` = new I18nKey("arena:isRated") @@ -1782,4 +1783,8 @@ val `lagCompensation` = new I18nKey("lag:lagCompensation") val `lagCompensationExplanation` = new I18nKey("lag:lagCompensationExplanation") } +object swiss { +val `swissTournaments` = new I18nKey("swiss:swissTournaments") +} + } diff --git a/translation/source/swiss.xml b/translation/source/swiss.xml new file mode 100644 index 0000000000..ad125a2a49 --- /dev/null +++ b/translation/source/swiss.xml @@ -0,0 +1,4 @@ + + + Swiss tournaments +