From 831798ed8ba2a641d0679f6ae92a085d0855c6f7 Mon Sep 17 00:00:00 2001 From: colorfulberry Date: Sun, 28 Jun 2020 15:35:53 +0800 Subject: [PATCH] fix: #26 fix for the small bugs --- options/locale/locale_zh-CN.ini | 4 ++-- templates/base/head_navbar.tmpl | 5 +---- templates/explore/navbar.tmpl | 8 ++++---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 40472338e..2a899a0ea 100644 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1388,7 +1388,7 @@ activity.git_stats_deletion_1=删除 %d 行 activity.git_stats_deletion_n=删除 %d 行 search=搜索 -search.search_repo=搜索项目... +search.search_repo=搜索代码... search.results=在 %s 中搜索 "%s" 的结果 settings=项目设置 @@ -1886,7 +1886,7 @@ teams.write_permission_desc=该团队拥有对所属项目的 读取管理 权限,团队成员可以读取、克隆、推送以及添加其它项目协作者。 teams.create_repo_permission_desc=此外,该团队拥有了 创建项目 的权限:成员可以在组织中创建新的项目。 teams.repositories=团队项目 -teams.search_repo_placeholder=搜索项目... +teams.search_repo_placeholder=搜索代码... teams.remove_all_repos_title=移除所有团队项目 teams.remove_all_repos_desc=这将从团队中移除所有项目。 teams.add_all_repos_title=添加所有项目 diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 274604f36..db9e26a12 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -21,8 +21,6 @@ {{.i18n.Tr "custom.head.community_infos"}} - {{.i18n.Tr "datasets"}} - {{.i18n.Tr "custom.head.project"}} {{if not .UnitIssuesGlobalDisabled}} {{.i18n.Tr "issues"}} {{end}} @@ -55,14 +53,13 @@ {{.i18n.Tr "custom.head.community_infos"}} - {{.i18n.Tr "custom.head.project"}} diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl index 6f86a7e7c..dbfb7381b 100644 --- a/templates/explore/navbar.tmpl +++ b/templates/explore/navbar.tmpl @@ -6,9 +6,9 @@ {{svg "octicon-file-submodule" 16}} {{.i18n.Tr "datasets"}} - + {{/* {{svg "octicon-person" 16}} {{.i18n.Tr "explore.users"}} - + */}} {{svg "octicon-organization" 16}} {{.i18n.Tr "explore.organizations"}} @@ -30,9 +30,9 @@ {{svg "octicon-file-submodule" 16}} {{.i18n.Tr "datasets"}} - + {{/* {{svg "octicon-person" 16}} {{.i18n.Tr "explore.users"}} - + */}} {{svg "octicon-organization" 16}} {{.i18n.Tr "explore.organizations"}}