Typekit Fonts for WordPress - Version 1.7

Version Description

  • Japanese language - thanks to ThemeBoy.
  • Improved translation support.
Download this release

Release Info

Developer jamescollins
Plugin Icon 128x128 Typekit Fonts for WordPress
Version 1.7
Comparing to
See all releases

Code changes from version 1.6 to 1.7

languages/_readme.txt CHANGED
@@ -1,12 +1,5 @@
1
- If a translation file for your language does not come bundled with this plugin, then check out this URL:
2
-
3
- http://codex.wordpress.org/Translating_WordPress
4
-
5
- It will walk you through how to translate the plugin using the provided template file, "om4-typekit.pot".
6
-
7
- Once you're done and have the plugin translated, please send us your translation file so that we can
8
- bundle it with future version of this plugin: http://om4.com.au/plugin-support-request/
9
 
10
  I will give you credit and it will help others who speak your language.
11
 
12
- Thanks!
1
+ If you would like to help translate this plugin into another language, please visit the Transifex project page: https://www.transifex.com/projects/p/typekit-fonts-for-wordpress/
 
 
 
 
 
 
 
2
 
3
  I will give you credit and it will help others who speak your language.
4
 
5
+ Thank you!
languages/om4-typekit-ja.mo ADDED
Binary file
languages/om4-typekit-ja.po ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 OM4
2
+ # This file is distributed under the same license as the Typekit Fonts for WordPress package.
3
+ # Translators:
4
+ # ThemeBoy <support@themeboy.com>, 2014
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Typekit Fonts for WordPress\n"
8
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/typekit-fonts-for-"
9
+ "wordpress\n"
10
+ "POT-Creation-Date: 2014-08-03 03:55:30+00:00\n"
11
+ "PO-Revision-Date: 2014-08-03 22:07+1000\n"
12
+ "Last-Translator: James Collins <james@om4.com.au>\n"
13
+ "Language-Team: Japanese (http://www.transifex.com/projects/p/typekit-fonts-"
14
+ "for-wordpress/language/ja/)\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Language: ja\n"
19
+ "Plural-Forms: nplurals=1; plural=0;\n"
20
+ "X-Generator: Poedit 1.6.7\n"
21
+
22
+ #: typekit-admin.php:28
23
+ msgid "Typekit Fonts"
24
+ msgstr "Typekit フォント"
25
+
26
+ #: typekit-admin.php:57
27
+ msgid ""
28
+ " Please <a href=\"%s\">click here for instructions</a> on how to obtain your "
29
+ "Typekit embed code."
30
+ msgstr ""
31
+ "Typekit 埋め込みコードを取得するには<a href=\"%s\">ここをクリック</a>してくだ"
32
+ "さい。"
33
+
34
+ #: typekit-admin.php:60
35
+ msgid "Invalid Typekit embed code. %s"
36
+ msgstr "無効な Typekit 埋め込みコード。%s"
37
+
38
+ #: typekit-admin.php:63
39
+ msgid "You must enter your Typekit embed code. %s"
40
+ msgstr "Typekit 埋め込みコードの入力が必要です。%s"
41
+
42
+ #: typekit-admin.php:75
43
+ msgid ""
44
+ "Your Typekit embed code may be incorrect because <a href=\"%1$s\" target="
45
+ "\"_blank\">%1$s</a> does not exist. Please verify that your Typekit embed "
46
+ "code is correct. If you have just published your kit, please try again in a "
47
+ "few minutes."
48
+ msgstr ""
49
+ "<a href=\"%1$s\" target=\"_blank\">%1$s</a> が存在しないため、あなたの "
50
+ "Typekit 埋め込みコードは無効です。Typekit 埋め込みコードが正しく入力されたこ"
51
+ "とをお確かめください。新しく公開された場合は、数分後、再度試してください。"
52
+
53
+ #: typekit-admin.php:86
54
+ msgid "Settings saved."
55
+ msgstr "設定を保存しました。"
56
+
57
+ #: typekit-admin.php:92
58
+ msgid "Typekit Fonts for WordPress Settings"
59
+ msgstr "WordPress 設定用 Typekit フォント"
60
+
61
+ #: typekit-admin.php:93
62
+ msgid ""
63
+ "Typekit offer a service that allows you to select from a range of hundreds "
64
+ "of high quality fonts for your WordPress website. The fonts are applied "
65
+ "using the font-face standard, so they are standards compliant, fully "
66
+ "licensed and accessible."
67
+ msgstr ""
68
+ "Typekit は、様々なフォントから選択し、あなたの WordPress サイトで使用すること"
69
+ "ができるサービスを提供しています。標準の font-face を使用し適用されているの"
70
+ "で、ライセンスの問題もなく、アクセシビリティ機能も埋め込まれてます。"
71
+
72
+ #: typekit-admin.php:94
73
+ msgid ""
74
+ "To use this plugin you need to sign up with Typekit, and then configure the "
75
+ "following options."
76
+ msgstr ""
77
+ "このプラグインを使用するには Typekit で登録し、下記のオプションを設定する必要"
78
+ "があります。"
79
+
80
+ #: typekit-admin.php:95
81
+ msgid "Register with Typekit"
82
+ msgstr "Typekit で登録する"
83
+
84
+ #: typekit-admin.php:97
85
+ msgid ""
86
+ "Go to <a href=\"%s\" target=\"blank\">typekit.com</a> and register for an "
87
+ "account"
88
+ msgstr ""
89
+ "<a href=\"%s\" target=\"blank\">typekit.com</a> にアクセスし、アカウントを登"
90
+ "録してください"
91
+
92
+ #: typekit-admin.php:98
93
+ msgid "Choose a few fonts to add to your account and Publish them"
94
+ msgstr "あなたのアカウントからフォントを選択し、公開してください"
95
+
96
+ #: typekit-admin.php:99
97
+ msgid ""
98
+ "Go to the Kit Editor and get your Embed Code (link at the top right of the "
99
+ "screen)"
100
+ msgstr ""
101
+ "Kit Editor へアクセスし、埋め込みコードを取得してください (画面右上のリンク)"
102
+
103
+ #: typekit-admin.php:101
104
+ msgid "Plugin Configuration"
105
+ msgstr "プラグイン設定"
106
+
107
+ #: typekit-admin.php:103
108
+ msgid "Enter the whole 2 lines of your embed code into the box below."
109
+ msgstr "下のボックスにあなたの埋め込みコードの全体の2行を入力してください。"
110
+
111
+ #: typekit-admin.php:104
112
+ msgid "Typekit Embed Code:"
113
+ msgstr "Typekit 埋め込みコード:"
114
+
115
+ #: typekit-admin.php:106
116
+ msgid ""
117
+ "You can add selectors using the Typekit Kit Editor. Alternatively you can "
118
+ "define your own CSS rules in your own style sheet or using the Custom CSS "
119
+ "Rules field below (technical note: these CSS rules will be embedded in the "
120
+ "header of each page). Look at the advanced examples shown in the Typekit "
121
+ "editor for ideas."
122
+ msgstr ""
123
+ "Typekit エディタを使用してセレクターを追加できます。あるいは下の「カスタム "
124
+ "CSS ルール」フィールドを使用して自分の CSS ルールを追加できます(※この CSS "
125
+ "ルールは各ページのヘッダーに埋め込まれます)。Typekit エディタに表示されている"
126
+ "例をご覧ください。"
127
+
128
+ #: typekit-admin.php:107
129
+ msgid "Custom CSS Rules:"
130
+ msgstr "カスタム CSS ルール:"
131
+
132
+ #: typekit-admin.php:108
133
+ msgid "Click here for help on CSS"
134
+ msgstr "CSS ヘルプはこちら"
135
+
136
+ #: typekit-admin.php:113
137
+ msgid "Save Settings"
138
+ msgstr "設定を保存"
139
+
140
+ #: typekit-admin.php:115
141
+ msgid "Help"
142
+ msgstr "ヘルプ"
143
+
144
+ #: typekit-admin.php:116
145
+ msgid "Fonts not showing?"
146
+ msgstr "フォントが表示されない場合"
147
+
148
+ #: typekit-admin.php:118
149
+ msgid ""
150
+ "Have you created your Typekit account, added fonts to it and <strong>pressed "
151
+ "Publish</strong>? Fonts aren't available until they are published."
152
+ msgstr ""
153
+ "Typekit アカウントを作成し、フォントを追加・公開しましたか?フォントは公開さ"
154
+ "れるまで利用できません。"
155
+
156
+ #: typekit-admin.php:119
157
+ msgid ""
158
+ "Have you <strong>waited a few minutes</strong> to allow Typekit time to send "
159
+ "your fonts out around the world? Grab a cup of coffee and try again soon."
160
+ msgstr ""
161
+ "世界各国の Typekit サーバーが更新されるまで<strong>数分かかる場合があります</"
162
+ "strong>。少し時間を置き、再度試してください。"
163
+
164
+ #: typekit-admin.php:120
165
+ msgid ""
166
+ "Have you <strong>added CSS rules</strong> to display your fonts? If in "
167
+ "doubt, just try the H2 rule shown in the example and see if that works for "
168
+ "you."
169
+ msgstr ""
170
+ "フォントを表示する <strong>CSS ルールを追加</strong>しましたか?不明な場合、"
171
+ "サンプルの H2 ルールで試してみてください。"
172
+
173
+ #: typekit-admin.php:122
174
+ msgid "CSS"
175
+ msgstr "CSS"
176
+
177
+ #: typekit-admin.php:123
178
+ msgid ""
179
+ "You can use CSS selectors to apply your new typekit fonts. The settings for "
180
+ "this plugin allow you to add new CSS rules to your website to activate "
181
+ "Typekit fonts. If you are using fonts for more than just a few elements, you "
182
+ "may find it easier to manage this way. And using your own CSS rules is a "
183
+ "good way to access different font weights."
184
+ msgstr ""
185
+ "この CSS セレクターを新規 Typekit フォントに適用できます。このプラグインの設"
186
+ "定を使用して Typekit フォントに CSS ルールを追加できます。多くのエレメントに"
187
+ "フォントを使用している場合、この管理方法をおすすめします。さらに、自分の CSS "
188
+ "ルールを使用することによって文字の太さを変えることができます。"
189
+
190
+ #: typekit-admin.php:124
191
+ msgid ""
192
+ "There are many options for using CSS, but here are a few common scenarios. "
193
+ "Note: we've used proxima-nova for our examples, you'll need to change "
194
+ "proxima-nova to the name of your chosen font from Typekit - your added font "
195
+ "names will be visible in the Kit Editor."
196
+ msgstr ""
197
+ "CSS を使用する方法は様々ですが、ここでは一般的なシナリオを紹介します。注: こ"
198
+ "の例では「proxima-nova」を使用しており、「proxima-nova」をあなたの選択した "
199
+ "Typekit フォント名に変更しください。フォント名は Kit Editor で表示されていま"
200
+ "す。"
201
+
202
+ #: typekit-admin.php:125
203
+ msgid "Headings"
204
+ msgstr "見出し"
205
+
206
+ #: typekit-admin.php:127
207
+ msgid ""
208
+ "If you want your Typekit fonts to be used for H2 headings, add a rule like "
209
+ "this to your CSS Rules field:"
210
+ msgstr ""
211
+ "Typekit フォントを H2 見出しに使用されたい場合、次のようなルールを「CSS ルー"
212
+ "ル」フィールドに追加してください:"
213
+
214
+ #: typekit-admin.php:129
215
+ msgid ""
216
+ "(and you can add similar rules if you want to target other headings such as "
217
+ "H3)"
218
+ msgstr "(H3 など他の見出しにも似たようなルールでターゲティングできます)"
219
+
220
+ #: typekit-admin.php:131
221
+ msgid "Sidebar Headings"
222
+ msgstr "サイドバーの見出し"
223
+
224
+ #: typekit-admin.php:133
225
+ msgid ""
226
+ "If you want your Typekit fonts to be used for sidebar H2 headings, add a "
227
+ "rule like this to your CSS Rules field:"
228
+ msgstr ""
229
+ "Typekit フォントをサイドバーの H2 見出しに使用されたい場合、次のようなルール"
230
+ "を「CSS ルール」フィールドに追加してください:"
231
+
232
+ #: typekit-admin.php:136
233
+ msgid "Font Weights"
234
+ msgstr "文字の太さ"
235
+
236
+ #: typekit-admin.php:137
237
+ msgid ""
238
+ "If your Kit contains more than one weight and/or style for a particular "
239
+ "font, you need to use numeric <code class=\"inline\">font-weight</code> "
240
+ "values in your CSS rules to map to a font's weights."
241
+ msgstr ""
242
+ "あなたの Kit に複数の文字の太さまたはスタイルが含まれているフォントがある場合"
243
+ "は、 文字の太さにマップするために数値の <code class=\"inline\">font-weight</"
244
+ "code> を CSS ルールに含む必要があります。"
245
+
246
+ #: typekit-admin.php:138
247
+ msgid ""
248
+ "Typekit fonts have been assigned values from 100 to 900 based on information "
249
+ "from the font's designer. Web browsers also do some guessing as to which "
250
+ "weight it should display if the specific value isn't present. Say your font "
251
+ "has 100, 300 and 900. If you set your text with <code class=\"inline\">font-"
252
+ "weight: 400</code>, it will choose the most appropriate (300 in this case)."
253
+ "<br />Note: A <code class=\"inline\">font-weight</code> value of 400 "
254
+ "corresponds to <code class=\"inline\">font-weight: normal;</code>"
255
+ msgstr ""
256
+ "フォントのデザイナーからの情報により、Typekit フォントは100から900までの値が"
257
+ "割り当てられています。なお、値が存在しない場合はブラウザーが表示すべき文字の"
258
+ "太さを自動的に判断します。例えば、100、300、900の太さを含むフォントがあるとし"
259
+ "ます。テキストの設定が <code class=\"inline\">font-weight: 400</code> の場"
260
+ "合、最も適している太さ(この場合は300)が選択されます。<br />注: 値が400の "
261
+ "<code class=\"inline\">font-weight</code> は <code class=\"inline\">font-"
262
+ "weight: normal;</code> に相当します。"
263
+
264
+ #: typekit-admin.php:139
265
+ msgid "See <a href=\"%s\">this help article</a> for more details."
266
+ msgstr "詳しくは<a href=\"%s\">この投稿</a>をご覧ください。"
267
+
268
+ #: typekit-admin.php:140
269
+ msgid "Advanced targetting of fonts with CSS selectors"
270
+ msgstr "CSSセレクタを持つフォントの高度なターゲッティング"
271
+
272
+ #: typekit-admin.php:142
273
+ msgid ""
274
+ "You can target your fonts to specific parts of your website if you know a "
275
+ "bit more about your current WordPress theme and where the font family is "
276
+ "specified. All WordPress themes have a style.css file, and if you know how "
277
+ "to check that you should be able to see the selectors in use. Or you can "
278
+ "install Chris Pederick's Web Developer Toolbar for Firefox and use the CSS, "
279
+ "View CSS option to see all the CSS rules in use for your theme. When you "
280
+ "find the selectors that are used for font-family, you can create a rule just "
281
+ "for that selector to override that rule."
282
+ msgstr "使用中の WordPress テーマおよびフォントファミリーについて詳しい場合、"
283
+
284
+ #: typekit-admin.php:143
285
+ msgid "For example, if your theme has this CSS rule:"
286
+ msgstr "例えば、使用中のテーマにこのCSSルールが存在する場合:"
287
+
288
+ #: typekit-admin.php:145
289
+ msgid ""
290
+ "you could create this rule to apply your new font to the body of your "
291
+ "website:"
292
+ msgstr ""
293
+ "このルールを作成することにより、あなたのフォントをウェブサイト本文に適用でき"
294
+ "ます:"
295
+
296
+ #: typekit-admin.php:148
297
+ msgid "Where to go to get help"
298
+ msgstr "ヘルプはこちら"
299
+
300
+ #: typekit-admin.php:150
301
+ msgid "<a href=\"%s\" target=\"_blank\">Typekit Support</a>"
302
+ msgstr "<a href=\"%s\" target=\"_blank\">Typekit サポート</a>"
303
+
304
+ #: typekit-admin.php:151
305
+ msgid "<a href=\"%s\" target=\"_blank\">Sitepoint CSS Forums</a>"
306
+ msgstr "<a href=\"%s\" target=\"_blank\">Sitepoint CSS フォーラム</a>"
307
+
308
+ #: typekit-admin.php:152
309
+ msgid "<a href=\"%s\" target=\"_blank\">W3Schools CSS Help</a>"
310
+ msgstr "<a href=\"%s\" target=\"_blank\">W3Schools CSS ヘルプ</a>"
311
+
312
+ #. Plugin Name of the plugin/theme
313
+ msgid "Typekit Fonts for WordPress"
314
+ msgstr "ワードプレス用 Typekit フォント"
315
+
316
+ #. Plugin URI of the plugin/theme
317
+ msgid "http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/"
318
+ msgstr ""
319
+ "http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/"
320
+
321
+ #. Description of the plugin/theme
322
+ msgid ""
323
+ "Use a range of hundreds of high quality fonts on your WordPress website by "
324
+ "integrating the <a href=\"http://typekit.com\">Typekit</a> font service into "
325
+ "your WordPress blog."
326
+ msgstr ""
327
+ "<a href=\"http://typekit.com\">Typekit</a> を使用することにより、様々なフォン"
328
+ "トをあなたの WordPress ブログに埋め込むことができます。"
329
+
330
+ #. Author of the plugin/theme
331
+ msgid "OM4"
332
+ msgstr "OM4"
333
+
334
+ #. Author URI of the plugin/theme
335
+ msgid "http://om4.com.au/"
336
+ msgstr "http://om4.com.au/"
languages/om4-typekit.pot CHANGED
@@ -1,14 +1,15 @@
1
- # Copyright (C) 2012
2
- # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/typekit-fonts-for-wordpress\n"
7
- "POT-Creation-Date: 2012-07-24 00:15:28+00:00\n"
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -18,8 +19,8 @@ msgstr ""
18
 
19
  #: typekit-admin.php:57
20
  msgid ""
21
- " Please <a href=\"#getembedcode\">click here for instructions</a> on how to "
22
- "obtain your Typekit embed code."
23
  msgstr ""
24
 
25
  #: typekit-admin.php:60
@@ -66,8 +67,8 @@ msgstr ""
66
 
67
  #: typekit-admin.php:97
68
  msgid ""
69
- "Go to <a href=\"http://typekit.com\" target=\"blank\">typekit.com</a> and "
70
- "register for an account"
71
  msgstr ""
72
 
73
  #: typekit-admin.php:98
@@ -244,19 +245,36 @@ msgid "Where to go to get help"
244
  msgstr ""
245
 
246
  #: typekit-admin.php:150
247
- msgid ""
248
- "<a href=\"http://getsatisfaction.com/typekit/\" target=\"_blank\">Typekit "
249
- "Support</a>"
250
  msgstr ""
251
 
252
  #: typekit-admin.php:151
253
- msgid ""
254
- "<a href=\"http://www.sitepoint.com/forums/forumdisplay.php?f=53\" target="
255
- "\"_blank\">Sitepoint CSS Forums</a>"
256
  msgstr ""
257
 
258
  #: typekit-admin.php:152
 
 
 
 
 
 
 
 
 
 
 
 
259
  msgid ""
260
- "<a href=\"http://www.w3schools.com/CSS/default.asp\" target=\"_blank"
261
- "\">W3Schools CSS Help</a>"
 
 
 
 
 
 
 
 
 
262
  msgstr ""
1
+ # Copyright (C) 2014 OM4
2
+ # This file is distributed under the same license as the Typekit Fonts for WordPress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Typekit Fonts for WordPress 1.7-dev\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/typekit-fonts-for-"
7
+ "wordpress\n"
8
+ "POT-Creation-Date: 2014-08-03 03:55:30+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
19
 
20
  #: typekit-admin.php:57
21
  msgid ""
22
+ " Please <a href=\"%s\">click here for instructions</a> on how to obtain your "
23
+ "Typekit embed code."
24
  msgstr ""
25
 
26
  #: typekit-admin.php:60
67
 
68
  #: typekit-admin.php:97
69
  msgid ""
70
+ "Go to <a href=\"%s\" target=\"blank\">typekit.com</a> and register for an "
71
+ "account"
72
  msgstr ""
73
 
74
  #: typekit-admin.php:98
245
  msgstr ""
246
 
247
  #: typekit-admin.php:150
248
+ msgid "<a href=\"%s\" target=\"_blank\">Typekit Support</a>"
 
 
249
  msgstr ""
250
 
251
  #: typekit-admin.php:151
252
+ msgid "<a href=\"%s\" target=\"_blank\">Sitepoint CSS Forums</a>"
 
 
253
  msgstr ""
254
 
255
  #: typekit-admin.php:152
256
+ msgid "<a href=\"%s\" target=\"_blank\">W3Schools CSS Help</a>"
257
+ msgstr ""
258
+
259
+ #. Plugin Name of the plugin/theme
260
+ msgid "Typekit Fonts for WordPress"
261
+ msgstr ""
262
+
263
+ #. Plugin URI of the plugin/theme
264
+ msgid "http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/"
265
+ msgstr ""
266
+
267
+ #. Description of the plugin/theme
268
  msgid ""
269
+ "Use a range of hundreds of high quality fonts on your WordPress website by "
270
+ "integrating the <a href=\"http://typekit.com\">Typekit</a> font service into "
271
+ "your WordPress blog."
272
+ msgstr ""
273
+
274
+ #. Author of the plugin/theme
275
+ msgid "OM4"
276
+ msgstr ""
277
+
278
+ #. Author URI of the plugin/theme
279
+ msgid "http://om4.com.au/"
280
  msgstr ""
readme.txt CHANGED
@@ -1,120 +1,133 @@
1
- === Typekit Fonts for WordPress ===
2
- Contributors: jamescollins, glenn-om4
3
- Donate link: http://om4.com.au/wordpress-plugins/#donate
4
- Tags: typekit, fonts, font, design, wp, multisite, wpmu
5
- Requires at least: 3.6
6
- Tested up to: 3.8
7
- Stable tag: 1.6
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- Use a range of hundreds of high quality fonts on your WordPress website by integrating the Typekit font service into your WordPress blog.
12
-
13
- == Description ==
14
-
15
- Allows you to embed and use [Typekit](http://www.typekit.com) fonts in your WordPress website without having to edit your theme.
16
-
17
- Typekit offer a service that allows you to select from a range of hundreds of high quality fonts for your WordPress website. The fonts are applied using the font-face standard, so they are standards compliant, fully licensed and accessible.
18
-
19
- To use this plugin you need to sign up with Typekit, install this plugin and then either configure some Typekit selectors or define your own CSS rules. Typekit selectors provide a quick and easy way to get fonts enabled on your site. Using your own CSS rules (as explained in Typekit's Advanced tips) gives you more control and lets you access additional attributes such as font-weight. This plugin allows you to create your own CSS rules that use Typekit fonts without the need to edit/upload CSS style sheets.
20
-
21
- Detailed instructions are available on the plugin's settings page.
22
-
23
- Compatible with WordPress Multisite.
24
-
25
- This plugin is designed to function securely with both WordPress and WordPress Multisite. When the JavaScript Embed Code is entered on the settings page, the user account id is extracted from the embed code and the correctly formed Typekit Embed Code is included in the site header, so it is not possible to use the Embed Code field to include arbitrary JavaScript. The Custom CSS field is also filtered, and doesn't allow any HTML code to be entered.
26
-
27
- If the website is using HTTPS/SSL, the SSL version of the Typekit embed code is automatically used instead.
28
-
29
- See the [Typekit Fonts for WordPress Plugin](http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/) home page for further information.
30
-
31
- == Installation ==
32
-
33
- Installation of this plugin is simple:
34
-
35
- 1. Download the plugin files and copy to your Plugins directory.
36
- 1. Activate the plugin through the 'Plugins' menu in WordPress.
37
- 1. Go to the WordPress Dashboard, and use Settings, Typekit Fonts to enter the whole 2 lines of your Typekit embed code.
38
- 1. If you want to setup some CSS selectors like the examples shown in the Advanced link, enter your CSS rules in the plugin settings as well.
39
-
40
- == Frequently Asked Questions ==
41
-
42
- = Where can I get help? =
43
-
44
- There are detailed instructions on the plugin's settings page. See screenshot #2 for more information.
45
-
46
- = Is this plugin secure? =
47
-
48
- Yes, see the plugin's description for more information.
49
-
50
- = Which web browser(s) does Typekit support? =
51
-
52
- Please see [this page](http://help.typekit.com/customer/portal/articles/6786-browser-and-os-support) for information on [Typekit web browser support](http://help.typekit.com/customer/portal/articles/6786-browser-and-os-support).
53
-
54
- == Screenshots ==
55
- 1. Settings/configuration page
56
- 2. Detailed inline help
57
-
58
- == Changelog ==
59
-
60
- = 1.6 =
61
- * WordPress 3.8 compatibility.
62
-
63
- = 1.5 =
64
- * WordPress 3.5 compatibility.
65
-
66
- = 1.4 =
67
- * Use the new scheme-less typekit.net embed code format ( //use.typekit.net/xyz.js ).
68
-
69
- = 1.3.1 =
70
- * WordPress 3.4 compatibility.
71
- * Clarify license as GPLv2 or later.
72
-
73
- = 1.3 =
74
- * WordPress 3.3 compatibility.
75
-
76
- = 1.2 =
77
- * Fix invalid HTML on settings page.
78
- * Properly save/display settings.
79
- * WordPress 3.2 compatibility.
80
- * Translation/localization improvements.
81
- * Fix localization deprecated notice (thanks to aradams for reporting).
82
- * Store translation files in a /languages sub directory.
83
-
84
- = 1.1 =
85
- * WordPress 3.1 compatibility.
86
-
87
- = 1.0.3 =
88
- * Add support for HTTPS/SSL websites.
89
- * WordPress 3.0.1 compatibility.
90
-
91
- = 1.0.2 =
92
- * Add instructions on how to use Typekit Kit Editor selectors.
93
- * Add instructions on how to use font weights / styles.
94
-
95
- = 1.0.1 =
96
- * WordPress 2.9 compatibility.
97
- * Improve FAQ.
98
-
99
- = 1.0.0 =
100
- * Initial release.
101
-
102
- == Upgrade Notice ==
103
-
104
- = 1.5 =
105
- * WordPress 3.5 compatibility.
106
-
107
- = 1.4 =
108
- * Adds support for Typekit's new embed code format.
109
-
110
- = 1.3.1 =
111
- * WordPress 3.4 compatibility, clarify license as GPLv2 or later.
112
-
113
- = 1.3 =
114
- * WordPress 3.3 compatibility.
115
-
116
- = 1.2 =
117
- * WordPress 3.2 compatibility, translation/localization improvements, invalid HTML fixes.
118
-
119
- = 1.1 =
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  * WordPress 3.1 compatibility.
1
+ === Typekit Fonts for WordPress ===
2
+ Contributors: jamescollins, glenn-om4
3
+ Donate link: http://om4.com.au/wordpress-plugins/#donate
4
+ Tags: typekit, fonts, font, design, wp, multisite, wpmu
5
+ Requires at least: 3.6
6
+ Tested up to: 4.0
7
+ Stable tag: 1.7
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Use a range of hundreds of high quality fonts on your WordPress website by integrating the Typekit font service into your WordPress website or blog.
12
+
13
+ == Description ==
14
+
15
+ Allows you to embed and use [Typekit](http://www.typekit.com) fonts in your WordPress website without having to edit your theme.
16
+
17
+ Typekit offer a service that allows you to select from a range of hundreds of high quality fonts for your WordPress website. The fonts are applied using the font-face standard, so they are standards compliant, fully licensed and accessible.
18
+
19
+ To use this plugin you need to sign up with Typekit, install this plugin and then either configure some Typekit selectors or define your own CSS rules. Typekit selectors provide a quick and easy way to get fonts enabled on your site. Using your own CSS rules (as explained in Typekit's Advanced tips) gives you more control and lets you access additional attributes such as font-weight. This plugin allows you to create your own CSS rules that use Typekit fonts without the need to edit/upload CSS style sheets.
20
+
21
+ Detailed instructions are available on the plugin's settings page.
22
+
23
+ Compatible with WordPress Multisite.
24
+
25
+ This plugin is designed to function securely with both WordPress and WordPress Multisite. When the JavaScript Embed Code is entered on the settings page, the user account id is extracted from the embed code and the correctly formed Typekit Embed Code is included in the site header, so it is not possible to use the Embed Code field to include arbitrary JavaScript. The Custom CSS field is also filtered, and doesn't allow any HTML code to be entered.
26
+
27
+ If the website is using HTTPS/SSL, the SSL version of the Typekit embed code is automatically used instead.
28
+
29
+ **Available Languages**
30
+
31
+ * Japanese – 日本語 ( ja )
32
+
33
+ **Other Languages**
34
+
35
+ If you would like to help translate this plugin into another language, [please visit the Transifex project page](https://www.transifex.com/projects/p/typekit-fonts-for-wordpress/). Thank you.
36
+
37
+ == Installation ==
38
+
39
+ Installation of this plugin is simple:
40
+
41
+ 1. Download the plugin files and copy to your Plugins directory.
42
+ 1. Activate the plugin through the 'Plugins' menu in WordPress.
43
+ 1. Go to the WordPress Dashboard, and use Settings, Typekit Fonts to enter the whole 2 lines of your Typekit embed code.
44
+ 1. If you want to setup some CSS selectors like the examples shown in the Advanced link, enter your CSS rules in the plugin settings as well.
45
+
46
+ == Frequently Asked Questions ==
47
+
48
+ = Where can I get help? =
49
+
50
+ There are detailed instructions on the plugin's settings page. See screenshot #2 for more information.
51
+
52
+ = Is this plugin secure? =
53
+
54
+ Yes, see the plugin's description for more information.
55
+
56
+ = Which web browser(s) does Typekit support? =
57
+
58
+ Please see [this page](http://help.typekit.com/customer/portal/articles/6786-browser-and-os-support) for information on [Typekit web browser support](http://help.typekit.com/customer/portal/articles/6786-browser-and-os-support).
59
+
60
+ == Screenshots ==
61
+ 1. Settings/configuration page
62
+ 2. Detailed inline help
63
+
64
+ == Changelog ==
65
+
66
+ = 1.7 =
67
+ * Japanese language - thanks to ThemeBoy.
68
+ * Improved translation support.
69
+
70
+ = 1.6 =
71
+ * WordPress 3.8 compatibility.
72
+
73
+ = 1.5 =
74
+ * WordPress 3.5 compatibility.
75
+
76
+ = 1.4 =
77
+ * Use the new scheme-less typekit.net embed code format ( //use.typekit.net/xyz.js ).
78
+
79
+ = 1.3.1 =
80
+ * WordPress 3.4 compatibility.
81
+ * Clarify license as GPLv2 or later.
82
+
83
+ = 1.3 =
84
+ * WordPress 3.3 compatibility.
85
+
86
+ = 1.2 =
87
+ * Fix invalid HTML on settings page.
88
+ * Properly save/display settings.
89
+ * WordPress 3.2 compatibility.
90
+ * Translation/localization improvements.
91
+ * Fix localization deprecated notice (thanks to aradams for reporting).
92
+ * Store translation files in a /languages sub directory.
93
+
94
+ = 1.1 =
95
+ * WordPress 3.1 compatibility.
96
+
97
+ = 1.0.3 =
98
+ * Add support for HTTPS/SSL websites.
99
+ * WordPress 3.0.1 compatibility.
100
+
101
+ = 1.0.2 =
102
+ * Add instructions on how to use Typekit Kit Editor selectors.
103
+ * Add instructions on how to use font weights / styles.
104
+
105
+ = 1.0.1 =
106
+ * WordPress 2.9 compatibility.
107
+ * Improve FAQ.
108
+
109
+ = 1.0.0 =
110
+ * Initial release.
111
+
112
+ == Upgrade Notice ==
113
+
114
+ = 1.7 =
115
+ * Japanese language support.
116
+
117
+ = 1.5 =
118
+ * WordPress 3.5 compatibility.
119
+
120
+ = 1.4 =
121
+ * Adds support for Typekit's new embed code format.
122
+
123
+ = 1.3.1 =
124
+ * WordPress 3.4 compatibility, clarify license as GPLv2 or later.
125
+
126
+ = 1.3 =
127
+ * WordPress 3.3 compatibility.
128
+
129
+ = 1.2 =
130
+ * WordPress 3.2 compatibility, translation/localization improvements, invalid HTML fixes.
131
+
132
+ = 1.1 =
133
  * WordPress 3.1 compatibility.
typekit-admin.php CHANGED
@@ -54,7 +54,7 @@ class OM4_Typekit_Admin {
54
  ?>
55
  <div id="error" class="error"><p>
56
  <?php
57
- $instructions = __(' Please <a href="#getembedcode">click here for instructions</a> on how to obtain your Typekit embed code.', 'om4-typekit');
58
  if (strlen($_POST['embedcode'])) {
59
  // an embed code has been submitted, but was rejected
60
  printf(__('Invalid Typekit embed code. %s', 'om4-typekit'), $instructions);
@@ -94,7 +94,7 @@ class OM4_Typekit_Admin {
94
  <p><?php _e('To use this plugin you need to sign up with Typekit, and then configure the following options.', 'om4-typekit'); ?></p>
95
  <h3><?php _e('Register with Typekit', 'om4-typekit'); ?></h3>
96
  <ol>
97
- <li><?php _e('Go to <a href="http://typekit.com" target="blank">typekit.com</a> and register for an account', 'om4-typekit'); ?></li>
98
  <li><?php _e('Choose a few fonts to add to your account and Publish them', 'om4-typekit'); ?></li>
99
  <li id="getembedcode"><?php _e('Go to the Kit Editor and get your Embed Code (link at the top right of the screen)', 'om4-typekit'); ?></li>
100
  </ol>
@@ -147,9 +147,9 @@ class OM4_Typekit_Admin {
147
  </p>
148
  <h4 id="help-css-external"><?php _e('Where to go to get help', 'om4-typekit'); ?></h4>
149
  <p class="indent">
150
- <?php _e('<a href="http://getsatisfaction.com/typekit/" target="_blank">Typekit Support</a>', 'om4-typekit'); ?>
151
- <br /><?php _e('<a href="http://www.sitepoint.com/forums/forumdisplay.php?f=53" target="_blank">Sitepoint CSS Forums</a>', 'om4-typekit'); ?>
152
- <br /><?php _e('<a href="http://www.w3schools.com/CSS/default.asp" target="_blank">W3Schools CSS Help</a>', 'om4-typekit'); ?>
153
  </p>
154
  </div>
155
  <?php
54
  ?>
55
  <div id="error" class="error"><p>
56
  <?php
57
+ $instructions = sprintf( __(' Please <a href="%s">click here for instructions</a> on how to obtain your Typekit embed code.', 'om4-typekit'), '#getembedcode');
58
  if (strlen($_POST['embedcode'])) {
59
  // an embed code has been submitted, but was rejected
60
  printf(__('Invalid Typekit embed code. %s', 'om4-typekit'), $instructions);
94
  <p><?php _e('To use this plugin you need to sign up with Typekit, and then configure the following options.', 'om4-typekit'); ?></p>
95
  <h3><?php _e('Register with Typekit', 'om4-typekit'); ?></h3>
96
  <ol>
97
+ <li><?php printf( __('Go to <a href="%s" target="blank">typekit.com</a> and register for an account', 'om4-typekit'), 'http://typekit.com'); ?></li>
98
  <li><?php _e('Choose a few fonts to add to your account and Publish them', 'om4-typekit'); ?></li>
99
  <li id="getembedcode"><?php _e('Go to the Kit Editor and get your Embed Code (link at the top right of the screen)', 'om4-typekit'); ?></li>
100
  </ol>
147
  </p>
148
  <h4 id="help-css-external"><?php _e('Where to go to get help', 'om4-typekit'); ?></h4>
149
  <p class="indent">
150
+ <?php printf( __('<a href="%s" target="_blank">Typekit Support</a>', 'om4-typekit'), 'http://getsatisfaction.com/typekit/' ); ?>
151
+ <br /><?php printf( __('<a href="%s" target="_blank">Sitepoint CSS Forums</a>', 'om4-typekit'), 'http://www.sitepoint.com/forums/forumdisplay.php?f=53' ); ?>
152
+ <br /><?php printf( __('<a href="%s" target="_blank">W3Schools CSS Help</a>', 'om4-typekit'), 'http://www.w3schools.com/CSS/default.asp' ); ?>
153
  </p>
154
  </div>
155
  <?php
typekit.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Typekit Fonts for WordPress
4
  Plugin URI: http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/
5
  Description: Use a range of hundreds of high quality fonts on your WordPress website by integrating the <a href="http://typekit.com">Typekit</a> font service into your WordPress blog.
6
- Version: 1.6
7
  Author: OM4
8
  Author URI: http://om4.com.au/
9
  Text Domain: om4-typekit
@@ -11,7 +11,7 @@ License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
- /* Copyright 2009-2012 OM4 (email : info@om4.com.au)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -88,11 +88,11 @@ class OM4_Typekit {
88
  // Store the name of the directory that this plugin is installed in
89
  $this->dirname = str_replace('/typekit.php', '', plugin_basename(__FILE__));
90
 
91
- register_activation_hook(__FILE__, array(&$this, 'Activate'));
92
 
93
- add_action('init', array(&$this, 'Initialise'));
94
 
95
- add_action('wp_head', array(&$this, 'HeaderCode'), 99);
96
 
97
  $data = get_option($this->optionName);
98
  if (is_array($data)) {
3
  Plugin Name: Typekit Fonts for WordPress
4
  Plugin URI: http://om4.com.au/wordpress-plugins/typekit-fonts-for-wordpress-plugin/
5
  Description: Use a range of hundreds of high quality fonts on your WordPress website by integrating the <a href="http://typekit.com">Typekit</a> font service into your WordPress blog.
6
+ Version: 1.7
7
  Author: OM4
8
  Author URI: http://om4.com.au/
9
  Text Domain: om4-typekit
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
+ /* Copyright 2009-2014 OM4 (email : info@om4.com.au)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
88
  // Store the name of the directory that this plugin is installed in
89
  $this->dirname = str_replace('/typekit.php', '', plugin_basename(__FILE__));
90
 
91
+ register_activation_hook(__FILE__, array($this, 'Activate'));
92
 
93
+ add_action('init', array($this, 'Initialise'));
94
 
95
+ add_action('wp_head', array($this, 'HeaderCode'), 99);
96
 
97
  $data = get_option($this->optionName);
98
  if (is_array($data)) {