Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kerwin612 committed Feb 5, 2025
1 parent 849dc4c commit 92cd8ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
15 changes: 7 additions & 8 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ filter.private = Private
no_results_found = No results found.
internal_error_skipped = Internal error occurred but is skipped: %s

[guide]
title = No Activity
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.
explore_repos = Explore repositories
explore_users = Explore users

[search]
search = Search...
type_tooltip = Search type
Expand Down Expand Up @@ -391,6 +385,13 @@ show_only_public = Showing only public

issues.in_your_repos = In your repositories

guide_title = No Activity
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.
explore_repos = Explore repositories
explore_users = Explore users
empty_org = There are no organizations yet.
empty_repo = There are no repositories yet.

[explore]
repos = Repositories
users = Users
Expand Down Expand Up @@ -1019,7 +1020,6 @@ visibility.private = Private
visibility.private_tooltip = Visible only to members of organizations you have joined

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

[org]
empty = There are no organizations yet.
org_name_holder = Organization Name
org_full_name_holder = Organization Full Name
org_name_helper = Organization names should be short and memorable.
Expand Down
12 changes: 6 additions & 6 deletions templates/user/dashboard/guide.tmpl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="ui center tw-px-8 tw-py-8 guide">
{{svg "octicon-package" 24}}
<h3>{{ctx.Locale.Tr "guide.title"}}</h3>
<p>{{ctx.Locale.Tr "guide.desc"}}</p>
<h3>{{ctx.Locale.Tr "home.guide_title"}}</h3>
<p>{{ctx.Locale.Tr "home.guide_desc"}}</p>
<div>
<a href="/explore/repos">
{{ctx.Locale.Tr "guide.explore_repos"}}
<a href="{{AppSubUrl}}/explore/repos">
{{ctx.Locale.Tr "home.explore_repos"}}
</a>
<span>·</span>
<a href="/explore/users">
{{ctx.Locale.Tr "guide.explore_users"}}
<a href="{{AppSubUrl}}/explore/users">
{{ctx.Locale.Tr "home.explore_users"}}
</a>
</div>
</div>
5 changes: 2 additions & 3 deletions templates/user/dashboard/repolist.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ const data = {
canCreateMigrations: {{not .DisableMigrations}},
textNoOrg: {{ctx.Locale.Tr "org.empty"}},
textNoRepo: {{ctx.Locale.Tr "repo.empty"}},
textNoOrg: {{ctx.Locale.Tr "home.empty_org"}},
textNoRepo: {{ctx.Locale.Tr "home.empty_repo"}},
textRepository: {{ctx.Locale.Tr "repository"}},
textOrganization: {{ctx.Locale.Tr "organization"}},
textMyRepos: {{ctx.Locale.Tr "home.my_repos"}},
textNewRepo: {{ctx.Locale.Tr "new_repo"}},
textNewMigrate: {{ctx.Locale.Tr "new_migrate"}},
textSearchRepos: {{ctx.Locale.Tr "search.repo_kind"}},
textFilter: {{ctx.Locale.Tr "home.filter"}},
textShowArchived: {{ctx.Locale.Tr "home.show_archived"}},
Expand Down

0 comments on commit 92cd8ec

Please sign in to comment.