mirror of
1
Fork 0

i18n: use ellipsis character (#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 <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
Gusted 2025-03-08 14:42:14 +00:00 committed by Gusted
parent 4f027fe95a
commit eb78c6618b
6 changed files with 22 additions and 22 deletions

View File

@ -166,7 +166,7 @@ filter.public = Public
filter.private = Private
[search]
search = Search...
search = Search
type_tooltip = Search type
fuzzy = Fuzzy
fuzzy_tooltip = Include results that also match the search term closely
@ -176,20 +176,20 @@ exact = Exact
exact_tooltip = Include only results that match the exact search term
regexp = RegExp
regexp_tooltip = Interpret the search term as a regular expression
repo_kind = Search repos...
user_kind = Search users...
org_kind = Search orgs...
team_kind = Search teams...
code_kind = Search code...
repo_kind = Search repos
user_kind = Search users
org_kind = Search orgs
team_kind = Search teams
code_kind = Search code
code_search_unavailable = Code search is currently not available. Please contact the site administrator.
package_kind = Search packages...
project_kind = Search projects...
branch_kind = Search branches...
commit_kind = Search commits...
runner_kind = Search runners...
package_kind = Search packages
project_kind = Search projects
branch_kind = Search branches
commit_kind = Search commits
runner_kind = Search runners
no_results = No matching results found.
issue_kind = Search issues...
pull_kind = Search pulls...
issue_kind = Search issues
pull_kind = Search pulls
keyword_search_unavailable = Searching by keyword is currently not available. Please contact the site administrator.
[aria]
@ -1171,7 +1171,7 @@ stars = Stars
reactions_more = and %d more
unit_disabled = The site administrator has disabled this repository section.
language_other = Other
adopt_search = Enter username to search for unadopted repositories... (leave blank to find all)
adopt_search = Enter username to search for unadopted repositories (leave blank to find all)
adopt_preexisting_label = Adopt files
adopt_preexisting = Adopt pre-existing files
adopt_preexisting_content = Create repository from %s
@ -1258,7 +1258,7 @@ migrate.migrate_items_options = Access token is required to migrate additional i
migrated_from = Migrated from <a href="%[1]s">%[2]s</a>
migrated_from_fake = Migrated from %[1]s
migrate.migrate = Migrate from %s
migrate.migrating = Migrating from <b>%s</b> ...
migrate.migrating = Migrating from <b>%s</b>
migrate.migrating_failed = Migrating from <b>%s</b> failed.
migrate.migrating_failed.error = Failed to migrate: %s
migrate.migrating_failed_no_addr = Migration failed.
@ -2656,7 +2656,7 @@ 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_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
@ -2866,7 +2866,7 @@ ext_issues = Access the link to an external issue tracker. The permissions are m
ext_wiki = Access the link to an external wiki. The permissions are managed externally.
[graphs]
component_loading = Loading %s...
component_loading = Loading %s
component_loading_failed = Could not load %s
component_loading_info = This might take a bit…
component_failed_to_load = An unexpected error happened.

View File

@ -12,6 +12,6 @@
"one": "wants to merge %[1]d commit from <code>%[2]s</code> into <code id=\"%[4]s\">%[3]s</code>",
"other": "wants to merge %[1]d commits from <code>%[2]s</code> into <code id=\"%[4]s\">%[3]s</code>"
},
"search.milestone_kind": "Search milestones...",
"search.milestone_kind": "Search milestones",
"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."
}

View File

@ -80,7 +80,7 @@ func TestViewIssues(t *testing.T) {
htmlDoc := NewHTMLParser(t, resp.Body)
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
placeholder, _ := search.Attr("placeholder")
assert.Equal(t, "Search issues...", placeholder)
assert.Equal(t, "Search issues", placeholder)
}
func TestViewIssuesSortByType(t *testing.T) {

View File

@ -21,7 +21,7 @@ func TestViewMilestones(t *testing.T) {
htmlDoc := NewHTMLParser(t, resp.Body)
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
placeholder, _ := search.Attr("placeholder")
assert.Equal(t, "Search milestones...", placeholder)
assert.Equal(t, "Search milestones", placeholder)
}
func TestMilestonesCount(t *testing.T) {

View File

@ -27,7 +27,7 @@ func TestViewPulls(t *testing.T) {
htmlDoc := NewHTMLParser(t, resp.Body)
search := htmlDoc.doc.Find(".list-header-search > .search > .input > input")
placeholder, _ := search.Attr("placeholder")
assert.Equal(t, "Search pulls...", placeholder)
assert.Equal(t, "Search pulls", placeholder)
}
func TestPullManuallyMergeWarning(t *testing.T) {

View File

@ -33,5 +33,5 @@ func TestRepoCollaborators(t *testing.T) {
// Veirfy placeholder
placeholder, exists := page.Find("#search-user-box input").Attr("placeholder")
assert.True(t, exists)
assert.EqualValues(t, "Search users...", placeholder)
assert.EqualValues(t, "Search users", placeholder)
}