Add Farsi translations (#778)
* Add Farsi translations * fix translations.ts * Update translations.ts Co-authored-by: Saeed Alipoor <alipoor.sa@gmail.com> Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
parent
10b653c13e
commit
908e829c0b
2 changed files with 100 additions and 8 deletions
90
packages/tldraw/src/translations/fa.json
Normal file
90
packages/tldraw/src/translations/fa.json
Normal file
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"style.menu.color": "رنگ",
|
||||
"style.menu.fill": "توپُر",
|
||||
"style.menu.dash": "خط چین",
|
||||
"style.menu.size": "اندازه",
|
||||
"style.menu.keep.open": "باز باش",
|
||||
"style.menu.font": "فونت",
|
||||
"style.menu.align": "تراز",
|
||||
"styles": "استایلها",
|
||||
"zoom.in": "زوم جلو",
|
||||
"zoom.out": "زوم عقب",
|
||||
"to": "به",
|
||||
"to.selection": "به انتخابشدهها",
|
||||
"to.fit": "به کل صفحه",
|
||||
"menu.file": "فایل",
|
||||
"menu.edit": "ویرایش",
|
||||
"menu.view": "نمایش",
|
||||
"menu.preferences": "تنظیمها",
|
||||
"menu.sign.in": "ورود",
|
||||
"menu.sign.out": "خروج",
|
||||
"sponsored": "حمایتشده",
|
||||
"become.a.sponsor": " حامی شو",
|
||||
"zoom.to.selection": "نمایش انتخابشدهها",
|
||||
"zoom.to.fit": "نمایش کل صفحه",
|
||||
"zoom.to": "زوم به ",
|
||||
"preferences.dark.mode": "حالت شب",
|
||||
"preferences.focus.mode": "حالت تمرکز",
|
||||
"preferences.debug.mode": "حالت عیبیایی",
|
||||
"preferences.show.grid": "نمایش خطوط راهنما",
|
||||
"preferences.use.cad.selection": "استفاده از حالت انتخابی CAD",
|
||||
"preferences.keep.stylemenu.open": "منوی استایل باز باشه",
|
||||
"preferences.always.show.snaps": "راهنمای لبهها رو نشون بده",
|
||||
"preferences.rotate.handles": "دستگیرههای چرخش رو نشون بده",
|
||||
"preferences.binding.handles": "دستهٔ لبهها رو نشون بده",
|
||||
"preferences.clone.handles": "دستگیرههای کپی رو نشون بده",
|
||||
"undo": "یه قدم عقب",
|
||||
"redo": "یه قدم جلو",
|
||||
"cut": "بریدن",
|
||||
"copy": "کپی",
|
||||
"paste": "جایگذاری",
|
||||
"copy.as": "کپی بهعنوان",
|
||||
"export.as": "خروجی با فرمت",
|
||||
"select.all": "انتخاب همه",
|
||||
"select.none": "انتخاب هیچ",
|
||||
"delete": " پاککردن",
|
||||
"new.project": "پروژهٔ تازه",
|
||||
"open": "باز کن",
|
||||
"save": "ذخیره",
|
||||
"save.as": "ذخیره با اسم",
|
||||
"upload.media": "آپلود عکس",
|
||||
"create.page": "ساخت صفحه",
|
||||
"new.page": "صفحهٔ تازه",
|
||||
"page.name": "اسم صفحه",
|
||||
"duplicate": "کپی درجا",
|
||||
"cancel": "بیخیال",
|
||||
"copy.invite.link": "کپی لینک دعوت",
|
||||
"create.multiplayer.project": "ساخت پروژهٔ چندنفره",
|
||||
"copy.multiplayer.project": "کپی در پروژهٔ چندنفره",
|
||||
"select": "انتخاب",
|
||||
"eraser": "پاککن",
|
||||
"draw": "رسم",
|
||||
"arrow": "فلِش",
|
||||
"text": "متن",
|
||||
"sticky": "یادداشت",
|
||||
"Rectangle": "چارگوش",
|
||||
"Ellipse": "گردی",
|
||||
"Triangle": "سهگوش",
|
||||
"Line": "خط",
|
||||
"rotate": "چرخش",
|
||||
"lock.aspect.ratio": "تثبیت نسبت ابعاد",
|
||||
"unlock.aspect.ratio": "نسبت ابعاد متغیر",
|
||||
"group": "جمع کن",
|
||||
"ungroup": "جدا کن",
|
||||
"move.to.back": "ببر آخر",
|
||||
"move.backward": "ببر عقب",
|
||||
"move.forward": "ببر اول",
|
||||
"move.to.front": "ببر جلو",
|
||||
"reset.angle": "حذف چرخش",
|
||||
"lock": "قفل کن",
|
||||
"unlock": "باز کن",
|
||||
"move.to.page": "ببر به صفحه",
|
||||
"flip.horizontal": "برگردون افقی",
|
||||
"flip.vertical": "برگردون عمودی",
|
||||
"move": "جابهجاش کن",
|
||||
"to.front": "به اول",
|
||||
"forward": "به جلو",
|
||||
"backward": "به عقب",
|
||||
"back": "به آخر",
|
||||
"language": "زبان"
|
||||
}
|
|
@ -1,18 +1,19 @@
|
|||
import ar from './ar.json'
|
||||
import da from './da.json'
|
||||
import de from './de.json'
|
||||
import en from './main.json'
|
||||
import es from './es.json'
|
||||
import fa from './fa.json'
|
||||
import fr from './fr.json'
|
||||
import it from './it.json'
|
||||
import ja from './ja.json'
|
||||
import ko_kr from './ko-kr.json'
|
||||
import ne from './ne.json'
|
||||
import no from './no.json'
|
||||
import zh_cn from './zh-cn.json'
|
||||
import tr from './tr.json'
|
||||
import es from './es.json'
|
||||
import pl from './pl.json'
|
||||
import pt_br from './pt-br.json'
|
||||
import ne from './ne.json'
|
||||
import da from './da.json'
|
||||
import de from './de.json'
|
||||
import tr from './tr.json'
|
||||
import zh_cn from './zh-cn.json'
|
||||
|
||||
// The default language (english) must have a value for every message.
|
||||
// Other languages may have missing messages. If the application finds
|
||||
|
@ -21,8 +22,11 @@ import de from './de.json'
|
|||
|
||||
export const TRANSLATIONS: TDTranslations = [
|
||||
{ code: 'ar', label: 'عربي', messages: ar },
|
||||
{ code: 'da', label: 'Danish', messages: da },
|
||||
{ code: 'de', label: 'Deutsch', messages: de },
|
||||
{ code: 'en', label: 'English', messages: en },
|
||||
{ code: 'es', label: 'Español', messages: es },
|
||||
{ code: 'fa', label: 'فارسی', messages: fa },
|
||||
{ code: 'fr', label: 'Français', messages: fr },
|
||||
{ code: 'it', label: 'Italiano', messages: it },
|
||||
{ code: 'ja', label: '日本語', messages: ja },
|
||||
|
@ -33,8 +37,6 @@ export const TRANSLATIONS: TDTranslations = [
|
|||
{ code: 'pt-br', label: 'Português - Brasil', messages: pt_br },
|
||||
{ code: 'tr', label: 'Türkçe', messages: tr },
|
||||
{ code: 'zh-cn', label: 'Chinese - Simplified', messages: zh_cn },
|
||||
{ code: 'da', label: 'Danish', messages: da },
|
||||
{ code: 'de', label: 'Deutsch', messages: de},
|
||||
]
|
||||
|
||||
/* ----------------- (do not change) ---------------- */
|
||||
|
|
Loading…
Reference in a new issue