mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 09:46:19 +01:00
i18n: the justification order error is translated in every complete catalog
The error that text.setFormat and the paragraph style commands give when a justification setting's Minimum, Desired and Maximum are out of order had a message row only in Hindi and Swedish, so the other complete-message languages showed it in English. Each of them now has a row, built from the catalog's own translation of the dialog's sentence. The Catalan sentence read as "nor the desired maximum" and now says that Desired must not exceed Maximum. The Hindi label for Desired, the sentence and its message row now use the word for desired.
This commit is contained in:
1 parent
1dbdbce91f
commit
1533f2b821
22 files changed
+40
-4
No files matched your search
@@ -2565,7 +2565,8 @@ digits Malayalam Malaiàlam
|
||||
Minimal Mínim
|
||||
Minimize Minimitza
|
||||
Minimum Mínim
|
||||
Minimum must not exceed Desired, nor Desired Maximum. El mínim no pot superar el desitjat ni el màxim desitjat.
|
||||
Minimum must not exceed Desired, nor Desired Maximum. El mínim no pot superar el desitjat, ni el desitjat el màxim.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: el mínim no pot superar el desitjat, ni el desitjat el màxim
|
||||
Minus Back Resta al darrere
|
||||
Minus Front Resta al davant
|
||||
Mirror Reflexa
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6201,6 +6201,7 @@ mark-style Japanese Japonské
|
||||
Single Word Justification: Zarovnání jednoho slova:
|
||||
Full Justify Zarovnat do bloku
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Minimum nesmí překročit požadovanou hodnotu ani požadovaná hodnota maximum.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: minimum nesmí překročit požadovanou hodnotu ani požadovaná hodnota maximum
|
||||
Justification Zarovnání do bloku
|
||||
Add filters from the list above Přidejte filtry ze seznamu výše
|
||||
Add to Stack Přidat na zásobník
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -5789,6 +5789,7 @@ effect Soft Weich
|
||||
Single Word Justification: Ausrichtung einzelner Wörter:
|
||||
Full Justify Blocksatz
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Das Minimum darf den optimalen Wert nicht übersteigen, der optimale Wert nicht das Maximum.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: Das Minimum darf den optimalen Wert nicht übersteigen, der optimale Wert nicht das Maximum
|
||||
Minimum Minimum
|
||||
Justification Abstände
|
||||
Add filters from the list above Filter aus der Liste oben hinzufügen
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6152,6 +6152,7 @@ effect Points Σημεία
|
||||
Single Word Justification: Στοίχιση μεμονωμένης λέξης:
|
||||
Full Justify Στοίχιση και στα δύο άκρα
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Το ελάχιστο δεν πρέπει να υπερβαίνει το επιθυμητό, ούτε το επιθυμητό το μέγιστο.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: το ελάχιστο δεν πρέπει να υπερβαίνει το επιθυμητό, ούτε το επιθυμητό το μέγιστο
|
||||
Justification Πλήρης στοίχιση
|
||||
Add filters from the list above Προσθέστε φίλτρα από τη λίστα παραπάνω
|
||||
Add to Stack Προσθήκη στη στοίβα
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6143,6 +6143,7 @@ mark-style Japanese Japonesas
|
||||
Single Word Justification: Justificación de una sola palabra:
|
||||
Full Justify Justificar completamente
|
||||
Minimum must not exceed Desired, nor Desired Maximum. El mínimo no puede superar el deseado, ni el deseado el máximo.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: el mínimo no puede superar el deseado, ni el deseado el máximo
|
||||
Justification Justificación
|
||||
Add filters from the list above Añada filtros de la lista de arriba
|
||||
Add to Stack Añadir a la pila
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6164,6 +6164,7 @@ mark-style Japanese Japanilainen
|
||||
Single Word Justification: Yksittäisen sanan tasaus:
|
||||
Full Justify Täysi tasaus
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Minimi ei saa ylittää haluttua arvoa eikä haluttu arvo maksimia.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: minimi ei saa ylittää haluttua arvoa eikä haluttu arvo maksimia
|
||||
Justification Tasaus
|
||||
Add filters from the list above Lisää suodattimia yllä olevasta luettelosta
|
||||
Add to Stack Lisää pinoon
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6196,6 +6196,7 @@ theme Appearance Apparence
|
||||
Single Word Justification: Justification d’un mot isolé :
|
||||
Full Justify Justification complète
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Le minimum ne doit pas dépasser la valeur optimale, ni la valeur optimale le maximum.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}` : le minimum ne doit pas dépasser la valeur optimale, ni la valeur optimale le maximum
|
||||
Justification Justification
|
||||
Add filters from the list above Ajoutez des filtres à partir de la liste ci-dessus
|
||||
Add to Stack Ajouter à la pile
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1306,7 +1306,7 @@ antiAlias Sharp शार्प
|
||||
Description: विवरण:
|
||||
Deselect डीसिलेक्ट करें
|
||||
Design… डिजाइन…
|
||||
Desired देसी
|
||||
Desired वांछित
|
||||
Destination Folder: गंतव्य फ़ोल्डर:
|
||||
Destination: गंतव्य:
|
||||
Detail डिटेल
|
||||
@@ -2802,7 +2802,7 @@ antiAlias Sharp शार्प
|
||||
Minimize छोटा करें
|
||||
Minimum न्यूनतम
|
||||
Minimum angle न्यूनतम कोण
|
||||
Minimum must not exceed Desired, nor Desired Maximum. न्यूनतम से अधिक नहीं होना चाहिए, न ही अधिकतम होना चाहिए।
|
||||
Minimum must not exceed Desired, nor Desired Maximum. न्यूनतम मान वांछित मान से अधिक नहीं होना चाहिए, और न ही वांछित मान अधिकतम मान से।
|
||||
Minimum: न्यूनतम:
|
||||
Minus Back पीछे वाला घटाएँ
|
||||
Minus Front सामने वाला घटाएँ
|
||||
@@ -5901,7 +5901,7 @@ antiAlias Sharp शार्प
|
||||
@msg `{name}` is no recovery entry name `{name}` कोई वसूली प्रविष्टि नाम नहीं है
|
||||
@msg `{name}` isn't a colour swatch `{name}` is not a color swatch
|
||||
@msg `{name}` takes a paint of its own kind (colour, gradient or pattern) `{name}` अपने खुद के प्रकार (रंग, ग्रेडिएंट या पैटर्न) का एक रंग लेता है।
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: न्यूनतम इच्छा से अधिक नहीं होना चाहिए, न ही इच्छा अधिकतम
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: न्यूनतम मान वांछित मान से अधिक नहीं होना चाहिए, और न ही वांछित मान अधिकतम मान से
|
||||
@msg `{other}` doesn't trace an image `{other}` एक इमेज का पता नहीं लगा
|
||||
@msg `{path}` must be a bool or an object of bools `{path}` एक bool होना चाहिए या एक ऑब्जेक्ट होना चाहिए।
|
||||
@msg `{s}` is not a colour (#rrggbb or a preset name) `{s}` एक रंग नहीं है (#rrggbb या एक पूर्व निर्धारित नाम)
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6184,6 +6184,7 @@ imageTrace Outline Körvonal
|
||||
Single Word Justification: Egyetlen szó igazítása:
|
||||
Full Justify Teljes sorkizárás
|
||||
Minimum must not exceed Desired, nor Desired Maximum. A minimum nem haladhatja meg a kívánt értéket, sem a kívánt érték a maximumot.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: a minimum nem haladhatja meg a kívánt értéket, sem a kívánt érték a maximumot
|
||||
Justification Sorkizárás
|
||||
Add filters from the list above Adjon hozzá szűrőket a fenti listából
|
||||
Add to Stack Hozzáadás a veremhez
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -5823,6 +5823,7 @@ lighting Light Luce
|
||||
Single Word Justification: Giustificazione parola singola:
|
||||
Full Justify Giustificazione completa
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Il minimo non può superare il valore desiderato, né il desiderato il massimo.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: il minimo non può superare il valore desiderato, né il desiderato il massimo
|
||||
Minimum Minimo
|
||||
Justification Giustificazione
|
||||
Add filters from the list above Aggiungi filtri dall'elenco sopra
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -5866,6 +5866,7 @@ lighting Light ライト
|
||||
Single Word Justification: 単語のみの行の揃え:
|
||||
Full Justify 両端揃え
|
||||
Minimum must not exceed Desired, nor Desired Maximum. 最小値は最適値を、最適値は最大値を超えることはできません。
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: 最小値は最適値を、最適値は最大値を超えることはできません
|
||||
Minimum 最小
|
||||
Justification 文字組み
|
||||
Add filters from the list above 上のリストからフィルターを追加
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6104,6 +6104,7 @@ imageTrace Outline კონტური
|
||||
Letter Spacing: ასოებს შორის დაშორება:
|
||||
Word Spacing: სიტყვებს შორის დაშორება:
|
||||
Minimum must not exceed Desired, nor Desired Maximum. მინიმალური არ უნდა აღემატებოდეს სასურველს, ხოლო სასურველი — მაქსიმალურს.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: მინიმალური არ უნდა აღემატებოდეს სასურველს, ხოლო სასურველი — მაქსიმალურს
|
||||
Single Word Justification: ერთი სიტყვის სწორება:
|
||||
Apply {name} სტილის „{name}“ გამოყენება
|
||||
Redefine {name} სტილის „{name}“ ხელახლა განსაზღვრა
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -5784,6 +5784,7 @@ lighting Light 광원
|
||||
Single Word Justification: 단일 단어 정렬:
|
||||
Full Justify 강제 양쪽 정렬
|
||||
Minimum must not exceed Desired, nor Desired Maximum. 최소값은 희망값을, 희망값은 최대값을 넘을 수 없습니다.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: 최소값은 희망값을, 희망값은 최대값을 넘을 수 없습니다
|
||||
Minimum 최소
|
||||
Justification 양끝 맞춤
|
||||
Add filters from the list above 위 목록에서 필터 추가
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6055,6 +6055,7 @@ mark-style Japanese Japońskie
|
||||
Single Word Justification: Justowanie pojedynczego wyrazu:
|
||||
Full Justify Pełne justowanie
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Minimum nie może przekraczać wartości optymalnej, a wartość optymalna maksimum.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: minimum nie może przekraczać wartości optymalnej, a wartość optymalna maksimum
|
||||
Justification Justowanie
|
||||
Add filters from the list above Dodaj filtry z listy powyżej
|
||||
Add to Stack Dodaj do stosu
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -6116,6 +6116,7 @@ mark-style Japanese Japonesas
|
||||
Single Word Justification: Justificação de Palavra Única:
|
||||
Full Justify Justificação Completa
|
||||
Minimum must not exceed Desired, nor Desired Maximum. O mínimo não pode passar do desejado, nem o desejado do máximo.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: o mínimo não pode passar do desejado, nem o desejado do máximo
|
||||
Justification Justificação
|
||||
Add filters from the list above Adicione filtros da lista acima
|
||||
Add to Stack Adicionar à Pilha
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -5809,6 +5809,7 @@ lighting Light Свет
|
||||
Single Word Justification: Выключка одного слова:
|
||||
Full Justify Полная выключка
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Минимум не может превышать желательное значение, а желательное — максимум.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: минимум не может превышать желательное значение, а желательное — максимум
|
||||
Minimum Минимум
|
||||
Justification Выключка
|
||||
Add filters from the list above Добавьте фильтры из списка выше
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -1739,6 +1739,22 @@ fn recolor_notes_on_objects_left_unchanged_translate_with_their_counts() {
|
||||
}
|
||||
}
|
||||
|
||||
/// The error that `text.setFormat` and the paragraph style commands give when a justification
|
||||
/// setting's Minimum, Desired and Maximum are out of order is translated in every
|
||||
/// complete-message language, with the setting's name kept.
|
||||
#[test]
|
||||
fn justification_order_error_translates_with_the_setting_name() {
|
||||
for name in ["wordSpacing", "justification.glyph_scaling"] {
|
||||
let error = format!("`{name}`: Minimum must not exceed Desired, nor Desired Maximum");
|
||||
for code in COMPLETE_MESSAGES {
|
||||
let lang = Lang::from_code(code).expect("registered");
|
||||
let shown = message(lang, &error);
|
||||
assert!(shown != error && !shown.contains("Desired"), "{code}: {shown}");
|
||||
assert!(shown.contains(&format!("`{name}`")), "{code}: {shown}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn package_status_message_templates_parse() {
|
||||
let c = Catalog::parse(concat!(
|
||||
|
||||
@@ -2966,6 +2966,7 @@ digits Malayalam Malayalam
|
||||
Letter Spacing: Harf Boşluğu:
|
||||
Lights Işıklar
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Minimum, İstenen'i; İstenen ise Maksimum'u aşmamalıdır.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: Minimum, İstenen'i; İstenen ise Maksimum'u aşmamalıdır
|
||||
Select by Color Renge Göre Seç
|
||||
Set History Limit… Geçmiş Sınırını Ayarla…
|
||||
Single Word Justification: Tek Sözcük Yaslama:
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -5803,6 +5803,7 @@ lighting Light Світло
|
||||
Single Word Justification: Вирівнювання одного слова:
|
||||
Full Justify Повне вирівнювання
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Мінімум не може перевищувати бажане значення, а бажане — максимум.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: мінімум не може перевищувати бажане значення, а бажане — максимум
|
||||
Minimum Мінімум
|
||||
Justification Вирівнювання за шириною
|
||||
Add filters from the list above Додайте фільтри зі списку вище
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -5804,6 +5804,7 @@ theme Appearance Giao diện
|
||||
Single Word Justification: Căn đều một từ:
|
||||
Full Justify Căn đều hoàn toàn
|
||||
Minimum must not exceed Desired, nor Desired Maximum. Giá trị tối thiểu không được vượt quá giá trị mong muốn, và giá trị mong muốn không được vượt quá tối đa.
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`: giá trị tối thiểu không được vượt quá giá trị mong muốn, và giá trị mong muốn không được vượt quá tối đa
|
||||
Minimum Tối thiểu
|
||||
Justification Căn đều
|
||||
Add filters from the list above Thêm bộ lọc từ danh sách phía trên
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 204 and column 5.
|
@@ -6037,6 +6037,7 @@ lighting Light 光源
|
||||
Single Word Justification: 单字对齐:
|
||||
Full Justify 全部强制双齐
|
||||
Minimum must not exceed Desired, nor Desired Maximum. 最小值不能超过所需值,所需值不能超过最大值。
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`:最小值不能超过所需值,所需值不能超过最大值
|
||||
Minimum 最小值
|
||||
Justification 对齐设置
|
||||
Add filters from the list above 从上方列表添加滤镜
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -5834,6 +5834,7 @@ lighting Light 光源
|
||||
Single Word Justification: 單字對齊:
|
||||
Full Justify 全部強迫齊行
|
||||
Minimum must not exceed Desired, nor Desired Maximum. 最小值不可超過所需值,所需值不可超過最大值。
|
||||
@msg `{name}`: Minimum must not exceed Desired, nor Desired Maximum `{name}`:最小值不可超過所需值,所需值不可超過最大值
|
||||
Minimum 最小值
|
||||
Justification 對齊設定
|
||||
Add filters from the list above 從上方清單新增濾鏡
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
Reference in new issue
Block a user