- portable UTF-8 base64 helpers (Hermes-safe), used for file round-trips - endpoints: updateFileContents, createFileContents, createPull - hooks: useCommitFile (invalidates repo cache), useCreatePull - FileEdit screen: native monospace editor, dirty/discard, branch picker, commit-to-new-branch, protected-branch handling, post-commit PR creation; stale-SHA 409 surfaces as a conflict message - settings: editor URL template; repo overview 'Open in editor' (no token) - tests: base64 round-trips (accents/emoji), editor URL expansion
440 lines
16 KiB
JSON
440 lines
16 KiB
JSON
{
|
||
"common": {
|
||
"appName": "Gitea Native",
|
||
"tagline": "Unofficial Gitea client",
|
||
"unofficialNotice": "Unofficial — not affiliated with the Gitea project",
|
||
"cancel": "Cancel",
|
||
"close": "Close",
|
||
"retry": "Try again",
|
||
"save": "Save",
|
||
"done": "Done",
|
||
"delete": "Delete",
|
||
"remove": "Remove",
|
||
"disconnect": "Disconnect",
|
||
"confirm": "Confirm",
|
||
"edit": "Edit",
|
||
"refresh": "Refresh",
|
||
"search": "Search",
|
||
"clear": "Clear",
|
||
"loading": "Loading…",
|
||
"viewAll": "View all",
|
||
"back": "Back",
|
||
"signIn": "Sign in",
|
||
"signOut": "Sign out",
|
||
"optional": "optional",
|
||
"required": "required",
|
||
"copy": "Copy",
|
||
"copied": "Copied",
|
||
"unknown": "Unknown",
|
||
"never": "Never",
|
||
"add": "Add",
|
||
"showSecret": "Show value",
|
||
"hideSecret": "Hide value",
|
||
"clearField": "Clear field"
|
||
},
|
||
"tabs": {
|
||
"home": "Home",
|
||
"repositories": "Repositories",
|
||
"issues": "Issues",
|
||
"pullRequests": "Pull Requests",
|
||
"inbox": "Inbox"
|
||
},
|
||
"auth": {
|
||
"welcome": {
|
||
"title": "Your Gitea, in your pocket",
|
||
"subtitle": "Browse repositories, issues, pull requests and notifications from any self-hosted Gitea instance.",
|
||
"disclaimer": "Gitea Native is an open-source, unofficial client. It is not affiliated with, endorsed by, or connected to the Gitea project.",
|
||
"connectButton": "Connect an instance",
|
||
"yourAccounts": "Your accounts"
|
||
},
|
||
"connect": {
|
||
"title": "Connect instance",
|
||
"instanceUrl": "Instance address",
|
||
"instanceUrlPlaceholder": "https://codeberg.org",
|
||
"instanceUrlHelp": "The address of your Gitea instance. Remote instances must use HTTPS.",
|
||
"token": "Personal access token",
|
||
"tokenPlaceholder": "Paste your token",
|
||
"tokenHelp": "Create a token in Gitea → Settings → Applications → Generate Token. It is stored securely in your device keychain and never leaves your device except to talk to this instance.",
|
||
"label": "Label",
|
||
"labelPlaceholder": "Work, personal…",
|
||
"submit": "Validate and connect",
|
||
"validating": "Validating credentials…",
|
||
"saving": "Saving…",
|
||
"checkingVersion": "Contacting instance…"
|
||
},
|
||
"errors": {
|
||
"url": "That instance address is not valid.",
|
||
"token": "Enter your personal access token.",
|
||
"insecure": "Remote instances must use HTTPS.",
|
||
"network": "Could not reach the instance. Check the address and your connection.",
|
||
"auth": "The token was rejected by this instance. Check that it is valid and not expired.",
|
||
"forbidden": "This token does not have permission to access your account.",
|
||
"generic": "Could not connect to this instance."
|
||
}
|
||
},
|
||
"lock": {
|
||
"title": "App locked",
|
||
"subtitle": "Authenticate to unlock Gitea Native",
|
||
"unlock": "Unlock",
|
||
"unlocking": "Authenticating…",
|
||
"biometricPrompt": "Unlock Gitea Native",
|
||
"failed": "Authentication failed. Try again.",
|
||
"unavailable": "Biometric unlock is unavailable. Disable it in Settings to continue.",
|
||
"notConfigured": "Set up Face ID, fingerprint or screen lock in your device settings."
|
||
},
|
||
"home": {
|
||
"greeting": "Signed in as {{name}}",
|
||
"instanceOn": "on {{instance}}",
|
||
"shortcuts": "Shortcuts",
|
||
"shortcutRepositories": "Repositories",
|
||
"shortcutIssues": "Your issues",
|
||
"shortcutPulls": "Your pull requests",
|
||
"shortcutInbox": "Inbox",
|
||
"recentRepos": "Recent repositories",
|
||
"assignedIssues": "Assigned to you",
|
||
"reviewPulls": "Review requested",
|
||
"activity": "Recent activity",
|
||
"unreadNotifications": "{{count}} unread notifications",
|
||
"emptyRepos": "No repositories yet",
|
||
"emptyIssues": "Nothing is assigned to you",
|
||
"emptyPulls": "No pull requests need your attention",
|
||
"emptyActivity": "No recent activity"
|
||
},
|
||
"repositories": {
|
||
"title": "Repositories",
|
||
"searchPlaceholder": "Search repositories",
|
||
"sortUpdated": "Recently updated",
|
||
"sortName": "Name",
|
||
"sortStars": "Most stars",
|
||
"sortCreated": "Recently created",
|
||
"visibilityAll": "All",
|
||
"visibilityPrivate": "Private",
|
||
"visibilityPublic": "Public",
|
||
"starred": "Starred",
|
||
"all": "All",
|
||
"empty": "No repositories yet",
|
||
"emptySearch": "No repositories match “{{query}}”",
|
||
"emptyStarred": "You haven't starred any repositories",
|
||
"private": "Private",
|
||
"fork": "Fork",
|
||
"archived": "Archived",
|
||
"template": "Template",
|
||
"mirror": "Mirror",
|
||
"updated": "Updated {{when}}",
|
||
"createdAt": "Created {{when}}",
|
||
"owner": "Owner"
|
||
},
|
||
"repo": {
|
||
"overview": "Overview",
|
||
"files": "Files",
|
||
"commits": "Commits",
|
||
"branches": "Branches",
|
||
"tags": "Tags",
|
||
"issuesTab": "Issues",
|
||
"pullsTab": "Pull requests",
|
||
"readme": "README",
|
||
"description": "Description",
|
||
"defaultBranch": "Default branch",
|
||
"topics": "Topics",
|
||
"statistics": "Statistics",
|
||
"stars": "Stars",
|
||
"forks": "Forks",
|
||
"watchers": "Watchers",
|
||
"openIssues": "Open issues",
|
||
"openPulls": "Open pull requests",
|
||
"releases": "Releases",
|
||
"language": "Language",
|
||
"size": "Size",
|
||
"license": "License",
|
||
"createdAt": "Created",
|
||
"updatedAt": "Updated",
|
||
"pushedAt": "Last push",
|
||
"noDescription": "No description provided",
|
||
"notFound": "This repository could not be found.",
|
||
"noPermission": "You don't have permission to view this repository.",
|
||
"viewOnInstance": "Open in browser",
|
||
"openInEditor": "Open in editor",
|
||
"browse": "Browse",
|
||
"empty": "This repository is empty",
|
||
"noReadme": "No README file",
|
||
"languages": "Languages"
|
||
},
|
||
"files": {
|
||
"title": "Files",
|
||
"root": "root",
|
||
"empty": "This folder is empty",
|
||
"binary": "Binary file — no preview",
|
||
"large": "This file is large ({{size}}). Preview may be incomplete.",
|
||
"image": "Image preview",
|
||
"lines": "{{count}} lines",
|
||
"loadingFile": "Loading file…",
|
||
"rawUnavailable": "File contents could not be loaded.",
|
||
"submodule": "Submodule",
|
||
"symlink": "Symlink to {{target}}",
|
||
"currentRef": "Branch: {{ref}}",
|
||
"pathNotFound": "This path does not exist in the repository."
|
||
},
|
||
"commits": {
|
||
"title": "Commits",
|
||
"empty": "No commits yet",
|
||
"emptyPath": "No commits for this path",
|
||
"stats": "+{{additions}} −{{deletions}}",
|
||
"filesChanged": "{{count}} files changed",
|
||
"verified": "Verified",
|
||
"unverified": "Unverified signature",
|
||
"commitTitle": "Commit {{sha}}",
|
||
"parents": "Parents",
|
||
"changes": "Changes",
|
||
"message": "Message",
|
||
"author": "Author",
|
||
"committer": "Committed",
|
||
"showAllFiles": "Show all files",
|
||
"fileFilter": "File: {{path}}",
|
||
"diff": "Diff"
|
||
},
|
||
"branches": {
|
||
"title": "Branches",
|
||
"searchPlaceholder": "Search branches",
|
||
"current": "Current",
|
||
"protected": "Protected",
|
||
"default": "Default",
|
||
"empty": "No branches found",
|
||
"tagsTitle": "Tags",
|
||
"emptyTags": "No tags yet"
|
||
},
|
||
"issues": {
|
||
"title": "Issues",
|
||
"searchPlaceholder": "Search issues",
|
||
"assigned": "Assigned",
|
||
"created": "Authored",
|
||
"mentioned": "Mentioned",
|
||
"stateOpen": "Open",
|
||
"stateClosed": "Closed",
|
||
"stateAll": "All",
|
||
"emptyAssigned": "No issues are assigned to you",
|
||
"emptyCreated": "You haven't created any issues",
|
||
"emptySearch": "No issues match “{{query}}”",
|
||
"comments": "{{count}} comments",
|
||
"open": "Open",
|
||
"closed": "Closed",
|
||
"inRepository": "in {{repository}}",
|
||
"detailsUnavailable": "Issue details are not available yet.",
|
||
"openedBy": "Opened by {{name}}",
|
||
"assignedTo": "Assigned to {{name}}",
|
||
"labels": "Labels",
|
||
"milestone": "Milestone",
|
||
"noDescription": "No description provided",
|
||
"notFound": "This issue could not be found.",
|
||
"reopen": "Reopen",
|
||
"close": "Close",
|
||
"compose": {
|
||
"createTitle": "New issue",
|
||
"editTitle": "Edit issue",
|
||
"title": "Title",
|
||
"titlePlaceholder": "Short, descriptive title",
|
||
"titleRequired": "A title is required.",
|
||
"body": "Description",
|
||
"bodyPlaceholder": "Describe the issue…",
|
||
"bodyHelp": "Markdown is supported.",
|
||
"assignees": "Assignees",
|
||
"noLabels": "No labels available",
|
||
"noAssignees": "No collaborators available",
|
||
"noMilestones": "No open milestones",
|
||
"create": "Create issue",
|
||
"save": "Save changes"
|
||
}
|
||
},
|
||
"pulls": {
|
||
"title": "Pull requests",
|
||
"searchPlaceholder": "Search pull requests",
|
||
"reviewRequested": "Review requested",
|
||
"created": "Authored",
|
||
"stateOpen": "Open",
|
||
"stateClosed": "Closed",
|
||
"stateMerged": "Merged",
|
||
"stateAll": "All",
|
||
"draft": "Draft",
|
||
"emptyReview": "No pull requests are waiting for your review",
|
||
"emptyCreated": "You haven't created any pull requests",
|
||
"emptySearch": "No pull requests match “{{query}}”",
|
||
"into": "{{head}} → {{base}}",
|
||
"detailsUnavailable": "Pull request details are not available yet.",
|
||
"openedBy": "Opened by {{name}}",
|
||
"reviewers": "Reviewers",
|
||
"noDescription": "No description provided",
|
||
"changedFiles": "{{count}} files changed",
|
||
"notFound": "This pull request could not be found.",
|
||
"files": "Files ({{count}})",
|
||
"changedFilesTitle": "Changed files",
|
||
"diff": "Diff",
|
||
"viewFullDiff": "View full diff",
|
||
"loadingDiff": "Loading diff…",
|
||
"noChanges": "No changes to display",
|
||
"noChangedFiles": "No changed files",
|
||
"noChangesBody": "This pull request has no file changes.",
|
||
"fileAdded": "Added",
|
||
"fileRemoved": "Removed",
|
||
"fileModified": "Modified",
|
||
"fileRenamed": "Renamed",
|
||
"fileCopied": "Copied",
|
||
"fileChanged": "Changed",
|
||
"reviews": "Reviews",
|
||
"approve": "Approve",
|
||
"requestChanges": "Request changes",
|
||
"comment": "Comment",
|
||
"merge": "Merge",
|
||
"mergeSquash": "Squash",
|
||
"mergeCreate": "Merge commit",
|
||
"mergeConfirmTitle": "Merge pull request?",
|
||
"mergeConfirmBody": "Choose how this pull request should be merged.",
|
||
"mergeSuccessTitle": "Merged",
|
||
"mergeSuccessBody": "The pull request was merged.",
|
||
"notMergeable": "This pull request cannot be merged automatically.",
|
||
"reviewStateApproved": "Approved",
|
||
"reviewStateChanges": "Changes requested",
|
||
"reviewStateComment": "Commented",
|
||
"reviewStatePending": "Pending",
|
||
"review": {
|
||
"approve": "Approving this pull request.",
|
||
"request_changes": "Requesting changes to this pull request.",
|
||
"comment": "Leaving a review comment.",
|
||
"body": "Review comment",
|
||
"placeholder": "Write your review…",
|
||
"submit": "Submit review"
|
||
}
|
||
},
|
||
"comments": {
|
||
"title": "Comments",
|
||
"add": "Add a comment",
|
||
"placeholder": "Leave a comment…",
|
||
"submit": "Comment",
|
||
"loading": "Loading comments…",
|
||
"empty": "No comments yet",
|
||
"emptyBody": "No content",
|
||
"edited": "edited",
|
||
"deleteTitle": "Delete comment?",
|
||
"deleteBody": "This comment will be permanently deleted."
|
||
},
|
||
"checks": {
|
||
"success": "Checks passed",
|
||
"pending": "Checks pending",
|
||
"failure": "Checks failed",
|
||
"error": "Checks errored",
|
||
"warning": "Checks warning",
|
||
"skipped": "Checks skipped",
|
||
"noStatus": "No checks",
|
||
"count": "{{count}} checks",
|
||
"unnamed": "check"
|
||
},
|
||
"edit": {
|
||
"title": "Edit file",
|
||
"discard": "Discard changes",
|
||
"branch": "Commit to branch",
|
||
"loadingBranches": "Loading branches…",
|
||
"createBranch": "Create a new branch",
|
||
"newBranchName": "New branch name",
|
||
"newBranchPlaceholder": "feature/my-change",
|
||
"protectedBranch": "{{branch}} is protected. Your change will be committed to a new branch.",
|
||
"commitMessage": "Commit message",
|
||
"commitMessagePlaceholder": "Describe your change",
|
||
"openPullRequest": "Open a pull request",
|
||
"prTitle": "Pull request title",
|
||
"prTitlePlaceholder": "Title for the pull request",
|
||
"incomplete": "Add a commit message and a target branch.",
|
||
"commit": "Commit changes",
|
||
"commitSuccessTitle": "Committed",
|
||
"commitSuccessBody": "Your changes were committed."
|
||
},
|
||
"inbox": {
|
||
"title": "Inbox",
|
||
"filterUnread": "Unread",
|
||
"filterAll": "All",
|
||
"markRead": "Mark as read",
|
||
"markAllRead": "Mark all as read",
|
||
"empty": "You're all caught up",
|
||
"emptyUnread": "No unread notifications",
|
||
"typeIssue": "Issue",
|
||
"typePull": "Pull request",
|
||
"typeCommit": "Commit",
|
||
"typeRepository": "Repository",
|
||
"unread": "Unread",
|
||
"unreadBadge": "{{count}} unread",
|
||
"inRepository": "{{repository}}",
|
||
"openFailed": "This notification could not be opened."
|
||
},
|
||
"settings": {
|
||
"title": "Settings",
|
||
"appearance": "Appearance",
|
||
"theme": "Theme",
|
||
"themeSystem": "System",
|
||
"themeLight": "Light",
|
||
"themeDark": "Dark",
|
||
"language": "Language",
|
||
"languageSystem": "System default",
|
||
"security": "Security",
|
||
"biometrics": "Biometric app lock",
|
||
"biometricsHelp": "Require Face ID, fingerprint or device credentials when reopening the app.",
|
||
"biometricsUnavailable": "No biometric hardware or enrolled credentials on this device.",
|
||
"notifications": "Notifications",
|
||
"pollInterval": "Refresh interval",
|
||
"pollIntervalManual": "Manual only",
|
||
"pollIntervalSeconds": "{{count}} seconds",
|
||
"editor": "Editor",
|
||
"editorUrlTemplate": "Editor URL template",
|
||
"editorUrlPlaceholder": "vscode://vscode.git/clone?url={cloneUrl}",
|
||
"editorUrlHelp": "Leave empty to hide. Placeholders: {owner}, {repo}, {cloneUrl}, {htmlUrl}. Your token is never sent.",
|
||
"data": "Data",
|
||
"clearCache": "Clear cached data",
|
||
"clearCacheTitle": "Clear cached data?",
|
||
"clearCacheConfirm": "This removes all cached repository data. Your accounts stay signed in.",
|
||
"clearCacheDone": "Cached data cleared",
|
||
"accounts": "Accounts and instances",
|
||
"about": "About",
|
||
"version": "Version {{version}}",
|
||
"aboutBody": "Gitea Native is an unofficial, open-source client for Gitea. It is not affiliated with, endorsed by, or connected to the Gitea project or Codeberg.",
|
||
"giteaProject": "Gitea project"
|
||
},
|
||
"accounts": {
|
||
"title": "Accounts",
|
||
"active": "Active",
|
||
"switchTo": "Switch to {{name}}",
|
||
"addAccount": "Add account",
|
||
"addFirstAccount": "Connect your first Gitea instance",
|
||
"instances": "Instances",
|
||
"accountsOnInstance": "{{count}} accounts",
|
||
"accountOnInstance": "1 account",
|
||
"removeAccountTitle": "Remove account?",
|
||
"removeAccountBody": "{{name}} is removed from this device and its access token is deleted from the keychain. Cached data for this account is cleared.",
|
||
"removeInstanceTitle": "Disconnect instance?",
|
||
"removeInstanceBody": "All accounts on {{instance}} are removed from this device, including their tokens and cached data.",
|
||
"removeDone": "Account removed",
|
||
"disconnectDone": "Instance disconnected",
|
||
"noAccounts": "No accounts yet",
|
||
"signedInAs": "Signed in as {{name}}",
|
||
"instance": "Instance",
|
||
"version": "Gitea {{version}}"
|
||
},
|
||
"errors": {
|
||
"title": "Something went wrong",
|
||
"network": "Could not reach the server. Check your connection and try again.",
|
||
"timeout": "The server took too long to respond.",
|
||
"unauthorized": "Your access token is no longer valid. Sign in again to continue.",
|
||
"forbidden": "You don't have permission to do that.",
|
||
"notFound": "Not found on this instance.",
|
||
"rateLimit": "The instance is rate limiting requests. Try again in a moment.",
|
||
"server": "The instance returned an error. Try again later.",
|
||
"conflict": "The file changed on the server since you loaded it.",
|
||
"invalidResponse": "The server sent a response the app could not read.",
|
||
"unknown": "Unexpected error.",
|
||
"empty": "Nothing here yet",
|
||
"offline": "You appear to be offline. Showing cached data where available."
|
||
},
|
||
"time": {
|
||
"justNow": "just now",
|
||
"minutesAgo": "{{count}}m ago",
|
||
"hoursAgo": "{{count}}h ago",
|
||
"daysAgo": "{{count}}d ago",
|
||
"weeksAgo": "{{count}}w ago"
|
||
}
|
||
}
|