From 2905644a4075a1dfdd293835ba4319b51a1d149d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 29 Apr 2025 20:09:48 -0300 Subject: Setup basic gettext and po4a setup --- .gitignore | 1 + Makefile | 1 + po/de.po | 38 +++++++++++++++++++++++++++++++++++++ po/en.po | 48 +++++++++++++++++++++++++++++++++++++++++++++++ po/eo.po | 38 +++++++++++++++++++++++++++++++++++++ po/es.po | 38 +++++++++++++++++++++++++++++++++++++ po/euandre.org.pot | 38 +++++++++++++++++++++++++++++++++++++ po/fr.po | 38 +++++++++++++++++++++++++++++++++++++ po/po4a.cfg | 5 +++++ po/pt.po | 45 ++++++++++++++++++++++++++++++++++++++++++++ src/content/en/about.adoc | 2 +- src/content/pt/sobre.adoc | 8 ++++++++ 12 files changed, 299 insertions(+), 1 deletion(-) create mode 100644 po/de.po create mode 100644 po/en.po create mode 100644 po/eo.po create mode 100644 po/es.po create mode 100644 po/euandre.org.pot create mode 100644 po/fr.po create mode 100644 po/po4a.cfg create mode 100644 po/pt.po create mode 100644 src/content/pt/sobre.adoc diff --git a/.gitignore b/.gitignore index 4a88348..cc82b64 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ feed.*.xml /src/content/.well-known/security.txt /src/content/.gitignore /src/content/sitemap.xml +/po/*.mo diff --git a/Makefile b/Makefile index d0f425c..61439b7 100644 --- a/Makefile +++ b/Makefile @@ -219,6 +219,7 @@ side-assets = \ src/content/images/ \ src/content/resources/ \ src/content/static/ \ + po/*.mo \ diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..2e5b5a1 --- /dev/null +++ b/po/de.po @@ -0,0 +1,38 @@ +# German translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 19:46-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" diff --git a/po/en.po b/po/en.po new file mode 100644 index 0000000..1998012 --- /dev/null +++ b/po/en.po @@ -0,0 +1,48 @@ +# English translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 19:46-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "About" + +#. type: Plain text +#: src/content/en/about.adoc:9 +#, fuzzy +#| msgid "" +#| "Hi, I'm EuAndreh. I write software and occasionally music. You can find " +#| "my contact information in the footer of this page, or mail my {mailto}" +#| "[public inbox] ({archive}[archive])." +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" +"Hi, I'm EuAndreh. I write software and occasionally music. You can find my " +"contact information in the footer of this page, or mail my {mailto}[public " +"inbox] ({archive}[archive])." + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" +"This is my personal website where I write articles, publish software and " +"more related work." diff --git a/po/eo.po b/po/eo.po new file mode 100644 index 0000000..fbff97d --- /dev/null +++ b/po/eo.po @@ -0,0 +1,38 @@ +# Esperanto translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 19:46-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" diff --git a/po/es.po b/po/es.po new file mode 100644 index 0000000..854ff6d --- /dev/null +++ b/po/es.po @@ -0,0 +1,38 @@ +# Spanish translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 19:46-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" diff --git a/po/euandre.org.pot b/po/euandre.org.pot new file mode 100644 index 0000000..d19083e --- /dev/null +++ b/po/euandre.org.pot @@ -0,0 +1,38 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my " +"{mailto}[public inbox] ({archive}[archive])." +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..30aeaf7 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,38 @@ +# French translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 19:46-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" diff --git a/po/po4a.cfg b/po/po4a.cfg new file mode 100644 index 0000000..864b35a --- /dev/null +++ b/po/po4a.cfg @@ -0,0 +1,5 @@ +[options] --keep 0 --master-charset UTF-8 --localized-charset UTF-8 + +[po_directory] po + +[type: asciidoc] src/content/en/about.adoc pt:src/content/pt/sobre.adoc diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 0000000..6914ed1 --- /dev/null +++ b/po/pt.po @@ -0,0 +1,45 @@ +# Portuguese translations for PACKAGE package +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2025-04-29 20:01-0300\n" +"PO-Revision-Date: 2025-04-29 20:02-0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.5\n" + +#. type: Title = +#: src/content/en/about.adoc:1 +#, no-wrap +msgid "About" +msgstr "Sobre" + +#. type: Plain text +#: src/content/en/about.adoc:9 +msgid "" +"Hi, I'm EuAndreh. I write software and, occasionally, music. You can find " +"my contact information in the footer of this page, or mail my {mailto}" +"[public inbox] ({archive}[archive])." +msgstr "" +"Oi, eu sou EuAndreh. Eu escrevo software e, ocasionalmente, música. Você " +"encontra meu dados para entrar em contato no rodapé desta página, ou pode " +"mandar também uma mensagem para minha {mailto}[caixa de entrada pública] " +"({archive}[arquivo])." + +#. type: Plain text +#: src/content/en/about.adoc:11 +msgid "" +"This is my personal website where I write articles, publish software and " +"more related work." +msgstr "" +"Esse é o meu site pessoal onde eu escrevo artigos, publico software e outros " +"trabalhos relacionados." diff --git a/src/content/en/about.adoc b/src/content/en/about.adoc index 9911496..14d5e22 100644 --- a/src/content/en/about.adoc +++ b/src/content/en/about.adoc @@ -3,7 +3,7 @@ :mailto: mailto:~euandreh/public-inbox@lists.sr.ht :archive: https://lists.sr.ht/~euandreh/public-inbox -Hi, I'm EuAndreh. I write software and occasionally music. You can find my +Hi, I'm EuAndreh. I write software and, occasionally, music. You can find my contact information in the footer of this page, or mail my {mailto}[public inbox] ({archive}[archive]). diff --git a/src/content/pt/sobre.adoc b/src/content/pt/sobre.adoc new file mode 100644 index 0000000..c5993c8 --- /dev/null +++ b/src/content/pt/sobre.adoc @@ -0,0 +1,8 @@ += Sobre + +:mailto: mailto:~euandreh/public-inbox@lists.sr.ht +:archive: https://lists.sr.ht/~euandreh/public-inbox + +Oi, eu sou EuAndreh. Eu escrevo software e, ocasionalmente, música. Você encontra meu dados para entrar em contato no rodapé desta página, ou pode mandar também uma mensagem para minha {mailto}[caixa de entrada pública] ({archive}[arquivo]). + +Esse é o meu site pessoal onde eu escrevo artigos, publico software e outros trabalhos relacionados. -- cgit v1.2.3