Skip to content

Commit

Permalink
cleanup i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 9, 2024
1 parent 8d612ec commit 9c78fb9
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 113 deletions.
44 changes: 22 additions & 22 deletions src/components/turn/botAction/ActionBuildMine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,43 @@
<SupportInfo :bot-action="botAction" :structure="true" :terrain-priority="true" :directional-selection="true"/>
</div>
<div class="actionCol text-muted small">
<button type="button" class="btn btn-outline-secondary btn-sm" @click="isUpgrade=true">{{t('botAction.transformAndBuild.noDwelling')}}</button>
<button type="button" class="btn btn-outline-secondary btn-sm" @click="isUpgrade=true">{{t('botAction.buildMine.noDwelling')}}</button>
<ol class="mt-2">
<li v-if="isWanderers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.validSpaces.factionWanderers')"></span></li>
<li v-else v-html="t(`botAction.transformAndBuild.validSpaces.${botAction.structure}`)"></li>
<li v-html="t('botAction.transformAndBuild.tiebreaker.title')"></li>
<li v-if="isWanderers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.validSpaces.factionWanderers')"></span></li>
<li v-else v-html="t(`botAction.buildMine.validSpaces.${botAction.structure}`)"></li>
<li v-html="t('botAction.buildMine.tiebreaker.title')"></li>
<ol type="a">
<template v-if="isKuddlers">
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.tiebreaker.structureClosest')"></span></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.tiebreaker.terrainPriorityYourTerrainType',{terrainPriority:botAction.terrainPriority})"></span></li>
<li v-html="t('botAction.transformAndBuild.tiebreaker.directionalSelection')"></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.tiebreaker.structureClosest')"></span></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.tiebreaker.terrainPriorityYourTerrainType',{terrainPriority:botAction.terrainPriority})"></span></li>
<li v-html="t('botAction.buildMine.tiebreaker.directionalSelection')"></li>
</template>
<template v-else-if="isMimics">
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.tiebreaker.terrainPriorityYourTerrainType',{terrainPriority:botAction.terrainPriority})"></span></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.tiebreaker.structureClosest')"></span></li>
<li v-html="t('botAction.transformAndBuild.tiebreaker.directionalSelection')"></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.tiebreaker.terrainPriorityYourTerrainType',{terrainPriority:botAction.terrainPriority})"></span></li>
<li><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.tiebreaker.structureClosest')"></span></li>
<li v-html="t('botAction.buildMine.tiebreaker.directionalSelection')"></li>
</template>
<template v-else>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.transformAndBuild.tiebreaker.factionPowerMongers')"></span></li>
<li v-html="t('botAction.transformAndBuild.tiebreaker.terrainPriority',{terrainPriority:botAction.terrainPriority})"></li>
<li v-if="useSpaceFurthestAway" class="fire-ice"><span v-html="t('botAction.transformAndBuild.tiebreaker.structureFurthest')"></span></li>
<li v-else v-html="t('botAction.transformAndBuild.tiebreaker.structureClosest')"></li>
<li v-html="t('botAction.transformAndBuild.tiebreaker.directionalSelection')"></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.buildMine.tiebreaker.factionPowerMongers')"></span></li>
<li v-html="t('botAction.buildMine.tiebreaker.terrainPriority',{terrainPriority:botAction.terrainPriority})"></li>
<li v-if="useSpaceFurthestAway" class="fire-ice"><span v-html="t('botAction.buildMine.tiebreaker.structureFurthest')"></span></li>
<li v-else v-html="t('botAction.buildMine.tiebreaker.structureClosest')"></li>
<li v-html="t('botAction.buildMine.tiebreaker.directionalSelection')"></li>
</template>
</ol>
<li v-html="t('botAction.transformAndBuild.execute.title')"></li>
<li v-html="t('botAction.buildMine.execute.title')"></li>
<ol type="a">
<li v-html="t('botAction.transformAndBuild.execute.homeTerrainTile')"></li>
<li v-html="t('botAction.transformAndBuild.execute.dwelling')"></li>
<li v-if="isMarkedStructure" v-html="t('botAction.transformAndBuild.execute.marked')"></li>
<li v-html="t('botAction.buildMine.execute.homeTerrainTile')"></li>
<li v-html="t('botAction.buildMine.execute.dwelling')"></li>
<li v-if="isMarkedStructure" v-html="t('botAction.buildMine.execute.marked')"></li>
</ol>
</ol>
</div>

<ModalDialog id="modalReaching" :title="t('botAction.transformAndBuild.reaching.title')">
<ModalDialog id="modalReaching" :title="t('botAction.buildMine.reaching.title')">
<template #body>
<p v-html="t('botAction.transformAndBuild.reaching.text1')"></p>
<p v-html="t('botAction.transformAndBuild.reaching.text2')"></p>
<p v-html="t('botAction.buildMine.reaching.text1')"></p>
<p v-html="t('botAction.buildMine.reaching.text2')"></p>
</template>
</ModalDialog>

Expand Down
6 changes: 3 additions & 3 deletions src/components/turn/botAction/ActionPowerQic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</div>
<div class="actionCol text-muted small">
<ol>
<li v-html="t('botAction.blockPowerAction.gameBoard')"></li>
<li v-html="t('botAction.powerQic.gameBoard')"></li>
<ol type="a">
<li v-html="t('botAction.blockPowerAction.directionalSelection')"></li>
<li v-html="t('botAction.blockPowerAction.gameBoardExecute')"></li>
<li v-html="t('botAction.powerQic.directionalSelection')"></li>
<li v-html="t('botAction.powerQic.gameBoardExecute')"></li>
</ol>
</ol>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/turn/botAction/ActionResearchAreaHighest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
</div>
<div class="actionCol text-muted small">
<ol>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionPowerMongers')"></span></li>
<li v-html="t('botAction.advanceCultTrack.notMarker10')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.title')"></li>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionPowerMongers')"></span></li>
<li v-html="t('botAction.researchArea.notMarker10')"></li>
<li v-html="t('botAction.researchArea.execute.title')"></li>
<ol type="a">
<li v-html="t('botAction.advanceCultTrack.execute.placePriest')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.noPriest')"></li>
<li v-html="t('botAction.researchArea.execute.placePriest')"></li>
<li v-html="t('botAction.researchArea.execute.noPriest')"></li>
</ol>
</ol>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/turn/botAction/ActionResearchAreaRandom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
</div>
<div class="actionCol text-muted small">
<ol>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionPowerMongers')"></span></li>
<li v-html="t('botAction.advanceCultTrack.notMarker10')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.title')"></li>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionPowerMongers')"></span></li>
<li v-html="t('botAction.researchArea.notMarker10')"></li>
<li v-html="t('botAction.researchArea.execute.title')"></li>
<ol type="a">
<li v-html="t('botAction.advanceCultTrack.execute.placePriest')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.noPriest')"></li>
<li v-html="t('botAction.researchArea.execute.placePriest')"></li>
<li v-html="t('botAction.researchArea.execute.noPriest')"></li>
</ol>
</ol>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/turn/botAction/ActionResearchAreaSpecific.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
</div>
<div class="actionCol text-muted small">
<ol>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.advanceCultTrack.factionPowerMongers')"></span></li>
<li v-html="t('botAction.advanceCultTrack.notMarker10')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.title')"></li>
<li v-if="isDruids"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionDruids')"></span></li>
<li v-if="isPowerMongers"><AppIcon type="action" name="faction-action" class="factionActionIcon"/><span v-html="t('botAction.researchArea.factionPowerMongers')"></span></li>
<li v-html="t('botAction.researchArea.notMarker10')"></li>
<li v-html="t('botAction.researchArea.execute.title')"></li>
<ol type="a">
<li v-html="t('botAction.advanceCultTrack.execute.placePriest')"></li>
<li v-html="t('botAction.advanceCultTrack.execute.noPriest')"></li>
<li v-html="t('botAction.researchArea.execute.placePriest')"></li>
<li v-html="t('botAction.researchArea.execute.noPriest')"></li>
</ol>
</ol>
</div>
Expand Down
38 changes: 3 additions & 35 deletions src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"gainVictoryPoints": {
"text": "Automa erhält {count} Punkt. | Automa erhält {count} Punkte."
},
"transformAndBuild": {
"buildMine": {
"noDwelling": "Kein Wohnhaus übrig",
"validSpaces": {
"marked": "In Reichweite eines markierten Gebäudes",
Expand Down Expand Up @@ -110,13 +110,13 @@
"motsShipyardPreferred": "Hat Automa die Auswahl zwischen ihrer Festung und ihrer Werft, wählt sie die Werft."
}
},
"blockPowerAction": {
"powerQic": {
"gameBoard": "Decke ein offenes Machtfeld auf dem Spielplan ab",
"directionalSelection": "Richtungsauswahl.",
"gameBoardExecute": "Ausführung: Decke das gewählte Machtfeld mit einer Aktionsmarke ab. Automa erhält nichts durch diese Aktion.",
"motsPowerActionBoard": "Decke ein offenes Machtfeld auf dem Tableau mit Machtaktionen aus <i>Die Händler</i> ab."
},
"advanceCultTrack": {
"researchArea": {
"factionDruids": "<b>Aufsteigen auf einer Kultskala: Automa setzt keinen Priester ein und steigt um 2 Stufen auf</b>.",
"factionPowerMongers": "<b>Dauerhafte Fähigkeit: Erhältst du durch ein Automa-Gebäude min. 2 Macht, steigt Automa ohne Priestereinsatz um 1 Stufe auf 1 Kultskala auf (Methode: Aufholen).</b>",
"notMarker10": "Automa schreitet nur auf Kultskalen voran ohne Markierungsstein auf Stufe 10.",
Expand All @@ -136,31 +136,6 @@
"placePriest": "Setze 1 Priester aus Automas Vorrat unterhalb der gewählten Skala auf das freie Feld mit der höchsten Zahl. Automa steigt mit ihrem Markierungsstein um die entsprechende Anzahl an Stufen auf.",
"noPriest": "Hat Automa keinen Priester mehr oder gibt es unter der gewählten Skala kein freies Feld mehr, steigt Automa dort um 1 Stufe auf, ohne einen Priester einzusetzen."
}
},
"trade": {
"selectStructure": {
"title": "Wähle Gebäude, direkt benachbart zu einem Flussfeld, unter welchen noch kein Automa-Handelsmarker liegt:",
"highestPower": "Gebäude mit der höchsten Machtstufe.",
"directionalSelection": "Richtungsauswahl."
},
"execute": {
"title": "Ausführung:",
"placeMarker": "Lege einen Automa-Handelsmarker unter das gewählte Gebäude.",
"victoryPoints": "Automa erhält die Anzahl an Punkten, die der Machtstufe des gewählten Gebäudes entspricht.",
"gainPower": "Du darfst durch Automas Handel regulär Macht erhalten."
}
},
"takeFavorTile": {
"selectCultFavorTile": "Nimm ein Gunstplättchen, die einen Kult um 3 Stufen erhöhen und auf deren Kultskala sich kein Markierungsstein auf Stufe 10 befindet.",
"execute": "Ausführung: Automa nimmt das ausgewählte Plättchen und steigt auf der entsprechenden Kultskala um 3 Felder auf."
},
"factionSymbiontsPlaceCube": {
"validSpaces": "Mögliche Optionen: Alle Felder direkt benachbart zu deinen Gebäuden.",
"symbiontYouthATP": "Landschaftsprioriät <b>{terrainPriority}</b>. Nutze die LTP-Karte der <b>Jugend</b>.",
"placeCube": "Setze 1 <b>Arbeiterklötzchen</b> auf das gewählte Feld."
},
"factionBlightTransformFallowLand": {
"transform": "Wandle <b>2 Brachland</B>-Felder in <b>Verwüstetes Land</b> um."
}
},
"botPass": {
Expand Down Expand Up @@ -198,13 +173,6 @@
"expansion": {
"lost-fleet": "The Lost Fleet"
},
"finalScoringTile": {
"default": "Standard (Grundspiel)",
"greatest-distance": "Größte Entfernung (Feuer & Eis)",
"stronghold-sanctuary": "Heiligtum und Festung (Feuer & Eis)",
"outposts": "Außenposten (Feuer & Eis)",
"settlements": "Ansiedlungen (Feuer & Eis)"
},
"botFaction": {
"terrans": "Terraner",
"xenos": "Xenos",
Expand Down
38 changes: 3 additions & 35 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"gainVictoryPoints": {
"text": "Automa gains {count} victory point. | Automa gains {count} victory points."
},
"transformAndBuild": {
"buildMine": {
"noDwelling": "No dwelling left",
"validSpaces": {
"marked": "Withing Range of any marked Structure",
Expand Down Expand Up @@ -110,13 +110,13 @@
"motsShipyardPreferred": "If there’s a tie between Stronghold and Shipyard Automa builds her Shipyard."
}
},
"blockPowerAction": {
"powerQic": {
"gameBoard": "Block one uncovered power action on game board",
"directionalSelection": "Directional Selection.",
"gameBoardExecute": "Execute: Place an Action token on the selected Power action. Automa gains no benefit from this.",
"motsPowerActionBoard": "Block one uncovered power action on Merchant Power Actions Board."
},
"advanceCultTrack": {
"researchArea": {
"factionDruids": "<b>Automa advances 2 spaces on a single track (without placing a Priest)</b>.",
"factionPowerMongers": "<b>Ongoing Benefit: Whenever you gain 2 or more Power via structures, Automa advances 1 space on a Cult track (Cult Catch-up action without placing a Priest).</b>",
"notMarker10": "Automa advances only on tracks without a Marker on space 10.",
Expand All @@ -136,31 +136,6 @@
"placePriest": "Place an available Automa Priest on the highest numbered Priest space below the chosen track and advance Automa‘s Marker the corresponding number of spaces.",
"noPriest": "If Automa has no more available Priests, or if there’s no empty Priest space available below the track, advance Automa‘s Marker by 1 on that track without placing a Priest."
}
},
"trade": {
"selectStructure": {
"title": "Select structure adjacent to a river space without one of Automa's Trade tokens:",
"highestPower": "Structures with the highest Power value.",
"directionalSelection": "Directional Selection."
},
"execute": {
"title": "Execute:",
"placeMarker": "Place one of Automa’s Trade markers beneath the selected Structure.",
"victoryPoints": "Automa gains Victory points equal to the Power value of the selected Structure.",
"gainPower": "You may gain Power for the trade, as normal."
}
},
"takeFavorTile": {
"selectCultFavorTile": "Take one of the +3 Cult Favor tiles for Cult tracks without a Marker on space 10.",
"execute": "Execute: Give the chosen tile to Automa and increase her Marker by 3 on the track shown on the tile."
},
"factionSymbiontsPlaceCube": {
"validSpaces": "Valid Spaces: All Terrain spaces directly adjacent to any of your structures.",
"symbiontYouthATP": "Terrain Priority <b>{terrainPriority}</b> with Symbiont <b>youth</b> ATP card.",
"placeCube": "Place a <b>worker cube</b> on the selected Terrain space."
},
"factionBlightTransformFallowLand": {
"transform": "Transform <b>Fallow Land</B> into <b>Blighted Land twice</b>."
}
},
"botPass": {
Expand Down Expand Up @@ -198,13 +173,6 @@
"expansion": {
"lost-fleet": "The Lost Fleet"
},
"finalScoringTile": {
"default": "Default (Base Game)",
"greatest-distance": "Greatest Distance (Fire & Ice)",
"stronghold-sanctuary": "Stronghold and Sanctuary (Fire & Ice)",
"outposts": "Outposts (Fire & Ice)",
"settlements": "Settlements (Fire & Ice)"
},
"botFaction": {
"terrans": "Terrans",
"xenos": "Xenos",
Expand Down

0 comments on commit 9c78fb9

Please sign in to comment.