Skip to content

Commit

Permalink
notice: support i18n for box labels #16
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jul 16, 2021
1 parent c718115 commit 7564c6a
Show file tree
Hide file tree
Showing 14 changed files with 161 additions and 17 deletions.
14 changes: 13 additions & 1 deletion i18n/ar.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ other = "المزيد"
other = "...قم بتوسيع"

[BinaryPrefix-kilobyte]
other = "kb"
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
14 changes: 13 additions & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ other = "Mehr"
other = "Erweitere mich..."

[BinaryPrefix-kilobyte]
other = "kb"
other = "kb"

[note]
other = "Anmerkung"

[info]
other = "Info"

[tip]
other = "Tipp"

[warning]
other = "Warnung"
14 changes: 13 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ other = "More"
other = "Expand me..."

[BinaryPrefix-kilobyte]
other = "kb"
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "Expandir..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Nota"

[info]
other = "Información"

[tip]
other = "Consejo"

[warning]
other = "Aviso"
14 changes: 13 additions & 1 deletion i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ other = "Aller plus loin"
other = "Déroulez-moi..."

[BinaryPrefix-kilobyte]
other = "ko"
other = "ko"

[note]
other = "Remarque"

[info]
other = "Information"

[tip]
other = "Astuce"

[warning]
other = "Avertissement"
12 changes: 12 additions & 0 deletions i18n/hi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "विस्तार करे..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/id.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "Bentangkan..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "開く..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/nl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "Lees meer..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/pt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "Expandir..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Nota"

[info]
other = "Informação"

[tip]
other = "Dica"

[warning]
other = "Aviso"
14 changes: 13 additions & 1 deletion i18n/ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ other = "Еще"
other = "Развернуть..."

[BinaryPrefix-kilobyte]
other = "килобайт"
other = "килобайт"

[note]
other = "Заметка"

[info]
other = "Информация"

[tip]
other = "Совет"

[warning]
other = "Внимание"
12 changes: 12 additions & 0 deletions i18n/tr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "Genişlet..."

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "Note"

[info]
other = "Info"

[tip]
other = "Tip"

[warning]
other = "Warning"
12 changes: 12 additions & 0 deletions i18n/zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ other = "展开"

[BinaryPrefix-kilobyte]
other = "kb"

[note]
other = "注释"

[info]
other = "信息"

[tip]
other = "提示"

[warning]
other = "警告"
12 changes: 0 additions & 12 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -505,39 +505,27 @@ div.notices.info {
div.notices.info > div.label:first-child:before {
content: "\f05a";
}
div.notices.info > div.label:first-child:after {
content: 'Info';
}
div.notices.warning {
border-color: rgba(217, 83, 79, 0.8);
background-color: #FAE2E2;
}
div.notices.warning > div.label:first-child:before {
content: "\f071";
}
div.notices.warning > div.label:first-child:after {
content: 'Warning';
}
div.notices.note {
border-color: #F0B37E;
background-color: #FFF2DB;
}
div.notices.note > div.label:first-child:before {
content: "\f06a";
}
div.notices.note > div.label:first-child:after {
content: 'Note';
}
div.notices.tip {
border-color: rgba(92, 184, 92, 0.8);
background-color: #E6F9E6;
}
div.notices.tip > div.label:first-child:before {
content: "\f0eb";
}
div.notices.tip > div.label:first-child:after {
content: 'Tip';
}

/* attachments shortcode */

Expand Down

0 comments on commit 7564c6a

Please sign in to comment.