Skip to content

Commit

Permalink
feat: add arabic translation
Browse files Browse the repository at this point in the history
  • Loading branch information
atefBB committed Jul 10, 2024
1 parent 59a3e41 commit 680bc96
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 0 deletions.
247 changes: 247 additions & 0 deletions app/src/main/res/values-ar/arrays.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="currency_names">
<item>US Dollar ($)</item>
<item>Canadian Dollar (CA$)</item>
<item>Euro (€)</item>
<item>United Arab Emirates Dirham (AED)</item>
<item>Afghan Afghani (Af)</item>
<item>Albanian Lek (ALL)</item>
<item>Armenian Dram (AMD)</item>
<item>Argentine Peso (AR$)</item>
<item>Australian Dollar (AU$)</item>
<item>Azerbaijani Manat (man.)</item>
<item>Bosnia-Herzegovina Convertible Mark (KM)</item>
<item>Bangladeshi Taka (Tk)</item>
<item>Bulgarian Lev (BGN)</item>
<item>Bahraini Dinar (BD)</item>
<item>Burundian Franc (FBu)</item>
<item>Brunei Dollar (BN$)</item>
<item>Bolivian Boliviano (Bs)</item>
<item>Brazilian Real (R$)</item>
<item>Botswanan Pula (BWP)</item>
<item>Belarusian Ruble (Br)</item>
<item>Belize Dollar (BZ$)</item>
<item>Congolese Franc (CDF)</item>
<item>Swiss Franc (CHF)</item>
<item>Chilean Peso (CL$)</item>
<item>Chinese Yuan (CN¥)</item>
<item>Colombian Peso (CO$)</item>
<item>Costa Rican Colón (₡)</item>
<item>Cape Verdean Escudo (CV$)</item>
<item>Czech Republic Koruna (Kč)</item>
<item>Djiboutian Franc (Fdj)</item>
<item>Danish Krone (Dkr)</item>
<item>Dominican Peso (RD$)</item>
<item>Algerian Dinar (DA)</item>
<item>Estonian Kroon (Ekr)</item>
<item>Egyptian Pound (EGP)</item>
<item>Eritrean Nakfa (Nfk)</item>
<item>Ethiopian Birr (Br)</item>
<item>British Pound Sterling (£)</item>
<item>Georgian Lari (GEL)</item>
<item>Ghanaian Cedi (GH₵)</item>
<item>Guinean Franc (FG)</item>
<item>Guatemalan Quetzal (GTQ)</item>
<item>Hong Kong Dollar (HK$)</item>
<item>Honduran Lempira (HNL)</item>
<item>Croatian Kuna (kn)</item>
<item>Hungarian Forint (Ft)</item>
<item>Indonesian Rupiah (Rp)</item>
<item>Israeli New Sheqel (₪)</item>
<item>Indian Rupee (₹)</item>
<item>Iraqi Dinar (IQD)</item>
<item>Iranian Rial (IRR)</item>
<item>Icelandic Króna (Ikr)</item>
<item>Jamaican Dollar (J$)</item>
<item>Jordanian Dinar (JD)</item>
<item>Japanese Yen (¥)</item>
<item>Kenyan Shilling (Ksh)</item>
<item>Cambodian Riel (KHR)</item>
<item>Comorian Franc (CF)</item>
<item>South Korean Won (₩)</item>
<item>Kuwaiti Dinar (KD)</item>
<item>Kazakhstani Tenge (KZT)</item>
<item>Lebanese Pound (L.L.)</item>
<item>Sri Lankan Rupee (SLRs)</item>
<item>Lithuanian Litas (Lt)</item>
<item>Latvian Lats (Ls)</item>
<item>Libyan Dinar (LD)</item>
<item>Moroccan Dirham (MAD)</item>
<item>Moldovan Leu (MDL)</item>
<item>Malagasy Ariary (MGA)</item>
<item>Macedonian Denar (MKD)</item>
<item>Myanma Kyat (MMK)</item>
<item>Macanese Pataca (MOP$)</item>
<item>Mauritian Rupee (MURs)</item>
<item>Mexican Peso (MX$)</item>
<item>Malaysian Ringgit (RM)</item>
<item>Mozambican Metical (MTn)</item>
<item>Namibian Dollar (N$)</item>
<item>Nigerian Naira (₦)</item>
<item>Nicaraguan Córdoba (C$)</item>
<item>Norwegian Krone (NOK)</item>
<item>Nepalese Rupee (NPRs)</item>
<item>New Zealand Dollar (NZ$)</item>
<item>Omani Rial (OMR)</item>
<item>Panamanian Balboa (B/.)</item>
<item>Peruvian Nuevo Sol (S/.)</item>
<item>Philippine Peso (₱)</item>
<item>Pakistani Rupee (PKRs)</item>
<item>Polish Zloty (zł)</item>
<item>Paraguayan Guarani (₲)</item>
<item>Qatari Rial (QR)</item>
<item>Romanian Leu (RON)</item>
<item>Serbian Dinar (din.)</item>
<item>Russian Ruble (RUB)</item>
<item>Rwandan Franc (RWF)</item>
<item>Saudi Riyal (SR)</item>
<item>Sudanese Pound (SDG)</item>
<item>Swedish Krona (Skr)</item>
<item>Singapore Dollar (S$)</item>
<item>Somali Shilling (Ssh)</item>
<item>Syrian Pound (SY£)</item>
<item>Thai Baht (฿)</item>
<item>Tunisian Dinar (DT)</item>
<item>Tongan Paʻanga (T$)</item>
<item>Turkish Lira (TL)</item>
<item>Trinidad and Tobago Dollar (TT$)</item>
<item>New Taiwan Dollar (NT$)</item>
<item>Tanzanian Shilling (TSh)</item>
<item>Ukrainian Hryvnia (₴)</item>
<item>Ugandan Shilling (USh)</item>
<item>Uruguayan Peso ($U)</item>
<item>Uzbekistan Som (UZS)</item>
<item>Venezuelan Bolívar (Bs.F.)</item>
<item>Vietnamese Dong (₫)</item>
<item>CFA Franc BEAC (FCFA)</item>
<item>CFA Franc BCEAO (CFA)</item>
<item>Yemeni Rial (YR)</item>
<item>South African Rand (R)</item>
<item>Zambian Kwacha (ZK)</item>
<item>Zimbabwean Dollar (ZWL$)</item>
</string-array>

<string-array name="currency_values">
<item>USD</item>
<item>CAD</item>
<item>EUR</item>
<item>AED</item>
<item>AFN</item>
<item>ALL</item>
<item>AMD</item>
<item>ARS</item>
<item>AUD</item>
<item>AZN</item>
<item>BAM</item>
<item>BDT</item>
<item>BGN</item>
<item>BHD</item>
<item>BIF</item>
<item>BND</item>
<item>BOB</item>
<item>BRL</item>
<item>BWP</item>
<item>BYN</item>
<item>BZD</item>
<item>CDF</item>
<item>CHF</item>
<item>CLP</item>
<item>CNY</item>
<item>COP</item>
<item>CRC</item>
<item>CVE</item>
<item>CZK</item>
<item>DJF</item>
<item>DKK</item>
<item>DOP</item>
<item>DZD</item>
<item>EEK</item>
<item>EGP</item>
<item>ERN</item>
<item>ETB</item>
<item>GBP</item>
<item>GEL</item>
<item>GHS</item>
<item>GNF</item>
<item>GTQ</item>
<item>HKD</item>
<item>HNL</item>
<item>HRK</item>
<item>HUF</item>
<item>IDR</item>
<item>ILS</item>
<item>INR</item>
<item>IQD</item>
<item>IRR</item>
<item>ISK</item>
<item>JMD</item>
<item>JOD</item>
<item>JPY</item>
<item>KES</item>
<item>KHR</item>
<item>KMF</item>
<item>KRW</item>
<item>KWD</item>
<item>KZT</item>
<item>LBP</item>
<item>LKR</item>
<item>LTL</item>
<item>LVL</item>
<item>LYD</item>
<item>MAD</item>
<item>MDL</item>
<item>MGA</item>
<item>MKD</item>
<item>MMK</item>
<item>MOP</item>
<item>MUR</item>
<item>MXN</item>
<item>MYR</item>
<item>MZN</item>
<item>NAD</item>
<item>NGN</item>
<item>NIO</item>
<item>NOK</item>
<item>NPR</item>
<item>NZD</item>
<item>OMR</item>
<item>PAB</item>
<item>PEN</item>
<item>PHP</item>
<item>PKR</item>
<item>PLN</item>
<item>PYG</item>
<item>QAR</item>
<item>RON</item>
<item>RSD</item>
<item>RUB</item>
<item>RWF</item>
<item>SAR</item>
<item>SDG</item>
<item>SEK</item>
<item>SGD</item>
<item>SOS</item>
<item>SYP</item>
<item>THB</item>
<item>TND</item>
<item>TOP</item>
<item>TRY</item>
<item>TTD</item>
<item>TWD</item>
<item>TZS</item>
<item>UAH</item>
<item>UGX</item>
<item>UYU</item>
<item>UZS</item>
<item>VES</item>
<item>VND</item>
<item>XAF</item>
<item>XOF</item>
<item>YER</item>
<item>ZAR</item>
<item>ZMW</item>
<item>ZWL</item>
</string-array>

</resources>
64 changes: 64 additions & 0 deletions app/src/main/res/values-ar/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="seed">#00b260</color>
<color name="md_theme_light_primary">#006D38</color>
<color name="md_theme_light_onPrimary">#FFFFFF</color>
<color name="md_theme_light_primaryContainer">#71FDA2</color>
<color name="md_theme_light_onPrimaryContainer">#00210D</color>
<color name="md_theme_light_secondary">#506353</color>
<color name="md_theme_light_onSecondary">#FFFFFF</color>
<color name="md_theme_light_secondaryContainer">#D2E8D3</color>
<color name="md_theme_light_onSecondaryContainer">#0D1F12</color>
<color name="md_theme_light_tertiary">#3A656F</color>
<color name="md_theme_light_onTertiary">#FFFFFF</color>
<color name="md_theme_light_tertiaryContainer">#BEEAF6</color>
<color name="md_theme_light_onTertiaryContainer">#001F25</color>
<color name="md_theme_light_error">#BA1A1A</color>
<color name="md_theme_light_errorContainer">#FFDAD6</color>
<color name="md_theme_light_onError">#FFFFFF</color>
<color name="md_theme_light_onErrorContainer">#410002</color>
<color name="md_theme_light_background">#FBFDF7</color>
<color name="md_theme_light_onBackground">#191C19</color>
<color name="md_theme_light_surface">#FBFDF7</color>
<color name="md_theme_light_onSurface">#191C19</color>
<color name="md_theme_light_surfaceVariant">#DDE5DB</color>
<color name="md_theme_light_onSurfaceVariant">#414941</color>
<color name="md_theme_light_outline">#717971</color>
<color name="md_theme_light_inverseOnSurface">#F0F1EC</color>
<color name="md_theme_light_inverseSurface">#2E312E</color>
<color name="md_theme_light_inversePrimary">#51E088</color>
<color name="md_theme_light_shadow">#000000</color>
<color name="md_theme_light_surfaceTint">#006D38</color>
<color name="md_theme_light_outlineVariant">#C1C9BF</color>
<color name="md_theme_light_scrim">#000000</color>
<color name="md_theme_dark_primary">#51E088</color>
<color name="md_theme_dark_onPrimary">#00391B</color>
<color name="md_theme_dark_primaryContainer">#005229</color>
<color name="md_theme_dark_onPrimaryContainer">#71FDA2</color>
<color name="md_theme_dark_secondary">#B6CCB8</color>
<color name="md_theme_dark_onSecondary">#223526</color>
<color name="md_theme_dark_secondaryContainer">#384B3C</color>
<color name="md_theme_dark_onSecondaryContainer">#D2E8D3</color>
<color name="md_theme_dark_tertiary">#A2CED9</color>
<color name="md_theme_dark_onTertiary">#01363F</color>
<color name="md_theme_dark_tertiaryContainer">#204D56</color>
<color name="md_theme_dark_onTertiaryContainer">#BEEAF6</color>
<color name="md_theme_dark_error">#FFB4AB</color>
<color name="md_theme_dark_errorContainer">#93000A</color>
<color name="md_theme_dark_onError">#690005</color>
<color name="md_theme_dark_onErrorContainer">#FFDAD6</color>
<color name="md_theme_dark_background">#191C19</color>
<color name="md_theme_dark_onBackground">#E1E3DE</color>
<color name="md_theme_dark_surface">#191C19</color>
<color name="md_theme_dark_onSurface">#E1E3DE</color>
<color name="md_theme_dark_surfaceVariant">#414941</color>
<color name="md_theme_dark_onSurfaceVariant">#C1C9BF</color>
<color name="md_theme_dark_outline">#8B938A</color>
<color name="md_theme_dark_inverseOnSurface">#191C19</color>
<color name="md_theme_dark_inverseSurface">#E1E3DE</color>
<color name="md_theme_dark_inversePrimary">#006D38</color>
<color name="md_theme_dark_shadow">#000000</color>
<color name="md_theme_dark_surfaceTint">#51E088</color>
<color name="md_theme_dark_outlineVariant">#414941</color>
<color name="md_theme_dark_scrim">#000000</color>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ar/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#161C40</color>
</resources>
9 changes: 9 additions & 0 deletions app/src/main/res/values-ar/splash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="Theme.GreenStash.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">?attr/backgroundColor</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_screen</item>
<item name="postSplashScreenTheme">@style/Theme.GreenStash</item>
</style>
</resources>
Loading

0 comments on commit 680bc96

Please sign in to comment.