Skip to content

Commit 807c671

Browse files
committed
feat(l10n): add push notification provider configuration notes
- Add new localization keys for push notification provider configuration information - Include titles and messages for backend configuration notes in both Arabic and English
1 parent c5e2b5a commit 807c671

File tree

5 files changed

+44
-0
lines changed

5 files changed

+44
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2887,6 +2887,18 @@ abstract class AppLocalizations {
28872887
/// In en, this message translates to:
28882888
/// **'OneSignal'**
28892889
String get pushNotificationProviderOneSignal;
2890+
2891+
/// Title for the informational note about backend configuration for push notification providers.
2892+
///
2893+
/// In en, this message translates to:
2894+
/// **'Backend Configuration Note'**
2895+
String get pushNotificationProviderConfigInfoTitle;
2896+
2897+
/// Informational message about configuring the selected push notification provider in the backend.
2898+
///
2899+
/// In en, this message translates to:
2900+
/// **'Please ensure the selected provider is correctly configured in your backend\'s environment file. Refer to the server setup documentation for details on the required variables.'**
2901+
String get pushNotificationProviderConfigInfoBody;
28902902
}
28912903

28922904
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,4 +1545,12 @@ class AppLocalizationsAr extends AppLocalizations {
15451545

15461546
@override
15471547
String get pushNotificationProviderOneSignal => 'OneSignal';
1548+
1549+
@override
1550+
String get pushNotificationProviderConfigInfoTitle =>
1551+
'ملاحظة حول تكوين الواجهة الخلفية';
1552+
1553+
@override
1554+
String get pushNotificationProviderConfigInfoBody =>
1555+
'يرجى التأكد من أن المزود المحدد قد تم إعداده بشكل صحيح في ملف البيئة الخاص بالواجهة الخلفية. للحصول على تفاصيل حول المتغيرات المطلوبة، يرجى الرجوع إلى وثائق إعداد الخادم.';
15481556
}

lib/l10n/app_localizations_en.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,4 +1548,12 @@ class AppLocalizationsEn extends AppLocalizations {
15481548

15491549
@override
15501550
String get pushNotificationProviderOneSignal => 'OneSignal';
1551+
1552+
@override
1553+
String get pushNotificationProviderConfigInfoTitle =>
1554+
'Backend Configuration Note';
1555+
1556+
@override
1557+
String get pushNotificationProviderConfigInfoBody =>
1558+
'Please ensure the selected provider is correctly configured in your backend\'s environment file. Refer to the server setup documentation for details on the required variables.';
15511559
}

lib/l10n/arb/app_ar.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,5 +1947,13 @@
19471947
"pushNotificationProviderOneSignal": "OneSignal",
19481948
"@pushNotificationProviderOneSignal": {
19491949
"description": "تسمية مزود الإشعارات الفورية OneSignal"
1950+
},
1951+
"pushNotificationProviderConfigInfoTitle": "ملاحظة حول تكوين الواجهة الخلفية",
1952+
"@pushNotificationProviderConfigInfoTitle": {
1953+
"description": "عنوان الملاحظة المعلوماتية حول إعداد الواجهة الخلفية لمزودي خدمة الإشعارات."
1954+
},
1955+
"pushNotificationProviderConfigInfoBody": "يرجى التأكد من أن المزود المحدد قد تم إعداده بشكل صحيح في ملف البيئة الخاص بالواجهة الخلفية. للحصول على تفاصيل حول المتغيرات المطلوبة، يرجى الرجوع إلى وثائق إعداد الخادم.",
1956+
"@pushNotificationProviderConfigInfoBody": {
1957+
"description": "رسالة معلوماتية حول تكوين مزود الإشعارات المختار في الواجهة الخلفية."
19501958
}
19511959
}

lib/l10n/arb/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,5 +1943,13 @@
19431943
"pushNotificationProviderOneSignal": "OneSignal",
19441944
"@pushNotificationProviderOneSignal": {
19451945
"description": "Label for the OneSignal push notification provider"
1946+
},
1947+
"pushNotificationProviderConfigInfoTitle": "Backend Configuration Note",
1948+
"@pushNotificationProviderConfigInfoTitle": {
1949+
"description": "Title for the informational note about backend configuration for push notification providers."
1950+
},
1951+
"pushNotificationProviderConfigInfoBody": "Please ensure the selected provider is correctly configured in your backend's environment file. Refer to the server setup documentation for details on the required variables.",
1952+
"@pushNotificationProviderConfigInfoBody": {
1953+
"description": "Informational message about configuring the selected push notification provider in the backend."
19461954
}
19471955
}

0 commit comments

Comments
 (0)