Loading languages/README.md +1 −1 Original line number Diff line number Diff line 1. Generate POT file: ```sh xgettext -L PHP -d ga-page-stats -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/ga-page-stats.pot xgettext -L PHP -d ga-page-stats -F -j *.php --from-code=UTF-8 -k_e -k__ -o languages/ga-page-stats.pot ``` 2. Copy POT file to `.po` file: Loading languages/es_MX.mo +151 B (1.1 KiB) File changed.No diff preview for this file type. View original file View changed file languages/es_MX.po +44 −36 Original line number Diff line number Diff line # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # GA Page Stats MX Spanish translation. # Copyright (C) 2024 Canek Peláez Valdés # This file is distributed under the same license as the GA Page Stats package. # Canek Peláez Valdés <canek@ciencias.unam.mx>, 2021. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ga-page-stats 0.0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-21 17:06-0500\n" "PO-Revision-Date: 2021-10-21 17:07-0500\n" "POT-Creation-Date: 2024-06-29 11:09-0600\n" "PO-Revision-Date: 2024-06-29 11:16-0600\n" "Last-Translator: Canek Peláez <canek@ciencias.unam.mx>\n" "Language-Team: Spanish\n" "Language: Spanish\n" Loading @@ -17,54 +17,62 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: class.ga-page-stats.php:26 #: class.ga-page-stats.php:26 class.ga-page-stats.php:33 msgid "Cannot unserialize a singleton." msgstr "No se puede deserializar un singleton." msgstr "No se puede deseriar un singleton." #: ga-page-stats.php:21 options.php:2 options.php:4 options.php:13 msgid "Google Analytics page statistics" msgstr "Estadísticas de página con Google Analytics" #: ga-page-stats.php:22 msgid "Google Analytics" msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 msgid "Google Analytics page statistics" msgstr "Estadísticas de página con Google Analytics" #: ga-page-stats.php:35 msgid "Views" msgstr "Vistas" #: options.php:59 options.php:73 msgid "Key file" msgstr "Archivo de llave" #: ga-page-stats.php:36 msgid "Users" msgstr "Usuarios" #: options.php:59 msgid "Main page" msgstr "Página principal" #: options.php:23 options.php:25 options.php:37 msgid "updated" msgstr "actualizada" #: options.php:29 options.php:31 #: options.php:29 options.php:31 options.php:43 msgid "No option updated" msgstr "Ninguna opción actualizada" #: options.php:88 options.php:102 msgid "Save changes" msgstr "Guardar cambios" #: options.php:51 options.php:65 msgid "View ID" msgstr "Identificador de vista" #: options.php:59 options.php:73 options.php:87 msgid "Key file" msgstr "Archivo de llave" #: options.php:68 options.php:82 #: options.php:59 options.php:73 msgid "Main page" msgstr "Página principal" #: options.php:68 options.php:82 options.php:103 msgid "Show by default" msgstr "Mostrar por omisión" #: options.php:77 options.php:91 #: options.php:77 options.php:91 options.php:111 msgid "Show separator" msgstr "Mostrar separador" #: ga-page-stats.php:36 msgid "Users" msgstr "Usuarios" #: options.php:51 options.php:65 msgid "View ID" msgstr "Identificador de vista" #: options.php:79 msgid "Property ID" msgstr "ID de propiedad" #: ga-page-stats.php:35 msgid "Views" msgstr "Vistas" #: options.php:88 options.php:102 options.php:121 msgid "Save changes" msgstr "Guardar cambios" #: options.php:23 options.php:25 msgid "updated" msgstr "actualizada" #: options.php:95 msgid "Start date" msgstr "Fecha de inicio" languages/ga-page-stats.pot +32 −24 Original line number Diff line number Diff line Loading @@ -8,63 +8,71 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-21 17:06-0500\n" "POT-Creation-Date: 2024-06-29 11:09-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: class.ga-page-stats.php:26 #: class.ga-page-stats.php:26 class.ga-page-stats.php:33 msgid "Cannot unserialize a singleton." msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 options.php:13 msgid "Google Analytics page statistics" msgstr "" #: ga-page-stats.php:22 msgid "Google Analytics" msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 msgid "Google Analytics page statistics" #: ga-page-stats.php:35 msgid "Views" msgstr "" #: options.php:59 options.php:73 msgid "Key file" #: ga-page-stats.php:36 msgid "Users" msgstr "" #: options.php:59 msgid "Main page" #: options.php:23 options.php:25 options.php:37 msgid "updated" msgstr "" #: options.php:29 options.php:31 #: options.php:29 options.php:31 options.php:43 msgid "No option updated" msgstr "" #: options.php:88 options.php:102 msgid "Save changes" #: options.php:51 options.php:65 msgid "View ID" msgstr "" #: options.php:68 options.php:82 msgid "Show by default" #: options.php:59 options.php:73 options.php:87 msgid "Key file" msgstr "" #: options.php:77 options.php:91 msgid "Show separator" #: options.php:59 options.php:73 msgid "Main page" msgstr "" #: ga-page-stats.php:36 msgid "Users" #: options.php:68 options.php:82 options.php:103 msgid "Show by default" msgstr "" #: options.php:51 options.php:65 msgid "View ID" #: options.php:77 options.php:91 options.php:111 msgid "Show separator" msgstr "" #: ga-page-stats.php:35 msgid "Views" #: options.php:79 msgid "Property ID" msgstr "" #: options.php:23 options.php:25 msgid "updated" #: options.php:88 options.php:102 options.php:121 msgid "Save changes" msgstr "" #: options.php:95 msgid "Start date" msgstr "" Loading
languages/README.md +1 −1 Original line number Diff line number Diff line 1. Generate POT file: ```sh xgettext -L PHP -d ga-page-stats -s -j *.php --from-code=UTF-8 -k_e -k__ -o languages/ga-page-stats.pot xgettext -L PHP -d ga-page-stats -F -j *.php --from-code=UTF-8 -k_e -k__ -o languages/ga-page-stats.pot ``` 2. Copy POT file to `.po` file: Loading
languages/es_MX.mo +151 B (1.1 KiB) File changed.No diff preview for this file type. View original file View changed file
languages/es_MX.po +44 −36 Original line number Diff line number Diff line # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # GA Page Stats MX Spanish translation. # Copyright (C) 2024 Canek Peláez Valdés # This file is distributed under the same license as the GA Page Stats package. # Canek Peláez Valdés <canek@ciencias.unam.mx>, 2021. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ga-page-stats 0.0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-21 17:06-0500\n" "PO-Revision-Date: 2021-10-21 17:07-0500\n" "POT-Creation-Date: 2024-06-29 11:09-0600\n" "PO-Revision-Date: 2024-06-29 11:16-0600\n" "Last-Translator: Canek Peláez <canek@ciencias.unam.mx>\n" "Language-Team: Spanish\n" "Language: Spanish\n" Loading @@ -17,54 +17,62 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: class.ga-page-stats.php:26 #: class.ga-page-stats.php:26 class.ga-page-stats.php:33 msgid "Cannot unserialize a singleton." msgstr "No se puede deserializar un singleton." msgstr "No se puede deseriar un singleton." #: ga-page-stats.php:21 options.php:2 options.php:4 options.php:13 msgid "Google Analytics page statistics" msgstr "Estadísticas de página con Google Analytics" #: ga-page-stats.php:22 msgid "Google Analytics" msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 msgid "Google Analytics page statistics" msgstr "Estadísticas de página con Google Analytics" #: ga-page-stats.php:35 msgid "Views" msgstr "Vistas" #: options.php:59 options.php:73 msgid "Key file" msgstr "Archivo de llave" #: ga-page-stats.php:36 msgid "Users" msgstr "Usuarios" #: options.php:59 msgid "Main page" msgstr "Página principal" #: options.php:23 options.php:25 options.php:37 msgid "updated" msgstr "actualizada" #: options.php:29 options.php:31 #: options.php:29 options.php:31 options.php:43 msgid "No option updated" msgstr "Ninguna opción actualizada" #: options.php:88 options.php:102 msgid "Save changes" msgstr "Guardar cambios" #: options.php:51 options.php:65 msgid "View ID" msgstr "Identificador de vista" #: options.php:59 options.php:73 options.php:87 msgid "Key file" msgstr "Archivo de llave" #: options.php:68 options.php:82 #: options.php:59 options.php:73 msgid "Main page" msgstr "Página principal" #: options.php:68 options.php:82 options.php:103 msgid "Show by default" msgstr "Mostrar por omisión" #: options.php:77 options.php:91 #: options.php:77 options.php:91 options.php:111 msgid "Show separator" msgstr "Mostrar separador" #: ga-page-stats.php:36 msgid "Users" msgstr "Usuarios" #: options.php:51 options.php:65 msgid "View ID" msgstr "Identificador de vista" #: options.php:79 msgid "Property ID" msgstr "ID de propiedad" #: ga-page-stats.php:35 msgid "Views" msgstr "Vistas" #: options.php:88 options.php:102 options.php:121 msgid "Save changes" msgstr "Guardar cambios" #: options.php:23 options.php:25 msgid "updated" msgstr "actualizada" #: options.php:95 msgid "Start date" msgstr "Fecha de inicio"
languages/ga-page-stats.pot +32 −24 Original line number Diff line number Diff line Loading @@ -8,63 +8,71 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-21 17:06-0500\n" "POT-Creation-Date: 2024-06-29 11:09-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: class.ga-page-stats.php:26 #: class.ga-page-stats.php:26 class.ga-page-stats.php:33 msgid "Cannot unserialize a singleton." msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 options.php:13 msgid "Google Analytics page statistics" msgstr "" #: ga-page-stats.php:22 msgid "Google Analytics" msgstr "" #: ga-page-stats.php:21 options.php:2 options.php:4 msgid "Google Analytics page statistics" #: ga-page-stats.php:35 msgid "Views" msgstr "" #: options.php:59 options.php:73 msgid "Key file" #: ga-page-stats.php:36 msgid "Users" msgstr "" #: options.php:59 msgid "Main page" #: options.php:23 options.php:25 options.php:37 msgid "updated" msgstr "" #: options.php:29 options.php:31 #: options.php:29 options.php:31 options.php:43 msgid "No option updated" msgstr "" #: options.php:88 options.php:102 msgid "Save changes" #: options.php:51 options.php:65 msgid "View ID" msgstr "" #: options.php:68 options.php:82 msgid "Show by default" #: options.php:59 options.php:73 options.php:87 msgid "Key file" msgstr "" #: options.php:77 options.php:91 msgid "Show separator" #: options.php:59 options.php:73 msgid "Main page" msgstr "" #: ga-page-stats.php:36 msgid "Users" #: options.php:68 options.php:82 options.php:103 msgid "Show by default" msgstr "" #: options.php:51 options.php:65 msgid "View ID" #: options.php:77 options.php:91 options.php:111 msgid "Show separator" msgstr "" #: ga-page-stats.php:35 msgid "Views" #: options.php:79 msgid "Property ID" msgstr "" #: options.php:23 options.php:25 msgid "updated" #: options.php:88 options.php:102 options.php:121 msgid "Save changes" msgstr "" #: options.php:95 msgid "Start date" msgstr ""