Multi Device Switcher - Version 1.8.4

Version Description

  • tested up to 6.1.0
  • update japanese translation
  • update pot
  • fix composer.json
  • add test case
  • update useragent
  • fix load_textdomain method for testability
  • add msgmerge to composer scripts
  • add support section and enhance contribution section
  • fix license
Download this release

Release Info

Developer thingsym
Plugin Icon wp plugin Multi Device Switcher
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.3 to 1.8.4

languages/multi-device-switcher-ja.mo CHANGED
Binary file
languages/multi-device-switcher-ja.po CHANGED
@@ -1,24 +1,24 @@
1
  # Copyright (C) 2022 thingsym
2
- # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
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"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\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
 
@@ -27,8 +27,12 @@ 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)."
 
 
 
 
32
 
33
  #. Author of the plugin
34
  msgid "thingsym"
@@ -38,161 +42,142 @@ msgstr "thingsym"
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
43
  msgid "Mobile"
44
  msgstr "モバイル"
45
 
46
- #: multi-device-switcher.php:532
47
- #: multi-device-switcher.php:538
48
  msgid "PC"
49
  msgstr "PC"
50
 
51
-
52
- #: multi-device-switcher.php:801
53
  msgid "Settings"
54
  msgstr "設定"
55
 
56
- #: multi-device-switcher.php:826
57
  msgid "Become a sponsor"
58
  msgstr "スポンサーになる"
59
 
60
- #: multi-device-switcher.php:961
61
  msgid "Theme"
62
  msgstr "テーマ"
63
 
64
- #: multi-device-switcher.php:963
65
- #: multi-device-switcher.php:1386
66
  msgid "Smart Phone Theme"
67
  msgstr "スマートフォン用テーマ"
68
 
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
81
  msgid "None"
82
  msgstr "なし"
83
 
84
- #: multi-device-switcher.php:997
85
- #: multi-device-switcher.php:1387
86
  msgid "Tablet PC Theme"
87
  msgstr "タブレット端末用テーマ"
88
 
89
- #: multi-device-switcher.php:1030
90
- #: multi-device-switcher.php:1388
91
  msgid "Mobile Phone Theme"
92
  msgstr "携帯モバイル端末用テーマ"
93
 
94
- #: multi-device-switcher.php:1063
95
- #: multi-device-switcher.php:1389
96
  msgid "Game Platforms Theme"
97
  msgstr "ゲームプラットフォーム用テーマ"
98
 
99
- #: multi-device-switcher.php:1098
100
  msgid "Custom Switcher Theme"
101
  msgstr "Custom Switcher用テーマ"
102
 
103
  #. translators: confirm: 1: custom switcher name
104
- #: multi-device-switcher.php:1137
105
  msgid "Delete"
106
  msgstr "削除"
107
 
108
  #. translators: confirm: 1: custom switcher name
109
- #: multi-device-switcher.php:1137
110
  msgid "Are you sure you want to delete %1$s ?"
111
  msgstr "%1$s を削除してよろしいですか?"
112
 
113
- #: multi-device-switcher.php:1149
114
- #: multi-device-switcher.php:1151
115
  msgid "Add Custom Switcher"
116
  msgstr "Custom Switcher を追加"
117
 
118
- #: multi-device-switcher.php:1153
119
  msgid "Add"
120
  msgstr "追加"
121
 
122
- #: multi-device-switcher.php:1154
123
  msgid "20 characters max, alphanumeric"
124
  msgstr "半角英数字 20 文字以内"
125
 
126
- #: multi-device-switcher.php:1162
127
  msgid "UserAgent"
128
  msgstr "ユーザーエージェント"
129
 
130
- #: multi-device-switcher.php:1163
131
  msgid "Enter Comma-separated values (csv) format."
132
  msgstr "csv 形式で入力してください。"
133
 
134
- #: multi-device-switcher.php:1166
135
  msgid "Smart Phone"
136
  msgstr "スマートフォン"
137
 
138
- #: multi-device-switcher.php:1169
139
  msgid "Tablet PC"
140
  msgstr "タブレット端末"
141
 
142
- #: multi-device-switcher.php:1172
143
  msgid "Mobile Phone"
144
  msgstr "携帯モバイル端末"
145
 
146
- #: multi-device-switcher.php:1175
147
  msgid "Game Platforms"
148
  msgstr "ゲームプラットフォーム"
149
 
150
- #: multi-device-switcher.php:1179
151
  msgid "Reset Settings to Default UserAgent"
152
  msgstr "ユーザーエージェントをデフォルトにもどす"
153
 
154
- #: multi-device-switcher.php:1184
155
  msgid "Custom Switcher UserAgent"
156
  msgstr "Custom Switcher用ユーザーエージェント"
157
 
158
- #: multi-device-switcher.php:1206
159
- #: pc-switcher-widget.php:57
160
  msgid "PC Switcher"
161
  msgstr "PC Switcher"
162
 
163
- #: multi-device-switcher.php:1209
164
- #: multi-device-switcher.php:1211
165
  msgid "Add PC Switcher"
166
  msgstr "PC Switcher を追加"
167
 
168
- #: multi-device-switcher.php:1212
169
  msgid "Add a PC Switcher to the footer."
170
  msgstr "PC Switcher をフッターに追加する"
171
 
172
- #: multi-device-switcher.php:1215
173
- #: multi-device-switcher.php:1217
174
  msgid "Add default CSS"
175
  msgstr "デフォルトCSSを追加"
176
 
177
- #: multi-device-switcher.php:1218
178
  msgid "Add a default CSS."
179
  msgstr "デフォルトCSSを追加"
180
 
181
- #: multi-device-switcher.php:1225
182
  msgid "Disable Switcher"
183
  msgstr "切り替え無効"
184
 
185
- #: multi-device-switcher.php:1228
186
- #: multi-device-switcher.php:1230
187
  msgid "Path"
188
  msgstr "パス"
189
 
190
- #: multi-device-switcher.php:1235
191
- #: multi-device-switcher.php:1237
192
  msgid "Regex mode"
193
  msgstr "正規表現モード"
194
 
195
- #: multi-device-switcher.php:1238
196
  msgid "Enable Regex"
197
  msgstr "正規表現を有効化"
198
 
1
  # Copyright (C) 2022 thingsym
2
+ # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Multi Device Switcher 1.8.4\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7
+ "switcher\n"
8
+ "POT-Creation-Date: 2022-11-25T10:39:41+00:00\n"
9
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
12
+ "Language: \n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
 
 
16
  "X-Generator: WP-CLI 2.5.0\n"
17
  "X-Domain: multi-device-switcher\n"
18
 
19
  #. Plugin Name of the plugin
20
+ #: multi-device-switcher.php:754 multi-device-switcher.php:755
21
+ #: multi-device-switcher.php:938 multi-device-switcher.php:1394
 
 
22
  msgid "Multi Device Switcher"
23
  msgstr "Multi Device Switcher"
24
 
27
  msgstr "https://github.com/thingsym/multi-device-switcher"
28
 
29
  #. Description of the plugin
30
+ msgid ""
31
+ "This WordPress plugin allows you to set a separate theme for device (Smart "
32
+ "Phone, Tablet PC, Mobile Phone, Game and custom)."
33
+ msgstr ""
34
+ "This WordPress plugin allows you to set a separate theme for device (Smart "
35
+ "Phone, Tablet PC, Mobile Phone, Game and custom)."
36
 
37
  #. Author of the plugin
38
  msgid "thingsym"
42
  msgid "https://www.thingslabo.com/"
43
  msgstr "https://www.thingslabo.com/"
44
 
45
+ #: multi-device-switcher.php:532 multi-device-switcher.php:538
 
46
  msgid "Mobile"
47
  msgstr "モバイル"
48
 
49
+ #: multi-device-switcher.php:532 multi-device-switcher.php:538
 
50
  msgid "PC"
51
  msgstr "PC"
52
 
53
+ #: multi-device-switcher.php:800
 
54
  msgid "Settings"
55
  msgstr "設定"
56
 
57
+ #: multi-device-switcher.php:825
58
  msgid "Become a sponsor"
59
  msgstr "スポンサーになる"
60
 
61
+ #: multi-device-switcher.php:960
62
  msgid "Theme"
63
  msgstr "テーマ"
64
 
65
+ #: multi-device-switcher.php:962 multi-device-switcher.php:1385
 
66
  msgid "Smart Phone Theme"
67
  msgstr "スマートフォン用テーマ"
68
 
69
+ #: multi-device-switcher.php:971 multi-device-switcher.php:974
70
+ #: multi-device-switcher.php:1004 multi-device-switcher.php:1007
71
+ #: multi-device-switcher.php:1037 multi-device-switcher.php:1040
72
+ #: multi-device-switcher.php:1070 multi-device-switcher.php:1073
73
+ #: multi-device-switcher.php:1117 multi-device-switcher.php:1120
74
+ #: multi-device-switcher.php:1375 multi-device-switcher.php:1430
 
 
 
 
 
 
75
  msgid "None"
76
  msgstr "なし"
77
 
78
+ #: multi-device-switcher.php:996 multi-device-switcher.php:1386
 
79
  msgid "Tablet PC Theme"
80
  msgstr "タブレット端末用テーマ"
81
 
82
+ #: multi-device-switcher.php:1029 multi-device-switcher.php:1387
 
83
  msgid "Mobile Phone Theme"
84
  msgstr "携帯モバイル端末用テーマ"
85
 
86
+ #: multi-device-switcher.php:1062 multi-device-switcher.php:1388
 
87
  msgid "Game Platforms Theme"
88
  msgstr "ゲームプラットフォーム用テーマ"
89
 
90
+ #: multi-device-switcher.php:1097
91
  msgid "Custom Switcher Theme"
92
  msgstr "Custom Switcher用テーマ"
93
 
94
  #. translators: confirm: 1: custom switcher name
95
+ #: multi-device-switcher.php:1136
96
  msgid "Delete"
97
  msgstr "削除"
98
 
99
  #. translators: confirm: 1: custom switcher name
100
+ #: multi-device-switcher.php:1136
101
  msgid "Are you sure you want to delete %1$s ?"
102
  msgstr "%1$s を削除してよろしいですか?"
103
 
104
+ #: multi-device-switcher.php:1148 multi-device-switcher.php:1150
 
105
  msgid "Add Custom Switcher"
106
  msgstr "Custom Switcher を追加"
107
 
108
+ #: multi-device-switcher.php:1152
109
  msgid "Add"
110
  msgstr "追加"
111
 
112
+ #: multi-device-switcher.php:1153
113
  msgid "20 characters max, alphanumeric"
114
  msgstr "半角英数字 20 文字以内"
115
 
116
+ #: multi-device-switcher.php:1161
117
  msgid "UserAgent"
118
  msgstr "ユーザーエージェント"
119
 
120
+ #: multi-device-switcher.php:1162
121
  msgid "Enter Comma-separated values (csv) format."
122
  msgstr "csv 形式で入力してください。"
123
 
124
+ #: multi-device-switcher.php:1165
125
  msgid "Smart Phone"
126
  msgstr "スマートフォン"
127
 
128
+ #: multi-device-switcher.php:1168
129
  msgid "Tablet PC"
130
  msgstr "タブレット端末"
131
 
132
+ #: multi-device-switcher.php:1171
133
  msgid "Mobile Phone"
134
  msgstr "携帯モバイル端末"
135
 
136
+ #: multi-device-switcher.php:1174
137
  msgid "Game Platforms"
138
  msgstr "ゲームプラットフォーム"
139
 
140
+ #: multi-device-switcher.php:1178
141
  msgid "Reset Settings to Default UserAgent"
142
  msgstr "ユーザーエージェントをデフォルトにもどす"
143
 
144
+ #: multi-device-switcher.php:1183
145
  msgid "Custom Switcher UserAgent"
146
  msgstr "Custom Switcher用ユーザーエージェント"
147
 
148
+ #: multi-device-switcher.php:1205 pc-switcher-widget.php:57
 
149
  msgid "PC Switcher"
150
  msgstr "PC Switcher"
151
 
152
+ #: multi-device-switcher.php:1208 multi-device-switcher.php:1210
 
153
  msgid "Add PC Switcher"
154
  msgstr "PC Switcher を追加"
155
 
156
+ #: multi-device-switcher.php:1211
157
  msgid "Add a PC Switcher to the footer."
158
  msgstr "PC Switcher をフッターに追加する"
159
 
160
+ #: multi-device-switcher.php:1214 multi-device-switcher.php:1216
 
161
  msgid "Add default CSS"
162
  msgstr "デフォルトCSSを追加"
163
 
164
+ #: multi-device-switcher.php:1217
165
  msgid "Add a default CSS."
166
  msgstr "デフォルトCSSを追加"
167
 
168
+ #: multi-device-switcher.php:1224
169
  msgid "Disable Switcher"
170
  msgstr "切り替え無効"
171
 
172
+ #: multi-device-switcher.php:1227 multi-device-switcher.php:1229
 
173
  msgid "Path"
174
  msgstr "パス"
175
 
176
+ #: multi-device-switcher.php:1234 multi-device-switcher.php:1236
 
177
  msgid "Regex mode"
178
  msgstr "正規表現モード"
179
 
180
+ #: multi-device-switcher.php:1237
181
  msgid "Enable Regex"
182
  msgstr "正規表現を有効化"
183
 
languages/multi-device-switcher.pot CHANGED
@@ -1,24 +1,24 @@
1
  # Copyright (C) 2022 thingsym
2
- # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\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 ""
24
 
@@ -48,150 +48,150 @@ msgstr ""
48
  msgid "PC"
49
  msgstr ""
50
 
51
- #: multi-device-switcher.php:801
52
  msgid "Settings"
53
  msgstr ""
54
 
55
- #: multi-device-switcher.php:826
56
  msgid "Become a sponsor"
57
  msgstr ""
58
 
59
- #: multi-device-switcher.php:961
60
  msgid "Theme"
61
  msgstr ""
62
 
63
- #: multi-device-switcher.php:963
64
- #: multi-device-switcher.php:1386
65
  msgid "Smart Phone Theme"
66
  msgstr ""
67
 
68
- #: multi-device-switcher.php:972
69
- #: multi-device-switcher.php:975
70
- #: multi-device-switcher.php:1005
71
- #: multi-device-switcher.php:1008
72
- #: multi-device-switcher.php:1038
73
- #: multi-device-switcher.php:1041
74
- #: multi-device-switcher.php:1071
75
- #: multi-device-switcher.php:1074
76
- #: multi-device-switcher.php:1118
77
- #: multi-device-switcher.php:1121
78
- #: multi-device-switcher.php:1376
79
- #: multi-device-switcher.php:1431
80
  msgid "None"
81
  msgstr ""
82
 
83
- #: multi-device-switcher.php:997
84
- #: multi-device-switcher.php:1387
85
  msgid "Tablet PC Theme"
86
  msgstr ""
87
 
88
- #: multi-device-switcher.php:1030
89
- #: multi-device-switcher.php:1388
90
  msgid "Mobile Phone Theme"
91
  msgstr ""
92
 
93
- #: multi-device-switcher.php:1063
94
- #: multi-device-switcher.php:1389
95
  msgid "Game Platforms Theme"
96
  msgstr ""
97
 
98
- #: multi-device-switcher.php:1098
99
  msgid "Custom Switcher Theme"
100
  msgstr ""
101
 
102
  #. translators: confirm: 1: custom switcher name
103
- #: multi-device-switcher.php:1137
104
  msgid "Delete"
105
  msgstr ""
106
 
107
  #. translators: confirm: 1: custom switcher name
108
- #: multi-device-switcher.php:1137
109
  msgid "Are you sure you want to delete %1$s ?"
110
  msgstr ""
111
 
112
- #: multi-device-switcher.php:1149
113
- #: multi-device-switcher.php:1151
114
  msgid "Add Custom Switcher"
115
  msgstr ""
116
 
117
- #: multi-device-switcher.php:1153
118
  msgid "Add"
119
  msgstr ""
120
 
121
- #: multi-device-switcher.php:1154
122
  msgid "20 characters max, alphanumeric"
123
  msgstr ""
124
 
125
- #: multi-device-switcher.php:1162
126
  msgid "UserAgent"
127
  msgstr ""
128
 
129
- #: multi-device-switcher.php:1163
130
  msgid "Enter Comma-separated values (csv) format."
131
  msgstr ""
132
 
133
- #: multi-device-switcher.php:1166
134
  msgid "Smart Phone"
135
  msgstr ""
136
 
137
- #: multi-device-switcher.php:1169
138
  msgid "Tablet PC"
139
  msgstr ""
140
 
141
- #: multi-device-switcher.php:1172
142
  msgid "Mobile Phone"
143
  msgstr ""
144
 
145
- #: multi-device-switcher.php:1175
146
  msgid "Game Platforms"
147
  msgstr ""
148
 
149
- #: multi-device-switcher.php:1179
150
  msgid "Reset Settings to Default UserAgent"
151
  msgstr ""
152
 
153
- #: multi-device-switcher.php:1184
154
  msgid "Custom Switcher UserAgent"
155
  msgstr ""
156
 
157
- #: multi-device-switcher.php:1206
158
  #: pc-switcher-widget.php:57
159
  msgid "PC Switcher"
160
  msgstr ""
161
 
162
- #: multi-device-switcher.php:1209
163
- #: multi-device-switcher.php:1211
164
  msgid "Add PC Switcher"
165
  msgstr ""
166
 
167
- #: multi-device-switcher.php:1212
168
  msgid "Add a PC Switcher to the footer."
169
  msgstr ""
170
 
171
- #: multi-device-switcher.php:1215
172
- #: multi-device-switcher.php:1217
173
  msgid "Add default CSS"
174
  msgstr ""
175
 
176
- #: multi-device-switcher.php:1218
177
  msgid "Add a default CSS."
178
  msgstr ""
179
 
180
- #: multi-device-switcher.php:1225
181
  msgid "Disable Switcher"
182
  msgstr ""
183
 
184
- #: multi-device-switcher.php:1228
185
- #: multi-device-switcher.php:1230
186
  msgid "Path"
187
  msgstr ""
188
 
189
- #: multi-device-switcher.php:1235
190
- #: multi-device-switcher.php:1237
191
  msgid "Regex mode"
192
  msgstr ""
193
 
194
- #: multi-device-switcher.php:1238
195
  msgid "Enable Regex"
196
  msgstr ""
197
 
1
  # Copyright (C) 2022 thingsym
2
+ # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Multi Device Switcher 1.8.4\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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-11-25T10:39: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:754
19
  #: multi-device-switcher.php:755
20
+ #: multi-device-switcher.php:938
21
+ #: multi-device-switcher.php:1394
 
22
  msgid "Multi Device Switcher"
23
  msgstr ""
24
 
48
  msgid "PC"
49
  msgstr ""
50
 
51
+ #: multi-device-switcher.php:800
52
  msgid "Settings"
53
  msgstr ""
54
 
55
+ #: multi-device-switcher.php:825
56
  msgid "Become a sponsor"
57
  msgstr ""
58
 
59
+ #: multi-device-switcher.php:960
60
  msgid "Theme"
61
  msgstr ""
62
 
63
+ #: multi-device-switcher.php:962
64
+ #: multi-device-switcher.php:1385
65
  msgid "Smart Phone Theme"
66
  msgstr ""
67
 
68
+ #: multi-device-switcher.php:971
69
+ #: multi-device-switcher.php:974
70
+ #: multi-device-switcher.php:1004
71
+ #: multi-device-switcher.php:1007
72
+ #: multi-device-switcher.php:1037
73
+ #: multi-device-switcher.php:1040
74
+ #: multi-device-switcher.php:1070
75
+ #: multi-device-switcher.php:1073
76
+ #: multi-device-switcher.php:1117
77
+ #: multi-device-switcher.php:1120
78
+ #: multi-device-switcher.php:1375
79
+ #: multi-device-switcher.php:1430
80
  msgid "None"
81
  msgstr ""
82
 
83
+ #: multi-device-switcher.php:996
84
+ #: multi-device-switcher.php:1386
85
  msgid "Tablet PC Theme"
86
  msgstr ""
87
 
88
+ #: multi-device-switcher.php:1029
89
+ #: multi-device-switcher.php:1387
90
  msgid "Mobile Phone Theme"
91
  msgstr ""
92
 
93
+ #: multi-device-switcher.php:1062
94
+ #: multi-device-switcher.php:1388
95
  msgid "Game Platforms Theme"
96
  msgstr ""
97
 
98
+ #: multi-device-switcher.php:1097
99
  msgid "Custom Switcher Theme"
100
  msgstr ""
101
 
102
  #. translators: confirm: 1: custom switcher name
103
+ #: multi-device-switcher.php:1136
104
  msgid "Delete"
105
  msgstr ""
106
 
107
  #. translators: confirm: 1: custom switcher name
108
+ #: multi-device-switcher.php:1136
109
  msgid "Are you sure you want to delete %1$s ?"
110
  msgstr ""
111
 
112
+ #: multi-device-switcher.php:1148
113
+ #: multi-device-switcher.php:1150
114
  msgid "Add Custom Switcher"
115
  msgstr ""
116
 
117
+ #: multi-device-switcher.php:1152
118
  msgid "Add"
119
  msgstr ""
120
 
121
+ #: multi-device-switcher.php:1153
122
  msgid "20 characters max, alphanumeric"
123
  msgstr ""
124
 
125
+ #: multi-device-switcher.php:1161
126
  msgid "UserAgent"
127
  msgstr ""
128
 
129
+ #: multi-device-switcher.php:1162
130
  msgid "Enter Comma-separated values (csv) format."
131
  msgstr ""
132
 
133
+ #: multi-device-switcher.php:1165
134
  msgid "Smart Phone"
135
  msgstr ""
136
 
137
+ #: multi-device-switcher.php:1168
138
  msgid "Tablet PC"
139
  msgstr ""
140
 
141
+ #: multi-device-switcher.php:1171
142
  msgid "Mobile Phone"
143
  msgstr ""
144
 
145
+ #: multi-device-switcher.php:1174
146
  msgid "Game Platforms"
147
  msgstr ""
148
 
149
+ #: multi-device-switcher.php:1178
150
  msgid "Reset Settings to Default UserAgent"
151
  msgstr ""
152
 
153
+ #: multi-device-switcher.php:1183
154
  msgid "Custom Switcher UserAgent"
155
  msgstr ""
156
 
157
+ #: multi-device-switcher.php:1205
158
  #: pc-switcher-widget.php:57
159
  msgid "PC Switcher"
160
  msgstr ""
161
 
162
+ #: multi-device-switcher.php:1208
163
+ #: multi-device-switcher.php:1210
164
  msgid "Add PC Switcher"
165
  msgstr ""
166
 
167
+ #: multi-device-switcher.php:1211
168
  msgid "Add a PC Switcher to the footer."
169
  msgstr ""
170
 
171
+ #: multi-device-switcher.php:1214
172
+ #: multi-device-switcher.php:1216
173
  msgid "Add default CSS"
174
  msgstr ""
175
 
176
+ #: multi-device-switcher.php:1217
177
  msgid "Add a default CSS."
178
  msgstr ""
179
 
180
+ #: multi-device-switcher.php:1224
181
  msgid "Disable Switcher"
182
  msgstr ""
183
 
184
+ #: multi-device-switcher.php:1227
185
+ #: multi-device-switcher.php:1229
186
  msgid "Path"
187
  msgstr ""
188
 
189
+ #: multi-device-switcher.php:1234
190
+ #: multi-device-switcher.php:1236
191
  msgid "Regex mode"
192
  msgstr ""
193
 
194
+ #: multi-device-switcher.php:1237
195
  msgid "Enable Regex"
196
  msgstr ""
197
 
multi-device-switcher.php CHANGED
@@ -3,10 +3,10 @@
3
  * Plugin Name: Multi Device Switcher
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
- * Version: 1.8.3
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
- * License: GPL2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: multi-device-switcher
12
  * Domain Path: /languages/
@@ -113,7 +113,7 @@ class Multi_Device_Switcher {
113
  'userAgent_smart' => 'iPhone, iPod, Android.*Mobile, dream, CUPCAKE, Windows Phone, IEMobile.*Touch, webOS, BB10.*Mobile, BlackBerry.*Mobile, Mobile.*Gecko',
114
  'userAgent_tablet' => 'iPad, Kindle, Silk, Android(?!.*Mobile), Windows.*Touch, PlayBook, Tablet.*Gecko',
115
  'userAgent_mobile' => 'DoCoMo, SoftBank, J-PHONE, Vodafone, KDDI, UP.Browser, WILLCOM, emobile, DDIPOCKET, Windows CE, BlackBerry, Symbian, PalmOS, Huawei, IAC, Nokia',
116
- 'userAgent_game' => 'PlayStation Portable, PlayStation Vita, PSP, PS2, PLAYSTATION 3, PlayStation 4, Nitro, Nintendo 3DS, Nintendo Wii, Nintendo WiiU, Xbox',
117
  'disable_path' => '',
118
  'enable_regex' => 0,
119
  );
@@ -887,15 +887,15 @@ class Multi_Device_Switcher {
887
  *
888
  * @access public
889
  *
890
- * @return void
891
  *
892
  * @since 1.6.0
893
  */
894
  public function load_textdomain() {
895
- load_plugin_textdomain(
896
  'multi-device-switcher',
897
  false,
898
- dirname( plugin_basename( __MULTI_DEVICE_SWITCHER_FILE__ ) ) . '/languages/'
899
  );
900
  }
901
 
3
  * Plugin Name: Multi Device Switcher
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
+ * Version: 1.8.4
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
+ * License: GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: multi-device-switcher
12
  * Domain Path: /languages/
113
  'userAgent_smart' => 'iPhone, iPod, Android.*Mobile, dream, CUPCAKE, Windows Phone, IEMobile.*Touch, webOS, BB10.*Mobile, BlackBerry.*Mobile, Mobile.*Gecko',
114
  'userAgent_tablet' => 'iPad, Kindle, Silk, Android(?!.*Mobile), Windows.*Touch, PlayBook, Tablet.*Gecko',
115
  'userAgent_mobile' => 'DoCoMo, SoftBank, J-PHONE, Vodafone, KDDI, UP.Browser, WILLCOM, emobile, DDIPOCKET, Windows CE, BlackBerry, Symbian, PalmOS, Huawei, IAC, Nokia',
116
+ 'userAgent_game' => 'PSP, PS2, PLAYSTATION 3, PlayStation (Portable|Vita|4|5), Nitro, Nintendo (3DS|Wii|WiiU|Switch), Xbox',
117
  'disable_path' => '',
118
  'enable_regex' => 0,
119
  );
887
  *
888
  * @access public
889
  *
890
+ * @return boolean
891
  *
892
  * @since 1.6.0
893
  */
894
  public function load_textdomain() {
895
+ return load_plugin_textdomain(
896
  'multi-device-switcher',
897
  false,
898
+ plugin_dir_path( __MULTI_DEVICE_SWITCHER_FILE__ ) . 'languages'
899
  );
900
  }
901
 
pc-switcher-widget.php CHANGED
@@ -3,10 +3,10 @@
3
  * Widget Name: PC Switcher Widget
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
- * Version: 1.8.3
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
- * License: GPL2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: multi-device-switcher
12
  * Domain Path: /languages/
3
  * Widget Name: PC Switcher Widget
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
+ * Version: 1.8.4
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
+ * License: GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: multi-device-switcher
12
  * Domain Path: /languages/
readme.txt CHANGED
@@ -4,18 +4,18 @@ Contributors: thingsym
4
  Link: https://github.com/thingsym/multi-device-switcher
5
  Donate link: https://github.com/sponsors/thingsym
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
- Stable tag: 1.8.3
8
- Tested up to: 6.0.0
9
  Requires at least: 4.9
10
  Requires PHP: 5.6
11
- License: GPL2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
14
- This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
15
 
16
  == Description ==
17
 
18
- This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
19
  This plugin detects if your site is being viewed by UserAgent, and switches to selected theme.
20
  The Custom Switcher can add every device.
21
 
@@ -29,9 +29,12 @@ The Custom Switcher can add every device.
29
  * Can be using **is_multi_device()** function that detect of the device.
30
  * **Multi Device Switcher Command** command-line tool (required WP-CLI)
31
 
32
- = Test Matrix =
33
 
34
- For operation compatibility between PHP version and WordPress version, see below [Github Actions](https://github.com/thingsym/multi-device-switcher/actions).
 
 
 
35
 
36
  = Contribution =
37
 
@@ -39,12 +42,39 @@ Small patches and bug reports can be submitted a issue tracker in Github. Forkin
39
 
40
  Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
41
 
42
- If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into Multi Device Switcher.
43
 
44
- * [multi-device-switcher - GitHub](https://github.com/thingsym/multi-device-switcher)
45
- * [Multi Device Switcher - WordPress Plugin](https://wordpress.org/plugins/multi-device-switcher/)
46
  * [Translate Multi Device Switcher into your language.](https://translate.wordpress.org/projects/wp-plugins/multi-device-switcher)
47
- * [Developer Blog (Japanese) - http://blog.thingslabo.com/ ](https://blog.thingslabo.com/archives/category/multi_device_switcher)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  == Screenshots ==
50
 
@@ -365,6 +395,18 @@ For more information about the Multi Device Switcher Command, see `wp help multi
365
 
366
  == Changelog ==
367
 
 
 
 
 
 
 
 
 
 
 
 
 
368
  = 1.8.3 =
369
  * update japanese translation
370
  * update pot
4
  Link: https://github.com/thingsym/multi-device-switcher
5
  Donate link: https://github.com/sponsors/thingsym
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
+ Stable tag: 1.8.4
8
+ Tested up to: 6.1.0
9
  Requires at least: 4.9
10
  Requires PHP: 5.6
11
+ License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
14
+ Multi Device Switcher plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
15
 
16
  == Description ==
17
 
18
+ Multi Device Switcher plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
19
  This plugin detects if your site is being viewed by UserAgent, and switches to selected theme.
20
  The Custom Switcher can add every device.
21
 
29
  * Can be using **is_multi_device()** function that detect of the device.
30
  * **Multi Device Switcher Command** command-line tool (required WP-CLI)
31
 
32
+ = Support =
33
 
34
+ If you have any trouble, you can use the forums or report bugs.
35
+
36
+ * Forum: [https://wordpress.org/support/plugin/multi-device-switcher/](https://wordpress.org/support/plugin/multi-device-switcher/)
37
+ * Issues: [https://github.com/thingsym/multi-device-switcher/issues](https://github.com/thingsym/multi-device-switcher/issues)
38
 
39
  = Contribution =
40
 
42
 
43
  Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
44
 
45
+ If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.
46
 
47
+ * [VCS - GitHub](https://github.com/thingsym/multi-device-switcher)
48
+ * [Homepage - WordPress Plugin](https://wordpress.org/plugins/multi-device-switcher/)
49
  * [Translate Multi Device Switcher into your language.](https://translate.wordpress.org/projects/wp-plugins/multi-device-switcher)
50
+
51
+ You can also contribute by answering issues on the forums.
52
+
53
+ * Forum: [https://wordpress.org/support/plugin/multi-device-switcher/](https://wordpress.org/support/plugin/multi-device-switcher/)
54
+ * Issues: [https://github.com/thingsym/multi-device-switcher/issues](https://github.com/thingsym/multi-device-switcher/issues)
55
+
56
+ = Patches and Bug Fixes =
57
+
58
+ Forking on Github is another good way. You can send a pull request.
59
+
60
+ 1. Fork [Multi Device Switcher](https://github.com/thingsym/multi-device-switcher) from GitHub repository
61
+ 2. Create a feature branch: git checkout -b my-new-feature
62
+ 3. Commit your changes: git commit -am 'Add some feature'
63
+ 4. Push to the branch: git push origin my-new-feature
64
+ 5. Create new Pull Request
65
+
66
+ = Contribute guidlines =
67
+
68
+ If you would like to contribute, here are some notes and guidlines.
69
+
70
+ * All development happens on the **develop** branch, so it is always the most up-to-date
71
+ * The **master** branch only contains tagged releases
72
+ * If you are going to be submitting a pull request, please submit your pull request to the **develop** branch
73
+ * See about [forking](https://help.github.com/articles/fork-a-repo/) and [pull requests](https://help.github.com/articles/using-pull-requests/)
74
+
75
+ = Test Matrix =
76
+
77
+ For operation compatibility between PHP version and WordPress version, see below [Github Actions](https://github.com/thingsym/multi-device-switcher/actions).
78
 
79
  == Screenshots ==
80
 
395
 
396
  == Changelog ==
397
 
398
+ = 1.8.4 =
399
+ * tested up to 6.1.0
400
+ * update japanese translation
401
+ * update pot
402
+ * fix composer.json
403
+ * add test case
404
+ * update useragent
405
+ * fix load_textdomain method for testability
406
+ * add msgmerge to composer scripts
407
+ * add support section and enhance contribution section
408
+ * fix license
409
+
410
  = 1.8.3 =
411
  * update japanese translation
412
  * update pot