Fix some Scribe translations

- Added missing translations
- Removed missing translations
- Some small translations updates
This commit is contained in:
Théo Poizat
2026-01-19 15:51:30 +01:00
committed by Dat H. Pham
parent d739b61c83
commit 8b71b1e995
10 changed files with 72 additions and 92 deletions
-6
View File
@@ -5492,12 +5492,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"aiAssistant": "Assistant IA",
"@aiAssistant": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"createLabel": "Créer un libellé", "createLabel": "Créer un libellé",
"@createLabel": { "@createLabel": {
"type": "text", "type": "text",
-6
View File
@@ -5510,12 +5510,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"aiAssistant": "Помощник ИИ",
"@aiAssistant": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"createLabel": "Создать метку", "createLabel": "Создать метку",
"@createLabel": { "@createLabel": {
"type": "text", "type": "text",
-6
View File
@@ -5498,12 +5498,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"aiAssistant": "Trợ lý AI",
"@aiAssistant": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"createLabel": "Tạo nhãn", "createLabel": "Tạo nhãn",
"@createLabel": { "@createLabel": {
"type": "text", "type": "text",
+17 -11
View File
@@ -1,6 +1,6 @@
{ {
"@@last_modified": "2025-12-09T06:57:10.911448", "@@last_modified": "2025-12-09T06:57:10.911448",
"categoryCorrectGrammar": "Correct grammar", "categoryCorrectGrammar": "Correct",
"@categoryCorrectGrammar": { "@categoryCorrectGrammar": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
@@ -90,12 +90,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"inputPlaceholder": "Help me write",
"@inputPlaceholder": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"customPromptAction": "Help me write", "customPromptAction": "Help me write",
"@customPromptAction": { "@customPromptAction": {
"type": "text", "type": "text",
@@ -108,14 +102,26 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"insertButton": "Insert", "generatingResponse": "Generating response",
"@insertButton": { "@generatingResponse": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"replaceButton": "Replace", "insert": "Insert",
"@replaceButton": { "@insert": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"replace": "Replace",
"@replace": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"aiAssistant": "AI assistant",
"@aiAssistant": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
+17 -11
View File
@@ -1,6 +1,6 @@
{ {
"@@last_modified": "2025-12-09T07:30:00.000000", "@@last_modified": "2025-12-09T07:30:00.000000",
"categoryCorrectGrammar": "Corriger la grammaire", "categoryCorrectGrammar": "Corriger",
"@categoryCorrectGrammar": { "@categoryCorrectGrammar": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
@@ -90,12 +90,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"inputPlaceholder": "Aidez-moi à écrire",
"@inputPlaceholder": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"customPromptAction": "Aidez-moi à écrire", "customPromptAction": "Aidez-moi à écrire",
"@customPromptAction": { "@customPromptAction": {
"type": "text", "type": "text",
@@ -108,14 +102,26 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"insertButton": "Insérer", "generatingResponse": "Génération de la réponse",
"@insertButton": { "@generatingResponse": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"replaceButton": "Remplacer", "insert": "Insérer",
"@replaceButton": { "@insert": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"replace": "Remplacer",
"@replace": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"aiAssistant": "Assistant IA",
"@aiAssistant": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
+2 -14
View File
@@ -1,6 +1,6 @@
{ {
"@@last_modified": "2025-12-18T02:49:48.638213", "@@last_modified": "2026-01-20T08:05:38.377619",
"categoryCorrectGrammar": "Correct grammar", "categoryCorrectGrammar": "Correct",
"@categoryCorrectGrammar": { "@categoryCorrectGrammar": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
@@ -90,12 +90,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"inputPlaceholder": "Help me write",
"@inputPlaceholder": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"customPromptAction": "Help me write", "customPromptAction": "Help me write",
"@customPromptAction": { "@customPromptAction": {
"type": "text", "type": "text",
@@ -108,12 +102,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"insertButton": "Insert",
"@insertButton": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"aiAssistant": "AI assistant", "aiAssistant": "AI assistant",
"@aiAssistant": { "@aiAssistant": {
"type": "text", "type": "text",
+17 -11
View File
@@ -1,6 +1,6 @@
{ {
"@@last_modified": "2025-12-09T07:30:00.000000", "@@last_modified": "2025-12-09T07:30:00.000000",
"categoryCorrectGrammar": "Исправить грамматику", "categoryCorrectGrammar": "Исправить",
"@categoryCorrectGrammar": { "@categoryCorrectGrammar": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
@@ -90,12 +90,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"inputPlaceholder": "Помогите мне написать",
"@inputPlaceholder": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"customPromptAction": "Помогите мне написать", "customPromptAction": "Помогите мне написать",
"@customPromptAction": { "@customPromptAction": {
"type": "text", "type": "text",
@@ -108,14 +102,26 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"insertButton": "Вставить", "generatingResponse": "Генерация ответа",
"@insertButton": { "@generatingResponse": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"replaceButton": "Заменить", "insert": "Вставить",
"@replaceButton": { "@insert": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"replace": "Заменить",
"@replace": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"aiAssistant": "Помощник ИИ",
"@aiAssistant": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
+17 -11
View File
@@ -1,6 +1,6 @@
{ {
"@@last_modified": "2025-12-09T07:30:00.000000", "@@last_modified": "2025-12-09T07:30:00.000000",
"categoryCorrectGrammar": "Sửa ngữ pháp", "categoryCorrectGrammar": "Sửa chữa",
"@categoryCorrectGrammar": { "@categoryCorrectGrammar": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
@@ -90,12 +90,6 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"inputPlaceholder": "Giúp tôi viết",
"@inputPlaceholder": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"customPromptAction": "Giúp tôi viết", "customPromptAction": "Giúp tôi viết",
"@customPromptAction": { "@customPromptAction": {
"type": "text", "type": "text",
@@ -108,14 +102,26 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"insertButton": "Chèn", "generatingResponse": "Tạo phản hồi",
"@insertButton": { "@generatingResponse": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"replaceButton": "Thay thế", "insert": "Chèn",
"@replaceButton": { "@insert": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"replace": "Thay thế",
"@replace": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"aiAssistant": "Trợ lý AI",
"@aiAssistant": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
@@ -23,7 +23,7 @@ class ScribeLocalizations {
// Menu Categories // Menu Categories
String get categoryCorrectGrammar { String get categoryCorrectGrammar {
return Intl.message( return Intl.message(
'Correct grammar', 'Correct',
name: 'categoryCorrectGrammar', name: 'categoryCorrectGrammar',
); );
} }
@@ -130,13 +130,6 @@ class ScribeLocalizations {
} }
// Input Bar // Input Bar
String get inputPlaceholder {
return Intl.message(
'Help me write',
name: 'inputPlaceholder',
);
}
String get customPromptAction { String get customPromptAction {
return Intl.message( return Intl.message(
'Help me write', 'Help me write',
@@ -152,13 +145,6 @@ class ScribeLocalizations {
); );
} }
String get insertButton {
return Intl.message(
'Insert',
name: 'insertButton',
);
}
String get aiAssistant { String get aiAssistant {
return Intl.message( return Intl.message(
'AI assistant', 'AI assistant',
@@ -80,7 +80,7 @@ class _AIScribeBarState extends State<AIScribeBar> {
child: TextField( child: TextField(
controller: _controller, controller: _controller,
decoration: InputDecoration( decoration: InputDecoration(
hintText: ScribeLocalizations.of(context).inputPlaceholder, hintText: ScribeLocalizations.of(context).customPromptAction,
hintStyle: AIScribeTextStyles.searchBarHint, hintStyle: AIScribeTextStyles.searchBarHint,
border: InputBorder.none, border: InputBorder.none,
contentPadding: const EdgeInsets.symmetric(vertical: 8), contentPadding: const EdgeInsets.symmetric(vertical: 8),