From 889225301cf65eedde7ee8474889af1657193a55 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 3 Aug 2024 21:15:33 +0800 Subject: [PATCH] add translating guide link --- pkg/locales/all_locales.go | 1 + src/locales/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/locales/all_locales.go b/pkg/locales/all_locales.go index b62220a8..f8fd5171 100644 --- a/pkg/locales/all_locales.go +++ b/pkg/locales/all_locales.go @@ -6,6 +6,7 @@ import "github.com/mayswind/ezbookkeeping/pkg/models" var DefaultLanguage = en // AllLanguages represents all the supported language +// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating var AllLanguages = map[string]*LocaleInfo{ "en": { Content: en, diff --git a/src/locales/index.js b/src/locales/index.js index 7b86fe5c..c5df04cb 100644 --- a/src/locales/index.js +++ b/src/locales/index.js @@ -3,6 +3,7 @@ import zhHans from './zh_Hans.json' export const defaultLanguage = 'en'; +// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating export const allLanguages = { 'en': { name: 'English',