diff options
author | crupest <crupest@outlook.com> | 2020-06-03 21:47:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-03 21:47:32 +0800 |
commit | 92e50c4a3ea250dc18c76bc8c29d86d486e63772 (patch) | |
tree | ddf52735fd200b4c8116f4269cb15cd1bf8639c1 | |
parent | c7b2c7933239a53769d3d46af5b0a90f7650085c (diff) | |
download | timeline-92e50c4a3ea250dc18c76bc8c29d86d486e63772.tar.gz timeline-92e50c4a3ea250dc18c76bc8c29d86d486e63772.tar.bz2 timeline-92e50c4a3ea250dc18c76bc8c29d86d486e63772.zip |
fix: Fix #88 .
-rw-r--r-- | Timeline/ClientApp/src/about/About.tsx | 13 | ||||
-rw-r--r-- | Timeline/ClientApp/src/locales/en/translation.ts | 3 | ||||
-rw-r--r-- | Timeline/ClientApp/src/locales/scheme.ts | 3 | ||||
-rw-r--r-- | Timeline/ClientApp/src/locales/zh/translation.ts | 3 |
4 files changed, 5 insertions, 17 deletions
diff --git a/Timeline/ClientApp/src/about/About.tsx b/Timeline/ClientApp/src/about/About.tsx index 1f8008d3..031c46cb 100644 --- a/Timeline/ClientApp/src/about/About.tsx +++ b/Timeline/ClientApp/src/about/About.tsx @@ -66,7 +66,7 @@ const backendCredits: { icon?: string;
}[] = [
{
- name: 'ASP.Net Core',
+ name: 'ASP.NET Core',
url: 'https://dotnet.microsoft.com/learn/aspnet/what-is-aspnet-core',
},
{ name: 'sqlite', url: 'https://sqlite.org' },
@@ -128,20 +128,11 @@ const About: React.FC = () => { </p>
<p>
<a
- href="https://github.com/crupest/Timeline-React"
- target="_blank"
- rel="noopener noreferrer"
- >
- {t('about.site.frontendRepo')}
- </a>
- </p>
- <p>
- <a
href="https://github.com/crupest/Timeline"
target="_blank"
rel="noopener noreferrer"
>
- {t('about.site.backendRepo')}
+ {t('about.site.repo')}
</a>
</p>
</div>
diff --git a/Timeline/ClientApp/src/locales/en/translation.ts b/Timeline/ClientApp/src/locales/en/translation.ts index 86fd6d52..803f8ea6 100644 --- a/Timeline/ClientApp/src/locales/en/translation.ts +++ b/Timeline/ClientApp/src/locales/en/translation.ts @@ -153,8 +153,7 @@ const translation: TranslationResource = { title: 'Site Information',
content:
'The name of this site is <1>Timeline</1>, which is a Web App with <3>timeline</3> as its core concept. Its frontend and backend are both developed by <5>me</5>, and open source on GitHub. It is relatively easy to deploy it on your own server, which is also one of my goals. Welcome to comment anything in GitHub repository.',
- frontendRepo: 'Frontend GitHub Repo',
- backendRepo: 'Backend GitHub Repo',
+ repo: 'GitHub Repo',
},
credits: {
title: 'Credits',
diff --git a/Timeline/ClientApp/src/locales/scheme.ts b/Timeline/ClientApp/src/locales/scheme.ts index 6517e7b7..6e2a3669 100644 --- a/Timeline/ClientApp/src/locales/scheme.ts +++ b/Timeline/ClientApp/src/locales/scheme.ts @@ -142,8 +142,7 @@ export default interface TranslationResource { site: {
title: string;
content: string;
- frontendRepo: string;
- backendRepo: string;
+ repo: string;
};
credits: {
title: string;
diff --git a/Timeline/ClientApp/src/locales/zh/translation.ts b/Timeline/ClientApp/src/locales/zh/translation.ts index 259cfd23..d1789f3c 100644 --- a/Timeline/ClientApp/src/locales/zh/translation.ts +++ b/Timeline/ClientApp/src/locales/zh/translation.ts @@ -150,8 +150,7 @@ const translation: TranslationResource = { title: '网站信息',
content:
'这个网站的名字叫 <1>Timeline</1>,是一个以<3>时间线</3>为核心概念的 Web App . 它的前端和后端都是由<5>我</5>开发,并且在 GitHub 上开源。大家可以相对轻松的把它们部署在自己的服务器上,这也是我的目标之一。欢迎大家前往 GitHub 仓库提出任何意见。',
- frontendRepo: '前端 GitHub 仓库',
- backendRepo: '后端 GitHub 仓库',
+ repo: 'GitHub 仓库',
},
credits: {
title: '鸣谢',
|