Version Description
- Added a warning when trying to upload the same font file format in one upload.
- Fixed PHP 5.3 not supported.
Download this release
Release Info
Developer | hivewebstudios |
Plugin | Font Organizer |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- font-organizer.php +6 -5
- languages/font-organizer-he_IL.mo +0 -0
- languages/font-organizer-he_IL.po +87 -79
- languages/font-organizer.pot +84 -78
- readme.txt +5 -1
- settings.php +42 -2
font-organizer.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Font_Organizer
|
4 |
-
* @version 1.3.
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Font Organizer
|
8 |
Plugin URI: https://wordpress.org/plugins/font-organizer/
|
9 |
Description: Font Organizer is the complete solution for font implementation in WordPress websites.
|
10 |
Author: Hive
|
11 |
-
Version: 1.3.
|
12 |
Author URI: https://hivewebstudios.com
|
13 |
Text Domain: font-organizer
|
14 |
*/
|
@@ -21,13 +21,14 @@ define( 'FO_DEFAULT_ROLE', 'administrator' );
|
|
21 |
require_once FO_ABSPATH . 'helpers.php';
|
22 |
|
23 |
global $fo_db_version;
|
24 |
-
$fo_db_version = '1.3.
|
25 |
|
|
|
26 |
global $fo_css_directory_path;
|
27 |
-
$fo_css_directory_path =
|
28 |
|
29 |
global $fo_css_base_url_path;
|
30 |
-
$fo_css_base_url_path =
|
31 |
|
32 |
// Fix ssl for base url.
|
33 |
$fo_css_base_url_path = fo_get_all_http_url( $fo_css_base_url_path );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Font_Organizer
|
4 |
+
* @version 1.3.1
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Font Organizer
|
8 |
Plugin URI: https://wordpress.org/plugins/font-organizer/
|
9 |
Description: Font Organizer is the complete solution for font implementation in WordPress websites.
|
10 |
Author: Hive
|
11 |
+
Version: 1.3.1
|
12 |
Author URI: https://hivewebstudios.com
|
13 |
Text Domain: font-organizer
|
14 |
*/
|
21 |
require_once FO_ABSPATH . 'helpers.php';
|
22 |
|
23 |
global $fo_db_version;
|
24 |
+
$fo_db_version = '1.3.1';
|
25 |
|
26 |
+
$upload_dir = wp_upload_dir(); // Must create a temp variable for PHP 5.3.
|
27 |
global $fo_css_directory_path;
|
28 |
+
$fo_css_directory_path = $upload_dir['basedir'] . '/font-organizer';
|
29 |
|
30 |
global $fo_css_base_url_path;
|
31 |
+
$fo_css_base_url_path = $upload_dir['baseurl'] . '/font-organizer';
|
32 |
|
33 |
// Fix ssl for base url.
|
34 |
$fo_css_base_url_path = fo_get_all_http_url( $fo_css_base_url_path );
|
languages/font-organizer-he_IL.mo
CHANGED
Binary file
|
languages/font-organizer-he_IL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Font Organizer\n"
|
4 |
-
"POT-Creation-Date: 2016-12-
|
5 |
-
"PO-Revision-Date: 2016-12-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: he_IL\n"
|
@@ -28,15 +28,15 @@ msgstr "מזהה"
|
|
28 |
msgid "Custom Elements"
|
29 |
msgstr "אלמנט מותאם אישית"
|
30 |
|
31 |
-
#: classes/class-ElementsTable.php:86 settings.php:
|
32 |
msgid "Important"
|
33 |
msgstr "חשוב"
|
34 |
|
35 |
-
#: classes/class-ElementsTable.php:97 settings.php:
|
36 |
msgid "Yes"
|
37 |
msgstr "כן"
|
38 |
|
39 |
-
#: classes/class-ElementsTable.php:97 settings.php:
|
40 |
msgid "No"
|
41 |
msgstr "לא"
|
42 |
|
@@ -48,7 +48,7 @@ msgstr "מחק"
|
|
48 |
msgid "No custom elements found."
|
49 |
msgstr "לא נמצאו אלמנטים מותאמים אישית."
|
50 |
|
51 |
-
#: font-organizer.php:
|
52 |
msgid "Font Settings"
|
53 |
msgstr "הגדרות גופנים"
|
54 |
|
@@ -112,51 +112,51 @@ msgstr "גופן לתגית <li>"
|
|
112 |
msgid "<a> Font"
|
113 |
msgstr "גופן לתגית <a>"
|
114 |
|
115 |
-
#: settings.php:
|
116 |
msgid "Google API key is not valid: "
|
117 |
msgstr "המפתח של גוגל אינה חוקי:"
|
118 |
|
119 |
-
#: settings.php:
|
120 |
msgid "Google API key is not set! Cannot display google fonts."
|
121 |
msgstr "המפתח של גוגל אינו מוגדר! אין אפשרות להציג גופנים של גוגל."
|
122 |
|
123 |
-
#: settings.php:
|
124 |
msgid "General Settings"
|
125 |
msgstr "הגדרות כלליות"
|
126 |
|
127 |
-
#: settings.php:
|
128 |
msgid "1. Add Fonts"
|
129 |
msgstr "1. הוספת גופנים"
|
130 |
|
131 |
-
#: settings.php:
|
132 |
msgid ""
|
133 |
"Step 1: Select and add fonts to be used in your website. Select as many as "
|
134 |
"you wish."
|
135 |
msgstr "שלב 1: בחר והוסף גופנים לאתר האינטרנט שלך. ניתן לבחר כמה שתרצה."
|
136 |
|
137 |
-
#: settings.php:
|
138 |
msgid "You can select google or regular fonts."
|
139 |
msgstr "באפשרותך לבחור בגופנים של גוגל או גופנים מוכרים."
|
140 |
|
141 |
-
#: settings.php:
|
142 |
msgid "Available Fonts"
|
143 |
msgstr "גופנים זמינים"
|
144 |
|
145 |
-
#: settings.php:
|
146 |
msgid "Use This Font"
|
147 |
msgstr "השתמש בגופן זה"
|
148 |
|
149 |
-
#: settings.php:
|
150 |
msgid "2. Custom Fonts"
|
151 |
msgstr "2. גופנים מיובאים"
|
152 |
|
153 |
-
#: settings.php:
|
154 |
msgid ""
|
155 |
"Step 2: Upload custom fonts to be used in your website. Here too, you can "
|
156 |
"upload as many as you wish."
|
157 |
msgstr "שלב 2: כאן ניתן לעלות גופנים לאתר שלך. גם כאן, ניתן להעלות כמה שתרצה."
|
158 |
|
159 |
-
#: settings.php:
|
160 |
msgid ""
|
161 |
"Name the font you want to upload and upload all the files formats for this "
|
162 |
"font. In order to support more browsers you can click the green plus to "
|
@@ -166,48 +166,56 @@ msgstr ""
|
|
166 |
"ביותר דפדפנים ביכולתך ללחוץ על הפלוס הירוק להעלות עוד סוגי פורמטים. אנו "
|
167 |
"מציעים woff. ו- woff2.."
|
168 |
|
169 |
-
#: settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
msgid "Font Weight Name"
|
171 |
msgstr "שם משקל גופן"
|
172 |
|
173 |
-
#: settings.php:
|
174 |
msgid "Font weight name cannot be empty."
|
175 |
msgstr "שם משקל הגופן אינו יכול להיות ריק."
|
176 |
|
177 |
-
#: settings.php:
|
178 |
msgid "Font Weight File"
|
179 |
msgstr "קובץ משקל גופן"
|
180 |
|
181 |
-
#: settings.php:
|
182 |
msgid "Accepted Font Format : "
|
183 |
msgstr "פורמט גופן נתמך:"
|
184 |
|
185 |
-
#: settings.php:
|
186 |
msgid "Add Another Font Format File"
|
187 |
msgstr "הוסף עוד קובץ פורמט גופן"
|
188 |
|
189 |
-
#: settings.php:
|
190 |
msgid "Upload"
|
191 |
msgstr "העלה"
|
192 |
|
193 |
-
#: settings.php:
|
194 |
msgid "3. Known Elements Settings"
|
195 |
msgstr "3. הגדרות אלמנטים הידועים"
|
196 |
|
197 |
-
#: settings.php:
|
198 |
msgid ""
|
199 |
"Step 3: For each element you can assign a font you have added in step 1 & 2."
|
200 |
msgstr "שלב 3: עבור כל אלמנט ניתן להקצות גופן שהוספת בשלב 1 & 2."
|
201 |
|
202 |
-
#: settings.php:
|
203 |
msgid "Note: "
|
204 |
msgstr "הערה:"
|
205 |
|
206 |
-
#: settings.php:
|
207 |
msgid "Custom fonts you uploaded are automatically used in your website."
|
208 |
msgstr "גופנים מיובאים אוטומטית נוספים לאתר שלך."
|
209 |
|
210 |
-
#: settings.php:
|
211 |
msgid ""
|
212 |
"In case of font not displaying in your website after saving, try clear the "
|
213 |
"cache using Shift+F5 or Ctrl+Shift+Delete to clear all."
|
@@ -215,37 +223,37 @@ msgstr ""
|
|
215 |
"במקרה שגופן אינו מוצג באתר האינטרנט שלך לאחר שמירה, נסה לנקות את המטמון "
|
216 |
"באמצעות Shift + F5 או Ctrl+Shift+Delete כדי לנקות הכל."
|
217 |
|
218 |
-
#: settings.php:
|
219 |
msgid "4. Custom Elements Settings"
|
220 |
msgstr "4. הגדרות אלמנטים מותאמים אישית"
|
221 |
|
222 |
-
#: settings.php:
|
223 |
msgid ""
|
224 |
"Step 4: Assign font that you have added to your website to custom elements."
|
225 |
msgstr ""
|
226 |
"שלב 4: כאן ניתן לשייך גופן שהוספת לאתר האינטרנט שלך לאלמנטים מותאמים אישית."
|
227 |
|
228 |
-
#: settings.php:
|
229 |
msgid "Font"
|
230 |
msgstr "גופן"
|
231 |
|
232 |
-
#: settings.php:
|
233 |
msgid "-- Select Font --"
|
234 |
msgstr "-- בחירת גופן --"
|
235 |
|
236 |
-
#: settings.php:
|
237 |
msgid "You must select a font for the elements."
|
238 |
msgstr "עליך לבחור גופן עבור הרכיבים."
|
239 |
|
240 |
-
#: settings.php:
|
241 |
msgid "Custom Element"
|
242 |
msgstr "רכיב מותאם אישית"
|
243 |
|
244 |
-
#: settings.php:
|
245 |
msgid "Font custom elements cannot be empty."
|
246 |
msgstr "רכיב מותאם אישית אינו יכול להיות ריק."
|
247 |
|
248 |
-
#: settings.php:
|
249 |
msgid ""
|
250 |
"Custom elements can be seperated by commas to allow multiple elements. "
|
251 |
"Example: #myelementid, .myelementclass, .myelementclass .foo, etc."
|
@@ -253,15 +261,15 @@ msgstr ""
|
|
253 |
"רכיבים מותאמים אישית ניתן להפריד בפסיקים כדי לאפשר מספר אלמנטים. דוגמה: ."
|
254 |
"myelementclass, #myelementid, .myelementclass .foo, וכו '."
|
255 |
|
256 |
-
#: settings.php:
|
257 |
msgid "Apply Custom Elements"
|
258 |
msgstr "החל על אלמנטים אלה"
|
259 |
|
260 |
-
#: settings.php:
|
261 |
msgid "5. Manage Fonts"
|
262 |
msgstr "5. ניהול גופנים"
|
263 |
|
264 |
-
#: settings.php:
|
265 |
msgid ""
|
266 |
"Step 5: Select a font to manage, delete and view the source and custom "
|
267 |
"elements assigned to it."
|
@@ -269,7 +277,7 @@ msgstr ""
|
|
269 |
"שלב 5: בחר גופן כדי לנהל, למחוק ולהציג את המקור, וכל הרכיבים מותאמים אישית "
|
270 |
"המוקצים לו."
|
271 |
|
272 |
-
#: settings.php:
|
273 |
msgid ""
|
274 |
"You can edit the values of every row to change the custom elements assigned "
|
275 |
"or add and remove the important tag. Just change the text or check the box "
|
@@ -279,35 +287,35 @@ msgstr ""
|
|
279 |
"או להוסיף ולהסיר את התגית 'important!'. רק שנה את הטקסט או לחץ על התיבה "
|
280 |
"והשינויים ישמרו אוטומטית."
|
281 |
|
282 |
-
#: settings.php:
|
283 |
msgid "Changes saved!"
|
284 |
msgstr "השינויים נשמרו בהצלחה!"
|
285 |
|
286 |
-
#: settings.php:
|
287 |
msgid "Data is invalid"
|
288 |
msgstr "ערך לא תקין."
|
289 |
|
290 |
-
#: settings.php:
|
291 |
msgid "Delete Font"
|
292 |
msgstr "מחק גופן"
|
293 |
|
294 |
-
#: settings.php:
|
295 |
msgid "Are you sure you want to delete this font from your website?"
|
296 |
msgstr "האם אתה בטוח שברצונך למחוק גופן זה מהאתר שלך?"
|
297 |
|
298 |
-
#: settings.php:
|
299 |
msgid "Source"
|
300 |
msgstr "מקור"
|
301 |
|
302 |
-
#: settings.php:
|
303 |
msgid "Urls"
|
304 |
msgstr "כתובת"
|
305 |
|
306 |
-
#: settings.php:
|
307 |
msgid "Thank you"
|
308 |
msgstr "תודה לך!"
|
309 |
|
310 |
-
#: settings.php:
|
311 |
msgid ""
|
312 |
"Thank you for using an <a href=\"http://hivewebstudios.com\" target=\"_blank"
|
313 |
"\">Hive</a> plugin! We 5 star you already, so why don't you <a href="
|
@@ -319,107 +327,107 @@ msgstr ""
|
|
319 |
"\"https://wordpress.org/support/plugin/font-organizer/reviews/?rate=5#new-"
|
320 |
"post\" target=\"_blank\">תדרג אותנו 5 כוכבים גם</a>?"
|
321 |
|
322 |
-
#: settings.php:
|
323 |
msgid "Anyway, if you need anything, this may help:"
|
324 |
msgstr "בכל מקרה, אם את/ה צריכ/ה משהו, אולי זה יעזור:"
|
325 |
|
326 |
-
#: settings.php:
|
327 |
msgid "FAQ"
|
328 |
msgstr "שאלות נפוצות"
|
329 |
|
330 |
-
#: settings.php:
|
331 |
msgid "Support forums"
|
332 |
msgstr "פורום תמיכה"
|
333 |
|
334 |
-
#: settings.php:
|
335 |
msgid "Contact us"
|
336 |
msgstr "צרו קשר"
|
337 |
|
338 |
-
#: settings.php:
|
339 |
msgid "Like Our Facebook Page"
|
340 |
msgstr "תן לייק לעמוד הפייסבוק שלנו"
|
341 |
|
342 |
-
#: settings.php:
|
343 |
msgid "Session ended, please try again."
|
344 |
msgstr "הסתיים הטיפול, אנא נסה שנית."
|
345 |
|
346 |
-
#: settings.php:
|
347 |
msgid "Font name is empty or invalid."
|
348 |
msgstr "שם גופן הוא ריק או לא חוקי."
|
349 |
|
350 |
-
#: settings.php:
|
351 |
msgid "Font file is not selected."
|
352 |
msgstr "לא נבחר קובץ הגופן."
|
353 |
|
354 |
-
#: settings.php:
|
355 |
msgid "Font file(s) not selected."
|
356 |
msgstr "לא נבחרו קבצים לגופן."
|
357 |
|
358 |
-
#: settings.php:
|
359 |
msgid "Usable font is empty or invalid."
|
360 |
msgstr "גופן לשימוש הוא ריק או לא חוקי."
|
361 |
|
362 |
-
#: settings.php:
|
363 |
msgid "Custom elements is empty or invalid."
|
364 |
msgstr "אלמנטים מותאמים אישית ריק או לא חוקי."
|
365 |
|
366 |
-
#: settings.php:
|
367 |
msgid "Something went horribly wrong. Ask the support!"
|
368 |
msgstr "משהו השתבש בצורה נוראית. תשאל את התמיכה!"
|
369 |
|
370 |
-
#: settings.php:
|
371 |
msgid "Error adding custom elements: "
|
372 |
msgstr "שגיאה בעת הוספת אלמנטים מותאמים אישית:"
|
373 |
|
374 |
-
#: settings.php:
|
375 |
msgid "Custom elements added to your website!"
|
376 |
msgstr "אלמנטים מותאמים אישית התווספו לאתר שלך!"
|
377 |
|
378 |
-
#: settings.php:
|
379 |
msgid "Font can now be used in your website!"
|
380 |
msgstr "כעת ניתן להשתמש בגופן באתר האינטרנט שלך!"
|
381 |
|
382 |
-
#: settings.php:
|
383 |
msgid "Font deleted from your website!"
|
384 |
msgstr "גופן נמחק מהאתר שלך!"
|
385 |
|
386 |
-
#: settings.php:
|
387 |
msgid "The file has been uploaded!"
|
388 |
msgstr "הקובץ הועלה בהצלחה."
|
389 |
|
390 |
-
#: settings.php:
|
391 |
msgid "Error uploading the file: "
|
392 |
msgstr "שגיאה בהעלאת הקובץ:"
|
393 |
|
394 |
-
#: settings.php:
|
395 |
msgid "Error adding font to website fonts: "
|
396 |
msgstr "שגיאה בעת הוספת גופן לאתר:"
|
397 |
|
398 |
-
#: settings.php:
|
399 |
msgid "Error deleting font: "
|
400 |
msgstr "שגיאה במחיקת גופן:"
|
401 |
|
402 |
-
#: settings.php:
|
403 |
msgid "Failed to open or create the css file. Check for permissions."
|
404 |
msgstr "לא ניתן לפתוח או ליצור את קובץ ה-css. בדוק אם יש הרשאות."
|
405 |
|
406 |
-
#: settings.php:
|
407 |
msgid "Google API Key"
|
408 |
msgstr "מפתח API של גוגל"
|
409 |
|
410 |
-
#: settings.php:
|
411 |
msgid "Show Font Family Preview"
|
412 |
msgstr "טען תצוגה מקדימה לגופנים"
|
413 |
|
414 |
-
#: settings.php:
|
415 |
msgid "Access Settings Role"
|
416 |
msgstr "רמת הרשאה להגדרות"
|
417 |
|
418 |
-
#: settings.php:
|
419 |
msgid "This is the general settings for the site."
|
420 |
msgstr "אלה הם הגדרות כלליות עבור התוסף."
|
421 |
|
422 |
-
#: settings.php:
|
423 |
#, php-format
|
424 |
msgid ""
|
425 |
"To get all the fonts, Google requires the mandatory use of an API key, get "
|
@@ -428,24 +436,24 @@ msgstr ""
|
|
428 |
"כדי לקבל את כל הגופנים, גוגל מחייב שימוש ב-API, ניתן לקבל אחד מ<a href=\"%s"
|
429 |
"\" target=\"_blank\">כאן</a> בחינם ובמהירות."
|
430 |
|
431 |
-
#: settings.php:
|
432 |
#, php-format
|
433 |
msgid " Need help? Click <a href=\"%s\" target=\"_blank\">here</a>"
|
434 |
msgstr "צריך עזרה? לחץ <a href=\"%s\" target=\"_blank\">כאן</a>"
|
435 |
|
436 |
-
#: settings.php:
|
437 |
msgid "Include Font Family Preview"
|
438 |
msgstr "הוסף גופן לדף זה לצפיה בתוצגה מוקדמת"
|
439 |
|
440 |
-
#: settings.php:
|
441 |
msgid "Show font preview when listing the fonts (might be slow)"
|
442 |
msgstr "הצג תצוגה מקדימה של הגופן ברשימה של גופנים (עשוי להיות איטי)."
|
443 |
|
444 |
-
#: settings.php:
|
445 |
msgid "Include !important to this element to always apply."
|
446 |
msgstr "הוסף תגית important! על מנת שגופן זה תמיד יופיע."
|
447 |
|
448 |
-
#: settings.php:
|
449 |
msgid "Default"
|
450 |
msgstr "ברירת מחדל"
|
451 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Font Organizer\n"
|
4 |
+
"POT-Creation-Date: 2016-12-29 15:31+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-12-29 15:32+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: he_IL\n"
|
28 |
msgid "Custom Elements"
|
29 |
msgstr "אלמנט מותאם אישית"
|
30 |
|
31 |
+
#: classes/class-ElementsTable.php:86 settings.php:1346 settings.php:1363
|
32 |
msgid "Important"
|
33 |
msgstr "חשוב"
|
34 |
|
35 |
+
#: classes/class-ElementsTable.php:97 settings.php:257
|
36 |
msgid "Yes"
|
37 |
msgstr "כן"
|
38 |
|
39 |
+
#: classes/class-ElementsTable.php:97 settings.php:260
|
40 |
msgid "No"
|
41 |
msgstr "לא"
|
42 |
|
48 |
msgid "No custom elements found."
|
49 |
msgstr "לא נמצאו אלמנטים מותאמים אישית."
|
50 |
|
51 |
+
#: font-organizer.php:197 settings.php:351 settings.php:550
|
52 |
msgid "Font Settings"
|
53 |
msgstr "הגדרות גופנים"
|
54 |
|
112 |
msgid "<a> Font"
|
113 |
msgstr "גופן לתגית <a>"
|
114 |
|
115 |
+
#: settings.php:497
|
116 |
msgid "Google API key is not valid: "
|
117 |
msgstr "המפתח של גוגל אינה חוקי:"
|
118 |
|
119 |
+
#: settings.php:500
|
120 |
msgid "Google API key is not set! Cannot display google fonts."
|
121 |
msgstr "המפתח של גוגל אינו מוגדר! אין אפשרות להציג גופנים של גוגל."
|
122 |
|
123 |
+
#: settings.php:561
|
124 |
msgid "General Settings"
|
125 |
msgstr "הגדרות כלליות"
|
126 |
|
127 |
+
#: settings.php:577
|
128 |
msgid "1. Add Fonts"
|
129 |
msgstr "1. הוספת גופנים"
|
130 |
|
131 |
+
#: settings.php:579
|
132 |
msgid ""
|
133 |
"Step 1: Select and add fonts to be used in your website. Select as many as "
|
134 |
"you wish."
|
135 |
msgstr "שלב 1: בחר והוסף גופנים לאתר האינטרנט שלך. ניתן לבחר כמה שתרצה."
|
136 |
|
137 |
+
#: settings.php:581
|
138 |
msgid "You can select google or regular fonts."
|
139 |
msgstr "באפשרותך לבחור בגופנים של גוגל או גופנים מוכרים."
|
140 |
|
141 |
+
#: settings.php:585
|
142 |
msgid "Available Fonts"
|
143 |
msgstr "גופנים זמינים"
|
144 |
|
145 |
+
#: settings.php:592
|
146 |
msgid "Use This Font"
|
147 |
msgstr "השתמש בגופן זה"
|
148 |
|
149 |
+
#: settings.php:603
|
150 |
msgid "2. Custom Fonts"
|
151 |
msgstr "2. גופנים מיובאים"
|
152 |
|
153 |
+
#: settings.php:605
|
154 |
msgid ""
|
155 |
"Step 2: Upload custom fonts to be used in your website. Here too, you can "
|
156 |
"upload as many as you wish."
|
157 |
msgstr "שלב 2: כאן ניתן לעלות גופנים לאתר שלך. גם כאן, ניתן להעלות כמה שתרצה."
|
158 |
|
159 |
+
#: settings.php:607
|
160 |
msgid ""
|
161 |
"Name the font you want to upload and upload all the files formats for this "
|
162 |
"font. In order to support more browsers you can click the green plus to "
|
166 |
"ביותר דפדפנים ביכולתך ללחוץ על הפלוס הירוק להעלות עוד סוגי פורמטים. אנו "
|
167 |
"מציעים woff. ו- woff2.."
|
168 |
|
169 |
+
#: settings.php:611
|
170 |
+
msgid ""
|
171 |
+
"This font format is already selected. Reminder: you need to upload the font "
|
172 |
+
"files for the same font weight."
|
173 |
+
msgstr ""
|
174 |
+
"סיומת קובץ הגופן שנבחר כבר קיים. תזכורת: צריך להעלות את כל הקבצים המתאימים "
|
175 |
+
"למשקל אחד של הגופן בכל פעם."
|
176 |
+
|
177 |
+
#: settings.php:618
|
178 |
msgid "Font Weight Name"
|
179 |
msgstr "שם משקל גופן"
|
180 |
|
181 |
+
#: settings.php:619
|
182 |
msgid "Font weight name cannot be empty."
|
183 |
msgstr "שם משקל הגופן אינו יכול להיות ריק."
|
184 |
|
185 |
+
#: settings.php:623
|
186 |
msgid "Font Weight File"
|
187 |
msgstr "קובץ משקל גופן"
|
188 |
|
189 |
+
#: settings.php:627
|
190 |
msgid "Accepted Font Format : "
|
191 |
msgstr "פורמט גופן נתמך:"
|
192 |
|
193 |
+
#: settings.php:630 settings.php:631
|
194 |
msgid "Add Another Font Format File"
|
195 |
msgstr "הוסף עוד קובץ פורמט גופן"
|
196 |
|
197 |
+
#: settings.php:638
|
198 |
msgid "Upload"
|
199 |
msgstr "העלה"
|
200 |
|
201 |
+
#: settings.php:649
|
202 |
msgid "3. Known Elements Settings"
|
203 |
msgstr "3. הגדרות אלמנטים הידועים"
|
204 |
|
205 |
+
#: settings.php:652
|
206 |
msgid ""
|
207 |
"Step 3: For each element you can assign a font you have added in step 1 & 2."
|
208 |
msgstr "שלב 3: עבור כל אלמנט ניתן להקצות גופן שהוספת בשלב 1 & 2."
|
209 |
|
210 |
+
#: settings.php:653 settings.php:715
|
211 |
msgid "Note: "
|
212 |
msgstr "הערה:"
|
213 |
|
214 |
+
#: settings.php:653
|
215 |
msgid "Custom fonts you uploaded are automatically used in your website."
|
216 |
msgstr "גופנים מיובאים אוטומטית נוספים לאתר שלך."
|
217 |
|
218 |
+
#: settings.php:654
|
219 |
msgid ""
|
220 |
"In case of font not displaying in your website after saving, try clear the "
|
221 |
"cache using Shift+F5 or Ctrl+Shift+Delete to clear all."
|
223 |
"במקרה שגופן אינו מוצג באתר האינטרנט שלך לאחר שמירה, נסה לנקות את המטמון "
|
224 |
"באמצעות Shift + F5 או Ctrl+Shift+Delete כדי לנקות הכל."
|
225 |
|
226 |
+
#: settings.php:669
|
227 |
msgid "4. Custom Elements Settings"
|
228 |
msgstr "4. הגדרות אלמנטים מותאמים אישית"
|
229 |
|
230 |
+
#: settings.php:672
|
231 |
msgid ""
|
232 |
"Step 4: Assign font that you have added to your website to custom elements."
|
233 |
msgstr ""
|
234 |
"שלב 4: כאן ניתן לשייך גופן שהוספת לאתר האינטרנט שלך לאלמנטים מותאמים אישית."
|
235 |
|
236 |
+
#: settings.php:676 settings.php:729
|
237 |
msgid "Font"
|
238 |
msgstr "גופן"
|
239 |
|
240 |
+
#: settings.php:677 settings.php:732
|
241 |
msgid "-- Select Font --"
|
242 |
msgstr "-- בחירת גופן --"
|
243 |
|
244 |
+
#: settings.php:677
|
245 |
msgid "You must select a font for the elements."
|
246 |
msgstr "עליך לבחור גופן עבור הרכיבים."
|
247 |
|
248 |
+
#: settings.php:682
|
249 |
msgid "Custom Element"
|
250 |
msgstr "רכיב מותאם אישית"
|
251 |
|
252 |
+
#: settings.php:686
|
253 |
msgid "Font custom elements cannot be empty."
|
254 |
msgstr "רכיב מותאם אישית אינו יכול להיות ריק."
|
255 |
|
256 |
+
#: settings.php:687
|
257 |
msgid ""
|
258 |
"Custom elements can be seperated by commas to allow multiple elements. "
|
259 |
"Example: #myelementid, .myelementclass, .myelementclass .foo, etc."
|
261 |
"רכיבים מותאמים אישית ניתן להפריד בפסיקים כדי לאפשר מספר אלמנטים. דוגמה: ."
|
262 |
"myelementclass, #myelementid, .myelementclass .foo, וכו '."
|
263 |
|
264 |
+
#: settings.php:698
|
265 |
msgid "Apply Custom Elements"
|
266 |
msgstr "החל על אלמנטים אלה"
|
267 |
|
268 |
+
#: settings.php:709
|
269 |
msgid "5. Manage Fonts"
|
270 |
msgstr "5. ניהול גופנים"
|
271 |
|
272 |
+
#: settings.php:712
|
273 |
msgid ""
|
274 |
"Step 5: Select a font to manage, delete and view the source and custom "
|
275 |
"elements assigned to it."
|
277 |
"שלב 5: בחר גופן כדי לנהל, למחוק ולהציג את המקור, וכל הרכיבים מותאמים אישית "
|
278 |
"המוקצים לו."
|
279 |
|
280 |
+
#: settings.php:716
|
281 |
msgid ""
|
282 |
"You can edit the values of every row to change the custom elements assigned "
|
283 |
"or add and remove the important tag. Just change the text or check the box "
|
287 |
"או להוסיף ולהסיר את התגית 'important!'. רק שנה את הטקסט או לחץ על התיבה "
|
288 |
"והשינויים ישמרו אוטומטית."
|
289 |
|
290 |
+
#: settings.php:720
|
291 |
msgid "Changes saved!"
|
292 |
msgstr "השינויים נשמרו בהצלחה!"
|
293 |
|
294 |
+
#: settings.php:724
|
295 |
msgid "Data is invalid"
|
296 |
msgstr "ערך לא תקין."
|
297 |
|
298 |
+
#: settings.php:744
|
299 |
msgid "Delete Font"
|
300 |
msgstr "מחק גופן"
|
301 |
|
302 |
+
#: settings.php:744
|
303 |
msgid "Are you sure you want to delete this font from your website?"
|
304 |
msgstr "האם אתה בטוח שברצונך למחוק גופן זה מהאתר שלך?"
|
305 |
|
306 |
+
#: settings.php:755
|
307 |
msgid "Source"
|
308 |
msgstr "מקור"
|
309 |
|
310 |
+
#: settings.php:759
|
311 |
msgid "Urls"
|
312 |
msgstr "כתובת"
|
313 |
|
314 |
+
#: settings.php:794
|
315 |
msgid "Thank you"
|
316 |
msgstr "תודה לך!"
|
317 |
|
318 |
+
#: settings.php:799
|
319 |
msgid ""
|
320 |
"Thank you for using an <a href=\"http://hivewebstudios.com\" target=\"_blank"
|
321 |
"\">Hive</a> plugin! We 5 star you already, so why don't you <a href="
|
327 |
"\"https://wordpress.org/support/plugin/font-organizer/reviews/?rate=5#new-"
|
328 |
"post\" target=\"_blank\">תדרג אותנו 5 כוכבים גם</a>?"
|
329 |
|
330 |
+
#: settings.php:801
|
331 |
msgid "Anyway, if you need anything, this may help:"
|
332 |
msgstr "בכל מקרה, אם את/ה צריכ/ה משהו, אולי זה יעזור:"
|
333 |
|
334 |
+
#: settings.php:803
|
335 |
msgid "FAQ"
|
336 |
msgstr "שאלות נפוצות"
|
337 |
|
338 |
+
#: settings.php:804
|
339 |
msgid "Support forums"
|
340 |
msgstr "פורום תמיכה"
|
341 |
|
342 |
+
#: settings.php:805
|
343 |
msgid "Contact us"
|
344 |
msgstr "צרו קשר"
|
345 |
|
346 |
+
#: settings.php:812
|
347 |
msgid "Like Our Facebook Page"
|
348 |
msgstr "תן לייק לעמוד הפייסבוק שלנו"
|
349 |
|
350 |
+
#: settings.php:827 settings.php:863 settings.php:878 settings.php:897
|
351 |
msgid "Session ended, please try again."
|
352 |
msgstr "הסתיים הטיפול, אנא נסה שנית."
|
353 |
|
354 |
+
#: settings.php:833
|
355 |
msgid "Font name is empty or invalid."
|
356 |
msgstr "שם גופן הוא ריק או לא חוקי."
|
357 |
|
358 |
+
#: settings.php:838
|
359 |
msgid "Font file is not selected."
|
360 |
msgstr "לא נבחר קובץ הגופן."
|
361 |
|
362 |
+
#: settings.php:854
|
363 |
msgid "Font file(s) not selected."
|
364 |
msgstr "לא נבחרו קבצים לגופן."
|
365 |
|
366 |
+
#: settings.php:869
|
367 |
msgid "Usable font is empty or invalid."
|
368 |
msgstr "גופן לשימוש הוא ריק או לא חוקי."
|
369 |
|
370 |
+
#: settings.php:884
|
371 |
msgid "Custom elements is empty or invalid."
|
372 |
msgstr "אלמנטים מותאמים אישית ריק או לא חוקי."
|
373 |
|
374 |
+
#: settings.php:904
|
375 |
msgid "Something went horribly wrong. Ask the support!"
|
376 |
msgstr "משהו השתבש בצורה נוראית. תשאל את התמיכה!"
|
377 |
|
378 |
+
#: settings.php:1015
|
379 |
msgid "Error adding custom elements: "
|
380 |
msgstr "שגיאה בעת הוספת אלמנטים מותאמים אישית:"
|
381 |
|
382 |
+
#: settings.php:1022
|
383 |
msgid "Custom elements added to your website!"
|
384 |
msgstr "אלמנטים מותאמים אישית התווספו לאתר שלך!"
|
385 |
|
386 |
+
#: settings.php:1030
|
387 |
msgid "Font can now be used in your website!"
|
388 |
msgstr "כעת ניתן להשתמש בגופן באתר האינטרנט שלך!"
|
389 |
|
390 |
+
#: settings.php:1038
|
391 |
msgid "Font deleted from your website!"
|
392 |
msgstr "גופן נמחק מהאתר שלך!"
|
393 |
|
394 |
+
#: settings.php:1046
|
395 |
msgid "The file has been uploaded!"
|
396 |
msgstr "הקובץ הועלה בהצלחה."
|
397 |
|
398 |
+
#: settings.php:1054
|
399 |
msgid "Error uploading the file: "
|
400 |
msgstr "שגיאה בהעלאת הקובץ:"
|
401 |
|
402 |
+
#: settings.php:1062
|
403 |
msgid "Error adding font to website fonts: "
|
404 |
msgstr "שגיאה בעת הוספת גופן לאתר:"
|
405 |
|
406 |
+
#: settings.php:1070
|
407 |
msgid "Error deleting font: "
|
408 |
msgstr "שגיאה במחיקת גופן:"
|
409 |
|
410 |
+
#: settings.php:1078
|
411 |
msgid "Failed to open or create the css file. Check for permissions."
|
412 |
msgstr "לא ניתן לפתוח או ליצור את קובץ ה-css. בדוק אם יש הרשאות."
|
413 |
|
414 |
+
#: settings.php:1122
|
415 |
msgid "Google API Key"
|
416 |
msgstr "מפתח API של גוגל"
|
417 |
|
418 |
+
#: settings.php:1129
|
419 |
msgid "Show Font Family Preview"
|
420 |
msgstr "טען תצוגה מקדימה לגופנים"
|
421 |
|
422 |
+
#: settings.php:1139
|
423 |
msgid "Access Settings Role"
|
424 |
msgstr "רמת הרשאה להגדרות"
|
425 |
|
426 |
+
#: settings.php:1251
|
427 |
msgid "This is the general settings for the site."
|
428 |
msgstr "אלה הם הגדרות כלליות עבור התוסף."
|
429 |
|
430 |
+
#: settings.php:1270
|
431 |
#, php-format
|
432 |
msgid ""
|
433 |
"To get all the fonts, Google requires the mandatory use of an API key, get "
|
436 |
"כדי לקבל את כל הגופנים, גוגל מחייב שימוש ב-API, ניתן לקבל אחד מ<a href=\"%s"
|
437 |
"\" target=\"_blank\">כאן</a> בחינם ובמהירות."
|
438 |
|
439 |
+
#: settings.php:1271
|
440 |
#, php-format
|
441 |
msgid " Need help? Click <a href=\"%s\" target=\"_blank\">here</a>"
|
442 |
msgstr "צריך עזרה? לחץ <a href=\"%s\" target=\"_blank\">כאן</a>"
|
443 |
|
444 |
+
#: settings.php:1295
|
445 |
msgid "Include Font Family Preview"
|
446 |
msgstr "הוסף גופן לדף זה לצפיה בתוצגה מוקדמת"
|
447 |
|
448 |
+
#: settings.php:1297
|
449 |
msgid "Show font preview when listing the fonts (might be slow)"
|
450 |
msgstr "הצג תצוגה מקדימה של הגופן ברשימה של גופנים (עשוי להיות איטי)."
|
451 |
|
452 |
+
#: settings.php:1349 settings.php:1366
|
453 |
msgid "Include !important to this element to always apply."
|
454 |
msgstr "הוסף תגית important! על מנת שגופן זה תמיד יופיע."
|
455 |
|
456 |
+
#: settings.php:1378
|
457 |
msgid "Default"
|
458 |
msgstr "ברירת מחדל"
|
459 |
|
languages/font-organizer.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Font Organizer\n"
|
5 |
-
"POT-Creation-Date: 2016-12-
|
6 |
"PO-Revision-Date: 2016-11-09 15:53+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
@@ -27,15 +27,15 @@ msgstr ""
|
|
27 |
msgid "Custom Elements"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: classes/class-ElementsTable.php:86 settings.php:
|
31 |
msgid "Important"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: classes/class-ElementsTable.php:97 settings.php:
|
35 |
msgid "Yes"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: classes/class-ElementsTable.php:97 settings.php:
|
39 |
msgid "No"
|
40 |
msgstr ""
|
41 |
|
@@ -47,7 +47,7 @@ msgstr ""
|
|
47 |
msgid "No custom elements found."
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: font-organizer.php:
|
51 |
msgid "Font Settings"
|
52 |
msgstr ""
|
53 |
|
@@ -111,189 +111,195 @@ msgstr ""
|
|
111 |
msgid "<a> Font"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: settings.php:
|
115 |
msgid "Google API key is not valid: "
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: settings.php:
|
119 |
msgid "Google API key is not set! Cannot display google fonts."
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: settings.php:
|
123 |
msgid "General Settings"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: settings.php:
|
127 |
msgid "1. Add Fonts"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: settings.php:
|
131 |
msgid ""
|
132 |
"Step 1: Select and add fonts to be used in your website. Select as many as "
|
133 |
"you wish."
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: settings.php:
|
137 |
msgid "You can select google or regular fonts."
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: settings.php:
|
141 |
msgid "Available Fonts"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: settings.php:
|
145 |
msgid "Use This Font"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: settings.php:
|
149 |
msgid "2. Custom Fonts"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: settings.php:
|
153 |
msgid ""
|
154 |
"Step 2: Upload custom fonts to be used in your website. Here too, you can "
|
155 |
"upload as many as you wish."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: settings.php:
|
159 |
msgid ""
|
160 |
"Name the font you want to upload and upload all the files formats for this "
|
161 |
"font. In order to support more browsers you can click the green plus to "
|
162 |
"upload more font formats. We suggest .woff and .woff2."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
msgid "Font Weight Name"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: settings.php:
|
170 |
msgid "Font weight name cannot be empty."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: settings.php:
|
174 |
msgid "Font Weight File"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: settings.php:
|
178 |
msgid "Accepted Font Format : "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: settings.php:
|
182 |
msgid "Add Another Font Format File"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: settings.php:
|
186 |
msgid "Upload"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: settings.php:
|
190 |
msgid "3. Known Elements Settings"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: settings.php:
|
194 |
msgid ""
|
195 |
"Step 3: For each element you can assign a font you have added in step 1 & 2."
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: settings.php:
|
199 |
msgid "Note: "
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: settings.php:
|
203 |
msgid "Custom fonts you uploaded are automatically used in your website."
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: settings.php:
|
207 |
msgid ""
|
208 |
"In case of font not displaying in your website after saving, try clear the "
|
209 |
"cache using Shift+F5 or Ctrl+Shift+Delete to clear all."
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: settings.php:
|
213 |
msgid "4. Custom Elements Settings"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: settings.php:
|
217 |
msgid ""
|
218 |
"Step 4: Assign font that you have added to your website to custom elements."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: settings.php:
|
222 |
msgid "Font"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: settings.php:
|
226 |
msgid "-- Select Font --"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: settings.php:
|
230 |
msgid "You must select a font for the elements."
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: settings.php:
|
234 |
msgid "Custom Element"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: settings.php:
|
238 |
msgid "Font custom elements cannot be empty."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: settings.php:
|
242 |
msgid ""
|
243 |
"Custom elements can be seperated by commas to allow multiple elements. "
|
244 |
"Example: #myelementid, .myelementclass, .myelementclass .foo, etc."
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: settings.php:
|
248 |
msgid "Apply Custom Elements"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: settings.php:
|
252 |
msgid "5. Manage Fonts"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: settings.php:
|
256 |
msgid ""
|
257 |
"Step 5: Select a font to manage, delete and view the source and custom "
|
258 |
"elements assigned to it."
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: settings.php:
|
262 |
msgid ""
|
263 |
"You can edit the values of every row to change the custom elements assigned "
|
264 |
"or add and remove the important tag. Just change the text or check the box "
|
265 |
"and the settings will automatically save."
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: settings.php:
|
269 |
msgid "Changes saved!"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: settings.php:
|
273 |
msgid "Data is invalid"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: settings.php:
|
277 |
msgid "Delete Font"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: settings.php:
|
281 |
msgid "Are you sure you want to delete this font from your website?"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: settings.php:
|
285 |
msgid "Source"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: settings.php:
|
289 |
msgid "Urls"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: settings.php:
|
293 |
msgid "Thank you"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: settings.php:
|
297 |
msgid ""
|
298 |
"Thank you for using an <a href=\"http://hivewebstudios.com\" target=\"_blank"
|
299 |
"\">Hive</a> plugin! We 5 star you already, so why don't you <a href="
|
@@ -301,131 +307,131 @@ msgid ""
|
|
301 |
"post\" target=\"_blank\">5 star us too</a>?"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: settings.php:
|
305 |
msgid "Anyway, if you need anything, this may help:"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: settings.php:
|
309 |
msgid "FAQ"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: settings.php:
|
313 |
msgid "Support forums"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: settings.php:
|
317 |
msgid "Contact us"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: settings.php:
|
321 |
msgid "Like Our Facebook Page"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: settings.php:
|
325 |
msgid "Session ended, please try again."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: settings.php:
|
329 |
msgid "Font name is empty or invalid."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: settings.php:
|
333 |
msgid "Font file is not selected."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: settings.php:
|
337 |
msgid "Font file(s) not selected."
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: settings.php:
|
341 |
msgid "Usable font is empty or invalid."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: settings.php:
|
345 |
msgid "Custom elements is empty or invalid."
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: settings.php:
|
349 |
msgid "Something went horribly wrong. Ask the support!"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: settings.php:
|
353 |
msgid "Error adding custom elements: "
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: settings.php:
|
357 |
msgid "Custom elements added to your website!"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: settings.php:
|
361 |
msgid "Font can now be used in your website!"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: settings.php:
|
365 |
msgid "Font deleted from your website!"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: settings.php:
|
369 |
msgid "The file has been uploaded!"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: settings.php:
|
373 |
msgid "Error uploading the file: "
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: settings.php:
|
377 |
msgid "Error adding font to website fonts: "
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: settings.php:
|
381 |
msgid "Error deleting font: "
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: settings.php:
|
385 |
msgid "Failed to open or create the css file. Check for permissions."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: settings.php:
|
389 |
msgid "Google API Key"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: settings.php:
|
393 |
msgid "Show Font Family Preview"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: settings.php:
|
397 |
msgid "Access Settings Role"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: settings.php:
|
401 |
msgid "This is the general settings for the site."
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: settings.php:
|
405 |
#, php-format
|
406 |
msgid ""
|
407 |
"To get all the fonts, Google requires the mandatory use of an API key, get "
|
408 |
"one from <a href=\"%s\" target=\"_blank\">HERE</a>"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: settings.php:
|
412 |
#, php-format
|
413 |
msgid " Need help? Click <a href=\"%s\" target=\"_blank\">here</a>"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: settings.php:
|
417 |
msgid "Include Font Family Preview"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: settings.php:
|
421 |
msgid "Show font preview when listing the fonts (might be slow)"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: settings.php:
|
425 |
msgid "Include !important to this element to always apply."
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: settings.php:
|
429 |
msgid "Default"
|
430 |
msgstr ""
|
431 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Font Organizer\n"
|
5 |
+
"POT-Creation-Date: 2016-12-29 15:31+0200\n"
|
6 |
"PO-Revision-Date: 2016-11-09 15:53+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
27 |
msgid "Custom Elements"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: classes/class-ElementsTable.php:86 settings.php:1346 settings.php:1363
|
31 |
msgid "Important"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: classes/class-ElementsTable.php:97 settings.php:257
|
35 |
msgid "Yes"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: classes/class-ElementsTable.php:97 settings.php:260
|
39 |
msgid "No"
|
40 |
msgstr ""
|
41 |
|
47 |
msgid "No custom elements found."
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: font-organizer.php:197 settings.php:351 settings.php:550
|
51 |
msgid "Font Settings"
|
52 |
msgstr ""
|
53 |
|
111 |
msgid "<a> Font"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: settings.php:497
|
115 |
msgid "Google API key is not valid: "
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: settings.php:500
|
119 |
msgid "Google API key is not set! Cannot display google fonts."
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: settings.php:561
|
123 |
msgid "General Settings"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: settings.php:577
|
127 |
msgid "1. Add Fonts"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: settings.php:579
|
131 |
msgid ""
|
132 |
"Step 1: Select and add fonts to be used in your website. Select as many as "
|
133 |
"you wish."
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: settings.php:581
|
137 |
msgid "You can select google or regular fonts."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: settings.php:585
|
141 |
msgid "Available Fonts"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: settings.php:592
|
145 |
msgid "Use This Font"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: settings.php:603
|
149 |
msgid "2. Custom Fonts"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: settings.php:605
|
153 |
msgid ""
|
154 |
"Step 2: Upload custom fonts to be used in your website. Here too, you can "
|
155 |
"upload as many as you wish."
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: settings.php:607
|
159 |
msgid ""
|
160 |
"Name the font you want to upload and upload all the files formats for this "
|
161 |
"font. In order to support more browsers you can click the green plus to "
|
162 |
"upload more font formats. We suggest .woff and .woff2."
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: settings.php:611
|
166 |
+
msgid ""
|
167 |
+
"This font format is already selected. Reminder: you need to upload the font "
|
168 |
+
"files for the same font weight."
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: settings.php:618
|
172 |
msgid "Font Weight Name"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: settings.php:619
|
176 |
msgid "Font weight name cannot be empty."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: settings.php:623
|
180 |
msgid "Font Weight File"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: settings.php:627
|
184 |
msgid "Accepted Font Format : "
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: settings.php:630 settings.php:631
|
188 |
msgid "Add Another Font Format File"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: settings.php:638
|
192 |
msgid "Upload"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: settings.php:649
|
196 |
msgid "3. Known Elements Settings"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: settings.php:652
|
200 |
msgid ""
|
201 |
"Step 3: For each element you can assign a font you have added in step 1 & 2."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: settings.php:653 settings.php:715
|
205 |
msgid "Note: "
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: settings.php:653
|
209 |
msgid "Custom fonts you uploaded are automatically used in your website."
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: settings.php:654
|
213 |
msgid ""
|
214 |
"In case of font not displaying in your website after saving, try clear the "
|
215 |
"cache using Shift+F5 or Ctrl+Shift+Delete to clear all."
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: settings.php:669
|
219 |
msgid "4. Custom Elements Settings"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: settings.php:672
|
223 |
msgid ""
|
224 |
"Step 4: Assign font that you have added to your website to custom elements."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: settings.php:676 settings.php:729
|
228 |
msgid "Font"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: settings.php:677 settings.php:732
|
232 |
msgid "-- Select Font --"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: settings.php:677
|
236 |
msgid "You must select a font for the elements."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: settings.php:682
|
240 |
msgid "Custom Element"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: settings.php:686
|
244 |
msgid "Font custom elements cannot be empty."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: settings.php:687
|
248 |
msgid ""
|
249 |
"Custom elements can be seperated by commas to allow multiple elements. "
|
250 |
"Example: #myelementid, .myelementclass, .myelementclass .foo, etc."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: settings.php:698
|
254 |
msgid "Apply Custom Elements"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: settings.php:709
|
258 |
msgid "5. Manage Fonts"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: settings.php:712
|
262 |
msgid ""
|
263 |
"Step 5: Select a font to manage, delete and view the source and custom "
|
264 |
"elements assigned to it."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: settings.php:716
|
268 |
msgid ""
|
269 |
"You can edit the values of every row to change the custom elements assigned "
|
270 |
"or add and remove the important tag. Just change the text or check the box "
|
271 |
"and the settings will automatically save."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: settings.php:720
|
275 |
msgid "Changes saved!"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: settings.php:724
|
279 |
msgid "Data is invalid"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: settings.php:744
|
283 |
msgid "Delete Font"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: settings.php:744
|
287 |
msgid "Are you sure you want to delete this font from your website?"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: settings.php:755
|
291 |
msgid "Source"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: settings.php:759
|
295 |
msgid "Urls"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: settings.php:794
|
299 |
msgid "Thank you"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: settings.php:799
|
303 |
msgid ""
|
304 |
"Thank you for using an <a href=\"http://hivewebstudios.com\" target=\"_blank"
|
305 |
"\">Hive</a> plugin! We 5 star you already, so why don't you <a href="
|
307 |
"post\" target=\"_blank\">5 star us too</a>?"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: settings.php:801
|
311 |
msgid "Anyway, if you need anything, this may help:"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: settings.php:803
|
315 |
msgid "FAQ"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: settings.php:804
|
319 |
msgid "Support forums"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: settings.php:805
|
323 |
msgid "Contact us"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: settings.php:812
|
327 |
msgid "Like Our Facebook Page"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: settings.php:827 settings.php:863 settings.php:878 settings.php:897
|
331 |
msgid "Session ended, please try again."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: settings.php:833
|
335 |
msgid "Font name is empty or invalid."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: settings.php:838
|
339 |
msgid "Font file is not selected."
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: settings.php:854
|
343 |
msgid "Font file(s) not selected."
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: settings.php:869
|
347 |
msgid "Usable font is empty or invalid."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: settings.php:884
|
351 |
msgid "Custom elements is empty or invalid."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: settings.php:904
|
355 |
msgid "Something went horribly wrong. Ask the support!"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: settings.php:1015
|
359 |
msgid "Error adding custom elements: "
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: settings.php:1022
|
363 |
msgid "Custom elements added to your website!"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: settings.php:1030
|
367 |
msgid "Font can now be used in your website!"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: settings.php:1038
|
371 |
msgid "Font deleted from your website!"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: settings.php:1046
|
375 |
msgid "The file has been uploaded!"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: settings.php:1054
|
379 |
msgid "Error uploading the file: "
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: settings.php:1062
|
383 |
msgid "Error adding font to website fonts: "
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: settings.php:1070
|
387 |
msgid "Error deleting font: "
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: settings.php:1078
|
391 |
msgid "Failed to open or create the css file. Check for permissions."
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: settings.php:1122
|
395 |
msgid "Google API Key"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: settings.php:1129
|
399 |
msgid "Show Font Family Preview"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: settings.php:1139
|
403 |
msgid "Access Settings Role"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: settings.php:1251
|
407 |
msgid "This is the general settings for the site."
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: settings.php:1270
|
411 |
#, php-format
|
412 |
msgid ""
|
413 |
"To get all the fonts, Google requires the mandatory use of an API key, get "
|
414 |
"one from <a href=\"%s\" target=\"_blank\">HERE</a>"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: settings.php:1271
|
418 |
#, php-format
|
419 |
msgid " Need help? Click <a href=\"%s\" target=\"_blank\">here</a>"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: settings.php:1295
|
423 |
msgid "Include Font Family Preview"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: settings.php:1297
|
427 |
msgid "Show font preview when listing the fonts (might be slow)"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: settings.php:1349 settings.php:1366
|
431 |
msgid "Include !important to this element to always apply."
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: settings.php:1378
|
435 |
msgid "Default"
|
436 |
msgstr ""
|
437 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hivewebstudios,basaar,yardensade
|
|
3 |
Tags: fonts,google fonts,upload font,font,google
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -104,6 +104,10 @@ Example: "Arial Bold" or "Arial Italic", so you could easily use them later in t
|
|
104 |
|
105 |
== Changelog ==
|
106 |
|
|
|
|
|
|
|
|
|
107 |
= 1.3.0 =
|
108 |
* Added quick editing in custom elements table on section 5.
|
109 |
* Added better error message when Google API key not working.
|
3 |
Tags: fonts,google fonts,upload font,font,google
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 1.3.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
104 |
|
105 |
== Changelog ==
|
106 |
|
107 |
+
= 1.3.1 =
|
108 |
+
* Added a warning when trying to upload the same font file format in one upload.
|
109 |
+
* Fixed PHP 5.3 not supported.
|
110 |
+
|
111 |
= 1.3.0 =
|
112 |
* Added quick editing in custom elements table on section 5.
|
113 |
* Added better error message when Google API key not working.
|
settings.php
CHANGED
@@ -177,7 +177,7 @@ class FoSettingsPage
|
|
177 |
}
|
178 |
}
|
179 |
|
180 |
-
if(isset($_GET['action']) && ($_GET['action'] == 'delete' || $_GET['bulk-delete'
|
181 |
$this->should_create_css = true;
|
182 |
}
|
183 |
|
@@ -199,6 +199,7 @@ class FoSettingsPage
|
|
199 |
|
200 |
public function add_footer_styles(){ ?>
|
201 |
<script type="text/javascript" >
|
|
|
202 |
jQuery(document).ready(function() {
|
203 |
var textBefore = '';
|
204 |
|
@@ -212,6 +213,38 @@ class FoSettingsPage
|
|
212 |
}
|
213 |
});
|
214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
|
216 |
jQuery('table.custom_elements').find('td input:checkbox').change(function () {
|
217 |
|
@@ -572,6 +605,13 @@ class FoSettingsPage
|
|
572 |
<span><?php _e('Step 2: Upload custom fonts to be used in your website. Here too, you can upload as many as you wish.', 'font-organizer'); ?></span>
|
573 |
<br />
|
574 |
<span><?php _e('Name the font you want to upload and upload all the files formats for this font. In order to support more browsers you can click the green plus to upload more font formats. We suggest .woff and .woff2.', 'font-organizer'); ?></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
<form action="#" id="add_font_form" name="add_font_form" method="post" enctype="multipart/form-data">
|
576 |
<table class="form-table">
|
577 |
<tr>
|
@@ -583,7 +623,7 @@ class FoSettingsPage
|
|
583 |
<label for="font_file" class="required"><?php _e('Font Weight File', 'font-organizer'); ?></label>
|
584 |
</th>
|
585 |
<td id="font_file_parent" style="width:33%;">
|
586 |
-
<input type="file" name="font_file[]" value="" class="required" accept="<?php echo join(',',$this->supported_font_files); ?>" /><br/>
|
587 |
<em><?php echo __('Accepted Font Format : ', 'font-organizer') . '<span style="direction: ltr">' . join(', ',$this->supported_font_files) . '</span>'; ?></em><br/>
|
588 |
</td>
|
589 |
<td>
|
177 |
}
|
178 |
}
|
179 |
|
180 |
+
if(isset($_GET['action']) && ($_GET['action'] == 'delete' || $_GET['action'] == 'bulk-delete') && isset($_GET['custom_element'])){
|
181 |
$this->should_create_css = true;
|
182 |
}
|
183 |
|
199 |
|
200 |
public function add_footer_styles(){ ?>
|
201 |
<script type="text/javascript" >
|
202 |
+
|
203 |
jQuery(document).ready(function() {
|
204 |
var textBefore = '';
|
205 |
|
213 |
}
|
214 |
});
|
215 |
|
216 |
+
var selectedFiles = [];
|
217 |
+
jQuery('body').on('change', '.add_font_file', function() {
|
218 |
+
var element = jQuery(this);
|
219 |
+
// Remove the old selected file extension from the array if exists.
|
220 |
+
var oldFileExtesion = getFileExtension(element[0].oldvalue);
|
221 |
+
var oldIndex = selectedFiles.indexOf(oldFileExtesion);
|
222 |
+
if(oldIndex != -1) {
|
223 |
+
selectedFiles.splice(oldIndex, 1);
|
224 |
+
}
|
225 |
+
|
226 |
+
// If the file extension is empty or already exists. Remove it with wrap.
|
227 |
+
var fileExtesion = getFileExtension(element[0].files[0].name);
|
228 |
+
if(fileExtesion == "" || selectedFiles.indexOf(fileExtesion) != -1){
|
229 |
+
// Reset a fake form to reset the input field.
|
230 |
+
element.wrap('<form>').closest('form').get(0).reset();
|
231 |
+
element.unwrap();
|
232 |
+
|
233 |
+
// Show an error message for trying to upload the same font format.
|
234 |
+
jQuery('.custom_font_message.fo_warning').show().delay(5000).fadeOut();
|
235 |
+
return;
|
236 |
+
}
|
237 |
+
|
238 |
+
// Add the selected file extension to the array.
|
239 |
+
selectedFiles.push(fileExtesion);
|
240 |
+
});
|
241 |
+
|
242 |
+
function getFileExtension(name)
|
243 |
+
{
|
244 |
+
var found = name.lastIndexOf('.') + 1;
|
245 |
+
return (found > 0 ? name.substr(found) : "");
|
246 |
+
}
|
247 |
+
|
248 |
|
249 |
jQuery('table.custom_elements').find('td input:checkbox').change(function () {
|
250 |
|
605 |
<span><?php _e('Step 2: Upload custom fonts to be used in your website. Here too, you can upload as many as you wish.', 'font-organizer'); ?></span>
|
606 |
<br />
|
607 |
<span><?php _e('Name the font you want to upload and upload all the files formats for this font. In order to support more browsers you can click the green plus to upload more font formats. We suggest .woff and .woff2.', 'font-organizer'); ?></span>
|
608 |
+
|
609 |
+
<div class="custom_font_message fo_warning" style="display: none;">
|
610 |
+
<i class="fa fa-warning"></i>
|
611 |
+
<?php _e("This font format is already selected. Reminder: you need to upload the font files for the same font weight.", "font-organizer"); ?>
|
612 |
+
<span></span>
|
613 |
+
</div>
|
614 |
+
|
615 |
<form action="#" id="add_font_form" name="add_font_form" method="post" enctype="multipart/form-data">
|
616 |
<table class="form-table">
|
617 |
<tr>
|
623 |
<label for="font_file" class="required"><?php _e('Font Weight File', 'font-organizer'); ?></label>
|
624 |
</th>
|
625 |
<td id="font_file_parent" style="width:33%;">
|
626 |
+
<input type="file" name="font_file[]" value="" class="add_font_file required" onfocus="this.oldvalue = this.value;" accept="<?php echo join(',',$this->supported_font_files); ?>" /><br/>
|
627 |
<em><?php echo __('Accepted Font Format : ', 'font-organizer') . '<span style="direction: ltr">' . join(', ',$this->supported_font_files) . '</span>'; ?></em><br/>
|
628 |
</td>
|
629 |
<td>
|