File tree Expand file tree Collapse file tree 5 files changed +72
-0
lines changed
Expand file tree Collapse file tree 5 files changed +72
-0
lines changed Original file line number Diff line number Diff line change @@ -1711,6 +1711,18 @@ abstract class AppLocalizations {
17111711 /// In en, this message translates to:
17121712 /// **'Could not open update URL: {url}'**
17131713 String couldNotOpenUpdateUrl (String url);
1714+
1715+ /// Label to display the current app version.
1716+ ///
1717+ /// In en, this message translates to:
1718+ /// **'Your current version: {version}'**
1719+ String currentAppVersionLabel (String version);
1720+
1721+ /// Label to display the latest required app version.
1722+ ///
1723+ /// In en, this message translates to:
1724+ /// **'Required version: {version}'**
1725+ String latestRequiredVersionLabel (String version);
17141726}
17151727
17161728class _AppLocalizationsDelegate
Original file line number Diff line number Diff line change @@ -894,4 +894,14 @@ class AppLocalizationsAr extends AppLocalizations {
894894 String couldNotOpenUpdateUrl (String url) {
895895 return 'تعذر فتح رابط التحديث: $url ' ;
896896 }
897+
898+ @override
899+ String currentAppVersionLabel (String version) {
900+ return 'إصدارك الحالي: $version ' ;
901+ }
902+
903+ @override
904+ String latestRequiredVersionLabel (String version) {
905+ return 'الإصدار المطلوب: $version ' ;
906+ }
897907}
Original file line number Diff line number Diff line change @@ -896,4 +896,14 @@ class AppLocalizationsEn extends AppLocalizations {
896896 String couldNotOpenUpdateUrl (String url) {
897897 return 'Could not open update URL: $url ' ;
898898 }
899+
900+ @override
901+ String currentAppVersionLabel (String version) {
902+ return 'Your current version: $version ' ;
903+ }
904+
905+ @override
906+ String latestRequiredVersionLabel (String version) {
907+ return 'Required version: $version ' ;
908+ }
899909}
Original file line number Diff line number Diff line change 11691169 "type": "String"
11701170 }
11711171 }
1172+ },
1173+ "currentAppVersionLabel": "إصدارك الحالي: {version}",
1174+ "@currentAppVersionLabel": {
1175+ "description": "تسمية لعرض إصدار التطبيق الحالي.",
1176+ "placeholders": {
1177+ "version": {
1178+ "type": "String",
1179+ "example": "1.0.0"
1180+ }
1181+ }
1182+ },
1183+ "latestRequiredVersionLabel": "الإصدار المطلوب: {version}",
1184+ "@latestRequiredVersionLabel": {
1185+ "description": "تسمية لعرض أحدث إصدار مطلوب للتطبيق.",
1186+ "placeholders": {
1187+ "version": {
1188+ "type": "String",
1189+ "example": "1.1.0"
1190+ }
1191+ }
11721192 }
11731193}
Original file line number Diff line number Diff line change 11691169 "type": "String"
11701170 }
11711171 }
1172+ },
1173+ "currentAppVersionLabel": "Your current version: {version}",
1174+ "@currentAppVersionLabel": {
1175+ "description": "Label to display the current app version.",
1176+ "placeholders": {
1177+ "version": {
1178+ "type": "String",
1179+ "example": "1.0.0"
1180+ }
1181+ }
1182+ },
1183+ "latestRequiredVersionLabel": "Required version: {version}",
1184+ "@latestRequiredVersionLabel": {
1185+ "description": "Label to display the latest required app version.",
1186+ "placeholders": {
1187+ "version": {
1188+ "type": "String",
1189+ "example": "1.1.0"
1190+ }
1191+ }
11721192 }
11731193}
You can’t perform that action at this time.
0 commit comments