From 92e50c4a3ea250dc18c76bc8c29d86d486e63772 Mon Sep 17 00:00:00 2001
From: crupest
Date: Wed, 3 Jun 2020 21:47:32 +0800
Subject: fix: Fix #88 .
---
Timeline/ClientApp/src/about/About.tsx | 13 ++-----------
Timeline/ClientApp/src/locales/en/translation.ts | 3 +--
Timeline/ClientApp/src/locales/scheme.ts | 3 +--
Timeline/ClientApp/src/locales/zh/translation.ts | 3 +--
4 files changed, 5 insertions(+), 17 deletions(-)
(limited to 'Timeline/ClientApp/src')
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' },
@@ -126,22 +126,13 @@ const About: React.FC = () => {
56
-
-
- {t('about.site.frontendRepo')}
-
-
- {t('about.site.backendRepo')}
+ {t('about.site.repo')}
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>Timeline1>, which is a Web App with <3>timeline3> as its core concept. Its frontend and backend are both developed by <5>me5>, 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>Timeline1>,是一个以<3>时间线3>为核心概念的 Web App . 它的前端和后端都是由<5>我5>开发,并且在 GitHub 上开源。大家可以相对轻松的把它们部署在自己的服务器上,这也是我的目标之一。欢迎大家前往 GitHub 仓库提出任何意见。',
- frontendRepo: '前端 GitHub 仓库',
- backendRepo: '后端 GitHub 仓库',
+ repo: 'GitHub 仓库',
},
credits: {
title: '鸣谢',
--
cgit v1.2.3