Frontend: Improve archive translations

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-04 14:11:16 +02:00
parent 5145c61291
commit 5ff07a3ae0
6 changed files with 23 additions and 23 deletions

View File

@ -169,7 +169,7 @@
Api.post("batch/photos/archive", {"photos": this.selection}).then(() => this.onArchived());
},
onArchived() {
Notify.success(this.$gettext("Photos archived"));
Notify.success(this.$gettext("Selection archived"));
this.clearClipboard();
},
batchPrivate() {
@ -182,7 +182,7 @@
Api.post("batch/photos/restore", {"photos": this.selection}).then(() => this.onRestored());
},
onRestored() {
Notify.success(this.$gettext("Photos restored"));
Notify.success(this.$gettext("Selection restored"));
this.clearClipboard();
},
addToAlbum(ppid) {

View File

@ -7,7 +7,7 @@
<v-icon size="54" color="secondary-dark lighten-1">archive</v-icon>
</v-flex>
<v-flex xs9 text-xs-left align-self-center>
<div class="subheading pr-1"><translate>Are you sure you want to archive these photos?</translate></div>
<div class="subheading pr-1"><translate>Are you sure you want to archive the selection?</translate></div>
</v-flex>
<v-flex xs12 text-xs-right class="pt-3">
<v-btn @click.stop="cancel" depressed color="secondary-light" class="action-cancel">

Binary file not shown.

View File

@ -236,8 +236,8 @@ msgid "Archived"
msgstr "Archiviert"
#: src/dialog/photo/archive.vue:9
msgid "Are you sure you want to archive these photos?"
msgstr "Diese Bilder wirklich archivieren?"
msgid "Are you sure you want to archive the selection?"
msgstr "Auswahl wirklich archivieren?"
#: src/dialog/album/delete.vue:9
msgid "Are you sure you want to delete these albums?"
@ -1156,14 +1156,6 @@ msgstr ""
msgid "Photos"
msgstr "Fotos"
#: src/component/photo/clipboard.vue:172
msgid "Photos archived"
msgstr "Fotos archiviert"
#: src/component/photo/clipboard.vue:185
msgid "Photos restored"
msgstr "Fotos wiederhergestellt"
#: src/resources/options.js:136
msgid "Pink"
msgstr "Pink"
@ -1350,6 +1342,14 @@ msgstr "Code"
msgid "Select albums or create a new one"
msgstr "Wähle Alben aus oder erstelle ein neues"
#: src/component/photo/clipboard.vue:172
msgid "Selection archived"
msgstr "Auswahl archiviert"
#: src/component/photo/clipboard.vue:185
msgid "Selection restored"
msgstr "Auswahl wiederhergestellt"
#: src/pages/settings/sync.vue:92
msgid "Server"
msgstr "Server"

File diff suppressed because one or more lines are too long

View File

@ -238,7 +238,7 @@ msgid "Archived"
msgstr ""
#: src/dialog/photo/archive.vue:9
msgid "Are you sure you want to archive these photos?"
msgid "Are you sure you want to archive the selection?"
msgstr ""
#: src/dialog/album/delete.vue:9
@ -1234,14 +1234,6 @@ msgstr ""
msgid "Photos"
msgstr ""
#: src/component/photo/clipboard.vue:172
msgid "Photos archived"
msgstr ""
#: src/component/photo/clipboard.vue:185
msgid "Photos restored"
msgstr ""
#: src/resources/options.js:136
msgid "Pink"
msgstr ""
@ -1440,6 +1432,14 @@ msgstr ""
msgid "Select albums or create a new one"
msgstr ""
#: src/component/photo/clipboard.vue:172
msgid "Selection archived"
msgstr ""
#: src/component/photo/clipboard.vue:185
msgid "Selection restored"
msgstr ""
#: src/pages/settings/sync.vue:92
msgid "Server"
msgstr ""