Skip to content

Commit 112c8a6

Browse files
authored
Merge pull request #1217 from WinXaito/bugfix/fr_translations
Add missing tranlations for French
2 parents 4e547a6 + c631291 commit 112c8a6

File tree

5 files changed

+16
-20
lines changed

5 files changed

+16
-20
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [next]
22

3+
- fix: add missing translations for French ([#1217](https://github.com/bdlukaa/fluent_ui/pull/1217))
34
- fix: Context Menu was not available on TextFormBox ([#1216](https://github.com/bdlukaa/fluent_ui/pull/1216), [#1219](https://github.com/bdlukaa/fluent_ui/pull/1219))
45

56
## 4.11.4

lib/l10n/generated/fluent_localizations.dart

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ abstract class FluentLocalizations {
170170
Locale('uz'),
171171
Locale('vi'),
172172
Locale('zh'),
173-
Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant'),
173+
Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant')
174174
];
175175

176176
/// The tooltip for the back button on [NavigationAppBar].
@@ -1285,8 +1285,7 @@ class _FluentLocalizationsDelegate
12851285
@override
12861286
Future<FluentLocalizations> load(Locale locale) {
12871287
return SynchronousFuture<FluentLocalizations>(
1288-
lookupFluentLocalizations(locale),
1289-
);
1288+
lookupFluentLocalizations(locale));
12901289
}
12911290

12921291
@override
@@ -1329,7 +1328,7 @@ class _FluentLocalizationsDelegate
13291328
'ur',
13301329
'uz',
13311330
'vi',
1332-
'zh',
1331+
'zh'
13331332
].contains(locale.languageCode);
13341333

13351334
@override
@@ -1432,9 +1431,8 @@ FluentLocalizations lookupFluentLocalizations(Locale locale) {
14321431
}
14331432

14341433
throw FlutterError(
1435-
'FluentLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
1436-
'an issue with the localizations generation tool. Please file an issue '
1437-
'on GitHub with a reproducible sample app and the gen-l10n configuration '
1438-
'that was used.',
1439-
);
1434+
'FluentLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
1435+
'an issue with the localizations generation tool. Please file an issue '
1436+
'on GitHub with a reproducible sample app and the gen-l10n configuration '
1437+
'that was used.');
14401438
}

lib/l10n/generated/fluent_localizations_fr.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class FluentLocalizationsFr extends FluentLocalizations {
5454
String get selectAllActionLabel => 'Tout sélectionner';
5555

5656
@override
57-
String get undoActionLabel => 'Undo';
57+
String get undoActionLabel => 'Annuler';
5858

5959
@override
6060
String get newTabLabel => 'Ajouter un nouvel onglet';
@@ -87,7 +87,7 @@ class FluentLocalizationsFr extends FluentLocalizations {
8787
String get selectAllActionTooltip => 'Sélectionner tout le contenu';
8888

8989
@override
90-
String get undoActionTooltip => 'Undo the last action';
90+
String get undoActionTooltip => 'Annuler la dernière action';
9191

9292
@override
9393
String get hour => 'heure';
@@ -111,10 +111,10 @@ class FluentLocalizationsFr extends FluentLocalizations {
111111
String get year => 'année';
112112

113113
@override
114-
String get seeMore => 'See more';
114+
String get seeMore => 'Voir plus';
115115

116116
@override
117-
String get seeLess => 'See less';
117+
String get seeLess => 'Voir moins';
118118

119119
@override
120120
String get redLabel => 'Rouge';

lib/l10n/intl_fr.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"copyActionLabel": "Copier",
1616
"pasteActionLabel": "Coller",
1717
"selectAllActionLabel": "Tout sélectionner",
18+
"undoActionLabel": "Annuler",
1819
"newTabLabel": "Ajouter un nouvel onglet",
1920
"closeTabLabelSuffix": "Fermer l'onglet",
2021
"scrollTabBackwardLabel": "Défiler vers l'arrière",
@@ -24,13 +25,16 @@
2425
"cutActionTooltip": "Couper le contenu sélectionné et le mettre dans le presse-papier",
2526
"pasteActionTooltip": "Coller le contenu du presse-papier à la position actuelle",
2627
"selectAllActionTooltip": "Sélectionner tout le contenu",
28+
"undoActionTooltip": "Annuler la dernière action",
2729
"hour": "heure",
2830
"minute": "minute",
2931
"am": "AM",
3032
"pm": "PM",
3133
"month": "mois",
3234
"day": "jour",
3335
"year": "année",
36+
"seeMore": "Voir plus",
37+
"seeLess": "Voir moins",
3438
"redLabel": "Rouge",
3539
"greenLabel": "Vert",
3640
"blueLabel": "Bleu",

lib/l10n/untranslated.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,6 @@
202202
"seeLess"
203203
],
204204

205-
"fr": [
206-
"undoActionLabel",
207-
"undoActionTooltip",
208-
"seeMore",
209-
"seeLess"
210-
],
211-
212205
"he": [
213206
"undoActionLabel",
214207
"undoActionTooltip",

0 commit comments

Comments
 (0)