diff --git a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java index aa09ef9c..58bb4341 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java @@ -30,7 +30,7 @@ public class SettingsFragment extends Fragment { private Context ctx = null; - private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Russian"}; + private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Persian", "Russian"}; private static int langSelectedChoice = 0; private static String[] timeList = {"Pretty", "Normal"}; @@ -256,6 +256,9 @@ public class SettingsFragment extends Fragment { case "German": tinyDb.putString("locale", "de"); break; + case "Persian": + tinyDb.putString("locale", "fa"); + break; case "Russian": tinyDb.putString("locale", "ru"); break; diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml new file mode 100644 index 00000000..9821d746 --- /dev/null +++ b/app/src/main/res/values-fa/strings.xml @@ -0,0 +1,401 @@ + + + + + مخازن من + مخازن ستاره دار + مخازن + پروفایل + تنظیمات + سازمانها + در مورد ما + به GitNex امتیاز دهید + خروج از حساب کاربری + + + در مورد ما + خانه + مخازن من + مخازن + پروفایل + ایجاد مخزن جدید + سازمانها + مشکلات + تنظیمات + سازمان جدید + New Milestone + مشکل جدید + برچسب جدید + Credits + به روز رسانی برچسب + حامیان + مخازن ستاره دار + تیم جدید + افزدون پست الکترونیکی + فایل جدید + + نسخه\u0020:\u0020 + Build No.\u0020:\u0020 + Demo repo + Repo with ORG + Demo description + مخزن یافت نشد + Demo organization + Demo description + سازمان یافت نشد + ایجاد + به روزرسانی + نام مخزن + توضیح مخزن + خصوصی + حداکثر 255 کاراکتر + مالک + نام سازمان + توضیحات سازمان + حداکثر 255 کاراکتر + نام کاربری + رمز عبور + ورود به حساب کاربری + Instance URL + Open Navigation Drawer + Close Navigation Drawer + Login to Gitea + 1- Choose the correct protocol(https or http). \n2- Enter Gitea url e.g: try.gitea.io. \n3- If you have enabled 2FA for your account, enter the code in the OTP Code field. \n4- For HTTP basic auth use USERNAME@DOMAIN.COM in the URL field. + Wrong username/password + It is not recommended to use HTTP protocol unless you are testing on local network. + Malformed JSON was received. Server response was not successful. + Instance URL is required + Username is required + Password is required + Cannot access network, please check your Internet connection + Repository name is empty + Repository name is not valid. [a–z A–Z 0–9 – _] + Repository description exceeds the max 255 characters limit + Repository created successfully + Something went wrong, please try again + Repository of this name already exists under selected Owner + Organization name is empty + Organization name is not valid, [a–z A–Z 0–9 – _] + Organization description exceeds the max 255 characters limit + Organization created successfully + Something went wrong, please try again + Organization already exists + Processing + Search + Work in progress + Close + Add + Org + Repo + Pri + Remove + Instance has returned an error. Code\u0020 + RepoDetailActivity + Details + Files + Open Issues + Closed Issues + Milestones + Releases + Branches + Labels + تنظیمات + Collaborators + No issues found + Repository + مالک + Description + Website + Size + Default Branch + SSH URL + Clone URL + Repo URL + Forks + Created + Last Updated + at + Opened\u0020 + Due Date + Status: open + open + Status: closed + closed + Creator :\u0020 + Assignees + Type: Issue + Type: Pull Request + Commenter:\u0020 + Milestone %1$s + Due %1$s + Opened %1$s + Assigned to: %1$s + Comment + Please write your comment + Comment posted + Something went wrong, please try again + Avatar + No milestones found + Commit author: %1$s + Commit hash \n%1$s%2$s + Release Title + Release Description + Downloads + Release Type + Release Zip + Release Tar + No releases found + Tag: %1$s + Collaborator : %1$s + No collaborators found + Edit + Title + Description + Due Date + Milestone title is empty + Milestone title is not valid. [a–z A–Z 0–9 – _] + Milestone description exceeds the max 255 characters limit + Milestone created successfully + Something went wrong, please try again + Please choose due date + Open issues : %1$d + Closed issues : %1$d + Select Assignees + Select Labels + Done + Cancel + Title + Assignees + Description + Due Date + Milestone + Labels + Issue title is empty + Issue description is empty + New issue created successfully + Something went wrong, please try again + No collaborators found + No labels found + + Translation + Date & Time + Settings saved. + Language + English + Appearance + Pretty + Choose Language + Choose Time Format + Issues Badge + Help us translate GitNex to your language + Code Block Color + Code Block Color Selector + Home Screen + مخازن من + Select Home Screen + + No more data available + برچسب جدید + Repo Menu + Label Name + Label Color + Label name is empty + Label name is not valid + Label created. + Something went wrong, please try again + Label updated. + No labels found + Desc + Edit + Delete + Label deleted + Something went wrong, please try again + No branches found + Design + + + Authorization Error + It seems that the Access Token is revoked OR your are not allowed to see these contents. In case of revoked Token, please logout and login again + Cancel + خروج از حساب کاربری + Delete\u0020 + Do you really want to delete this label? + OK + Cancel + + OrgDetailActivity + مخازن + Teams + Members + تیم جدید + No teams found + Team name + Team desc + Permission : %1$s + No members found + Org members + Organization team members + + + Team Name + Description + Permission + Access Controls + Members can view and clone team repositories + Members can read and push to team repositories + Members can pull and push to team repositories and add collaborators to them + Please enter team name + Team name should contain only alphanumeric, dash (-), underscore (_) and dot (.) characters + Please select permission + Team description have illegal characters + Team description have more than 100 characters + Team created successfully + Something went wrong, please try again + + + Edit Comment + Edit + Comment updated + + + Add / Remove Collaborator + Search users + Username + Remove\u0020 + Do you want to remove this user from the repository? + User removed from the repository. + User added to the repository. + + + Followers + Following + افزدون پست الکترونیکی + Save + Email Address + New email added successfully. + Email address is empty. + Email address is not valid + Email address is already in use + Primary + Emails + + + Add / Remove Labels + Labels updated + Close Issue + Add Comment + Edit Issue + Reopen Issue + Issue closed + Issue reopened + Add Assignees + Add / Remove Assignees + Assignees updated + + + Select Entries + Please select at least one option + Please select at least + You can only select up to + option + options + Select all + Deselect all + + Repository Meta + + Add New User + Users + Admin + + + Full Name + Email + Username + Password + Invalid Full Name + Invalid Username + Invalid Email + New user added successfully + User already exists + + + + + Edit Issue #%1$s + Issue updated. + + + New Release + Tag Name + Title + Content + Mark as Pre-Release + Select Branch + Draft + Tag name is empty + Title is empty + New release created + + Enter OTP code + OTP code should be numbers. + OTP Code (Optional) + Enter the otp code if 2FA is enabled + Open in Browser + Stargazers + Watchers + No stars found + No watchers found + Star + Watcher + Commit + Zip Archive + Tar Archive + + File Name + New Branch Name + File Content + Create New File + with folder: app/test.md + Commit Message + Invalid branch name, may only contain –, a–z, 0–9 + Commit message is too long + New file created + Current Branches + Fields like filename, content and commit message are required + Selecting current branch will disable new branch + e.g: new-branch + New branch name cannot be empty if current branch is not selected + Filter + Copy Issue URL + Issue URL copied to clipboard + %1$d\uFF05 completed + + No files found + Directory browsing is not supported yet + Sorry this file cannot be viewed as API returned an error + Root + + OK + Done + Cancel + Something went wrong, please try again + This request needs higher Gitea version than the one installed. Please upgrade your instance to the latest version of Gitea. + No data found + Add + Remove + You are not authorized to perform this action. + Menu + Edit + Delete + edited + Save + Name + Description + Website + Location + حداکثر 255 کاراکتر + All fields are required + + Translate GitNex with Crowdin +