Version Description
- 02.12.2012
- load_plugin_textdomain() call moved to the 'plugins_loaded' hook for higher compatibility with translation plugins.
- Traditional Chinese translation is added. Thanks to Jingxin Lai.
Download this release
Release Info
Developer | shinephp |
Plugin | User Role Editor |
Version | 3.8.2 |
Comparing to | |
See all releases |
Code changes from version 3.8.1 to 3.8.2
- includes/ure-lib.php +3 -0
- includes/ure-options.php +1 -0
- lang/ure-zh_TW.mo +0 -0
- lang/ure-zh_TW.po +748 -0
- readme.txt +6 -0
- user-role-editor.php +20 -8
includes/ure-lib.php
CHANGED
@@ -878,6 +878,9 @@ function ure_capability_help_link($capability) {
|
|
878 |
case 'moderate_comments':
|
879 |
$url = 'http://www.shinephp.com/moderate_comments-wordpress-user-capability/';
|
880 |
break;
|
|
|
|
|
|
|
881 |
case 'update_core':
|
882 |
$url = 'http://www.shinephp.com/update_core-capability-for-wordpress-user/';
|
883 |
break;
|
878 |
case 'moderate_comments':
|
879 |
$url = 'http://www.shinephp.com/moderate_comments-wordpress-user-capability/';
|
880 |
break;
|
881 |
+
case 'read':
|
882 |
+
$url = 'http://shinephp.com/wordpress-read-capability/';
|
883 |
+
break;
|
884 |
case 'update_core':
|
885 |
$url = 'http://www.shinephp.com/update_core-capability-for-wordpress-user/';
|
886 |
break;
|
includes/ure-options.php
CHANGED
@@ -285,6 +285,7 @@ ure_showMessage($mess);
|
|
285 |
<span title="<?php _e("For the help with Spanish translation", 'ure'); ?>" >Dario Ferrer</span>
|
286 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/andreas.png'; ?>)" target="_blank" title="<?php _e("For the updated Swedish translation", 'ure'); ?>" href="http://adevade.com/">Andréas Lundgren</a>
|
287 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/christer.png'; ?>)" target="_blank" title="<?php _e("For the help with Swedish translation", 'ure'); ?>" href="http://www.startlinks.eu">Christer Dahlbacka</a>
|
|
|
288 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/muhammed.png'; ?>)" target="_blank" title="<?php _e("For the help with Turkish translation", 'ure'); ?>" href="http://ben.muhammed.im/">Muhammed YILDIRIM</a>
|
289 |
<hr />
|
290 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/fullthrottle.png'; ?>)" target="_blank" title="<?php _e("For the code to hide administrator role", 'ure'); ?>" href="http://fullthrottledevelopment.com/how-to-hide-the-adminstrator-on-the-wordpress-users-screen">FullThrottle</a>
|
285 |
<span title="<?php _e("For the help with Spanish translation", 'ure'); ?>" >Dario Ferrer</span>
|
286 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/andreas.png'; ?>)" target="_blank" title="<?php _e("For the updated Swedish translation", 'ure'); ?>" href="http://adevade.com/">Andréas Lundgren</a>
|
287 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/christer.png'; ?>)" target="_blank" title="<?php _e("For the help with Swedish translation", 'ure'); ?>" href="http://www.startlinks.eu">Christer Dahlbacka</a>
|
288 |
+
<span title="<?php _e("For the help with Traditional Chinese translation", 'ure'); ?>">Jingxin Lai</span>
|
289 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/muhammed.png'; ?>)" target="_blank" title="<?php _e("For the help with Turkish translation", 'ure'); ?>" href="http://ben.muhammed.im/">Muhammed YILDIRIM</a>
|
290 |
<hr />
|
291 |
<a class="ure_rsb_link" style="background-image:url(<?php echo URE_PLUGIN_URL . '/images/fullthrottle.png'; ?>)" target="_blank" title="<?php _e("For the code to hide administrator role", 'ure'); ?>" href="http://fullthrottledevelopment.com/how-to-hide-the-adminstrator-on-the-wordpress-users-screen">FullThrottle</a>
|
lang/ure-zh_TW.mo
ADDED
Binary file
|
lang/ure-zh_TW.po
ADDED
@@ -0,0 +1,748 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Vladimir Garagulya <vladimir@shinephp.com>\n"
|
8 |
+
"Language-Team: 南宫小骏 <jackytsu@vip.qq.com>\n"
|
9 |
+
"Language: en_RU\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Generator: Poedit 1.5.3\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../user-role-editor.php:35
|
20 |
+
msgid "User Role Editor requires WordPress 3.0 or newer."
|
21 |
+
msgstr "用戶角色編輯器需要WordPress 3.0或更新版本"
|
22 |
+
|
23 |
+
#: ../user-role-editor.php:35 ../user-role-editor.php:40
|
24 |
+
msgid "Please update!"
|
25 |
+
msgstr "請更新!"
|
26 |
+
|
27 |
+
#: ../user-role-editor.php:40
|
28 |
+
msgid "User Role Editor requires PHP 5.0 or newer."
|
29 |
+
msgstr "用戶角色編輯器需要PHP 5.0或更新版本"
|
30 |
+
|
31 |
+
#: ../user-role-editor.php:76
|
32 |
+
msgid "Only"
|
33 |
+
msgstr "僅"
|
34 |
+
|
35 |
+
#: ../user-role-editor.php:76
|
36 |
+
msgid "is allowed to use"
|
37 |
+
msgstr "是允許使用"
|
38 |
+
|
39 |
+
#: ../user-role-editor.php:82 ../user-role-editor.php:251
|
40 |
+
msgid "User Role Editor"
|
41 |
+
msgstr "用戶角色編輯器"
|
42 |
+
|
43 |
+
#: ../user-role-editor.php:223
|
44 |
+
msgid "Settings"
|
45 |
+
msgstr "設定"
|
46 |
+
|
47 |
+
#: ../user-role-editor.php:233 ../includes/ure-options.php:235
|
48 |
+
msgid "Changelog"
|
49 |
+
msgstr "更新日誌"
|
50 |
+
|
51 |
+
#: ../user-role-editor.php:280
|
52 |
+
msgid "Capabilities"
|
53 |
+
msgstr "功能"
|
54 |
+
|
55 |
+
#: ../includes/ure-lib.php:34
|
56 |
+
msgid "Error is occur. Please check the log file."
|
57 |
+
msgstr "發生錯誤,請查看更新日誌。"
|
58 |
+
|
59 |
+
#: ../includes/ure-lib.php:144
|
60 |
+
msgid "Database operation error. Check log file."
|
61 |
+
msgstr "資料庫操作錯誤,請查看更新日誌。"
|
62 |
+
|
63 |
+
#: ../includes/ure-lib.php:177
|
64 |
+
msgid ""
|
65 |
+
"No backup data. It is created automatically before the first role data "
|
66 |
+
"update."
|
67 |
+
msgstr "沒有備份資料。這是之前自動建立的第一個角色資料更新。"
|
68 |
+
|
69 |
+
#: ../includes/ure-lib.php:215
|
70 |
+
msgid "Backup record is created for the current role capabilities"
|
71 |
+
msgstr "已經為當前角色的權限建立備份資料"
|
72 |
+
|
73 |
+
#: ../includes/ure-lib.php:329
|
74 |
+
msgid "Error: Role name must contain latin characters and digits only!"
|
75 |
+
msgstr "錯誤:角色名稱必須使用英文或數字!"
|
76 |
+
|
77 |
+
#: ../includes/ure-lib.php:336
|
78 |
+
#, php-format
|
79 |
+
msgid "Role %s exists already"
|
80 |
+
msgstr "角色 %s 已經存在了"
|
81 |
+
|
82 |
+
#: ../includes/ure-lib.php:349
|
83 |
+
msgid "Error is encountered during new role create operation"
|
84 |
+
msgstr "建立角色發生錯誤"
|
85 |
+
|
86 |
+
#: ../includes/ure-lib.php:351
|
87 |
+
#, php-format
|
88 |
+
msgid "Role %s is created successfully"
|
89 |
+
msgstr "角色 %s 建立成功"
|
90 |
+
|
91 |
+
#: ../includes/ure-lib.php:435
|
92 |
+
msgid "Error encountered during role delete operation"
|
93 |
+
msgstr "刪除角色發生錯誤"
|
94 |
+
|
95 |
+
#: ../includes/ure-lib.php:437
|
96 |
+
#, php-format
|
97 |
+
msgid "Role %s is deleted successfully"
|
98 |
+
msgstr "角色 %s 刪除成功"
|
99 |
+
|
100 |
+
#: ../includes/ure-lib.php:455
|
101 |
+
msgid "Error encountered during default role change operation"
|
102 |
+
msgstr "更改預設角色發生錯誤"
|
103 |
+
|
104 |
+
#: ../includes/ure-lib.php:461
|
105 |
+
#, php-format
|
106 |
+
msgid "Default role for new users is set to %s successfully"
|
107 |
+
msgstr "將新角色更改為預設角色 %s 成功"
|
108 |
+
|
109 |
+
#: ../includes/ure-lib.php:489
|
110 |
+
msgid "Editor"
|
111 |
+
msgstr "編輯"
|
112 |
+
|
113 |
+
#: ../includes/ure-lib.php:490
|
114 |
+
msgid "Author"
|
115 |
+
msgstr "作者"
|
116 |
+
|
117 |
+
#: ../includes/ure-lib.php:491
|
118 |
+
msgid "Contributor"
|
119 |
+
msgstr "撰寫人員"
|
120 |
+
|
121 |
+
#: ../includes/ure-lib.php:492
|
122 |
+
msgid "Subscriber"
|
123 |
+
msgstr "訂閱者"
|
124 |
+
|
125 |
+
#: ../includes/ure-lib.php:494
|
126 |
+
msgid "Switch themes"
|
127 |
+
msgstr "更改佈景主題"
|
128 |
+
|
129 |
+
#: ../includes/ure-lib.php:495
|
130 |
+
msgid "Edit themes"
|
131 |
+
msgstr "編輯佈景主題"
|
132 |
+
|
133 |
+
#: ../includes/ure-lib.php:496
|
134 |
+
msgid "Activate plugins"
|
135 |
+
msgstr "啟用外掛"
|
136 |
+
|
137 |
+
#: ../includes/ure-lib.php:497
|
138 |
+
msgid "Edit plugins"
|
139 |
+
msgstr "編輯外掛"
|
140 |
+
|
141 |
+
#: ../includes/ure-lib.php:498
|
142 |
+
msgid "Edit users"
|
143 |
+
msgstr "編輯帳號"
|
144 |
+
|
145 |
+
#: ../includes/ure-lib.php:499
|
146 |
+
msgid "Edit files"
|
147 |
+
msgstr "編輯檔案"
|
148 |
+
|
149 |
+
#: ../includes/ure-lib.php:500
|
150 |
+
msgid "Manage options"
|
151 |
+
msgstr "管理選項"
|
152 |
+
|
153 |
+
#: ../includes/ure-lib.php:501
|
154 |
+
msgid "Moderate comments"
|
155 |
+
msgstr "審核評論"
|
156 |
+
|
157 |
+
#: ../includes/ure-lib.php:502
|
158 |
+
msgid "Manage categories"
|
159 |
+
msgstr "管理分類"
|
160 |
+
|
161 |
+
#: ../includes/ure-lib.php:503
|
162 |
+
msgid "Manage links"
|
163 |
+
msgstr "管理鏈結"
|
164 |
+
|
165 |
+
#: ../includes/ure-lib.php:504
|
166 |
+
msgid "Upload files"
|
167 |
+
msgstr "新增檔案"
|
168 |
+
|
169 |
+
#: ../includes/ure-lib.php:505
|
170 |
+
msgid "Import"
|
171 |
+
msgstr "導入"
|
172 |
+
|
173 |
+
#: ../includes/ure-lib.php:506
|
174 |
+
msgid "Unfiltered html"
|
175 |
+
msgstr "不過濾 html"
|
176 |
+
|
177 |
+
#: ../includes/ure-lib.php:507
|
178 |
+
msgid "Edit posts"
|
179 |
+
msgstr "編輯文章"
|
180 |
+
|
181 |
+
#: ../includes/ure-lib.php:508
|
182 |
+
msgid "Edit others posts"
|
183 |
+
msgstr "編輯他人文章"
|
184 |
+
|
185 |
+
#: ../includes/ure-lib.php:509
|
186 |
+
msgid "Edit published posts"
|
187 |
+
msgstr "編輯已發表文章"
|
188 |
+
|
189 |
+
#: ../includes/ure-lib.php:510
|
190 |
+
msgid "Publish posts"
|
191 |
+
msgstr "新增文章"
|
192 |
+
|
193 |
+
#: ../includes/ure-lib.php:511
|
194 |
+
msgid "Edit pages"
|
195 |
+
msgstr "編輯分頁"
|
196 |
+
|
197 |
+
#: ../includes/ure-lib.php:512
|
198 |
+
msgid "Read"
|
199 |
+
msgstr "瀏覽"
|
200 |
+
|
201 |
+
#: ../includes/ure-lib.php:513
|
202 |
+
msgid "Level 10"
|
203 |
+
msgstr "等級 10"
|
204 |
+
|
205 |
+
#: ../includes/ure-lib.php:514
|
206 |
+
msgid "Level 9"
|
207 |
+
msgstr "等級 9"
|
208 |
+
|
209 |
+
#: ../includes/ure-lib.php:515
|
210 |
+
msgid "Level 8"
|
211 |
+
msgstr "等級 8"
|
212 |
+
|
213 |
+
#: ../includes/ure-lib.php:516
|
214 |
+
msgid "Level 7"
|
215 |
+
msgstr "等級 7"
|
216 |
+
|
217 |
+
#: ../includes/ure-lib.php:517
|
218 |
+
msgid "Level 6"
|
219 |
+
msgstr "等級 6"
|
220 |
+
|
221 |
+
#: ../includes/ure-lib.php:518
|
222 |
+
msgid "Level 5"
|
223 |
+
msgstr "等級 5"
|
224 |
+
|
225 |
+
#: ../includes/ure-lib.php:519
|
226 |
+
msgid "Level 4"
|
227 |
+
msgstr "等級 4"
|
228 |
+
|
229 |
+
#: ../includes/ure-lib.php:520
|
230 |
+
msgid "Level 3"
|
231 |
+
msgstr "等級 3"
|
232 |
+
|
233 |
+
#: ../includes/ure-lib.php:521
|
234 |
+
msgid "Level 2"
|
235 |
+
msgstr "等級 2"
|
236 |
+
|
237 |
+
#: ../includes/ure-lib.php:522
|
238 |
+
msgid "Level 1"
|
239 |
+
msgstr "等級 1"
|
240 |
+
|
241 |
+
#: ../includes/ure-lib.php:523
|
242 |
+
msgid "Level 0"
|
243 |
+
msgstr "等級 0"
|
244 |
+
|
245 |
+
#: ../includes/ure-lib.php:524
|
246 |
+
msgid "Edit others pages"
|
247 |
+
msgstr "編輯他人分頁"
|
248 |
+
|
249 |
+
#: ../includes/ure-lib.php:525
|
250 |
+
msgid "Edit published pages"
|
251 |
+
msgstr "編輯已發表分頁"
|
252 |
+
|
253 |
+
#: ../includes/ure-lib.php:526
|
254 |
+
msgid "Publish pages"
|
255 |
+
msgstr "新增分頁"
|
256 |
+
|
257 |
+
#: ../includes/ure-lib.php:527
|
258 |
+
msgid "Delete pages"
|
259 |
+
msgstr "刪除分頁"
|
260 |
+
|
261 |
+
#: ../includes/ure-lib.php:528
|
262 |
+
msgid "Delete others pages"
|
263 |
+
msgstr "刪除他人分頁"
|
264 |
+
|
265 |
+
#: ../includes/ure-lib.php:529
|
266 |
+
msgid "Delete published pages"
|
267 |
+
msgstr "刪除已發布分頁"
|
268 |
+
|
269 |
+
#: ../includes/ure-lib.php:530
|
270 |
+
msgid "Delete posts"
|
271 |
+
msgstr "刪除文章"
|
272 |
+
|
273 |
+
#: ../includes/ure-lib.php:531
|
274 |
+
msgid "Delete others posts"
|
275 |
+
msgstr "刪除他人文章"
|
276 |
+
|
277 |
+
#: ../includes/ure-lib.php:532
|
278 |
+
msgid "Delete published posts"
|
279 |
+
msgstr "刪除已發表文章"
|
280 |
+
|
281 |
+
#: ../includes/ure-lib.php:533
|
282 |
+
msgid "Delete private posts"
|
283 |
+
msgstr "刪除私密文章"
|
284 |
+
|
285 |
+
#: ../includes/ure-lib.php:534
|
286 |
+
msgid "Edit private posts"
|
287 |
+
msgstr "編輯私密文章"
|
288 |
+
|
289 |
+
#: ../includes/ure-lib.php:535
|
290 |
+
msgid "Read private posts"
|
291 |
+
msgstr "瀏覽私密文章"
|
292 |
+
|
293 |
+
#: ../includes/ure-lib.php:536
|
294 |
+
msgid "Delete private pages"
|
295 |
+
msgstr "刪除私密分頁"
|
296 |
+
|
297 |
+
#: ../includes/ure-lib.php:537
|
298 |
+
msgid "Edit private pages"
|
299 |
+
msgstr "編輯私密分頁"
|
300 |
+
|
301 |
+
#: ../includes/ure-lib.php:538
|
302 |
+
msgid "Read private pages"
|
303 |
+
msgstr "瀏覽私密分頁"
|
304 |
+
|
305 |
+
#: ../includes/ure-lib.php:539
|
306 |
+
msgid "Delete users"
|
307 |
+
msgstr "刪除帳號"
|
308 |
+
|
309 |
+
#: ../includes/ure-lib.php:540
|
310 |
+
msgid "Create users"
|
311 |
+
msgstr "新增帳號"
|
312 |
+
|
313 |
+
#: ../includes/ure-lib.php:541
|
314 |
+
msgid "Unfiltered upload"
|
315 |
+
msgstr "無限制上傳"
|
316 |
+
|
317 |
+
#: ../includes/ure-lib.php:542
|
318 |
+
msgid "Edit dashboard"
|
319 |
+
msgstr "編輯控制台"
|
320 |
+
|
321 |
+
#: ../includes/ure-lib.php:543
|
322 |
+
msgid "Update plugins"
|
323 |
+
msgstr "更新外掛"
|
324 |
+
|
325 |
+
#: ../includes/ure-lib.php:544
|
326 |
+
msgid "Delete plugins"
|
327 |
+
msgstr "刪除外掛"
|
328 |
+
|
329 |
+
#: ../includes/ure-lib.php:545
|
330 |
+
msgid "Install plugins"
|
331 |
+
msgstr "安裝外掛"
|
332 |
+
|
333 |
+
#: ../includes/ure-lib.php:546
|
334 |
+
msgid "Update themes"
|
335 |
+
msgstr "更新佈景主題"
|
336 |
+
|
337 |
+
#: ../includes/ure-lib.php:547
|
338 |
+
msgid "Install themes"
|
339 |
+
msgstr "安裝佈景主題"
|
340 |
+
|
341 |
+
#: ../includes/ure-lib.php:548
|
342 |
+
msgid "Update core"
|
343 |
+
msgstr "更新核心"
|
344 |
+
|
345 |
+
#: ../includes/ure-lib.php:549
|
346 |
+
msgid "List users"
|
347 |
+
msgstr "帳號列表"
|
348 |
+
|
349 |
+
#: ../includes/ure-lib.php:550
|
350 |
+
msgid "Remove users"
|
351 |
+
msgstr "刪除帳號"
|
352 |
+
|
353 |
+
#: ../includes/ure-lib.php:551
|
354 |
+
msgid "Add users"
|
355 |
+
msgstr "新增帳號"
|
356 |
+
|
357 |
+
#: ../includes/ure-lib.php:552
|
358 |
+
msgid "Promote users"
|
359 |
+
msgstr "提升用戶"
|
360 |
+
|
361 |
+
#: ../includes/ure-lib.php:553
|
362 |
+
msgid "Edit theme options"
|
363 |
+
msgstr "編輯佈景選項"
|
364 |
+
|
365 |
+
#: ../includes/ure-lib.php:554
|
366 |
+
msgid "Delete themes"
|
367 |
+
msgstr "刪除佈景"
|
368 |
+
|
369 |
+
#: ../includes/ure-lib.php:555
|
370 |
+
msgid "Export"
|
371 |
+
msgstr "導出"
|
372 |
+
|
373 |
+
#: ../includes/ure-lib.php:639
|
374 |
+
msgid "Error: Capability name must contain latin characters and digits only!"
|
375 |
+
msgstr "錯誤:功能名稱必須使用英文或數字!"
|
376 |
+
|
377 |
+
#: ../includes/ure-lib.php:651
|
378 |
+
#, php-format
|
379 |
+
msgid "Capability %s is added successfully"
|
380 |
+
msgstr "功能 %s 已成功加入"
|
381 |
+
|
382 |
+
#: ../includes/ure-lib.php:653
|
383 |
+
#, php-format
|
384 |
+
msgid "Capability %s exists already"
|
385 |
+
msgstr "功能 %s 已存在"
|
386 |
+
|
387 |
+
#: ../includes/ure-lib.php:802
|
388 |
+
#, php-format
|
389 |
+
msgid "Error! You do not have permission to delete this capability: %s!"
|
390 |
+
msgstr "錯誤:您無權刪除這功能: %s !"
|
391 |
+
|
392 |
+
#: ../includes/ure-lib.php:824
|
393 |
+
#, php-format
|
394 |
+
msgid "Capability %s is removed successfully"
|
395 |
+
msgstr "功能 %s 已成功刪除"
|
396 |
+
|
397 |
+
#: ../includes/ure-lib.php:889
|
398 |
+
msgid "Help"
|
399 |
+
msgstr "幫助"
|
400 |
+
|
401 |
+
#: ../includes/ure-role-edit.php:29
|
402 |
+
msgid "None"
|
403 |
+
msgstr "無"
|
404 |
+
|
405 |
+
#: ../includes/ure-role-edit.php:101
|
406 |
+
msgid " Name can not be empty!"
|
407 |
+
msgstr "名字不能為空"
|
408 |
+
|
409 |
+
#: ../includes/ure-role-edit.php:105
|
410 |
+
msgid " Name must contain latin characters and digits only!"
|
411 |
+
msgstr "名字必須使用英文或數字"
|
412 |
+
|
413 |
+
#: ../includes/ure-role-edit.php:110 ../includes/ure-role-edit.php:367
|
414 |
+
msgid "Delete Role"
|
415 |
+
msgstr "刪除角色"
|
416 |
+
|
417 |
+
#: ../includes/ure-role-edit.php:112
|
418 |
+
msgid "Change Default Role"
|
419 |
+
msgstr "更改預設角色"
|
420 |
+
|
421 |
+
#: ../includes/ure-role-edit.php:114
|
422 |
+
msgid ""
|
423 |
+
"Restore Roles from backup copy. Be careful, backup was created when you "
|
424 |
+
"started URE 1st time. All changes you made after that will be lost"
|
425 |
+
msgstr "從備份還原角色。小心,當您第一次使用時備份已被建立。所有更改將會消失"
|
426 |
+
|
427 |
+
#: ../includes/ure-role-edit.php:116
|
428 |
+
msgid ""
|
429 |
+
"Warning! Be careful - removing critical capability could crash some plugin "
|
430 |
+
"or other custom code"
|
431 |
+
msgstr "警告!小心-移除關鍵功能可能會使外掛崩潰或其他自定義代碼"
|
432 |
+
|
433 |
+
#: ../includes/ure-role-edit.php:118
|
434 |
+
msgid "Please confirm to continue"
|
435 |
+
msgstr "請確認繼續"
|
436 |
+
|
437 |
+
#: ../includes/ure-role-edit.php:155
|
438 |
+
#, php-format
|
439 |
+
msgid "Role \"%s\" update: please confirm to continue"
|
440 |
+
msgstr "角色 \"%s\" 更新:請確認繼續"
|
441 |
+
|
442 |
+
#: ../includes/ure-role-edit.php:163
|
443 |
+
msgid "Select Role and change its capabilities list"
|
444 |
+
msgstr "選擇一個角色並更改功能"
|
445 |
+
|
446 |
+
#: ../includes/ure-role-edit.php:165
|
447 |
+
msgid "Select Role:"
|
448 |
+
msgstr "選擇角色:"
|
449 |
+
|
450 |
+
#: ../includes/ure-role-edit.php:175 ../includes/ure-user-edit.php:91
|
451 |
+
msgid "Show capabilities in human readable form"
|
452 |
+
msgstr "簡單呈現"
|
453 |
+
|
454 |
+
#: ../includes/ure-role-edit.php:184 ../includes/ure-user-edit.php:100
|
455 |
+
msgid "Show deprecated capabilities"
|
456 |
+
msgstr "廢棄的功能"
|
457 |
+
|
458 |
+
#: ../includes/ure-role-edit.php:188
|
459 |
+
msgid "If checked, then apply action to ALL sites of this Network"
|
460 |
+
msgstr "如果選擇,將會影響這個網站"
|
461 |
+
|
462 |
+
#: ../includes/ure-role-edit.php:198
|
463 |
+
msgid "Apply to All Sites"
|
464 |
+
msgstr "允許所有網站"
|
465 |
+
|
466 |
+
#: ../includes/ure-role-edit.php:205 ../includes/ure-user-edit.php:105
|
467 |
+
msgid "Core capabilities:"
|
468 |
+
msgstr "核心功能:"
|
469 |
+
|
470 |
+
#: ../includes/ure-role-edit.php:268 ../includes/ure-user-edit.php:167
|
471 |
+
msgid "Custom capabilities:"
|
472 |
+
msgstr "自定義功能:"
|
473 |
+
|
474 |
+
#: ../includes/ure-role-edit.php:319 ../includes/ure-user-edit.php:222
|
475 |
+
msgid "Update"
|
476 |
+
msgstr "更新"
|
477 |
+
|
478 |
+
#: ../includes/ure-role-edit.php:319 ../includes/ure-user-edit.php:222
|
479 |
+
msgid "Save Changes"
|
480 |
+
msgstr "儲存變更"
|
481 |
+
|
482 |
+
#: ../includes/ure-role-edit.php:320 ../includes/ure-user-edit.php:223
|
483 |
+
msgid "Cancel"
|
484 |
+
msgstr "取消"
|
485 |
+
|
486 |
+
#: ../includes/ure-role-edit.php:320 ../includes/ure-user-edit.php:223
|
487 |
+
msgid "Cancel not saved changes"
|
488 |
+
msgstr "取消儲存變更"
|
489 |
+
|
490 |
+
#: ../includes/ure-role-edit.php:323
|
491 |
+
msgid "Select All"
|
492 |
+
msgstr "選擇全部"
|
493 |
+
|
494 |
+
#: ../includes/ure-role-edit.php:323
|
495 |
+
msgid "Select All Capabilities"
|
496 |
+
msgstr "選擇全部功能"
|
497 |
+
|
498 |
+
#: ../includes/ure-role-edit.php:327
|
499 |
+
msgid "Unselect All"
|
500 |
+
msgstr "取消全選"
|
501 |
+
|
502 |
+
#: ../includes/ure-role-edit.php:327
|
503 |
+
msgid "Unselect All Capabilities"
|
504 |
+
msgstr "取消全選功能"
|
505 |
+
|
506 |
+
#: ../includes/ure-role-edit.php:328
|
507 |
+
msgid "Reverse"
|
508 |
+
msgstr "反選"
|
509 |
+
|
510 |
+
#: ../includes/ure-role-edit.php:328
|
511 |
+
msgid "Turn checked capabilities off and vise versa"
|
512 |
+
msgstr "將檢查關閉的功能"
|
513 |
+
|
514 |
+
#: ../includes/ure-role-edit.php:334
|
515 |
+
msgid "Reset"
|
516 |
+
msgstr "重設"
|
517 |
+
|
518 |
+
#: ../includes/ure-role-edit.php:334
|
519 |
+
msgid "Restore Roles from backup copy"
|
520 |
+
msgstr "從備份恢復角色"
|
521 |
+
|
522 |
+
#: ../includes/ure-role-edit.php:344
|
523 |
+
msgid "Add New Role"
|
524 |
+
msgstr "新增角色"
|
525 |
+
|
526 |
+
#: ../includes/ure-role-edit.php:346
|
527 |
+
msgid "Name: "
|
528 |
+
msgstr "帳號:"
|
529 |
+
|
530 |
+
#: ../includes/ure-role-edit.php:350
|
531 |
+
msgid "Make copy of: "
|
532 |
+
msgstr "複製"
|
533 |
+
|
534 |
+
#: ../includes/ure-role-edit.php:353 ../includes/ure-role-edit.php:382
|
535 |
+
msgid "Add"
|
536 |
+
msgstr "增加"
|
537 |
+
|
538 |
+
#: ../includes/ure-role-edit.php:353
|
539 |
+
msgid "Add New User Role"
|
540 |
+
msgstr "新增帳號角色"
|
541 |
+
|
542 |
+
#: ../includes/ure-role-edit.php:357
|
543 |
+
msgid "Default Role for New User"
|
544 |
+
msgstr "新帳號預設角色"
|
545 |
+
|
546 |
+
#: ../includes/ure-role-edit.php:362
|
547 |
+
msgid "Change"
|
548 |
+
msgstr "更改"
|
549 |
+
|
550 |
+
#: ../includes/ure-role-edit.php:362
|
551 |
+
msgid "Set as Default User Role"
|
552 |
+
msgstr "設置為預設角色"
|
553 |
+
|
554 |
+
#: ../includes/ure-role-edit.php:372
|
555 |
+
msgid "Delete"
|
556 |
+
msgstr "刪除"
|
557 |
+
|
558 |
+
#: ../includes/ure-role-edit.php:372
|
559 |
+
msgid "Delete User Role"
|
560 |
+
msgstr "刪除帳號角色"
|
561 |
+
|
562 |
+
#: ../includes/ure-role-edit.php:377 ../includes/ure-role-edit.php:382
|
563 |
+
msgid "Add New Capability"
|
564 |
+
msgstr "加入新功能"
|
565 |
+
|
566 |
+
#: ../includes/ure-role-edit.php:387
|
567 |
+
msgid "Remove Capability"
|
568 |
+
msgstr "刪除功能"
|
569 |
+
|
570 |
+
#: ../includes/ure-role-edit.php:392
|
571 |
+
msgid "Remove"
|
572 |
+
msgstr "刪除"
|
573 |
+
|
574 |
+
#: ../includes/ure-role-edit.php:392
|
575 |
+
msgid "Remove User Capability"
|
576 |
+
msgstr "刪除用戶功能"
|
577 |
+
|
578 |
+
#: ../includes/ure-user-edit.php:67
|
579 |
+
#, php-format
|
580 |
+
msgid "User \"%s\" update: please confirm to continue"
|
581 |
+
msgstr "帳號 \"%s\" 更新:請確認繼續"
|
582 |
+
|
583 |
+
#: ../includes/ure-user-edit.php:79
|
584 |
+
msgid "Change capabilities for user"
|
585 |
+
msgstr "更改用戶功能"
|
586 |
+
|
587 |
+
#: ../includes/ure-user-edit.php:82
|
588 |
+
msgid "Role:"
|
589 |
+
msgstr "角色"
|
590 |
+
|
591 |
+
#: ../includes/ure-user-edit.php:104
|
592 |
+
msgid "Add capabilities to this user:"
|
593 |
+
msgstr "增加功能給這個帳號:"
|
594 |
+
|
595 |
+
#: ../includes/ure-options.php:59
|
596 |
+
msgid "User Roles are restored from the backup data. "
|
597 |
+
msgstr "用戶角色已從備份還原"
|
598 |
+
|
599 |
+
#: ../includes/ure-options.php:130
|
600 |
+
msgid "Error: "
|
601 |
+
msgstr "錯誤:"
|
602 |
+
|
603 |
+
#: ../includes/ure-options.php:130 ../includes/ure-options.php:146
|
604 |
+
msgid "Role"
|
605 |
+
msgstr "角色"
|
606 |
+
|
607 |
+
#: ../includes/ure-options.php:130
|
608 |
+
msgid "does not exist"
|
609 |
+
msgstr "不存在"
|
610 |
+
|
611 |
+
#: ../includes/ure-options.php:146
|
612 |
+
msgid "is updated successfully"
|
613 |
+
msgstr "更新成功"
|
614 |
+
|
615 |
+
#: ../includes/ure-options.php:154
|
616 |
+
msgid "User"
|
617 |
+
msgstr "帳號"
|
618 |
+
|
619 |
+
#: ../includes/ure-options.php:154
|
620 |
+
msgid "capabilities are updated successfully"
|
621 |
+
msgstr "功能已更新成功"
|
622 |
+
|
623 |
+
#: ../includes/ure-options.php:232
|
624 |
+
msgid "About this Plugin:"
|
625 |
+
msgstr "關於此外掛:"
|
626 |
+
|
627 |
+
#: ../includes/ure-options.php:233
|
628 |
+
msgid "Author's website"
|
629 |
+
msgstr "作者網站"
|
630 |
+
|
631 |
+
#: ../includes/ure-options.php:234
|
632 |
+
msgid "Plugin webpage"
|
633 |
+
msgstr "外掛網站"
|
634 |
+
|
635 |
+
#: ../includes/ure-options.php:236
|
636 |
+
msgid "FAQ"
|
637 |
+
msgstr "常見問題"
|
638 |
+
|
639 |
+
#: ../includes/ure-options.php:237
|
640 |
+
msgid "Greetings"
|
641 |
+
msgstr "感謝"
|
642 |
+
|
643 |
+
#: ../includes/ure-options.php:259
|
644 |
+
msgid "Greetings:"
|
645 |
+
msgstr "感謝:"
|
646 |
+
|
647 |
+
#: ../includes/ure-options.php:260
|
648 |
+
msgid "It's me, the author"
|
649 |
+
msgstr "是我,外掛作者"
|
650 |
+
|
651 |
+
#: ../includes/ure-options.php:261
|
652 |
+
msgid "For the help with Belorussian translation"
|
653 |
+
msgstr "白俄羅斯版本貢獻者"
|
654 |
+
|
655 |
+
#: ../includes/ure-options.php:262
|
656 |
+
msgid "For the help with Brasilian translation"
|
657 |
+
msgstr "巴西版本貢獻者"
|
658 |
+
|
659 |
+
#: ../includes/ure-options.php:263
|
660 |
+
msgid "For the help with Brasilian Portuguese translation"
|
661 |
+
msgstr "巴西葡萄牙語版本貢獻者"
|
662 |
+
|
663 |
+
#: ../includes/ure-options.php:264
|
664 |
+
msgid "For the help with Chinese translation"
|
665 |
+
msgstr "簡體中文版本貢獻者"
|
666 |
+
|
667 |
+
#: ../includes/ure-options.php:265
|
668 |
+
msgid "For the help with Dutch translation"
|
669 |
+
msgstr "荷蘭文版本貢獻者"
|
670 |
+
|
671 |
+
#: ../includes/ure-options.php:266
|
672 |
+
msgid "For the help with Finnish translation"
|
673 |
+
msgstr "芬蘭版本貢獻者"
|
674 |
+
|
675 |
+
#: ../includes/ure-options.php:267 ../includes/ure-options.php:268
|
676 |
+
msgid "For the help with French translation"
|
677 |
+
msgstr "法文版本貢獻者"
|
678 |
+
|
679 |
+
#: ../includes/ure-options.php:269
|
680 |
+
msgid "For the help with German translation"
|
681 |
+
msgstr "德文版本貢獻者"
|
682 |
+
|
683 |
+
#: ../includes/ure-options.php:270 ../includes/ure-options.php:271
|
684 |
+
msgid "For the help with Hebrew translation"
|
685 |
+
msgstr "希伯來文版本貢獻者"
|
686 |
+
|
687 |
+
#: ../includes/ure-options.php:272
|
688 |
+
msgid "For the help with Hindi translation"
|
689 |
+
msgstr "印地文版本貢獻者"
|
690 |
+
|
691 |
+
#: ../includes/ure-options.php:273
|
692 |
+
msgid "For the help with Hungarian translation"
|
693 |
+
msgstr "匈牙利版本貢獻者"
|
694 |
+
|
695 |
+
#: ../includes/ure-options.php:274 ../includes/ure-options.php:275
|
696 |
+
msgid "For the help with Italian translation"
|
697 |
+
msgstr "義大利語版本貢獻者"
|
698 |
+
|
699 |
+
#: ../includes/ure-options.php:276
|
700 |
+
msgid "For the help with Japanese translation"
|
701 |
+
msgstr "日語版本貢獻者"
|
702 |
+
|
703 |
+
#: ../includes/ure-options.php:277
|
704 |
+
msgid "For the help with Lithuanian translation"
|
705 |
+
msgstr "立陶宛版本貢獻者"
|
706 |
+
|
707 |
+
#: ../includes/ure-options.php:278 ../includes/ure-options.php:279
|
708 |
+
#: ../includes/ure-options.php:280
|
709 |
+
msgid "For the help with Persian translation"
|
710 |
+
msgstr "波斯語版本貢獻者"
|
711 |
+
|
712 |
+
#: ../includes/ure-options.php:281 ../includes/ure-options.php:282
|
713 |
+
msgid "For the help with Polish translation"
|
714 |
+
msgstr "波蘭語版本貢獻者"
|
715 |
+
|
716 |
+
#: ../includes/ure-options.php:283 ../includes/ure-options.php:284
|
717 |
+
msgid "For the help with Spanish translation"
|
718 |
+
msgstr "西班牙文版本貢獻者"
|
719 |
+
|
720 |
+
#: ../includes/ure-options.php:285
|
721 |
+
msgid "For the updated Swedish translation"
|
722 |
+
msgstr "瑞典版本更新貢獻者"
|
723 |
+
|
724 |
+
#: ../includes/ure-options.php:286
|
725 |
+
msgid "For the help with Swedish translation"
|
726 |
+
msgstr "瑞典版本貢獻者"
|
727 |
+
|
728 |
+
#: ../includes/ure-options.php:287
|
729 |
+
msgid "For the help with Turkish translation"
|
730 |
+
msgstr "土耳其版本貢獻者"
|
731 |
+
|
732 |
+
#: ../includes/ure-options.php:289
|
733 |
+
msgid "For the code to hide administrator role"
|
734 |
+
msgstr "隱藏管理員貢獻者"
|
735 |
+
|
736 |
+
#: ../includes/ure-options.php:290
|
737 |
+
msgid "For the code enhancement suggestion"
|
738 |
+
msgstr "幫助原碼增強建議"
|
739 |
+
|
740 |
+
#: ../includes/ure-options.php:292
|
741 |
+
msgid ""
|
742 |
+
"Do you wish to see your name with link to your site here? You are welcome! "
|
743 |
+
"Your help with translation and new ideas are very appreciated."
|
744 |
+
msgstr ""
|
745 |
+
"想在這看到您的網站嗎?非常歡迎!凡是提供各國語言翻譯將可以於此發現您的網站。"
|
746 |
+
|
747 |
+
#~ msgid "Roles list reading error is encountered"
|
748 |
+
#~ msgstr "角色列表读取出错"
|
readme.txt
CHANGED
@@ -68,6 +68,7 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/
|
|
68 |
* Serbian: [Diana](http://wpcouponshop.com)
|
69 |
* Spanish: [Victor Ricardo Díaz (INFOMED)](http://www.sld.cu)
|
70 |
* Swedish: [Christer Dahlbacka](www.startlinks.eu), [Andréas Lundgren](http://adevade.com/)
|
|
|
71 |
* Turkish: [Muhammed YILDIRIM](http://ben.muhammed.im)
|
72 |
* -----------------------------------------------------
|
73 |
* translations below are included to the package, but all of them are outdated and every file needs to be updated. You are welcome!
|
@@ -85,6 +86,11 @@ Share with me new ideas about plugin further development and link to your site w
|
|
85 |
|
86 |
|
87 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
88 |
= 3.8.1 =
|
89 |
* 21.10.2012
|
90 |
* Fix: URE taked roles names from the database directly and ignored changes made to roles names on the fly by other plugins or themes, names, which were cached by WordPress internally, but were not written to the database. URE uses WordPress internal cache now.
|
68 |
* Serbian: [Diana](http://wpcouponshop.com)
|
69 |
* Spanish: [Victor Ricardo Díaz (INFOMED)](http://www.sld.cu)
|
70 |
* Swedish: [Christer Dahlbacka](www.startlinks.eu), [Andréas Lundgren](http://adevade.com/)
|
71 |
+
* Traditional Chinese (Jingxin Lai)
|
72 |
* Turkish: [Muhammed YILDIRIM](http://ben.muhammed.im)
|
73 |
* -----------------------------------------------------
|
74 |
* translations below are included to the package, but all of them are outdated and every file needs to be updated. You are welcome!
|
86 |
|
87 |
|
88 |
== Changelog ==
|
89 |
+
= 3.8.2 =
|
90 |
+
* 02.12.2012
|
91 |
+
* load_plugin_textdomain() call moved to the 'plugins_loaded' hook for higher compatibility with translation plugins.
|
92 |
+
* Traditional Chinese translation is added. Thanks to Jingxin Lai.
|
93 |
+
|
94 |
= 3.8.1 =
|
95 |
* 21.10.2012
|
96 |
* Fix: URE taked roles names from the database directly and ignored changes made to roles names on the fly by other plugins or themes, names, which were cached by WordPress internally, but were not written to the database. URE uses WordPress internal cache now.
|
user-role-editor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://www.shinephp.com/user-role-editor-wordpress-plugin/
|
5 |
Description: It allows you to change/add/delete any WordPress user role (except administrator) capabilities list with a few clicks.
|
6 |
-
Version: 3.8.
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
@@ -54,7 +54,17 @@ define('URE_KEY_CAPABILITY', 'administrator');
|
|
54 |
|
55 |
require_once('includes/ure-lib.php');
|
56 |
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
|
60 |
function ure_optionsPage() {
|
@@ -191,8 +201,8 @@ function exclude_admins_view($views) {
|
|
191 |
|
192 |
function ure_init() {
|
193 |
|
194 |
-
global $current_user
|
195 |
-
|
196 |
if (!empty($current_user->ID)) {
|
197 |
$user_id = $current_user->ID;
|
198 |
} else {
|
@@ -346,11 +356,13 @@ if (function_exists('is_multisite') && is_multisite()) {
|
|
346 |
if (is_admin()) {
|
347 |
// activation action
|
348 |
register_activation_hook(__FILE__, "ure_install");
|
349 |
-
|
|
|
|
|
350 |
// add a Settings link in the installed plugins page
|
351 |
-
add_filter('plugin_action_links', 'ure_plugin_action_links', 10, 2);
|
352 |
-
add_filter('plugin_row_meta', 'ure_plugin_row_meta', 10, 2);
|
353 |
-
add_action('admin_menu', 'ure_settings_menu');
|
354 |
add_action( 'user_row_actions', 'ure_user_row', 10, 2 );
|
355 |
}
|
356 |
|
3 |
Plugin Name: User Role Editor
|
4 |
Plugin URI: http://www.shinephp.com/user-role-editor-wordpress-plugin/
|
5 |
Description: It allows you to change/add/delete any WordPress user role (except administrator) capabilities list with a few clicks.
|
6 |
+
Version: 3.8.2
|
7 |
Author: Vladimir Garagulya
|
8 |
Author URI: http://www.shinephp.com
|
9 |
Text Domain: ure
|
54 |
|
55 |
require_once('includes/ure-lib.php');
|
56 |
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Load URE plugin translation files - linked to the 'plugins_loaded' action
|
60 |
+
*
|
61 |
+
*/
|
62 |
+
function ure_load_translation() {
|
63 |
+
|
64 |
+
load_plugin_textdomain( 'ure', '', dirname( plugin_basename( __FILE__ ) ) . DIRECTORY_SEPARATOR .'lang' );
|
65 |
+
|
66 |
+
}
|
67 |
+
// end of ure_load_translation()
|
68 |
|
69 |
|
70 |
function ure_optionsPage() {
|
201 |
|
202 |
function ure_init() {
|
203 |
|
204 |
+
global $current_user;
|
205 |
+
|
206 |
if (!empty($current_user->ID)) {
|
207 |
$user_id = $current_user->ID;
|
208 |
} else {
|
356 |
if (is_admin()) {
|
357 |
// activation action
|
358 |
register_activation_hook(__FILE__, "ure_install");
|
359 |
+
/* Add the translation function after the plugins loaded hook. */
|
360 |
+
add_action( 'plugins_loaded', 'ure_load_translation' );
|
361 |
+
add_action( 'admin_init', 'ure_init' );
|
362 |
// add a Settings link in the installed plugins page
|
363 |
+
add_filter( 'plugin_action_links', 'ure_plugin_action_links', 10, 2 );
|
364 |
+
add_filter( 'plugin_row_meta', 'ure_plugin_row_meta', 10, 2 );
|
365 |
+
add_action( 'admin_menu', 'ure_settings_menu' );
|
366 |
add_action( 'user_row_actions', 'ure_user_row', 10, 2 );
|
367 |
}
|
368 |
|