updated language files

This commit is contained in:
Nuno Coração 2023-02-25 18:06:20 +00:00
parent be48836fce
commit a041386dc9
21 changed files with 111 additions and 75 deletions

View file

@ -1,24 +0,0 @@
languageCode = "pt-PT"
languageName = "PT"
displayName = "PT"
isoCode = "pt-PT"
weight = 1
rtl = false
title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
# copyright = "Copy, _right?_ :thinking_face:"
dateFormat = "2 January 2006"
[author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
bio = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
links = [
{ twitter = "https://twitter.com/burufugu" },
{ mastodon = "https://masto.ai/@blowfish" },
{ github = "https://github.com/nunocoracao/blowfish" },
]

View file

@ -56,27 +56,30 @@ Blowfish is optimised for full multilingual websites and theme assets are transl
The theme currently supports the following languages by default:
| Language | Code |
| ------------------------------------- | ------- |
| :gb: English | `en` |
| :bangladesh: Bengali | `bn` |
| :cn: Simplified Chinese (China) | `zh-cn` |
| :taiwan: Traditional Chinese (Taiwan) | `zh-tw` |
| :finland: Finnish | `fi` |
| :fr: French | `fr` |
| :de: German | `de` |
| :israel: Hebrew | `he` |
| :hungary: Hungarian | `hu` |
| :it: Italian | `it` |
| :jp: Japanese | `ja` |
| :brazil: Portuguese (Brazil) | `pt-br` |
| :portugal: Portuguese (Portugal) | `pt-pt` |
| :poland: Polish | `pl` |
| :romania: Romanian | `ro` |
| :es: Spanish (Spain) | `es` |
| :tr: Turkish | `tr` |
| 🇭🇷 Croatian | `hr` |
| 🇮🇩 Indonesian | `id` |
| ------------------------------ | ------- |
| 🇧🇩 Bengali | `bn` |
| 🇨🇿 Czech | `cs` |
| 🇩🇪 German | `de` |
| 🇬🇧 English | `en` |
| 🇪🇸 Spanish (Spain) | `es` |
| 🇫🇮 Finnish | `fi` |
| 🇫🇷 French | `fr` |
| 🇮🇱 Hebrew | `he` |
| 🇭🇷 Croatian | `hr` |
| 🇭🇺 Hungarian | `hu` |
| 🇮🇩 Indonesian | `id` |
| 🇮🇹 Italian | `it` |
| 🇯🇵 Japanese | `ja` |
| 🇵🇱 Polish | `pl` |
| 🇧🇷 Portuguese (Brazil) | `pt-br` |
| 🇵🇹 Portuguese (Portugal) | `pt-pt` |
| 🇷🇴 Romanian | `ro` |
| 🇷🇺 Russian | `ru` |
| 🇹🇷 Turkish | `tr` |
| 🇨🇳 Simplified Chinese (China) | `zh-cn` |
| 🇹🇼 Traditional Chinese (Taiwan) | `zh-tw` |
The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/nunocoracao/blowfish/pulls).
@ -177,7 +180,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
### Article
| Name | Default | Description |
| ------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `article.showDate` | `true` | Whether or not article dates are displayed. |
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |

View file

@ -1,3 +1,6 @@
global:
language: "🇧🇩"
article:
anchor_label: "Anchor"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇨🇿"
article:
anchor_label: "Kotva"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇩🇪"
article:
anchor_label: "Anker"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇪🇸"
article:
anchor_label: "Ancla"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇫🇮"
article:
anchor_label: "Ankkuri"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇫🇷"
article:
anchor_label: "Ancre"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇮🇱"
article:
anchor_label: "עוגן"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇭🇷"
article:
anchor_label: "Sidro"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇭🇺"
article:
anchor_label: "Horgony"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇮🇩"
article:
anchor_label: "Anchor"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇮🇹"
article:
anchor_label: "Ancora"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇯🇵"
article:
anchor_label: "アンカー"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇵🇱"
article:
anchor_label: "Kotwica"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇧🇷"
article:
anchor_label: "Âncora"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇷🇴"
article:
anchor_label: "Link"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇷🇺"
article:
anchor_label: "Якорь"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇹🇷"
article:
# anchor_label: "Anchor"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇨🇳"
article:
anchor_label: "锚点"
date: "{{ .Date }}"

View file

@ -1,3 +1,6 @@
global:
language: "🇹🇼"
article:
anchor_label: "定位點"
date: "{{ .Date }}"