Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 1.9.91 |
Comparing to | |
See all releases |
Code changes from version 1.9.9 to 1.9.91
- changelog.txt +4 -0
- includes/class-ogf-classic-editor.php +2 -4
- languages/olympus-google-fonts.pot +55 -41
- olympus-google-fonts.php +2 -2
- readme.txt +1 -1
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 1.9.9 =
|
2 |
|
3 |
* Add system fonts to Gutenberg Block
|
1 |
+
= 1.9.91 =
|
2 |
+
|
3 |
+
* Fix duplicates in Classic Editor
|
4 |
+
|
5 |
= 1.9.9 =
|
6 |
|
7 |
* Add system fonts to Gutenberg Block
|
includes/class-ogf-classic-editor.php
CHANGED
@@ -63,8 +63,6 @@ if ( ! class_exists( 'OGF_Classic_Editor' ) ) :
|
|
63 |
|
64 |
$opt['font_formats'] = apply_filters( 'ogf_classic_font_formats', 'Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;' );
|
65 |
|
66 |
-
// $opt['fontsize_formats'] = apply_filters( 'ogf_classic_font_sizes', '8px 10px 12px 14px 16px 18px 24px 30px 36px 48px 60px 72px' );
|
67 |
-
|
68 |
return $opt;
|
69 |
}
|
70 |
|
@@ -75,8 +73,8 @@ if ( ! class_exists( 'OGF_Classic_Editor' ) ) :
|
|
75 |
*/
|
76 |
public function tinymce_add_fonts( $old_default ) {
|
77 |
$new_default = '';
|
78 |
-
$choices
|
79 |
-
foreach ( $choices as $font ) {
|
80 |
if ( ! ogf_is_system_font( $font ) ) {
|
81 |
$new_default .= $this->ogf_fonts->get_font_name( $font ) . '=' . $this->ogf_fonts->get_font_name( $font ) . ';';
|
82 |
}
|
63 |
|
64 |
$opt['font_formats'] = apply_filters( 'ogf_classic_font_formats', 'Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;' );
|
65 |
|
|
|
|
|
66 |
return $opt;
|
67 |
}
|
68 |
|
73 |
*/
|
74 |
public function tinymce_add_fonts( $old_default ) {
|
75 |
$new_default = '';
|
76 |
+
$choices = $this->ogf_fonts->choices;
|
77 |
+
foreach ( array_unique( $choices ) as $font ) {
|
78 |
if ( ! ogf_is_system_font( $font ) ) {
|
79 |
$new_default .= $this->ogf_fonts->get_font_name( $font ) . '=' . $this->ogf_fonts->get_font_name( $font ) . ';';
|
80 |
}
|
languages/olympus-google-fonts.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Google Fonts Typography plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Google Fonts Typography 1.9.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2019-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.1.0\n"
|
15 |
"X-Domain: olympus-google-fonts\n"
|
@@ -34,11 +34,11 @@ msgstr ""
|
|
34 |
msgid "https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: class-olympus-google-fonts.php:
|
38 |
msgid "Settings"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: class-olympus-google-fonts.php:
|
42 |
msgid "Upgrade to Pro"
|
43 |
msgstr ""
|
44 |
|
@@ -287,45 +287,38 @@ msgid "Thank you for installing <strong>Google Fonts for WordPress</strong>! Con
|
|
287 |
msgstr ""
|
288 |
|
289 |
#. translators: Number of years
|
290 |
-
#: includes/class-ogf-notifications.php:
|
291 |
msgid "a year"
|
292 |
-
msgid_plural "%
|
293 |
-
msgstr[0] ""
|
294 |
-
|
295 |
-
#. translators: Number of weeks
|
296 |
-
#: includes/class-ogf-notifications.php:89
|
297 |
-
msgid "a week"
|
298 |
-
msgid_plural "%d weeks"
|
299 |
msgstr[0] ""
|
300 |
|
301 |
#. translators: Number of days
|
302 |
-
#: includes/class-ogf-notifications.php:
|
303 |
-
msgid "
|
304 |
-
|
305 |
-
msgstr[0] ""
|
306 |
|
307 |
-
#: includes/class-ogf-notifications.php:
|
308 |
msgid "Google Fonts WordPress Plugin"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: includes/class-ogf-notifications.php:
|
312 |
msgid "Are you enjoying using Google Fonts?"
|
313 |
msgstr ""
|
314 |
|
315 |
#. translators: 1. Name, 2. Time
|
316 |
-
#: includes/class-ogf-notifications.php:
|
317 |
msgid "You have been using <strong>%1$s</strong> for %2$s now! Could you please do me a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: includes/class-ogf-notifications.php:
|
321 |
msgid "Leave a Review"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: includes/class-ogf-notifications.php:
|
325 |
msgid "No thanks / I already have"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: includes/class-ogf-notifications.php:
|
329 |
msgid "Google Fonts for WordPress"
|
330 |
msgstr ""
|
331 |
|
@@ -344,15 +337,16 @@ msgstr ""
|
|
344 |
msgid "Load fonts but don't automatically assign them to an element."
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/customizer/settings.php:
|
348 |
msgid "Force Styles?"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: includes/customizer/settings.php:
|
352 |
msgid "If your choices are not displaying correctly, check this box."
|
353 |
msgstr ""
|
354 |
|
355 |
#: includes/customizer/panels.php:32
|
|
|
356 |
#: blocks/src/google-fonts/index.js:12
|
357 |
msgid "Google Fonts"
|
358 |
msgstr ""
|
@@ -458,7 +452,8 @@ msgid "Font Size (px)"
|
|
458 |
msgstr ""
|
459 |
|
460 |
#: includes/customizer/controls/class-ogf-customize-typography-control.php:47
|
461 |
-
#: blocks/
|
|
|
462 |
msgid "Line Height"
|
463 |
msgstr ""
|
464 |
|
@@ -490,42 +485,61 @@ msgstr ""
|
|
490 |
msgid "Oblique"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
msgid "Font Settings"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: blocks/
|
|
|
498 |
msgid "Block Type"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: blocks/
|
|
|
502 |
msgid "Font"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: blocks/
|
|
|
506 |
msgid "Font Variant"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: blocks/
|
|
|
510 |
msgid "Font Size"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: blocks/
|
|
|
514 |
msgid "Color Settings"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: blocks/
|
|
|
518 |
msgid "Text Color"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: blocks/
|
|
|
522 |
msgid "Add some content..."
|
523 |
msgstr ""
|
524 |
-
|
525 |
-
#: blocks/src/google-fonts/index.js:16
|
526 |
-
msgid "Fonts"
|
527 |
-
msgstr ""
|
528 |
-
|
529 |
-
#: blocks/src/google-fonts/index.js:17
|
530 |
-
msgid "Heading"
|
531 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the Google Fonts Typography plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Google Fonts Typography 1.9.91\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2019-10-22T13:14:21+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.1.0\n"
|
15 |
"X-Domain: olympus-google-fonts\n"
|
34 |
msgid "https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: class-olympus-google-fonts.php:151
|
38 |
msgid "Settings"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: class-olympus-google-fonts.php:156
|
42 |
msgid "Upgrade to Pro"
|
43 |
msgstr ""
|
44 |
|
287 |
msgstr ""
|
288 |
|
289 |
#. translators: Number of years
|
290 |
+
#: includes/class-ogf-notifications.php:82
|
291 |
msgid "a year"
|
292 |
+
msgid_plural "%s years"
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
msgstr[0] ""
|
294 |
|
295 |
#. translators: Number of days
|
296 |
+
#: includes/class-ogf-notifications.php:94
|
297 |
+
msgid "%s days"
|
298 |
+
msgstr ""
|
|
|
299 |
|
300 |
+
#: includes/class-ogf-notifications.php:218
|
301 |
msgid "Google Fonts WordPress Plugin"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/class-ogf-notifications.php:221
|
305 |
msgid "Are you enjoying using Google Fonts?"
|
306 |
msgstr ""
|
307 |
|
308 |
#. translators: 1. Name, 2. Time
|
309 |
+
#: includes/class-ogf-notifications.php:225
|
310 |
msgid "You have been using <strong>%1$s</strong> for %2$s now! Could you please do me a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: includes/class-ogf-notifications.php:230
|
314 |
msgid "Leave a Review"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/class-ogf-notifications.php:231
|
318 |
msgid "No thanks / I already have"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: includes/class-ogf-notifications.php:258
|
322 |
msgid "Google Fonts for WordPress"
|
323 |
msgstr ""
|
324 |
|
337 |
msgid "Load fonts but don't automatically assign them to an element."
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: includes/customizer/settings.php:157
|
341 |
msgid "Force Styles?"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: includes/customizer/settings.php:161
|
345 |
msgid "If your choices are not displaying correctly, check this box."
|
346 |
msgstr ""
|
347 |
|
348 |
#: includes/customizer/panels.php:32
|
349 |
+
#: blocks/dist/blocks.build.js:1
|
350 |
#: blocks/src/google-fonts/index.js:12
|
351 |
msgid "Google Fonts"
|
352 |
msgstr ""
|
452 |
msgstr ""
|
453 |
|
454 |
#: includes/customizer/controls/class-ogf-customize-typography-control.php:47
|
455 |
+
#: blocks/dist/blocks.build.js:1
|
456 |
+
#: blocks/src/google-fonts/edit.js:208
|
457 |
msgid "Line Height"
|
458 |
msgstr ""
|
459 |
|
485 |
msgid "Oblique"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/class-ogf-dashboard-widget.php:30
|
489 |
+
msgid "Typography News"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: includes/class-ogf-dashboard-widget.php:71
|
493 |
+
#: includes/class-ogf-dashboard-widget.php:97
|
494 |
+
msgid "Temporarily unable to load feed."
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: blocks/dist/blocks.build.js:1
|
498 |
+
#: blocks/src/google-fonts/index.js:16
|
499 |
+
msgid "Fonts"
|
500 |
+
msgstr ""
|
501 |
+
|
502 |
+
#: blocks/dist/blocks.build.js:1
|
503 |
+
#: blocks/src/google-fonts/index.js:17
|
504 |
+
msgid "Heading"
|
505 |
+
msgstr ""
|
506 |
+
|
507 |
+
#: blocks/dist/blocks.build.js:1
|
508 |
+
#: blocks/src/google-fonts/edit.js:168
|
509 |
msgid "Font Settings"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: blocks/dist/blocks.build.js:1
|
513 |
+
#: blocks/src/google-fonts/edit.js:170
|
514 |
msgid "Block Type"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: blocks/dist/blocks.build.js:1
|
518 |
+
#: blocks/src/google-fonts/edit.js:186
|
519 |
msgid "Font"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: blocks/dist/blocks.build.js:1
|
523 |
+
#: blocks/src/google-fonts/edit.js:193
|
524 |
msgid "Font Variant"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: blocks/dist/blocks.build.js:1
|
528 |
+
#: blocks/src/google-fonts/edit.js:200
|
529 |
msgid "Font Size"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: blocks/dist/blocks.build.js:1
|
533 |
+
#: blocks/src/google-fonts/edit.js:217
|
534 |
msgid "Color Settings"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: blocks/dist/blocks.build.js:1
|
538 |
+
#: blocks/src/google-fonts/edit.js:222
|
539 |
msgid "Text Color"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: blocks/dist/blocks.build.js:1
|
543 |
+
#: blocks/src/google-fonts/edit.js:252
|
544 |
msgid "Add some content..."
|
545 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
olympus-google-fonts.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin Name: Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 870+ font choices.
|
8 |
-
* Version: 1.9.
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading
|
11 |
* Text Domain: olympus-google-fonts
|
@@ -18,7 +18,7 @@
|
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
-
define( 'OGF_VERSION', '1.9.
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
5 |
* Plugin Name: Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 870+ font choices.
|
8 |
+
* Version: 1.9.91
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading
|
11 |
* Text Domain: olympus-google-fonts
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
+
define( 'OGF_VERSION', '1.9.91' );
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://fontsplugin.com/#pricing
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 1.9.
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 1.9.91
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|