Skip to content

Commit 76e9439

Browse files
committed
feat(l10n): add font weight labels for Arabic and English
- Add translations for light, regular, and bold font weight options in Arabic and English - Update arb files to include new font weight labels
1 parent c654b0c commit 76e9439

File tree

5 files changed

+61
-1
lines changed

5 files changed

+61
-1
lines changed

lib/l10n/app_localizations.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,24 @@ abstract class AppLocalizations {
15251525
/// In en, this message translates to:
15261526
/// **'Searching for {contentType}...'**
15271527
String searchingFor(String contentType);
1528+
1529+
/// Label for the light font weight option
1530+
///
1531+
/// In en, this message translates to:
1532+
/// **'Light'**
1533+
String get settingsAppearanceFontWeightLight;
1534+
1535+
/// Label for the regular font weight option
1536+
///
1537+
/// In en, this message translates to:
1538+
/// **'Regular'**
1539+
String get settingsAppearanceFontWeightRegular;
1540+
1541+
/// Label for the bold font weight option
1542+
///
1543+
/// In en, this message translates to:
1544+
/// **'Bold'**
1545+
String get settingsAppearanceFontWeightBold;
15281546
}
15291547

15301548
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,4 +790,13 @@ class AppLocalizationsAr extends AppLocalizations {
790790
String searchingFor(String contentType) {
791791
return 'جار البحث عن $contentType...';
792792
}
793+
794+
@override
795+
String get settingsAppearanceFontWeightLight => 'صغير';
796+
797+
@override
798+
String get settingsAppearanceFontWeightRegular => 'عادي';
799+
800+
@override
801+
String get settingsAppearanceFontWeightBold => 'عريض';
793802
}

lib/l10n/app_localizations_en.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,4 +790,13 @@ class AppLocalizationsEn extends AppLocalizations {
790790
String searchingFor(String contentType) {
791791
return 'Searching for $contentType...';
792792
}
793+
794+
@override
795+
String get settingsAppearanceFontWeightLight => 'Light';
796+
797+
@override
798+
String get settingsAppearanceFontWeightRegular => 'Regular';
799+
800+
@override
801+
String get settingsAppearanceFontWeightBold => 'Bold';
793802
}

lib/l10n/arb/app_ar.arb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,5 +1012,17 @@
10121012
"type": "String"
10131013
}
10141014
}
1015+
},
1016+
"settingsAppearanceFontWeightLight": "صغير",
1017+
"@settingsAppearanceFontWeightLight": {
1018+
"description": "Label for the light font weight option"
1019+
},
1020+
"settingsAppearanceFontWeightRegular": "عادي",
1021+
"@settingsAppearanceFontWeightRegular": {
1022+
"description": "Label for the regular font weight option"
1023+
},
1024+
"settingsAppearanceFontWeightBold": "عريض",
1025+
"@settingsAppearanceFontWeightBold": {
1026+
"description": "Label for the bold font weight option"
10151027
}
1016-
}
1028+
}

lib/l10n/arb/app_en.arb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,5 +1030,17 @@
10301030
"type": "String"
10311031
}
10321032
}
1033+
},
1034+
"settingsAppearanceFontWeightLight": "Light",
1035+
"@settingsAppearanceFontWeightLight": {
1036+
"description": "Label for the light font weight option"
1037+
},
1038+
"settingsAppearanceFontWeightRegular": "Regular",
1039+
"@settingsAppearanceFontWeightRegular": {
1040+
"description": "Label for the regular font weight option"
1041+
},
1042+
"settingsAppearanceFontWeightBold": "Bold",
1043+
"@settingsAppearanceFontWeightBold": {
1044+
"description": "Label for the bold font weight option"
10331045
}
10341046
}

0 commit comments

Comments
 (0)