mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-15 14:52:26 +00:00
Add WordArt labels to the catalogs added on main
This commit is contained in:
1 parent
a9cc381332
commit
caf897daad
9 files changed
+19
-3
No files matched your search
@@ -95,6 +95,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Σχήματα",
|
||||
"Icons" => "Εικονίδια",
|
||||
"Text\nBox" => "Πλαίσιο\nκειμένου",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Εισαγωγή WordArt",
|
||||
"Comment" => "Σχόλιο",
|
||||
"New\nComment" => "Νέο\nσχόλιο",
|
||||
"New Note" => "Νέα σημείωση",
|
||||
|
||||
@@ -99,6 +99,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Forme",
|
||||
"Icons" => "Icone",
|
||||
"Text\nBox" => "Casella\ndi testo",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Inserisci WordArt",
|
||||
"Comment" => "Commento",
|
||||
"New\nComment" => "Nuovo\ncommento",
|
||||
"New Note" => "Nuova nota",
|
||||
|
||||
@@ -1085,15 +1085,15 @@ mod tests {
|
||||
assert!(seen.insert(*english), "duplicate key across CORE and DIALOGS: {english:?}");
|
||||
}
|
||||
assert_eq!(seen.len(), catalog_keys().count());
|
||||
assert_eq!(CORE.len(), 392, "the shared reference set every catalog covers");
|
||||
assert_eq!(CORE.len(), 394, "the shared reference set every catalog covers");
|
||||
assert_eq!(DIALOGS.len(), 562, "the dialog, message and menu strings beyond it");
|
||||
assert_eq!(catalog_keys().count(), 954);
|
||||
assert_eq!(catalog_keys().count(), 956);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn covers_every_key_the_portuguese_catalog_translates() {
|
||||
let portuguese = portuguese_keys();
|
||||
assert_eq!(portuguese.len(), 954, "pt.rs's arms changed: add the new keys here and update the count");
|
||||
assert_eq!(portuguese.len(), 956, "pt.rs's arms changed: add the new keys here and update the count");
|
||||
let japanese: HashSet<&str> = catalog_keys().collect();
|
||||
for key in &portuguese {
|
||||
assert!(japanese.contains(key.as_str()), "the Portuguese catalog translates {key:?}, the Japanese one does not");
|
||||
|
||||
@@ -100,6 +100,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Vormen",
|
||||
"Icons" => "Pictogrammen",
|
||||
"Text\nBox" => "Tekst-\nvak",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "WordArt invoegen",
|
||||
"Comment" => "Opmerking",
|
||||
"New\nComment" => "Nieuwe\nopmerking",
|
||||
"New Note" => "Nieuwe notitie",
|
||||
|
||||
@@ -95,6 +95,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Kształty",
|
||||
"Icons" => "Ikony",
|
||||
"Text\nBox" => "Pole\ntekstowe",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Wstaw WordArt",
|
||||
"Comment" => "Komentarz",
|
||||
"New\nComment" => "Nowy\nkomentarz",
|
||||
"New Note" => "Nowa notatka",
|
||||
|
||||
@@ -102,6 +102,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Forme",
|
||||
"Icons" => "Pictograme",
|
||||
"Text\nBox" => "Casetă\nde text",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Inserare WordArt",
|
||||
"Comment" => "Comentariu",
|
||||
"New\nComment" => "Comentariu\nnou",
|
||||
"New Note" => "Notă nouă",
|
||||
|
||||
@@ -98,6 +98,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Şekiller",
|
||||
"Icons" => "Simgeler",
|
||||
"Text\nBox" => "Metin\nKutusu",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "WordArt Ekle",
|
||||
"Comment" => "Açıklama",
|
||||
"New\nComment" => "Yeni\nAçıklama",
|
||||
"New Note" => "Yeni Not",
|
||||
|
||||
@@ -97,6 +97,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Фігури",
|
||||
"Icons" => "Значки",
|
||||
"Text\nBox" => "Текстове\nполе",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Вставити WordArt",
|
||||
"Comment" => "Коментар",
|
||||
"New\nComment" => "Новий\nкоментар",
|
||||
"New Note" => "Нова нотатка",
|
||||
|
||||
@@ -103,6 +103,8 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Shapes" => "Hình",
|
||||
"Icons" => "Biểu tượng",
|
||||
"Text\nBox" => "Hộp\nvăn bản",
|
||||
"Word\nArt" => "WordArt",
|
||||
"Insert WordArt" => "Chèn WordArt",
|
||||
"Comment" => "Chú thích",
|
||||
"New\nComment" => "Chú thích\nmới",
|
||||
"New Note" => "Ghi chú mới",
|
||||
|
||||
Reference in new issue
Block a user