Skip to content

Commit

Permalink
Merge branch 'release/1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Aug 19, 2023
2 parents 77b4bd1 + e9a318b commit 6e397a8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brdgm/autobahn-solo-helper",
"version": "1.0.4",
"version": "1.0.5",
"private": true,
"description": "Autobahn Solo Helper",
"appDeployName": "autobahn",
Expand Down
7 changes: 6 additions & 1 deletion src/components/turn/BotActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="actions">
<div class="additional-action" v-if="colorCard.additionalBuildRoadAction">
<a data-bs-toggle="modal" href="#buildRoadUpgradeLinkModal"><AppIcon type="action" name="build-road"/></a>
<div class="and-or">and/or</div>
<div class="and-or">{{t('turnBot.andOr')}}</div>
</div>
<div class="action">
<a data-bs-toggle="modal" :href="getActionInfoModalTarget(taskCard.action)"><AppIcon type="action" :name="taskCard.action"/></a>
Expand All @@ -28,6 +28,7 @@ import TaskCard from '@/services/TaskCard';
import { defineComponent, PropType } from 'vue'
import AppIcon from '../structure/AppIcon.vue';
import AutobahnColorCard from '../structure/AutobahnColorCard.vue';
import { useI18n } from 'vue-i18n';
export default defineComponent({
name: 'BotActions',
Expand All @@ -45,6 +46,10 @@ export default defineComponent({
required: true
},
},
setup() {
const { t } = useI18n()
return { t }
},
methods: {
getActionInfoModalTarget(action : Action) : string {
switch (action) {
Expand Down
7 changes: 4 additions & 3 deletions src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"home": {
"title": "Autobahn Solo Helper",
"play1": "Spiele gegen Autobot, den Solo-Gegner von <a href='https://boardgamegeek.com/boardgame/348554/autobahn' target='_blank' rel='noopener'><b>Autobahn</b></a>.",
"play2": "Diese Applikation ersetzt die Anweisungs- und Aktionskartenstapel und steuert den Schwierigkeitsgrad. Die Autobot-Regeln werden bei klick auf die Aktions-Icons angezeigt.",
"play2": "Diese Applikation ersetzt die Anweisungs- und Aktionskartenstapel und steuert den Schwierigkeitsgrad. Die Autobot-Regeln werden beim Anklicken der Aktions-Icons angezeigt.",
"feedback": "Diskussion und Feedback:"
},
"setup": {
Expand Down Expand Up @@ -48,7 +48,8 @@
"turnSkip": "Zug überspringen",
"turnSkipInfo": "Autobot hat keine zulässige Aktion in seinem Anweisungsstapel und überspringt diesen Zug.",
"turnSkipInfoDevelopmentStep": "Autobot rückt <b>1 Schritt auf der Entwicklungsleiste</b> nach vorne.",
"endEra": "<b>Ende Epoche {era}</b> - Hier klicken wenn Autobot den letzten Straßenabschnitt in dieser Epoche gebaut hat."
"endEra": "<b>Ende Epoche {era}</b> - Hier klicken wenn Autobot den letzten Straßenabschnitt in dieser Epoche gebaut hat.",
"andOr": "und/oder"
},
"turnBotMoveTrucks": {
"title": "Autobot - LKWs bewegen",
Expand Down Expand Up @@ -213,7 +214,7 @@
"takeColorCard": {
"title": "Farbkarte hinzufügen",
"pickColors": "Wähle die Farben der Farbkarte die am <i>weitesten links</i> in der Auslage liegt, und werfe die anschließend ab.",
"pickAction": "Hier aktivieren, falls diese Farbkarte eine <i>Straßenabschnitt bauen</i>-Aktion hat."
"pickAction": "Hier aktivieren, falls diese Farbkarte gelb ist und eine <i>Straßenabschnitt bauen</i>-Aktion hat."
},
"scoring": {
"bot": "Autobot",
Expand Down
5 changes: 3 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"turnSkip": "Skip Turn",
"turnSkipInfo": "Autobot has no viable action in his whole task card deck and will skip this turn.",
"turnSkipInfoDevelopmentStep": "Autobot moves <b>1 Development Track step</b>.",
"endEra": "<b>End Era {era}</b> - Click here if Autobot built the last road of this era."
"endEra": "<b>End Era {era}</b> - Click here if Autobot built the last road of this era.",
"andOr": "and/or"
},
"turnBotMoveTrucks": {
"title": "Autobot's turn - Move Trucks",
Expand Down Expand Up @@ -213,7 +214,7 @@
"takeColorCard": {
"title": "Take Color Card",
"pickColors": "Please select the colors of the <i>leftmost</i> card from the display here, and discard it afterwards from the display.",
"pickAction": "Please check if the color card has a <i>Build Road</i> action on it."
"pickAction": "Please check if the color card is yellow and has a <i>Build Road</i> action on it."
},
"scoring": {
"bot": "Autobot",
Expand Down

0 comments on commit 6e397a8

Please sign in to comment.