Loading languages/README.md +3 −3 Original line number Diff line number Diff line 1. Generate POT file: ```sh xgettext -L PHP -d word-count -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/word-count.pot xgettext -L PHP -d free-word-count -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/free-word-count.pot ``` 2. Copy POT file to `.po` file: ```sh cp languages/word-count.pot languages/ll_LL.po cp languages/free-word-count.pot languages/ll_LL.po ``` 3. Generate `.mo` file: Loading @@ -18,5 +18,5 @@ 4. Update `.po` file: ```sh msgmerge -U languages/es_MX.po languages/word-count.pot msgmerge -U languages/es_MX.po languages/free-word-count.pot ``` languages/es_MX.po +4 −4 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" "Project-Id-Version: word-count 0.0.1\n" "Project-Id-Version: free-word-count 0.0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-18 22:09-0500\n" "PO-Revision-Date: 2021-10-18 23:48-0500\n" Loading Loading @@ -182,13 +182,13 @@ msgstr "Palabras en entradas:" msgid "Total words:" msgstr "Total de palabras:" #: datetime-chart.php:26 top-20-tables.php:81 word-count.php:21 #: datetime-chart.php:26 top-20-tables.php:81 free-word-count.php:21 #: datetime-chart.php:53 datetime-chart.php:52 msgid "Word count" msgstr "Número de palabras" #: word-count.php:21 tab-barcharts.php:8 tab-piecharts.php:8 tab-stats.php:10 #: tab-tables.php:8 word-count.php:20 tab-stats.php:15 #: free-word-count.php:21 tab-barcharts.php:8 tab-piecharts.php:8 tab-stats.php:10 #: tab-tables.php:8 free-word-count.php:20 tab-stats.php:15 msgid "Word count and statistics for posts and pages" msgstr "Número de palabras y estadísticas para entradas y páginas" Loading languages/word-count.pot→languages/free-word-count.pot +0 −0 File moved. View file Loading
languages/README.md +3 −3 Original line number Diff line number Diff line 1. Generate POT file: ```sh xgettext -L PHP -d word-count -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/word-count.pot xgettext -L PHP -d free-word-count -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/free-word-count.pot ``` 2. Copy POT file to `.po` file: ```sh cp languages/word-count.pot languages/ll_LL.po cp languages/free-word-count.pot languages/ll_LL.po ``` 3. Generate `.mo` file: Loading @@ -18,5 +18,5 @@ 4. Update `.po` file: ```sh msgmerge -U languages/es_MX.po languages/word-count.pot msgmerge -U languages/es_MX.po languages/free-word-count.pot ```
languages/es_MX.po +4 −4 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" "Project-Id-Version: word-count 0.0.1\n" "Project-Id-Version: free-word-count 0.0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-18 22:09-0500\n" "PO-Revision-Date: 2021-10-18 23:48-0500\n" Loading Loading @@ -182,13 +182,13 @@ msgstr "Palabras en entradas:" msgid "Total words:" msgstr "Total de palabras:" #: datetime-chart.php:26 top-20-tables.php:81 word-count.php:21 #: datetime-chart.php:26 top-20-tables.php:81 free-word-count.php:21 #: datetime-chart.php:53 datetime-chart.php:52 msgid "Word count" msgstr "Número de palabras" #: word-count.php:21 tab-barcharts.php:8 tab-piecharts.php:8 tab-stats.php:10 #: tab-tables.php:8 word-count.php:20 tab-stats.php:15 #: free-word-count.php:21 tab-barcharts.php:8 tab-piecharts.php:8 tab-stats.php:10 #: tab-tables.php:8 free-word-count.php:20 tab-stats.php:15 msgid "Word count and statistics for posts and pages" msgstr "Número de palabras y estadísticas para entradas y páginas" Loading