From 861ec3fa71d8f02c533eb3cf03a23884b8c35f7c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 30 Apr 2025 06:54:25 -0300 Subject: Makefile: Include call to po4a(1) in build --- Makefile | 5 +++++ deps.mk | 29 +++++++++++++++++++++++++++++ mkdeps.sh | 6 ++++++ po/de.po | 32 ++++++++++++++++++++++++-------- po/en.po | 32 ++++++++++++++++++++++++-------- po/eo.po | 32 ++++++++++++++++++++++++-------- po/es.po | 32 ++++++++++++++++++++++++-------- po/euandre.org.pot | 32 ++++++++++++++++++++++++-------- po/fr.po | 32 ++++++++++++++++++++++++-------- po/po4a.cfg | 1 + po/pt.po | 38 ++++++++++++++++++++++++++++---------- src/content/pt/hea/index.adoc | 11 +++++++++++ 12 files changed, 224 insertions(+), 58 deletions(-) create mode 100644 src/content/pt/hea/index.adoc diff --git a/Makefile b/Makefile index 508f48a..0cf507f 100644 --- a/Makefile +++ b/Makefile @@ -196,6 +196,7 @@ derived-assets = \ install.txt \ sources.txt \ src/content/.gitignore \ + i18n.sentinel \ captured-assets = \ src/content/$(PUBURL) \ @@ -342,6 +343,10 @@ install.txt: src/install.txt sources.txt install.txt: sed 's|^src/content/||' src/$(@F) > $@ +i18n.sentinel: po/po4a.cfg po/note.txt $(sources.po) $(po4a.in) + po4a po/po4a.cfg + touch $@ + src/sort-expected.txt: diff --git a/deps.mk b/deps.mk index 418cd92..2671297 100644 --- a/deps.mk +++ b/deps.mk @@ -83,6 +83,7 @@ indexes.adoc = \ src/content/en/podcast/index.adoc \ src/content/en/screencast/index.adoc \ src/content/en/til/index.adoc \ + src/content/pt/hea/index.adoc \ feeds.xml = \ src/content/en/blog/feed.xml \ @@ -90,6 +91,7 @@ feeds.xml = \ src/content/en/podcast/feed.xml \ src/content/en/screencast/feed.xml \ src/content/en/til/feed.xml \ + src/content/pt/hea/feed.xml \ images.svg = \ src/content/img/atom.svg \ @@ -127,6 +129,20 @@ sources.extras = \ src/content/en/screencast/2021/02/07/autoqemu.tar.gz \ src/content/en/screencast/2021/02/07/autoqemu.webm \ +sources.po = \ + po/de.po \ + po/en.po \ + po/eo.po \ + po/es.po \ + po/euandre.org.pot \ + po/fr.po \ + po/pt.po \ + +po4a.in = \ + src/content/en/about.adoc \ + src/content/en/til/2020/08/12/filename-timestamp.adoc \ + src/content/en/til/index.adoc \ + src/content/en/about.html.gz: src/content/en/about.html src/content/en/index.html.gz: src/content/en/index.html src/content/pt/sobre.html.gz: src/content/pt/sobre.html @@ -200,6 +216,7 @@ src/content/en/pastebin/index.html.gz: src/content/en/pastebin/index.html src/content/en/podcast/index.html.gz: src/content/en/podcast/index.html src/content/en/screencast/index.html.gz: src/content/en/screencast/index.html src/content/en/til/index.html.gz: src/content/en/til/index.html +src/content/pt/hea/index.html.gz: src/content/pt/hea/index.html src/content/en/blog/categories.html.gz: src/content/en/blog/categories.html src/content/en/pastebin/categories.html.gz: src/content/en/pastebin/categories.html src/content/en/podcast/categories.html.gz: src/content/en/podcast/categories.html @@ -278,6 +295,7 @@ src/content/en/pastebin/index.snippets.gz: src/content/en/pastebin/index.snippet src/content/en/podcast/index.snippets.gz: src/content/en/podcast/index.snippets src/content/en/screencast/index.snippets.gz: src/content/en/screencast/index.snippets src/content/en/til/index.snippets.gz: src/content/en/til/index.snippets +src/content/pt/hea/index.snippets.gz: src/content/pt/hea/index.snippets src/content/en/blog/categories.snippets.gz: src/content/en/blog/categories.snippets src/content/en/pastebin/categories.snippets.gz: src/content/en/pastebin/categories.snippets src/content/en/podcast/categories.snippets.gz: src/content/en/podcast/categories.snippets @@ -288,11 +306,13 @@ src/content/en/pastebin/categories.xml.gz: src/content/en/pastebin/categories.xm src/content/en/podcast/categories.xml.gz: src/content/en/podcast/categories.xml src/content/en/screencast/categories.xml.gz: src/content/en/screencast/categories.xml src/content/en/til/categories.xml.gz: src/content/en/til/categories.xml +src/content/pt/hea/categories.xml.gz: src/content/pt/hea/categories.xml src/content/en/blog/feed.xml.gz: src/content/en/blog/feed.xml src/content/en/pastebin/feed.xml.gz: src/content/en/pastebin/feed.xml src/content/en/podcast/feed.xml.gz: src/content/en/podcast/feed.xml src/content/en/screencast/feed.xml.gz: src/content/en/screencast/feed.xml src/content/en/til/feed.xml.gz: src/content/en/til/feed.xml +src/content/pt/hea/feed.xml.gz: src/content/pt/hea/feed.xml src/content/en/about.htmlbody src/content/en/about.snippets src/content/en/about.conf: src/content/en/about.adoc src/content/en/index.htmlbody src/content/en/index.snippets src/content/en/index.conf: src/content/en/index.adoc @@ -367,6 +387,7 @@ src/content/en/pastebin/index.htmlbody src/content/en/pastebin/index.snippets sr src/content/en/podcast/index.htmlbody src/content/en/podcast/index.snippets src/content/en/podcast/index.conf: src/content/en/podcast/index.adoc src/content/en/screencast/index.htmlbody src/content/en/screencast/index.snippets src/content/en/screencast/index.conf: src/content/en/screencast/index.adoc src/content/en/til/index.htmlbody src/content/en/til/index.snippets src/content/en/til/index.conf: src/content/en/til/index.adoc +src/content/pt/hea/index.htmlbody src/content/pt/hea/index.snippets src/content/pt/hea/index.conf: src/content/pt/hea/index.adoc src/content/en/blog/categories.htmlbody src/content/en/blog/categories.snippets src/content/en/blog/categories.conf: src/content/en/blog/categories.adoc src/content/en/pastebin/categories.htmlbody src/content/en/pastebin/categories.snippets src/content/en/pastebin/categories.conf: src/content/en/pastebin/categories.adoc src/content/en/podcast/categories.htmlbody src/content/en/podcast/categories.snippets src/content/en/podcast/categories.conf: src/content/en/podcast/categories.adoc @@ -445,6 +466,7 @@ src/content/en/pastebin/index.html: src/content/en/pastebin/index.conf src/conte src/content/en/podcast/index.html: src/content/en/podcast/index.conf src/content/en/podcast/index.htmlbody src/content/en/screencast/index.html: src/content/en/screencast/index.conf src/content/en/screencast/index.htmlbody src/content/en/til/index.html: src/content/en/til/index.conf src/content/en/til/index.htmlbody +src/content/pt/hea/index.html: src/content/pt/hea/index.conf src/content/pt/hea/index.htmlbody src/content/en/blog/categories.html: src/content/en/blog/categories.conf src/content/en/blog/categories.htmlbody src/content/en/pastebin/categories.html: src/content/en/pastebin/categories.conf src/content/en/pastebin/categories.htmlbody src/content/en/podcast/categories.html: src/content/en/podcast/categories.conf src/content/en/podcast/categories.htmlbody @@ -524,6 +546,7 @@ src/content/en/pastebin/index.updatedat-check: src/content/en/pastebin/index.con src/content/en/podcast/index.updatedat-check: src/content/en/podcast/index.conf src/content/en/screencast/index.updatedat-check: src/content/en/screencast/index.conf src/content/en/til/index.updatedat-check: src/content/en/til/index.conf +src/content/pt/hea/index.updatedat-check: src/content/pt/hea/index.conf src/content/en/blog/categories.updatedat-check: src/content/en/blog/categories.conf src/content/en/pastebin/categories.updatedat-check: src/content/en/pastebin/categories.conf src/content/en/podcast/categories.updatedat-check: src/content/en/podcast/categories.conf @@ -602,6 +625,7 @@ src/content/en/pastebin/index.links-internal-check: src/content/en/pastebin/inde src/content/en/podcast/index.links-internal-check: src/content/en/podcast/index.links src/content/en/screencast/index.links-internal-check: src/content/en/screencast/index.links src/content/en/til/index.links-internal-check: src/content/en/til/index.links +src/content/pt/hea/index.links-internal-check: src/content/pt/hea/index.links src/content/en/blog/categories.links-internal-check: src/content/en/blog/categories.links src/content/en/pastebin/categories.links-internal-check: src/content/en/pastebin/categories.links src/content/en/podcast/categories.links-internal-check: src/content/en/podcast/categories.links @@ -680,6 +704,7 @@ src/content/en/pastebin/index.caslinks: src/content/en/pastebin/index.links src/content/en/podcast/index.caslinks: src/content/en/podcast/index.links src/content/en/screencast/index.caslinks: src/content/en/screencast/index.links src/content/en/til/index.caslinks: src/content/en/til/index.links +src/content/pt/hea/index.caslinks: src/content/pt/hea/index.links src/content/en/blog/categories.caslinks: src/content/en/blog/categories.links src/content/en/pastebin/categories.caslinks: src/content/en/pastebin/categories.links src/content/en/podcast/categories.caslinks: src/content/en/podcast/categories.links @@ -887,6 +912,7 @@ src/content/en/pastebin/index.htmlheader src/content/en/pastebin/index.htmlfoote src/content/en/podcast/index.htmlheader src/content/en/podcast/index.htmlfooter: src/content/en/podcast/index.conf src/content/en/screencast/index.htmlheader src/content/en/screencast/index.htmlfooter: src/content/en/screencast/index.conf src/content/en/til/index.htmlheader src/content/en/til/index.htmlfooter: src/content/en/til/index.conf +src/content/pt/hea/index.htmlheader src/content/pt/hea/index.htmlfooter: src/content/pt/hea/index.conf src/content/en/blog/categories.htmlheader src/content/en/blog/categories.htmlfooter: src/content/en/blog/categories.conf src/content/en/pastebin/categories.htmlheader src/content/en/pastebin/categories.htmlfooter: src/content/en/pastebin/categories.conf src/content/en/podcast/categories.htmlheader src/content/en/podcast/categories.htmlfooter: src/content/en/podcast/categories.conf @@ -897,6 +923,7 @@ src/content/en/pastebin/index.htmllisting: src/content/en/pastebin/index.conf src/content/en/podcast/index.htmllisting: src/content/en/podcast/index.conf src/content/en/screencast/index.htmllisting: src/content/en/screencast/index.conf src/content/en/til/index.htmllisting: src/content/en/til/index.conf +src/content/pt/hea/index.htmllisting: src/content/pt/hea/index.conf src/content/en/blog/categories.htmllisting: src/content/en/blog/categories.conf src/content/en/pastebin/categories.htmllisting: src/content/en/pastebin/categories.conf src/content/en/podcast/categories.htmllisting: src/content/en/podcast/categories.conf @@ -907,6 +934,7 @@ src/content/en/pastebin/index.html: src/content/en/pastebin/index.htmlheader src src/content/en/podcast/index.html: src/content/en/podcast/index.htmlheader src/content/en/podcast/index.htmlfooter src/content/en/screencast/index.html: src/content/en/screencast/index.htmlheader src/content/en/screencast/index.htmlfooter src/content/en/til/index.html: src/content/en/til/index.htmlheader src/content/en/til/index.htmlfooter +src/content/pt/hea/index.html: src/content/pt/hea/index.htmlheader src/content/pt/hea/index.htmlfooter src/content/en/blog/categories.html: src/content/en/blog/categories.htmlheader src/content/en/blog/categories.htmlfooter src/content/en/pastebin/categories.html: src/content/en/pastebin/categories.htmlheader src/content/en/pastebin/categories.htmlfooter src/content/en/podcast/categories.html: src/content/en/podcast/categories.htmlheader src/content/en/podcast/categories.htmlfooter @@ -917,6 +945,7 @@ src/content/en/pastebin/index.html: src/content/en/pastebin/index.htmllisting sr src/content/en/podcast/index.html: src/content/en/podcast/index.htmllisting src/content/en/podcast/index.htmlbody src/content/en/screencast/index.html: src/content/en/screencast/index.htmllisting src/content/en/screencast/index.htmlbody src/content/en/til/index.html: src/content/en/til/index.htmllisting src/content/en/til/index.htmlbody +src/content/pt/hea/index.html: src/content/pt/hea/index.htmllisting src/content/pt/hea/index.htmlbody src/content/en/blog/categories.html: src/content/en/blog/categories.htmllisting src/content/en/blog/categories.htmlbody src/content/en/pastebin/categories.html: src/content/en/pastebin/categories.htmllisting src/content/en/pastebin/categories.htmlbody src/content/en/podcast/categories.html: src/content/en/podcast/categories.htmllisting src/content/en/podcast/categories.htmlbody diff --git a/mkdeps.sh b/mkdeps.sh index e886a15..37a8567 100755 --- a/mkdeps.sh +++ b/mkdeps.sh @@ -64,6 +64,12 @@ find src/content/img/ -name '*.svg' | varlist 'images.svg' media | varlist 'sources.media' tarballs | varlist 'sources.tarballs' extras | varlist 'sources.extras' +find po/*.po po/*.pot | varlist 'sources.po' + + +cat po/po4a.cfg | + awk '$1 == "[type:" && $2 == "asciidoc]" && $4 != "" && $0=$3' | + varlist 'po4a.in' { diff --git a/po/de.po b/po/de.po index 34404a8..3e87ebf 100644 --- a/po/de.po +++ b/po/de.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: 2025-04-29 19:46-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -38,13 +38,29 @@ msgid "" msgstr "" #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -52,7 +68,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -60,14 +76,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -76,7 +92,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/po/en.po b/po/en.po index 01d3c7d..077f092 100644 --- a/po/en.po +++ b/po/en.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: 2025-04-29 19:46-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -48,13 +48,29 @@ msgstr "" "more related work." #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -62,7 +78,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -70,14 +86,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -96,7 +112,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/po/eo.po b/po/eo.po index 8965c29..4a19d72 100644 --- a/po/eo.po +++ b/po/eo.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: 2025-04-29 19:46-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -38,13 +38,29 @@ msgid "" msgstr "" #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -52,7 +68,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -60,14 +76,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -76,7 +92,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/po/es.po b/po/es.po index f50f336..bb22dd0 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: 2025-04-29 19:46-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -38,13 +38,29 @@ msgid "" msgstr "" #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -52,7 +68,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -60,14 +76,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -76,7 +92,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/po/euandre.org.pot b/po/euandre.org.pot index 1f981b1..a33fea0 100644 --- a/po/euandre.org.pot +++ b/po/euandre.org.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,13 +38,29 @@ msgid "" msgstr "" #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -52,7 +68,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -60,14 +76,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -76,7 +92,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete them) " diff --git a/po/fr.po b/po/fr.po index 8b2b4a9..d2f4906 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" "PO-Revision-Date: 2025-04-29 19:46-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -38,13 +38,29 @@ msgid "" msgstr "" #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "" + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -52,7 +68,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -60,14 +76,14 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -76,7 +92,7 @@ msgid "" msgstr "" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -86,7 +102,7 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/po/po4a.cfg b/po/po4a.cfg index 03f8241..84fdb97 100644 --- a/po/po4a.cfg +++ b/po/po4a.cfg @@ -3,4 +3,5 @@ [po_directory] po [type: asciidoc] src/content/en/about.adoc pt:src/content/pt/sobre.adoc add_$lang:po/note.txt +[type: asciidoc] src/content/en/til/index.adoc pt:src/content/pt/hea/index.adoc add_$lang:po/note.txt [type: asciidoc] src/content/en/til/2020/08/12/filename-timestamp.adoc pt:src/content/pt/hea/2020/08/12/arquivo-datado.adoc add_$lang:po/note.txt diff --git a/po/pt.po b/po/pt.po index 0393dc9..89093e7 100644 --- a/po/pt.po +++ b/po/pt.po @@ -6,9 +6,9 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2025-04-30 04:52-0300\n" -"PO-Revision-Date: 2025-04-30 05:13-0300\n" -"Last-Translator: Automatically generated\n" +"POT-Creation-Date: 2025-04-30 06:38-0300\n" +"PO-Revision-Date: 2025-04-30 06:50-0300\n" +"Last-Translator: EuAndreh \n" "Language-Team: none\n" "Language: pt\n" "MIME-Version: 1.0\n" @@ -45,7 +45,25 @@ msgstr "" "trabalhos relacionados." #. type: Title = -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:1 +#: src/content/en/til/index.adoc:1 +#, no-wrap +msgid "Today I Learned" +msgstr "Hoje Eu Aprendi" + +#. type: Plain text +#: src/content/en/til/index.adoc:6 +msgid "**T**oday **I** **L**earned: small entries of useful knowledge." +msgstr "" +"**H**oje **E**u **A**prendi (do inglês, _**T**oday **I** **L**earned_): " +"pequenas postagens de conhecimentos úteis." + +#. type: Plain text +#: src/content/en/til/index.adoc:7 +msgid "Shameless rip-off of {anna-e-so}[Anna e só]." +msgstr "Cópia descarada da {anna-e-so}[Anna e só]." + +#. type: Title = +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:1 #, no-wrap msgid "Simple filename timestamp" msgstr "" @@ -53,7 +71,7 @@ msgstr "" ":updatedat: 2025-04-30" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:7 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:7 msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " @@ -64,7 +82,7 @@ msgstr "" "isso. Há uma solução simples: `date -I`." #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:12 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:12 #, no-wrap msgid "" "./my-program.sh > my-program.$(date -I).log\n" @@ -74,7 +92,7 @@ msgstr "" "cp template-de-artigo.md _posts/$(date -I)-slug-do-artigo.md\n" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:16 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:16 msgid "" "Using this built-in GNU/Linux tool allows you to `touch $(date -I).md` to " "readily create a `2020-08-12.md` file." @@ -83,7 +101,7 @@ msgstr "" "escreva `touch $(date -I).md` para criar um arquivo `2020-08-12.md`." #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:20 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:20 msgid "" "I always had to read `man date` or search the web over and over, and after " "doing this repeatedly it became clear that both `date -I` and `date -Is` " @@ -96,7 +114,7 @@ msgstr "" "são as respostas que eu estou procurando 95% do tempo:" #. type: delimited block - -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:27 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:27 #, no-wrap msgid "" "# inside my-program.sh\n" @@ -110,7 +128,7 @@ msgstr "" "# Programa começou em 2020-08-12T09:15:16-03:00\n" #. type: Plain text -#: src/content/en/tils/2020/08/12/filename-timestamp.adoc:31 +#: src/content/en/til/2020/08/12/filename-timestamp.adoc:31 msgid "" "Both date formats are hierarchical, having the bigger time intervals to the " "left. This means that you can easily sort them (and even tab-complete " diff --git a/src/content/pt/hea/index.adoc b/src/content/pt/hea/index.adoc new file mode 100644 index 0000000..77a035c --- /dev/null +++ b/src/content/pt/hea/index.adoc @@ -0,0 +1,11 @@ += Hoje Eu Aprendi + +:anna-e-so: https://til.flourishing.stream/ + +**H**oje **E**u **A**prendi (do inglês, _**T**oday **I** **L**earned_): pequenas postagens de conhecimentos úteis. + +Cópia descarada da {anna-e-so}[Anna e só]. + + + +// Generated from po4a(1). -- cgit v1.2.3