Skip to content

Commit 8cb3f9e

Browse files
committed
Merge remote-tracking branch 'benma/arabic'
2 parents 6c0faf7 + f093d25 commit 8cb3f9e

File tree

5 files changed

+1392
-1
lines changed

5 files changed

+1392
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [Unreleased]
44

55
## 4.35.0
6+
- Add Arabic translation
67
- Render number of blocks scanned and percentage progress using fixed-width digits for a more stable UI
78
- Transaction details: show fiat value at time of transaction
89
- Android: more modern look by changing the status bar color to white while the app is running

frontends/web/src/components/language/language.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type TLanguageSwitchProps = {
2727
}
2828

2929
const defaultLanguages = [
30+
{ code: 'ar', display: 'العربية' },
3031
{ code: 'bg', display: 'България' },
3132
{ code: 'de', display: 'Deutsch' },
3233
{ code: 'en', display: 'English' },

frontends/web/src/i18n/i18n.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
import i18n from 'i18next';
19+
import appTranslationsAR from '../locales/ar/app.json';
1920
import appTranslationsDE from '../locales/de/app.json';
2021
import appTranslationsEN from '../locales/en/app.json';
2122
import appTranslationsFR from '../locales/fr/app.json';
@@ -66,6 +67,7 @@ i18Init.init({
6667
},
6768
});
6869

70+
i18n.addResourceBundle('ar', 'app', appTranslationsAR);
6971
i18n.addResourceBundle('de', 'app', appTranslationsDE);
7072
i18n.addResourceBundle('en', 'app', appTranslationsEN);
7173
i18n.addResourceBundle('fr', 'app', appTranslationsFR);

0 commit comments

Comments
 (0)