Skip to content

Commit eb78c66

Browse files
GustedGusted
authored andcommitted
i18n: use ellipsis character (go-gitea#7154)
- Instead of using `...`, use the unicode character for ellipsis `…`. - According to weblate: Using the Unicode character is in most cases the better approach and looks better rendered, and may sound better with text-to-speech. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7154 Reviewed-by: 0ko <[email protected]> Reviewed-by: Otto <[email protected]> Co-authored-by: Gusted <[email protected]> Co-committed-by: Gusted <[email protected]>
1 parent 4f027fe commit eb78c66

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

options/locale/locale_en-US.ini

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ filter.public = Public
166166
filter.private = Private
167167

168168
[search]
169-
search = Search...
169+
search = Search
170170
type_tooltip = Search type
171171
fuzzy = Fuzzy
172172
fuzzy_tooltip = Include results that also match the search term closely
@@ -176,20 +176,20 @@ exact = Exact
176176
exact_tooltip = Include only results that match the exact search term
177177
regexp = RegExp
178178
regexp_tooltip = Interpret the search term as a regular expression
179-
repo_kind = Search repos...
180-
user_kind = Search users...
181-
org_kind = Search orgs...
182-
team_kind = Search teams...
183-
code_kind = Search code...
179+
repo_kind = Search repos
180+
user_kind = Search users
181+
org_kind = Search orgs
182+
team_kind = Search teams
183+
code_kind = Search code
184184
code_search_unavailable = Code search is currently not available. Please contact the site administrator.
185-
package_kind = Search packages...
186-
project_kind = Search projects...
187-
branch_kind = Search branches...
188-
commit_kind = Search commits...
189-
runner_kind = Search runners...
185+
package_kind = Search packages
186+
project_kind = Search projects
187+
branch_kind = Search branches
188+
commit_kind = Search commits
189+
runner_kind = Search runners
190190
no_results = No matching results found.
191-
issue_kind = Search issues...
192-
pull_kind = Search pulls...
191+
issue_kind = Search issues
192+
pull_kind = Search pulls
193193
keyword_search_unavailable = Searching by keyword is currently not available. Please contact the site administrator.
194194

195195
[aria]
@@ -1171,7 +1171,7 @@ stars = Stars
11711171
reactions_more = and %d more
11721172
unit_disabled = The site administrator has disabled this repository section.
11731173
language_other = Other
1174-
adopt_search = Enter username to search for unadopted repositories... (leave blank to find all)
1174+
adopt_search = Enter username to search for unadopted repositories (leave blank to find all)
11751175
adopt_preexisting_label = Adopt files
11761176
adopt_preexisting = Adopt pre-existing files
11771177
adopt_preexisting_content = Create repository from %s
@@ -1258,7 +1258,7 @@ migrate.migrate_items_options = Access token is required to migrate additional i
12581258
migrated_from = Migrated from <a href="%[1]s">%[2]s</a>
12591259
migrated_from_fake = Migrated from %[1]s
12601260
migrate.migrate = Migrate from %s
1261-
migrate.migrating = Migrating from <b>%s</b> ...
1261+
migrate.migrating = Migrating from <b>%s</b>
12621262
migrate.migrating_failed = Migrating from <b>%s</b> failed.
12631263
migrate.migrating_failed.error = Failed to migrate: %s
12641264
migrate.migrating_failed_no_addr = Migration failed.
@@ -2656,7 +2656,7 @@ settings.lfs_invalid_locking_path=Invalid path: %s
26562656
settings.lfs_invalid_lock_directory=Cannot lock directory: %s
26572657
settings.lfs_lock_already_exists=Lock already exists: %s
26582658
settings.lfs_lock=Lock
2659-
settings.lfs_lock_path=Filepath to lock...
2659+
settings.lfs_lock_path=Filepath to lock
26602660
settings.lfs_locks_no_locks=No locks
26612661
settings.lfs_lock_file_no_exist=Locked file does not exist in default branch
26622662
settings.lfs_force_unlock=Force unlock
@@ -2866,7 +2866,7 @@ ext_issues = Access the link to an external issue tracker. The permissions are m
28662866
ext_wiki = Access the link to an external wiki. The permissions are managed externally.
28672867

28682868
[graphs]
2869-
component_loading = Loading %s...
2869+
component_loading = Loading %s
28702870
component_loading_failed = Could not load %s
28712871
component_loading_info = This might take a bit…
28722872
component_failed_to_load = An unexpected error happened.

options/locale_next/locale_en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"one": "wants to merge %[1]d commit from <code>%[2]s</code> into <code id=\"%[4]s\">%[3]s</code>",
1313
"other": "wants to merge %[1]d commits from <code>%[2]s</code> into <code id=\"%[4]s\">%[3]s</code>"
1414
},
15-
"search.milestone_kind": "Search milestones...",
15+
"search.milestone_kind": "Search milestones",
1616
"incorrect_root_url": "This Forgejo instance is configured to be served on \"%s\". You are currently viewing Forgejo through a different URL, which may cause parts of the application to break. The canonical URL is controlled by Forgejo admins via the ROOT_URL setting in the app.ini."
1717
}

tests/integration/issue_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func TestViewIssues(t *testing.T) {
8080
htmlDoc := NewHTMLParser(t, resp.Body)
8181
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
8282
placeholder, _ := search.Attr("placeholder")
83-
assert.Equal(t, "Search issues...", placeholder)
83+
assert.Equal(t, "Search issues", placeholder)
8484
}
8585

8686
func TestViewIssuesSortByType(t *testing.T) {

tests/integration/milestone_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestViewMilestones(t *testing.T) {
2121
htmlDoc := NewHTMLParser(t, resp.Body)
2222
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
2323
placeholder, _ := search.Attr("placeholder")
24-
assert.Equal(t, "Search milestones...", placeholder)
24+
assert.Equal(t, "Search milestones", placeholder)
2525
}
2626

2727
func TestMilestonesCount(t *testing.T) {

tests/integration/pull_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestViewPulls(t *testing.T) {
2727
htmlDoc := NewHTMLParser(t, resp.Body)
2828
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
2929
placeholder, _ := search.Attr("placeholder")
30-
assert.Equal(t, "Search pulls...", placeholder)
30+
assert.Equal(t, "Search pulls", placeholder)
3131
}
3232

3333
func TestPullManuallyMergeWarning(t *testing.T) {

tests/integration/repo_collaborator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ func TestRepoCollaborators(t *testing.T) {
3333
// Veirfy placeholder
3434
placeholder, exists := page.Find("#search-user-box input").Attr("placeholder")
3535
assert.True(t, exists)
36-
assert.EqualValues(t, "Search users...", placeholder)
36+
assert.EqualValues(t, "Search users", placeholder)
3737
}

0 commit comments

Comments
 (0)