Merge branch 'crowdin-add-Persian' of 6543/GitNex into master

This commit is contained in:
6543 2019-10-08 15:26:18 +00:00 committed by Gitea
commit 05afc9fc5a
2 changed files with 405 additions and 1 deletions

View File

@ -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;

View File

@ -0,0 +1,401 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<resources>
<!-- menu items -->
<string name="navMyRepos">مخازن من</string>
<string name="navStarredRepos">مخازن ستاره دار</string>
<string name="navRepos">مخازن</string>
<string name="navProfile">پروفایل</string>
<string name="navSettings">تنظیمات</string>
<string name="navOrgs">سازمانها</string>
<string name="navAbout">در مورد ما</string>
<string name="navRate">به GitNex امتیاز دهید</string>
<string name="navLogout">خروج از حساب کاربری</string>
<!-- menu items -->
<!-- page titles -->
<string name="pageTitleAbout">در مورد ما</string>
<string name="pageTitleHome">خانه</string>
<string name="pageTitleMyRepos">مخازن من</string>
<string name="pageTitleRepositories">مخازن</string>
<string name="pageTitleProfile">پروفایل</string>
<string name="pageTitleNewRepo">ایجاد مخزن جدید</string>
<string name="pageTitleOrganizations">سازمانها</string>
<string name="pageTitleIssues">مشکلات</string>
<string name="pageTitleSettings">تنظیمات</string>
<string name="pageTitleCreateOrganization">سازمان جدید</string>
<string name="pageTitleCreateMilestone">New Milestone</string>
<string name="pageTitleCreateNewIssue">مشکل جدید</string>
<string name="pageTitleCreateLabel">برچسب جدید</string>
<string name="pageTitleCredits">Credits</string>
<string name="pageTitleLabelUpdate">به روز رسانی برچسب</string>
<string name="pageTitleSponsors">حامیان</string>
<string name="pageTitleStarredRepos">مخازن ستاره دار</string>
<string name="pageTitleCreateTeam">تیم جدید</string>
<string name="pageTitleAddEmail">افزدون پست الکترونیکی</string>
<string name="pageTitleNewFile">فایل جدید</string>
<!-- page titles -->
<string name="appVersion">نسخه\u0020:\u0020</string>
<string name="appBuild">Build No.\u0020:\u0020</string>
<string name="repoName">Demo repo</string>
<string name="repoFullname">Repo with ORG</string>
<string name="repoDescription">Demo description</string>
<string name="noData">مخزن یافت نشد</string>
<string name="orgName">Demo organization</string>
<string name="orgDescription">Demo description</string>
<string name="noDataOrg">سازمان یافت نشد</string>
<string name="newCreateButtonCopy">ایجاد</string>
<string name="newUpdateButtonCopy">به روزرسانی</string>
<string name="newRepoTintCopy">نام مخزن</string>
<string name="newRepoDescTintCopy">توضیح مخزن</string>
<string name="newRepoPrivateCopy">خصوصی</string>
<string name="newRepoDescInfo">حداکثر 255 کاراکتر</string>
<string name="newRepoOwner">مالک</string>
<string name="newOrgTintCopy">نام سازمان</string>
<string name="newOrgDescTintCopy">توضیحات سازمان</string>
<string name="newOrgDescInfo">حداکثر 255 کاراکتر</string>
<string name="userName">نام کاربری</string>
<string name="passWord">رمز عبور</string>
<string name="btnLogin">ورود به حساب کاربری</string>
<string name="instanceUrl">Instance URL</string>
<string name="navigation_drawer_open">Open Navigation Drawer</string>
<string name="navigation_drawer_close">Close Navigation Drawer</string>
<string name="logo">Login to Gitea</string>
<string name="urlInfoTooltip">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.</string>
<string name="loginFailed">Wrong username/password</string>
<string name="protocolError">It is not recommended to use HTTP protocol unless you are testing on local network.</string>
<string name="malformedJson">Malformed JSON was received. Server response was not successful.</string>
<string name="emptyFieldURL">Instance URL is required</string>
<string name="emptyFieldUsername">Username is required</string>
<string name="emptyFieldPassword">Password is required</string>
<string name="checkNetConnection">Cannot access network, please check your Internet connection</string>
<string name="repoNameErrorEmpty">Repository name is empty</string>
<string name="repoNameErrorInvalid">Repository name is not valid. [a&#8211;z A&#8211;Z 0&#8211;9 &#8211; _]</string>
<string name="repoDescError">Repository description exceeds the max 255 characters limit</string>
<string name="repoCreated">Repository created successfully</string>
<string name="repoCreatedError">Something went wrong, please try again</string>
<string name="repoExistsError">Repository of this name already exists under selected Owner</string>
<string name="orgNameErrorEmpty">Organization name is empty</string>
<string name="orgNameErrorInvalid">Organization name is not valid, [a&#8211;z A&#8211;Z 0&#8211;9 &#8211; _]</string>
<string name="orgDescError">Organization description exceeds the max 255 characters limit</string>
<string name="orgCreated">Organization created successfully</string>
<string name="orgCreatedError">Something went wrong, please try again</string>
<string name="orgExistsError">Organization already exists</string>
<string name="processingText">Processing</string>
<string name="search">Search</string>
<string name="wip">Work in progress</string>
<string name="close">Close</string>
<string name="addNewContent">Add</string>
<string name="orgContentAvatar">Org</string>
<string name="repoContentAvatar">Repo</string>
<string name="privateAvatar">Pri</string>
<string name="removeContent">Remove</string>
<string name="genericApiStatusError">Instance has returned an error. Code\u0020</string>
<string name="title_activity_repo_detail">RepoDetailActivity</string>
<string name="tab_text_info">Details</string>
<string name="tab_text_files">Files</string>
<string name="tab_text_issues">Open Issues</string>
<string name="tabItemCloseIssues">Closed Issues</string>
<string name="tab_text_ml">Milestones</string>
<string name="tab_text_releases">Releases</string>
<string name="tab_text_branches">Branches</string>
<string name="tab_text_labels">Labels</string>
<string name="action_settings">تنظیمات</string>
<string name="tab_text_collaborators">Collaborators</string>
<string name="noDataIssueTab">No issues found</string>
<string name="infoTabRepoName1">Repository</string>
<string name="infoTabRepoOwner1">مالک</string>
<string name="infoTabRepoDesc">Description</string>
<string name="infoTabRepoWebsite">Website</string>
<string name="infoTabRepoSize">Size</string>
<string name="infoTabRepoDefaultBranch">Default Branch</string>
<string name="infoTabRepoSshUrl">SSH URL</string>
<string name="infoTabRepoCloneUrl">Clone URL</string>
<string name="infoTabRepoRepoUrl">Repo URL</string>
<string name="infoTabRepoForksCount">Forks</string>
<string name="infoTabRepoCreatedAt">Created</string>
<string name="infoTabRepoUpdatedAt">Last Updated</string>
<string name="timeAtText">at</string>
<string name="createdText">Opened\u0020</string>
<string name="dueDateText">Due Date</string>
<string name="issueStatusTextOpen">Status: open</string>
<string name="issueStatusOpen">open</string>
<string name="issueStatusTextClosed">Status: closed</string>
<string name="issueStatusClosed">closed</string>
<string name="issueCreator">Creator :\u0020</string>
<string name="issueAssigneesText">Assignees</string>
<string name="issueTypeIssue">Type: Issue</string>
<string name="issueTypePullRequest">Type: Pull Request</string>
<string name="issueCommenter">Commenter:\u0020</string>
<string name="issueMilestone">Milestone %1$s</string>
<string name="dueDate">Due %1$s</string>
<string name="createdTime">Opened %1$s</string>
<string name="assignedTo">Assigned to: %1$s</string>
<string name="commentButtonText">Comment</string>
<string name="commentEmptyError">Please write your comment</string>
<string name="commentSuccess">Comment posted</string>
<string name="commentError">Something went wrong, please try again</string>
<string name="generalImgContentText">Avatar</string>
<string name="noDataMilestonesTab">No milestones found</string>
<string name="commitAuthor">Commit author: %1$s</string>
<string name="commitHash">Commit hash \n%1$s%2$s</string>
<string name="releaseTitle">Release Title</string>
<string name="releaseDescription">Release Description</string>
<string name="releaseDownloadText">Downloads</string>
<string name="releaseType">Release Type</string>
<string name="releaseZip">Release Zip</string>
<string name="releaseTar">Release Tar</string>
<string name="noDataReleasesTab">No releases found</string>
<string name="releaseTag">Tag: %1$s</string>
<string name="collaboratorsNameToast">Collaborator : %1$s</string>
<string name="noDataCollaboratorTab">No collaborators found</string>
<string name="editText">Edit</string>
<string name="newMilestoneTitle">Title</string>
<string name="newMilestoneDescription">Description</string>
<string name="newMilestoneDueDate">Due Date</string>
<string name="milestoneNameErrorEmpty">Milestone title is empty</string>
<string name="milestoneNameErrorInvalid">Milestone title is not valid. [a&#8211;z A&#8211;Z 0&#8211;9 &#8211; _]</string>
<string name="milestoneDescError">Milestone description exceeds the max 255 characters limit</string>
<string name="milestoneCreated">Milestone created successfully</string>
<string name="milestoneCreatedError">Something went wrong, please try again</string>
<string name="milestoneDateEmpty">Please choose due date</string>
<string name="milestoneOpenIssues">Open issues : %1$d</string>
<string name="milestoneClosedIssues">Closed issues : %1$d</string>
<string name="newIssueSelectAssigneesListTitle">Select Assignees</string>
<string name="newIssueSelectLabelsListTitle">Select Labels</string>
<string name="newIssueDialogDone">Done</string>
<string name="newIssueDialogCancel">Cancel</string>
<string name="newIssueTitle">Title</string>
<string name="newIssueAssigneesListTitle">Assignees</string>
<string name="newIssueDescriptionTitle">Description</string>
<string name="newIssueDueDateTitle">Due Date</string>
<string name="newIssueMilestoneTitle">Milestone</string>
<string name="newIssueLabelsTitle">Labels</string>
<string name="issueTitleEmpty">Issue title is empty</string>
<string name="issueDescriptionEmpty">Issue description is empty</string>
<string name="issueCreated">New issue created successfully</string>
<string name="issueCreatedError">Something went wrong, please try again</string>
<string name="noAssigneesFound">No collaborators found</string>
<string name="noLabelsFound">No labels found</string>
<!-- settings -->
<string name="settingsLanguageHeaderText">Translation</string>
<string name="settingsDateTimeHeaderText">Date &amp; Time</string>
<string name="settingsSave">Settings saved.</string>
<string name="settingsLanguageSelectorHeader">Language</string>
<string name="settingsLanguageSelectedHeaderDefault">English</string>
<string name="settingsAppearanceHeader">Appearance</string>
<string name="settingsDateTimeHeaderDefault">Pretty</string>
<string name="settingsLanguageSelectorDialogTitle">Choose Language</string>
<string name="settingsTimeSelectorDialogTitle">Choose Time Format</string>
<string name="settingsIssueBadgeHeaderText">Issues Badge</string>
<string name="settingsHelpTranslateText">Help us translate GitNex to your language</string>
<string name="codeBlockHeaderText">Code Block Color</string>
<string name="settingsCodeBlockSelectorDialogTitle">Code Block Color Selector</string>
<string name="settingsHomeScreenHeaderText">Home Screen</string>
<string name="settingsHomeScreenSelectedText">مخازن من</string>
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
<!-- settings -->
<string name="noMoreData">No more data available</string>
<string name="createLabel">برچسب جدید</string>
<string name="menuTitleText">Repo Menu</string>
<string name="labelName">Label Name</string>
<string name="labelColor">Label Color</string>
<string name="labelEmptyError">Label name is empty</string>
<string name="labelNameError">Label name is not valid</string>
<string name="labelCreated">Label created.</string>
<string name="labelGeneralError">Something went wrong, please try again</string>
<string name="labelUpdated">Label updated.</string>
<string name="noDataLabelsTab">No labels found</string>
<string name="labelMenuContentDesc">Desc</string>
<string name="labelMenuEdit">Edit</string>
<string name="labelMenuDelete">Delete</string>
<string name="labelDeleteText">Label deleted</string>
<string name="labelDeleteErrorText">Something went wrong, please try again</string>
<string name="noDataBranchesTab">No branches found</string>
<string name="creditsLogoDesign">Design</string>
<!-- credits - this part does not need translation -->
<!-- credits - this part does not need translation -->
<string name="alertDialogTokenRevokedTitle">Authorization Error</string>
<string name="alertDialogTokenRevokedMessage">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</string>
<string name="alertDialogTokenRevokedCopyNegativeButton">Cancel</string>
<string name="alertDialogTokenRevokedCopyPositiveButton">خروج از حساب کاربری</string>
<string name="labelDeleteTitle">Delete\u0020</string>
<string name="labelDeleteMessage">Do you really want to delete this label?</string>
<string name="labelDeletePositiveButton">OK</string>
<string name="labelDeleteNegativeButton">Cancel</string>
<!-- org tabbed layout str -->
<string name="title_activity_org_detail">OrgDetailActivity</string>
<string name="orgTabRepos">مخازن</string>
<string name="orgTabTeams">Teams</string>
<string name="orgTabMembers">Members</string>
<string name="orgCreateTeam">تیم جدید</string>
<string name="noDataTeams">No teams found</string>
<string name="teamTitle">Team name</string>
<string name="teamDescription">Team desc</string>
<string name="teamPermission">Permission : %1$s</string>
<string name="noDataMembers">No members found</string>
<string name="orgMember">Org members</string>
<string name="orgTeamMembers">Organization team members</string>
<!-- org tabbed layout str -->
<!-- create team -->
<string name="newTeamTitle">Team Name</string>
<string name="newTeamDesc">Description</string>
<string name="newTeamPermission">Permission</string>
<string name="newTeamAccessControls">Access Controls</string>
<string name="newTeamPermissionRead">Members can view and clone team repositories</string>
<string name="newTeamPermissionWrite">Members can read and push to team repositories</string>
<string name="newTeamPermissionAdmin">Members can pull and push to team repositories and add collaborators to them</string>
<string name="teamNameEmpty">Please enter team name</string>
<string name="teamNameError">Team name should contain only alphanumeric, dash (-), underscore (_) and dot (.) characters</string>
<string name="teamPermissionEmpty">Please select permission</string>
<string name="teamDescError">Team description have illegal characters</string>
<string name="teamDescLimit">Team description have more than 100 characters</string>
<string name="teamCreated">Team created successfully</string>
<string name="teamCreatedError">Something went wrong, please try again</string>
<!-- create team -->
<!-- edit comment -->
<string name="editCommentTitle">Edit Comment</string>
<string name="editCommentButtonText">Edit</string>
<string name="editCommentUpdatedText">Comment updated</string>
<!-- edit comment -->
<!-- add collaborator -->
<string name="addCollaboratorTitle">Add / Remove Collaborator</string>
<string name="addCollaboratorSearchHint">Search users</string>
<string name="addCollaboratorViewUserDesc">Username</string>
<string name="removeCollaboratorTitle">Remove\u0020</string>
<string name="removeCollaboratorMessage">Do you want to remove this user from the repository?</string>
<string name="removeCollaboratorToastText">User removed from the repository.</string>
<string name="addCollaboratorToastText">User added to the repository.</string>
<!-- add collaborator -->
<!-- profile section -->
<string name="profileTabFollowers">Followers</string>
<string name="profileTabFollowing">Following</string>
<string name="profileCreateNewEmailAddress">افزدون پست الکترونیکی</string>
<string name="profileEmailButton">Save</string>
<string name="profileEmailTitle">Email Address</string>
<string name="emailAddedText">New email added successfully.</string>
<string name="emailErrorEmpty">Email address is empty.</string>
<string name="emailErrorInvalid">Email address is not valid</string>
<string name="emailErrorInUse">Email address is already in use</string>
<string name="emailTypeText">Primary</string>
<string name="profileTabEmails">Emails</string>
<!-- profile section -->
<!-- single issue section -->
<string name="singleIssueEditLabels">Add / Remove Labels</string>
<string name="labelsUpdated">Labels updated</string>
<string name="closeIssue">Close Issue</string>
<string name="replyToIssue">Add Comment</string>
<string name="editIssue">Edit Issue</string>
<string name="reOpenIssue">Reopen Issue</string>
<string name="issueStateClosed">Issue closed</string>
<string name="issueStateReopened">Issue reopened</string>
<string name="addRemoveAssignees2">Add Assignees</string>
<string name="addRemoveAssignees">Add / Remove Assignees</string>
<string name="assigneesUpdated">Assignees updated</string>
<!-- single issue section -->
<!-- multi select dialog -->
<string name="select_entry">Select Entries</string>
<string name="validation_text">Please select at least one option</string>
<string name="please_select_atleast">Please select at least </string>
<string name="you_can_only_select_upto">You can only select up to </string>
<string name="option"> option</string>
<string name="options"> options</string>
<string name="select_all">Select all</string>
<string name="de_select_all">Deselect all</string>
<!-- multi select dialog -->
<string name="repoMetaData">Repository Meta</string>
<!-- admin -->
<string name="adminCreateNewUser">Add New User</string>
<string name="adminUsers">Users</string>
<string name="userRoleAdmin">Admin</string>
<!-- admin -->
<!-- create user -->
<string name="userFullNameText">Full Name</string>
<string name="userEmail">Email</string>
<string name="userUserName">Username</string>
<string name="userPassword">Password</string>
<string name="userInvalidFullName">Invalid Full Name</string>
<string name="userInvalidUserName">Invalid Username</string>
<string name="userInvalidEmail">Invalid Email</string>
<string name="userCreatedText">New user added successfully</string>
<string name="userExistsError">User already exists</string>
<!-- create user -->
<!-- sponsors -->
<!-- sponsors -->
<!-- edit issue -->
<string name="editIssueNavHeader">Edit Issue #%1$s</string>
<string name="editIssueSuccessMessage">Issue updated.</string>
<!-- edit issue -->
<!-- release -->
<string name="createRelease">New Release</string>
<string name="releaseTagNameText">Tag Name</string>
<string name="releaseTitleText">Title</string>
<string name="releaseContentText">Content</string>
<string name="releaseTypeText">Mark as Pre-Release</string>
<string name="releaseBranchText">Select Branch</string>
<string name="releaseDraftText">Draft</string>
<string name="tagNameErrorEmpty">Tag name is empty</string>
<string name="titleErrorEmpty">Title is empty</string>
<string name="releaseCreatedText">New release created</string>
<!-- release -->
<string name="loginOTPError">Enter OTP code</string>
<string name="loginOTPTypeError">OTP code should be numbers.</string>
<string name="loginOTP">OTP Code (Optional)</string>
<string name="otpMessage">Enter the otp code if 2FA is enabled</string>
<string name="openWebRepo">Open in Browser</string>
<string name="repoStargazersInMenu">Stargazers</string>
<string name="repoWatchersInMenu">Watchers</string>
<string name="noDataStargazers">No stars found</string>
<string name="noDataWatchers">No watchers found</string>
<string name="starMember">Star</string>
<string name="watcherMember">Watcher</string>
<string name="commitLinkBranchesTab">Commit</string>
<string name="zipArchiveDownloadReleasesTab">Zip Archive</string>
<string name="tarArchiveDownloadReleasesTab">Tar Archive</string>
<!-- new file -->
<string name="newFileNameTintCopy">File Name</string>
<string name="newFileBranchTintCopy">New Branch Name</string>
<string name="newFileContentTintCopy">File Content</string>
<string name="newFileButtonCopy">Create New File</string>
<string name="newFileNameHintMessage">with folder: app/test.md</string>
<string name="newFileMessageTintCopy">Commit Message</string>
<string name="newFileInvalidBranchName">Invalid branch name, may only contain &#8211;, a&#8211;z, 0&#8211;9</string>
<string name="newFileCommitMessageError">Commit message is too long</string>
<string name="newFileSuccessMessage">New file created</string>
<string name="newFileOldBranches">Current Branches</string>
<string name="newFileRequiredFields">Fields like filename, content and commit message are required</string>
<string name="newFileCurrentBranchMessage">Selecting current branch will disable new branch</string>
<string name="newFileNewBranchMessage">e.g: new-branch</string>
<string name="newFileRequiredFieldNewBranchName">New branch name cannot be empty if current branch is not selected</string>
<string name="strFilter">Filter</string>
<string name="copyIssueUrl">Copy Issue URL</string>
<string name="copyIssueUrlToastMsg">Issue URL copied to clipboard</string>
<string name="milestoneCompletion">%1$d\uFF05 completed</string>
<!-- files -->
<string name="noDataFilesTab">No files found</string>
<string name="filesDirNotSupportedYet">Directory browsing is not supported yet</string>
<string name="filesGenericError">Sorry this file cannot be viewed as API returned an error</string>
<string name="filesBreadcrumb">Root</string>
<!-- generic copy -->
<string name="okButton">OK</string>
<string name="doneButton">Done</string>
<string name="cancelButton">Cancel</string>
<string name="genericError">Something went wrong, please try again</string>
<string name="apiNotFound">This request needs higher Gitea version than the one installed. Please upgrade your instance to the latest version of Gitea.</string>
<string name="noDataFound">No data found</string>
<string name="addButton">Add</string>
<string name="removeButton">Remove</string>
<string name="authorizeError">You are not authorized to perform this action.</string>
<string name="menuContentDesc">Menu</string>
<string name="menuEditText">Edit</string>
<string name="menuDeleteText">Delete</string>
<string name="modifiedText">edited</string>
<string name="saveButton">Save</string>
<string name="nameText">Name</string>
<string name="descriptionText">Description</string>
<string name="websiteText">Website</string>
<string name="locationText">Location</string>
<string name="characters255Limit">حداکثر 255 کاراکتر</string>
<string name="emptyFields">All fields are required</string>
<!-- generic copy -->
<string name="translateText">Translate GitNex with Crowdin</string>
</resources>