refactor: enhance localization support in chat and voice input features
- Integrated localization for various dialog messages and UI elements in the chat and voice input components. - Updated the confirmation dialog to utilize localized strings for delete messages, improving user experience across different languages. - Enhanced voice input sheet to reflect localized text for status updates, action buttons, and prompts, ensuring consistency in user interactions. - Improved the file attachment widget to display the attachment label in a localized manner, enhancing accessibility for users in different regions. - Streamlined localization management by centralizing string retrieval, promoting maintainability and clarity in the codebase.
This commit is contained in:
@@ -410,12 +410,45 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get addAttachment => 'Ajouter une pièce jointe';
|
||||
|
||||
@override
|
||||
String get attachmentLabel => 'Pièce jointe';
|
||||
|
||||
@override
|
||||
String get tools => 'Outils';
|
||||
|
||||
@override
|
||||
String get voiceInput => 'Entrée vocale';
|
||||
|
||||
@override
|
||||
String get voice => 'Voix';
|
||||
|
||||
@override
|
||||
String get voiceStatusListening => 'Écoute…';
|
||||
|
||||
@override
|
||||
String get voiceStatusRecording => 'Enregistrement…';
|
||||
|
||||
@override
|
||||
String get voiceHoldToTalk => 'Maintenir pour parler';
|
||||
|
||||
@override
|
||||
String get voiceAutoSend => 'Envoi automatique';
|
||||
|
||||
@override
|
||||
String get voiceTranscript => 'Transcription';
|
||||
|
||||
@override
|
||||
String get voicePromptSpeakNow => 'Parlez maintenant…';
|
||||
|
||||
@override
|
||||
String get voicePromptTapStart => 'Appuyez sur \"Démarrer\" pour commencer';
|
||||
|
||||
@override
|
||||
String get voiceActionStop => 'Arrêter';
|
||||
|
||||
@override
|
||||
String get voiceActionStart => 'Démarrer';
|
||||
|
||||
@override
|
||||
String get messageInputLabel => 'Saisie du message';
|
||||
|
||||
@@ -431,6 +464,9 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
@override
|
||||
String get send => 'Envoyer';
|
||||
|
||||
@override
|
||||
String get codeCopiedToClipboard => 'Code copié dans le presse-papiers.';
|
||||
|
||||
@override
|
||||
String get sendMessage => 'Envoyer le message';
|
||||
|
||||
@@ -837,6 +873,16 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
String get quickActionsDescription =>
|
||||
'Choisissez jusqu\'à deux raccourcis à épingler près du champ de saisie';
|
||||
|
||||
@override
|
||||
String get chatSettings => 'Discussion';
|
||||
|
||||
@override
|
||||
String get sendOnEnter => 'Envoyer avec Entrée';
|
||||
|
||||
@override
|
||||
String get sendOnEnterDescription =>
|
||||
'Entrée envoie (clavier logiciel). Cmd/Ctrl+Entrée aussi disponible';
|
||||
|
||||
@override
|
||||
String get display => 'Affichage';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user