Move glyph translations to study.xml
parent
087debe00f
commit
194108040f
|
@ -113,34 +113,34 @@ final class Main(
|
|||
JsonOk(
|
||||
Json.obj(
|
||||
"move" -> List(
|
||||
Glyph.MoveAssessment.good.copy(name = trans.glyphs.goodMove.txt()),
|
||||
Glyph.MoveAssessment.mistake.copy(name = trans.glyphs.mistake.txt()),
|
||||
Glyph.MoveAssessment.brillant.copy(name = trans.glyphs.brilliantMove.txt()),
|
||||
Glyph.MoveAssessment.blunder.copy(name = trans.glyphs.blunder.txt()),
|
||||
Glyph.MoveAssessment.interesting.copy(name = trans.glyphs.interestingMove.txt()),
|
||||
Glyph.MoveAssessment.dubious.copy(name = trans.glyphs.dubiousMove.txt()),
|
||||
Glyph.MoveAssessment.only.copy(name = trans.glyphs.onlyMove.txt()),
|
||||
Glyph.MoveAssessment.zugzwang.copy(name = trans.glyphs.zugzwang.txt())
|
||||
Glyph.MoveAssessment.good.copy(name = trans.study.goodMove.txt()),
|
||||
Glyph.MoveAssessment.mistake.copy(name = trans.study.mistake.txt()),
|
||||
Glyph.MoveAssessment.brillant.copy(name = trans.study.brilliantMove.txt()),
|
||||
Glyph.MoveAssessment.blunder.copy(name = trans.study.blunder.txt()),
|
||||
Glyph.MoveAssessment.interesting.copy(name = trans.study.interestingMove.txt()),
|
||||
Glyph.MoveAssessment.dubious.copy(name = trans.study.dubiousMove.txt()),
|
||||
Glyph.MoveAssessment.only.copy(name = trans.study.onlyMove.txt()),
|
||||
Glyph.MoveAssessment.zugzwang.copy(name = trans.study.zugzwang.txt())
|
||||
),
|
||||
"position" -> List(
|
||||
Glyph.PositionAssessment.equal.copy(name = trans.glyphs.equalPosition.txt()),
|
||||
Glyph.PositionAssessment.unclear.copy(name = trans.glyphs.unclearPosition.txt()),
|
||||
Glyph.PositionAssessment.whiteSlightlyBetter.copy(name = trans.glyphs.whiteIsSlightlyBetter.txt()),
|
||||
Glyph.PositionAssessment.blackSlightlyBetter.copy(name = trans.glyphs.blackIsSlightlyBetter.txt()),
|
||||
Glyph.PositionAssessment.whiteQuiteBetter.copy(name = trans.glyphs.whiteIsBetter.txt()),
|
||||
Glyph.PositionAssessment.blackQuiteBetter.copy(name = trans.glyphs.blackIsBetter.txt()),
|
||||
Glyph.PositionAssessment.whiteMuchBetter.copy(name = trans.glyphs.whiteIsWinning.txt()),
|
||||
Glyph.PositionAssessment.blackMuchBetter.copy(name = trans.glyphs.blackIsWinning.txt())
|
||||
Glyph.PositionAssessment.equal.copy(name = trans.study.equalPosition.txt()),
|
||||
Glyph.PositionAssessment.unclear.copy(name = trans.study.unclearPosition.txt()),
|
||||
Glyph.PositionAssessment.whiteSlightlyBetter.copy(name = trans.study.whiteIsSlightlyBetter.txt()),
|
||||
Glyph.PositionAssessment.blackSlightlyBetter.copy(name = trans.study.blackIsSlightlyBetter.txt()),
|
||||
Glyph.PositionAssessment.whiteQuiteBetter.copy(name = trans.study.whiteIsBetter.txt()),
|
||||
Glyph.PositionAssessment.blackQuiteBetter.copy(name = trans.study.blackIsBetter.txt()),
|
||||
Glyph.PositionAssessment.whiteMuchBetter.copy(name = trans.study.whiteIsWinning.txt()),
|
||||
Glyph.PositionAssessment.blackMuchBetter.copy(name = trans.study.blackIsWinning.txt())
|
||||
),
|
||||
"observation" -> List(
|
||||
Glyph.Observation.novelty.copy(name = trans.glyphs.novelty.txt()),
|
||||
Glyph.Observation.development.copy(name = trans.glyphs.development.txt()),
|
||||
Glyph.Observation.initiative.copy(name = trans.glyphs.initiative.txt()),
|
||||
Glyph.Observation.attack.copy(name = trans.glyphs.attack.txt()),
|
||||
Glyph.Observation.counterplay.copy(name = trans.glyphs.counterplay.txt()),
|
||||
Glyph.Observation.timeTrouble.copy(name = trans.glyphs.timeTrouble.txt()),
|
||||
Glyph.Observation.compensation.copy(name = trans.glyphs.withCompensation.txt()),
|
||||
Glyph.Observation.withIdea.copy(name = trans.glyphs.withTheIdea.txt())
|
||||
Glyph.Observation.novelty.copy(name = trans.study.novelty.txt()),
|
||||
Glyph.Observation.development.copy(name = trans.study.development.txt()),
|
||||
Glyph.Observation.initiative.copy(name = trans.study.initiative.txt()),
|
||||
Glyph.Observation.attack.copy(name = trans.study.attack.txt()),
|
||||
Glyph.Observation.counterplay.copy(name = trans.study.counterplay.txt()),
|
||||
Glyph.Observation.timeTrouble.copy(name = trans.study.timeTrouble.txt()),
|
||||
Glyph.Observation.compensation.copy(name = trans.study.withCompensation.txt()),
|
||||
Glyph.Observation.withIdea.copy(name = trans.study.withTheIdea.txt())
|
||||
)
|
||||
)
|
||||
).fuccess
|
||||
|
|
|
@ -2,7 +2,7 @@ const fs = require('fs').promises;
|
|||
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 swiss puzzle puzzleTheme challenge storm glyphs'.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 puzzle puzzleTheme challenge storm'.split(
|
||||
' '
|
||||
);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ lazy val i18n = smallModule("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 swiss puzzle puzzleTheme challenge storm glyphs".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 puzzle puzzleTheme challenge storm".split(' ').toList,
|
||||
compileTo = (Compile / sourceManaged).value
|
||||
)
|
||||
}.taskValue
|
||||
|
|
|
@ -1119,6 +1119,30 @@ val `deleteTheStudyChatHistory` = new I18nKey("study:deleteTheStudyChatHistory")
|
|||
val `deleteStudy` = new I18nKey("study:deleteStudy")
|
||||
val `deleteTheEntireStudy` = new I18nKey("study:deleteTheEntireStudy")
|
||||
val `whereDoYouWantToStudyThat` = new I18nKey("study:whereDoYouWantToStudyThat")
|
||||
val `goodMove` = new I18nKey("study:goodMove")
|
||||
val `mistake` = new I18nKey("study:mistake")
|
||||
val `brilliantMove` = new I18nKey("study:brilliantMove")
|
||||
val `blunder` = new I18nKey("study:blunder")
|
||||
val `interestingMove` = new I18nKey("study:interestingMove")
|
||||
val `dubiousMove` = new I18nKey("study:dubiousMove")
|
||||
val `onlyMove` = new I18nKey("study:onlyMove")
|
||||
val `zugzwang` = new I18nKey("study:zugzwang")
|
||||
val `equalPosition` = new I18nKey("study:equalPosition")
|
||||
val `unclearPosition` = new I18nKey("study:unclearPosition")
|
||||
val `whiteIsSlightlyBetter` = new I18nKey("study:whiteIsSlightlyBetter")
|
||||
val `blackIsSlightlyBetter` = new I18nKey("study:blackIsSlightlyBetter")
|
||||
val `whiteIsBetter` = new I18nKey("study:whiteIsBetter")
|
||||
val `blackIsBetter` = new I18nKey("study:blackIsBetter")
|
||||
val `whiteIsWinning` = new I18nKey("study:whiteIsWinning")
|
||||
val `blackIsWinning` = new I18nKey("study:blackIsWinning")
|
||||
val `novelty` = new I18nKey("study:novelty")
|
||||
val `development` = new I18nKey("study:development")
|
||||
val `initiative` = new I18nKey("study:initiative")
|
||||
val `attack` = new I18nKey("study:attack")
|
||||
val `counterplay` = new I18nKey("study:counterplay")
|
||||
val `timeTrouble` = new I18nKey("study:timeTrouble")
|
||||
val `withCompensation` = new I18nKey("study:withCompensation")
|
||||
val `withTheIdea` = new I18nKey("study:withTheIdea")
|
||||
val `nbChapters` = new I18nKey("study:nbChapters")
|
||||
val `nbGames` = new I18nKey("study:nbGames")
|
||||
val `nbMembers` = new I18nKey("study:nbMembers")
|
||||
|
@ -2055,31 +2079,4 @@ val `xRuns` = new I18nKey("storm:xRuns")
|
|||
val `playedNbRunsOfPuzzleStorm` = new I18nKey("storm:playedNbRunsOfPuzzleStorm")
|
||||
}
|
||||
|
||||
object glyphs {
|
||||
val `goodMove` = new I18nKey("glyphs:goodMove")
|
||||
val `mistake` = new I18nKey("glyphs:mistake")
|
||||
val `brilliantMove` = new I18nKey("glyphs:brilliantMove")
|
||||
val `blunder` = new I18nKey("glyphs:blunder")
|
||||
val `interestingMove` = new I18nKey("glyphs:interestingMove")
|
||||
val `dubiousMove` = new I18nKey("glyphs:dubiousMove")
|
||||
val `onlyMove` = new I18nKey("glyphs:onlyMove")
|
||||
val `zugzwang` = new I18nKey("glyphs:zugzwang")
|
||||
val `equalPosition` = new I18nKey("glyphs:equalPosition")
|
||||
val `unclearPosition` = new I18nKey("glyphs:unclearPosition")
|
||||
val `whiteIsSlightlyBetter` = new I18nKey("glyphs:whiteIsSlightlyBetter")
|
||||
val `blackIsSlightlyBetter` = new I18nKey("glyphs:blackIsSlightlyBetter")
|
||||
val `whiteIsBetter` = new I18nKey("glyphs:whiteIsBetter")
|
||||
val `blackIsBetter` = new I18nKey("glyphs:blackIsBetter")
|
||||
val `whiteIsWinning` = new I18nKey("glyphs:whiteIsWinning")
|
||||
val `blackIsWinning` = new I18nKey("glyphs:blackIsWinning")
|
||||
val `novelty` = new I18nKey("glyphs:novelty")
|
||||
val `development` = new I18nKey("glyphs:development")
|
||||
val `initiative` = new I18nKey("glyphs:initiative")
|
||||
val `attack` = new I18nKey("glyphs:attack")
|
||||
val `counterplay` = new I18nKey("glyphs:counterplay")
|
||||
val `timeTrouble` = new I18nKey("glyphs:timeTrouble")
|
||||
val `withCompensation` = new I18nKey("glyphs:withCompensation")
|
||||
val `withTheIdea` = new I18nKey("glyphs:withTheIdea")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<resources>
|
||||
<string name="goodMove">Good move</string>
|
||||
<string name="mistake">Mistake</string>
|
||||
<string name="brilliantMove">Brilliant move</string>
|
||||
<string name="blunder">Blunder</string>
|
||||
<string name="interestingMove">Interesting move</string>
|
||||
<string name="dubiousMove">Dubious move</string>
|
||||
<string name="onlyMove">Only move</string>
|
||||
<string name="zugzwang">Zugzwang</string>
|
||||
<string name="equalPosition">Equal position</string>
|
||||
<string name="unclearPosition">Unclear position</string>
|
||||
<string name="whiteIsSlightlyBetter">White is slightly better</string>
|
||||
<string name="blackIsSlightlyBetter">Black is slightly better</string>
|
||||
<string name="whiteIsBetter">White is better</string>
|
||||
<string name="blackIsBetter">Black is better</string>
|
||||
<string name="whiteIsWinning">White is winning</string>
|
||||
<string name="blackIsWinning">Black is winning</string>
|
||||
<string name="novelty">Novelty</string>
|
||||
<string name="development">Development</string>
|
||||
<string name="initiative">Initiative</string>
|
||||
<string name="attack">Attack</string>
|
||||
<string name="counterplay">Counterplay</string>
|
||||
<string name="timeTrouble">Time trouble</string>
|
||||
<string name="withCompensation">With compensation</string>
|
||||
<string name="withTheIdea">With the idea</string>
|
||||
</resources>
|
|
@ -128,4 +128,28 @@
|
|||
<string name="deleteStudy">Delete study</string>
|
||||
<string name="deleteTheEntireStudy">Delete the entire study? There is no going back!</string>
|
||||
<string name="whereDoYouWantToStudyThat">Where do you want to study that?</string>
|
||||
<string name="goodMove">Good move</string>
|
||||
<string name="mistake">Mistake</string>
|
||||
<string name="brilliantMove">Brilliant move</string>
|
||||
<string name="blunder">Blunder</string>
|
||||
<string name="interestingMove">Interesting move</string>
|
||||
<string name="dubiousMove">Dubious move</string>
|
||||
<string name="onlyMove">Only move</string>
|
||||
<string name="zugzwang">Zugzwang</string>
|
||||
<string name="equalPosition">Equal position</string>
|
||||
<string name="unclearPosition">Unclear position</string>
|
||||
<string name="whiteIsSlightlyBetter">White is slightly better</string>
|
||||
<string name="blackIsSlightlyBetter">Black is slightly better</string>
|
||||
<string name="whiteIsBetter">White is better</string>
|
||||
<string name="blackIsBetter">Black is better</string>
|
||||
<string name="whiteIsWinning">White is winning</string>
|
||||
<string name="blackIsWinning">Black is winning</string>
|
||||
<string name="novelty">Novelty</string>
|
||||
<string name="development">Development</string>
|
||||
<string name="initiative">Initiative</string>
|
||||
<string name="attack">Attack</string>
|
||||
<string name="counterplay">Counterplay</string>
|
||||
<string name="timeTrouble">Time trouble</string>
|
||||
<string name="withCompensation">With compensation</string>
|
||||
<string name="withTheIdea">With the idea</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue