From a9f9e7c013d90757bb7d464cb89e26bb27cd246e Mon Sep 17 00:00:00 2001 From: kramo Date: Wed, 28 May 2025 13:22:10 +0200 Subject: [PATCH] fix(i18n): use correct base capitalization style (#7975) Update several strings according to https://forgejo.org/docs/next/contributor/localization-english/#capitalization Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7975 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Gusted Co-authored-by: kramo Co-committed-by: kramo --- options/locale/locale_en-US.ini | 90 ++++++++++++++++----------------- tests/e2e/webauthn.test.e2e.ts | 2 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 856e070efb..1cd824b45d 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -7,9 +7,9 @@ logo = Logo sign_in = Sign in sign_in_with_provider = Sign in with %s sign_in_or = or -sign_out = Sign Out +sign_out = Sign out sign_up = Register -link_account = Link Account +link_account = Link account register = Register version = Version powered_by = Powered by %s @@ -740,7 +740,7 @@ ssh_gpg_keys = SSH / GPG keys applications = Applications orgs = Organizations repos = Repositories -delete = Delete Account +delete = Delete account twofa = Two-factor authentication (TOTP) organization = Organizations uid = UID @@ -1540,11 +1540,11 @@ projects.card_type.images_and_text = Images and text projects.card_type.text_only = Text only issues.desc = Organize bug reports, tasks and milestones. -issues.filter_assignees = Filter Assignee -issues.filter_milestones = Filter Milestone -issues.filter_projects = Filter Project -issues.filter_labels = Filter Label -issues.filter_reviewers = Filter Reviewer +issues.filter_assignees = Filter assignee +issues.filter_milestones = Filter milestone +issues.filter_projects = Filter project +issues.filter_labels = Filter label +issues.filter_reviewers = Filter reviewer issues.filter_no_results = No results issues.filter_no_results_placeholder = Try adjusting your search filters. issues.new = New issue @@ -2106,7 +2106,7 @@ signing.wont_sign.not_signed_in = You are not signed in. ext_wiki = External Wiki wiki = Wiki -wiki.welcome = Welcome to the Wiki. +wiki.welcome = Welcome to the wiki. wiki.welcome_desc = The wiki lets you write and share documentation with collaborators. wiki.desc = Write and share documentation with collaborators. wiki.create_first_page = Create the first page @@ -2389,7 +2389,7 @@ settings.add_collaborator_duplicate = The collaborator is already added to this settings.add_collaborator_blocked_our = Cannot add the collaborator, because the repository owner has blocked them. settings.add_collaborator_blocked_them = Cannot add the collaborator, because they have blocked the repository owner. settings.delete_collaborator = Remove -settings.collaborator_deletion = Remove Collaborator +settings.collaborator_deletion = Remove collaborator settings.collaborator_deletion_desc = Removing a collaborator will revoke their access to this repository. Continue? settings.remove_collaborator_success = The collaborator has been removed. settings.org_not_allowed_to_be_collaborator = Organizations cannot be added as a collaborator. @@ -2645,36 +2645,36 @@ settings.unarchive.text = Unarchiving the repo will restore its ability to recei settings.unarchive.success = The repo was successfully unarchived. settings.unarchive.error = An error occurred while trying to unarchive the repo. See the log for more details. settings.update_avatar_success = The repository avatar has been updated. -settings.lfs=LFS -settings.lfs_filelist=LFS files stored in this repository -settings.lfs_no_lfs_files=No LFS files stored in this repository -settings.lfs_findcommits=Find commits -settings.lfs_lfs_file_no_commits=No commits found for this LFS file -settings.lfs_noattribute=This path does not have the lockable attribute in the default branch -settings.lfs_delete=Delete LFS file with OID %s -settings.lfs_delete_warning=Deleting an LFS file may cause "object does not exist" errors on checkout. Are you sure? -settings.lfs_findpointerfiles=Find pointer files -settings.lfs_locks=Locks -settings.lfs_invalid_locking_path=Invalid path: %s -settings.lfs_invalid_lock_directory=Cannot lock directory: %s -settings.lfs_lock_already_exists=Lock already exists: %s -settings.lfs_lock=Lock -settings.lfs_lock_path=Filepath to lock… -settings.lfs_locks_no_locks=No locks -settings.lfs_lock_file_no_exist=Locked file does not exist in default branch -settings.lfs_force_unlock=Force unlock -settings.lfs_pointers.found=Found %d blob pointer(s) - %d associated, %d unassociated (%d missing from store) -settings.lfs_pointers.sha=Blob hash -settings.lfs_pointers.oid=OID -settings.lfs_pointers.inRepo=In repo -settings.lfs_pointers.exists=Exists in store -settings.lfs_pointers.accessible=Accessible to user -settings.lfs_pointers.associateAccessible=Associate accessible %d OIDs -settings.rename_branch_failed_protected=Cannot rename branch %s because it is a protected branch. -settings.rename_branch_failed_exist=Cannot rename branch because target branch %s exists. -settings.rename_branch_failed_not_exist=Cannot rename branch %s because it does not exist. -settings.rename_branch_success =Branch %s was successfully renamed to %s. -settings.rename_branch=Rename branch +settings.lfs = LFS +settings.lfs_filelist = LFS files stored in this repository +settings.lfs_no_lfs_files = No LFS files stored in this repository +settings.lfs_findcommits = Find commits +settings.lfs_lfs_file_no_commits = No commits found for this LFS file +settings.lfs_noattribute = This path does not have the lockable attribute in the default branch +settings.lfs_delete = Delete LFS file with OID %s +settings.lfs_delete_warning = Deleting an LFS file may cause "object does not exist" errors on checkout. Are you sure? +settings.lfs_findpointerfiles = Find pointer files +settings.lfs_locks = Locks +settings.lfs_invalid_locking_path = Invalid path: %s +settings.lfs_invalid_lock_directory = Cannot lock directory: %s +settings.lfs_lock_already_exists = Lock already exists: %s +settings.lfs_lock = Lock +settings.lfs_lock_path = Filepath to lock… +settings.lfs_locks_no_locks = No locks +settings.lfs_lock_file_no_exist = Locked file does not exist in default branch +settings.lfs_force_unlock = Force unlock +settings.lfs_pointers.found = Found %d blob pointer(s) - %d associated, %d unassociated (%d missing from store) +settings.lfs_pointers.sha = Blob hash +settings.lfs_pointers.oid = OID +settings.lfs_pointers.inRepo = In repo +settings.lfs_pointers.exists = Exists in store +settings.lfs_pointers.accessible = Accessible to user +settings.lfs_pointers.associateAccessible = Associate accessible %d OIDs +settings.rename_branch_failed_protected = Cannot rename branch %s because it is a protected branch. +settings.rename_branch_failed_exist = Cannot rename branch because target branch %s exists. +settings.rename_branch_failed_not_exist = Cannot rename branch %s because it does not exist. +settings.rename_branch_success = Branch %s was successfully renamed to %s. +settings.rename_branch = Rename branch diff.browse_source = Browse source diff.parent = parent @@ -3777,8 +3777,8 @@ swift.install2 = and run the following command: vagrant.install = To add a Vagrant box, run the following command: settings.link = Link this package to a repository settings.link.description = If you link a package with a repository, the package is listed in the repository's package list. -settings.link.select = Select Repository -settings.link.button = Update Repository Link +settings.link.select = Select repository +settings.link.button = Update repository link settings.link.success = Repository link was successfully updated. settings.link.error = Failed to update repository link. settings.delete = Delete package @@ -3824,7 +3824,7 @@ owner.settings.chef.keypair.description = Requests sent to the Chef registry mus secrets = Secrets description = Secrets will be passed to certain actions and cannot be read otherwise. none = There are no secrets yet. -creation = Add Secret +creation = Add secret creation.name_placeholder = case-insensitive, alphanumeric characters or underscores only, cannot start with GITEA_ or GITHUB_ creation.value_placeholder = Input any content. Whitespace at the start and end will be omitted. creation.success = The secret "%s" has been added. @@ -3866,7 +3866,7 @@ runners.task_list.run = Run runners.task_list.status = Status runners.task_list.repository = Repository runners.task_list.commit = Commit -runners.task_list.done_at = Done At +runners.task_list.done_at = Done at runners.edit_runner = Edit Runner runners.update_runner = Update changes runners.update_runner_success = Runner updated successfully @@ -3939,7 +3939,7 @@ variables.update.failed = Failed to edit variable. variables.update.success = The variable has been edited. [projects] -deleted.display_name = Deleted Project +deleted.display_name = Deleted project type-1.display_name = Individual project type-2.display_name = Repository project type-3.display_name = Organization project diff --git a/tests/e2e/webauthn.test.e2e.ts b/tests/e2e/webauthn.test.e2e.ts index 144f52e374..0b5a6a6c2b 100644 --- a/tests/e2e/webauthn.test.e2e.ts +++ b/tests/e2e/webauthn.test.e2e.ts @@ -40,7 +40,7 @@ test('WebAuthn register & login flow', async ({browser, request}, workerInfo) => // Logout. await expect(async () => { await page.locator('div[aria-label="Profile and settings…"]').click(); - await page.getByText('Sign Out').click(); + await page.getByText('Sign out').click(); }).toPass(); await page.waitForURL(`${workerInfo.project.use.baseURL}/`);