Skip to content

Commit efe8ee1

Browse files
committed
chore: enhance translation mechanism
1 parent 1411157 commit efe8ee1

File tree

7 files changed

+510
-378
lines changed

7 files changed

+510
-378
lines changed

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ mkdir /usr/share/silaty
1111
cp -R icons /usr/share/silaty/
1212
cp -R audio /usr/share/silaty/
1313
cp -R data /usr/share/silaty/
14+
cp -R lang /usr/share/silaty/
1415

1516
cp icons/hicolor/128x128/apps/silaty.svg /usr/share/icons/hicolor/scalable/apps/
1617
chmod 644 /usr/share/icons/hicolor/scalable/apps/silaty.svg

lang/ar.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"Silaty": "صلاتي",
3+
"Fajr": "الفجر",
4+
"Shuruk": "الشروق",
5+
"Dhuhr": "الظهر",
6+
"Asr": "العصر",
7+
"Maghrib": "المغرب",
8+
"Isha": "العشاء",
9+
"System": "إعدادات التطبيق",
10+
"Start Minimized:": "إخفاء نافذة التطبيق عند بدء التشغيل:",
11+
"Daylight Saving Time:": "تفعيل التوقيت الصيفي:",
12+
"Clock Format:": "تنسيق الوقت:",
13+
"12h": "12 ساعة",
14+
"24h": "24 ساعة",
15+
"Adjust Hijri Calendar:": "ضبط التقويم الهجري:",
16+
"Language:": "اللغة:",
17+
"English": "الإنجليزية",
18+
"French": "الفرنسية",
19+
"Arabic": "العربية",
20+
"Spanish": "الإسبانية",
21+
"Notifications": "الإشعارات",
22+
"Show Time left with Icon:": "عرض الوقت المتبقي بجانب الأيقونة:",
23+
"Enable audio notifications:": "تفعيل الإشعارات الصوتية:",
24+
"Time before notification:": "الوقت قبل الإشعار:",
25+
"Fajr Adhan:": "أذان الفجر:",
26+
"Normal Adhan:": "أذان عادي:",
27+
"Jurisprudence": "الفقه",
28+
"Calculation Method:": "طريقة الحساب:",
29+
"Makkah": "مكة المكرمة",
30+
"Egypt": "مصر",
31+
"Karachi": "كراتشي",
32+
"ISNA": "الجمعية الإسلامية لأمريكا الشمالية",
33+
"MWL": "رابطة العالم الإسلامي",
34+
"Madhab:": "المذهب:",
35+
"Hanafi": "حنفي",
36+
"Default": "افتراضي",
37+
"Location": "الموقع",
38+
"City:": "المدينة:",
39+
"Latitude:": "خط العرض:",
40+
"Longitude:": "خط الطول:",
41+
"Time Zone:": "النطاق الزمني:",
42+
"Location: %s": "الموقع: %s",
43+
"Qibla is %.2f° from True North": "القبلة على بعد %.2f درجة من الشمال الحقيقي",
44+
"Fajr\t\t\t\t\t%s": "الفجر\t\t\t\t\t%s",
45+
"Shuruk\t\t\t%s": "الشروق\t\t\t\t%s",
46+
"Dhuhr\t\t\t\t%s": "الظهر\t\t\t\t\t%s",
47+
"Asr\t\t\t\t\t%s": "العصر\t\t\t\t\t%s",
48+
"Maghrib\t\t\t\t%s": "المغرب\t\t\t\t\t%s",
49+
"Isha\t\t\t\t%s": "العشاء\t\t\t\t\t%s",
50+
"Next Prayer": "الصلاة التالية",
51+
"About": "حول التطبيق",
52+
"Settings": "الإعدادات",
53+
"Quit": "خروج",
54+
"%s until %s": "%s حتى صلاة %s",
55+
"%s in %s": "%s بعد %s",
56+
"%s Hours": "%s ساعة",
57+
"%s Minutes": "%s دقيقة",
58+
"%s Hours and %s Minutes": "%s ساعة و %s دقيقة",
59+
"%shr": "%s ساعة",
60+
"%smin": "%s دقيقة",
61+
"%shr %smin": "%s ساعة %s دقيقة",
62+
"GitHub Project Page": "صفحة المشروع على GitHub",
63+
"A neat Prayer Time Reminder App.\n Simple and complete so no prayer is missed": "تطبيق أوقات الصلاة.\n بسيط و شامل حتى لا تفوتك أي صلاة",
64+
"Copyright © %s Silaty Team": "حقوق النشر © %s فريق صلاتي",
65+
"Silaty needs to be restarted, restart now?": "يحتاج التطبيق إلى إعادة تشغيل، إعادة التشغيل الآن؟",
66+
"Hijri:": "هجري:",
67+
"Sunday": "الأحد",
68+
"Monday": "الإثنين",
69+
"Tuesday": "الثلاثاء",
70+
"Wednesday": "الأربعاء",
71+
"Thursday": "الخميس",
72+
"Friday": "الجمعة",
73+
"Saturday": "السبت",
74+
"SundayShort": "ح",
75+
"MondayShort": "ن",
76+
"TuesdayShort": "ث",
77+
"WednesdayShort": "ر",
78+
"ThursdayShort": "خ",
79+
"FridayShort": "ج",
80+
"SaturdayShort": "س",
81+
"January": "يناير",
82+
"February": "فبراير",
83+
"March": "مارس",
84+
"April": "أبريل",
85+
"May": "مايو",
86+
"June": "يونيو",
87+
"July": "يوليو",
88+
"August": "أغسطس",
89+
"September": "سبتمبر",
90+
"October": "أكتوبر",
91+
"November": "نوفمبر",
92+
"December": "ديسمبر",
93+
"Muharram": "محرم",
94+
"Safar": "صفر",
95+
"Rabi al Awwal": "ربيع الأول",
96+
"Rabi al Akhira": "ربيع الآخر",
97+
"Jumada al Ula": "جمادى الأولى",
98+
"Jumada al Akhira": "جمادى الآخرة",
99+
"Rajab": "رجب",
100+
"Sha'ban": "شعبان",
101+
"Ramadhan": "رمضان",
102+
"Shawwal": "شوال",
103+
"Dhu al Qa'da": "ذو القعدة",
104+
"Dhu al Hijja": "ذو الحجة",
105+
"Qibla direction :": "اتجاه القبلة :",
106+
"Country : %s": "الدولة : %s",
107+
"City : %s": "المدينة : %s",
108+
"Search:": "بحث:",
109+
"Check your location on %s": "يمكنك التحقق من موقعك على %s",
110+
"Get Ready": "إستعد",
111+
"%s minutes left until the %s prayer.": "%s دقائق متبقية حتى صلاة %s.",
112+
"Prayer time for %s": "وقت صلاة %s",
113+
"It's time for the %s prayer.": "حان الوقت لصلاة %s.",
114+
"%s, %s": "%s، %s",
115+
"%s - %s, %s / %s": "%s - %s، %s / %s",
116+
"AM": "ص",
117+
"PM": "م",
118+
"Apply": "ضبط",
119+
"Cancel": "إلغاء"
120+
}

lang/en.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"Silaty": "Silaty",
3+
"Fajr": "Fajr",
4+
"Shuruk": "Shuruk",
5+
"Dhuhr": "Dhuhr",
6+
"Asr": "Asr",
7+
"Maghrib": "Maghrib",
8+
"Isha": "Isha",
9+
"System": "System",
10+
"Start Minimized:": "Start Minimized:",
11+
"Daylight Saving Time:": "Daylight Saving Time:",
12+
"Clock Format:": "Clock Format:",
13+
"12h": "12h",
14+
"24h": "24h",
15+
"Adjust Hijri Calendar:": "Adjust Hijri Calendar:",
16+
"Language:": "Language:",
17+
"English": "English",
18+
"French": "French",
19+
"Arabic": "Arabic",
20+
"Spanish": "Spanish",
21+
"Notifications": "Notifications",
22+
"Show Time left with Icon:": "Show Time left with Icon:",
23+
"Enable audio notifications:": "Enable audio notifications:",
24+
"Time before notification:": "Time before notification:",
25+
"Fajr Adhan:": "Fajr Adhan:",
26+
"Normal Adhan:": "Normal Adhan:",
27+
"Jurisprudence": "Jurisprudence",
28+
"Calculation Method:": "Calculation Method:",
29+
"Makkah": "Makkah",
30+
"Egypt": "Egypt",
31+
"Karachi": "Karachi",
32+
"ISNA": "ISNA",
33+
"MWL": "MWL",
34+
"Madhab:": "Madhab:",
35+
"Hanafi": "Hanafi",
36+
"Default": "Default",
37+
"Location": "Location",
38+
"City:": "City:",
39+
"Latitude:": "Latitude:",
40+
"Longitude:": "Longitude:",
41+
"Time Zone:": "Time Zone:",
42+
"Location: %s": "Location: %s",
43+
"Qibla is %.2f° from True North": "Qibla is %.2f° from True North",
44+
"Fajr\t\t\t\t\t%s": "Fajr\t\t\t\t\t%s",
45+
"Shuruk\t\t\t%s": "Shuruk\t\t\t%s",
46+
"Dhuhr\t\t\t\t%s": "Dhuhr\t\t\t\t%s",
47+
"Asr\t\t\t\t\t%s": "Asr\t\t\t\t\t%s",
48+
"Maghrib\t\t\t\t%s": "Maghrib\t\t\t\t\t%s",
49+
"Isha\t\t\t\t%s": "Isha\t\t\t\t\t%s",
50+
"Next Prayer": "Next Prayer:",
51+
"About": "About",
52+
"Settings": "Settings",
53+
"Quit": "Quit",
54+
"%s until %s": "%s until %s",
55+
"%s in %s": "%s in %s",
56+
"%s Hours": "%s Hours",
57+
"%s Minutes": "%s Minutes",
58+
"%s Hours and %s Minutes": "%s Hours and %s Minutes",
59+
"%shr": "%shr",
60+
"%smin": "%smin",
61+
"%shr %smin": "%shr %smin",
62+
"GitHub Project Page": "GitHub Project Page",
63+
"A neat Prayer Time Reminder App.\n Simple and complete so no prayer is missed": "A neat Prayer Time Reminder App.\n Simple and complete so no prayer is missed",
64+
"Copyright © %s Silaty Team": "Copyright © %s Silaty Team",
65+
"Silaty needs to be restarted, restart now?": "Silaty needs to be restarted, restart now?",
66+
"Hijri:": "Hijri:",
67+
"Sunday": "Sunday",
68+
"Monday": "Monday",
69+
"Tuesday": "Tuesday",
70+
"Wednesday": "Wednesday",
71+
"Thursday": "Thursday",
72+
"Friday": "Friday",
73+
"Saturday": "Saturday",
74+
"SundayShort": "S",
75+
"MondayShort": "M",
76+
"TuesdayShort": "T",
77+
"WednesdayShort": "W",
78+
"ThursdayShort": "T",
79+
"FridayShort": "F",
80+
"SaturdayShort": "S",
81+
"January": "January",
82+
"February": "February",
83+
"March": "March",
84+
"April": "April",
85+
"May": "May",
86+
"June": "June",
87+
"July": "July",
88+
"August": "August",
89+
"September": "September",
90+
"October": "October",
91+
"November": "November",
92+
"December": "December",
93+
"Muharram": "Muharram",
94+
"Safar": "Safar",
95+
"Rabi al Awwal": "Rabi al Awwal",
96+
"Rabi al Akhira": "Rabi al Akhira",
97+
"Jumada al Ula": "Jumada al Ula",
98+
"Jumada al Akhira": "Jumada al Akhira",
99+
"Rajab": "Rajab",
100+
"Sha'ban": "Sha'ban",
101+
"Ramadhan": "Ramadhan",
102+
"Shawwal": "Shawwal",
103+
"Dhu al Qa'da": "Dhu al Qa'da",
104+
"Dhu al Hijja": "Dhu al Hijja",
105+
"Qibla direction :": "Qibla direction :",
106+
"Country : %s": "Country : %s",
107+
"City : %s": "City : %s",
108+
"Search:": "Search:",
109+
"Check your location on %s": "Check your location on %s",
110+
"Get Ready": "Get Ready",
111+
"%s minutes left until the %s prayer.": "%s minutes left until the %s prayer.",
112+
"Prayer time for %s": "Prayer time for %s",
113+
"It's time for the %s prayer.": "It's time for the %s prayer.",
114+
"%s, %s": "%s، %s",
115+
"%s - %s, %s / %s": "%s - %s، %s / %s",
116+
"AM": "AM",
117+
"PM": "PM",
118+
"Apply": "Apply",
119+
"Cancel": "Cancel"
120+
}

lang/es.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"Silaty": "Silaty",
3+
"Fajr": "Fajr",
4+
"Shuruk": "Amanecer",
5+
"Dhuhr": "Dhuhr",
6+
"Asr": "Asr",
7+
"Maghrib": "Maghrib",
8+
"Isha": "Isha",
9+
"System": "Systema",
10+
"Start Minimized:": "Inicial Minimizado:",
11+
"Daylight Saving Time:": "Horario de verano:",
12+
"Clock Format:": "Formato de reloj:",
13+
"12h": "12 horas",
14+
"24h": "24 horas",
15+
"Adjust Hijri Calendar:": "Ajustar el Calendario Hijri:",
16+
"Language:": "Idioma:",
17+
"English": "Ingles",
18+
"French": "Frances",
19+
"Arabic": "Arabe",
20+
"Spanish": "Español",
21+
"Notifications": "Notificaciones",
22+
"Show Time left with Icon:": "Monstrar tiempo restante con icono:",
23+
"Enable audio notifications:": "Activar las notificaciones audio:",
24+
"Time before notification:": "Tiempo antes de la notificacion:",
25+
"Fajr Adhan:": "Adhan de Fajr:",
26+
"Normal Adhan:": "Adhan normal:",
27+
"Jurisprudence": "Jurisprudencia",
28+
"Calculation Method:": "Método de cálculo:",
29+
"Makkah": "Meca",
30+
"Egypt": "Egipto",
31+
"Karachi": "Karachi",
32+
"ISNA": "ISNA (Norteamérica)",
33+
"MWL": "Liga Mundial Musulmana",
34+
"Madhab:": "Madhab:",
35+
"Hanafi": "Hanafi",
36+
"Default": "Defecto",
37+
"Location": "Locacion",
38+
"City:": "Ciudad:",
39+
"Latitude:": "Latitud:",
40+
"Longitude:": "Longitud:",
41+
"Time Zone:": "Zona horaria:",
42+
"Location: %s": "Locacion: %s",
43+
"Qibla is %.2f° from True North": "La Qibla esta a %.2f del verdadero Norte",
44+
"Fajr\t\t\t\t\t%s": "Fajr\t\t\t\t\t%s",
45+
"Shuruk\t\t\t%s": "Amanecer\t\t\t\t%s",
46+
"Dhuhr\t\t\t\t%s": "Dhurh\t\t\t\t\t%s",
47+
"Asr\t\t\t\t\t%s": "Asr\t\t\t\t\t%s",
48+
"Maghrib\t\t\t\t%s": "Maghrib\t\t\t\t\t%s",
49+
"Isha\t\t\t\t%s": "Isha\t\t\t\t\t%s",
50+
"Next Prayer": "Proximo rezo:",
51+
"About": "À propos",
52+
"Settings": "Acerca de",
53+
"Quit": "Quitar",
54+
"%s until %s": "%s antes de %s",
55+
"%s in %s": "%s en %s",
56+
"%s Hours": "%s Horas",
57+
"%s Minutes": "%s Minutos",
58+
"%s Hours and %s Minutes": "%s Heros et %s Minutos",
59+
"%shr": "%shoras",
60+
"%smin": "%smin",
61+
"%shr %smin": "%shoras %smin",
62+
"GitHub Project Page": "Pagina GitHub del Proyecto",
63+
"A neat Prayer Time Reminder App.\n Simple and complete so no prayer is missed": "Una excelente aplicación para los tiempos de oracion.\n Simple y completa para que no se olvide ninguna oración",
64+
"Copyright © %s Silaty Team": "Copyright © %s Silaty Team",
65+
"Silaty needs to be restarted, restart now?": "Silaty necesita ser reiniciado, ¿reiniciar ahora?",
66+
"Hijri:": "Hijri:",
67+
"Sunday": "Domindo",
68+
"Monday": "Lunes",
69+
"Tuesday": "Martes",
70+
"Wednesday": "Miercoles",
71+
"Thursday": "Jueves",
72+
"Friday": "Viernes",
73+
"Saturday": "Sabado",
74+
"SundayShort": "D",
75+
"MondayShort": "L",
76+
"TuesdayShort": "Ma",
77+
"WednesdayShort": "Mi",
78+
"ThursdayShort": "J",
79+
"FridayShort": "V",
80+
"SaturdayShort": "S",
81+
"January": "Enero",
82+
"February": "Febrero",
83+
"March": "Marzo",
84+
"April": "April",
85+
"May": "mayo",
86+
"June": "Junio",
87+
"July": "Julio",
88+
"August": "Agosto",
89+
"September": "Septiembre",
90+
"October": "Octubre",
91+
"November": "Noviembre",
92+
"December": "Diciembre",
93+
"Muharram": "Muharram",
94+
"Safar": "Safar",
95+
"Rabi al Awwal": "Rabi al Awwal",
96+
"Rabi al Akhira": "Rabi al Akhira",
97+
"Jumada al Ula": "Jumada al Ula",
98+
"Jumada al Akhira": "Jumada al Akhira",
99+
"Rajab": "Rajab",
100+
"Sha'ban": "Sha'ban",
101+
"Ramadhan": "Ramadhan",
102+
"Shawwal": "Shawwal",
103+
"Dhu al Qa'da": "Dhu al Qa'da",
104+
"Dhu al Hijja": "Dhu al Hijja",
105+
"Qibla direction :": "Direccion de la Qibla :",
106+
"Country : %s": "País : %s",
107+
"City : %s": "Ciudad : %s",
108+
"Search:": "Burcar:",
109+
"Check your location on %s": "Consulta tu ubicación sobre %s",
110+
"Get Ready": "Prepararse",
111+
"%s minutes left until the %s prayer.": "%s minutos antes de la oracion de %s.",
112+
"Prayer time for %s": "Hora de la oracian para %s",
113+
"It's time for the %s prayer.": "Es la hora de la oracion %s.",
114+
"%s, %s": "%s، %s",
115+
"%s - %s, %s / %s": "%s - %s، %s / %s",
116+
"AM": "AM",
117+
"PM": "PM",
118+
"Apply": "Aplicar",
119+
"Cancel": "Cancelar"
120+
}

0 commit comments

Comments
 (0)