🌐 (app) change to english by default

This commit is contained in:
2020-07-12 11:27:38 +02:00
parent f1960eea2a
commit 454d1c149e
4 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
<div class="zone-music">
<div class="pm-field">
<label for="use-music" data-pm-holder>
<span :class="{ disabled: withMusic }">concentré</span>
<span :class="{ disabled: withMusic }">Focus</span>
<input
type="checkbox"
name="use-music"
@@ -11,7 +11,7 @@
@change="setWithMusic(!withMusic)"
data-pm-checkbox-toggle
/>
<span :class="{ disabled: !withMusic }">détente</span>
<span :class="{ disabled: !withMusic }">Chill</span>
</label>
</div>
<ChilledMusic v-if="withMusic" :play="play" @play="play" @pause="pause" />

View File

@@ -44,8 +44,8 @@ export const useTimer = () => {
const dev = isDev1Turn.value ? 'Dev 1' : 'Dev 2'
notify('Changement !', {
body: `${dev}, à votre tour !`
notify('Change!', {
body: `${dev}, your turn!`
})
}
}, 1000)

View File

@@ -25,8 +25,8 @@ if (process.env.NODE_ENV === 'production') {
setNotificationInstance((title, options?) =>
sw.showNotification(title, options)
)
notify('Une nouvelle version est disponible !', {
body: `Recharger l'application pour la mettre à jour.`
notify('An update is available!', {
body: `Reload the app to install the update.`
})
},
offline() {

View File

@@ -7,9 +7,9 @@
</section>
<div class="global-time">{{ time }}</div>
<div class="actions">
<button v-show="timeState === 'stopped'" @click="start">commencer</button>
<button v-show="timeState === 'stopped'" @click="start">start</button>
<button v-show="timeState === 'started'" @click="pause">pause</button>
<button v-show="timeState === 'started'" @click="clear">arrêter</button>
<button v-show="timeState === 'started'" @click="clear">stop</button>
</div>
<ZoneMusic
class="music"