Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

fix(i18n): complete Arabic translation and plural "days before" label (#1266)

Saleh Alnemariff78a22b994b
diff --git a/includes/i18n/ar.php b/includes/i18n/ar.php
index 4dabd4d..6c91182 100644
--- a/includes/i18n/ar.php
+++ b/includes/i18n/ar.php
@@ -199,6 +199,7 @@ $i18n = [
"enable_two_factor_authentication" => "تفعيل المصادقة الثنائية",
"2fa_already_enabled" => "المصادقة الثنائية مفعلة بالفعل",
"totp_code_incorrect" => "رمز TOTP غير صحيح",
+ "totp_too_many_attempts" => "محاولات فاشلة كثيرة. يرجى الانتظار قليلًا ثم المحاولة مرة أخرى.",
"backup_codes" => "الرموز الاحتياطية",
"download_backup_codes" => "تنزيل الرموز الاحتياطية",
"copy_to_clipboard" => "نسخ إلى الحافظة",
@@ -233,9 +234,9 @@ $i18n = [
"notifications" => "الإشعارات",
"enable_email_notifications" => "تفعيل إشعارات البريد الإلكتروني",
"notify_me" => "إشعاري",
- "day_before" => "قبلها بيوم",
+ "day_before" => "يوم قبل الموعد",
"on_due_date" => "في تاريخ الاستحقاق",
- "days_before" => "قبلها بأيام",
+ "days_before" => "أيام قبل الموعد",
"smtp_address" => "عنوان SMTP",
"port" => "المنفذ",
"tls" => "TLS",
@@ -426,6 +427,7 @@ $i18n = [
"disabled" => "معطلة",
// الاشتراكات
"error_fetching_image" => "حدث خطأ أثناء جلب الصورة",
+ "error_saving_logo" => "حدث خطأ أثناء حفظ صورة الشعار.",
"subscription_updated_successfuly" => "تم تحديث الاشتراك بنجاح",
"subscription_added_successfuly" => "تمت إضافة الاشتراك بنجاح",
"error_deleting_subscription" => "حدث خطأ أثناء حذف الاشتراك.",
@@ -510,6 +512,26 @@ $i18n = [
"google_search_info" => "يضيف نتائج صور Google (عبر SerpAPI) مصدرًا إضافيًا عند البحث عن شعارات الاشتراكات. أنشئ حساب SerpAPI مجانيًا والصق مفتاح API هنا.",
"monthly_searches_used" => "عمليات البحث المستخدمة هذا الشهر",
"monthly_requests_used" => "طلبات API المستخدمة هذا الشهر",
+ "category_entertainment" => "الترفيه",
+ "category_music" => "الموسيقى",
+ "category_utilities" => "الخدمات المنزلية",
+ "category_food_and_beverages" => "الطعام والمشروبات",
+ "category_health_and_wellbeing" => "الصحة والعافية",
+ "category_productivity" => "الإنتاجية",
+ "category_banking" => "الخدمات المصرفية",
+ "category_transport" => "المواصلات",
+ "category_education" => "التعليم",
+ "category_insurance" => "التأمين",
+ "category_gaming" => "الألعاب",
+ "category_news_and_magazines" => "الأخبار والمجلات",
+ "category_software" => "البرمجيات",
+ "category_technology" => "التقنية",
+ "category_cloud_services" => "الخدمات السحابية",
+ "category_charity_and_donations" => "الأعمال الخيرية والتبرعات",
+ "payment_method_credit_card" => "بطاقة ائتمانية",
+ "payment_method_bank_transfer" => "تحويل بنكي",
+ "payment_method_direct_debit" => "خصم مباشر",
+ "payment_method_money" => "نقدًا",
];
diff --git a/settings.php b/settings.php
index 4807125..3ccfd00 100644
--- a/settings.php
+++ b/settings.php
@@ -517,7 +517,7 @@ $upcomingPaymentsLimit = normalize_upcoming_payments_limit($settings['upcoming_p
$selected = $i == $notifications['days'] ? "selected" : "";
?>
<option value="<?= $i ?>" <?= $selected ?>>
- <?= $i ?> <?= translate('day_before', $i18n) ?>
+ <?= $i ?> <?= translate('days_before', $i18n) ?>
</option>
<?php
}