Skip to content

Commit 0570c1c

Browse files
committed
Merge branch 'release-1.8.3'
2 parents 209b5b8 + a20a12c commit 0570c1c

21 files changed

+395
-285
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,13 @@ Small patches and bug reports can be submitted a issue tracker in Github. Forkin
407407

408408
## Changelog
409409

410+
* Version 1.8.3
411+
* update japanese translation
412+
* update pot
413+
* add composer script
414+
* change makepot from php script to wp cli
415+
* change plugin initialization to plugins_loaded hook
416+
* replace assert from assertEquals to assertSame
410417
* Version 1.8.2
411418
* change requires at least to wordpress 4.9
412419
* change requires to PHP 5.6

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"@phpstan"
3131
],
3232
"bats": "bats tests/cli",
33-
"makepot:php": "php /usr/local/share/wp-i18n/makepot.php wp-plugin ../multi-device-switcher ../multi-device-switcher/languages/multi-device-switcher.pot",
3433
"makepot:wpcli": "wp i18n make-pot ./ ./languages/multi-device-switcher.pot --exclude=dist,bin,tests,node_modules,vendor",
34+
"makemo:ja": "wp i18n make-mo languages/multi-device-switcher-ja.po languages/",
3535
"msgfmt:ja": "msgfmt languages/multi-device-switcher-ja.po -o languages/multi-device-switcher-ja.mo"
3636
}
3737
}

languages/multi-device-switcher-ja.mo

-143 Bytes
Binary file not shown.

languages/multi-device-switcher-ja.po

Lines changed: 88 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,53 @@
1-
# Copyright (C) 2021 Multi Device Switcher
2-
# This file is distributed under the same license as the Multi Device Switcher package.
1+
# Copyright (C) 2022 thingsym
2+
# This file is distributed under the GPL2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Multi Device Switcher 1.8.2n"
6-
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7-
"switcher\n"
8-
"POT-Creation-Date: 2021-12-26 08:37:47+00:00\n"
5+
"Project-Id-Version: Multi Device Switcher 1.8.3\n"
6+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-switcher\n"
7+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8+
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <LL@li.org>\n"
12+
"POT-Creation-Date: 2022-02-28T07:21:41+00:00\n"
13+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"X-Generator: WP-CLI 2.5.0\n"
15+
"X-Domain: multi-device-switcher\n"
16+
17+
#. Plugin Name of the plugin
18+
#: multi-device-switcher.php:755
19+
#: multi-device-switcher.php:756
20+
#: multi-device-switcher.php:939
21+
#: multi-device-switcher.php:1395
22+
msgid "Multi Device Switcher"
23+
msgstr "Multi Device Switcher"
24+
25+
#. Plugin URI of the plugin
26+
msgid "https://github.com/thingsym/multi-device-switcher"
27+
msgstr "https://github.com/thingsym/multi-device-switcher"
28+
29+
#. Description of the plugin
30+
msgid "This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom)."
31+
msgstr "This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom)."
1532

16-
#: multi-device-switcher.php:532 multi-device-switcher.php:538
33+
#. Author of the plugin
34+
msgid "thingsym"
35+
msgstr "thingsym"
36+
37+
#. Author URI of the plugin
38+
msgid "https://www.thingslabo.com/"
39+
msgstr "https://www.thingslabo.com/"
40+
41+
#: multi-device-switcher.php:532
42+
#: multi-device-switcher.php:538
1743
msgid "Mobile"
1844
msgstr "モバイル"
1945

20-
#: multi-device-switcher.php:532 multi-device-switcher.php:538
46+
#: multi-device-switcher.php:532
47+
#: multi-device-switcher.php:538
2148
msgid "PC"
2249
msgstr "PC"
2350

24-
#. #-#-#-#-# multi-device-switcher.pot (Multi Device Switcher 1.8.2) #-#-#-#-#
25-
#. Plugin Name of the plugin/theme
26-
#: multi-device-switcher.php:755 multi-device-switcher.php:756
27-
#: multi-device-switcher.php:939 multi-device-switcher.php:1394
28-
msgid "Multi Device Switcher"
29-
msgstr "Multi Device Switcher"
3051

3152
#: multi-device-switcher.php:801
3253
msgid "Settings"
@@ -40,143 +61,141 @@ msgstr "スポンサーになる"
4061
msgid "Theme"
4162
msgstr "テーマ"
4263

43-
#: multi-device-switcher.php:963 multi-device-switcher.php:1385
64+
#: multi-device-switcher.php:963
65+
#: multi-device-switcher.php:1386
4466
msgid "Smart Phone Theme"
4567
msgstr "スマートフォン用テーマ"
4668

47-
#: multi-device-switcher.php:972 multi-device-switcher.php:975
48-
#: multi-device-switcher.php:1005 multi-device-switcher.php:1008
49-
#: multi-device-switcher.php:1038 multi-device-switcher.php:1041
50-
#: multi-device-switcher.php:1071 multi-device-switcher.php:1074
51-
#: multi-device-switcher.php:1118 multi-device-switcher.php:1121
52-
#: multi-device-switcher.php:1375 multi-device-switcher.php:1430
69+
#: multi-device-switcher.php:972
70+
#: multi-device-switcher.php:975
71+
#: multi-device-switcher.php:1005
72+
#: multi-device-switcher.php:1008
73+
#: multi-device-switcher.php:1038
74+
#: multi-device-switcher.php:1041
75+
#: multi-device-switcher.php:1071
76+
#: multi-device-switcher.php:1074
77+
#: multi-device-switcher.php:1118
78+
#: multi-device-switcher.php:1121
79+
#: multi-device-switcher.php:1376
80+
#: multi-device-switcher.php:1431
5381
msgid "None"
5482
msgstr "なし"
5583

56-
#: multi-device-switcher.php:997 multi-device-switcher.php:1386
84+
#: multi-device-switcher.php:997
85+
#: multi-device-switcher.php:1387
5786
msgid "Tablet PC Theme"
5887
msgstr "タブレット端末用テーマ"
5988

60-
#: multi-device-switcher.php:1030 multi-device-switcher.php:1387
89+
#: multi-device-switcher.php:1030
90+
#: multi-device-switcher.php:1388
6191
msgid "Mobile Phone Theme"
6292
msgstr "携帯モバイル端末用テーマ"
6393

64-
#: multi-device-switcher.php:1063 multi-device-switcher.php:1388
94+
#: multi-device-switcher.php:1063
95+
#: multi-device-switcher.php:1389
6596
msgid "Game Platforms Theme"
6697
msgstr "ゲームプラットフォーム用テーマ"
6798

6899
#: multi-device-switcher.php:1098
69100
msgid "Custom Switcher Theme"
70101
msgstr "Custom Switcher用テーマ"
71102

72-
#: multi-device-switcher.php:1136
103+
#. translators: confirm: 1: custom switcher name
104+
#: multi-device-switcher.php:1137
73105
msgid "Delete"
74106
msgstr "削除"
75107

76-
#: multi-device-switcher.php:1136
108+
#. translators: confirm: 1: custom switcher name
109+
#: multi-device-switcher.php:1137
77110
msgid "Are you sure you want to delete %1$s ?"
78111
msgstr "%1$s を削除してよろしいですか?"
79112

80-
#: multi-device-switcher.php:1148 multi-device-switcher.php:1150
113+
#: multi-device-switcher.php:1149
114+
#: multi-device-switcher.php:1151
81115
msgid "Add Custom Switcher"
82116
msgstr "Custom Switcher を追加"
83117

84-
#: multi-device-switcher.php:1152
118+
#: multi-device-switcher.php:1153
85119
msgid "Add"
86120
msgstr "追加"
87121

88-
#: multi-device-switcher.php:1153
122+
#: multi-device-switcher.php:1154
89123
msgid "20 characters max, alphanumeric"
90124
msgstr "半角英数字 20 文字以内"
91125

92-
#: multi-device-switcher.php:1161
126+
#: multi-device-switcher.php:1162
93127
msgid "UserAgent"
94128
msgstr "ユーザーエージェント"
95129

96-
#: multi-device-switcher.php:1162
130+
#: multi-device-switcher.php:1163
97131
msgid "Enter Comma-separated values (csv) format."
98132
msgstr "csv 形式で入力してください。"
99133

100-
#: multi-device-switcher.php:1165
134+
#: multi-device-switcher.php:1166
101135
msgid "Smart Phone"
102136
msgstr "スマートフォン"
103137

104-
#: multi-device-switcher.php:1168
138+
#: multi-device-switcher.php:1169
105139
msgid "Tablet PC"
106140
msgstr "タブレット端末"
107141

108-
#: multi-device-switcher.php:1171
142+
#: multi-device-switcher.php:1172
109143
msgid "Mobile Phone"
110144
msgstr "携帯モバイル端末"
111145

112-
#: multi-device-switcher.php:1174
146+
#: multi-device-switcher.php:1175
113147
msgid "Game Platforms"
114148
msgstr "ゲームプラットフォーム"
115149

116-
#: multi-device-switcher.php:1178
150+
#: multi-device-switcher.php:1179
117151
msgid "Reset Settings to Default UserAgent"
118152
msgstr "ユーザーエージェントをデフォルトにもどす"
119153

120-
#: multi-device-switcher.php:1183
154+
#: multi-device-switcher.php:1184
121155
msgid "Custom Switcher UserAgent"
122156
msgstr "Custom Switcher用ユーザーエージェント"
123157

124-
#: multi-device-switcher.php:1205 pc-switcher-widget.php:57
158+
#: multi-device-switcher.php:1206
159+
#: pc-switcher-widget.php:57
125160
msgid "PC Switcher"
126161
msgstr "PC Switcher"
127162

128-
#: multi-device-switcher.php:1208 multi-device-switcher.php:1210
163+
#: multi-device-switcher.php:1209
164+
#: multi-device-switcher.php:1211
129165
msgid "Add PC Switcher"
130166
msgstr "PC Switcher を追加"
131167

132-
#: multi-device-switcher.php:1211
168+
#: multi-device-switcher.php:1212
133169
msgid "Add a PC Switcher to the footer."
134170
msgstr "PC Switcher をフッターに追加する"
135171

136-
#: multi-device-switcher.php:1214 multi-device-switcher.php:1216
172+
#: multi-device-switcher.php:1215
173+
#: multi-device-switcher.php:1217
137174
msgid "Add default CSS"
138175
msgstr "デフォルトCSSを追加"
139176

140-
#: multi-device-switcher.php:1217
177+
#: multi-device-switcher.php:1218
141178
msgid "Add a default CSS."
142179
msgstr "デフォルトCSSを追加"
143180

144-
#: multi-device-switcher.php:1224
181+
#: multi-device-switcher.php:1225
145182
msgid "Disable Switcher"
146183
msgstr "切り替え無効"
147184

148-
#: multi-device-switcher.php:1227 multi-device-switcher.php:1229
185+
#: multi-device-switcher.php:1228
186+
#: multi-device-switcher.php:1230
149187
msgid "Path"
150188
msgstr "パス"
151189

152-
#: multi-device-switcher.php:1234 multi-device-switcher.php:1236
190+
#: multi-device-switcher.php:1235
191+
#: multi-device-switcher.php:1237
153192
msgid "Regex mode"
154193
msgstr "正規表現モード"
155194

156-
#: multi-device-switcher.php:1237
195+
#: multi-device-switcher.php:1238
157196
msgid "Enable Regex"
158197
msgstr "正規表現を有効化"
159198

160199
#: pc-switcher-widget.php:54
161200
msgid "Add the PC Switcher to a widget."
162201
msgstr "PC Switcher をウィジェットに追加"
163-
164-
#. Plugin URI of the plugin/theme
165-
msgid "https://github.com/thingsym/multi-device-switcher"
166-
msgstr "https://github.com/thingsym/multi-device-switcher"
167-
168-
#. Description of the plugin/theme
169-
msgid ""
170-
"This WordPress plugin allows you to set a separate theme for device (Smart "
171-
"Phone, Tablet PC, Mobile Phone, Game and custom)."
172-
msgstr ""
173-
"This WordPress plugin allows you to set a separate theme for device (Smart "
174-
"Phone, Tablet PC, Mobile Phone, Game and custom)."
175-
176-
#. Author of the plugin/theme
177-
msgid "thingsym"
178-
msgstr "thingsym"
179-
180-
#. Author URI of the plugin/theme
181-
msgid "https://www.thingslabo.com/"
182-
msgstr "https://www.thingslabo.com/"

0 commit comments

Comments
 (0)