From 1292e7e380583c2e65df50982a838714bb81af9b Mon Sep 17 00:00:00 2001 From: isshort Date: Sun, 15 Sep 2024 15:20:17 +0430 Subject: [PATCH] Pashto language localization --- lib/src/upgrade_messages.dart | 20 ++++++++++++++++++++ test/upgrader_test.dart | 1 + 2 files changed, 21 insertions(+) diff --git a/lib/src/upgrade_messages.dart b/lib/src/upgrade_messages.dart index 5d6e6237..c8a36378 100644 --- a/lib/src/upgrade_messages.dart +++ b/lib/src/upgrade_messages.dart @@ -135,6 +135,10 @@ class UpgraderMessages { message = 'نسخه‌ی جدیدی از {{appName}} موجود است! نسخه‌ی {{currentAppStoreVersion}} در دسترس است ولی شما همچنان از نسخه‌ی {{currentInstalledVersion}} استفاده می‌کنید.'; break; + case 'ps': + message = + 'د {{appName}} آپلیکشن نوې نسخه شتون لري! {{currentAppStoreVersion}} شتون لري، مګر تاسو اوس هم {{currentInstalledVersion}} کاروئ.'; + break; case 'fil': message = 'May bagong bersyon ang {{appName}} na pwede nang magamit! Ang bersyong {{currentAppStoreVersion}} ay pwede nang magamit. Ikaw ay kasalukuyang gumagamit ng bersyong {{currentInstalledVersion}}.'; @@ -280,6 +284,9 @@ class UpgraderMessages { case 'fa': message = 'ردکردن'; break; + case 'ps': + message = 'ردکول'; + break; case 'fil': message = 'HUWAG PANSININ'; break; @@ -399,6 +406,9 @@ class UpgraderMessages { case 'fa': message = 'بعدا'; break; + case 'ps': + message = 'وروسته'; + break; case 'fil': message = 'MAMAYA'; break; @@ -514,6 +524,9 @@ class UpgraderMessages { case 'fa': message = 'بروزرسانی'; break; + case 'ps': + message = 'اوس تازه کړئ'; + break; case 'fil': message = 'I-UPDATE NA NGAYON'; break; @@ -630,6 +643,9 @@ class UpgraderMessages { case 'fa': message = 'آیا بروزرسانی می‌کنید؟'; break; + case 'ps': + message = 'آی غواړئ دا اوس تازه کړئ؟'; + break; case 'fil': message = 'Gusto mo bang i-update ito ngayon?'; break; @@ -777,6 +793,7 @@ class UpgraderMessages { case 'bn': case 'el': case 'fa': + case 'ps': case 'fil': case 'ht': case 'hu': @@ -825,6 +842,9 @@ class UpgraderMessages { case 'fa': message = 'نسخه‌ی جدید'; break; + case 'ps': + message = 'نوې نسخه'; + break; case 'fil': message = 'I-update ang app?'; break; diff --git a/test/upgrader_test.dart b/test/upgrader_test.dart index f620b927..19b01a05 100644 --- a/test/upgrader_test.dart +++ b/test/upgrader_test.dart @@ -1137,6 +1137,7 @@ void main() { verifyMessages(UpgraderMessages(code: 'da'), 'da'); verifyMessages(UpgraderMessages(code: 'es'), 'es'); verifyMessages(UpgraderMessages(code: 'fa'), 'fa'); + verifyMessages(UpgraderMessages(code: 'ps'), 'ps'); verifyMessages(UpgraderMessages(code: 'fil'), 'fil'); verifyMessages(UpgraderMessages(code: 'fr'), 'fr'); verifyMessages(UpgraderMessages(code: 'de'), 'de');