diff --git a/languages/es_ES.mo b/languages/es_ES.mo new file mode 100644 index 0000000..74d1011 Binary files /dev/null and b/languages/es_ES.mo differ diff --git a/languages/es_ES.po b/languages/es_ES.po new file mode 100644 index 0000000..8e2849f --- /dev/null +++ b/languages/es_ES.po @@ -0,0 +1,123 @@ +msgid "" +msgstr "" +"Project-Id-Version: WPSustainable\n" +"POT-Creation-Date: 2022-11-17 15:47+0100\n" +"PO-Revision-Date: 2022-11-17 15:52+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.2\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-Flags-xgettext: --add-comments=translators:\n" +"X-Poedit-WPHeader: wpsustainable.php\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;" +"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.min.js\n" + +#: includes/class-health.php:33 +msgid "Hosting Green Check" +msgstr "Comprobar Hosting Verde" + +#: includes/class-health.php:38 +msgid "Site CO2 intensity" +msgstr "Intensidad de CO2 del sitio" + +#: includes/class-health.php:55 +msgid "There is no sustainability information about your hosting company." +msgstr "No hay información de sostenibilidad sobre su empresa de alojamiento." + +#: includes/class-health.php:58 includes/class-health.php:122 +msgid "Sustainability" +msgstr "Sostenibilidad" + +#: includes/class-health.php:63 +msgid "" +"Your Hosting company is not in The Green Web Foundation directory." +msgstr "" +"Su empresa de alojamiento no está en el directorio de " +"The Green Web Foundation." + +#: includes/class-health.php:84 +msgid "Your Hosting company is using green energy." +msgstr "Su empresa de alojamiento está utilizando energía verde." + +#: includes/class-health.php:87 includes/class-health.php:99 +msgid "Your hosting company" +msgstr "Tu empresa de hosting" + +#: includes/class-health.php:89 +msgid "is using green energy for your site." +msgstr "está utilizando energía verde para tu sitio." + +#: includes/class-health.php:90 +msgid "Documentation:" +msgstr "Documentación:" + +#: includes/class-health.php:96 +msgid "Your Hosting company is not using green energy." +msgstr "Tu empresa de alojamiento no está utilizando energía verde." + +#: includes/class-health.php:101 +msgid "is not using green energy for your site." +msgstr "no está utilizando energía verde para tu sitio." + +#: includes/class-health.php:119 +msgid "There is no CO2 intensity information about your site." +msgstr "No hay información de intensidad de CO2 sobre tu sitio." + +#: includes/class-health.php:127 +msgid "" +"Your site has not informatiom about the average annual grid intensity based " +"on its real-world location." +msgstr "" +"Tu sitio no tiene información sobre la intensidad promedio anual de la red " +"basada en su ubicación en el mundo real." + +#: includes/class-health.php:142 includes/class-health.php:155 +msgid "Your average annual grid intensity is" +msgstr "La intensidad media anual de la red es" + +#: includes/class-health.php:144 includes/class-health.php:157 +msgid "grams per kilowatt-hour (g/kWh)." +msgstr "gramos por kilovatio-hora (g/kWh)." + +#: includes/class-health.php:148 +msgid "Your site is in" +msgstr "Tu sitio está en" + +#: includes/class-health.php:150 +msgid "In year" +msgstr "En el año" + +#: includes/class-health.php:152 +msgid "the country produced" +msgstr "el país ha producido" + +#: includes/class-health.php:154 +msgid "from fossil energies." +msgstr "de energías fósiles." + +#. Plugin Name of the plugin/theme +msgid "WPSustainable" +msgstr "WPSustainable" + +#. Description of the plugin/theme +msgid "" +"Check the sustainability from your hosting company and the CO2 generated by " +"your IP address." +msgstr "" +"Comprueba la sostenibilidad de tu empresa de hosting y el CO2 generado por " +"tu dirección IP." + +#. Author of the plugin/theme +msgid "Hosting Team Contributors" +msgstr "Colaboradores del Hosting Team" diff --git a/languages/wpsustainable.pot b/languages/wpsustainable.pot new file mode 100644 index 0000000..59d28b3 --- /dev/null +++ b/languages/wpsustainable.pot @@ -0,0 +1,116 @@ +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: WPSustainable\n" +"POT-Creation-Date: 2022-11-17 15:47+0100\n" +"PO-Revision-Date: 2022-11-17 15:47+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"X-Generator: Poedit 3.2\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-Flags-xgettext: --add-comments=translators:\n" +"X-Poedit-WPHeader: wpsustainable.php\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"_nx_noop:3c,1,2;__ngettext_noop:1,2\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: *.min.js\n" + +#: includes/class-health.php:33 +msgid "Hosting Green Check" +msgstr "" + +#: includes/class-health.php:38 +msgid "Site CO2 intensity" +msgstr "" + +#: includes/class-health.php:55 +msgid "There is no sustainability information about your hosting company." +msgstr "" + +#: includes/class-health.php:58 includes/class-health.php:122 +msgid "Sustainability" +msgstr "" + +#: includes/class-health.php:63 +msgid "" +"Your Hosting company is not in The Green Web Foundation directory." +msgstr "" + +#: includes/class-health.php:84 +msgid "Your Hosting company is using green energy." +msgstr "" + +#: includes/class-health.php:87 includes/class-health.php:99 +msgid "Your hosting company" +msgstr "" + +#: includes/class-health.php:89 +msgid "is using green energy for your site." +msgstr "" + +#: includes/class-health.php:90 +msgid "Documentation:" +msgstr "" + +#: includes/class-health.php:96 +msgid "Your Hosting company is not using green energy." +msgstr "" + +#: includes/class-health.php:101 +msgid "is not using green energy for your site." +msgstr "" + +#: includes/class-health.php:119 +msgid "There is no CO2 intensity information about your site." +msgstr "" + +#: includes/class-health.php:127 +msgid "" +"Your site has not informatiom about the average annual grid intensity based " +"on its real-world location." +msgstr "" + +#: includes/class-health.php:142 includes/class-health.php:155 +msgid "Your average annual grid intensity is" +msgstr "" + +#: includes/class-health.php:144 includes/class-health.php:157 +msgid "grams per kilowatt-hour (g/kWh)." +msgstr "" + +#: includes/class-health.php:148 +msgid "Your site is in" +msgstr "" + +#: includes/class-health.php:150 +msgid "In year" +msgstr "" + +#: includes/class-health.php:152 +msgid "the country produced" +msgstr "" + +#: includes/class-health.php:154 +msgid "from fossil energies." +msgstr "" + +#. Plugin Name of the plugin/theme +msgid "WPSustainable" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"Check the sustainability from your hosting company and the CO2 generated by " +"your IP address." +msgstr "" + +#. Author of the plugin/theme +msgid "Hosting Team Contributors" +msgstr "" diff --git a/readme.txt b/readme.txt index 7ba19b5..84704f7 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: javiercasares Tags: sustainability, sustainable, green, hosting Requires at least: 5.2 Tested up to: 6.1 -Stable tag: 1.0.0 -Version: 1.0.0 +Stable tag: 1.0.1 +Version: 1.0.1 License: EUPL 1.2 License URI: https://www.eupl.eu/1.2/en/ @@ -18,20 +18,24 @@ Check the sustainability from your hosting company and the CO2 generated by your = Automatic download = -Visit the plugin section in your WordPress, search for [wpvulnerability]; download and install the plugin. +Visit the plugin section in your WordPress, search for [wpsustainable]; download and install the plugin. = Manual download = -Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/wpvulnerability/` directory. Once uploaded, it will appear in your plugin list. +Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/wpsustainable/` directory. Once uploaded, it will appear in your plugin list. == Frequently Asked Questions == = Where does the sustainability information come from? = -The origin is in The Green Web Foundation API. +Data is coming from [The Green Web Foundation](https://www.thegreenwebfoundation.org/) API. == Changelog == += 1.0.1 = + +* Check the texts and other files and things, not relevant at all. + = 1.0.0 = * First release. diff --git a/wpsustainable.php b/wpsustainable.php index 0be0710..07dad0c 100644 --- a/wpsustainable.php +++ b/wpsustainable.php @@ -4,7 +4,7 @@ * Description: Check the sustainability from your hosting company and the CO2 generated by your IP address. * Requires at least: 5.2 * Requires PHP: 7.2 - * Version: 1.0.0 + * Version: 1.0.1 * Author: Hosting Team Contributors * Text Domain: wpsustainable * Domain Path: /languages @@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || die( 'Sorry!' ); define( 'WPSUSTAINABLE_PLUGIN_URL', plugins_url( '/', __FILE__ ) ); -define( 'WPSUSTAINABLE_PLUGIN_VERSION', '1.0.0' ); +define( 'WPSUSTAINABLE_PLUGIN_VERSION', '1.0.1' ); define( 'WPSUSTAINABLE_PLUGIN_FILE', __FILE__ ); define( 'WPSUSTAINABLE_PLUGIN_BASE', plugin_basename( __FILE__ ) ); define( 'WPSUSTAINABLE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );