Skip to content

Commit 1c1faff

Browse files
committed
Merge branch 'release/1.2.4'
2 parents cecd376 + 077ee0b commit 1c1faff

File tree

12 files changed

+49
-27
lines changed

12 files changed

+49
-27
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
**Requires at least:** 4.4
66
**Tested up to:** 6.0
77
**WC requires at least:** 3.0
8-
**WC tested up to:** 6.5.1
8+
**WC tested up to:** 6.6.1
99
**Requires PHP:** 5.6
10-
**Stable tag:** 1.2.3
10+
**Stable tag:** 1.2.4
1111
**License:** GPLv2 or later
1212
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
1313

@@ -60,6 +60,9 @@ No FAQ
6060

6161
## Changelog ##
6262

63+
### v1.2.4 -> 28 June, 2022 ###
64+
- **Fix:** Localization issue on changing site language
65+
6366
### v1.2.3 -> 03 June, 2022 ###
6467
- **Compatibility:** Compatibility for WordPress 6.0
6568

assets/js/admin.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ new Vue({
3838
},
3939
created: function created() {
4040
this.setLocaleData(wepos.i18n['wepos']);
41+
42+
if (wepos.i18n['wepos-pro']) {
43+
this.setLocaleData(wepos.i18n['wepos-pro']);
44+
}
4145
}
4246
});
4347

assets/js/admin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/frontend.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,6 +3127,10 @@ new Vue({
31273127
},
31283128
created: function created() {
31293129
this.setLocaleData(wepos.i18n['wepos']);
3130+
3131+
if (wepos.i18n['wepos-pro']) {
3132+
this.setLocaleData(wepos.i18n['wepos-pro']);
3133+
}
31303134
}
31313135
});
31323136

assets/js/frontend.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/admin/main.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ new Vue({
1414
store,
1515
render: h => h(App),
1616
created() {
17-
this.setLocaleData( wepos.i18n['wepos'] )
17+
this.setLocaleData( wepos.i18n['wepos'] );
18+
19+
if ( wepos.i18n['wepos-pro'] ) {
20+
this.setLocaleData( wepos.i18n['wepos-pro'] );
21+
}
1822
}
1923
});
2024

assets/src/frontend/main.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ new Vue({
1414
store,
1515
render: h => h(App),
1616
created() {
17-
this.setLocaleData( wepos.i18n['wepos'] )
17+
this.setLocaleData( wepos.i18n['wepos'] );
18+
19+
if ( wepos.i18n['wepos-pro'] ) {
20+
this.setLocaleData( wepos.i18n['wepos-pro'] );
21+
}
1822
}
1923
})

languages/wepos.pot

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the GPL2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.2.3\n"
5+
"Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.2.4\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wepos\n"
7-
"POT-Creation-Date: 2022-06-03 09:58:21+00:00\n"
7+
"POT-Creation-Date: 2022-06-28 05:27:26+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -13,26 +13,26 @@ msgstr ""
1313
"Language-Team: LANGUAGE <[email protected]>\n"
1414
"X-Generator: wp-vue-i18n 1.1.3\n"
1515

16-
#: assets/js/admin.js:122 assets/js/admin.js:369 assets/js/admin.js:461
17-
#: assets/js/admin.js:1429 assets/js/bootstrap.js:1086
18-
#: assets/js/frontend.js:3205 assets/js/frontend.js:3387
19-
#: assets/js/frontend.js:3471 assets/js/frontend.js:3980
20-
#: assets/js/frontend.js:5016 assets/js/frontend.js:5183
21-
#: assets/js/frontend.js:5288 assets/js/frontend.js:5663
22-
#: assets/js/frontend.js:5774 assets/js/vendor.js:18166
16+
#: assets/js/admin.js:126 assets/js/admin.js:373 assets/js/admin.js:465
17+
#: assets/js/admin.js:1433 assets/js/bootstrap.js:1086
18+
#: assets/js/frontend.js:3209 assets/js/frontend.js:3391
19+
#: assets/js/frontend.js:3475 assets/js/frontend.js:3984
20+
#: assets/js/frontend.js:5020 assets/js/frontend.js:5187
21+
#: assets/js/frontend.js:5292 assets/js/frontend.js:5667
22+
#: assets/js/frontend.js:5778 assets/js/vendor.js:18166
2323
#: assets/js/vendor.js:18266 assets/js/vendor.js:27716
2424
#: assets/js/vendor.js:28292 assets/js/vendor.js:28402
2525
#: assets/js/vendor.js:28522 assets/js/vendor.js:28544
2626
#: assets/js/vendor.js:28601
2727
msgid "div"
2828
msgstr ""
2929

30-
#: assets/js/admin.js:2293 assets/js/admin.min.js:1
30+
#: assets/js/admin.js:2297 assets/js/admin.min.js:1
3131
#: assets/src/admin/components/Settings.vue:134
3232
msgid "Choose your file"
3333
msgstr ""
3434

35-
#: assets/js/admin.js:2295 assets/js/admin.min.js:1
35+
#: assets/js/admin.js:2299 assets/js/admin.min.js:1
3636
#: assets/src/admin/components/Fields.vue:171
3737
#: assets/src/admin/components/Settings.vue:136
3838
msgid "Select"
@@ -142,15 +142,15 @@ msgstr ""
142142
msgid "Please enter an email address for customer"
143143
msgstr ""
144144

145-
#: assets/js/frontend.js:4950
145+
#: assets/js/frontend.js:4954
146146
msgid "aside"
147147
msgstr ""
148148

149-
#: assets/js/frontend.js:5577
149+
#: assets/js/frontend.js:5581
150150
msgid "tr"
151151
msgstr ""
152152

153-
#: assets/js/frontend.js:8455
153+
#: assets/js/frontend.js:8459
154154
msgid "td"
155155
msgstr ""
156156

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wepos",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "Point of Sale plugin for WooCommerce",
55
"author": "weDevs <[email protected]>",
66
"license": "GPLv2",

0 commit comments

Comments
 (0)