Add tamil translation (#430)

This commit is contained in:
Ananth
2025-01-03 13:49:41 +05:30
committed by GitHub
parent d9b4100d17
commit 9016cfb035
6 changed files with 30 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ Bridget supports the following languages:
- Deutsch
- Spanish
- Italian
- Tamil
- [Contribute with a new language](https://github.com/Sped0n/bridget/pulls)
## Credits

View File

@@ -55,3 +55,11 @@
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Noto Sans';
src: url('/lib/fonts/NotoSansTamil-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}

View File

@@ -18,6 +18,7 @@ enableRobotsTXT = true
# * zh-hk zh-tw zh-mo (powered by Noto Sans TC)
# * ja (powered by Noto Sans JP)
# * ko (powered by Noto Sans KR)
# * ta (powered by Noto Sans TA)
defaultContentLanguage = 'en'
# theme as module

12
i18n/ta.toml Normal file
View File

@@ -0,0 +1,12 @@
[next]
other = "அடுத்தது"
[prev]
other = "முந்தையது"
[close]
other = "வெளியே செல்ல"
[threshold]
other = "எல்லை"
[404]
other = "பக்கம் காணப்படவில்லை"
[loading]
other = "பதிவேற்றம் நடக்கிறது..."

View File

@@ -60,4 +60,12 @@
as="font"
crossorigin
/>
{{- else if (partial "function/langCode.html" (slice "ta")) -}}
<link rel="preload" href="/lib/fonts/NotoSans-Regular.woff2" as="font" crossorigin />
<link
rel="preload"
href="/lib/fonts/NotoSansTamil-Regular.woff2"
as="font"
crossorigin
/>
{{- end -}}

Binary file not shown.