diff options
author | EuAndreh <eu@euandre.org> | 2022-01-16 16:52:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-16 16:52:43 -0300 |
commit | 1fc994f588dd9ef2ef8395e57e2492a6b4d730eb (patch) | |
tree | ab518e8c2c229ec60ba921adbf9897b25520b99d /po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po | |
parent | .ignore: Remove unused file (diff) | |
download | euandre.org-1fc994f588dd9ef2ef8395e57e2492a6b4d730eb.tar.gz euandre.org-1fc994f588dd9ef2ef8395e57e2492a6b4d730eb.tar.xz |
git mv locale/ po/
Diffstat (limited to 'po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po')
-rw-r--r-- | po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po b/po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po new file mode 100644 index 0000000..f6e087b --- /dev/null +++ b/po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po @@ -0,0 +1,70 @@ +# +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 "" + +#~ 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 "" |