Translate some for #419

This commit is contained in:
the-djmaze 2022-06-02 23:13:20 +02:00
parent be2296185f
commit a6d97a601c
7 changed files with 40 additions and 32 deletions

View file

@ -103,10 +103,10 @@ export class MessageModel extends AbstractModel {
// isJunk: () => this.flags().includes('$junk') && !this.flags().includes('$nonjunk'),
// isPhishing: () => this.flags().includes('$phishing'),
tags: () => this.flags().map(value =>
tagsToHTML: () => this.flags().map(value =>
('\\' == value[0] || '$forwarded' == value)
? ''
: '<span class="msgflag-'+value+'">' + i18n('MESSAGE_TAGS/'+value,0,value) + '</span>'
: '<span class="focused msgflag-'+value+'">' + i18n('MESSAGE_TAGS/'+value,0,value) + '</span>'
).join(' ')
});
}

View file

@ -90,6 +90,14 @@ html.rl-no-preview-pane {
}
}
.messageTags {
margin-top: 6px;
}
.messageTags * * {
border: 1px solid #808080;
padding: 2px;
}
.messageItemHeader {
background-color: #f8f8f8;

View file

@ -152,16 +152,16 @@
"LINK_DOWNLOAD_AS_ZIP": "Als ZIP-Datei herunterladen",
"SPAM_SCORE": "Spam-Score",
"HAS_VIRUS_WARNING": "WARNUNG: Virus erkannt",
"TAGS": "Tags"
"TAGS": "Stichworte"
},
"MESSAGE_TAGS": {
"$important": "Important",
"$todo": "To Do",
"$label1": "Important",
"$label2": "Work",
"$label3": "Personal",
"$label4": "To Do",
"$label5": "Later"
"$important": "Wichtig",
"$todo": "Machen",
"$label1": "Wichtig",
"$label2": "Arbeit",
"$label3": "Persönlich",
"$label4": "Machen",
"$label5": "Später"
},
"READ_RECEIPT": {
"SUBJECT": "Empfangsbestätigung (angezeigt) - %SUBJECT%",

View file

@ -152,16 +152,16 @@
"LINK_DOWNLOAD_AS_ZIP": "Télécharger le zip",
"SPAM_SCORE": "Score de spam",
"HAS_VIRUS_WARNING": "ATTENTION : virus détecté",
"TAGS": "Tags"
"TAGS": "Balises"
},
"MESSAGE_TAGS": {
"$important": "Important",
"$todo": "To Do",
"$todo": "Faire",
"$label1": "Important",
"$label2": "Work",
"$label3": "Personal",
"$label4": "To Do",
"$label5": "Later"
"$label2": "Travailler",
"$label3": "Personnel",
"$label4": "Faire",
"$label5": "Plus tard"
},
"READ_RECEIPT": {
"SUBJECT": "Accusé de réception (affiché) - %SUBJECT%",

View file

@ -152,16 +152,16 @@
"LINK_DOWNLOAD_AS_ZIP": "Scarica come archivio ZIP",
"SPAM_SCORE": "Punteggio Spam",
"HAS_VIRUS_WARNING": "AVVISO: rilevato virus",
"TAGS": "Tags"
"TAGS": "Tag"
},
"MESSAGE_TAGS": {
"$important": "Important",
"$todo": "To Do",
"$label1": "Important",
"$label2": "Work",
"$label3": "Personal",
"$label4": "To Do",
"$label5": "Later"
"$important": "Importante",
"$todo": "Da fare",
"$label1": "Importante",
"$label2": "Opera",
"$label3": "Personale",
"$label4": "Da fare",
"$label5": "Dopo"
},
"READ_RECEIPT": {
"SUBJECT": "Avviso di lettura - %SUBJECT%",

View file

@ -155,12 +155,12 @@
"TAGS": "Tags"
},
"MESSAGE_TAGS": {
"$important": "Important",
"$todo": "To Do",
"$label1": "Important",
"$label2": "Work",
"$label3": "Personal",
"$label4": "To Do",
"$important": "Belangrijk",
"$todo": "Te doen",
"$label1": "Belangrijk",
"$label2": "Werk",
"$label3": "Persoonlijk",
"$label4": "Te doen",
"$label5": "Later"
},
"READ_RECEIPT": {

View file

@ -195,9 +195,9 @@
</table>
</div>
<div class="hasVirus" data-bind="visible: message().hasVirus()" data-i18n="MESSAGE/HAS_VIRUS_WARNING"></div>
<div class="informationShort">
<div class="messageTags">
<span data-i18n="MESSAGE/TAGS"></span>:
<span data-bind="html: message().tags()"></span>
<span data-bind="html: message().tagsToHTML()"></span>
</div>
</div>
<div id="messageItem" data-bind="css: message().lineAsCss()">