diff options
author | EuAndreh <eu@euandre.org> | 2020-11-14 11:03:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-11-14 11:11:12 -0300 |
commit | 9e1e7783b385b670bec774cbad604fbf4581d079 (patch) | |
tree | b2e27ebf3d7d2ae36a2c795a09ff617e47bea8f2 /locale/pt | |
parent | Indent code of plaintext generator (diff) | |
download | euandre.org-9e1e7783b385b670bec774cbad604fbf4581d079.tar.gz euandre.org-9e1e7783b385b670bec774cbad604fbf4581d079.tar.xz |
Use "eu_categories" frontmatter attribute
Jekyll treats names like "category" and "categories" differently, so I chose to
name it "eu_categories" in order to avoid inheriting the special treatment, and
have full control of what a category means and how it behaves.
The _includes/category.html was changed to reflect that, with an extra coupled
change that makes it not specific to articles, but any collection type.
Diffstat (limited to '')
8 files changed, 101 insertions, 49 deletions
diff --git a/locale/pt/LC_MESSAGES/_articles/2020-08-31-the-database-i-wish-i-had.po b/locale/pt/LC_MESSAGES/_articles/2020-08-31-the-database-i-wish-i-had.po index 216733d..753c699 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-08-31-the-database-i-wish-i-had.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-08-31-the-database-i-wish-i-had.po @@ -3,16 +3,6 @@ msgid "" msgstr "" msgid "" -"title: The database I wish I had\n" -"date: 2020-08-31\n" -"updated_at: 2020-09-03\n" -"layout: post\n" -"lang: en\n" -"ref: the-database-i-wish-i-had\n" -"category: mediator" -msgstr "" - -msgid "" "I watched the talk \"[Platform as a Reflection of Values: Joyent, Node.js " "and beyond](https://vimeo.com/230142234)\" by Bryan Cantrill, and I think he" " was able to put into words something I already felt for some time: if " @@ -397,3 +387,23 @@ msgid "" "\n" "I welcome corrections on what I said above, too.\n" msgstr "" + +msgid "" +"title: The database I wish I had\n" +"date: 2020-08-31\n" +"updated_at: 2020-09-03\n" +"layout: post\n" +"lang: en\n" +"ref: the-database-i-wish-i-had\n" +"eu_categories: mediator" +msgstr "" + +#~ msgid "" +#~ "title: The database I wish I had\n" +#~ "date: 2020-08-31\n" +#~ "updated_at: 2020-09-03\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: the-database-i-wish-i-had\n" +#~ "category: mediator" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.po b/locale/pt/LC_MESSAGES/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.po index e8f3d6e..cfee5dc 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.po @@ -3,15 +3,6 @@ msgid "" msgstr "" msgid "" -"title: \"cargo2nix: Dramatically simpler Rust in Nix\"\n" -"date: 2020-10-05 2\n" -"layout: post\n" -"lang: en\n" -"ref: cargo2nix-dramatically-simpler-rust-in-nix\n" -"category: mediator" -msgstr "" - -msgid "" "In the same vein of my earlier post on [swift2nix]({% link " "_articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.md %}), I was " "able to quickly prototype a Rust and Cargo variation of it: " @@ -89,3 +80,21 @@ msgid "" "cd cargo2nix-demo/\n" "nix-build\n" msgstr "" + +msgid "" +"title: \"cargo2nix: Dramatically simpler Rust in Nix\"\n" +"date: 2020-10-05 2\n" +"layout: post\n" +"lang: en\n" +"ref: cargo2nix-dramatically-simpler-rust-in-nix\n" +"eu_categories: mediator" +msgstr "" + +#~ msgid "" +#~ "title: \"cargo2nix: Dramatically simpler Rust in Nix\"\n" +#~ "date: 2020-10-05 2\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: cargo2nix-dramatically-simpler-rust-in-nix\n" +#~ "category: mediator" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.po b/locale/pt/LC_MESSAGES/_articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.po index 5719f51..8087e72 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.po @@ -3,15 +3,6 @@ msgid "" msgstr "" msgid "" -"title: \"swift2nix: Run Swift inside Nix builds\"\n" -"date: 2020-10-05 1\n" -"layout: post\n" -"lang: en\n" -"ref: swift2nix-run-swift-inside-nix-builds\n" -"category: mediator" -msgstr "" - -msgid "" "While working on a Swift project, I didn't find any tool that would allow " "Swift to run inside [Nix](https://nixos.org/) builds. Even thought you *can*" " run Swift, the real problem arises when using the package manager. It has " @@ -282,3 +273,21 @@ msgid "" "nix-build -A swift2nix.release\n" "nix-build -A swift2nix.test\n" msgstr "" + +msgid "" +"title: \"swift2nix: Run Swift inside Nix builds\"\n" +"date: 2020-10-05 1\n" +"layout: post\n" +"lang: en\n" +"ref: swift2nix-run-swift-inside-nix-builds\n" +"eu_categories: mediator" +msgstr "" + +#~ msgid "" +#~ "title: \"swift2nix: Run Swift inside Nix builds\"\n" +#~ "date: 2020-10-05 1\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: swift2nix-run-swift-inside-nix-builds\n" +#~ "category: mediator" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.po b/locale/pt/LC_MESSAGES/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.po index 7f9cb36..89911ca 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.po @@ -3,16 +3,6 @@ msgid "" msgstr "" msgid "" -"title: \"Feature flags: differences between backend, frontend and mobile\"\n" -"date: 2020-10-19\n" -"updated_at: 2020-11-03\n" -"layout: post\n" -"lang: en\n" -"ref: feature-flags-differences-between-backend-frontend-and-mobile\n" -"category: presentation" -msgstr "" - -msgid "" "*This article is derived from a [presentation][presentation] on the same " "subject.*" msgstr "" @@ -432,3 +422,23 @@ msgid "" " }\n" "}\n" msgstr "" + +msgid "" +"title: \"Feature flags: differences between backend, frontend and mobile\"\n" +"date: 2020-10-19\n" +"updated_at: 2020-11-03\n" +"layout: post\n" +"lang: en\n" +"ref: feature-flags-differences-between-backend-frontend-and-mobile\n" +"eu_categories: presentation" +msgstr "" + +#~ msgid "" +#~ "title: \"Feature flags: differences between backend, frontend and mobile\"\n" +#~ "date: 2020-10-19\n" +#~ "updated_at: 2020-11-03\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: feature-flags-differences-between-backend-frontend-and-mobile\n" +#~ "category: presentation" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2020-11-08-the-next-paradigm-shift-in-programming-video-review.po b/locale/pt/LC_MESSAGES/_articles/2020-11-08-the-next-paradigm-shift-in-programming-video-review.po index 70ea4e6..953f769 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-11-08-the-next-paradigm-shift-in-programming-video-review.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-11-08-the-next-paradigm-shift-in-programming-video-review.po @@ -17,9 +17,6 @@ msgstr "" msgid "ref: the-next-paradigm-shift-in-programming-video-review" msgstr "" -msgid "category: video review" -msgstr "" - msgid "" "This is a review with comments of \"[The Next Paradigm Shift in " "Programming](https://www.youtube.com/watch?v=6YbK8o9rZfI)\", by Richard " @@ -219,6 +216,12 @@ msgid "" "following shift be towards declarative programming?" msgstr "" +msgid "eu_categories: video review" +msgstr "" + +#~ msgid "category: video review" +#~ msgstr "" + #~ msgid "" #~ "This is something you can achieve with a library, like " #~ "[Redux](https://redux.js.org/) for JavaScript or re-frame for Clojure." diff --git a/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po b/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po index 5cb9491..19bc893 100644 --- a/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po +++ b/locale/pt/LC_MESSAGES/_articles/2020-11-12-durable-persistent-trees-and-parser-combinators-building-a-database.po @@ -19,9 +19,6 @@ msgid "" "ref: durable-persistent-trees-and-parser-combinators-building-a-database" msgstr "" -msgid "category: mediator" -msgstr "" - msgid "" "I've received with certain frequency messages from people wanting to know if" " I've made any progress on the database project [I've written about]({% link" @@ -340,3 +337,9 @@ msgid "" "If any of those topics interest you, message me to discuss more or " "contribute! Patches welcome!" msgstr "" + +msgid "eu_categories: mediator" +msgstr "" + +#~ msgid "category: mediator" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_pastebins/2019-06-08-inconsistent-hash-of-buildgomodule.po b/locale/pt/LC_MESSAGES/_pastebins/2019-06-08-inconsistent-hash-of-buildgomodule.po index e669673..1070e1b 100644 --- a/locale/pt/LC_MESSAGES/_pastebins/2019-06-08-inconsistent-hash-of-buildgomodule.po +++ b/locale/pt/LC_MESSAGES/_pastebins/2019-06-08-inconsistent-hash-of-buildgomodule.po @@ -1063,11 +1063,16 @@ msgid "" msgstr "" msgid "" -"[Full source code on " -"sr.ht](https://git.euandreh.xyz/vps/tree/default.nix?id=6ba76140238b5e3c7009c201f9f80ac86063f438#n3):" +"[Full source code on the " +"repository](https://git.euandreh.xyz/vps/tree/default.nix?id=6ba76140238b5e3c7009c201f9f80ac86063f438#n3):" msgstr "" #~ msgid "" +#~ "[Full source code on " +#~ "sr.ht](https://git.euandreh.xyz/vps/tree/default.nix?id=6ba76140238b5e3c7009c201f9f80ac86063f438#n3):" +#~ msgstr "" + +#~ msgid "" #~ "title: Inconsistent hash of buildGoModule\n" #~ "date: 2019-06-08\n" #~ "layout: pastebin\n" diff --git a/locale/pt/LC_MESSAGES/categories.en.po b/locale/pt/LC_MESSAGES/categories.en.po index dbc1eb5..f161df9 100644 --- a/locale/pt/LC_MESSAGES/categories.en.po +++ b/locale/pt/LC_MESSAGES/categories.en.po @@ -12,9 +12,6 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.4.1\n" -msgid "{% include categories.html %}" -msgstr "{% include categories.html %}" - msgid "title: Articles by category" msgstr "title: Artigos por categoria" @@ -26,3 +23,9 @@ msgstr "lang: pt" msgid "ref: categories" msgstr "ref: categories" + +msgid "{% include categories.html kind=\"articles\" %}" +msgstr "{% include categories.html kind=\"articles\" %}" + +#~ msgid "{% include categories.html %}" +#~ msgstr "{% include categories.html %}" |