mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Add 5 new languages to exampleSite: German, French, Spanish, Portuguese
Add complete translations for: - German (de) - French (fr) - Spanish (es) - Portuguese Brazil (pt-br) - Portuguese Portugal (pt-pt) Changes include: - Language config files (languages.*.toml) - Menu config files (menus.*.toml) - Translated docs section (16 files x 5 langs) - Translated homepage, guides, samples - Translated examples, authors, tags sections - Translated users section (112 dirs x 5 langs) - Fixed YAML front matter formatting in user files Hugo build now supports 9 languages total. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
87
exampleSite/content/samples/charts/index.de.md
Normal file
87
exampleSite/content/samples/charts/index.de.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: "Diagramme"
|
||||
date: 2019-03-06
|
||||
description: "Anleitung zur Chart.js-Nutzung in Blowfish"
|
||||
summary: "Blowfish enthält Chart.js für leistungsstarke Diagramme und Datenvisualisierungen."
|
||||
tags: ["diagramm", "beispiel", "grafik", "shortcodes"]
|
||||
showDate: false
|
||||
type: 'sample'
|
||||
---
|
||||
|
||||
Blowfish unterstützt Chart.js durch den `chart`-Shortcode. Umschließen Sie einfach das Diagramm-Markup mit dem Shortcode. Blowfish passt Diagramme automatisch an den konfigurierten `colorScheme`-Parameter an, die Farben können jedoch mit normaler Chart.js-Syntax angepasst werden.
|
||||
|
||||
Weitere Details finden Sie in der [Chart-Shortcode]({{< ref "docs/shortcodes#chart" >}})-Dokumentation.
|
||||
|
||||
Die folgenden Beispiele sind eine kleine Auswahl aus der [offiziellen Chart.js-Dokumentation](https://www.chartjs.org/docs/latest/samples). Sie können auch [den Seitenquelltext](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md) auf GitHub einsehen.
|
||||
|
||||
## Balkendiagramm
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli'],
|
||||
datasets: [{
|
||||
label: 'Mein erstes Dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)',
|
||||
'rgba(255, 205, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(201, 203, 207, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgb(255, 99, 132)',
|
||||
'rgb(255, 159, 64)',
|
||||
'rgb(255, 205, 86)',
|
||||
'rgb(75, 192, 192)',
|
||||
'rgb(54, 162, 235)',
|
||||
'rgb(153, 102, 255)',
|
||||
'rgb(201, 203, 207)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Liniendiagramm
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli'],
|
||||
datasets: [{
|
||||
label: 'Mein erstes Dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
tension: 0.2
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Ringdiagramm
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['Rot', 'Blau', 'Gelb'],
|
||||
datasets: [{
|
||||
label: 'Mein erstes Dataset',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.7)',
|
||||
'rgba(54, 162, 235, 0.7)',
|
||||
'rgba(255, 205, 86, 0.7)'
|
||||
],
|
||||
borderWidth: 0,
|
||||
hoverOffset: 4
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
87
exampleSite/content/samples/charts/index.es.md
Normal file
87
exampleSite/content/samples/charts/index.es.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: "Gráficos"
|
||||
date: 2019-03-06
|
||||
description: "Guía de uso de Chart.js en Blowfish"
|
||||
summary: "Blowfish incluye Chart.js para gráficos y visualizaciones de datos potentes."
|
||||
tags: ["gráfico", "ejemplo", "diagrama", "shortcodes"]
|
||||
showDate: false
|
||||
type: 'sample'
|
||||
---
|
||||
|
||||
Blowfish soporta Chart.js usando el shortcode `chart`. Simplemente envuelve el markup del gráfico dentro del shortcode. Blowfish adapta automáticamente los temas de los gráficos al parámetro `colorScheme` configurado, aunque los colores pueden personalizarse usando la sintaxis normal de Chart.js.
|
||||
|
||||
Consulta la documentación del [shortcode chart]({{< ref "docs/shortcodes#chart" >}}) para más detalles.
|
||||
|
||||
Los ejemplos siguientes son una pequeña selección tomada de la [documentación oficial de Chart.js](https://www.chartjs.org/docs/latest/samples). También puedes [ver el código fuente de la página](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md) en GitHub.
|
||||
|
||||
## Gráfico de barras
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio'],
|
||||
datasets: [{
|
||||
label: 'Mi primer dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)',
|
||||
'rgba(255, 205, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(201, 203, 207, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgb(255, 99, 132)',
|
||||
'rgb(255, 159, 64)',
|
||||
'rgb(255, 205, 86)',
|
||||
'rgb(75, 192, 192)',
|
||||
'rgb(54, 162, 235)',
|
||||
'rgb(153, 102, 255)',
|
||||
'rgb(201, 203, 207)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de líneas
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio'],
|
||||
datasets: [{
|
||||
label: 'Mi primer dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
tension: 0.2
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de anillo
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['Rojo', 'Azul', 'Amarillo'],
|
||||
datasets: [{
|
||||
label: 'Mi primer dataset',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.7)',
|
||||
'rgba(54, 162, 235, 0.7)',
|
||||
'rgba(255, 205, 86, 0.7)'
|
||||
],
|
||||
borderWidth: 0,
|
||||
hoverOffset: 4
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
87
exampleSite/content/samples/charts/index.fr.md
Normal file
87
exampleSite/content/samples/charts/index.fr.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: "Graphiques"
|
||||
date: 2019-03-06
|
||||
description: "Guide d'utilisation de Chart.js dans Blowfish"
|
||||
summary: "Blowfish inclut Chart.js pour des graphiques et visualisations de données puissants."
|
||||
tags: ["graphique", "exemple", "diagramme", "shortcodes"]
|
||||
showDate: false
|
||||
type: 'sample'
|
||||
---
|
||||
|
||||
Blowfish prend en charge Chart.js via le shortcode `chart`. Enveloppez simplement le markup du graphique dans le shortcode. Blowfish adapte automatiquement les thèmes des graphiques au paramètre `colorScheme` configuré, mais les couleurs peuvent être personnalisées avec la syntaxe normale de Chart.js.
|
||||
|
||||
Consultez la documentation du [shortcode chart]({{< ref "docs/shortcodes#chart" >}}) pour plus de détails.
|
||||
|
||||
Les exemples ci-dessous sont une petite sélection tirée de la [documentation officielle de Chart.js](https://www.chartjs.org/docs/latest/samples). Vous pouvez également [voir le code source de la page](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md) sur GitHub.
|
||||
|
||||
## Graphique à barres
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet'],
|
||||
datasets: [{
|
||||
label: 'Mon premier dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)',
|
||||
'rgba(255, 205, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(201, 203, 207, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgb(255, 99, 132)',
|
||||
'rgb(255, 159, 64)',
|
||||
'rgb(255, 205, 86)',
|
||||
'rgb(75, 192, 192)',
|
||||
'rgb(54, 162, 235)',
|
||||
'rgb(153, 102, 255)',
|
||||
'rgb(201, 203, 207)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Graphique linéaire
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet'],
|
||||
datasets: [{
|
||||
label: 'Mon premier dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
tension: 0.2
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Graphique en anneau
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['Rouge', 'Bleu', 'Jaune'],
|
||||
datasets: [{
|
||||
label: 'Mon premier dataset',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.7)',
|
||||
'rgba(54, 162, 235, 0.7)',
|
||||
'rgba(255, 205, 86, 0.7)'
|
||||
],
|
||||
borderWidth: 0,
|
||||
hoverOffset: 4
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
87
exampleSite/content/samples/charts/index.pt-br.md
Normal file
87
exampleSite/content/samples/charts/index.pt-br.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: "Gráficos"
|
||||
date: 2019-03-06
|
||||
description: "Guia de uso do Chart.js no Blowfish"
|
||||
summary: "O Blowfish inclui Chart.js para gráficos e visualizações de dados poderosos."
|
||||
tags: ["gráfico", "exemplo", "diagrama", "shortcodes"]
|
||||
showDate: false
|
||||
type: 'sample'
|
||||
---
|
||||
|
||||
O Blowfish suporta Chart.js usando o shortcode `chart`. Simplesmente envolva o markup do gráfico dentro do shortcode. O Blowfish automaticamente tematiza os gráficos para corresponder ao parâmetro `colorScheme` configurado, mas as cores podem ser personalizadas usando a sintaxe normal do Chart.js.
|
||||
|
||||
Consulte a documentação do [shortcode chart]({{< ref "docs/shortcodes#chart" >}}) para mais detalhes.
|
||||
|
||||
Os exemplos abaixo são uma pequena seleção tirada da [documentação oficial do Chart.js](https://www.chartjs.org/docs/latest/samples). Você também pode [ver o código-fonte da página](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md) no GitHub.
|
||||
|
||||
## Gráfico de barras
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho'],
|
||||
datasets: [{
|
||||
label: 'Meu primeiro dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)',
|
||||
'rgba(255, 205, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(201, 203, 207, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgb(255, 99, 132)',
|
||||
'rgb(255, 159, 64)',
|
||||
'rgb(255, 205, 86)',
|
||||
'rgb(75, 192, 192)',
|
||||
'rgb(54, 162, 235)',
|
||||
'rgb(153, 102, 255)',
|
||||
'rgb(201, 203, 207)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de linhas
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho'],
|
||||
datasets: [{
|
||||
label: 'Meu primeiro dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
tension: 0.2
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de rosca
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['Vermelho', 'Azul', 'Amarelo'],
|
||||
datasets: [{
|
||||
label: 'Meu primeiro dataset',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.7)',
|
||||
'rgba(54, 162, 235, 0.7)',
|
||||
'rgba(255, 205, 86, 0.7)'
|
||||
],
|
||||
borderWidth: 0,
|
||||
hoverOffset: 4
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
87
exampleSite/content/samples/charts/index.pt-pt.md
Normal file
87
exampleSite/content/samples/charts/index.pt-pt.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
title: "Gráficos"
|
||||
date: 2019-03-06
|
||||
description: "Guia de utilização do Chart.js no Blowfish"
|
||||
summary: "O Blowfish inclui Chart.js para gráficos e visualizações de dados poderosos."
|
||||
tags: ["gráfico", "exemplo", "diagrama", "shortcodes"]
|
||||
showDate: false
|
||||
type: 'sample'
|
||||
---
|
||||
|
||||
O Blowfish suporta Chart.js utilizando o shortcode `chart`. Simplesmente envolva o markup do gráfico dentro do shortcode. O Blowfish automaticamente tematiza os gráficos para corresponder ao parâmetro `colorScheme` configurado, mas as cores podem ser personalizadas utilizando a sintaxe normal do Chart.js.
|
||||
|
||||
Consulte a documentação do [shortcode chart]({{< ref "docs/shortcodes#chart" >}}) para mais detalhes.
|
||||
|
||||
Os exemplos abaixo são uma pequena seleção tirada da [documentação oficial do Chart.js](https://www.chartjs.org/docs/latest/samples). Também pode [ver o código-fonte da página](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md) no GitHub.
|
||||
|
||||
## Gráfico de barras
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho'],
|
||||
datasets: [{
|
||||
label: 'O meu primeiro dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.2)',
|
||||
'rgba(255, 159, 64, 0.2)',
|
||||
'rgba(255, 205, 86, 0.2)',
|
||||
'rgba(75, 192, 192, 0.2)',
|
||||
'rgba(54, 162, 235, 0.2)',
|
||||
'rgba(153, 102, 255, 0.2)',
|
||||
'rgba(201, 203, 207, 0.2)'
|
||||
],
|
||||
borderColor: [
|
||||
'rgb(255, 99, 132)',
|
||||
'rgb(255, 159, 64)',
|
||||
'rgb(255, 205, 86)',
|
||||
'rgb(75, 192, 192)',
|
||||
'rgb(54, 162, 235)',
|
||||
'rgb(153, 102, 255)',
|
||||
'rgb(201, 203, 207)'
|
||||
],
|
||||
borderWidth: 1
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de linhas
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho'],
|
||||
datasets: [{
|
||||
label: 'O meu primeiro dataset',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
tension: 0.2
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
## Gráfico de rosca
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
{{< chart >}}
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['Vermelho', 'Azul', 'Amarelo'],
|
||||
datasets: [{
|
||||
label: 'O meu primeiro dataset',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgba(255, 99, 132, 0.7)',
|
||||
'rgba(54, 162, 235, 0.7)',
|
||||
'rgba(255, 205, 86, 0.7)'
|
||||
],
|
||||
borderWidth: 0,
|
||||
hoverOffset: 4
|
||||
}]
|
||||
}
|
||||
{{< /chart >}}
|
||||
<!-- prettier-ignore-end -->
|
||||
Reference in New Issue
Block a user