Update localization for notifications in English and German
- Added new notification translations for election creation in both `falukant.json` files. - Updated the message rendering in `MessagesDialog.vue` to include the new translation structure.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
>
|
||||
<ul class="messages">
|
||||
<li v-for="n in messages" :key="n.id" :class="{ unread: !n.shown }">
|
||||
<div class="body">{{ $t(n.tr) }}</div>
|
||||
<div class="body">{{ $t('falukant.notifications.' + n.tr) }}</div>
|
||||
<div class="footer">
|
||||
<span>{{ formatDate(n.createdAt) }}</span>
|
||||
</div>
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
"tooltip": "Nachrichten",
|
||||
"empty": "Keine Nachrichten vorhanden."
|
||||
},
|
||||
"notifications": {
|
||||
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben."
|
||||
},
|
||||
"health": {
|
||||
"amazing": "Super",
|
||||
"good": "Gut",
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"tooltip": "Messages",
|
||||
"empty": "No messages."
|
||||
},
|
||||
"notifications": {
|
||||
"notify_election_created": "A new election has been scheduled."
|
||||
},
|
||||
"statusbar": {
|
||||
"age": "Age",
|
||||
"wealth": "Wealth",
|
||||
|
||||
Reference in New Issue
Block a user