Add missing languages in Scribe
To fit languages supported in tmail settings
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"@@last_modified": "2026-01-26T08:00:00.000000",
|
||||
"categoryCorrectGrammar": "تصحيح",
|
||||
"@categoryCorrectGrammar": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryImprove": "تحسين",
|
||||
"@categoryImprove": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryChangeTone": "تغيير النبرة",
|
||||
"@categoryChangeTone": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryTranslate": "ترجمة",
|
||||
"@categoryTranslate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMakeShorter": "اجعله أقصر",
|
||||
"@actionMakeShorter": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionExpandContext": "توسيع السياق",
|
||||
"@actionExpandContext": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionEmojify": "إضافة الرموز التعبيرية",
|
||||
"@actionEmojify": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionTransformToBullets": "تحويل إلى نقاط",
|
||||
"@actionTransformToBullets": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreProfessional": "أكثر احترافية",
|
||||
"@actionMoreProfessional": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreCasual": "أكثر عفوية",
|
||||
"@actionMoreCasual": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMorePolite": "أكثر تهذيباً",
|
||||
"@actionMorePolite": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageFrench": "الفرنسية",
|
||||
"@languageFrench": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageEnglish": "الإنجليزية",
|
||||
"@languageEnglish": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageRussian": "الروسية",
|
||||
"@languageRussian": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageVietnamese": "الفيتنامية",
|
||||
"@languageVietnamese": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"customPromptAction": "ساعدني في الكتابة",
|
||||
"@customPromptAction": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"failedToGenerate": "فشل في إنشاء استجابة الذكاء الاصطناعي",
|
||||
"@failedToGenerate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"generatingResponse": "إنشاء الاستجابة",
|
||||
"@generatingResponse": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"insert": "إدراج",
|
||||
"@insert": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"replace": "استبدال",
|
||||
"@replace": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"aiAssistant": "مساعد الذكاء الاصطناعي",
|
||||
"@aiAssistant": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"@@last_modified": "2026-01-26T07:59:00.000000",
|
||||
"categoryCorrectGrammar": "Korrigieren",
|
||||
"@categoryCorrectGrammar": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryImprove": "Verbessern",
|
||||
"@categoryImprove": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryChangeTone": "Ton ändern",
|
||||
"@categoryChangeTone": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryTranslate": "Übersetzen",
|
||||
"@categoryTranslate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMakeShorter": "Kürzer machen",
|
||||
"@actionMakeShorter": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionExpandContext": "Kontext erweitern",
|
||||
"@actionExpandContext": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionEmojify": "Emojis hinzufügen",
|
||||
"@actionEmojify": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionTransformToBullets": "In Aufzählungspunkte umwandeln",
|
||||
"@actionTransformToBullets": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreProfessional": "Professioneller",
|
||||
"@actionMoreProfessional": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreCasual": "Lockerer",
|
||||
"@actionMoreCasual": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMorePolite": "Höflicher",
|
||||
"@actionMorePolite": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageFrench": "Französisch",
|
||||
"@languageFrench": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageEnglish": "Englisch",
|
||||
"@languageEnglish": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageRussian": "Russisch",
|
||||
"@languageRussian": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageVietnamese": "Vietnamesisch",
|
||||
"@languageVietnamese": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"customPromptAction": "Hilf mir beim Schreiben",
|
||||
"@customPromptAction": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"failedToGenerate": "KI-Antwort konnte nicht generiert werden",
|
||||
"@failedToGenerate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"generatingResponse": "Antwort wird generiert",
|
||||
"@generatingResponse": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"insert": "Einfügen",
|
||||
"@insert": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"replace": "Ersetzen",
|
||||
"@replace": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"aiAssistant": "KI-Assistent",
|
||||
"@aiAssistant": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"@@last_modified": "2026-01-26T08:00:00.000000",
|
||||
"categoryCorrectGrammar": "Correggi",
|
||||
"@categoryCorrectGrammar": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryImprove": "Migliora",
|
||||
"@categoryImprove": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryChangeTone": "Cambia tono",
|
||||
"@categoryChangeTone": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"categoryTranslate": "Traduci",
|
||||
"@categoryTranslate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMakeShorter": "Rendilo più breve",
|
||||
"@actionMakeShorter": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionExpandContext": "Espandi contesto",
|
||||
"@actionExpandContext": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionEmojify": "Aggiungi emoji",
|
||||
"@actionEmojify": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionTransformToBullets": "Trasforma in elenco puntato",
|
||||
"@actionTransformToBullets": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreProfessional": "Più professionale",
|
||||
"@actionMoreProfessional": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMoreCasual": "Più informale",
|
||||
"@actionMoreCasual": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"actionMorePolite": "Più cortese",
|
||||
"@actionMorePolite": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageFrench": "Francese",
|
||||
"@languageFrench": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageEnglish": "Inglese",
|
||||
"@languageEnglish": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageRussian": "Russo",
|
||||
"@languageRussian": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"languageVietnamese": "Vietnamita",
|
||||
"@languageVietnamese": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"customPromptAction": "Aiutami a scrivere",
|
||||
"@customPromptAction": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"failedToGenerate": "Generazione della risposta IA non riuscita",
|
||||
"@failedToGenerate": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"generatingResponse": "Generazione della risposta",
|
||||
"@generatingResponse": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"insert": "Inserisci",
|
||||
"@insert": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"replace": "Sostituisci",
|
||||
"@replace": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"aiAssistant": "Assistente IA",
|
||||
"@aiAssistant": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2026-01-20T08:05:38.377619",
|
||||
"@@last_modified": "2026-01-26T09:26:56.495094",
|
||||
"categoryCorrectGrammar": "Correct",
|
||||
"@categoryCorrectGrammar": {
|
||||
"type": "text",
|
||||
|
||||
@@ -4,7 +4,7 @@ import 'package:multiple_localization/multiple_localization.dart';
|
||||
import 'package:scribe/scribe/ai/l10n/messages_all.dart';
|
||||
|
||||
class ScribeLocalizations {
|
||||
static const List<String> _supportedLanguageCodes = ['en', 'fr', 'ru', 'vi'];
|
||||
static const List<String> _supportedLanguageCodes = ['en', 'fr', 'ru', 'vi', 'de', 'it', 'ar'];
|
||||
|
||||
static ScribeLocalizations of(BuildContext context) {
|
||||
return Localizations.of<ScribeLocalizations>(context, ScribeLocalizations)!;
|
||||
|
||||
Reference in New Issue
Block a user