Add Kannada (ಕನ್ನಡ) language translation support
- Add frontend Kannada translations (src/locales/kn.json) - Add backend Kannada locale text items (pkg/locales/kn.go) - Update frontend language configuration (src/locales/index.ts) - Update backend language registry (pkg/locales/all_locales.go) Language code: kn (Kannada, ISO 639-1) Display name: ಕನ್ನಡ Text direction: ltr (left-to-right)
This commit is contained in:
@@ -24,6 +24,9 @@ var AllLanguages = map[string]*LocaleInfo{
|
|||||||
"ja": {
|
"ja": {
|
||||||
Content: ja,
|
Content: ja,
|
||||||
},
|
},
|
||||||
|
"kn": {
|
||||||
|
Content: kn,
|
||||||
|
},
|
||||||
"ko": {
|
"ko": {
|
||||||
Content: ko,
|
Content: ko,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
package locales
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/mayswind/ezbookkeeping/pkg/core"
|
||||||
|
)
|
||||||
|
|
||||||
|
var kn = &LocaleTextItems{
|
||||||
|
DefaultTypes: &DefaultTypes{
|
||||||
|
DecimalSeparator: core.DECIMAL_SEPARATOR_DOT,
|
||||||
|
DigitGroupingSymbol: core.DIGIT_GROUPING_SYMBOL_COMMA,
|
||||||
|
},
|
||||||
|
DataConverterTextItems: &DataConverterTextItems{
|
||||||
|
Alipay: "Alipay",
|
||||||
|
WeChatWallet: "ವಾಲೆಟ್",
|
||||||
|
},
|
||||||
|
VerifyEmailTextItems: &VerifyEmailTextItems{
|
||||||
|
Title: "ಇಮೇಲ್ ಪರಿಶೀಲನೆ",
|
||||||
|
SalutationFormat: "ನಮಸ್ಕಾರ %s,",
|
||||||
|
DescriptionAboveBtn: "ನಿಮ್ಮ ಇಮೇಲ್ ವಿಳಾಸ ಪರಿಶೀಲಿಸಲು ಕೆಳಗಿನ ಲಿಂಕ್ ಕ್ಲಿಕ್ ಮಾಡಿ.",
|
||||||
|
VerifyEmail: "ಇಮೇಲ್ ಪರಿಶೀಲನೆ",
|
||||||
|
DescriptionBelowBtnFormat: "ನೀವು %s ಖಾತೆಗೆ ಸೈನ್ ಅಪ್ ಮಾಡದಿದ್ದರೆ ಈ ಇಮೇಲ್ ನಿರ್ಲಕ್ಷಿಸಿ. ಮೇಲಿನ ಲಿಂಕ್ ಕ್ಲಿಕ್ ಮಾಡಲು ಸಾಧ್ಯವಾಗದಿದ್ದರೆ, ಮೇಲಿನ ಯುಆರ್ಎಲ್ ಕಾಪಿ ಮಾಡಿ ಮತ್ತು ನಿಮ್ಮ ಬ್ರೌಜರ್ನಲ್ಲಿ ಪೇಸ್ಟ್ ಮಾಡಿ. ಇಮೇಲ್ ಪರಿಶೀಲನೆ ಲಿಂಕ್ %v ನಿಮಿಷಗಳ ನಂತರ ಅವಧಿಯನ್ನು ಮೀರುತ್ತದೆ.",
|
||||||
|
},
|
||||||
|
ForgetPasswordMailTextItems: &ForgetPasswordMailTextItems{
|
||||||
|
Title: "ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸಿ",
|
||||||
|
SalutationFormat: "ನಮಸ್ಕಾರ %s,",
|
||||||
|
DescriptionAboveBtn: "ನಿಮ್ಮ ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸುವ ವಿನಂತಿ ಇತ್ತೀಚೆ ಸ್ವೀಕರಿಸಲಾಯಿತು. ನಿಮ್ಮ ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸಲು ಕೆಳಗಿನ ಲಿಂಕ್ ಕ್ಲಿಕ್ ಮಾಡಿ.",
|
||||||
|
ResetPassword: "ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸಿ",
|
||||||
|
DescriptionBelowBtnFormat: "ನೀವು ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸುವ ವಿನಂತಿ ಮಾಡದಿದ್ದರೆ ಈ ಇಮೇಲ್ ನಿರ್ಲಕ್ಷಿಸಿ. ಮೇಲಿನ ಲಿಂಕ್ ಕ್ಲಿಕ್ ಮಾಡಲು ಸಾಧ್ಯವಾಗದಿದ್ದರೆ, ಮೇಲಿನ ಯುಆರ್ಎಲ್ ಕಾಪಿ ಮಾಡಿ ಮತ್ತು ನಿಮ್ಮ ಬ್ರೌಜರ್ನಲ್ಲಿ ಪೇಸ್ಟ್ ಮಾಡಿ. ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಾಯಿಸುವ ಲಿಂಕ್ %v ನಿಮಿಷಗಳ ನಂತರ ಅವಧಿಯನ್ನು ಮೀರುತ್ತದೆ.",
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ import es from './es.json';
|
|||||||
import fr from './fr.json';
|
import fr from './fr.json';
|
||||||
import it from './it.json';
|
import it from './it.json';
|
||||||
import ja from './ja.json';
|
import ja from './ja.json';
|
||||||
|
import kn from './kn.json';
|
||||||
import ko from './ko.json';
|
import ko from './ko.json';
|
||||||
import nl from './nl.json';
|
import nl from './nl.json';
|
||||||
import ru from './ru.json';
|
import ru from './ru.json';
|
||||||
@@ -75,6 +76,13 @@ export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
|
|||||||
textDirection: 'ltr',
|
textDirection: 'ltr',
|
||||||
content: ja
|
content: ja
|
||||||
},
|
},
|
||||||
|
'kn': {
|
||||||
|
name: 'Kannada',
|
||||||
|
displayName: 'ಕನ್ನಡ',
|
||||||
|
alternativeLanguageTag: 'kn-IN',
|
||||||
|
textDirection: 'ltr',
|
||||||
|
content: kn
|
||||||
|
},
|
||||||
'ko': {
|
'ko': {
|
||||||
name: 'Korean',
|
name: 'Korean',
|
||||||
displayName: '한국어',
|
displayName: '한국어',
|
||||||
|
|||||||
+2399
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user