feat(app): React Navigation shell and i18next setup
- React Navigation 7: conditional root stack (Auth | Main | Repository | Settings | Accounts modal), 5 bottom tabs with nested native stacks - typed param lists, deep-link config, header options, root-nav helper - providers: gesture handler, safe area, theme, persisted query client, app lock - i18next + expo-localization (en/nl), persisted language preference
This commit is contained in:
1 parent
08229fdf86
commit
ad81db07b3
17 files changed
+1500
No files matched your search
@@ -0,0 +1,336 @@
|
||||
{
|
||||
"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",
|
||||
"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."
|
||||
},
|
||||
"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."
|
||||
},
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user