Skip to content

Commit

Permalink
Adding Persian localization into the project
Browse files Browse the repository at this point in the history
  • Loading branch information
abolfazl-talaei committed Jun 22, 2022
1 parent f996d91 commit 00f5f23
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
29 changes: 29 additions & 0 deletions packages/emoji-mart-data/i18n/fa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"search": "جستجو",
"search_no_results_1": "اوه نه!",
"search_no_results_2": "این ایموجی بافت نشد",
"pick": "یک ایموجی انتخاب کنید",
"add_custom": "ایموجی سفارشی اضافه کنید",
"categories": {
"activity": "فعالیت",
"custom": "سفارشی",
"flags": "پرچم ها",
"foods": "غذا و نوشیدنی",
"frequent": "پر استفاده ها",
"nature": "حیوانات و طبیعت",
"objects": "اشیاء",
"people": "شکلک ها و مردم",
"places": "سفر و مکان ها",
"search": "نتایج جستجو",
"symbols": "نمادها"
},
"skins": {
"choose": "رنگ پوسته پیش فرض را انتخب کنید",
"1": "پیش فرض",
"2": "روشن",
"3": "میانه-روشن",
"4": "میانه",
"5": "میانه تاریک",
"6": "تاریک"
}
}
3 changes: 2 additions & 1 deletion packages/emoji-mart-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
<option value="pl">Polski</option>
<option value="pt">Português</option>
<option value="ru">Русский</option>
<option value="zh">中文</option></select
<option value="zh">中文</option>
<option value="fa">پارسی</option></select
><em-emoji id="arrow_down_small"
/></span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji-mart/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DEFAULT_PROPS = {
},
locale: {
value: 'en',
choices: ['en', 'de', 'fr', 'it', 'pl', 'pt', 'ru', 'zh'],
choices: ['en', 'de', 'fr', 'it', 'pl', 'pt', 'ru', 'zh', 'fa'],
},
maxFrequentRows: {
value: 4,
Expand Down

0 comments on commit 00f5f23

Please sign in to comment.