aboutsummaryrefslogtreecommitdiff
path: root/po/eo/LC_MESSAGES/_pastebins/2021-04-03-javascript-naive-slugify.po
blob: f6e087b606248e21b9d2ecb40359680ee69e552e (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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 ""