Skip to content

Commit f78fec7

Browse files
committed
👌 IMPROVE: Updated language translations files
1 parent 42bc1b8 commit f78fec7

8 files changed

+174
-139
lines changed

customer-loyalty-for-woocommerce.php

+15
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@
5252

5353
new WPComPluginHandler( plugin_basename( __FILE__ ), 'https://robertdevore.com/why-this-plugin-doesnt-support-wordpress-com-hosting/' );
5454

55+
/**
56+
* Load plugin text domain for translations
57+
*
58+
* @since 2.0.1
59+
* @return void
60+
*/
61+
function clwc_load_textdomain() {
62+
load_plugin_textdomain(
63+
'customer-loyalty-for-woocommerce',
64+
false,
65+
dirname( plugin_basename( __FILE__ ) ) . '/languages/'
66+
);
67+
}
68+
add_action( 'plugins_loaded', 'clwc_load_textdomain' );
69+
5570
/**
5671
* Create the CLWC Loyalty Log database table.
5772
*
Binary file not shown.

languages/customer-loyalty-for-woocommerce-es_ES.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: Customer Loyalty for WooCommerce\n"
44
"POT-Creation-Date: 2020-12-23 07:53-0500\n"
5-
"PO-Revision-Date: 2020-12-23 07:56-0500\n"
5+
"PO-Revision-Date: 2025-02-04 14:54-0500\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"Language: es\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13-
"X-Generator: Poedit 2.4.2\n"
13+
"X-Generator: Poedit 3.5\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
1616
"X-Poedit-WPHeader: customer-loyalty-for-woocommerce.php\n"
@@ -66,7 +66,7 @@ msgstr "Activar tarjeta de recompensas"
6666
msgid "Check to activate the included customer rewards card features."
6767
msgstr ""
6868
"Marque para activar las funciones incluidas en la tarjeta de recompensas "
69-
"para clientes"
69+
"para clientes."
7070

7171
#: admin/clwc-admin-settings.php:84
7272
msgid "Rewards Card Title"
@@ -153,7 +153,7 @@ msgstr "Activar puntos de fidelidad"
153153
msgid "Check to activate the included customer loyalty points features."
154154
msgstr ""
155155
"Marque para activar las funciones de puntos de fidelidad de clientes "
156-
"incluidas"
156+
"incluidas."
157157

158158
#: admin/clwc-admin-settings.php:206
159159
msgid "Calculation type"
Binary file not shown.

languages/customer-loyalty-for-woocommerce-fr_FR.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: Customer Loyalty for WooCommerce\n"
44
"POT-Creation-Date: 2022-04-15 14:45-0400\n"
5-
"PO-Revision-Date: 2022-04-15 14:45-0400\n"
5+
"PO-Revision-Date: 2025-02-04 14:55-0500\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"Language: fr_FR\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
13-
"X-Generator: Poedit 3.0.1\n"
13+
"X-Generator: Poedit 3.5\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
1616
"X-Poedit-WPHeader: customer-loyalty-for-woocommerce.php\n"
Binary file not shown.

languages/customer-loyalty-for-woocommerce-it_IT.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: Customer Loyalty for WooCommerce\n"
44
"POT-Creation-Date: 2022-04-15 14:46-0400\n"
5-
"PO-Revision-Date: 2022-04-15 14:47-0400\n"
5+
"PO-Revision-Date: 2025-02-04 14:55-0500\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"Language: it_IT\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13-
"X-Generator: Poedit 3.0.1\n"
13+
"X-Generator: Poedit 3.5\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
1616
"X-Poedit-WPHeader: customer-loyalty-for-woocommerce.php\n"

0 commit comments

Comments
 (0)