🌐 (app) change to english by default
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="zone-music">
|
<div class="zone-music">
|
||||||
<div class="pm-field">
|
<div class="pm-field">
|
||||||
<label for="use-music" data-pm-holder>
|
<label for="use-music" data-pm-holder>
|
||||||
<span :class="{ disabled: withMusic }">concentré</span>
|
<span :class="{ disabled: withMusic }">Focus</span>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="use-music"
|
name="use-music"
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
@change="setWithMusic(!withMusic)"
|
@change="setWithMusic(!withMusic)"
|
||||||
data-pm-checkbox-toggle
|
data-pm-checkbox-toggle
|
||||||
/>
|
/>
|
||||||
<span :class="{ disabled: !withMusic }">détente</span>
|
<span :class="{ disabled: !withMusic }">Chill</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<ChilledMusic v-if="withMusic" :play="play" @play="play" @pause="pause" />
|
<ChilledMusic v-if="withMusic" :play="play" @play="play" @pause="pause" />
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ export const useTimer = () => {
|
|||||||
|
|
||||||
const dev = isDev1Turn.value ? 'Dev 1' : 'Dev 2'
|
const dev = isDev1Turn.value ? 'Dev 1' : 'Dev 2'
|
||||||
|
|
||||||
notify('Changement !', {
|
notify('Change!', {
|
||||||
body: `${dev}, à votre tour !`
|
body: `${dev}, your turn!`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ if (process.env.NODE_ENV === 'production') {
|
|||||||
setNotificationInstance((title, options?) =>
|
setNotificationInstance((title, options?) =>
|
||||||
sw.showNotification(title, options)
|
sw.showNotification(title, options)
|
||||||
)
|
)
|
||||||
notify('Une nouvelle version est disponible !', {
|
notify('An update is available!', {
|
||||||
body: `Recharger l'application pour la mettre à jour.`
|
body: `Reload the app to install the update.`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
offline() {
|
offline() {
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
</section>
|
</section>
|
||||||
<div class="global-time">{{ time }}</div>
|
<div class="global-time">{{ time }}</div>
|
||||||
<div class="actions">
|
<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="pause">pause</button>
|
||||||
<button v-show="timeState === 'started'" @click="clear">arrêter</button>
|
<button v-show="timeState === 'started'" @click="clear">stop</button>
|
||||||
</div>
|
</div>
|
||||||
<ZoneMusic
|
<ZoneMusic
|
||||||
class="music"
|
class="music"
|
||||||
|
|||||||
Reference in New Issue
Block a user