diff options
author | EuAndreh <eu@euandre.org> | 2023-04-08 16:20:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-08 21:18:22 -0300 |
commit | 6c2cbb02ac4b16ee7b4c37de50403ce604868ec0 (patch) | |
tree | ffb2fb30a741a04f89474f64a2e01df3d891cd12 /v2/po/pt.po | |
parent | v2: src/lib/: Unmark things as executable (diff) | |
download | euandre.org-6c2cbb02ac4b16ee7b4c37de50403ce604868ec0.tar.gz euandre.org-6c2cbb02ac4b16ee7b4c37de50403ce604868ec0.tar.xz |
v2: i18n of the collection name, "article" collection in root
Diffstat (limited to 'v2/po/pt.po')
-rw-r--r-- | v2/po/pt.po | 277 |
1 files changed, 218 insertions, 59 deletions
diff --git a/v2/po/pt.po b/v2/po/pt.po index 2df706c..bee1fc3 100644 --- a/v2/po/pt.po +++ b/v2/po/pt.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2023-04-08 12:41-0300\n" +"POT-Creation-Date: 2023-04-08 15:21-0300\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -60,74 +60,114 @@ msgstr "export lang='pt'" #. type: Plain text #: src/lib/base.en.conf:8 -msgid "export index_pastebins_title='Pastebins'" +msgid "export about='About'" msgstr "" #. type: Plain text #: src/lib/base.en.conf:10 -msgid "export index_recent_pastebins_title='Pastebins listing'" -msgstr "" +msgid "export about_url_name='about.html'" +msgstr "export about_url_name='sobre.html'" #. type: Plain text #: src/lib/base.en.conf:12 -msgid "export index_category_pastebins_title='Pastebins by category'" -msgstr "" +msgid "export by_category_url_name='by-category.html'" +msgstr "export by_category_url_name='por-categoria.html'" #. type: Plain text #: src/lib/base.en.conf:14 -msgid "export index by_category_url_part='by-category.html'" +msgid "export homepage_url=\"$(url-for \"$lang/\")\"" msgstr "" #. type: Plain text #: src/lib/base.en.conf:16 -msgid "export feed_pastebins_title=\"EuAndreh's pastebins\"" +msgid "export homepage_url_absolute=\"$(absolute \"$homepage_url\")\"" msgstr "" #. type: Plain text #: src/lib/base.en.conf:18 -msgid "export index_tils_title='TIL'" +msgid "export about_url=\"$(url-for \"$lang/$about_url_name\")\"" msgstr "" #. type: Plain text -#: src/lib/base.en.conf:20 -msgid "export index_recent_tils_title='TIL listing'" -msgstr "" +#: src/lib/base.en.conf:21 +msgid "export index__title='Blog'" +msgstr "export index__title='Blog'" #. type: Plain text -#: src/lib/base.en.conf:22 -msgid "export index_category_tils_title='TIL by category'" -msgstr "" +#: src/lib/base.en.conf:23 +msgid "export index_recent__title='Recent articles'" +msgstr "export index_recent__title='Artigos recentes'" #. type: Plain text -#: src/lib/base.en.conf:24 -msgid "export feed_tils_title=\"EuAndreh's TIL\"" -msgstr "" +#: src/lib/base.en.conf:25 +msgid "export index_category__title='Articles by category'" +msgstr "export index_category__title='Artigos por categoria'" #. type: Plain text -#: src/lib/base.en.conf:26 -msgid "export about='About'" +#: src/lib/base.en.conf:27 +msgid "export feed__title=\"EuAndreh's articles\"" +msgstr "export feed__title=\"Artigos do EuAndreh\"" + +#. type: Plain text +#: src/lib/base.en.conf:30 +msgid "export index_pastebin_title='Pastebins'" msgstr "" #. type: Plain text -#: src/lib/base.en.conf:28 -msgid "export about_url_name='about.html'" +#: src/lib/base.en.conf:32 +msgid "export index_recent_pastebin_title='Pastebins listing'" msgstr "" #. type: Plain text -#: src/lib/base.en.conf:30 -msgid "export homepage_url=\"$(url-for \"$lang/\")\"" +#: src/lib/base.en.conf:34 +msgid "export index_category_pastebin_title='Pastebins by category'" msgstr "" #. type: Plain text -#: src/lib/base.en.conf:32 -msgid "export homepage_url_absolute=\"$(absolute \"$homepage_url\")\"" +#: src/lib/base.en.conf:36 +msgid "export feed_pastebin_title=\"EuAndreh's pastebins\"" msgstr "" #. type: Plain text -#: src/lib/base.en.conf:33 -msgid "export about_url=\"$(url-for \"$lang/$about_url_name\")\"" +#: src/lib/base.en.conf:39 +msgid "export index_til_title='TIL'" +msgstr "export index_til_title='HEA'" + +#. type: Plain text +#: src/lib/base.en.conf:41 +msgid "export index_recent_til_title='TIL listing'" +msgstr "export index_recent_til_title='HEA recentes'" + +#. type: Plain text +#: src/lib/base.en.conf:43 +msgid "export index_category_til_title='TIL by category'" +msgstr "export index_category_til_title='HEA por categoria'" + +#. type: Plain text +#: src/lib/base.en.conf:44 +msgid "export feed_til_title=\"EuAndreh's TIL\"" +msgstr "export feed_til_title=\"HEA do EuAndreh\"" + +#. type: Plain text +#: src/lib/commencement.en.conf:2 +msgid "#!/bin/sh" msgstr "" +#. type: Plain text +#: src/lib/commencement.en.conf:4 +msgid "export article_collection_name=''" +msgstr "export article_collection_name=''" + +#. type: Plain text +#: src/lib/commencement.en.conf:6 +msgid "export pastebin_collection_name='pastebin'" +msgstr "export pastebin_collection_name='pastebin'" + +#. type: Plain text +#: src/lib/commencement.en.conf:7 +msgid "export til_collection_name='til'" +msgstr "export til_collection_name='hea'" + #. type: Content of: <p> #: src/lib/comment.en.html:3 msgid "" @@ -157,8 +197,10 @@ msgstr "" #. type: Plain text #: src/content/en/about.md:1 src/content/en/about.md:5 -#: src/content/en/pastebins/sicp-exercise-3-19.md:1 -#: src/content/en/pastebins/sicp-exercise-3-19.md:9 +#: src/content/en/pastebin/sicp-exercise-3-19.md:1 +#: src/content/en/pastebin/sicp-exercise-3-19.md:9 +#: src/content/en/til/lisp-three-way-conditional.md:1 +#: src/content/en/til/lisp-three-way-conditional.md:11 #, no-wrap msgid "---\n" msgstr "" @@ -174,27 +216,27 @@ msgid "It's all about me, baby!" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:4 +#: src/content/en/pastebin/sicp-exercise-3-19.md:4 msgid "title: SICP exercise 3.19" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:6 +#: src/content/en/pastebin/sicp-exercise-3-19.md:6 msgid "date: 2021-09-02" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:8 +#: src/content/en/pastebin/sicp-exercise-3-19.md:8 msgid "categories: lisp programming-languages" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:12 +#: src/content/en/pastebin/sicp-exercise-3-19.md:12 msgid "Some content here, before:" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:22 +#: src/content/en/pastebin/sicp-exercise-3-19.md:22 #, no-wrap msgid "" "```scheme\n" @@ -209,12 +251,12 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:24 +#: src/content/en/pastebin/sicp-exercise-3-19.md:24 msgid "Sample interactive session:" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:41 +#: src/content/en/pastebin/sicp-exercise-3-19.md:41 #, no-wrap msgid "" "```scheme\n" @@ -236,87 +278,87 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:43 +#: src/content/en/pastebin/sicp-exercise-3-19.md:43 msgid "# An h1" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:45 +#: src/content/en/pastebin/sicp-exercise-3-19.md:45 msgid "a list:" msgstr "" #. type: Bullet: '1. ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:49 +#: src/content/en/pastebin/sicp-exercise-3-19.md:49 msgid "one" msgstr "" #. type: Bullet: '2. ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:49 +#: src/content/en/pastebin/sicp-exercise-3-19.md:49 msgid "two" msgstr "" #. type: Bullet: '3. ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:49 +#: src/content/en/pastebin/sicp-exercise-3-19.md:49 msgid "three" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:51 +#: src/content/en/pastebin/sicp-exercise-3-19.md:51 msgid "some content." msgstr "" #. type: Bullet: '- ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:55 +#: src/content/en/pastebin/sicp-exercise-3-19.md:55 msgid "item" msgstr "" #. type: Bullet: '- ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:55 +#: src/content/en/pastebin/sicp-exercise-3-19.md:55 msgid "another" msgstr "" #. type: Bullet: '- ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:55 +#: src/content/en/pastebin/sicp-exercise-3-19.md:55 msgid "yet another" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:57 +#: src/content/en/pastebin/sicp-exercise-3-19.md:57 msgid "## An h2" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:59 +#: src/content/en/pastebin/sicp-exercise-3-19.md:59 msgid "Xablau:" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:62 +#: src/content/en/pastebin/sicp-exercise-3-19.md:62 msgid "``` xupliu 1" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:65 +#: src/content/en/pastebin/sicp-exercise-3-19.md:65 msgid "3 4" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:72 +#: src/content/en/pastebin/sicp-exercise-3-19.md:72 msgid "dez ```" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:74 +#: src/content/en/pastebin/sicp-exercise-3-19.md:74 msgid "Foi `wikiwiu`." msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:76 +#: src/content/en/pastebin/sicp-exercise-3-19.md:76 msgid "a very long code block:" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:82 +#: src/content/en/pastebin/sicp-exercise-3-19.md:82 #, no-wrap msgid "" "```\n" @@ -327,26 +369,143 @@ msgid "" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:84 +#: src/content/en/pastebin/sicp-exercise-3-19.md:84 msgid "Someone said:" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:86 +#: src/content/en/pastebin/sicp-exercise-3-19.md:86 msgid "> Xablau, xupliu." msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:89 +#: src/content/en/pastebin/sicp-exercise-3-19.md:89 msgid "### A repeated header ### A repeated header" msgstr "" #. type: Plain text -#: src/content/en/pastebins/sicp-exercise-3-19.md:91 +#: src/content/en/pastebin/sicp-exercise-3-19.md:91 msgid "a big list:" msgstr "" #. type: Bullet: '1. ' -#: src/content/en/pastebins/sicp-exercise-3-19.md:109 +#: src/content/en/pastebin/sicp-exercise-3-19.md:109 msgid "a" msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:4 +msgid "title: Three-way conditional for number signs on Lisp" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:6 +msgid "date: 2021-04-24 3" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:8 +msgid "update: 2021-08-14" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:10 +#, no-wrap +msgid "categories: lisp scheme common-lisp\n" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:14 +msgid "A useful macro from Paul Graham's [On Lisp][on-lisp] book:" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:23 +#, no-wrap +msgid "" +"```lisp\n" +"(defmacro nif (expr pos zero neg)\n" +" (let ((g (gensym)))\n" +" `(let ((,g ,expr))\n" +" (cond ((plusp ,g) ,pos)\n" +" ((zerop ,g) ,zero)\n" +" (t ,neg)))))\n" +"```\n" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:25 +msgid "" +"After I looked at this macro, I started seeing opportunities to using it in " +"many places, and yet I didn't see anyone else using it." +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:27 +msgid "" +"The latest example I can think of is section 1.3.3 of [Structure and " +"Interpretation of Computer Programs][sicp], which I was reading recently:" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:40 +#, no-wrap +msgid "" +"```scheme\n" +"(define (search f neg-point pos-point)\n" +" (let ((midpoint (average neg-point pos-point)))\n" +" (if (close-enough? neg-point post-point)\n" +" midpoint\n" +" (let ((test-value (f midpoint)))\n" +" (cond ((positive? test-value)\n" +" (search f neg-point midpoint))\n" +" ((negative? test-value)\n" +" (search f midpoint pos-point))\n" +" (else midpoint))))))\n" +"```\n" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:42 +msgid "" +"Not that the book should introduce such macro this early, but I couldn't " +"avoid feeling bothered by not using the `nif` macro, which could even remove " +"the need for the intermediate `test-value` variable:" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:53 +#, no-wrap +msgid "" +"```scheme\n" +"(define (search f neg-point pos-point)\n" +" (let ((midpoint (average neg-point pos-point)))\n" +" (if (close-enough? neg-point post-point)\n" +" midpoint\n" +" (nif (f midpoint)\n" +" (search f neg-point midpoint)\n" +" (midpoint)\n" +" (search f midpoint pos-point)))))\n" +"```\n" +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:55 +msgid "" +"It also avoids `cond`'s extra clunky parentheses for grouping, which is " +"unnecessary but built-in." +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:57 +msgid "" +"As a macro, I personally feel it tilts the balance towards expressivenes " +"despite its extra cognitive load toll." +msgstr "" + +#. type: Plain text +#: src/content/en/til/lisp-three-way-conditional.md:59 +msgid "" +"[on-lisp]: http://www.paulgraham.com/onlisptext.html [sicp]: https://" +"mitpress.mit.edu/sites/default/files/sicp/index.html" +msgstr "" |