Google Fonts for WordPress - Version 1.6.1

Version Description

Download this release

Release Info

Developer DannyCooper
Plugin Icon 128x128 Google Fonts for WordPress
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

class-olympus-google-fonts.php CHANGED
@@ -46,8 +46,8 @@ class Olympus_Google_Fonts {
46
  include OGF_DIR_PATH . 'includes/customizer/settings.php';
47
  include OGF_DIR_PATH . 'includes/customizer/output-css.php';
48
 
49
- // Feedback request class.
50
- include OGF_DIR_PATH . 'includes/class-ogf-feedback.php';
51
 
52
  // Welcome notice class.
53
  include OGF_DIR_PATH . 'includes/class-ogf-welcome.php';
46
  include OGF_DIR_PATH . 'includes/customizer/settings.php';
47
  include OGF_DIR_PATH . 'includes/customizer/output-css.php';
48
 
49
+ // Notifications class.
50
+ include OGF_DIR_PATH . 'includes/class-ogf-notifications.php';
51
 
52
  // Welcome notice class.
53
  include OGF_DIR_PATH . 'includes/class-ogf-welcome.php';
includes/{class-ogf-feedback.php → class-ogf-notifications.php} RENAMED
@@ -1,21 +1,18 @@
1
  <?php
2
  /**
3
- * Plugin review class.
4
  * Prompts users to give a review of the plugin on WordPress.org after a period of usage.
5
  *
6
- * Heavily based on code by Rhys Wynne
7
- * https://winwar.co.uk/2014/10/ask-wordpress-plugin-reviews-week/
8
- *
9
  * @package olympus-google-fonts
10
  * @copyright Copyright (c) 2019, Danny Cooper
11
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
12
  */
13
 
14
- if ( ! class_exists( 'OGF_Feedback' ) ) :
15
  /**
16
  * The feedback.
17
  */
18
- class OGF_Feedback {
19
 
20
  /**
21
  * Slug.
@@ -60,7 +57,8 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
60
  public function __construct( $args ) {
61
  $this->slug = $args['slug'];
62
  $this->name = $args['name'];
63
- $this->date_option = $this->slug . '_activation_date';
 
64
  $this->nobug_option = $this->slug . '_no_bug';
65
  if ( isset( $args['time_limit'] ) ) {
66
  $this->time_limit = $args['time_limit'];
@@ -123,9 +121,6 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
123
  * Display the admin notice.
124
  */
125
  public function display_admin_notice() {
126
-
127
- $no_bug_url = wp_nonce_url( admin_url( '?' . $this->nobug_option . '=true' ), 'ogf-feedback-nounce' );
128
- $time = $this->seconds_to_words( time() - get_site_option( $this->date_option ) );
129
  ?>
130
 
131
  <style>
@@ -210,6 +205,21 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
210
  }
211
  }
212
  </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  <div class="notice updated ogf-notice">
214
  <div class="ogf-notice-inner">
215
  <div class="ogf-notice-icon">
@@ -233,12 +243,44 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
233
  <?php
234
  }
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  /**
237
  * Set the plugin to no longer bug users if user asks not to be.
238
  */
239
  public function set_no_bug() {
240
  // Bail out if not on correct page.
241
- if ( ! isset( $_GET['_wpnonce'] ) || ( ! wp_verify_nonce( $_GET['_wpnonce'], 'ogf-feedback-nounce' ) || ! is_admin() || ! isset( $_GET[ $this->nobug_option ] ) || ! current_user_can( 'manage_options' ) ) ) {
242
  return;
243
  }
244
  add_site_option( $this->nobug_option, true );
@@ -246,13 +288,24 @@ if ( ! class_exists( 'OGF_Feedback' ) ) :
246
  }
247
  endif;
248
 
 
249
  /*
250
- * Instantiate the OGF_Feedback class.
251
  */
252
- new OGF_Feedback(
253
  array(
254
  'slug' => 'ogf',
255
  'name' => __( 'Google Fonts for WordPress', 'olympus-google-fonts' ),
256
  'time_limit' => WEEK_IN_SECONDS,
 
 
 
 
 
 
 
 
 
 
257
  )
258
  );
1
  <?php
2
  /**
3
+ * Notification class.
4
  * Prompts users to give a review of the plugin on WordPress.org after a period of usage.
5
  *
 
 
 
6
  * @package olympus-google-fonts
7
  * @copyright Copyright (c) 2019, Danny Cooper
8
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9
  */
10
 
11
+ if ( ! class_exists( 'OGF_Notifications' ) ) :
12
  /**
13
  * The feedback.
14
  */
15
+ class OGF_Notifications {
16
 
17
  /**
18
  * Slug.
57
  public function __construct( $args ) {
58
  $this->slug = $args['slug'];
59
  $this->name = $args['name'];
60
+ $this->type = $args['type'];
61
+ $this->date_option = 'ogf_activation_date';
62
  $this->nobug_option = $this->slug . '_no_bug';
63
  if ( isset( $args['time_limit'] ) ) {
64
  $this->time_limit = $args['time_limit'];
121
  * Display the admin notice.
122
  */
123
  public function display_admin_notice() {
 
 
 
124
  ?>
125
 
126
  <style>
205
  }
206
  }
207
  </style>
208
+ <?php
209
+ if ( $this->type === 'review' ) {
210
+ $this->review();
211
+ } elseif( $this->type === 'addon' ) {
212
+ $this->addon();
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Output review content.
218
+ */
219
+ public function review() {
220
+ $no_bug_url = wp_nonce_url( admin_url( '?' . $this->nobug_option . '=true' ), 'ogf-notification-nounce' );
221
+ $time = $this->seconds_to_words( time() - get_site_option( $this->date_option ) );
222
+ ?>
223
  <div class="notice updated ogf-notice">
224
  <div class="ogf-notice-inner">
225
  <div class="ogf-notice-icon">
243
  <?php
244
  }
245
 
246
+ /**
247
+ * Output review content.
248
+ */
249
+ public function addon() {
250
+ if ( is_plugin_active( 'host-google-fonts-locally/host-google-fonts-locally.php' ) ) {
251
+ return;
252
+ }
253
+ $no_bug_url = wp_nonce_url( admin_url( '?' . $this->nobug_option . '=true' ), 'ogf-notification-nounce' );
254
+ ?>
255
+ <div class="notice updated ogf-notice">
256
+ <div class="ogf-notice-inner">
257
+ <div class="ogf-notice-icon">
258
+ <img src="https://ps.w.org/host-google-fonts-locally/assets/icon-256x256.jpg" alt="<?php echo esc_attr__( 'Host Google Fonts Locally', 'olympus-google-fonts' ); ?>" />
259
+ </div>
260
+ <div class="ogf-notice-content">
261
+ <h3><?php echo esc_html__( 'Speed Up Your Website!', 'olympus-google-fonts' ); ?></h3>
262
+ <p>
263
+ <?php
264
+ /* translators: 1. Name, 2. Time */
265
+ printf( __( 'Our latest <strong>free</strong> addon allows you to host Google Fonts locally.<br>This removes the requests to Google\'s servers and can equal faster load times.', 'olympus-google-fonts' ), esc_html( $this->name ), esc_html( $time ) );
266
+ ?>
267
+ </p>
268
+ </div>
269
+ <div class="ogf-install-now">
270
+ <?php printf( '<a href="%1$s" class="button button-primary ogf-install-button" target="_blank">%2$s</a>', esc_url( admin_url( 'plugin-install.php?s=local+google+fonts&tab=search&type=tag' ) ), esc_html__( 'Install Now', 'olympus-google-fonts' ) ); ?>
271
+ <a href="<?php echo esc_url( $no_bug_url ); ?>" class="no-thanks"><?php echo esc_html__( 'No thank you.', 'olympus-google-fonts' ); ?></a>
272
+ </div>
273
+ </div>
274
+ </div>
275
+ <?php
276
+ }
277
+
278
  /**
279
  * Set the plugin to no longer bug users if user asks not to be.
280
  */
281
  public function set_no_bug() {
282
  // Bail out if not on correct page.
283
+ if ( ! isset( $_GET['_wpnonce'] ) || ( ! wp_verify_nonce( $_GET['_wpnonce'], 'ogf-notification-nounce' ) || ! is_admin() || ! isset( $_GET[ $this->nobug_option ] ) || ! current_user_can( 'manage_options' ) ) ) {
284
  return;
285
  }
286
  add_site_option( $this->nobug_option, true );
288
  }
289
  endif;
290
 
291
+
292
  /*
293
+ * Instantiate the OGF_Notifications class.
294
  */
295
+ new OGF_Notifications(
296
  array(
297
  'slug' => 'ogf',
298
  'name' => __( 'Google Fonts for WordPress', 'olympus-google-fonts' ),
299
  'time_limit' => WEEK_IN_SECONDS,
300
+ 'type' => 'review',
301
+ )
302
+ );
303
+
304
+ new OGF_Notifications(
305
+ array(
306
+ 'slug' => 'ogf_addon',
307
+ 'name' => __( 'Host Google Fonts Locally', 'olympus-google-fonts' ),
308
+ 'time_limit' => DAY_IN_SECONDS,
309
+ 'type' => 'addon',
310
  )
311
  );
languages/olympus-google-fonts.pot CHANGED
@@ -1,21 +1,21 @@
1
- # Copyright (C) 2019 Danny Cooper
2
  # This file is distributed under the same license as the Google Fonts for WordPress plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Google Fonts for WordPress 1.4.8\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-01-09T13:32:51+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"
16
 
17
  #. Plugin Name of the plugin
18
- #: includes/class-ogf-feedback.php:279
19
  msgid "Google Fonts for WordPress"
20
  msgstr ""
21
 
@@ -28,202 +28,273 @@ msgid "The easiest to use Google Fonts plugin. No coding required. 870+ font cho
28
  msgstr ""
29
 
30
  #. Author of the plugin
31
- msgid "Danny Cooper"
32
  msgstr ""
33
 
34
  #. Author URI of the plugin
35
- msgid "https://fontsplugin.com"
36
  msgstr ""
37
 
38
- #: class-olympus-google-fonts.php:117
39
  msgid "Settings"
40
  msgstr ""
41
 
42
- #: class-olympus-google-fonts.php:122
43
  msgid "Upgrade to Pro"
44
  msgstr ""
45
 
46
- #: includes/functions.php:33
47
  msgid "Base Typography"
48
  msgstr ""
49
 
50
- #: includes/functions.php:34
51
  msgid "Select and configure the font for your content."
52
  msgstr ""
53
 
54
- #: includes/functions.php:39
55
- #: includes/functions.php:111
56
- #: includes/functions.php:123
57
  msgid "Headings Typography"
58
  msgstr ""
59
 
60
- #: includes/functions.php:40
61
  msgid "Select and configure the font for your headings."
62
  msgstr ""
63
 
64
- #: includes/functions.php:45
65
  msgid "Buttons and Inputs Typography"
66
  msgstr ""
67
 
68
- #: includes/functions.php:46
69
  msgid "Select and configure the font for your input fields and buttons."
70
  msgstr ""
71
 
72
- #: includes/functions.php:51
73
  msgid "Site Title Typography"
74
  msgstr ""
75
 
76
- #: includes/functions.php:52
77
  msgid "Select and configure the font for your site title."
78
  msgstr ""
79
 
80
- #: includes/functions.php:57
81
  msgid "Site Description Typography"
82
  msgstr ""
83
 
84
- #: includes/functions.php:58
85
  msgid "Select and configure the font for your site description."
86
  msgstr ""
87
 
88
- #: includes/functions.php:63
89
  msgid "Navigation Typography"
90
  msgstr ""
91
 
92
- #: includes/functions.php:64
93
  msgid "Select and configure the font for your site navigation."
94
  msgstr ""
95
 
96
- #: includes/functions.php:69
97
- #: includes/functions.php:117
98
- #: includes/functions.php:131
99
  msgid "Content Typography"
100
  msgstr ""
101
 
102
- #: includes/functions.php:70
103
  msgid "Select and configure the font for your post and page content."
104
  msgstr ""
105
 
106
- #: includes/functions.php:75
107
  msgid "Title and H1 Typography"
108
  msgstr ""
109
 
110
- #: includes/functions.php:76
111
  msgid "Select and configure the font for your title and H1 headings."
112
  msgstr ""
113
 
114
- #: includes/functions.php:81
115
  msgid "H2 Typography"
116
  msgstr ""
117
 
118
- #: includes/functions.php:82
119
  msgid "Select and configure the font for your H2 headings."
120
  msgstr ""
121
 
122
- #: includes/functions.php:87
123
  msgid "H3 Typography"
124
  msgstr ""
125
 
126
- #: includes/functions.php:88
127
  msgid "Select and configure the font for your H3 headings."
128
  msgstr ""
129
 
130
- #: includes/functions.php:93
131
  msgid "H4 Typography"
132
  msgstr ""
133
 
134
- #: includes/functions.php:94
135
  msgid "Select and configure the font for your H4 headings."
136
  msgstr ""
137
 
138
- #: includes/functions.php:99
139
  msgid "H5 Typography"
140
  msgstr ""
141
 
142
- #: includes/functions.php:100
143
  msgid "Select and configure the font for your H5 headings."
144
  msgstr ""
145
 
146
- #: includes/functions.php:105
147
  msgid "H6 Typography"
148
  msgstr ""
149
 
150
- #: includes/functions.php:106
151
  msgid "Select and configure the font for your H6 headings."
152
  msgstr ""
153
 
154
- #: includes/functions.php:112
155
  msgid "Select and configure the font for your sidebar headings."
156
  msgstr ""
157
 
158
- #: includes/functions.php:118
159
  msgid "Select and configure the font for your sidebar content."
160
  msgstr ""
161
 
162
- #: includes/functions.php:124
163
  msgid "Select and configure the font for your footer headings."
164
  msgstr ""
165
 
166
- #: includes/functions.php:132
167
  msgid "Select and configure the font for your footer content."
168
  msgstr ""
169
 
170
- #: includes/functions.php:177
171
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:231
172
  msgid "Thin"
173
  msgstr ""
174
 
175
- #: includes/functions.php:178
176
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:232
177
  msgid "Extra Light"
178
  msgstr ""
179
 
180
- #: includes/functions.php:179
181
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:233
182
  msgid "Light"
183
  msgstr ""
184
 
185
- #: includes/functions.php:180
186
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:234
187
- #: includes/customizer/controls/class-ogf-customize-typography-control.php:255
188
  msgid "Normal"
189
  msgstr ""
190
 
191
- #: includes/functions.php:181
192
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:235
193
  msgid "Medium"
194
  msgstr ""
195
 
196
- #: includes/functions.php:182
197
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:236
198
  msgid "Semi Bold"
199
  msgstr ""
200
 
201
- #: includes/functions.php:183
202
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:237
203
  msgid "Bold"
204
  msgstr ""
205
 
206
- #: includes/functions.php:184
207
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:238
208
  msgid "Extra Bold"
209
  msgstr ""
210
 
211
- #: includes/functions.php:185
212
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:239
213
  msgid "Ultra Bold"
214
  msgstr ""
215
 
216
- #: includes/functions.php:192
217
- #: includes/functions.php:214
218
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:230
 
219
  msgid "- Default -"
220
  msgstr ""
221
 
222
  #. translators: %s Link to Google Fonts customizer panel.
223
- #: includes/class-ogf-welcome.php:100
224
  msgid "Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href=\"%s\">WordPress Customizer</a>"
225
  msgstr ""
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  #: includes/customizer/settings.php:135
228
  msgid "Force Styles?"
229
  msgstr ""
@@ -351,89 +422,14 @@ msgstr ""
351
  msgid "Color"
352
  msgstr ""
353
 
354
- #: includes/customizer/controls/class-ogf-customize-typography-control.php:256
355
  msgid "Italic"
356
  msgstr ""
357
 
358
- #: includes/customizer/controls/class-ogf-customize-typography-control.php:257
359
  msgid "Oblique"
360
  msgstr ""
361
 
362
- #. translators: Number of years
363
- #: includes/class-ogf-feedback.php:85
364
- msgid "%s years"
365
- msgstr ""
366
-
367
- #: includes/class-ogf-feedback.php:87
368
- msgid "a year"
369
- msgstr ""
370
-
371
- #. translators: Number of weeks
372
- #: includes/class-ogf-feedback.php:93
373
- msgid "%s weeks"
374
- msgstr ""
375
-
376
- #: includes/class-ogf-feedback.php:95
377
- msgid "a week"
378
- msgstr ""
379
-
380
- #. translators: Number of days
381
- #: includes/class-ogf-feedback.php:101
382
- msgid "%s days"
383
- msgstr ""
384
-
385
- #: includes/class-ogf-feedback.php:103
386
- msgid "a day"
387
- msgstr ""
388
-
389
- #. translators: Number of hours
390
- #: includes/class-ogf-feedback.php:109
391
- msgid "%s hours"
392
- msgstr ""
393
-
394
- #: includes/class-ogf-feedback.php:111
395
- msgid "an hour"
396
- msgstr ""
397
-
398
- #. translators: Number of minutes
399
- #: includes/class-ogf-feedback.php:117
400
- msgid "%s minutes"
401
- msgstr ""
402
-
403
- #: includes/class-ogf-feedback.php:119
404
- msgid "a minute"
405
- msgstr ""
406
-
407
- #. translators: Number of seconds
408
- #: includes/class-ogf-feedback.php:125
409
- msgid "%s seconds"
410
- msgstr ""
411
-
412
- #: includes/class-ogf-feedback.php:127
413
- msgid "a second"
414
- msgstr ""
415
-
416
- #: includes/class-ogf-feedback.php:240
417
- msgid "Olympus Google Fonts WordPress Plugin"
418
- msgstr ""
419
-
420
- #: includes/class-ogf-feedback.php:243
421
- msgid "Are you enjoying using Google Fonts?"
422
- msgstr ""
423
-
424
- #. translators: 1. Name, 2. Time
425
- #: includes/class-ogf-feedback.php:247
426
- 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?"
427
- msgstr ""
428
-
429
- #: includes/class-ogf-feedback.php:252
430
- msgid "Leave a Review"
431
- msgstr ""
432
-
433
- #: includes/class-ogf-feedback.php:253
434
- msgid "No thanks / I already have"
435
- msgstr ""
436
-
437
  #: blocks/src/google-fonts/edit.js:120
438
  msgid "Font Settings"
439
  msgstr ""
1
+ # Copyright (C) 2019 Fonts Plugin
2
  # This file is distributed under the same license as the Google Fonts for WordPress plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Google Fonts for WordPress 1.6.1\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-04-11T12:06:43+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"
16
 
17
  #. Plugin Name of the plugin
18
+ #: includes/class-ogf-notifications.php:298
19
  msgid "Google Fonts for WordPress"
20
  msgstr ""
21
 
28
  msgstr ""
29
 
30
  #. Author of the plugin
31
+ msgid "Fonts Plugin"
32
  msgstr ""
33
 
34
  #. Author URI of the plugin
35
+ msgid "https://fontsplugin.com/?utm_source=wporg&utm_campaign=heading"
36
  msgstr ""
37
 
38
+ #: class-olympus-google-fonts.php:138
39
  msgid "Settings"
40
  msgstr ""
41
 
42
+ #: class-olympus-google-fonts.php:143
43
  msgid "Upgrade to Pro"
44
  msgstr ""
45
 
46
+ #: includes/functions.php:38
47
  msgid "Base Typography"
48
  msgstr ""
49
 
50
+ #: includes/functions.php:39
51
  msgid "Select and configure the font for your content."
52
  msgstr ""
53
 
54
+ #: includes/functions.php:44
55
+ #: includes/functions.php:116
56
+ #: includes/functions.php:128
57
  msgid "Headings Typography"
58
  msgstr ""
59
 
60
+ #: includes/functions.php:45
61
  msgid "Select and configure the font for your headings."
62
  msgstr ""
63
 
64
+ #: includes/functions.php:50
65
  msgid "Buttons and Inputs Typography"
66
  msgstr ""
67
 
68
+ #: includes/functions.php:51
69
  msgid "Select and configure the font for your input fields and buttons."
70
  msgstr ""
71
 
72
+ #: includes/functions.php:56
73
  msgid "Site Title Typography"
74
  msgstr ""
75
 
76
+ #: includes/functions.php:57
77
  msgid "Select and configure the font for your site title."
78
  msgstr ""
79
 
80
+ #: includes/functions.php:62
81
  msgid "Site Description Typography"
82
  msgstr ""
83
 
84
+ #: includes/functions.php:63
85
  msgid "Select and configure the font for your site description."
86
  msgstr ""
87
 
88
+ #: includes/functions.php:68
89
  msgid "Navigation Typography"
90
  msgstr ""
91
 
92
+ #: includes/functions.php:69
93
  msgid "Select and configure the font for your site navigation."
94
  msgstr ""
95
 
96
+ #: includes/functions.php:74
97
+ #: includes/functions.php:122
98
+ #: includes/functions.php:136
99
  msgid "Content Typography"
100
  msgstr ""
101
 
102
+ #: includes/functions.php:75
103
  msgid "Select and configure the font for your post and page content."
104
  msgstr ""
105
 
106
+ #: includes/functions.php:80
107
  msgid "Title and H1 Typography"
108
  msgstr ""
109
 
110
+ #: includes/functions.php:81
111
  msgid "Select and configure the font for your title and H1 headings."
112
  msgstr ""
113
 
114
+ #: includes/functions.php:86
115
  msgid "H2 Typography"
116
  msgstr ""
117
 
118
+ #: includes/functions.php:87
119
  msgid "Select and configure the font for your H2 headings."
120
  msgstr ""
121
 
122
+ #: includes/functions.php:92
123
  msgid "H3 Typography"
124
  msgstr ""
125
 
126
+ #: includes/functions.php:93
127
  msgid "Select and configure the font for your H3 headings."
128
  msgstr ""
129
 
130
+ #: includes/functions.php:98
131
  msgid "H4 Typography"
132
  msgstr ""
133
 
134
+ #: includes/functions.php:99
135
  msgid "Select and configure the font for your H4 headings."
136
  msgstr ""
137
 
138
+ #: includes/functions.php:104
139
  msgid "H5 Typography"
140
  msgstr ""
141
 
142
+ #: includes/functions.php:105
143
  msgid "Select and configure the font for your H5 headings."
144
  msgstr ""
145
 
146
+ #: includes/functions.php:110
147
  msgid "H6 Typography"
148
  msgstr ""
149
 
150
+ #: includes/functions.php:111
151
  msgid "Select and configure the font for your H6 headings."
152
  msgstr ""
153
 
154
+ #: includes/functions.php:117
155
  msgid "Select and configure the font for your sidebar headings."
156
  msgstr ""
157
 
158
+ #: includes/functions.php:123
159
  msgid "Select and configure the font for your sidebar content."
160
  msgstr ""
161
 
162
+ #: includes/functions.php:129
163
  msgid "Select and configure the font for your footer headings."
164
  msgstr ""
165
 
166
+ #: includes/functions.php:137
167
  msgid "Select and configure the font for your footer content."
168
  msgstr ""
169
 
170
+ #: includes/functions.php:182
171
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:231
172
  msgid "Thin"
173
  msgstr ""
174
 
175
+ #: includes/functions.php:183
176
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:232
177
  msgid "Extra Light"
178
  msgstr ""
179
 
180
+ #: includes/functions.php:184
181
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:233
182
  msgid "Light"
183
  msgstr ""
184
 
185
+ #: includes/functions.php:185
186
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:234
187
+ #: includes/customizer/controls/class-ogf-customize-typography-control.php:256
188
  msgid "Normal"
189
  msgstr ""
190
 
191
+ #: includes/functions.php:186
192
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:235
193
  msgid "Medium"
194
  msgstr ""
195
 
196
+ #: includes/functions.php:187
197
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:236
198
  msgid "Semi Bold"
199
  msgstr ""
200
 
201
+ #: includes/functions.php:188
202
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:237
203
  msgid "Bold"
204
  msgstr ""
205
 
206
+ #: includes/functions.php:189
207
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:238
208
  msgid "Extra Bold"
209
  msgstr ""
210
 
211
+ #: includes/functions.php:190
212
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:239
213
  msgid "Ultra Bold"
214
  msgstr ""
215
 
216
+ #: includes/functions.php:197
217
+ #: includes/functions.php:221
218
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:230
219
+ #: includes/customizer/controls/class-ogf-customize-typography-control.php:255
220
  msgid "- Default -"
221
  msgstr ""
222
 
223
  #. translators: %s Link to Google Fonts customizer panel.
224
+ #: includes/class-ogf-welcome.php:104
225
  msgid "Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href=\"%s\">WordPress Customizer</a>"
226
  msgstr ""
227
 
228
+ #. translators: Number of years
229
+ #: includes/class-ogf-notifications.php:83
230
+ msgid "%s years"
231
+ msgstr ""
232
+
233
+ #: includes/class-ogf-notifications.php:85
234
+ msgid "a year"
235
+ msgstr ""
236
+
237
+ #. translators: Number of weeks
238
+ #: includes/class-ogf-notifications.php:91
239
+ msgid "%s weeks"
240
+ msgstr ""
241
+
242
+ #: includes/class-ogf-notifications.php:93
243
+ msgid "a week"
244
+ msgstr ""
245
+
246
+ #. translators: Number of days
247
+ #: includes/class-ogf-notifications.php:99
248
+ msgid "%s days"
249
+ msgstr ""
250
+
251
+ #: includes/class-ogf-notifications.php:101
252
+ msgid "a day"
253
+ msgstr ""
254
+
255
+ #: includes/class-ogf-notifications.php:226
256
+ msgid "Google Fonts WordPress Plugin"
257
+ msgstr ""
258
+
259
+ #: includes/class-ogf-notifications.php:229
260
+ msgid "Are you enjoying using Google Fonts?"
261
+ msgstr ""
262
+
263
+ #. translators: 1. Name, 2. Time
264
+ #: includes/class-ogf-notifications.php:233
265
+ 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?"
266
+ msgstr ""
267
+
268
+ #: includes/class-ogf-notifications.php:238
269
+ msgid "Leave a Review"
270
+ msgstr ""
271
+
272
+ #: includes/class-ogf-notifications.php:239
273
+ msgid "No thanks / I already have"
274
+ msgstr ""
275
+
276
+ #: includes/class-ogf-notifications.php:258
277
+ #: includes/class-ogf-notifications.php:307
278
+ msgid "Host Google Fonts Locally"
279
+ msgstr ""
280
+
281
+ #: includes/class-ogf-notifications.php:261
282
+ msgid "Speed Up Your Website!"
283
+ msgstr ""
284
+
285
+ #. translators: 1. Name, 2. Time
286
+ #: includes/class-ogf-notifications.php:265
287
+ msgid "Our latest <strong>free</strong> addon allows you to host Google Fonts locally.<br>This removes the requests to Google's servers and can equal faster load times."
288
+ msgstr ""
289
+
290
+ #: includes/class-ogf-notifications.php:270
291
+ msgid "Install Now"
292
+ msgstr ""
293
+
294
+ #: includes/class-ogf-notifications.php:271
295
+ msgid "No thank you."
296
+ msgstr ""
297
+
298
  #: includes/customizer/settings.php:135
299
  msgid "Force Styles?"
300
  msgstr ""
422
  msgid "Color"
423
  msgstr ""
424
 
425
+ #: includes/customizer/controls/class-ogf-customize-typography-control.php:257
426
  msgid "Italic"
427
  msgstr ""
428
 
429
+ #: includes/customizer/controls/class-ogf-customize-typography-control.php:258
430
  msgid "Oblique"
431
  msgstr ""
432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
  #: blocks/src/google-fonts/edit.js:120
434
  msgid "Font Settings"
435
  msgstr ""
olympus-google-fonts.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin Name: Google Fonts for WordPress
6
  * Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
7
  * Description: The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
8
- * Version: 1.6.0
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.6.0' );
22
  define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
23
  define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
24
 
5
  * Plugin Name: Google Fonts for WordPress
6
  * Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
7
  * Description: The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
8
+ * Version: 1.6.1
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.6.1' );
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.1
7
  License: GPLv2 or later
8
- Stable tag: 1.6.0
9
 
10
  The easiest to use Google Fonts Plugin. No coding required. 870+ font choices.
11
 
5
  Requires at least: 4.0
6
  Tested up to: 5.1
7
  License: GPLv2 or later
8
+ Stable tag: 1.6.1
9
 
10
  The easiest to use Google Fonts Plugin. No coding required. 870+ font choices.
11