Version Description
- Add French translation.
- Correct text domain slug.
Download this release
Release Info
Developer | McGuive7 |
Plugin | Better Font Awesome |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
better-font-awesome.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Better Font Awesome
|
13 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
14 |
* Description: The ultimate Font Awesome icon plugin for WordPress.
|
15 |
-
* Version: 1.0.
|
16 |
* Author: MIGHTYminnow & Mickey Kay
|
17 |
* Author URI: mickey@mickeykaycreative.com
|
18 |
* License: GPLv2+
|
@@ -176,7 +176,7 @@ class Better_Font_Awesome_Plugin {
|
|
176 |
private function initialize() {
|
177 |
|
178 |
// Set display name.
|
179 |
-
$this->plugin_display_name = __( 'Better Font Awesome', '
|
180 |
|
181 |
// Set options name.
|
182 |
$this->option_name = self::SLUG . '_options';
|
@@ -213,9 +213,9 @@ class Better_Font_Awesome_Plugin {
|
|
213 |
|
214 |
deactivate_plugins( plugin_basename( __FILE__ ) );
|
215 |
|
216 |
-
$message = '<h2>' . __( 'Better Font Awesome', '
|
217 |
-
$message .= '<p>' . __( 'It appears that Better Font Awesome is missing it\'s <a href="https://github.com/MickeyKay/better-font-awesome-library" target="_blank">core library</a>, which typically occurs when cloning the Git repository and not updating all submodules. Please refer to the plugin\'s <a href="https://github.com/MickeyKay/better-font-awesome" target="_blank">installation instructions</a> for details on how to properly install Better Font Awesome via Git. If you installed from within WordPress, or via the wordpress.org repo, then chances are the install failed and you can try again. If the issue persists, please create a new topic on the plugin\'s <a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank">support forum</a> or file an issue on the <a href="https://github.com/MickeyKay/better-font-awesome/issues" target="_blank">Github repo</a>.' , '
|
218 |
-
$message .= '<p><a href="' . get_admin_url( null, 'plugins.php' ) . '">' . __( 'Back to the plugins page →', '
|
219 |
|
220 |
wp_die( $message );
|
221 |
|
@@ -349,7 +349,7 @@ class Better_Font_Awesome_Plugin {
|
|
349 |
|
350 |
add_settings_field(
|
351 |
'version', // ID
|
352 |
-
__( 'Version', '
|
353 |
array( $this, 'version_callback' ), // Callback
|
354 |
self::SLUG, // Page
|
355 |
'settings_section_primary', // Section
|
@@ -358,25 +358,25 @@ class Better_Font_Awesome_Plugin {
|
|
358 |
|
359 |
add_settings_field(
|
360 |
'minified',
|
361 |
-
__( 'Use minified CSS', '
|
362 |
array( $this, 'checkbox_callback' ),
|
363 |
self::SLUG,
|
364 |
'settings_section_primary',
|
365 |
array(
|
366 |
'id' => 'minified',
|
367 |
-
'description' => __( 'Whether to include the minified version of the CSS (checked), or the unminified version (unchecked).', '
|
368 |
)
|
369 |
);
|
370 |
|
371 |
add_settings_field(
|
372 |
'remove_existing_fa',
|
373 |
-
__( 'Remove existing Font Awesome', '
|
374 |
array( $this, 'checkbox_callback' ),
|
375 |
self::SLUG,
|
376 |
'settings_section_primary',
|
377 |
array(
|
378 |
'id' => 'remove_existing_fa',
|
379 |
-
'description' => __( 'Attempt to remove Font Awesome CSS and shortcodes added by other plugins and themes.', '
|
380 |
)
|
381 |
);
|
382 |
|
@@ -393,7 +393,7 @@ class Better_Font_Awesome_Plugin {
|
|
393 |
function get_versions_list() {
|
394 |
|
395 |
if ( $this->bfa_lib->get_api_value('versions') ) {
|
396 |
-
$versions['latest'] = __( 'Always Latest', '
|
397 |
|
398 |
foreach ( $this->bfa_lib->get_api_value('versions') as $version ) {
|
399 |
$versions[ $version ] = $version;
|
@@ -419,7 +419,7 @@ class Better_Font_Awesome_Plugin {
|
|
419 |
if ( $versions ) {
|
420 |
|
421 |
// Add 'Always Latest' option.
|
422 |
-
$versions['latest'] = __( 'Always Latest', '
|
423 |
|
424 |
/**
|
425 |
* Remove version 2.0, since its CSS doesn't work with the regex
|
@@ -453,21 +453,21 @@ class Better_Font_Awesome_Plugin {
|
|
453 |
?>
|
454 |
<p>
|
455 |
<?php
|
456 |
-
printf( __( 'Version selection is currently unavailable. The attempt to reach the jsDelivr API server failed with the following error: %s', '
|
457 |
'<code>' . $this->bfa_lib->get_error('api')->get_error_code() . ': ' . $this->bfa_lib->get_error('api')->get_error_message() . '</code>'
|
458 |
);
|
459 |
?>
|
460 |
</p>
|
461 |
<p>
|
462 |
<?php
|
463 |
-
printf( __( 'Font Awesome will still render using version: %s', '
|
464 |
'<code>' . $this->bfa_lib->get_fallback_version() . '</code>'
|
465 |
);
|
466 |
?>
|
467 |
</p>
|
468 |
<p>
|
469 |
<?php
|
470 |
-
printf( __( 'This may be the result of a temporary server or connectivity issue which will resolve shortly. However if the problem persists please file a support ticket on the %splugin forum%s, citing the errors listed above. ', '
|
471 |
'<a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank" title="Better Font Awesome support forum">',
|
472 |
'</a>'
|
473 |
);
|
@@ -523,7 +523,7 @@ class Better_Font_Awesome_Plugin {
|
|
523 |
<i class="icon-coffee fa fa-coffee"></i> <code>[icon name="coffee"]</code> or <code><i class="icon-coffee"></i></code><br /><br />
|
524 |
<i class="icon-coffee fa fa-coffee icon-2x fa-2x"></i> <code>[icon name="coffee" class="icon-2x"]</code> or <code><i class="icon-coffee icon-2x"></i></code><br /><br />
|
525 |
<i class="icon-coffee fa fa-coffee icon-2x fa-2x icon-rotate-90 fa-rotate-90"></i> <code>[icon name="coffee" class="icon-2x icon-rotate-90"]</code> or <code><i class="icon-coffee icon-2x icon-rotate-90"></i></code>',
|
526 |
-
'
|
527 |
'</div>';
|
528 |
}
|
529 |
|
12 |
* Plugin Name: Better Font Awesome
|
13 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
14 |
* Description: The ultimate Font Awesome icon plugin for WordPress.
|
15 |
+
* Version: 1.0.3
|
16 |
* Author: MIGHTYminnow & Mickey Kay
|
17 |
* Author URI: mickey@mickeykaycreative.com
|
18 |
* License: GPLv2+
|
176 |
private function initialize() {
|
177 |
|
178 |
// Set display name.
|
179 |
+
$this->plugin_display_name = __( 'Better Font Awesome', 'better-font-awesome' );
|
180 |
|
181 |
// Set options name.
|
182 |
$this->option_name = self::SLUG . '_options';
|
213 |
|
214 |
deactivate_plugins( plugin_basename( __FILE__ ) );
|
215 |
|
216 |
+
$message = '<h2>' . __( 'Better Font Awesome', 'better-font-awesome' ) . '</h2>';
|
217 |
+
$message .= '<p>' . __( 'It appears that Better Font Awesome is missing it\'s <a href="https://github.com/MickeyKay/better-font-awesome-library" target="_blank">core library</a>, which typically occurs when cloning the Git repository and not updating all submodules. Please refer to the plugin\'s <a href="https://github.com/MickeyKay/better-font-awesome" target="_blank">installation instructions</a> for details on how to properly install Better Font Awesome via Git. If you installed from within WordPress, or via the wordpress.org repo, then chances are the install failed and you can try again. If the issue persists, please create a new topic on the plugin\'s <a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank">support forum</a> or file an issue on the <a href="https://github.com/MickeyKay/better-font-awesome/issues" target="_blank">Github repo</a>.' , 'better-font-awesome' ) . '</p>';
|
218 |
+
$message .= '<p><a href="' . get_admin_url( null, 'plugins.php' ) . '">' . __( 'Back to the plugins page →', 'better-font-awesome' ) . '</a></p>';
|
219 |
|
220 |
wp_die( $message );
|
221 |
|
349 |
|
350 |
add_settings_field(
|
351 |
'version', // ID
|
352 |
+
__( 'Version', 'better-font-awesome' ), // Title
|
353 |
array( $this, 'version_callback' ), // Callback
|
354 |
self::SLUG, // Page
|
355 |
'settings_section_primary', // Section
|
358 |
|
359 |
add_settings_field(
|
360 |
'minified',
|
361 |
+
__( 'Use minified CSS', 'better-font-awesome' ),
|
362 |
array( $this, 'checkbox_callback' ),
|
363 |
self::SLUG,
|
364 |
'settings_section_primary',
|
365 |
array(
|
366 |
'id' => 'minified',
|
367 |
+
'description' => __( 'Whether to include the minified version of the CSS (checked), or the unminified version (unchecked).', 'better-font-awesome' ),
|
368 |
)
|
369 |
);
|
370 |
|
371 |
add_settings_field(
|
372 |
'remove_existing_fa',
|
373 |
+
__( 'Remove existing Font Awesome', 'better-font-awesome' ),
|
374 |
array( $this, 'checkbox_callback' ),
|
375 |
self::SLUG,
|
376 |
'settings_section_primary',
|
377 |
array(
|
378 |
'id' => 'remove_existing_fa',
|
379 |
+
'description' => __( 'Attempt to remove Font Awesome CSS and shortcodes added by other plugins and themes.', 'better-font-awesome' ),
|
380 |
)
|
381 |
);
|
382 |
|
393 |
function get_versions_list() {
|
394 |
|
395 |
if ( $this->bfa_lib->get_api_value('versions') ) {
|
396 |
+
$versions['latest'] = __( 'Always Latest', 'better-font-awesome' );
|
397 |
|
398 |
foreach ( $this->bfa_lib->get_api_value('versions') as $version ) {
|
399 |
$versions[ $version ] = $version;
|
419 |
if ( $versions ) {
|
420 |
|
421 |
// Add 'Always Latest' option.
|
422 |
+
$versions['latest'] = __( 'Always Latest', 'better-font-awesome' );
|
423 |
|
424 |
/**
|
425 |
* Remove version 2.0, since its CSS doesn't work with the regex
|
453 |
?>
|
454 |
<p>
|
455 |
<?php
|
456 |
+
printf( __( 'Version selection is currently unavailable. The attempt to reach the jsDelivr API server failed with the following error: %s', 'better-font-awesome' ),
|
457 |
'<code>' . $this->bfa_lib->get_error('api')->get_error_code() . ': ' . $this->bfa_lib->get_error('api')->get_error_message() . '</code>'
|
458 |
);
|
459 |
?>
|
460 |
</p>
|
461 |
<p>
|
462 |
<?php
|
463 |
+
printf( __( 'Font Awesome will still render using version: %s', 'better-font-awesome' ),
|
464 |
'<code>' . $this->bfa_lib->get_fallback_version() . '</code>'
|
465 |
);
|
466 |
?>
|
467 |
</p>
|
468 |
<p>
|
469 |
<?php
|
470 |
+
printf( __( 'This may be the result of a temporary server or connectivity issue which will resolve shortly. However if the problem persists please file a support ticket on the %splugin forum%s, citing the errors listed above. ', 'better-font-awesome' ),
|
471 |
'<a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank" title="Better Font Awesome support forum">',
|
472 |
'</a>'
|
473 |
);
|
523 |
<i class="icon-coffee fa fa-coffee"></i> <code>[icon name="coffee"]</code> or <code><i class="icon-coffee"></i></code><br /><br />
|
524 |
<i class="icon-coffee fa fa-coffee icon-2x fa-2x"></i> <code>[icon name="coffee" class="icon-2x"]</code> or <code><i class="icon-coffee icon-2x"></i></code><br /><br />
|
525 |
<i class="icon-coffee fa fa-coffee icon-2x fa-2x icon-rotate-90 fa-rotate-90"></i> <code>[icon name="coffee" class="icon-2x icon-rotate-90"]</code> or <code><i class="icon-coffee icon-2x icon-rotate-90"></i></code>',
|
526 |
+
'better-font-awesome' ) .
|
527 |
'</div>';
|
528 |
}
|
529 |
|
languages/better-font-awesome-fr_FR.mo
ADDED
Binary file
|
languages/better-font-awesome-fr_FR.po
ADDED
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 1.0.2\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/better-font-awesome\n"
|
7 |
+
"POT-Creation-Date: 2014-09-03 16:31: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-09-04 15:59+0100\n"
|
12 |
+
"Last-Translator: D. Tisserand <d.tisserand@ellipse-online.com>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
"X-Generator: Poedit 1.5.7\n"
|
15 |
+
|
16 |
+
#. #-#-#-#-# plugin.pot (Better Font Awesome 1.0.2) #-#-#-#-#
|
17 |
+
#. Plugin Name of the plugin/theme
|
18 |
+
#: better-font-awesome.php:179 better-font-awesome.php:216
|
19 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1016
|
20 |
+
msgid "Better Font Awesome"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: better-font-awesome.php:217
|
24 |
+
msgid ""
|
25 |
+
"It appears that Better Font Awesome is missing it's <a href=\"https://github."
|
26 |
+
"com/MickeyKay/better-font-awesome-library\" target=\"_blank\">core library</"
|
27 |
+
"a>, which typically occurs when cloning the Git repository and not updating "
|
28 |
+
"all submodules. Please refer to the plugin's <a href=\"https://github.com/"
|
29 |
+
"MickeyKay/better-font-awesome\" target=\"_blank\">installation instructions</"
|
30 |
+
"a> for details on how to properly install Better Font Awesome via Git. If "
|
31 |
+
"you installed from within WordPress, or via the wordpress.org repo, then "
|
32 |
+
"chances are the install failed and you can try again. If the issue persists, "
|
33 |
+
"please create a new topic on the plugin's <a href=\"http://wordpress.org/"
|
34 |
+
"support/plugin/better-font-awesome\" target=\"_blank\">support forum</a> or "
|
35 |
+
"file an issue on the <a href=\"https://github.com/MickeyKay/better-font-"
|
36 |
+
"awesome/issues\" target=\"_blank\">Github repo</a>."
|
37 |
+
msgstr ""
|
38 |
+
"Il apparaît qu'il manque <a href=\"https://github.com/MickeyKay/better-font-"
|
39 |
+
"awesome-library\" target=\"_blank\">la librairie</a> de Better Font Awesome, "
|
40 |
+
"ce qui se produit généralement lors du clonage du référenciel de données Git "
|
41 |
+
"et la non mise à jour tous les sous-modules. Veuillez vous référer aux <a "
|
42 |
+
"href=\"https://github.com/MickeyKay/better-font-awesome\" target=\"_blank"
|
43 |
+
"\">instructions d'installation</a> pour savoir comment installer proprement "
|
44 |
+
"Better Font Awesome via Git. Si vous avez installé à partir de WordPress, ou "
|
45 |
+
"via le site de wordpress.org, il y a de fortes chances pour que "
|
46 |
+
"l'installation ait échoué donc vous pouvez essayer de nouveau. Si le "
|
47 |
+
"problème persiste, merci de créer un nouveau sujet sur le <a href=\"http://"
|
48 |
+
"wordpress.org/support/plugin/better-font-awesome\" target=\"_blank\">forum "
|
49 |
+
"de support</a> du plugin ou déclarez le problème sur le site référent <a "
|
50 |
+
"href=\"https://github.com/MickeyKay/better-font-awesome/issues\" target="
|
51 |
+
"\"_blank\">Github repo</a>."
|
52 |
+
|
53 |
+
#: better-font-awesome.php:218
|
54 |
+
msgid "Back to the plugins page →"
|
55 |
+
msgstr "Retour à la page du plugins →"
|
56 |
+
|
57 |
+
#: better-font-awesome.php:352
|
58 |
+
msgid "Version"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: better-font-awesome.php:361
|
62 |
+
msgid "Use minified CSS"
|
63 |
+
msgstr "Utiliser le fichier CSS minifié"
|
64 |
+
|
65 |
+
#: better-font-awesome.php:367
|
66 |
+
msgid ""
|
67 |
+
"Whether to include the minified version of the CSS (checked), or the "
|
68 |
+
"unminified version (unchecked)."
|
69 |
+
msgstr ""
|
70 |
+
"Pour utiliser le fichier CSS minimal, cocher la case. Pour utiliser le "
|
71 |
+
"fichier CSS normal, laisser la case décochée."
|
72 |
+
|
73 |
+
#: better-font-awesome.php:373
|
74 |
+
msgid "Remove existing Font Awesome"
|
75 |
+
msgstr "Supprimer les styles CSS existants. "
|
76 |
+
|
77 |
+
#: better-font-awesome.php:379
|
78 |
+
msgid ""
|
79 |
+
"Attempt to remove Font Awesome CSS and shortcodes added by other plugins and "
|
80 |
+
"themes."
|
81 |
+
msgstr ""
|
82 |
+
"Tenter de retirer les styles CSS et les shortcodes (Font Awesome) inclus par "
|
83 |
+
"d'autres plugins ou thèmes."
|
84 |
+
|
85 |
+
#: better-font-awesome.php:396 better-font-awesome.php:422
|
86 |
+
msgid "Always Latest"
|
87 |
+
msgstr "Toujours la dernière"
|
88 |
+
|
89 |
+
#: better-font-awesome.php:456
|
90 |
+
msgid ""
|
91 |
+
"Version selection is currently unavailable. The attempt to reach the "
|
92 |
+
"jsDelivr API server failed with the following error: %s"
|
93 |
+
msgstr ""
|
94 |
+
"La sélection de version est actuellement indisponible. La tentative "
|
95 |
+
"d'atteindre le serveur API jsDelivr a échoué avec l'erreur suivante : %s"
|
96 |
+
|
97 |
+
#: better-font-awesome.php:463
|
98 |
+
msgid "Font Awesome will still render using version: %s"
|
99 |
+
msgstr "Font Awesome s'affichera toujours bien avec la version : %s"
|
100 |
+
|
101 |
+
#: better-font-awesome.php:470
|
102 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1052
|
103 |
+
msgid ""
|
104 |
+
"This may be the result of a temporary server or connectivity issue which "
|
105 |
+
"will resolve shortly. However if the problem persists please file a support "
|
106 |
+
"ticket on the %splugin forum%s, citing the errors listed above. "
|
107 |
+
msgstr ""
|
108 |
+
"Cela peut résulter d'un problème de serveur ou de connexion, ce qui sera "
|
109 |
+
"résolu prochainement. Toutefois, si le problème persiste, envoyer un ticket "
|
110 |
+
"de support sur le %sforum de support%s en listant les erreurs répertoriées "
|
111 |
+
"ci-dessus."
|
112 |
+
|
113 |
+
#: better-font-awesome.php:517
|
114 |
+
msgid ""
|
115 |
+
"<h3>Usage</h3>\n"
|
116 |
+
" <b>Font Awesome version 4.x +</b> "
|
117 |
+
"<small><a href=\"http://fontawesome.io/examples/\">See all available options "
|
118 |
+
"»</a></small><br /><br />\n"
|
119 |
+
" <i class=\"icon-coffee fa fa-coffee\"></i> <code>[icon "
|
120 |
+
"name=\"coffee\"]</code> or <code><i class=\"fa-coffee\"></i></"
|
121 |
+
"code><br /><br />\n"
|
122 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x\"></"
|
123 |
+
"i> <code>[icon name=\"coffee\" class=\"fa-2x\"]</code> or <code><i class="
|
124 |
+
"\"fa-coffee fa-2x\"></i></code><br /><br />\n"
|
125 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x icon-"
|
126 |
+
"rotate-90 fa-rotate-90\"></i> <code>[icon name=\"coffee\" class=\"fa-2x fa-"
|
127 |
+
"rotate-90\"]</code> or <code><i class=\"fa-coffee fa-2x fa-rotate-90\">"
|
128 |
+
"</i></code><br /><br /><br />\n"
|
129 |
+
" <b>Font Awesome version 3.x</b> "
|
130 |
+
"<small><a href=\"http://fontawesome.io/3.2.1/examples/\">See all available "
|
131 |
+
"options »</a></small><br /><br />\n"
|
132 |
+
" <i class=\"icon-coffee fa fa-coffee\"></i> <code>[icon "
|
133 |
+
"name=\"coffee\"]</code> or <code><i class=\"icon-coffee\"></i></"
|
134 |
+
"code><br /><br />\n"
|
135 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x\"></"
|
136 |
+
"i> <code>[icon name=\"coffee\" class=\"icon-2x\"]</code> or <code><i "
|
137 |
+
"class=\"icon-coffee icon-2x\"></i></code><br /><br />\n"
|
138 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x icon-"
|
139 |
+
"rotate-90 fa-rotate-90\"></i> <code>[icon name=\"coffee\" class=\"icon-2x "
|
140 |
+
"icon-rotate-90\"]</code> or <code><i class=\"icon-coffee icon-2x icon-"
|
141 |
+
"rotate-90\"></i></code>"
|
142 |
+
msgstr ""
|
143 |
+
"<h3>Utilisation</h3>\n"
|
144 |
+
" <b>Font Awesome version 4.x +</b> "
|
145 |
+
"<small><a href=\"http://fontawesome.io/examples/\">Voir toutes les options "
|
146 |
+
"»</a></small><br /><br />\n"
|
147 |
+
" <i class=\"icon-coffee fa fa-coffee\"></i> <code>[icon "
|
148 |
+
"name=\"coffee\"]</code> ou <code><i class=\"fa-coffee\"></i></"
|
149 |
+
"code><br /><br />\n"
|
150 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x\"></"
|
151 |
+
"i> <code>[icon name=\"coffee\" class=\"fa-2x\"]</code> ou <code><i class="
|
152 |
+
"\"fa-coffee fa-2x\"></i></code><br /><br />\n"
|
153 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x icon-"
|
154 |
+
"rotate-90 fa-rotate-90\"></i> <code>[icon name=\"coffee\" class=\"fa-2x fa-"
|
155 |
+
"rotate-90\"]</code> ou <code><i class=\"fa-coffee fa-2x fa-rotate-90\">"
|
156 |
+
"</i></code><br /><br /><br />\n"
|
157 |
+
" <b>Font Awesome version 3.x</b> "
|
158 |
+
"<small><a href=\"http://fontawesome.io/3.2.1/examples/\">Voir toutes les "
|
159 |
+
"options »</a></small><br /><br />\n"
|
160 |
+
" <i class=\"icon-coffee fa fa-coffee\"></i> <code>[icon "
|
161 |
+
"name=\"coffee\"]</code> ou <code><i class=\"icon-coffee\"></i></"
|
162 |
+
"code><br /><br />\n"
|
163 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x\"></"
|
164 |
+
"i> <code>[icon name=\"coffee\" class=\"icon-2x\"]</code> ou <code><i "
|
165 |
+
"class=\"icon-coffee icon-2x\"></i></code><br /><br />\n"
|
166 |
+
" <i class=\"icon-coffee fa fa-coffee icon-2x fa-2x icon-"
|
167 |
+
"rotate-90 fa-rotate-90\"></i> <code>[icon name=\"coffee\" class=\"icon-2x "
|
168 |
+
"icon-rotate-90\"]</code> or <code><i class=\"icon-coffee icon-2x icon-"
|
169 |
+
"rotate-90\"></i></code>"
|
170 |
+
|
171 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:430
|
172 |
+
msgid "The jsDelivr API servers appear to be temporarily unavailable."
|
173 |
+
msgstr "Le serveur de l'API jsDelivr semble être temporairement inaccessible."
|
174 |
+
|
175 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1022
|
176 |
+
msgid "API Error"
|
177 |
+
msgstr "Erreur de l'API"
|
178 |
+
|
179 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1024
|
180 |
+
msgid ""
|
181 |
+
"The attempt to reach the jsDelivr API server failed with the following "
|
182 |
+
"error: %s"
|
183 |
+
msgstr ""
|
184 |
+
"La tentative pour atteindre le serveur de l'API jsDelivr a échoué avec "
|
185 |
+
"l'erreur suivante : %s"
|
186 |
+
|
187 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1034
|
188 |
+
msgid "Remote CSS Error"
|
189 |
+
msgstr "Erreur CSS distant"
|
190 |
+
|
191 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
192 |
+
msgid ""
|
193 |
+
"The attempt to fetch the remote Font Awesome stylesheet failed with the "
|
194 |
+
"following error: %s %s The embedded fallback Font Awesome will be used "
|
195 |
+
"instead (version: %s)."
|
196 |
+
msgstr ""
|
197 |
+
"La tentative pour récupérer la feuille de style distante de Font Awesome a "
|
198 |
+
"échoué avec l'erreur suivante : %s %s Le fichier CSS intégré de secours sera "
|
199 |
+
"utilisé à la place (version : %s)."
|
200 |
+
|
201 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1046
|
202 |
+
msgid ""
|
203 |
+
"<b>Don't worry! Better Font Awesome will still render using the included "
|
204 |
+
"fallback version:</b> "
|
205 |
+
msgstr ""
|
206 |
+
"<b>Ne vous inquiétez pas ! Better Font Awesome s'affichera bien avec la "
|
207 |
+
"version intégrée de secours :</b>"
|
208 |
+
|
209 |
+
#: lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
210 |
+
msgid "Solution"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#. Plugin URI of the plugin/theme
|
214 |
+
msgid "http://wordpress.org/plugins/better-font-awesome"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#. Description of the plugin/theme
|
218 |
+
msgid "The ultimate Font Awesome icon plugin for WordPress."
|
219 |
+
msgstr "Le nec plus ultra des plugins de Font Awesome pour Wordpress."
|
220 |
+
|
221 |
+
#. Author of the plugin/theme
|
222 |
+
msgid "MIGHTYminnow & Mickey Kay"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#. Author URI of the plugin/theme
|
226 |
+
msgid "mickey@mickeykaycreative.com"
|
227 |
+
msgstr ""
|
lib/better-font-awesome-library/better-font-awesome-library.php
CHANGED
@@ -437,7 +437,7 @@ class Better_Font_Awesome_Library {
|
|
437 |
|
438 |
} else { // Total failsafe
|
439 |
|
440 |
-
$this->set_error( 'api', 'Unknown', __( 'The jsDelivr API servers appear to be temporarily unavailable.', '
|
441 |
$response = '';
|
442 |
|
443 |
}
|
@@ -1018,15 +1018,15 @@ class Better_Font_Awesome_Library {
|
|
1018 |
?>
|
1019 |
<div class="error">
|
1020 |
<p>
|
1021 |
-
<b><?php _e( 'Better Font Awesome', '
|
1022 |
</p>
|
1023 |
|
1024 |
<!-- API Error -->
|
1025 |
<?php if ( is_wp_error ( $this->get_error('api') ) ) : ?>
|
1026 |
<p>
|
1027 |
-
<b><?php _e( 'API Error', '
|
1028 |
<?php
|
1029 |
-
printf( __( 'The attempt to reach the jsDelivr API server failed with the following error: %s', '
|
1030 |
'<code>' . $this->get_error('api')->get_error_code() . ': ' . $this->get_error('api')->get_error_message() . '</code>'
|
1031 |
);
|
1032 |
?>
|
@@ -1036,9 +1036,9 @@ class Better_Font_Awesome_Library {
|
|
1036 |
<!-- CSS Error -->
|
1037 |
<?php if ( is_wp_error ( $this->get_error('css') ) ) : ?>
|
1038 |
<p>
|
1039 |
-
<b><?php _e( 'Remote CSS Error', '
|
1040 |
<?php
|
1041 |
-
printf( __( 'The attempt to fetch the remote Font Awesome stylesheet failed with the following error: %s %s The embedded fallback Font Awesome will be used instead (version: %s).', '
|
1042 |
'<code>' . $this->get_error('css')->get_error_code() . ': ' . $this->get_error('css')->get_error_message() . '</code>',
|
1043 |
'<br />',
|
1044 |
'<code>' . $this->font_awesome_version . '</code>'
|
@@ -1048,13 +1048,13 @@ class Better_Font_Awesome_Library {
|
|
1048 |
<?php endif; ?>
|
1049 |
|
1050 |
<!-- Fallback Text -->
|
1051 |
-
<p><?php echo __( '<b>Don\'t worry! Better Font Awesome will still render using the included fallback version:</b> ', '
|
1052 |
|
1053 |
<!-- Solution Text -->
|
1054 |
<p>
|
1055 |
-
<b><?php _e( 'Solution', '
|
1056 |
<?php
|
1057 |
-
printf( __( 'This may be the result of a temporary server or connectivity issue which will resolve shortly. However if the problem persists please file a support ticket on the %splugin forum%s, citing the errors listed above. ', '
|
1058 |
'<a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank" title="Better Font Awesome support forum">',
|
1059 |
'</a>'
|
1060 |
);
|
437 |
|
438 |
} else { // Total failsafe
|
439 |
|
440 |
+
$this->set_error( 'api', 'Unknown', __( 'The jsDelivr API servers appear to be temporarily unavailable.', 'better-font-awesome' ) . " (URL: $url)" );
|
441 |
$response = '';
|
442 |
|
443 |
}
|
1018 |
?>
|
1019 |
<div class="error">
|
1020 |
<p>
|
1021 |
+
<b><?php _e( 'Better Font Awesome', 'better-font-awesome' ); ?></b>
|
1022 |
</p>
|
1023 |
|
1024 |
<!-- API Error -->
|
1025 |
<?php if ( is_wp_error ( $this->get_error('api') ) ) : ?>
|
1026 |
<p>
|
1027 |
+
<b><?php _e( 'API Error', 'better-font-awesome' ); ?></b><br />
|
1028 |
<?php
|
1029 |
+
printf( __( 'The attempt to reach the jsDelivr API server failed with the following error: %s', 'better-font-awesome' ),
|
1030 |
'<code>' . $this->get_error('api')->get_error_code() . ': ' . $this->get_error('api')->get_error_message() . '</code>'
|
1031 |
);
|
1032 |
?>
|
1036 |
<!-- CSS Error -->
|
1037 |
<?php if ( is_wp_error ( $this->get_error('css') ) ) : ?>
|
1038 |
<p>
|
1039 |
+
<b><?php _e( 'Remote CSS Error', 'better-font-awesome' ); ?></b><br />
|
1040 |
<?php
|
1041 |
+
printf( __( 'The attempt to fetch the remote Font Awesome stylesheet failed with the following error: %s %s The embedded fallback Font Awesome will be used instead (version: %s).', 'better-font-awesome' ),
|
1042 |
'<code>' . $this->get_error('css')->get_error_code() . ': ' . $this->get_error('css')->get_error_message() . '</code>',
|
1043 |
'<br />',
|
1044 |
'<code>' . $this->font_awesome_version . '</code>'
|
1048 |
<?php endif; ?>
|
1049 |
|
1050 |
<!-- Fallback Text -->
|
1051 |
+
<p><?php echo __( '<b>Don\'t worry! Better Font Awesome will still render using the included fallback version:</b> ', 'better-font-awesome' ) . '<code>' . $this->fallback_data['version'] . '</code>' ; ?></p>
|
1052 |
|
1053 |
<!-- Solution Text -->
|
1054 |
<p>
|
1055 |
+
<b><?php _e( 'Solution', 'better-font-awesome' ); ?></b><br />
|
1056 |
<?php
|
1057 |
+
printf( __( 'This may be the result of a temporary server or connectivity issue which will resolve shortly. However if the problem persists please file a support ticket on the %splugin forum%s, citing the errors listed above. ', 'better-font-awesome' ),
|
1058 |
'<a href="http://wordpress.org/support/plugin/better-font-awesome" target="_blank" title="Better Font Awesome support forum">',
|
1059 |
'</a>'
|
1060 |
);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -54,6 +54,9 @@ Note that prefixes are required for HTML usage, and are version-specific. For th
|
|
54 |
= Advanced / Integration =
|
55 |
Better Font Awesome is built around the [Better Font Awesome Library](https://github.com/MickeyKay/better-font-awesome-library). This library allows you to integrate Better Font Awesome into any custom project you want to create (perhaps a theme or plugin with a constantly up-to-date icon list), and includes all the [filters](https://github.com/MickeyKay/better-font-awesome-library#filters) you might need.
|
56 |
|
|
|
|
|
|
|
57 |
|
58 |
= Credits =
|
59 |
Many thanks to the following plugins and their authors:
|
@@ -105,6 +108,10 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
|
|
108 |
= 1.0.2 =
|
109 |
* Add updated .pot file.
|
110 |
* Further improve error handling and fallback.
|
@@ -148,6 +155,10 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
148 |
|
149 |
== Upgrade Notice ==
|
150 |
|
|
|
|
|
|
|
|
|
151 |
= 1.0.2 =
|
152 |
* Add updated .pot file.
|
153 |
* Further improve error handling and fallback.
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.0.3
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
54 |
= Advanced / Integration =
|
55 |
Better Font Awesome is built around the [Better Font Awesome Library](https://github.com/MickeyKay/better-font-awesome-library). This library allows you to integrate Better Font Awesome into any custom project you want to create (perhaps a theme or plugin with a constantly up-to-date icon list), and includes all the [filters](https://github.com/MickeyKay/better-font-awesome-library#filters) you might need.
|
56 |
|
57 |
+
= Languages / Translations =
|
58 |
+
* English
|
59 |
+
* French (thanks to [David Tisserand](http://www.pixemotion.fr))
|
60 |
|
61 |
= Credits =
|
62 |
Many thanks to the following plugins and their authors:
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 1.0.3 =
|
112 |
+
* Add French translation.
|
113 |
+
* Correct text domain slug.
|
114 |
+
|
115 |
= 1.0.2 =
|
116 |
* Add updated .pot file.
|
117 |
* Further improve error handling and fallback.
|
155 |
|
156 |
== Upgrade Notice ==
|
157 |
|
158 |
+
= 1.0.3 =
|
159 |
+
* Add French translation.
|
160 |
+
* Correct text domain slug.
|
161 |
+
|
162 |
= 1.0.2 =
|
163 |
* Add updated .pot file.
|
164 |
* Further improve error handling and fallback.
|