mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-31 03:52:01 +08:00
Translate some for #419
This commit is contained in:
parent
be2296185f
commit
a6d97a601c
7 changed files with 40 additions and 32 deletions
|
@ -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(' ')
|
||||
});
|
||||
}
|
||||
|
|
|
@ -90,6 +90,14 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
}
|
||||
|
||||
.messageTags {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.messageTags * * {
|
||||
border: 1px solid #808080;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.messageItemHeader {
|
||||
|
||||
background-color: #f8f8f8;
|
||||
|
|
|
@ -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%",
|
||||
|
|
|
@ -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%",
|
||||
|
|
|
@ -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%",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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()">
|
||||
|
|
Loading…
Reference in a new issue