Skip to content

Commit 92cd8ec

Browse files
committed
fix
1 parent 849dc4c commit 92cd8ec

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

options/locale/locale_en-US.ini

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ filter.private = Private
164164
no_results_found = No results found.
165165
internal_error_skipped = Internal error occurred but is skipped: %s
166166

167-
[guide]
168-
title = No Activity
169-
desc = You are currently not following any repositories or users, so there is no content to display; you can explore repositories or users of interest from the links below.
170-
explore_repos = Explore repositories
171-
explore_users = Explore users
172-
173167
[search]
174168
search = Search...
175169
type_tooltip = Search type
@@ -391,6 +385,13 @@ show_only_public = Showing only public
391385

392386
issues.in_your_repos = In your repositories
393387

388+
guide_title = No Activity
389+
guide_desc = You are currently not following any repositories or users, so there is no content to display; you can explore repositories or users of interest from the links below.
390+
explore_repos = Explore repositories
391+
explore_users = Explore users
392+
empty_org = There are no organizations yet.
393+
empty_repo = There are no repositories yet.
394+
394395
[explore]
395396
repos = Repositories
396397
users = Users
@@ -1019,7 +1020,6 @@ visibility.private = Private
10191020
visibility.private_tooltip = Visible only to members of organizations you have joined
10201021

10211022
[repo]
1022-
empty = There are no repositories yet.
10231023
new_repo_helper = A repository contains all project files, including revision history. Already hosting one elsewhere? <a href="%s">Migrate repository.</a>
10241024
owner = Owner
10251025
owner_helper = Some organizations may not show up in the dropdown due to a maximum repository count limit.
@@ -2760,7 +2760,6 @@ contributors.what = contributions
27602760
recent_commits.what = recent commits
27612761

27622762
[org]
2763-
empty = There are no organizations yet.
27642763
org_name_holder = Organization Name
27652764
org_full_name_holder = Organization Full Name
27662765
org_name_helper = Organization names should be short and memorable.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<div class="ui center tw-px-8 tw-py-8 guide">
22
{{svg "octicon-package" 24}}
3-
<h3>{{ctx.Locale.Tr "guide.title"}}</h3>
4-
<p>{{ctx.Locale.Tr "guide.desc"}}</p>
3+
<h3>{{ctx.Locale.Tr "home.guide_title"}}</h3>
4+
<p>{{ctx.Locale.Tr "home.guide_desc"}}</p>
55
<div>
6-
<a href="/explore/repos">
7-
{{ctx.Locale.Tr "guide.explore_repos"}}
6+
<a href="{{AppSubUrl}}/explore/repos">
7+
{{ctx.Locale.Tr "home.explore_repos"}}
88
</a>
99
<span>·</span>
10-
<a href="/explore/users">
11-
{{ctx.Locale.Tr "guide.explore_users"}}
10+
<a href="{{AppSubUrl}}/explore/users">
11+
{{ctx.Locale.Tr "home.explore_users"}}
1212
</a>
1313
</div>
1414
</div>

templates/user/dashboard/repolist.tmpl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ const data = {
77

88
canCreateMigrations: {{not .DisableMigrations}},
99

10-
textNoOrg: {{ctx.Locale.Tr "org.empty"}},
11-
textNoRepo: {{ctx.Locale.Tr "repo.empty"}},
10+
textNoOrg: {{ctx.Locale.Tr "home.empty_org"}},
11+
textNoRepo: {{ctx.Locale.Tr "home.empty_repo"}},
1212
textRepository: {{ctx.Locale.Tr "repository"}},
1313
textOrganization: {{ctx.Locale.Tr "organization"}},
1414
textMyRepos: {{ctx.Locale.Tr "home.my_repos"}},
1515
textNewRepo: {{ctx.Locale.Tr "new_repo"}},
16-
textNewMigrate: {{ctx.Locale.Tr "new_migrate"}},
1716
textSearchRepos: {{ctx.Locale.Tr "search.repo_kind"}},
1817
textFilter: {{ctx.Locale.Tr "home.filter"}},
1918
textShowArchived: {{ctx.Locale.Tr "home.show_archived"}},

0 commit comments

Comments
 (0)