Skip to content

Commit 7f97461

Browse files
denyskonfuxiaohei
authored andcommitted
fix issues in translation file (go-gitea#27699)
- use correct comment sign for INI (`;`) - remove duplicated `repo.branch.search` key - remove duplicated spaces & similar
1 parent a3fea90 commit 7f97461

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

options/locale/locale_en-US.ini

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ code_last_indexed_at = Last indexed %s
356356
relevant_repositories_tooltip = Repositories that are forks or that have no topic, no icon, and no description are hidden.
357357
relevant_repositories = Only relevant repositories are being shown, <a href="%s">show unfiltered results</a>.
358358

359-
360359
[auth]
361360
create_new_account = Register Account
362361
register_helper_msg = Already have an account? Sign in now!
@@ -859,7 +858,7 @@ oauth2_client_secret_hint = The secret will not be shown again after you leave o
859858
oauth2_application_edit = Edit
860859
oauth2_application_create_description = OAuth2 applications gives your third-party application access to user accounts on this instance.
861860
oauth2_application_remove_description = Removing an OAuth2 application will prevent it from accessing authorized user accounts on this instance. Continue?
862-
oauth2_application_locked = Gitea pre-registers some OAuth2 applications on startup if enabled in config. To prevent unexpected bahavior, these can neither be edited nor removed. Please refer to the OAuth2 documentation for more information.
861+
oauth2_application_locked = Gitea pre-registers some OAuth2 applications on startup if enabled in config. To prevent unexpected behavior, these can neither be edited nor removed. Please refer to the OAuth2 documentation for more information.
863862

864863
authorized_oauth2_applications = Authorized OAuth2 Applications
865864
authorized_oauth2_applications_description = You have granted access to your personal Gitea account to these third party applications. Please revoke access for applications you no longer need.
@@ -927,7 +926,7 @@ visibility.private = Private
927926
visibility.private_tooltip = Visible only to members of organizations you have joined
928927

929928
[repo]
930-
new_repo_helper = A repository contains all project files, including revision history. Already hosting one elsewhere? <a href="%s">Migrate repository.</a>
929+
new_repo_helper = A repository contains all project files, including revision history. Already hosting one elsewhere? <a href="%s">Migrate repository.</a>
931930
owner = Owner
932931
owner_helper = Some organizations may not show up in the dropdown due to a maximum repository count limit.
933932
repo_name = Repository Name
@@ -1024,9 +1023,9 @@ tree_path_not_found_branch = Path %[1]s doesn't exist in branch %[2]s
10241023
tree_path_not_found_tag = Path %[1]s doesn't exist in tag %[2]s
10251024

10261025
transfer.accept = Accept Transfer
1027-
transfer.accept_desc = Transfer to "%s"
1026+
transfer.accept_desc = Transfer to "%s"
10281027
transfer.reject = Reject Transfer
1029-
transfer.reject_desc = Cancel transfer to "%s"
1028+
transfer.reject_desc = Cancel transfer to "%s"
10301029
transfer.no_permission_to_accept = You do not have permission to accept this transfer.
10311030
transfer.no_permission_to_reject = You do not have permission to reject this transfer.
10321031

@@ -1160,7 +1159,7 @@ releases = Releases
11601159
tag = Tag
11611160
released_this = released this
11621161
tagged_this = tagged this
1163-
file.title = %s at %s
1162+
file.title = %s at %s
11641163
file_raw = Raw
11651164
file_history = History
11661165
file_view_source = View Source
@@ -2508,7 +2507,6 @@ release.releases_for = Releases for %s
25082507
release.tags_for = Tags for %s
25092508

25102509
branch.name = Branch Name
2511-
branch.search = Search branches
25122510
branch.already_exists = A branch named "%s" already exists.
25132511
branch.delete_head = Delete
25142512
branch.delete = Delete Branch "%s"
@@ -3175,8 +3173,8 @@ monitor.start = Start Time
31753173
monitor.execute_time = Execution Time
31763174
monitor.last_execution_result = Result
31773175
monitor.process.cancel = Cancel process
3178-
monitor.process.cancel_desc = Cancelling a process may cause data loss
3179-
monitor.process.cancel_notices = Cancel: <strong>%s</strong>?
3176+
monitor.process.cancel_desc = Cancelling a process may cause data loss
3177+
monitor.process.cancel_notices = Cancel: <strong>%s</strong>?
31803178
monitor.process.children = Children
31813179

31823180
monitor.queues = Queues
@@ -3240,7 +3238,7 @@ mirror_sync_create = synced new reference <a href="%[2]s">%[3]s</a> to <a href="
32403238
mirror_sync_delete = synced and deleted reference <code>%[2]s</code> at <a href="%[1]s">%[3]s</a> from mirror
32413239
approve_pull_request = `approved <a href="%[1]s">%[3]s#%[2]s</a>`
32423240
reject_pull_request = `suggested changes for <a href="%[1]s">%[3]s#%[2]s</a>`
3243-
publish_release = `released <a href="%[2]s"> "%[4]s" </a> at <a href="%[1]s">%[3]s</a>`
3241+
publish_release = `released <a href="%[2]s"> "%[4]s" </a> at <a href="%[1]s">%[3]s</a>`
32443242
review_dismissed = `dismissed review from <b>%[4]s</b> for <a href="%[1]s">%[3]s#%[2]s</a>`
32453243
review_dismissed_reason = Reason:
32463244
create_branch = created branch <a href="%[2]s">%[3]s</a> in <a href="%[1]s">%[4]s</a>
@@ -3566,7 +3564,7 @@ type-3.display_name = Organization Project
35663564
35673565
[git.filemode]
35683566
changed_filemode = %[1]s → %[2]s
3569-
# Ordered by git filemode value, ascending. E.g. directory has "040000", normal file has "100644", …
3567+
; Ordered by git filemode value, ascending. E.g. directory has "040000", normal file has "100644", …
35703568
directory = Directory
35713569
normal_file = Normal file
35723570
executable_file = Executable file

0 commit comments

Comments
 (0)