fix(flutter): localize canvas margin label

This commit is contained in:
Galygious 2026-03-16 04:28:26 -05:00
parent aa6350d9f4
commit c4ad53c538
18 changed files with 18 additions and 1 deletions

View file

@ -1196,7 +1196,7 @@ class _DisplayMenuState extends State<_DisplayMenu> {
padding: EdgeInsets.symmetric(horizontal: 12),
child: Row(
children: [
Expanded(child: Text('Canvas Margin')),
Expanded(child: Text(translate('canvas_margin'))),
SizedBox(
width: 160,
child: EdgeThicknessControl(

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "阻止用户输入"),
("Unblock user input", "取消阻止用户输入"),
("Adjust Window", "调节窗口"),
("canvas_margin", "画布边距"),
("Original", "原始比例"),
("Shrink", "收缩"),
("Stretch", "伸展"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Bloker brugerinput"),
("Unblock user input", "Fjern blokering af brugerinput"),
("Adjust Window", "Juster vinduet"),
("canvas_margin", "Lærredsmargen"),
("Original", "Original"),
("Shrink", "Krymp"),
("Stretch", "Stræk ud"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Benutzereingaben blockieren"),
("Unblock user input", "Benutzereingaben freigeben"),
("Adjust Window", "Fenster anpassen"),
("canvas_margin", "Leinwandrand"),
("Original", "Original"),
("Shrink", "Verkleinern"),
("Stretch", "Strecken"),

View file

@ -99,6 +99,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Control Actions", "Control actions"),
("Display Settings", "Display settings"),
("Image Quality", "Image quality"),
("canvas_margin", "Canvas margin"),
("Scroll Style", "Scroll style"),
("Show Toolbar", "Show toolbar"),
("Hide Toolbar", "Hide toolbar"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Bloquear entrada de usuario"),
("Unblock user input", "Desbloquear entrada de usuario"),
("Adjust Window", "Ajustar ventana"),
("canvas_margin", "Margen del lienzo"),
("Original", "Original"),
("Shrink", "Encoger"),
("Stretch", "Estirar"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Estä käyttäjän toiminta"),
("Unblock user input", "Salli käyttäjän toiminta"),
("Adjust Window", "Sovita ikkuna"),
("canvas_margin", "Piirtoalueen marginaali"),
("Original", "Alkuperäinen"),
("Shrink", "Pienennä"),
("Stretch", "Venytä"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Bloquer la saisie de lutilisateur"),
("Unblock user input", "Débloquer la saisie de lutilisateur"),
("Adjust Window", "Ajuster la fenêtre"),
("canvas_margin", "Marge du canevas"),
("Original", "Ratio d'origine"),
("Shrink", "Rétrécir"),
("Stretch", "Étirer"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Blocca input utente"),
("Unblock user input", "Sblocca input utente"),
("Adjust Window", "Adatta finestra"),
("canvas_margin", "Margine della tela"),
("Original", "Originale"),
("Shrink", "Restringi"),
("Stretch", "Allarga"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "ユーザーの入力をブロック"),
("Unblock user input", "ユーザーの入力を許可"),
("Adjust Window", "ウィンドウを調整"),
("canvas_margin", "キャンバス余白"),
("Original", "オリジナル"),
("Shrink", "縮小"),
("Stretch", "伸縮"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "사용자 입력 차단"),
("Unblock user input", "사용자 입력 차단 해제"),
("Adjust Window", "창 크기 조정"),
("canvas_margin", "캔버스 여백"),
("Original", "원본"),
("Shrink", "축소"),
("Stretch", "늘이기"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Blokker brukerinput"),
("Unblock user input", "Fjern blokkering av brukerinput"),
("Adjust Window", "Juster vinduet"),
("canvas_margin", "Lerretsmarg"),
("Original", "Original"),
("Shrink", "Krymp"),
("Stretch", "Strekk ut"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Gebruikersinvoer blokkeren"),
("Unblock user input", "Gebruikersinvoer deblokkeren"),
("Adjust Window", "Venster Aanpassen"),
("canvas_margin", "Canvasmarge"),
("Original", "Origineel"),
("Shrink", "Verkleinen"),
("Stretch", "Uitrekken"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Blokuj peryferia użytkownika"),
("Unblock user input", "Odblokuj peryferia użytkownika"),
("Adjust Window", "Dostosuj okno"),
("canvas_margin", "Margines płótna"),
("Original", "Oryginalny"),
("Shrink", "Zmniejsz"),
("Stretch", "Rozciągnij"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Bloquear entrada de utilizador"),
("Unblock user input", "Desbloquear entrada de utilizador"),
("Adjust Window", "Ajustar Janela"),
("canvas_margin", "Margem da tela"),
("Original", "Original"),
("Shrink", "Reduzir"),
("Stretch", "Aumentar"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "Bloquear entrada de usuário"),
("Unblock user input", "Desbloquear entrada de usuário"),
("Adjust Window", "Ajustar Janela"),
("canvas_margin", "Margem da tela"),
("Original", "Original"),
("Shrink", "Reduzir"),
("Stretch", "Aumentar"),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", ""),
("Unblock user input", ""),
("Adjust Window", ""),
("canvas_margin", ""),
("Original", ""),
("Shrink", ""),
("Stretch", ""),

View file

@ -117,6 +117,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Block user input", "封鎖使用者輸入"),
("Unblock user input", "取消封鎖使用者輸入"),
("Adjust Window", "調整視窗"),
("canvas_margin", "畫布邊距"),
("Original", "原始"),
("Shrink", "縮減"),
("Stretch", "延展"),