This commit is contained in:
ogerly 2023-06-08 17:30:11 +02:00
parent 1c884cb49f
commit 43948da697
4 changed files with 12 additions and 6 deletions

View File

@ -56,6 +56,8 @@ module.exports = {
'settings.password.subtitle',
'math.asterisk',
'/pageTitle./',
'error.empty-transactionlist',
'error.no-transactionlist',
],
enableFix: false,
},

View File

@ -181,7 +181,7 @@
},
"your_amount": "Dein Betrag"
},
"PersonalDetails":"Persönliche Angaben",
"PersonalDetails": "Persönliche Angaben",
"GDD": "GDD",
"gddKonto": "GDD Konto",
"gdd_per_link": {
@ -293,6 +293,9 @@
"settings": {
"hideAmountGDD": "Dein GDD Betrag ist versteckt.",
"hideAmountGDT": "Dein GDT Betrag ist versteckt.",
"darkMode": "dunkel - hell Style",
"modeDark": "Nachtmodus",
"modeLight": "Tagmodus",
"language": {
"changeLanguage": "Sprache ändern",
"de": "Deutsch",

View File

@ -181,7 +181,7 @@
},
"your_amount": "Your amount"
},
"PersonalDetails":"Personal details",
"PersonalDetails": "Personal details",
"GDD": "GDD",
"gddKonto": "GDD Konto",
"gdd_per_link": {
@ -293,6 +293,9 @@
"settings": {
"hideAmountGDD": "Your GDD amount is hidden.",
"hideAmountGDT": "Your GDT amount is hidden.",
"darkMode": "dark - light Style",
"modeDark": "Style changed to dark mode",
"modeLight": "Style changed to light mode",
"language": {
"changeLanguage": "Change language",
"de": "Deutsch",

View File

@ -56,7 +56,7 @@
</b-col>
</b-row>
<b-row>
<b-col cols="12" md="6" lg="6">Dark - light mode</b-col>
<b-col cols="12" md="6" lg="6">{{ $t('settings.darkMode') }}</b-col>
<b-col cols="12" md="6" lg="6" class="text-right">
<b-form-checkbox v-model="darkMode" name="dark-mode" switch aligne></b-form-checkbox>
</b-col>
@ -104,9 +104,7 @@ export default {
},
watch: {
darkMode(val) {
const text = this.darkMode
? this.$t('Style changed to dark mode')
: this.$t('Style changed to light mode')
const text = this.darkMode ? this.$t('settings.modeDark') : this.$t('settings.modeLight')
this.$store.commit('setDarkMode', this.darkMode)
this.toastSuccess(text)
},