Skip to content

Commit

Permalink
clear scoring tile selection on randomize
Browse files Browse the repository at this point in the history
better translation for randomize
  • Loading branch information
stefanseifert committed Dec 5, 2024
1 parent 0f15f6f commit df2a0c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/setup/ScoringTiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default defineComponent({
const allScoringTilesShuffled = shuffle(allScoringTiles)
state.setup.finalScoringTiles = allScoringTilesShuffled.slice(0, 3)
state.setup.eraScoringTiles = allScoringTilesShuffled.slice(3, 7)
scoringTilesSelection.value = []
}
if (state.setup.eraScoringTiles.length === 0 || state.setup.finalScoringTiles.length === 0) {
randomizeScoringTiles()
Expand Down
4 changes: 2 additions & 2 deletions src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scoringTiles": {
"title": "Wertungsplättchen",
"randomize": "Neu wählen",
"randomize": "Zufällig",
"select": "Auswählen",
"available": "Verfügbar:",
"selected": "Ausgewählt:",
Expand All @@ -29,7 +29,7 @@
"title": "Kontinent",
"show": "Zufälliger Kontinent (optional)",
"firstPlay": "Erste Partie",
"randomize": "New wählen"
"randomize": "Zufällig"
}
},
"setupBot": {
Expand Down

0 comments on commit df2a0c6

Please sign in to comment.