From 4683e3b721ca32ab8a464306f9b6753b2e5a8ec4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Apr 2021 17:38:11 -0300 Subject: Add po files for new TILs, update whitespace of others --- .../2021-04-03-javascript-naive-slugify.po | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po (limited to 'locale/fr/LC_MESSAGES/_pastebins') diff --git a/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po b/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po new file mode 100644 index 0000000..6f638f2 --- /dev/null +++ b/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po @@ -0,0 +1,44 @@ +# +msgid "" +msgstr "" + +msgid "title: JavaScript naive slugify" +msgstr "" + +msgid "date: 2021-04-03" +msgstr "" + +msgid "layout: post" +msgstr "" + +msgid "lang: en" +msgstr "" + +msgid "ref: javascript-naive-slugify" +msgstr "" + +msgid "" +"const s = \"Pézão: açaí, saci-pererê.\";\n" +"\n" +"function slugify(s) {\n" +" return s\n" +" .toLowerCase()\n" +" .replaceAll(\":\", \"\")\n" +" .replaceAll(\".\", \"\")\n" +" .replaceAll(\",\", \"\")\n" +" .replaceAll(\"-\", \"\")\n" +" .replaceAll(\"á\", \"a\")\n" +" .replaceAll(\"ã\", \"a\")\n" +" .replaceAll(\"à\", \"a\")\n" +" .replaceAll(\"é\", \"e\")\n" +" .replaceAll(\"ê\", \"e\")\n" +" .replaceAll(\"í\", \"i\")\n" +" .replaceAll(\"ó\", \"o\")\n" +" .replaceAll(\"ô\", \"o\")\n" +" .replaceAll(\"ú\", \"u\")\n" +" .replaceAll(\"ü\", \"u\")\n" +" .replaceAll(\"ç\", \"c\");\n" +"}\n" +"\n" +"console.log(slugify(s));\n" +msgstr "" -- cgit v1.2.3 From a8040fd10451f546705d97a2be8f3351b0bf43bb Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Apr 2021 19:01:07 -0300 Subject: s/tabs/spaces/g --- TODOs.md | 16 +++--- ...library-for-stress-testing-failure-scenarios.md | 4 +- _pastebins/2021-04-03-javascript-naive-slugify.md | 34 ++++++------ aux/workflow/public.sh | 2 +- ...library-for-stress-testing-failure-scenarios.po | 57 +++++++++++++------- .../2021-04-03-javascript-naive-slugify.po | 60 ++++++++++++++++------ ...library-for-stress-testing-failure-scenarios.po | 57 +++++++++++++------- .../2021-04-03-javascript-naive-slugify.po | 60 ++++++++++++++++------ ...library-for-stress-testing-failure-scenarios.po | 57 +++++++++++++------- .../2021-04-03-javascript-naive-slugify.po | 60 ++++++++++++++++------ 10 files changed, 271 insertions(+), 136 deletions(-) (limited to 'locale/fr/LC_MESSAGES/_pastebins') diff --git a/TODOs.md b/TODOs.md index 2c94206..8eee761 100644 --- a/TODOs.md +++ b/TODOs.md @@ -79,7 +79,7 @@ Point to the source code on the Git repository. - DONE in 2021-01-03 Done in - [`bff2b07922272fd4c8f9ee0a7129d0a7c134dd38`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38). + [`bff2b07922272fd4c8f9ee0a7129d0a7c134dd38`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38). - TODO in 2021-01-03 --- @@ -109,7 +109,7 @@ Depending on the provider, maybe host my own, like - DONE in 2021-01-03 Done in - [`433428cf6b4ef8a653f349e0a0d1fa0d10aab1e7`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38). + [`433428cf6b4ef8a653f349e0a0d1fa0d10aab1e7`](https://git.euandreh.xyz/website/commit/?id=bff2b07922272fd4c8f9ee0a7129d0a7c134dd38). - TODO in 2021-01-01 ## DONE Move `assert-content.sh` to Ruby {#task-a7b6b371-100c-48f4-a448-bfa39f88efce} @@ -131,7 +131,7 @@ source tree? Are torrents source files or build artifacts? - DONE in 2020-12-27 Done in - [`56da1a73ac0c211fbb14447b9175660d6757e795`](https://git.euandreh.xyz/website/commit/?id=56da1a73ac0c211fbb14447b9175660d6757e795). + [`56da1a73ac0c211fbb14447b9175660d6757e795`](https://git.euandreh.xyz/website/commit/?id=56da1a73ac0c211fbb14447b9175660d6757e795). - TODO in 2020-12-23 ## DONE Use SVG favicon {#task-29f1bded-3a56-410b-933d-e6a11f47656a} @@ -173,7 +173,7 @@ $ convert icon-48x48.png favicon.ico using WebM files. I'll keep MKV and investigate further later. See also - [`#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0`](#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0). + [`#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0`](#task-9d75fe3a-b7e5-4cc5-9300-1054c7e981c0). - CANCELLED in 2020-12-28 @@ -187,16 +187,16 @@ $ convert icon-48x48.png favicon.ico - DONE in 2020-12-28 Done in - [`4d7a8207ee0931a157904cc58255d1950fa46178`](https://git.euandreh.xyz/website/commit/?id=4d7a8207ee0931a157904cc58255d1950fa46178). + [`4d7a8207ee0931a157904cc58255d1950fa46178`](https://git.euandreh.xyz/website/commit/?id=4d7a8207ee0931a157904cc58255d1950fa46178). - TODO in 2020-12-27 ## DONE Assert media files have metadata {#task-8d8a9202-97d4-4c43-b042-15fd5c95da65} - DONE in 2020-12-28 Audio done in - [`e07ff2a1928be00bb7f7eb7fc82c8447a581c58f`](https://git.euandreh.xyz/website/commit/?id=e07ff2a1928be00bb7f7eb7fc82c8447a581c58f), - and video done in - [`9bd53de5a956c34f9ef41695e878bdd4b3df1697`](https://git.euandreh.xyz/website/commit/?id=9bd53de5a956c34f9ef41695e878bdd4b3df1697). + [`e07ff2a1928be00bb7f7eb7fc82c8447a581c58f`](https://git.euandreh.xyz/website/commit/?id=e07ff2a1928be00bb7f7eb7fc82c8447a581c58f), + and video done in + [`9bd53de5a956c34f9ef41695e878bdd4b3df1697`](https://git.euandreh.xyz/website/commit/?id=9bd53de5a956c34f9ef41695e878bdd4b3df1697). - TODO in 2020-12-27 diff --git a/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md b/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md index 4879054..f270619 100644 --- a/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md +++ b/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md @@ -152,8 +152,8 @@ void *fallible_malloc(size_t size, const char *const filename, int lineno) { With this definition, I could replace the calls to `malloc` with `MALLOC` (or any other name that you want to `#define`): ```diff ---- 3.c 2021-02-17 00:15:38.019706074 -0300 -+++ 4.c 2021-02-17 00:44:32.306885590 -0300 +--- 3.c 2021-02-17 00:15:38.019706074 -0300 ++++ 4.c 2021-02-17 00:44:32.306885590 -0300 @@ -1,11 +1,11 @@ bool a_function() { - char *s1 = malloc(A_NUMBER); diff --git a/_pastebins/2021-04-03-javascript-naive-slugify.md b/_pastebins/2021-04-03-javascript-naive-slugify.md index 05251c7..ce038fd 100644 --- a/_pastebins/2021-04-03-javascript-naive-slugify.md +++ b/_pastebins/2021-04-03-javascript-naive-slugify.md @@ -16,23 +16,23 @@ ref: javascript-naive-slugify const s = "Pézão: açaí, saci-pererê."; function slugify(s) { - return s - .toLowerCase() - .replaceAll(":", "") - .replaceAll(".", "") - .replaceAll(",", "") - .replaceAll("-", "") - .replaceAll("á", "a") - .replaceAll("ã", "a") - .replaceAll("à", "a") - .replaceAll("é", "e") - .replaceAll("ê", "e") - .replaceAll("í", "i") - .replaceAll("ó", "o") - .replaceAll("ô", "o") - .replaceAll("ú", "u") - .replaceAll("ü", "u") - .replaceAll("ç", "c"); + return s + .toLowerCase() + .replaceAll(":", "") + .replaceAll(".", "") + .replaceAll(",", "") + .replaceAll("-", "") + .replaceAll("á", "a") + .replaceAll("ã", "a") + .replaceAll("à", "a") + .replaceAll("é", "e") + .replaceAll("ê", "e") + .replaceAll("í", "i") + .replaceAll("ó", "o") + .replaceAll("ô", "o") + .replaceAll("ú", "u") + .replaceAll("ü", "u") + .replaceAll("ç", "c"); } console.log(slugify(s)); diff --git a/aux/workflow/public.sh b/aux/workflow/public.sh index 4c90225..d7df96b 100755 --- a/aux/workflow/public.sh +++ b/aux/workflow/public.sh @@ -9,7 +9,7 @@ sh aux/workflow/TODOs.sh "$PROJECT_UC" "$PROJECT" "$MAILING_LIST" sh aux/workflow/README.sh "$PROJECT_UC" "$PROJECT" "$MAILING_LIST" if [ -f CHANGELOG.md ]; then - sh aux/workflow/commonmark.sh "$PROJECT" CHANGELOG.md + sh aux/workflow/commonmark.sh "$PROJECT" CHANGELOG.md fi sh aux/ci/report.sh "$PROJECT" diff --git a/locale/eo/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po b/locale/eo/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po index 442e6d0..e30c889 100644 --- a/locale/eo/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po +++ b/locale/eo/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po @@ -240,25 +240,6 @@ msgid "" "(or any other name that you want to `#define`):" msgstr "" -msgid "" -"--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" -"+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" -"@@ -1,11 +1,11 @@\n" -" bool a_function() {\n" -"- char *s1 = malloc(A_NUMBER);\n" -"+ char *s1 = MALLOC(A_NUMBER);\n" -" if (!s1) {\n" -" return false;\n" -" }\n" -" strcpy(s1, \"some string\");\n" -"\n" -"- char *s2 = malloc(A_NUMBER);\n" -"+ char *s2 = MALLOC(A_NUMBER);\n" -" if (!s2) {\n" -" free(s1);\n" -" return false;\n" -msgstr "" - msgid "" "With this change, if the program gets compiled with the `-DFALLIBLE` flag " "the fault-injection mechanism will run, and `MALLOC` will fail once for each" @@ -342,3 +323,41 @@ msgstr "" msgid "Patches welcome!" msgstr "" + +msgid "" +"--- 3.c 2021-02-17 00:15:38.019706074 -0300\n" +"+++ 4.c 2021-02-17 00:44:32.306885590 -0300\n" +"@@ -1,11 +1,11 @@\n" +" bool a_function() {\n" +"- char *s1 = malloc(A_NUMBER);\n" +"+ char *s1 = MALLOC(A_NUMBER);\n" +" if (!s1) {\n" +" return false;\n" +" }\n" +" strcpy(s1, \"some string\");\n" +"\n" +"- char *s2 = malloc(A_NUMBER);\n" +"+ char *s2 = MALLOC(A_NUMBER);\n" +" if (!s2) {\n" +" free(s1);\n" +" return false;\n" +msgstr "" + +#~ msgid "" +#~ "--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" +#~ "+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" +#~ "@@ -1,11 +1,11 @@\n" +#~ " bool a_function() {\n" +#~ "- char *s1 = malloc(A_NUMBER);\n" +#~ "+ char *s1 = MALLOC(A_NUMBER);\n" +#~ " if (!s1) {\n" +#~ " return false;\n" +#~ " }\n" +#~ " strcpy(s1, \"some string\");\n" +#~ "\n" +#~ "- char *s2 = malloc(A_NUMBER);\n" +#~ "+ char *s2 = MALLOC(A_NUMBER);\n" +#~ " if (!s2) {\n" +#~ " free(s1);\n" +#~ " return false;\n" +#~ msgstr "" diff --git a/locale/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po b/locale/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po index 6f638f2..f6e087b 100644 --- a/locale/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po +++ b/locale/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po @@ -21,24 +21,50 @@ msgid "" "const s = \"Pézão: açaí, saci-pererê.\";\n" "\n" "function slugify(s) {\n" -" return s\n" -" .toLowerCase()\n" -" .replaceAll(\":\", \"\")\n" -" .replaceAll(\".\", \"\")\n" -" .replaceAll(\",\", \"\")\n" -" .replaceAll(\"-\", \"\")\n" -" .replaceAll(\"á\", \"a\")\n" -" .replaceAll(\"ã\", \"a\")\n" -" .replaceAll(\"à\", \"a\")\n" -" .replaceAll(\"é\", \"e\")\n" -" .replaceAll(\"ê\", \"e\")\n" -" .replaceAll(\"í\", \"i\")\n" -" .replaceAll(\"ó\", \"o\")\n" -" .replaceAll(\"ô\", \"o\")\n" -" .replaceAll(\"ú\", \"u\")\n" -" .replaceAll(\"ü\", \"u\")\n" -" .replaceAll(\"ç\", \"c\");\n" +" return s\n" +" .toLowerCase()\n" +" .replaceAll(\":\", \"\")\n" +" .replaceAll(\".\", \"\")\n" +" .replaceAll(\",\", \"\")\n" +" .replaceAll(\"-\", \"\")\n" +" .replaceAll(\"á\", \"a\")\n" +" .replaceAll(\"ã\", \"a\")\n" +" .replaceAll(\"à\", \"a\")\n" +" .replaceAll(\"é\", \"e\")\n" +" .replaceAll(\"ê\", \"e\")\n" +" .replaceAll(\"í\", \"i\")\n" +" .replaceAll(\"ó\", \"o\")\n" +" .replaceAll(\"ô\", \"o\")\n" +" .replaceAll(\"ú\", \"u\")\n" +" .replaceAll(\"ü\", \"u\")\n" +" .replaceAll(\"ç\", \"c\");\n" "}\n" "\n" "console.log(slugify(s));\n" msgstr "" + +#~ msgid "" +#~ "const s = \"Pézão: açaí, saci-pererê.\";\n" +#~ "\n" +#~ "function slugify(s) {\n" +#~ " return s\n" +#~ " .toLowerCase()\n" +#~ " .replaceAll(\":\", \"\")\n" +#~ " .replaceAll(\".\", \"\")\n" +#~ " .replaceAll(\",\", \"\")\n" +#~ " .replaceAll(\"-\", \"\")\n" +#~ " .replaceAll(\"á\", \"a\")\n" +#~ " .replaceAll(\"ã\", \"a\")\n" +#~ " .replaceAll(\"à\", \"a\")\n" +#~ " .replaceAll(\"é\", \"e\")\n" +#~ " .replaceAll(\"ê\", \"e\")\n" +#~ " .replaceAll(\"í\", \"i\")\n" +#~ " .replaceAll(\"ó\", \"o\")\n" +#~ " .replaceAll(\"ô\", \"o\")\n" +#~ " .replaceAll(\"ú\", \"u\")\n" +#~ " .replaceAll(\"ü\", \"u\")\n" +#~ " .replaceAll(\"ç\", \"c\");\n" +#~ "}\n" +#~ "\n" +#~ "console.log(slugify(s));\n" +#~ msgstr "" diff --git a/locale/fr/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po b/locale/fr/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po index 442e6d0..e30c889 100644 --- a/locale/fr/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po +++ b/locale/fr/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po @@ -240,25 +240,6 @@ msgid "" "(or any other name that you want to `#define`):" msgstr "" -msgid "" -"--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" -"+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" -"@@ -1,11 +1,11 @@\n" -" bool a_function() {\n" -"- char *s1 = malloc(A_NUMBER);\n" -"+ char *s1 = MALLOC(A_NUMBER);\n" -" if (!s1) {\n" -" return false;\n" -" }\n" -" strcpy(s1, \"some string\");\n" -"\n" -"- char *s2 = malloc(A_NUMBER);\n" -"+ char *s2 = MALLOC(A_NUMBER);\n" -" if (!s2) {\n" -" free(s1);\n" -" return false;\n" -msgstr "" - msgid "" "With this change, if the program gets compiled with the `-DFALLIBLE` flag " "the fault-injection mechanism will run, and `MALLOC` will fail once for each" @@ -342,3 +323,41 @@ msgstr "" msgid "Patches welcome!" msgstr "" + +msgid "" +"--- 3.c 2021-02-17 00:15:38.019706074 -0300\n" +"+++ 4.c 2021-02-17 00:44:32.306885590 -0300\n" +"@@ -1,11 +1,11 @@\n" +" bool a_function() {\n" +"- char *s1 = malloc(A_NUMBER);\n" +"+ char *s1 = MALLOC(A_NUMBER);\n" +" if (!s1) {\n" +" return false;\n" +" }\n" +" strcpy(s1, \"some string\");\n" +"\n" +"- char *s2 = malloc(A_NUMBER);\n" +"+ char *s2 = MALLOC(A_NUMBER);\n" +" if (!s2) {\n" +" free(s1);\n" +" return false;\n" +msgstr "" + +#~ msgid "" +#~ "--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" +#~ "+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" +#~ "@@ -1,11 +1,11 @@\n" +#~ " bool a_function() {\n" +#~ "- char *s1 = malloc(A_NUMBER);\n" +#~ "+ char *s1 = MALLOC(A_NUMBER);\n" +#~ " if (!s1) {\n" +#~ " return false;\n" +#~ " }\n" +#~ " strcpy(s1, \"some string\");\n" +#~ "\n" +#~ "- char *s2 = malloc(A_NUMBER);\n" +#~ "+ char *s2 = MALLOC(A_NUMBER);\n" +#~ " if (!s2) {\n" +#~ " free(s1);\n" +#~ " return false;\n" +#~ msgstr "" diff --git a/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po b/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po index 6f638f2..f6e087b 100644 --- a/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po +++ b/locale/fr/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po @@ -21,24 +21,50 @@ msgid "" "const s = \"Pézão: açaí, saci-pererê.\";\n" "\n" "function slugify(s) {\n" -" return s\n" -" .toLowerCase()\n" -" .replaceAll(\":\", \"\")\n" -" .replaceAll(\".\", \"\")\n" -" .replaceAll(\",\", \"\")\n" -" .replaceAll(\"-\", \"\")\n" -" .replaceAll(\"á\", \"a\")\n" -" .replaceAll(\"ã\", \"a\")\n" -" .replaceAll(\"à\", \"a\")\n" -" .replaceAll(\"é\", \"e\")\n" -" .replaceAll(\"ê\", \"e\")\n" -" .replaceAll(\"í\", \"i\")\n" -" .replaceAll(\"ó\", \"o\")\n" -" .replaceAll(\"ô\", \"o\")\n" -" .replaceAll(\"ú\", \"u\")\n" -" .replaceAll(\"ü\", \"u\")\n" -" .replaceAll(\"ç\", \"c\");\n" +" return s\n" +" .toLowerCase()\n" +" .replaceAll(\":\", \"\")\n" +" .replaceAll(\".\", \"\")\n" +" .replaceAll(\",\", \"\")\n" +" .replaceAll(\"-\", \"\")\n" +" .replaceAll(\"á\", \"a\")\n" +" .replaceAll(\"ã\", \"a\")\n" +" .replaceAll(\"à\", \"a\")\n" +" .replaceAll(\"é\", \"e\")\n" +" .replaceAll(\"ê\", \"e\")\n" +" .replaceAll(\"í\", \"i\")\n" +" .replaceAll(\"ó\", \"o\")\n" +" .replaceAll(\"ô\", \"o\")\n" +" .replaceAll(\"ú\", \"u\")\n" +" .replaceAll(\"ü\", \"u\")\n" +" .replaceAll(\"ç\", \"c\");\n" "}\n" "\n" "console.log(slugify(s));\n" msgstr "" + +#~ msgid "" +#~ "const s = \"Pézão: açaí, saci-pererê.\";\n" +#~ "\n" +#~ "function slugify(s) {\n" +#~ " return s\n" +#~ " .toLowerCase()\n" +#~ " .replaceAll(\":\", \"\")\n" +#~ " .replaceAll(\".\", \"\")\n" +#~ " .replaceAll(\",\", \"\")\n" +#~ " .replaceAll(\"-\", \"\")\n" +#~ " .replaceAll(\"á\", \"a\")\n" +#~ " .replaceAll(\"ã\", \"a\")\n" +#~ " .replaceAll(\"à\", \"a\")\n" +#~ " .replaceAll(\"é\", \"e\")\n" +#~ " .replaceAll(\"ê\", \"e\")\n" +#~ " .replaceAll(\"í\", \"i\")\n" +#~ " .replaceAll(\"ó\", \"o\")\n" +#~ " .replaceAll(\"ô\", \"o\")\n" +#~ " .replaceAll(\"ú\", \"u\")\n" +#~ " .replaceAll(\"ü\", \"u\")\n" +#~ " .replaceAll(\"ç\", \"c\");\n" +#~ "}\n" +#~ "\n" +#~ "console.log(slugify(s));\n" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po b/locale/pt/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po index 442e6d0..e30c889 100644 --- a/locale/pt/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po +++ b/locale/pt/LC_MESSAGES/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.po @@ -240,25 +240,6 @@ msgid "" "(or any other name that you want to `#define`):" msgstr "" -msgid "" -"--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" -"+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" -"@@ -1,11 +1,11 @@\n" -" bool a_function() {\n" -"- char *s1 = malloc(A_NUMBER);\n" -"+ char *s1 = MALLOC(A_NUMBER);\n" -" if (!s1) {\n" -" return false;\n" -" }\n" -" strcpy(s1, \"some string\");\n" -"\n" -"- char *s2 = malloc(A_NUMBER);\n" -"+ char *s2 = MALLOC(A_NUMBER);\n" -" if (!s2) {\n" -" free(s1);\n" -" return false;\n" -msgstr "" - msgid "" "With this change, if the program gets compiled with the `-DFALLIBLE` flag " "the fault-injection mechanism will run, and `MALLOC` will fail once for each" @@ -342,3 +323,41 @@ msgstr "" msgid "Patches welcome!" msgstr "" + +msgid "" +"--- 3.c 2021-02-17 00:15:38.019706074 -0300\n" +"+++ 4.c 2021-02-17 00:44:32.306885590 -0300\n" +"@@ -1,11 +1,11 @@\n" +" bool a_function() {\n" +"- char *s1 = malloc(A_NUMBER);\n" +"+ char *s1 = MALLOC(A_NUMBER);\n" +" if (!s1) {\n" +" return false;\n" +" }\n" +" strcpy(s1, \"some string\");\n" +"\n" +"- char *s2 = malloc(A_NUMBER);\n" +"+ char *s2 = MALLOC(A_NUMBER);\n" +" if (!s2) {\n" +" free(s1);\n" +" return false;\n" +msgstr "" + +#~ msgid "" +#~ "--- 3.c\t2021-02-17 00:15:38.019706074 -0300\n" +#~ "+++ 4.c\t2021-02-17 00:44:32.306885590 -0300\n" +#~ "@@ -1,11 +1,11 @@\n" +#~ " bool a_function() {\n" +#~ "- char *s1 = malloc(A_NUMBER);\n" +#~ "+ char *s1 = MALLOC(A_NUMBER);\n" +#~ " if (!s1) {\n" +#~ " return false;\n" +#~ " }\n" +#~ " strcpy(s1, \"some string\");\n" +#~ "\n" +#~ "- char *s2 = malloc(A_NUMBER);\n" +#~ "+ char *s2 = MALLOC(A_NUMBER);\n" +#~ " if (!s2) {\n" +#~ " free(s1);\n" +#~ " return false;\n" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po b/locale/pt/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po index 6f638f2..f6e087b 100644 --- a/locale/pt/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po +++ b/locale/pt/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po @@ -21,24 +21,50 @@ msgid "" "const s = \"Pézão: açaí, saci-pererê.\";\n" "\n" "function slugify(s) {\n" -" return s\n" -" .toLowerCase()\n" -" .replaceAll(\":\", \"\")\n" -" .replaceAll(\".\", \"\")\n" -" .replaceAll(\",\", \"\")\n" -" .replaceAll(\"-\", \"\")\n" -" .replaceAll(\"á\", \"a\")\n" -" .replaceAll(\"ã\", \"a\")\n" -" .replaceAll(\"à\", \"a\")\n" -" .replaceAll(\"é\", \"e\")\n" -" .replaceAll(\"ê\", \"e\")\n" -" .replaceAll(\"í\", \"i\")\n" -" .replaceAll(\"ó\", \"o\")\n" -" .replaceAll(\"ô\", \"o\")\n" -" .replaceAll(\"ú\", \"u\")\n" -" .replaceAll(\"ü\", \"u\")\n" -" .replaceAll(\"ç\", \"c\");\n" +" return s\n" +" .toLowerCase()\n" +" .replaceAll(\":\", \"\")\n" +" .replaceAll(\".\", \"\")\n" +" .replaceAll(\",\", \"\")\n" +" .replaceAll(\"-\", \"\")\n" +" .replaceAll(\"á\", \"a\")\n" +" .replaceAll(\"ã\", \"a\")\n" +" .replaceAll(\"à\", \"a\")\n" +" .replaceAll(\"é\", \"e\")\n" +" .replaceAll(\"ê\", \"e\")\n" +" .replaceAll(\"í\", \"i\")\n" +" .replaceAll(\"ó\", \"o\")\n" +" .replaceAll(\"ô\", \"o\")\n" +" .replaceAll(\"ú\", \"u\")\n" +" .replaceAll(\"ü\", \"u\")\n" +" .replaceAll(\"ç\", \"c\");\n" "}\n" "\n" "console.log(slugify(s));\n" msgstr "" + +#~ msgid "" +#~ "const s = \"Pézão: açaí, saci-pererê.\";\n" +#~ "\n" +#~ "function slugify(s) {\n" +#~ " return s\n" +#~ " .toLowerCase()\n" +#~ " .replaceAll(\":\", \"\")\n" +#~ " .replaceAll(\".\", \"\")\n" +#~ " .replaceAll(\",\", \"\")\n" +#~ " .replaceAll(\"-\", \"\")\n" +#~ " .replaceAll(\"á\", \"a\")\n" +#~ " .replaceAll(\"ã\", \"a\")\n" +#~ " .replaceAll(\"à\", \"a\")\n" +#~ " .replaceAll(\"é\", \"e\")\n" +#~ " .replaceAll(\"ê\", \"e\")\n" +#~ " .replaceAll(\"í\", \"i\")\n" +#~ " .replaceAll(\"ó\", \"o\")\n" +#~ " .replaceAll(\"ô\", \"o\")\n" +#~ " .replaceAll(\"ú\", \"u\")\n" +#~ " .replaceAll(\"ü\", \"u\")\n" +#~ " .replaceAll(\"ç\", \"c\");\n" +#~ "}\n" +#~ "\n" +#~ "console.log(slugify(s));\n" +#~ msgstr "" -- cgit v1.2.3