Translations
This commit is contained in:
parent
fb0b8c010f
commit
dfe3caa7eb
|
@ -63,7 +63,7 @@ export function isSolvable(result: number, plaquettes: number[]): boolean {
|
||||||
for (const item of history) {
|
for (const item of history) {
|
||||||
if (item.a < item.b) [item.a, item.b] = [item.b, item.a]
|
if (item.a < item.b) [item.a, item.b] = [item.b, item.a]
|
||||||
console.log(
|
console.log(
|
||||||
`${item.a} ${item.op} ${item.b} = ${operate(item.op, item.a, item.b)}`,
|
`${item.a} ${item.op === '*' ? 'x' : item.op} ${item.b} = ${operate(item.op, item.a, item.b)}`,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,5 +18,8 @@
|
||||||
"soon": "Soon",
|
"soon": "Soon",
|
||||||
"dailyHard": "Advanced Mode",
|
"dailyHard": "Advanced Mode",
|
||||||
"dailyNormal": "Normal Mode",
|
"dailyNormal": "Normal Mode",
|
||||||
"practiceMode": "Practice"
|
"practiceMode": "Practice",
|
||||||
|
"practiceModeDescription": "Use the Practice mode to improve your skills.",
|
||||||
|
"hardModeDescription": "The Advanced mode is generally more challenging, with 6 starting numbers.",
|
||||||
|
"normalModeDescription": "The Normal mode has 5 starting numbers, for a generally easier challenge."
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,5 +18,8 @@
|
||||||
"soon": "Bientôt",
|
"soon": "Bientôt",
|
||||||
"dailyNormal": "Mode Normal",
|
"dailyNormal": "Mode Normal",
|
||||||
"dailyHard": "Mode Avancé",
|
"dailyHard": "Mode Avancé",
|
||||||
"practiceMode": "Entraînement"
|
"practiceMode": "Entraînement",
|
||||||
|
"practiceModeDescription": "Profitez du mode Entraînement pour améliorer vos compétences.",
|
||||||
|
"hardModeDescription": "Le mode Avancé propose un challenge généralement plus relevé, avec 6 nombres de base.",
|
||||||
|
"normalModeDescription": "Le mode Normal propose un challenge généralement plus facile, avec 5 nombres de base."
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
v-else
|
v-else
|
||||||
@click="reboot"
|
@click="reboot"
|
||||||
class="inline-flex items-center btn-border">
|
class="inline-flex items-center btn-border">
|
||||||
<!-- TODO: icon reload -->
|
<IconReload class="mr-2" />
|
||||||
{{ t('playAgain') }}
|
{{ t('playAgain') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -122,6 +122,7 @@ import {
|
||||||
setMathPRNG,
|
setMathPRNG,
|
||||||
} from '@/utils'
|
} from '@/utils'
|
||||||
import IconShare from '~icons/ph/share-network'
|
import IconShare from '~icons/ph/share-network'
|
||||||
|
import IconReload from '~icons/ph/arrow-clockwise'
|
||||||
|
|
||||||
const { t } = useI18n() // call `useI18n`, and spread `t` from `useI18n` returning
|
const { t } = useI18n() // call `useI18n`, and spread `t` from `useI18n` returning
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col grow p-1 w-full text-center">
|
<div class="flex flex-col grow p-1 w-full text-center">
|
||||||
<div class="flex flex-col grow gap-8 justify-center md:mt-16">
|
<div class="flex flex-col grow gap-8 justify-center my-4 md:my-16">
|
||||||
<div>
|
<div>
|
||||||
{{ t('gameDescription') }}<br><br>
|
{{ t('gameDescription') }}
|
||||||
<span v-html="t('dailyDescription')" />
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user