Version Description
- Fixes issue of missing icon drop-down select menu in TinyMCE (adds compatibility for TinyMCE v4)
Download this release
Release Info
Developer | McGuive7 |
Plugin | Better Font Awesome |
Version | 0.9.2 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 0.9.2
- better-font-awesome.php +42 -17
- inc/css/admin-styles.css +13 -3
- inc/js/tinymce-icons-old.js +43 -0
- inc/js/tinymce-icons.js +52 -43
- languages/better-font-awesome.pot +211 -0
- readme.txt +7 -1
better-font-awesome.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Better Font Awesome
|
4 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
5 |
* Description: The better Font Awesome icon plugin for Wordpress.
|
6 |
-
* Version: 0.9.
|
7 |
* Author: Mickey Kay
|
8 |
* Author URI: mickey@mickeykaycreative.com
|
9 |
* License: GPLv2+
|
@@ -98,7 +98,10 @@ class BetterFontAwesome {
|
|
98 |
// Hook up to the init action - on 11 to make sure it loads after other FA plugins
|
99 |
add_action( 'init', array( $this, 'init' ), 11 );
|
100 |
|
101 |
-
//
|
|
|
|
|
|
|
102 |
add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts_and_styles' ), 11 );
|
103 |
add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts_and_styles' ), 11 );
|
104 |
add_action( 'admin_enqueue_scripts', array( $this, 'custom_admin_css' ), 11 );
|
@@ -116,10 +119,14 @@ class BetterFontAwesome {
|
|
116 |
* Runs when the plugin is initialized
|
117 |
*/
|
118 |
function init() {
|
119 |
-
|
120 |
// Setup localization
|
121 |
load_plugin_textdomain( self::slug, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
122 |
|
|
|
|
|
|
|
|
|
|
|
123 |
// Register the shortcode [icon]
|
124 |
add_shortcode( 'icon', array( $this, 'render_shortcode' ) );
|
125 |
|
@@ -127,21 +134,26 @@ class BetterFontAwesome {
|
|
127 |
$this->setup_global_variables();
|
128 |
|
129 |
// Add PHP variables in head for use by TinyMCY JavaScript
|
130 |
-
|
131 |
-
add_action( "admin_head-$hook", array( $this, 'admin_head_variables' ) );
|
132 |
-
|
133 |
-
if ( ( current_user_can('edit_posts') || current_user_can('edit_pages') ) &&
|
134 |
-
get_user_option('rich_editing') ) {
|
135 |
-
add_filter( 'mce_external_plugins', array( $this, 'register_tinymce_plugin' ) );
|
136 |
-
add_filter( 'mce_buttons', array( $this, 'add_tinymce_buttons' ) );
|
137 |
-
}
|
138 |
-
}
|
139 |
|
140 |
// Add Font Awesome stylesheet to TinyMCE
|
141 |
add_editor_style( $this->stylesheet_url );
|
142 |
|
143 |
}
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
/**
|
146 |
* Get CDN data and prefix based on selected version
|
147 |
*/
|
@@ -175,7 +187,7 @@ class BetterFontAwesome {
|
|
175 |
function do_options_page() {
|
176 |
|
177 |
// Setup available versions
|
178 |
-
$versions[ 'latest' ] = __( 'Latest', 'better-font-awesome' ) . ' (' . $this->cdn_data->lastversion . ')';
|
179 |
|
180 |
foreach( $this->cdn_data->versions as $version ) {
|
181 |
// Exclude v2.0
|
@@ -206,10 +218,10 @@ class BetterFontAwesome {
|
|
206 |
) );
|
207 |
|
208 |
$optionsPage->createOption( array(
|
209 |
-
'name' => __( 'Remove existing
|
210 |
'id' => 'remove_existing_fa',
|
211 |
'type' => 'checkbox',
|
212 |
-
'desc' => __( 'Remove Font Awesome CSS
|
213 |
'default' => false,
|
214 |
) );
|
215 |
|
@@ -305,14 +317,27 @@ class BetterFontAwesome {
|
|
305 |
wp_enqueue_style( 'bfa-admin-styles', plugins_url( 'inc/css/admin-styles.css', __FILE__ ) );
|
306 |
}
|
307 |
|
|
|
|
|
|
|
308 |
function register_tinymce_plugin( $plugin_array ) {
|
309 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
|
311 |
return $plugin_array;
|
312 |
}
|
313 |
|
|
|
|
|
|
|
314 |
function add_tinymce_buttons( $buttons ) {
|
315 |
-
array_push($buttons, '
|
316 |
|
317 |
return $buttons;
|
318 |
}
|
3 |
* Plugin Name: Better Font Awesome
|
4 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
5 |
* Description: The better Font Awesome icon plugin for Wordpress.
|
6 |
+
* Version: 0.9.2
|
7 |
* Author: Mickey Kay
|
8 |
* Author URI: mickey@mickeykaycreative.com
|
9 |
* License: GPLv2+
|
98 |
// Hook up to the init action - on 11 to make sure it loads after other FA plugins
|
99 |
add_action( 'init', array( $this, 'init' ), 11 );
|
100 |
|
101 |
+
// Admin init
|
102 |
+
add_action( 'admin_head', array( &$this, 'admin_init' ) );
|
103 |
+
|
104 |
+
// Do scripts and styles - on 11 to make sure styles/scripts load after other plugins
|
105 |
add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts_and_styles' ), 11 );
|
106 |
add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts_and_styles' ), 11 );
|
107 |
add_action( 'admin_enqueue_scripts', array( $this, 'custom_admin_css' ), 11 );
|
119 |
* Runs when the plugin is initialized
|
120 |
*/
|
121 |
function init() {
|
|
|
122 |
// Setup localization
|
123 |
load_plugin_textdomain( self::slug, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
124 |
|
125 |
+
// Remove existing [icon] shortcodes added via other plugins/themes
|
126 |
+
if ( $this->titan->getOption( 'remove_existing_fa' ) ) {
|
127 |
+
remove_shortcode('icon');
|
128 |
+
}
|
129 |
+
|
130 |
// Register the shortcode [icon]
|
131 |
add_shortcode( 'icon', array( $this, 'render_shortcode' ) );
|
132 |
|
134 |
$this->setup_global_variables();
|
135 |
|
136 |
// Add PHP variables in head for use by TinyMCY JavaScript
|
137 |
+
add_action( "admin_head", array( $this, 'admin_head_variables' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
// Add Font Awesome stylesheet to TinyMCE
|
140 |
add_editor_style( $this->stylesheet_url );
|
141 |
|
142 |
}
|
143 |
|
144 |
+
/*
|
145 |
+
* Runs when admin is initialized
|
146 |
+
*/
|
147 |
+
function admin_init() {
|
148 |
+
if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
|
149 |
+
return;
|
150 |
+
|
151 |
+
if ( get_user_option('rich_editing') == 'true' ) {
|
152 |
+
add_filter( 'mce_external_plugins', array( $this, 'register_tinymce_plugin' ) );
|
153 |
+
add_filter( 'mce_buttons', array( $this, 'add_tinymce_buttons' ) );
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
/**
|
158 |
* Get CDN data and prefix based on selected version
|
159 |
*/
|
187 |
function do_options_page() {
|
188 |
|
189 |
// Setup available versions
|
190 |
+
$versions[ 'latest' ] = __( 'Always Latest', 'better-font-awesome' ) . ' (' . $this->cdn_data->lastversion . ')';
|
191 |
|
192 |
foreach( $this->cdn_data->versions as $version ) {
|
193 |
// Exclude v2.0
|
218 |
) );
|
219 |
|
220 |
$optionsPage->createOption( array(
|
221 |
+
'name' => __( 'Remove existing FA', 'better-font-awesome' ),
|
222 |
'id' => 'remove_existing_fa',
|
223 |
'type' => 'checkbox',
|
224 |
+
'desc' => __( 'Remove Font Awesome CSS and shortcodes added by other plugins and themes. This may help if icons are not rendering properly.', 'better-font-awesome' ),
|
225 |
'default' => false,
|
226 |
) );
|
227 |
|
317 |
wp_enqueue_style( 'bfa-admin-styles', plugins_url( 'inc/css/admin-styles.css', __FILE__ ) );
|
318 |
}
|
319 |
|
320 |
+
/**
|
321 |
+
* Load TinyMCE Font Awesome dropdown plugin
|
322 |
+
*/
|
323 |
function register_tinymce_plugin( $plugin_array ) {
|
324 |
+
global $tinymce_version;
|
325 |
+
|
326 |
+
// >= TinyMCE v4 - include newer plugin
|
327 |
+
if ( version_compare( $tinymce_version, '4000', '>=' ) )
|
328 |
+
$plugin_array['bfa_plugin'] = plugins_url( 'inc/js/tinymce-icons.js', __FILE__ );
|
329 |
+
// < TinyMCE v4 - include old plugin
|
330 |
+
else
|
331 |
+
$plugin_array['bfa_plugin'] = plugins_url( 'inc/js/tinymce-icons-old.js', __FILE__ );
|
332 |
|
333 |
return $plugin_array;
|
334 |
}
|
335 |
|
336 |
+
/*
|
337 |
+
* Add TinyMCE dropdown element
|
338 |
+
*/
|
339 |
function add_tinymce_buttons( $buttons ) {
|
340 |
+
array_push( $buttons, 'bfaSelect' );
|
341 |
|
342 |
return $buttons;
|
343 |
}
|
inc/css/admin-styles.css
CHANGED
@@ -14,13 +14,23 @@
|
|
14 |
/* TinyMCE */
|
15 |
|
16 |
/* Override editor rules blocking these native Font Awesome styles */
|
17 |
-
#
|
18 |
-
#
|
|
|
|
|
19 |
display: inline-block;
|
20 |
width: 1.2857142857142858em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
|
23 |
-
|
|
|
24 |
content: "\f024";
|
25 |
margin-right: .5em;
|
26 |
font-family: FontAwesome;
|
14 |
/* TinyMCE */
|
15 |
|
16 |
/* Override editor rules blocking these native Font Awesome styles */
|
17 |
+
#menu_content_content_bfaSelect_menu .icon-fw,
|
18 |
+
#menu_content_content_bfaSelect_menu .fa-fw,
|
19 |
+
.mce-stack-layout-item .icon-fw,
|
20 |
+
.mce-stack-layout-item .fa-fw {
|
21 |
display: inline-block;
|
22 |
width: 1.2857142857142858em;
|
23 |
+
text-align: center;
|
24 |
+
}
|
25 |
+
|
26 |
+
/* Override editor icon font family */
|
27 |
+
[class*="icon-"],
|
28 |
+
.fa {
|
29 |
+
font-family: FontAwesome !important;
|
30 |
}
|
31 |
|
32 |
+
/* BFA select icon (for versions < and >= TinyMCE 4) */
|
33 |
+
#content_bfaSelect_text:before {
|
34 |
content: "\f024";
|
35 |
margin-right: .5em;
|
36 |
font-family: FontAwesome;
|
inc/js/tinymce-icons-old.js
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
|
3 |
+
if( typeof bfa_vars != 'undefined' ) {
|
4 |
+
var icons = bfa_vars.fa_icons.split(',');
|
5 |
+
var prefix = bfa_vars.fa_prefix;
|
6 |
+
|
7 |
+
var icon_i = function(id) {
|
8 |
+
return '<i class="fa ' + prefix + 'fw ' + prefix + id + '"></i>';
|
9 |
+
}
|
10 |
+
|
11 |
+
var icon_shortcode = function(id) {
|
12 |
+
return '[icon name="' + id + '" class=""]';
|
13 |
+
}
|
14 |
+
|
15 |
+
var createControl = function(name, controlManager) {
|
16 |
+
if (name != 'bfaSelect') return null;
|
17 |
+
var listBox = controlManager.createListBox('bfaSelect', {
|
18 |
+
title: 'Icons',
|
19 |
+
onselect: function(v) {
|
20 |
+
var editor = this.control_manager.editor;
|
21 |
+
if (v) {
|
22 |
+
editor.selection.setContent(icon_shortcode(v));
|
23 |
+
}
|
24 |
+
return false;
|
25 |
+
}
|
26 |
+
});
|
27 |
+
|
28 |
+
for (var i = 0; i < icons.length; i++) {
|
29 |
+
var _id = icons[i];
|
30 |
+
listBox.add(icon_i(_id) + ' ' + _id, _id);
|
31 |
+
}
|
32 |
+
|
33 |
+
return listBox;
|
34 |
+
};
|
35 |
+
|
36 |
+
tinymce.create('tinymce.plugins.bfa_plugin', {
|
37 |
+
createControl: createControl
|
38 |
+
});
|
39 |
+
|
40 |
+
tinymce.PluginManager.add('bfa_plugin', tinymce.plugins.bfa_plugin);
|
41 |
+
|
42 |
+
}
|
43 |
+
})();
|
inc/js/tinymce-icons.js
CHANGED
@@ -1,43 +1,52 @@
|
|
1 |
-
(function() {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function() {
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
var icons = bfa_vars.fa_icons.split(',');
|
5 |
+
var prefix = bfa_vars.fa_prefix;
|
6 |
+
|
7 |
+
var icon_i = function(id) {
|
8 |
+
return '<i class="fa ' + prefix + 'fw ' + prefix + id + '"></i>';
|
9 |
+
}
|
10 |
+
|
11 |
+
var icon_shortcode = function(id) {
|
12 |
+
return '[icon name="' + id + '" class=""]';
|
13 |
+
}
|
14 |
+
|
15 |
+
var bfaSelect = function( editor, url ) {
|
16 |
+
editor.addButton('bfaSelect', function() {
|
17 |
+
var values = [];
|
18 |
+
|
19 |
+
for (var i = 0; i < icons.length; i++) {
|
20 |
+
var _id = icons[i];
|
21 |
+
values.push({text: _id, value: _id, icon: ' fa fa-fw icon-fw fa-' + _id + ' icon-' + _id });
|
22 |
+
}
|
23 |
+
|
24 |
+
return {
|
25 |
+
type: 'listbox',
|
26 |
+
name: 'bfaSelect',
|
27 |
+
tooltip: 'Better Font Awesome Icons',
|
28 |
+
icon: ' fa fa-flag icon-flag',
|
29 |
+
text: 'Icons',
|
30 |
+
label: 'Select :',
|
31 |
+
fixedWidth: true,
|
32 |
+
values: values,
|
33 |
+
onselect: function(e) {
|
34 |
+
if (e) {
|
35 |
+
editor.insertContent(icon_shortcode(e.control.settings.value));
|
36 |
+
}
|
37 |
+
|
38 |
+
// Reset back to inital "Icons" text
|
39 |
+
this.value(null);
|
40 |
+
|
41 |
+
return false;
|
42 |
+
},
|
43 |
+
onPostRender: function() {
|
44 |
+
this.addClass('bfaSelect');
|
45 |
+
}
|
46 |
+
|
47 |
+
};
|
48 |
+
});
|
49 |
+
|
50 |
+
};
|
51 |
+
tinymce.PluginManager.add( 'bfa_plugin', bfaSelect );
|
52 |
+
} )();
|
languages/better-font-awesome.pot
ADDED
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 Better Font Awesome
|
2 |
+
# This file is distributed under the same license as the Better Font Awesome package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Better Font Awesome 0.9.2\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/better-font-awesome\n"
|
7 |
+
"POT-Creation-Date: 2014-04-21 00:53:22+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: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: Titan-Framework/class-admin-panel.php:290
|
16 |
+
msgid "Settings saved."
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: Titan-Framework/class-admin-panel.php:292
|
20 |
+
msgid "Settings reset to default."
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: Titan-Framework/class-meta-box.php:35
|
24 |
+
#: Titan-Framework/class-theme-customizer-section.php:30
|
25 |
+
msgid "More Options"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: Titan-Framework/class-option-save.php:20
|
29 |
+
msgid "Save Changes"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: Titan-Framework/class-option-save.php:23
|
33 |
+
msgid "Reset to Default"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: Titan-Framework/class-option-select-categories.php:37
|
37 |
+
#: Titan-Framework/class-option-select-categories.php:104
|
38 |
+
#: Titan-Framework/class-option-select-pages.php:30
|
39 |
+
#: Titan-Framework/class-option-select-posts.php:38
|
40 |
+
#: Titan-Framework/class-option-select-posts.php:106
|
41 |
+
msgid "Select"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: Titan-Framework/class-option-select-googlefont.php:29
|
45 |
+
msgid ""
|
46 |
+
"%s has been deprecated and will be removed in version %s! Please use %s "
|
47 |
+
"instead to avoid errors in the future."
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: Titan-Framework/class-option-select-googlefont.php:108
|
51 |
+
msgid "Ultra-light"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: Titan-Framework/class-option-select-googlefont.php:111
|
55 |
+
msgid "Light"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: Titan-Framework/class-option-select-googlefont.php:114
|
59 |
+
msgid "Book"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: Titan-Framework/class-option-select-googlefont.php:117
|
63 |
+
msgid "Medium"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: Titan-Framework/class-option-select-googlefont.php:120
|
67 |
+
msgid "Semi-Bold"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: Titan-Framework/class-option-select-googlefont.php:123
|
71 |
+
msgid "Bold"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: Titan-Framework/class-option-select-googlefont.php:126
|
75 |
+
msgid "Extra-Bold"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: Titan-Framework/class-option-select-googlefont.php:129
|
79 |
+
msgid "Ultra-Bold"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: Titan-Framework/class-option-select-googlefont.php:132
|
83 |
+
msgid "Regular"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: Titan-Framework/class-option-upload.php:196
|
87 |
+
msgid "Select Image"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: Titan-Framework/class-option-upload.php:199
|
91 |
+
msgid "Use image"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: Titan-Framework/class-option.php:40
|
95 |
+
msgid "Option type or extended class %s does not exist."
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: Titan-Framework/class-titan-framework.php:85
|
99 |
+
msgid "All option IDs must be unique. The id %s has been used multiple times."
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: Titan-Framework/class-titan-framework.php:346
|
103 |
+
#: Titan-Framework/class-titan-framework.php:393
|
104 |
+
msgid ""
|
105 |
+
"Wrong usage of %s, this should be called inside a hook or from within a "
|
106 |
+
"theme file."
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: Titan-Framework/titan-framework.php:126
|
110 |
+
msgid "Documentation"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: Titan-Framework/titan-framework.php:130
|
114 |
+
msgid "GitHub Repo"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: Titan-Framework/titan-framework.php:134
|
118 |
+
msgid "Issue Tracker"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: better-font-awesome.php:189
|
122 |
+
msgid "Latest"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#. #-#-#-#-# plugin.pot (Better Font Awesome 0.9.2) #-#-#-#-#
|
126 |
+
#. Plugin Name of the plugin/theme
|
127 |
+
#: better-font-awesome.php:198
|
128 |
+
msgid "Better Font Awesome"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: better-font-awesome.php:203
|
132 |
+
msgid "Font Awesome version"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: better-font-awesome.php:206
|
136 |
+
msgid ""
|
137 |
+
"Select the version of Font Awesome you would like to use. Visit the <a href="
|
138 |
+
"\"http://fontawesome.io/\" target=\"_blank\">Font Awesome website</a> for "
|
139 |
+
"more information."
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: better-font-awesome.php:212
|
143 |
+
msgid "Use minified CSS"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: better-font-awesome.php:215
|
147 |
+
msgid ""
|
148 |
+
"Whether to include the minified version of the CSS (checked), or the "
|
149 |
+
"unminified version (unchecked)."
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: better-font-awesome.php:220
|
153 |
+
msgid "Remove existing Font Awesome styles and shortcodes"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: better-font-awesome.php:223
|
157 |
+
msgid ""
|
158 |
+
"Attempt to remove Font Awesome CSS and shortcodes included by other plugins "
|
159 |
+
"and themes. This may help if icons are not rendering properly."
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: better-font-awesome.php:228
|
163 |
+
msgid "Usage"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: better-font-awesome.php:230
|
167 |
+
msgid ""
|
168 |
+
"\n"
|
169 |
+
"\t\t \t\t<b>Version 4</b> <small><a href=\"http://"
|
170 |
+
"fontawesome.io/examples/\">See all available classes »</a></small><br /"
|
171 |
+
"><br />\n"
|
172 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star\"></i> <code>[icon name=\"star\"]"
|
173 |
+
"</code> or <code><i class=\"fa-star\"></i></code><br /><br />\n"
|
174 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x\"></i> <code>[icon "
|
175 |
+
"name=\"star\" class=\"fa-2x\"]</code> or <code><i class=\"fa-star fa-2x"
|
176 |
+
"\"></i></code><br /><br />\n"
|
177 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x icon-border fa-"
|
178 |
+
"border\"></i> <code>[icon name=\"star\" class=\"fa-2x fa-border\"]</code> or "
|
179 |
+
"<code><i class=\"fa-star fa-2x fa-border\"></i></code><br /><br /"
|
180 |
+
"><br />\n"
|
181 |
+
"\t\t \t\t<b>Version 3</b> <small><a href=\"http://"
|
182 |
+
"fontawesome.io/3.2.1/examples/\">See all available classes »</a></"
|
183 |
+
"small><br /><br />\n"
|
184 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star\"></i> <code>[icon name=\"star\"]"
|
185 |
+
"</code> or <code><i class=\"icon-star\"></i></code><br /><br />\n"
|
186 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x\"></i> <code>[icon "
|
187 |
+
"name=\"star\" class=\"icon-2x\"]</code> or <code><i class=\"icon-star "
|
188 |
+
"icon-2x\"></i></code><br /><br />\n"
|
189 |
+
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x icon-border fa-"
|
190 |
+
"border\"></i> <code>[icon name=\"star\" class=\"icon-2x icon-border\"]</"
|
191 |
+
"code> or <code><i class=\"icon-star icon-2x icon-border\"></i></"
|
192 |
+
"code>\n"
|
193 |
+
"\n"
|
194 |
+
"\t\t \t\t"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#. Plugin URI of the plugin/theme
|
198 |
+
msgid "http://wordpress.org/plugins/better-font-awesome"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#. Description of the plugin/theme
|
202 |
+
msgid "The better Font Awesome icon plugin for Wordpress."
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#. Author of the plugin/theme
|
206 |
+
msgid "Mickey Kay"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#. Author URI of the plugin/theme
|
210 |
+
msgid "mickey@mickeykaycreative.com"
|
211 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: better, font, awesome, icon, bootstrap, fontstrap, cdn, shortcode
|
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 0.9.
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -98,6 +98,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
101 |
= 0.9.1 =
|
102 |
* Added fixes for older versions of PHP (Titan Framework not found, unexpected "[")
|
103 |
|
@@ -107,6 +110,9 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
107 |
|
108 |
== Upgrade Notice ==
|
109 |
|
|
|
|
|
|
|
110 |
= 0.9.1 =
|
111 |
* Added fixes for older versions of PHP (Titan Framework not found, unexpected "[")
|
112 |
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 0.9.2
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 0.9.2 =
|
102 |
+
* Fixes issue of missing icon drop-down select menu in TinyMCE (adds compatibility for TinyMCE v4)
|
103 |
+
|
104 |
= 0.9.1 =
|
105 |
* Added fixes for older versions of PHP (Titan Framework not found, unexpected "[")
|
106 |
|
110 |
|
111 |
== Upgrade Notice ==
|
112 |
|
113 |
+
= 0.9.2 =
|
114 |
+
* Fixes issue of missing icon drop-down select menu in TinyMCE (adds compatibility for TinyMCE v4)
|
115 |
+
|
116 |
= 0.9.1 =
|
117 |
* Added fixes for older versions of PHP (Titan Framework not found, unexpected "[")
|
118 |
|