Version Description
- Include a !empty() check on menu $items
- Update donation link
Download this release
Release Info
Developer | helgatheviking |
Plugin | Nav Menu Roles |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- languages/nav-menu-roles-fa.po +216 -216
- languages/nav-menu-roles-it.po +216 -216
- nav-menu-roles.php +62 -55
- readme.txt +6 -2
languages/nav-menu-roles-fa.po
CHANGED
@@ -1,216 +1,216 @@
|
|
1 |
-
# Copyright (C) 2015 Nav Menu Roles
|
2 |
-
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
-
# Translators:
|
4 |
-
# Zahed Alfak <tamass4116@gmail.com>, 2015
|
5 |
-
msgid ""
|
6 |
-
msgstr ""
|
7 |
-
"Project-Id-Version: Nav Menu Roles\n"
|
8 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
9 |
-
"POT-Creation-Date: 2015-04-30 07:17:10+00:00\n"
|
10 |
-
"PO-Revision-Date: 2015-05-07 20:17+0000\n"
|
11 |
-
"Last-Translator: Zahed Alfak <tamass4116@gmail.com>\n"
|
12 |
-
"Language-Team: Persian (http://www.transifex.com/projects/p/nav-menu-roles/language/fa/)\n"
|
13 |
-
"MIME-Version: 1.0\n"
|
14 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
-
"Content-Transfer-Encoding: 8bit\n"
|
16 |
-
"Language: fa\n"
|
17 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
18 |
-
|
19 |
-
#: inc/class.Nav_Menu_Roles_Import.php:106
|
20 |
-
#: inc/class.Nav_Menu_Roles_Import.php:115
|
21 |
-
#: inc/class.Nav_Menu_Roles_Import.php:161
|
22 |
-
#: inc/class.Nav_Menu_Roles_Import.php:165
|
23 |
-
#: inc/class.Nav_Menu_Roles_Import.php:174
|
24 |
-
msgid "Sorry, there has been an error."
|
25 |
-
msgstr "با عرض پوزش، خطایی رخ داده است."
|
26 |
-
|
27 |
-
#: inc/class.Nav_Menu_Roles_Import.php:107
|
28 |
-
msgid "The file does not exist, please try again."
|
29 |
-
msgstr "فایل وجود ندارد، لطفا دوباره سعی کنید."
|
30 |
-
|
31 |
-
#: inc/class.Nav_Menu_Roles_Import.php:146
|
32 |
-
msgid "All done."
|
33 |
-
msgstr "تمام شد."
|
34 |
-
|
35 |
-
#: inc/class.Nav_Menu_Roles_Import.php:146
|
36 |
-
msgid "Have fun!"
|
37 |
-
msgstr "خوش بگذره!"
|
38 |
-
|
39 |
-
#: inc/class.Nav_Menu_Roles_Import.php:166
|
40 |
-
msgid ""
|
41 |
-
"The export file could not be found at <code>%s</code>. It is likely that "
|
42 |
-
"this was caused by a permissions problem."
|
43 |
-
msgstr "ر"
|
44 |
-
|
45 |
-
#: inc/class.Nav_Menu_Roles_Import.php:182
|
46 |
-
msgid ""
|
47 |
-
"This WXR file (version %s) may not be supported by this version of the "
|
48 |
-
"importer. Please consider updating."
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: inc/class.Nav_Menu_Roles_Import.php:250
|
52 |
-
msgid "Import Nav Menu Roles"
|
53 |
-
msgstr "نقش منوی واردات ناو"
|
54 |
-
|
55 |
-
#: inc/class.Nav_Menu_Roles_Import.php:257
|
56 |
-
msgid ""
|
57 |
-
"A new version of this importer is available. Please update to version %s to "
|
58 |
-
"ensure compatibility with newer export files."
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: inc/class.Nav_Menu_Roles_Import.php:272
|
62 |
-
msgid ""
|
63 |
-
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
64 |
-
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
65 |
-
"items."
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
#: inc/class.Nav_Menu_Roles_Import.php:273
|
69 |
-
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
70 |
-
msgstr ""
|
71 |
-
|
72 |
-
#. translators: %s: title of menu item which is invalid
|
73 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:87
|
74 |
-
msgid "%s (Invalid)"
|
75 |
-
msgstr "٪s (نامعتبر)"
|
76 |
-
|
77 |
-
#. translators: %s: title of menu item in draft status
|
78 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:91
|
79 |
-
msgid "%s (Pending)"
|
80 |
-
msgstr "٪s (در انتظار)"
|
81 |
-
|
82 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:104
|
83 |
-
msgid "sub item"
|
84 |
-
msgstr "زیرمنو"
|
85 |
-
|
86 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:119
|
87 |
-
msgid "Move up"
|
88 |
-
msgstr "حرکت به بالا"
|
89 |
-
|
90 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:132
|
91 |
-
msgid "Move down"
|
92 |
-
msgstr "حرکت به پایین"
|
93 |
-
|
94 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:134
|
95 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:136
|
96 |
-
msgid "Edit Menu Item"
|
97 |
-
msgstr "ویرایش آیتم های منو"
|
98 |
-
|
99 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:145
|
100 |
-
msgid "URL"
|
101 |
-
msgstr "آدرس"
|
102 |
-
|
103 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:152
|
104 |
-
msgid "Navigation Label"
|
105 |
-
msgstr "برچسب ناوبری"
|
106 |
-
|
107 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:158
|
108 |
-
msgid "Title Attribute"
|
109 |
-
msgstr "عنوان صفت"
|
110 |
-
|
111 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:165
|
112 |
-
msgid "Open link in a new window/tab"
|
113 |
-
msgstr "باز کردن پیوند در پنجره جدید / تب"
|
114 |
-
|
115 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:170
|
116 |
-
msgid "CSS Classes (optional)"
|
117 |
-
msgstr "کلاس های سی اس اس (اختیاری)"
|
118 |
-
|
119 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:176
|
120 |
-
msgid "Link Relationship (XFN)"
|
121 |
-
msgstr "رابطه لینک (XFN)"
|
122 |
-
|
123 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:182
|
124 |
-
msgid "Description"
|
125 |
-
msgstr "توضیحات"
|
126 |
-
|
127 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:184
|
128 |
-
msgid ""
|
129 |
-
"The description will be displayed in the menu if the current theme supports "
|
130 |
-
"it."
|
131 |
-
msgstr "توضیحات منو داده خواهد شد اگر تم مورد نظر را پشتیبانی کند ."
|
132 |
-
|
133 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:196
|
134 |
-
msgid "Move"
|
135 |
-
msgstr "انتقال"
|
136 |
-
|
137 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:197
|
138 |
-
msgid "Up one"
|
139 |
-
msgstr "بالا"
|
140 |
-
|
141 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:198
|
142 |
-
msgid "Down one"
|
143 |
-
msgstr "پایین"
|
144 |
-
|
145 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:201
|
146 |
-
msgid "To the top"
|
147 |
-
msgstr "به بالا"
|
148 |
-
|
149 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:208
|
150 |
-
msgid "Original: %s"
|
151 |
-
msgstr "اصلی :"
|
152 |
-
|
153 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:221
|
154 |
-
msgid "Remove"
|
155 |
-
msgstr "حذف"
|
156 |
-
|
157 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:222
|
158 |
-
msgid "Cancel"
|
159 |
-
msgstr "لغو"
|
160 |
-
|
161 |
-
#: nav-menu-roles.php:76 nav-menu-roles.php:85
|
162 |
-
msgid "Cheatin’ huh?"
|
163 |
-
msgstr ""
|
164 |
-
|
165 |
-
#. Plugin Name of the plugin/theme
|
166 |
-
msgid "Nav Menu Roles"
|
167 |
-
msgstr "قوانین منوی ناوبری"
|
168 |
-
|
169 |
-
#: nav-menu-roles.php:163
|
170 |
-
msgid ""
|
171 |
-
"Import %snav menu roles%s and other menu item meta skipped by the default "
|
172 |
-
"importer"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: nav-menu-roles.php:219
|
176 |
-
msgid ""
|
177 |
-
"Nav Menu Roles has detected a possible conflict with the following functions"
|
178 |
-
" or classes: %1$s. Please see the %2$sFAQ%3$s for more information and "
|
179 |
-
"possible resolution. | %4$sHide Notice%3$s"
|
180 |
-
msgstr ""
|
181 |
-
|
182 |
-
#: nav-menu-roles.php:316
|
183 |
-
msgid "Display Mode"
|
184 |
-
msgstr "حالت نمایش"
|
185 |
-
|
186 |
-
#: nav-menu-roles.php:324
|
187 |
-
msgid "Logged In Users"
|
188 |
-
msgstr "کاربران وارد شده"
|
189 |
-
|
190 |
-
#: nav-menu-roles.php:331
|
191 |
-
msgid "Logged Out Users"
|
192 |
-
msgstr "کاربران از سیستم خارج شده"
|
193 |
-
|
194 |
-
#: nav-menu-roles.php:338
|
195 |
-
msgid "Everyone"
|
196 |
-
msgstr "همه"
|
197 |
-
|
198 |
-
#: nav-menu-roles.php:345
|
199 |
-
msgid "Limit logged in users to specific roles"
|
200 |
-
msgstr "محدود کردن کاربر به قوانین خاص"
|
201 |
-
|
202 |
-
#. Plugin URI of the plugin/theme
|
203 |
-
msgid "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
204 |
-
msgstr "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
205 |
-
|
206 |
-
#. Description of the plugin/theme
|
207 |
-
msgid "Hide custom menu items based on user roles"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
-
#. Author of the plugin/theme
|
211 |
-
msgid "Kathy Darling"
|
212 |
-
msgstr "Kathy Darling"
|
213 |
-
|
214 |
-
#. Author URI of the plugin/theme
|
215 |
-
msgid "http://www.kathyisawesome.com"
|
216 |
-
msgstr "http://www.kathyisawesome.com"
|
1 |
+
# Copyright (C) 2015 Nav Menu Roles
|
2 |
+
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
+
# Translators:
|
4 |
+
# Zahed Alfak <tamass4116@gmail.com>, 2015
|
5 |
+
msgid ""
|
6 |
+
msgstr ""
|
7 |
+
"Project-Id-Version: Nav Menu Roles\n"
|
8 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
9 |
+
"POT-Creation-Date: 2015-04-30 07:17:10+00:00\n"
|
10 |
+
"PO-Revision-Date: 2015-05-07 20:17+0000\n"
|
11 |
+
"Last-Translator: Zahed Alfak <tamass4116@gmail.com>\n"
|
12 |
+
"Language-Team: Persian (http://www.transifex.com/projects/p/nav-menu-roles/language/fa/)\n"
|
13 |
+
"MIME-Version: 1.0\n"
|
14 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
+
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"Language: fa\n"
|
17 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18 |
+
|
19 |
+
#: inc/class.Nav_Menu_Roles_Import.php:106
|
20 |
+
#: inc/class.Nav_Menu_Roles_Import.php:115
|
21 |
+
#: inc/class.Nav_Menu_Roles_Import.php:161
|
22 |
+
#: inc/class.Nav_Menu_Roles_Import.php:165
|
23 |
+
#: inc/class.Nav_Menu_Roles_Import.php:174
|
24 |
+
msgid "Sorry, there has been an error."
|
25 |
+
msgstr "با عرض پوزش، خطایی رخ داده است."
|
26 |
+
|
27 |
+
#: inc/class.Nav_Menu_Roles_Import.php:107
|
28 |
+
msgid "The file does not exist, please try again."
|
29 |
+
msgstr "فایل وجود ندارد، لطفا دوباره سعی کنید."
|
30 |
+
|
31 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
32 |
+
msgid "All done."
|
33 |
+
msgstr "تمام شد."
|
34 |
+
|
35 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
36 |
+
msgid "Have fun!"
|
37 |
+
msgstr "خوش بگذره!"
|
38 |
+
|
39 |
+
#: inc/class.Nav_Menu_Roles_Import.php:166
|
40 |
+
msgid ""
|
41 |
+
"The export file could not be found at <code>%s</code>. It is likely that "
|
42 |
+
"this was caused by a permissions problem."
|
43 |
+
msgstr "ر"
|
44 |
+
|
45 |
+
#: inc/class.Nav_Menu_Roles_Import.php:182
|
46 |
+
msgid ""
|
47 |
+
"This WXR file (version %s) may not be supported by this version of the "
|
48 |
+
"importer. Please consider updating."
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: inc/class.Nav_Menu_Roles_Import.php:250
|
52 |
+
msgid "Import Nav Menu Roles"
|
53 |
+
msgstr "نقش منوی واردات ناو"
|
54 |
+
|
55 |
+
#: inc/class.Nav_Menu_Roles_Import.php:257
|
56 |
+
msgid ""
|
57 |
+
"A new version of this importer is available. Please update to version %s to "
|
58 |
+
"ensure compatibility with newer export files."
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: inc/class.Nav_Menu_Roles_Import.php:272
|
62 |
+
msgid ""
|
63 |
+
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
64 |
+
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
65 |
+
"items."
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: inc/class.Nav_Menu_Roles_Import.php:273
|
69 |
+
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#. translators: %s: title of menu item which is invalid
|
73 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:87
|
74 |
+
msgid "%s (Invalid)"
|
75 |
+
msgstr "٪s (نامعتبر)"
|
76 |
+
|
77 |
+
#. translators: %s: title of menu item in draft status
|
78 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:91
|
79 |
+
msgid "%s (Pending)"
|
80 |
+
msgstr "٪s (در انتظار)"
|
81 |
+
|
82 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:104
|
83 |
+
msgid "sub item"
|
84 |
+
msgstr "زیرمنو"
|
85 |
+
|
86 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:119
|
87 |
+
msgid "Move up"
|
88 |
+
msgstr "حرکت به بالا"
|
89 |
+
|
90 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:132
|
91 |
+
msgid "Move down"
|
92 |
+
msgstr "حرکت به پایین"
|
93 |
+
|
94 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:134
|
95 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:136
|
96 |
+
msgid "Edit Menu Item"
|
97 |
+
msgstr "ویرایش آیتم های منو"
|
98 |
+
|
99 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:145
|
100 |
+
msgid "URL"
|
101 |
+
msgstr "آدرس"
|
102 |
+
|
103 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:152
|
104 |
+
msgid "Navigation Label"
|
105 |
+
msgstr "برچسب ناوبری"
|
106 |
+
|
107 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:158
|
108 |
+
msgid "Title Attribute"
|
109 |
+
msgstr "عنوان صفت"
|
110 |
+
|
111 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:165
|
112 |
+
msgid "Open link in a new window/tab"
|
113 |
+
msgstr "باز کردن پیوند در پنجره جدید / تب"
|
114 |
+
|
115 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:170
|
116 |
+
msgid "CSS Classes (optional)"
|
117 |
+
msgstr "کلاس های سی اس اس (اختیاری)"
|
118 |
+
|
119 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:176
|
120 |
+
msgid "Link Relationship (XFN)"
|
121 |
+
msgstr "رابطه لینک (XFN)"
|
122 |
+
|
123 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:182
|
124 |
+
msgid "Description"
|
125 |
+
msgstr "توضیحات"
|
126 |
+
|
127 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:184
|
128 |
+
msgid ""
|
129 |
+
"The description will be displayed in the menu if the current theme supports "
|
130 |
+
"it."
|
131 |
+
msgstr "توضیحات منو داده خواهد شد اگر تم مورد نظر را پشتیبانی کند ."
|
132 |
+
|
133 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:196
|
134 |
+
msgid "Move"
|
135 |
+
msgstr "انتقال"
|
136 |
+
|
137 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:197
|
138 |
+
msgid "Up one"
|
139 |
+
msgstr "بالا"
|
140 |
+
|
141 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:198
|
142 |
+
msgid "Down one"
|
143 |
+
msgstr "پایین"
|
144 |
+
|
145 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:201
|
146 |
+
msgid "To the top"
|
147 |
+
msgstr "به بالا"
|
148 |
+
|
149 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:208
|
150 |
+
msgid "Original: %s"
|
151 |
+
msgstr "اصلی :"
|
152 |
+
|
153 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:221
|
154 |
+
msgid "Remove"
|
155 |
+
msgstr "حذف"
|
156 |
+
|
157 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:222
|
158 |
+
msgid "Cancel"
|
159 |
+
msgstr "لغو"
|
160 |
+
|
161 |
+
#: nav-menu-roles.php:76 nav-menu-roles.php:85
|
162 |
+
msgid "Cheatin’ huh?"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#. Plugin Name of the plugin/theme
|
166 |
+
msgid "Nav Menu Roles"
|
167 |
+
msgstr "قوانین منوی ناوبری"
|
168 |
+
|
169 |
+
#: nav-menu-roles.php:163
|
170 |
+
msgid ""
|
171 |
+
"Import %snav menu roles%s and other menu item meta skipped by the default "
|
172 |
+
"importer"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: nav-menu-roles.php:219
|
176 |
+
msgid ""
|
177 |
+
"Nav Menu Roles has detected a possible conflict with the following functions"
|
178 |
+
" or classes: %1$s. Please see the %2$sFAQ%3$s for more information and "
|
179 |
+
"possible resolution. | %4$sHide Notice%3$s"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: nav-menu-roles.php:316
|
183 |
+
msgid "Display Mode"
|
184 |
+
msgstr "حالت نمایش"
|
185 |
+
|
186 |
+
#: nav-menu-roles.php:324
|
187 |
+
msgid "Logged In Users"
|
188 |
+
msgstr "کاربران وارد شده"
|
189 |
+
|
190 |
+
#: nav-menu-roles.php:331
|
191 |
+
msgid "Logged Out Users"
|
192 |
+
msgstr "کاربران از سیستم خارج شده"
|
193 |
+
|
194 |
+
#: nav-menu-roles.php:338
|
195 |
+
msgid "Everyone"
|
196 |
+
msgstr "همه"
|
197 |
+
|
198 |
+
#: nav-menu-roles.php:345
|
199 |
+
msgid "Limit logged in users to specific roles"
|
200 |
+
msgstr "محدود کردن کاربر به قوانین خاص"
|
201 |
+
|
202 |
+
#. Plugin URI of the plugin/theme
|
203 |
+
msgid "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
204 |
+
msgstr "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
205 |
+
|
206 |
+
#. Description of the plugin/theme
|
207 |
+
msgid "Hide custom menu items based on user roles"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#. Author of the plugin/theme
|
211 |
+
msgid "Kathy Darling"
|
212 |
+
msgstr "Kathy Darling"
|
213 |
+
|
214 |
+
#. Author URI of the plugin/theme
|
215 |
+
msgid "http://www.kathyisawesome.com"
|
216 |
+
msgstr "http://www.kathyisawesome.com"
|
languages/nav-menu-roles-it.po
CHANGED
@@ -1,216 +1,216 @@
|
|
1 |
-
# Copyright (C) 2015 Nav Menu Roles
|
2 |
-
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
-
# Translators:
|
4 |
-
# Davide Pantè <d.pante@sododesign.it>, 2015
|
5 |
-
msgid ""
|
6 |
-
msgstr ""
|
7 |
-
"Project-Id-Version: Nav Menu Roles\n"
|
8 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
9 |
-
"POT-Creation-Date: 2015-07-31 01:01:52+00:00\n"
|
10 |
-
"PO-Revision-Date: 2015-08-01 01:01+0000\n"
|
11 |
-
"Last-Translator: Davide Pantè <d.pante@sododesign.it>\n"
|
12 |
-
"Language-Team: Italian (http://www.transifex.com/projects/p/nav-menu-roles/language/it/)\n"
|
13 |
-
"MIME-Version: 1.0\n"
|
14 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
-
"Content-Transfer-Encoding: 8bit\n"
|
16 |
-
"Language: it\n"
|
17 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
-
|
19 |
-
#: inc/class.Nav_Menu_Roles_Import.php:106
|
20 |
-
#: inc/class.Nav_Menu_Roles_Import.php:115
|
21 |
-
#: inc/class.Nav_Menu_Roles_Import.php:161
|
22 |
-
#: inc/class.Nav_Menu_Roles_Import.php:165
|
23 |
-
#: inc/class.Nav_Menu_Roles_Import.php:174
|
24 |
-
msgid "Sorry, there has been an error."
|
25 |
-
msgstr "Siamo spiacenti, si è verificato un errore."
|
26 |
-
|
27 |
-
#: inc/class.Nav_Menu_Roles_Import.php:107
|
28 |
-
msgid "The file does not exist, please try again."
|
29 |
-
msgstr "Il file non esiste, si prega di riprovare."
|
30 |
-
|
31 |
-
#: inc/class.Nav_Menu_Roles_Import.php:146
|
32 |
-
msgid "All done."
|
33 |
-
msgstr "Finito."
|
34 |
-
|
35 |
-
#: inc/class.Nav_Menu_Roles_Import.php:146
|
36 |
-
msgid "Have fun!"
|
37 |
-
msgstr "Divertirti!"
|
38 |
-
|
39 |
-
#: inc/class.Nav_Menu_Roles_Import.php:166
|
40 |
-
msgid ""
|
41 |
-
"The export file could not be found at <code>%s</code>. It is likely that "
|
42 |
-
"this was caused by a permissions problem."
|
43 |
-
msgstr "Il file di esportazione non è stato trovato in <code>%s</code>. E' probabile che questo è stato causato da un problema di autorizzazioni."
|
44 |
-
|
45 |
-
#: inc/class.Nav_Menu_Roles_Import.php:182
|
46 |
-
msgid ""
|
47 |
-
"This WXR file (version %s) may not be supported by this version of the "
|
48 |
-
"importer. Please consider updating."
|
49 |
-
msgstr "Questo file WXR (versione %s) potrebbe non essere supportato da questa versione dell'importatore. Si prega di prendere in considerazione l'aggiornamento."
|
50 |
-
|
51 |
-
#: inc/class.Nav_Menu_Roles_Import.php:250
|
52 |
-
msgid "Import Nav Menu Roles"
|
53 |
-
msgstr "Importa Nav Menu Roles"
|
54 |
-
|
55 |
-
#: inc/class.Nav_Menu_Roles_Import.php:257
|
56 |
-
msgid ""
|
57 |
-
"A new version of this importer is available. Please update to version %s to "
|
58 |
-
"ensure compatibility with newer export files."
|
59 |
-
msgstr "Una nuova versione di questo importatore è disponibile. Si prega di aggiornare alla versione %s per garantire la compatibilità con i file di esportazione più recenti."
|
60 |
-
|
61 |
-
#: inc/class.Nav_Menu_Roles_Import.php:272
|
62 |
-
msgid ""
|
63 |
-
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
64 |
-
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
65 |
-
"items."
|
66 |
-
msgstr "Ri-caricare il tuo file normale WordPress eXtended RSS (WXR) e noi’ll importiamo i ruoli del Nav Menu Roles e qualsiasi altro post meta mancante per le voci del Nav Menu."
|
67 |
-
|
68 |
-
#: inc/class.Nav_Menu_Roles_Import.php:273
|
69 |
-
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
70 |
-
msgstr "Scegliere un file WXR (.xml) per caricare, quindi fare clic su Carica file e importa."
|
71 |
-
|
72 |
-
#. translators: %s: title of menu item which is invalid
|
73 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:87
|
74 |
-
msgid "%s (Invalid)"
|
75 |
-
msgstr "%s (Non valido)"
|
76 |
-
|
77 |
-
#. translators: %s: title of menu item in draft status
|
78 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:91
|
79 |
-
msgid "%s (Pending)"
|
80 |
-
msgstr "%s (In attesa)"
|
81 |
-
|
82 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:104
|
83 |
-
msgid "sub item"
|
84 |
-
msgstr "elementi secondari"
|
85 |
-
|
86 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:119
|
87 |
-
msgid "Move up"
|
88 |
-
msgstr "Sposta su"
|
89 |
-
|
90 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:132
|
91 |
-
msgid "Move down"
|
92 |
-
msgstr "Sposta giù"
|
93 |
-
|
94 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:134
|
95 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:136
|
96 |
-
msgid "Edit Menu Item"
|
97 |
-
msgstr "Modifica Elemento Menu"
|
98 |
-
|
99 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:145
|
100 |
-
msgid "URL"
|
101 |
-
msgstr "URL"
|
102 |
-
|
103 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:152
|
104 |
-
msgid "Navigation Label"
|
105 |
-
msgstr "Etichetta Navigazione"
|
106 |
-
|
107 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:158
|
108 |
-
msgid "Title Attribute"
|
109 |
-
msgstr "Attributo Titolo"
|
110 |
-
|
111 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:165
|
112 |
-
msgid "Open link in a new window/tab"
|
113 |
-
msgstr "Apri link in una nuova scheda/finestra"
|
114 |
-
|
115 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:170
|
116 |
-
msgid "CSS Classes (optional)"
|
117 |
-
msgstr "Classe CSS (opzionale)"
|
118 |
-
|
119 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:176
|
120 |
-
msgid "Link Relationship (XFN)"
|
121 |
-
msgstr "Relazioni Link (XFN)"
|
122 |
-
|
123 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:182
|
124 |
-
msgid "Description"
|
125 |
-
msgstr "Descrizione"
|
126 |
-
|
127 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:184
|
128 |
-
msgid ""
|
129 |
-
"The description will be displayed in the menu if the current theme supports "
|
130 |
-
"it."
|
131 |
-
msgstr "La descrizione sarà visualizzata nel menu se il tema corrente la supporta."
|
132 |
-
|
133 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:196
|
134 |
-
msgid "Move"
|
135 |
-
msgstr "Muovi"
|
136 |
-
|
137 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:197
|
138 |
-
msgid "Up one"
|
139 |
-
msgstr "Su di uno"
|
140 |
-
|
141 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:198
|
142 |
-
msgid "Down one"
|
143 |
-
msgstr "Giù di uno"
|
144 |
-
|
145 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:201
|
146 |
-
msgid "To the top"
|
147 |
-
msgstr "Verso l'alto"
|
148 |
-
|
149 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:208
|
150 |
-
msgid "Original: %s"
|
151 |
-
msgstr "Originale: %s"
|
152 |
-
|
153 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:221
|
154 |
-
msgid "Remove"
|
155 |
-
msgstr "Rimuovi"
|
156 |
-
|
157 |
-
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:222
|
158 |
-
msgid "Cancel"
|
159 |
-
msgstr "Cancella"
|
160 |
-
|
161 |
-
#: nav-menu-roles.php:82 nav-menu-roles.php:91
|
162 |
-
msgid "Cheatin’ huh?"
|
163 |
-
msgstr "Cheatin’ huh?"
|
164 |
-
|
165 |
-
#. Plugin Name of the plugin/theme
|
166 |
-
msgid "Nav Menu Roles"
|
167 |
-
msgstr "Nav Menu Roles"
|
168 |
-
|
169 |
-
#: nav-menu-roles.php:169
|
170 |
-
msgid ""
|
171 |
-
"Import %snav menu roles%s and other menu item meta skipped by the default "
|
172 |
-
"importer"
|
173 |
-
msgstr "Importa %sNav Menu Roles%s e altra voce di menu meta ignorato dall'importatore di default"
|
174 |
-
|
175 |
-
#: nav-menu-roles.php:225
|
176 |
-
msgid ""
|
177 |
-
"Nav Menu Roles has detected a possible conflict with the following functions"
|
178 |
-
" or classes: %1$s. Please see the %2$sFAQ%3$s for more information and "
|
179 |
-
"possible resolution. | %4$sHide Notice%3$s"
|
180 |
-
msgstr "Nav Menu Roles ha rilevato un possibile conflitto con le seguenti funzioni o classi: %1$s. Si prega di consultare le %2$sFAQ%3$s Per ulteriori informazioni e possibili risoluzioni. | %4$sNascondi Notizia%3$s"
|
181 |
-
|
182 |
-
#: nav-menu-roles.php:322
|
183 |
-
msgid "Display Mode"
|
184 |
-
msgstr "Modalità Display"
|
185 |
-
|
186 |
-
#: nav-menu-roles.php:330
|
187 |
-
msgid "Logged In Users"
|
188 |
-
msgstr "Utenti connessi"
|
189 |
-
|
190 |
-
#: nav-menu-roles.php:337
|
191 |
-
msgid "Logged Out Users"
|
192 |
-
msgstr "Utenti disconnessi"
|
193 |
-
|
194 |
-
#: nav-menu-roles.php:344
|
195 |
-
msgid "Everyone"
|
196 |
-
msgstr "Tutti"
|
197 |
-
|
198 |
-
#: nav-menu-roles.php:351
|
199 |
-
msgid "Limit logged in users to specific roles"
|
200 |
-
msgstr "Limite a utenti registrato con ruoli specifici"
|
201 |
-
|
202 |
-
#. Plugin URI of the plugin/theme
|
203 |
-
msgid "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
204 |
-
msgstr "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
205 |
-
|
206 |
-
#. Description of the plugin/theme
|
207 |
-
msgid "Hide custom menu items based on user roles"
|
208 |
-
msgstr "Nascondi le voci di menu personalizzati basati su ruoli utente"
|
209 |
-
|
210 |
-
#. Author of the plugin/theme
|
211 |
-
msgid "Kathy Darling"
|
212 |
-
msgstr "Kathy Darling"
|
213 |
-
|
214 |
-
#. Author URI of the plugin/theme
|
215 |
-
msgid "http://www.kathyisawesome.com"
|
216 |
-
msgstr "http://www.kathyisawesome.com"
|
1 |
+
# Copyright (C) 2015 Nav Menu Roles
|
2 |
+
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
+
# Translators:
|
4 |
+
# Davide Pantè <d.pante@sododesign.it>, 2015
|
5 |
+
msgid ""
|
6 |
+
msgstr ""
|
7 |
+
"Project-Id-Version: Nav Menu Roles\n"
|
8 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
9 |
+
"POT-Creation-Date: 2015-07-31 01:01:52+00:00\n"
|
10 |
+
"PO-Revision-Date: 2015-08-01 01:01+0000\n"
|
11 |
+
"Last-Translator: Davide Pantè <d.pante@sododesign.it>\n"
|
12 |
+
"Language-Team: Italian (http://www.transifex.com/projects/p/nav-menu-roles/language/it/)\n"
|
13 |
+
"MIME-Version: 1.0\n"
|
14 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
+
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"Language: it\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
|
19 |
+
#: inc/class.Nav_Menu_Roles_Import.php:106
|
20 |
+
#: inc/class.Nav_Menu_Roles_Import.php:115
|
21 |
+
#: inc/class.Nav_Menu_Roles_Import.php:161
|
22 |
+
#: inc/class.Nav_Menu_Roles_Import.php:165
|
23 |
+
#: inc/class.Nav_Menu_Roles_Import.php:174
|
24 |
+
msgid "Sorry, there has been an error."
|
25 |
+
msgstr "Siamo spiacenti, si è verificato un errore."
|
26 |
+
|
27 |
+
#: inc/class.Nav_Menu_Roles_Import.php:107
|
28 |
+
msgid "The file does not exist, please try again."
|
29 |
+
msgstr "Il file non esiste, si prega di riprovare."
|
30 |
+
|
31 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
32 |
+
msgid "All done."
|
33 |
+
msgstr "Finito."
|
34 |
+
|
35 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
36 |
+
msgid "Have fun!"
|
37 |
+
msgstr "Divertirti!"
|
38 |
+
|
39 |
+
#: inc/class.Nav_Menu_Roles_Import.php:166
|
40 |
+
msgid ""
|
41 |
+
"The export file could not be found at <code>%s</code>. It is likely that "
|
42 |
+
"this was caused by a permissions problem."
|
43 |
+
msgstr "Il file di esportazione non è stato trovato in <code>%s</code>. E' probabile che questo è stato causato da un problema di autorizzazioni."
|
44 |
+
|
45 |
+
#: inc/class.Nav_Menu_Roles_Import.php:182
|
46 |
+
msgid ""
|
47 |
+
"This WXR file (version %s) may not be supported by this version of the "
|
48 |
+
"importer. Please consider updating."
|
49 |
+
msgstr "Questo file WXR (versione %s) potrebbe non essere supportato da questa versione dell'importatore. Si prega di prendere in considerazione l'aggiornamento."
|
50 |
+
|
51 |
+
#: inc/class.Nav_Menu_Roles_Import.php:250
|
52 |
+
msgid "Import Nav Menu Roles"
|
53 |
+
msgstr "Importa Nav Menu Roles"
|
54 |
+
|
55 |
+
#: inc/class.Nav_Menu_Roles_Import.php:257
|
56 |
+
msgid ""
|
57 |
+
"A new version of this importer is available. Please update to version %s to "
|
58 |
+
"ensure compatibility with newer export files."
|
59 |
+
msgstr "Una nuova versione di questo importatore è disponibile. Si prega di aggiornare alla versione %s per garantire la compatibilità con i file di esportazione più recenti."
|
60 |
+
|
61 |
+
#: inc/class.Nav_Menu_Roles_Import.php:272
|
62 |
+
msgid ""
|
63 |
+
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
64 |
+
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
65 |
+
"items."
|
66 |
+
msgstr "Ri-caricare il tuo file normale WordPress eXtended RSS (WXR) e noi’ll importiamo i ruoli del Nav Menu Roles e qualsiasi altro post meta mancante per le voci del Nav Menu."
|
67 |
+
|
68 |
+
#: inc/class.Nav_Menu_Roles_Import.php:273
|
69 |
+
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
70 |
+
msgstr "Scegliere un file WXR (.xml) per caricare, quindi fare clic su Carica file e importa."
|
71 |
+
|
72 |
+
#. translators: %s: title of menu item which is invalid
|
73 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:87
|
74 |
+
msgid "%s (Invalid)"
|
75 |
+
msgstr "%s (Non valido)"
|
76 |
+
|
77 |
+
#. translators: %s: title of menu item in draft status
|
78 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:91
|
79 |
+
msgid "%s (Pending)"
|
80 |
+
msgstr "%s (In attesa)"
|
81 |
+
|
82 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:104
|
83 |
+
msgid "sub item"
|
84 |
+
msgstr "elementi secondari"
|
85 |
+
|
86 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:119
|
87 |
+
msgid "Move up"
|
88 |
+
msgstr "Sposta su"
|
89 |
+
|
90 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:132
|
91 |
+
msgid "Move down"
|
92 |
+
msgstr "Sposta giù"
|
93 |
+
|
94 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:134
|
95 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:136
|
96 |
+
msgid "Edit Menu Item"
|
97 |
+
msgstr "Modifica Elemento Menu"
|
98 |
+
|
99 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:145
|
100 |
+
msgid "URL"
|
101 |
+
msgstr "URL"
|
102 |
+
|
103 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:152
|
104 |
+
msgid "Navigation Label"
|
105 |
+
msgstr "Etichetta Navigazione"
|
106 |
+
|
107 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:158
|
108 |
+
msgid "Title Attribute"
|
109 |
+
msgstr "Attributo Titolo"
|
110 |
+
|
111 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:165
|
112 |
+
msgid "Open link in a new window/tab"
|
113 |
+
msgstr "Apri link in una nuova scheda/finestra"
|
114 |
+
|
115 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:170
|
116 |
+
msgid "CSS Classes (optional)"
|
117 |
+
msgstr "Classe CSS (opzionale)"
|
118 |
+
|
119 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:176
|
120 |
+
msgid "Link Relationship (XFN)"
|
121 |
+
msgstr "Relazioni Link (XFN)"
|
122 |
+
|
123 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:182
|
124 |
+
msgid "Description"
|
125 |
+
msgstr "Descrizione"
|
126 |
+
|
127 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:184
|
128 |
+
msgid ""
|
129 |
+
"The description will be displayed in the menu if the current theme supports "
|
130 |
+
"it."
|
131 |
+
msgstr "La descrizione sarà visualizzata nel menu se il tema corrente la supporta."
|
132 |
+
|
133 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:196
|
134 |
+
msgid "Move"
|
135 |
+
msgstr "Muovi"
|
136 |
+
|
137 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:197
|
138 |
+
msgid "Up one"
|
139 |
+
msgstr "Su di uno"
|
140 |
+
|
141 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:198
|
142 |
+
msgid "Down one"
|
143 |
+
msgstr "Giù di uno"
|
144 |
+
|
145 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:201
|
146 |
+
msgid "To the top"
|
147 |
+
msgstr "Verso l'alto"
|
148 |
+
|
149 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:208
|
150 |
+
msgid "Original: %s"
|
151 |
+
msgstr "Originale: %s"
|
152 |
+
|
153 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:221
|
154 |
+
msgid "Remove"
|
155 |
+
msgstr "Rimuovi"
|
156 |
+
|
157 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:222
|
158 |
+
msgid "Cancel"
|
159 |
+
msgstr "Cancella"
|
160 |
+
|
161 |
+
#: nav-menu-roles.php:82 nav-menu-roles.php:91
|
162 |
+
msgid "Cheatin’ huh?"
|
163 |
+
msgstr "Cheatin’ huh?"
|
164 |
+
|
165 |
+
#. Plugin Name of the plugin/theme
|
166 |
+
msgid "Nav Menu Roles"
|
167 |
+
msgstr "Nav Menu Roles"
|
168 |
+
|
169 |
+
#: nav-menu-roles.php:169
|
170 |
+
msgid ""
|
171 |
+
"Import %snav menu roles%s and other menu item meta skipped by the default "
|
172 |
+
"importer"
|
173 |
+
msgstr "Importa %sNav Menu Roles%s e altra voce di menu meta ignorato dall'importatore di default"
|
174 |
+
|
175 |
+
#: nav-menu-roles.php:225
|
176 |
+
msgid ""
|
177 |
+
"Nav Menu Roles has detected a possible conflict with the following functions"
|
178 |
+
" or classes: %1$s. Please see the %2$sFAQ%3$s for more information and "
|
179 |
+
"possible resolution. | %4$sHide Notice%3$s"
|
180 |
+
msgstr "Nav Menu Roles ha rilevato un possibile conflitto con le seguenti funzioni o classi: %1$s. Si prega di consultare le %2$sFAQ%3$s Per ulteriori informazioni e possibili risoluzioni. | %4$sNascondi Notizia%3$s"
|
181 |
+
|
182 |
+
#: nav-menu-roles.php:322
|
183 |
+
msgid "Display Mode"
|
184 |
+
msgstr "Modalità Display"
|
185 |
+
|
186 |
+
#: nav-menu-roles.php:330
|
187 |
+
msgid "Logged In Users"
|
188 |
+
msgstr "Utenti connessi"
|
189 |
+
|
190 |
+
#: nav-menu-roles.php:337
|
191 |
+
msgid "Logged Out Users"
|
192 |
+
msgstr "Utenti disconnessi"
|
193 |
+
|
194 |
+
#: nav-menu-roles.php:344
|
195 |
+
msgid "Everyone"
|
196 |
+
msgstr "Tutti"
|
197 |
+
|
198 |
+
#: nav-menu-roles.php:351
|
199 |
+
msgid "Limit logged in users to specific roles"
|
200 |
+
msgstr "Limite a utenti registrato con ruoli specifici"
|
201 |
+
|
202 |
+
#. Plugin URI of the plugin/theme
|
203 |
+
msgid "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
204 |
+
msgstr "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
205 |
+
|
206 |
+
#. Description of the plugin/theme
|
207 |
+
msgid "Hide custom menu items based on user roles"
|
208 |
+
msgstr "Nascondi le voci di menu personalizzati basati su ruoli utente"
|
209 |
+
|
210 |
+
#. Author of the plugin/theme
|
211 |
+
msgid "Kathy Darling"
|
212 |
+
msgstr "Kathy Darling"
|
213 |
+
|
214 |
+
#. Author URI of the plugin/theme
|
215 |
+
msgid "http://www.kathyisawesome.com"
|
216 |
+
msgstr "http://www.kathyisawesome.com"
|
nav-menu-roles.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
Plugin Name: Nav Menu Roles
|
4 |
Plugin URI: http://www.kathyisawesome.com/449/nav-menu-roles/
|
5 |
Description: Hide custom menu items based on user roles.
|
6 |
-
Version: 1.9.
|
7 |
Author: Kathy Darling
|
8 |
Author URI: http://www.kathyisawesome.com
|
9 |
License: GPL-3.0
|
10 |
Text Domain: nav-menu-roles
|
11 |
|
12 |
-
Copyright
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -46,15 +46,15 @@ class Nav_Menu_Roles {
|
|
46 |
|
47 |
/**
|
48 |
* @constant string donate url
|
49 |
-
* @since 1.
|
50 |
*/
|
51 |
-
CONST DONATE_URL = "https://
|
52 |
|
53 |
/**
|
54 |
* @constant string version number
|
55 |
* @since 1.7.0
|
56 |
*/
|
57 |
-
CONST VERSION = '1.9.
|
58 |
|
59 |
/**
|
60 |
* Main Nav Menu Roles Instance
|
@@ -212,6 +212,8 @@ class Nav_Menu_Roles {
|
|
212 |
|
213 |
/**
|
214 |
* Add docu link
|
|
|
|
|
215 |
* @since 1.7.3
|
216 |
*/
|
217 |
public function add_action_links( $plugin_meta, $plugin_file ) {
|
@@ -439,65 +441,70 @@ class Nav_Menu_Roles {
|
|
439 |
|
440 |
$hide_children_of = array();
|
441 |
|
442 |
-
|
443 |
-
foreach ( $items as $key => $item ) {
|
444 |
|
445 |
-
|
|
|
446 |
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
|
|
|
|
452 |
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
|
|
|
|
486 |
}
|
487 |
-
}
|
488 |
|
489 |
-
|
|
|
|
|
490 |
}
|
491 |
|
492 |
-
|
|
|
493 |
|
494 |
-
|
495 |
-
|
|
|
|
|
|
|
496 |
|
497 |
-
// unset non-visible item
|
498 |
-
if ( ! $visible ) {
|
499 |
-
$hide_children_of[] = $item->ID; // store ID of item
|
500 |
-
unset( $items[$key] ) ;
|
501 |
}
|
502 |
|
503 |
}
|
3 |
Plugin Name: Nav Menu Roles
|
4 |
Plugin URI: http://www.kathyisawesome.com/449/nav-menu-roles/
|
5 |
Description: Hide custom menu items based on user roles.
|
6 |
+
Version: 1.9.2
|
7 |
Author: Kathy Darling
|
8 |
Author URI: http://www.kathyisawesome.com
|
9 |
License: GPL-3.0
|
10 |
Text Domain: nav-menu-roles
|
11 |
|
12 |
+
Copyright 2017 Kathy Darling(email: kathy@kathyisawesome.com)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
46 |
|
47 |
/**
|
48 |
* @constant string donate url
|
49 |
+
* @since 1.9.1
|
50 |
*/
|
51 |
+
CONST DONATE_URL = "https://www.youcaring.com/wnt-residency";
|
52 |
|
53 |
/**
|
54 |
* @constant string version number
|
55 |
* @since 1.7.0
|
56 |
*/
|
57 |
+
CONST VERSION = '1.9.2';
|
58 |
|
59 |
/**
|
60 |
* Main Nav Menu Roles Instance
|
212 |
|
213 |
/**
|
214 |
* Add docu link
|
215 |
+
* @param array $plugin_meta
|
216 |
+
* @param string $plugin_file
|
217 |
* @since 1.7.3
|
218 |
*/
|
219 |
public function add_action_links( $plugin_meta, $plugin_file ) {
|
441 |
|
442 |
$hide_children_of = array();
|
443 |
|
444 |
+
if( ! empty( $items ) ) {
|
|
|
445 |
|
446 |
+
// Iterate over the items to search and destroy
|
447 |
+
foreach ( $items as $key => $item ) {
|
448 |
|
449 |
+
$visible = true;
|
450 |
+
|
451 |
+
// hide any item that is the child of a hidden item
|
452 |
+
if( in_array( $item->menu_item_parent, $hide_children_of ) ){
|
453 |
+
$visible = false;
|
454 |
+
$hide_children_of[] = $item->ID; // for nested menus
|
455 |
+
}
|
456 |
|
457 |
+
// check any item that has NMR roles set
|
458 |
+
if( $visible && isset( $item->roles ) ) {
|
459 |
+
|
460 |
+
// check all logged in, all logged out, or role
|
461 |
+
switch( $item->roles ) {
|
462 |
+
case 'in' :
|
463 |
+
/**
|
464 |
+
* Multisite compatibility.
|
465 |
+
*
|
466 |
+
* For the logged in condition to work,
|
467 |
+
* the user has to be a logged in member of the current blog
|
468 |
+
* or be a logged in super user.
|
469 |
+
*/
|
470 |
+
$visible = is_user_member_of_blog() || is_super_admin() ? true : false;
|
471 |
+
break;
|
472 |
+
case 'out' :
|
473 |
+
/**
|
474 |
+
* Multisite compatibility.
|
475 |
+
*
|
476 |
+
* For the logged out condition to work,
|
477 |
+
* the user has to be either logged out
|
478 |
+
* or not be a member of the current blog.
|
479 |
+
* But they also may not be a super admin,
|
480 |
+
* because logged in super admins should see the internal stuff, not the external.
|
481 |
+
*/
|
482 |
+
$visible = ! is_user_member_of_blog() && ! is_super_admin() ? true : false;
|
483 |
+
break;
|
484 |
+
default:
|
485 |
+
$visible = false;
|
486 |
+
if ( is_array( $item->roles ) && ! empty( $item->roles ) ) {
|
487 |
+
foreach ( $item->roles as $role ) {
|
488 |
+
if ( current_user_can( $role ) ) {
|
489 |
+
$visible = true;
|
490 |
+
}
|
491 |
+
}
|
492 |
}
|
|
|
493 |
|
494 |
+
break;
|
495 |
+
}
|
496 |
+
|
497 |
}
|
498 |
|
499 |
+
// add filter to work with plugins that don't use traditional roles
|
500 |
+
$visible = apply_filters( 'nav_menu_roles_item_visibility', $visible, $item );
|
501 |
|
502 |
+
// unset non-visible item
|
503 |
+
if ( ! $visible ) {
|
504 |
+
$hide_children_of[] = $item->ID; // store ID of item
|
505 |
+
unset( $items[$key] ) ;
|
506 |
+
}
|
507 |
|
|
|
|
|
|
|
|
|
508 |
}
|
509 |
|
510 |
}
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Nav Menu Roles ===
|
2 |
|
3 |
Contributors: helgatheviking
|
4 |
-
Donate link: https://www.
|
5 |
Tags: menu, menus, nav menu, nav menus
|
6 |
Requires at least: 4.5.0
|
7 |
Tested up to: 4.8.3
|
8 |
-
Stable tag: 1.9.
|
9 |
License: GPLv3
|
10 |
|
11 |
Hide custom menu items based on user roles. PLEASE READ THE FAQ IF YOU ARE NOT SEEING THE SETTINGS.
|
@@ -208,6 +208,10 @@ Yes, but manually. WPML developers have informed me that the meta data for nav m
|
|
208 |
|
209 |
== Changelog ==
|
210 |
|
|
|
|
|
|
|
|
|
211 |
= 1.9.1 =
|
212 |
* Update donation link
|
213 |
* Update required and tested against versions
|
1 |
=== Nav Menu Roles ===
|
2 |
|
3 |
Contributors: helgatheviking
|
4 |
+
Donate link: https://www.youcaring.com/wnt-residency
|
5 |
Tags: menu, menus, nav menu, nav menus
|
6 |
Requires at least: 4.5.0
|
7 |
Tested up to: 4.8.3
|
8 |
+
Stable tag: 1.9.2
|
9 |
License: GPLv3
|
10 |
|
11 |
Hide custom menu items based on user roles. PLEASE READ THE FAQ IF YOU ARE NOT SEEING THE SETTINGS.
|
208 |
|
209 |
== Changelog ==
|
210 |
|
211 |
+
= 1.9.2 =
|
212 |
+
* Include a !empty() check on menu $items
|
213 |
+
* Update donation link
|
214 |
+
|
215 |
= 1.9.1 =
|
216 |
* Update donation link
|
217 |
* Update required and tested against versions
|