Version Description
Download this release
Release Info
Developer | McGuive7 |
Plugin | Better Font Awesome |
Version | 2.0.0-beta2 |
Comparing to | |
See all releases |
Code changes from version 2.0.0-beta1 to 2.0.0-beta2
- README.md +13 -11
- better-font-awesome.php +1 -1
- languages/better-font-awesome.pot +717 -78
- readme.txt +4 -4
- vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php +4 -5
- vendor/mickey-kay/better-font-awesome-library/package.json +1 -1
- vendor/mickey-kay/better-font-awesome-library/vendor/autoload.php +7 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/ClassLoader.php +445 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/LICENSE +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_classmap.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_files.php +10 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_namespaces.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_psr4.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_real.php +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_static.php +19 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/installed.json +54 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/COPYING +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/README.md +30 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/Spyc.php +1161 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/composer.json +30 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-dump.php +25 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-load.php +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/5to4.php +17 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/spyc.php4 +1023 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/test.php4 +162 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/spyc.yaml +219 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/DumpTest.php +196 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/IndentTest.php +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/LoadTest.php +19 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/ParseTest.php +401 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/RoundTripTest.php +78 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/comments.yaml +3 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/failing1.yaml +2 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/indent_1.yaml +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/quotes.yaml +8 -0
README.md
CHANGED
@@ -1,19 +1,19 @@
|
|
|
|
|
|
1 |
# Better Font Awesome #
|
2 |
-
**Contributors:** [McGuive7](https://profiles.wordpress.org/McGuive7)
|
3 |
-
**Tags:** better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
-
**Donate link:**
|
5 |
-
**Requires at least:** 3.0
|
6 |
-
**Tested up to:** 4.9
|
7 |
-
**Stable tag:** 1.7.1
|
8 |
-
**License:** GPLv2+
|
9 |
-
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
The Better Font Awesome plugin for WordPress. Shortcodes, HTML, TinyMCE, various Font Awesome versions, backwards compatibility, CDN speeds, and more.
|
12 |
|
13 |
## Description ##
|
14 |
|
15 |
-
[![Build Status](https://travis-ci.org/MickeyKay/better-font-awesome.svg?branch=master)](https://travis-ci.org/MickeyKay/better-font-awesome)
|
16 |
-
|
17 |
**Do you find this plugin helpful? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/better-font-awesome).**
|
18 |
|
19 |
Better Font Awesome allows you to automatically integrate the latest available version of [Font Awesome](http://fontawesome.io/) into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.
|
@@ -113,6 +113,7 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
113 |
|
114 |
### 2.0.0 ###
|
115 |
* Add support for Font Awesome 5
|
|
|
116 |
|
117 |
### 1.7.1 ###
|
118 |
* Fix functionality to hide/show admin notices.
|
@@ -243,6 +244,7 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
243 |
|
244 |
### 2.0.0 ###
|
245 |
* Add support for Font Awesome 5
|
|
|
246 |
|
247 |
### 1.7.1 ###
|
248 |
* Fix functionality to hide/show admin notices.
|
1 |
+
[![Build Status](https://travis-ci.org/MickeyKay/better-font-awesome.svg?branch=master)](https://travis-ci.org/MickeyKay/better-font-awesome) [![Downloads](https://img.shields.io/wordpress/plugin/dt/better-font-awesome.svg)](https://wordpress.org/plugins/better-font-awesome/) [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
2 |
+
|
3 |
# Better Font Awesome #
|
4 |
+
**Contributors:** [McGuive7](https://profiles.wordpress.org/McGuive7)
|
5 |
+
**Tags:** better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
6 |
+
**Donate link:** https://mickeykay.me
|
7 |
+
**Requires at least:** 3.0
|
8 |
+
**Tested up to:** 4.9
|
9 |
+
**Stable tag:** 1.7.1
|
10 |
+
**License:** GPLv2+
|
11 |
+
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
13 |
+
**Now supports Font Awesome 5+!** The Better Font Awesome plugin for WordPress. Shortcodes, HTML, TinyMCE, various Font Awesome versions, backwards compatibility, CDN speeds, and more.
|
14 |
|
15 |
## Description ##
|
16 |
|
|
|
|
|
17 |
**Do you find this plugin helpful? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/better-font-awesome).**
|
18 |
|
19 |
Better Font Awesome allows you to automatically integrate the latest available version of [Font Awesome](http://fontawesome.io/) into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.
|
113 |
|
114 |
### 2.0.0 ###
|
115 |
* Add support for Font Awesome 5
|
116 |
+
* Add upgrade logic to map legacy icons to current versions
|
117 |
|
118 |
### 1.7.1 ###
|
119 |
* Fix functionality to hide/show admin notices.
|
244 |
|
245 |
### 2.0.0 ###
|
246 |
* Add support for Font Awesome 5
|
247 |
+
* Add upgrade logic to map legacy icons to current versions
|
248 |
|
249 |
### 1.7.1 ###
|
250 |
* Fix functionality to hide/show admin notices.
|
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: 2.0.0-
|
16 |
* Author: Mickey Kay
|
17 |
* Author URI: mickeyskay@gmail.com
|
18 |
* License: GPLv2+
|
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: 2.0.0-beta2
|
16 |
* Author: Mickey Kay
|
17 |
* Author URI: mickeyskay@gmail.com
|
18 |
* License: GPLv2+
|
languages/better-font-awesome.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPLv2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Better Font Awesome 2.0.0-
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/better-font-awesome\n"
|
8 |
-
"POT-Creation-Date: 2018-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -18,7 +18,10 @@ msgstr ""
|
|
18 |
msgid "Better Font Awesome"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: better-font-awesome.php:237 svn/tags/
|
|
|
|
|
|
|
22 |
#: svn/trunk/better-font-awesome.php:237
|
23 |
msgid ""
|
24 |
"It appears that Better Font Awesome is missing it's <a "
|
@@ -38,153 +41,303 @@ msgid ""
|
|
38 |
"target=\"_blank\">Github repo</a>."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: better-font-awesome.php:238 svn/tags/1.0.
|
|
|
|
|
|
|
42 |
#: svn/tags/1.0.3/better-font-awesome.php:218
|
43 |
#: svn/tags/1.0.4/better-font-awesome.php:218
|
44 |
#: svn/tags/1.0.5/better-font-awesome.php:218
|
|
|
|
|
|
|
|
|
|
|
45 |
#: svn/tags/1.2.0/better-font-awesome.php:223
|
46 |
#: svn/tags/1.2.1/better-font-awesome.php:225
|
|
|
|
|
47 |
#: svn/tags/1.3.2/better-font-awesome.php:225
|
|
|
|
|
48 |
#: svn/tags/1.3.5/better-font-awesome.php:225
|
|
|
|
|
49 |
#: svn/tags/1.4.2/better-font-awesome.php:225
|
50 |
#: svn/tags/1.4.3/better-font-awesome.php:225
|
51 |
#: svn/tags/1.5.0/better-font-awesome.php:225
|
52 |
#: svn/tags/1.6.0/better-font-awesome.php:225
|
|
|
|
|
53 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:238
|
|
|
54 |
#: svn/trunk/better-font-awesome.php:238
|
55 |
msgid "Back to the plugins page →"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: better-font-awesome.php:350 svn/tags/1.
|
|
|
59 |
#: svn/tags/1.2.1/better-font-awesome.php:337
|
|
|
|
|
60 |
#: svn/tags/1.3.2/better-font-awesome.php:337
|
|
|
|
|
61 |
#: svn/tags/1.3.5/better-font-awesome.php:337
|
|
|
|
|
62 |
#: svn/tags/1.4.2/better-font-awesome.php:337
|
63 |
#: svn/tags/1.4.3/better-font-awesome.php:337
|
64 |
#: svn/tags/1.5.0/better-font-awesome.php:337
|
65 |
#: svn/tags/1.6.0/better-font-awesome.php:337
|
|
|
|
|
66 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:350
|
|
|
67 |
#: svn/trunk/better-font-awesome.php:350
|
68 |
msgid "Save Settings"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: better-font-awesome.php:381 svn/tags/1.0.
|
|
|
|
|
|
|
72 |
#: svn/tags/1.0.3/better-font-awesome.php:352
|
73 |
#: svn/tags/1.0.4/better-font-awesome.php:352
|
74 |
#: svn/tags/1.0.5/better-font-awesome.php:352
|
|
|
|
|
|
|
|
|
|
|
75 |
#: svn/tags/1.2.0/better-font-awesome.php:366
|
76 |
#: svn/tags/1.2.1/better-font-awesome.php:368
|
|
|
|
|
77 |
#: svn/tags/1.3.2/better-font-awesome.php:368
|
|
|
|
|
78 |
#: svn/tags/1.3.5/better-font-awesome.php:368
|
|
|
|
|
79 |
#: svn/tags/1.4.2/better-font-awesome.php:368
|
80 |
#: svn/tags/1.4.3/better-font-awesome.php:368
|
81 |
#: svn/tags/1.5.0/better-font-awesome.php:368
|
82 |
#: svn/tags/1.6.0/better-font-awesome.php:368
|
|
|
|
|
83 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:381
|
|
|
84 |
#: svn/trunk/better-font-awesome.php:381
|
85 |
msgid "Version"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: better-font-awesome.php:390 svn/tags/0.9.
|
|
|
|
|
|
|
|
|
89 |
#: svn/tags/0.9.4/better-font-awesome.php:255
|
90 |
#: svn/tags/0.9.5/better-font-awesome.php:255
|
|
|
|
|
|
|
|
|
|
|
91 |
#: svn/tags/1.0.2/better-font-awesome.php:361
|
92 |
#: svn/tags/1.0.3/better-font-awesome.php:361
|
93 |
#: svn/tags/1.0.4/better-font-awesome.php:361
|
94 |
#: svn/tags/1.0.5/better-font-awesome.php:361
|
|
|
|
|
|
|
|
|
|
|
95 |
#: svn/tags/1.2.0/better-font-awesome.php:375
|
96 |
#: svn/tags/1.2.1/better-font-awesome.php:377
|
|
|
|
|
97 |
#: svn/tags/1.3.2/better-font-awesome.php:377
|
|
|
|
|
98 |
#: svn/tags/1.3.5/better-font-awesome.php:377
|
|
|
|
|
99 |
#: svn/tags/1.4.2/better-font-awesome.php:377
|
100 |
#: svn/tags/1.4.3/better-font-awesome.php:377
|
101 |
#: svn/tags/1.5.0/better-font-awesome.php:377
|
102 |
#: svn/tags/1.6.0/better-font-awesome.php:377
|
|
|
|
|
103 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:390
|
|
|
104 |
#: svn/trunk/better-font-awesome.php:390
|
105 |
msgid "Use minified CSS"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: better-font-awesome.php:396 svn/tags/0.9.
|
|
|
|
|
|
|
|
|
109 |
#: svn/tags/0.9.4/better-font-awesome.php:258
|
110 |
#: svn/tags/0.9.5/better-font-awesome.php:258
|
|
|
|
|
|
|
|
|
|
|
111 |
#: svn/tags/1.0.2/better-font-awesome.php:367
|
112 |
#: svn/tags/1.0.3/better-font-awesome.php:367
|
113 |
#: svn/tags/1.0.4/better-font-awesome.php:367
|
114 |
#: svn/tags/1.0.5/better-font-awesome.php:367
|
|
|
|
|
|
|
|
|
|
|
115 |
#: svn/tags/1.2.0/better-font-awesome.php:381
|
116 |
#: svn/tags/1.2.1/better-font-awesome.php:383
|
|
|
|
|
117 |
#: svn/tags/1.3.2/better-font-awesome.php:383
|
|
|
|
|
118 |
#: svn/tags/1.3.5/better-font-awesome.php:383
|
|
|
|
|
119 |
#: svn/tags/1.4.2/better-font-awesome.php:383
|
120 |
#: svn/tags/1.4.3/better-font-awesome.php:383
|
121 |
#: svn/tags/1.5.0/better-font-awesome.php:383
|
122 |
#: svn/tags/1.6.0/better-font-awesome.php:383
|
|
|
|
|
123 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:396
|
|
|
124 |
#: svn/trunk/better-font-awesome.php:396
|
125 |
msgid ""
|
126 |
"Whether to include the minified version of the CSS (checked), or the "
|
127 |
"unminified version (unchecked)."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: better-font-awesome.php:402 svn/tags/1.0.
|
|
|
|
|
|
|
131 |
#: svn/tags/1.0.3/better-font-awesome.php:373
|
132 |
#: svn/tags/1.0.4/better-font-awesome.php:373
|
133 |
#: svn/tags/1.0.5/better-font-awesome.php:373
|
|
|
|
|
|
|
|
|
|
|
134 |
#: svn/tags/1.2.0/better-font-awesome.php:387
|
135 |
#: svn/tags/1.2.1/better-font-awesome.php:389
|
|
|
|
|
136 |
#: svn/tags/1.3.2/better-font-awesome.php:389
|
|
|
|
|
137 |
#: svn/tags/1.3.5/better-font-awesome.php:389
|
|
|
|
|
138 |
#: svn/tags/1.4.2/better-font-awesome.php:389
|
139 |
#: svn/tags/1.4.3/better-font-awesome.php:389
|
140 |
#: svn/tags/1.5.0/better-font-awesome.php:389
|
141 |
#: svn/tags/1.6.0/better-font-awesome.php:389
|
|
|
|
|
142 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:402
|
|
|
143 |
#: svn/trunk/better-font-awesome.php:402
|
144 |
msgid "Remove existing Font Awesome"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: better-font-awesome.php:408 svn/tags/1.0.
|
|
|
|
|
|
|
148 |
#: svn/tags/1.0.3/better-font-awesome.php:379
|
149 |
#: svn/tags/1.0.4/better-font-awesome.php:379
|
150 |
#: svn/tags/1.0.5/better-font-awesome.php:379
|
|
|
|
|
|
|
|
|
|
|
151 |
#: svn/tags/1.2.0/better-font-awesome.php:393
|
152 |
#: svn/tags/1.2.1/better-font-awesome.php:395
|
|
|
|
|
153 |
#: svn/tags/1.3.2/better-font-awesome.php:395
|
|
|
|
|
154 |
#: svn/tags/1.3.5/better-font-awesome.php:395
|
|
|
|
|
155 |
#: svn/tags/1.4.2/better-font-awesome.php:395
|
156 |
#: svn/tags/1.4.3/better-font-awesome.php:395
|
157 |
#: svn/tags/1.5.0/better-font-awesome.php:395
|
158 |
#: svn/tags/1.6.0/better-font-awesome.php:395
|
|
|
|
|
159 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:408
|
|
|
160 |
#: svn/trunk/better-font-awesome.php:408
|
161 |
msgid ""
|
162 |
"Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
|
163 |
"and themes."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: better-font-awesome.php:414 svn/tags/1.
|
|
|
|
|
|
|
|
|
167 |
#: svn/tags/1.2.1/better-font-awesome.php:401
|
|
|
|
|
168 |
#: svn/tags/1.3.2/better-font-awesome.php:401
|
|
|
|
|
169 |
#: svn/tags/1.3.5/better-font-awesome.php:401
|
|
|
|
|
170 |
#: svn/tags/1.4.2/better-font-awesome.php:401
|
171 |
#: svn/tags/1.4.3/better-font-awesome.php:401
|
172 |
#: svn/tags/1.5.0/better-font-awesome.php:401
|
173 |
#: svn/tags/1.6.0/better-font-awesome.php:401
|
|
|
|
|
174 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:414
|
|
|
175 |
#: svn/trunk/better-font-awesome.php:414
|
176 |
msgid "Hide admin notices"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: better-font-awesome.php:420 svn/tags/1.
|
|
|
|
|
|
|
|
|
180 |
#: svn/tags/1.2.1/better-font-awesome.php:407
|
|
|
|
|
181 |
#: svn/tags/1.3.2/better-font-awesome.php:407
|
|
|
|
|
182 |
#: svn/tags/1.3.5/better-font-awesome.php:407
|
|
|
|
|
183 |
#: svn/tags/1.4.2/better-font-awesome.php:407
|
184 |
#: svn/tags/1.4.3/better-font-awesome.php:407
|
185 |
#: svn/tags/1.5.0/better-font-awesome.php:407
|
186 |
#: svn/tags/1.6.0/better-font-awesome.php:407
|
|
|
|
|
187 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:420
|
|
|
188 |
#: svn/trunk/better-font-awesome.php:420
|
189 |
msgid ""
|
190 |
"Hide the default admin warnings that are shown when API and CDN errors "
|
@@ -193,8 +346,18 @@ msgstr ""
|
|
193 |
|
194 |
#: better-font-awesome.php:493 better-font-awesome.php:519
|
195 |
#: svn/tags/0.9.2/better-font-awesome.php:190
|
|
|
|
|
196 |
#: svn/tags/0.9.4/better-font-awesome.php:220
|
197 |
#: svn/tags/0.9.5/better-font-awesome.php:220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
#: svn/tags/1.0.2/better-font-awesome.php:396
|
199 |
#: svn/tags/1.0.2/better-font-awesome.php:422
|
200 |
#: svn/tags/1.0.3/better-font-awesome.php:396
|
@@ -203,14 +366,36 @@ msgstr ""
|
|
203 |
#: svn/tags/1.0.4/better-font-awesome.php:422
|
204 |
#: svn/tags/1.0.5/better-font-awesome.php:396
|
205 |
#: svn/tags/1.0.5/better-font-awesome.php:422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
#: svn/tags/1.2.0/better-font-awesome.php:478
|
207 |
#: svn/tags/1.2.0/better-font-awesome.php:504
|
208 |
#: svn/tags/1.2.1/better-font-awesome.php:480
|
209 |
#: svn/tags/1.2.1/better-font-awesome.php:506
|
|
|
|
|
|
|
|
|
210 |
#: svn/tags/1.3.2/better-font-awesome.php:480
|
211 |
#: svn/tags/1.3.2/better-font-awesome.php:506
|
|
|
|
|
|
|
|
|
212 |
#: svn/tags/1.3.5/better-font-awesome.php:480
|
213 |
#: svn/tags/1.3.5/better-font-awesome.php:506
|
|
|
|
|
|
|
|
|
214 |
#: svn/tags/1.4.2/better-font-awesome.php:480
|
215 |
#: svn/tags/1.4.2/better-font-awesome.php:506
|
216 |
#: svn/tags/1.4.3/better-font-awesome.php:480
|
@@ -219,49 +404,95 @@ msgstr ""
|
|
219 |
#: svn/tags/1.5.0/better-font-awesome.php:506
|
220 |
#: svn/tags/1.6.0/better-font-awesome.php:480
|
221 |
#: svn/tags/1.6.0/better-font-awesome.php:506
|
|
|
|
|
|
|
|
|
222 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:493
|
223 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:519
|
|
|
|
|
224 |
#: svn/trunk/better-font-awesome.php:493 svn/trunk/better-font-awesome.php:519
|
225 |
msgid "Always Latest"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: better-font-awesome.php:553 svn/tags/1.0.
|
|
|
|
|
|
|
229 |
#: svn/tags/1.0.3/better-font-awesome.php:456
|
230 |
#: svn/tags/1.0.4/better-font-awesome.php:456
|
231 |
#: svn/tags/1.0.5/better-font-awesome.php:456
|
|
|
|
|
|
|
|
|
|
|
232 |
#: svn/tags/1.2.0/better-font-awesome.php:538
|
233 |
#: svn/tags/1.2.1/better-font-awesome.php:540
|
|
|
|
|
234 |
#: svn/tags/1.3.2/better-font-awesome.php:540
|
|
|
|
|
235 |
#: svn/tags/1.3.5/better-font-awesome.php:540
|
|
|
|
|
236 |
#: svn/tags/1.4.2/better-font-awesome.php:540
|
237 |
#: svn/tags/1.4.3/better-font-awesome.php:540
|
238 |
#: svn/tags/1.5.0/better-font-awesome.php:540
|
239 |
#: svn/tags/1.6.0/better-font-awesome.php:540
|
|
|
|
|
240 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:553
|
|
|
241 |
#: svn/trunk/better-font-awesome.php:553
|
242 |
msgid ""
|
243 |
"Version selection is currently unavailable. The attempt to reach the "
|
244 |
"jsDelivr API server failed with the following error: %s"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: better-font-awesome.php:560 svn/tags/1.0.
|
|
|
|
|
|
|
248 |
#: svn/tags/1.0.3/better-font-awesome.php:463
|
249 |
#: svn/tags/1.0.4/better-font-awesome.php:463
|
250 |
#: svn/tags/1.0.5/better-font-awesome.php:463
|
|
|
|
|
|
|
|
|
|
|
251 |
#: svn/tags/1.2.0/better-font-awesome.php:545
|
252 |
#: svn/tags/1.2.1/better-font-awesome.php:547
|
|
|
|
|
253 |
#: svn/tags/1.3.2/better-font-awesome.php:547
|
|
|
|
|
254 |
#: svn/tags/1.3.5/better-font-awesome.php:547
|
|
|
|
|
255 |
#: svn/tags/1.4.2/better-font-awesome.php:547
|
256 |
#: svn/tags/1.4.3/better-font-awesome.php:547
|
257 |
#: svn/tags/1.5.0/better-font-awesome.php:547
|
258 |
#: svn/tags/1.6.0/better-font-awesome.php:547
|
|
|
|
|
259 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:560
|
|
|
260 |
#: svn/trunk/better-font-awesome.php:560
|
261 |
msgid "Font Awesome will still render using version: %s"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: better-font-awesome.php:567 svn/tags/1.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
266 |
#: svn/tags/1.0.3/better-font-awesome.php:470
|
267 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
@@ -269,14 +500,36 @@ msgstr ""
|
|
269 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
270 |
#: svn/tags/1.0.5/better-font-awesome.php:470
|
271 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1066
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
#: svn/tags/1.2.0/better-font-awesome.php:552
|
273 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
274 |
#: svn/tags/1.2.1/better-font-awesome.php:554
|
275 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
|
|
|
|
|
|
|
|
276 |
#: svn/tags/1.3.2/better-font-awesome.php:554
|
277 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1095
|
|
|
|
|
|
|
|
|
278 |
#: svn/tags/1.3.5/better-font-awesome.php:554
|
279 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
|
|
|
|
|
|
|
|
280 |
#: svn/tags/1.4.2/better-font-awesome.php:554
|
281 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
282 |
#: svn/tags/1.4.3/better-font-awesome.php:554
|
@@ -285,24 +538,40 @@ msgstr ""
|
|
285 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1109
|
286 |
#: svn/tags/1.6.0/better-font-awesome.php:554
|
287 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1109
|
|
|
|
|
|
|
|
|
|
|
288 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:567
|
289 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1312
|
|
|
|
|
290 |
#: svn/trunk/better-font-awesome.php:567
|
291 |
-
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
292 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
293 |
msgid ""
|
294 |
"This may be the result of a temporary server or connectivity issue which "
|
295 |
"will resolve shortly. However if the problem persists please file a support "
|
296 |
"ticket on the %splugin forum%s, citing the errors listed above. "
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: better-font-awesome.php:614 svn/tags/1.3.
|
|
|
|
|
|
|
|
|
300 |
#: svn/tags/1.3.5/better-font-awesome.php:601
|
|
|
|
|
301 |
#: svn/tags/1.4.2/better-font-awesome.php:601
|
302 |
#: svn/tags/1.4.3/better-font-awesome.php:601
|
303 |
#: svn/tags/1.5.0/better-font-awesome.php:601
|
304 |
#: svn/tags/1.6.0/better-font-awesome.php:601
|
|
|
|
|
305 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:614
|
|
|
306 |
#: svn/trunk/better-font-awesome.php:614
|
307 |
msgid ""
|
308 |
"<h3>Usage</h3>\n"
|
@@ -337,46 +606,95 @@ msgid ""
|
|
337 |
"icon-coffee icon-2x icon-rotate-90\"></i></code>"
|
338 |
msgstr ""
|
339 |
|
|
|
|
|
340 |
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:290
|
|
|
|
|
341 |
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:290
|
342 |
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:287
|
|
|
|
|
343 |
msgid "Settings saved."
|
344 |
msgstr ""
|
345 |
|
|
|
|
|
346 |
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:292
|
|
|
|
|
347 |
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:292
|
348 |
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:289
|
|
|
|
|
349 |
msgid "Settings reset to default."
|
350 |
msgstr ""
|
351 |
|
|
|
|
|
|
|
|
|
352 |
#: svn/tags/0.9.2/Titan-Framework/class-meta-box.php:35
|
353 |
#: svn/tags/0.9.2/Titan-Framework/class-theme-customizer-section.php:30
|
|
|
|
|
354 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-meta-box.php:35
|
355 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-theme-customizer-section.php:30
|
356 |
#: svn/tags/0.9.4/Titan-Framework/class-meta-box.php:35
|
357 |
#: svn/tags/0.9.4/Titan-Framework/class-theme-customizer-section.php:30
|
358 |
#: svn/tags/0.9.5/Titan-Framework/class-meta-box.php:35
|
359 |
#: svn/tags/0.9.5/Titan-Framework/class-theme-customizer-section.php:30
|
|
|
|
|
|
|
|
|
360 |
msgid "More Options"
|
361 |
msgstr ""
|
362 |
|
|
|
|
|
363 |
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:20
|
|
|
|
|
364 |
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:20
|
365 |
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:20
|
|
|
|
|
366 |
msgid "Save Changes"
|
367 |
msgstr ""
|
368 |
|
|
|
|
|
369 |
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:23
|
|
|
|
|
370 |
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:23
|
371 |
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:23
|
|
|
|
|
372 |
msgid "Reset to Default"
|
373 |
msgstr ""
|
374 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:37
|
376 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:104
|
377 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-pages.php:30
|
378 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:38
|
379 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:106
|
|
|
|
|
|
|
|
|
|
|
380 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:37
|
381 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:104
|
382 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-pages.php:30
|
@@ -392,175 +710,313 @@ msgstr ""
|
|
392 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-pages.php:30
|
393 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:38
|
394 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "Select"
|
396 |
msgstr ""
|
397 |
|
|
|
|
|
398 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:29
|
|
|
399 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:29
|
400 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:29
|
401 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:29
|
|
|
|
|
402 |
msgid ""
|
403 |
"%s has been deprecated and will be removed in version %s! Please use %s "
|
404 |
"instead to avoid errors in the future."
|
405 |
msgstr ""
|
406 |
|
|
|
|
|
407 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:108
|
|
|
408 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:108
|
409 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:108
|
410 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:108
|
|
|
|
|
411 |
msgid "Ultra-light"
|
412 |
msgstr ""
|
413 |
|
|
|
|
|
414 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:111
|
|
|
415 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:111
|
416 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:111
|
417 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:111
|
|
|
|
|
418 |
msgid "Light"
|
419 |
msgstr ""
|
420 |
|
|
|
|
|
421 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:114
|
|
|
422 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:114
|
423 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:114
|
424 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:114
|
|
|
|
|
425 |
msgid "Book"
|
426 |
msgstr ""
|
427 |
|
|
|
|
|
428 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:117
|
|
|
429 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:117
|
430 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:117
|
431 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:117
|
|
|
|
|
432 |
msgid "Medium"
|
433 |
msgstr ""
|
434 |
|
|
|
|
|
435 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:120
|
|
|
436 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:120
|
437 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:120
|
438 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:120
|
|
|
|
|
439 |
msgid "Semi-Bold"
|
440 |
msgstr ""
|
441 |
|
|
|
|
|
442 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:123
|
|
|
443 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:123
|
444 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:123
|
445 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:123
|
|
|
|
|
446 |
msgid "Bold"
|
447 |
msgstr ""
|
448 |
|
|
|
|
|
449 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:126
|
|
|
450 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:126
|
451 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:126
|
452 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:126
|
|
|
|
|
453 |
msgid "Extra-Bold"
|
454 |
msgstr ""
|
455 |
|
|
|
|
|
456 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:129
|
|
|
457 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:129
|
458 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:129
|
459 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:129
|
|
|
|
|
460 |
msgid "Ultra-Bold"
|
461 |
msgstr ""
|
462 |
|
|
|
|
|
463 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:132
|
|
|
464 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:132
|
465 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:132
|
466 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:132
|
|
|
|
|
467 |
msgid "Regular"
|
468 |
msgstr ""
|
469 |
|
|
|
|
|
470 |
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:196
|
|
|
471 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:196
|
472 |
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:196
|
473 |
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:196
|
|
|
|
|
474 |
msgid "Select Image"
|
475 |
msgstr ""
|
476 |
|
|
|
|
|
477 |
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:199
|
|
|
478 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:199
|
479 |
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:199
|
480 |
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:199
|
|
|
|
|
481 |
msgid "Use image"
|
482 |
msgstr ""
|
483 |
|
|
|
|
|
484 |
#: svn/tags/0.9.2/Titan-Framework/class-option.php:40
|
|
|
485 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option.php:40
|
486 |
#: svn/tags/0.9.4/Titan-Framework/class-option.php:40
|
487 |
#: svn/tags/0.9.5/Titan-Framework/class-option.php:40
|
|
|
|
|
488 |
msgid "Option type or extended class %s does not exist."
|
489 |
msgstr ""
|
490 |
|
|
|
|
|
491 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:85
|
|
|
|
|
492 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:85
|
493 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:85
|
|
|
|
|
494 |
msgid "All option IDs must be unique. The id %s has been used multiple times."
|
495 |
msgstr ""
|
496 |
|
|
|
|
|
|
|
|
|
497 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:346
|
498 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:393
|
|
|
|
|
|
|
|
|
499 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:346
|
500 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:393
|
501 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:346
|
502 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:393
|
|
|
|
|
|
|
|
|
503 |
msgid ""
|
504 |
"Wrong usage of %s, this should be called inside a hook or from within a "
|
505 |
"theme file."
|
506 |
msgstr ""
|
507 |
|
|
|
|
|
508 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:126
|
|
|
|
|
509 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:126
|
510 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:126
|
|
|
|
|
511 |
msgid "Documentation"
|
512 |
msgstr ""
|
513 |
|
|
|
|
|
514 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:130
|
|
|
|
|
515 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:130
|
516 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:130
|
|
|
|
|
517 |
msgid "GitHub Repo"
|
518 |
msgstr ""
|
519 |
|
|
|
|
|
520 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:134
|
|
|
|
|
521 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:134
|
522 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:134
|
|
|
|
|
523 |
msgid "Issue Tracker"
|
524 |
msgstr ""
|
525 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
#: svn/tags/0.9.2/better-font-awesome.php:204
|
|
|
|
|
527 |
#: svn/tags/0.9.4/better-font-awesome.php:234
|
528 |
#: svn/tags/0.9.5/better-font-awesome.php:234
|
|
|
|
|
529 |
msgid "Font Awesome version"
|
530 |
msgstr ""
|
531 |
|
|
|
|
|
532 |
#: svn/tags/0.9.2/better-font-awesome.php:207
|
|
|
|
|
533 |
#: svn/tags/0.9.4/better-font-awesome.php:237
|
534 |
#: svn/tags/0.9.5/better-font-awesome.php:237
|
|
|
|
|
535 |
msgid ""
|
536 |
"Select the version of Font Awesome you would like to use. Visit the <a "
|
537 |
"href=\"http://fontawesome.io/\" target=\"_blank\">Font Awesome website</a> "
|
538 |
"for more information."
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: svn/tags/0.9.
|
542 |
-
#: svn/tags/0.9.
|
543 |
-
|
544 |
-
msgid "Remove existing FA"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: svn/tags/0.9.
|
548 |
-
#: svn/tags/0.9.
|
549 |
-
#: svn/tags/0.9.5/better-font-awesome.php:266
|
550 |
msgid ""
|
551 |
-
"Remove Font Awesome CSS
|
552 |
-
"
|
553 |
msgstr ""
|
554 |
|
|
|
|
|
555 |
#: svn/tags/0.9.2/better-font-awesome.php:229
|
|
|
|
|
556 |
#: svn/tags/0.9.4/better-font-awesome.php:271
|
557 |
#: svn/tags/0.9.5/better-font-awesome.php:271
|
|
|
|
|
558 |
msgid "Usage"
|
559 |
msgstr ""
|
560 |
|
|
|
|
|
561 |
#: svn/tags/0.9.2/better-font-awesome.php:231
|
|
|
|
|
562 |
#: svn/tags/0.9.4/better-font-awesome.php:273
|
563 |
#: svn/tags/0.9.5/better-font-awesome.php:273
|
|
|
|
|
564 |
msgid ""
|
565 |
"\n"
|
566 |
"\t\t \t\t<b>Version 4</b> <small><a "
|
@@ -593,24 +1049,64 @@ msgid ""
|
|
593 |
"\t\t \t\t"
|
594 |
msgstr ""
|
595 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
#: svn/tags/0.9.4/better-font-awesome.php:243
|
597 |
#: svn/tags/0.9.5/better-font-awesome.php:243
|
|
|
|
|
598 |
msgid "CDN"
|
599 |
msgstr ""
|
600 |
|
601 |
#: svn/tags/0.9.4/better-font-awesome.php:246
|
602 |
#: svn/tags/0.9.5/better-font-awesome.php:246
|
|
|
|
|
603 |
msgid "Select the CDN from which to load Font Awesome."
|
604 |
msgstr ""
|
605 |
|
|
|
|
|
|
|
606 |
#: svn/tags/1.0.2/better-font-awesome.php:217
|
607 |
#: svn/tags/1.0.3/better-font-awesome.php:217
|
608 |
#: svn/tags/1.0.4/better-font-awesome.php:217
|
609 |
#: svn/tags/1.0.5/better-font-awesome.php:217
|
|
|
|
|
|
|
|
|
|
|
610 |
#: svn/tags/1.2.0/better-font-awesome.php:222
|
611 |
#: svn/tags/1.2.1/better-font-awesome.php:224
|
|
|
|
|
612 |
#: svn/tags/1.3.2/better-font-awesome.php:224
|
|
|
|
|
613 |
#: svn/tags/1.3.5/better-font-awesome.php:224
|
|
|
|
|
614 |
#: svn/tags/1.4.2/better-font-awesome.php:224
|
615 |
#: svn/tags/1.4.3/better-font-awesome.php:224
|
616 |
#: svn/tags/1.5.0/better-font-awesome.php:224
|
@@ -632,10 +1128,18 @@ msgid ""
|
|
632 |
"target=\"_blank\">Github repo</a>."
|
633 |
msgstr ""
|
634 |
|
|
|
|
|
|
|
635 |
#: svn/tags/1.0.2/better-font-awesome.php:517
|
636 |
#: svn/tags/1.0.3/better-font-awesome.php:517
|
637 |
#: svn/tags/1.0.4/better-font-awesome.php:517
|
638 |
#: svn/tags/1.0.5/better-font-awesome.php:517
|
|
|
|
|
|
|
|
|
|
|
639 |
#: svn/tags/1.2.0/better-font-awesome.php:599
|
640 |
#: svn/tags/1.2.1/better-font-awesome.php:601
|
641 |
msgid ""
|
@@ -670,151 +1174,286 @@ msgid ""
|
|
670 |
"icon-2x icon-rotate-90\"></i></code>"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: svn/tags/1.0.
|
674 |
-
#: svn/tags/1.0.
|
675 |
-
#: svn/tags/1.0.
|
676 |
-
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
677 |
-
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
678 |
-
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
679 |
-
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
680 |
-
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
681 |
-
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
682 |
-
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
683 |
-
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
684 |
-
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
685 |
-
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
686 |
-
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
687 |
-
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
688 |
-
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
689 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
690 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
691 |
-
msgid "The jsDelivr API servers appear to be temporarily unavailable."
|
692 |
-
msgstr ""
|
693 |
-
|
694 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
695 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
696 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
697 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
|
|
|
|
|
|
|
|
|
|
698 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
699 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
|
|
|
|
700 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1065
|
|
|
|
|
701 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
|
|
|
|
702 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
703 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
704 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
705 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
|
|
|
|
|
|
706 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1282
|
707 |
-
#: svn/
|
708 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
709 |
msgid "API Error"
|
710 |
msgstr ""
|
711 |
|
|
|
|
|
|
|
712 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
713 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
714 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
715 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1038
|
|
|
|
|
|
|
|
|
|
|
716 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
717 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
|
|
|
|
718 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1067
|
|
|
|
|
719 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
|
|
|
|
720 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
721 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
722 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
723 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
|
|
|
|
|
|
724 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1284
|
725 |
-
#: svn/
|
726 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
727 |
msgid ""
|
728 |
"The attempt to reach the jsDelivr API server failed with the following "
|
729 |
"error: %s"
|
730 |
msgstr ""
|
731 |
|
|
|
|
|
|
|
732 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
733 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
734 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
735 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1048
|
|
|
|
|
|
|
|
|
|
|
736 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
737 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
|
|
|
|
738 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1077
|
|
|
|
|
739 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
|
|
|
|
740 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
741 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
742 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
743 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
|
|
|
|
|
|
744 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1294
|
745 |
-
#: svn/
|
746 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
747 |
msgid "Remote CSS Error"
|
748 |
msgstr ""
|
749 |
|
|
|
|
|
|
|
750 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
751 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
752 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
753 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
|
|
|
|
|
|
|
|
|
|
754 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
755 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
|
|
|
|
756 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
|
|
|
|
757 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
|
|
|
|
758 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
759 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
760 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
761 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
|
|
|
|
|
|
762 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1296
|
763 |
-
#: svn/
|
764 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
765 |
msgid ""
|
766 |
"The attempt to fetch the remote Font Awesome stylesheet failed with the "
|
767 |
"following error: %s %s The embedded fallback Font Awesome will be used "
|
768 |
"instead (version: %s)."
|
769 |
msgstr ""
|
770 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
771 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
772 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
773 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
774 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1060
|
|
|
|
|
|
|
|
|
|
|
775 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
776 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
|
|
|
|
777 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1089
|
|
|
|
|
778 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
|
|
|
|
779 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
780 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
781 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
782 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
|
|
|
|
|
|
783 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1306
|
784 |
-
#: svn/
|
785 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
786 |
msgid ""
|
787 |
"<b>Don't worry! Better Font Awesome will still render using the included "
|
788 |
"fallback version:</b> "
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: svn/tags/1.0
|
792 |
-
#: svn/tags/1.
|
793 |
-
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1055
|
794 |
-
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1064
|
795 |
-
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
796 |
-
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
797 |
-
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
798 |
-
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
799 |
-
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
800 |
-
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
801 |
-
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
802 |
-
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
803 |
-
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
804 |
-
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
805 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
806 |
-
msgid "Solution"
|
807 |
-
msgstr ""
|
808 |
-
|
809 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
|
|
|
|
810 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
|
|
|
|
811 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
812 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
813 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
814 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
|
|
|
|
|
|
815 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1256
|
816 |
-
#: svn/
|
817 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:
|
|
|
818 |
msgid "Insert Icon"
|
819 |
msgstr ""
|
820 |
|
2 |
# This file is distributed under the GPLv2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Better Font Awesome 2.0.0-beta2\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/better-font-awesome\n"
|
8 |
+
"POT-Creation-Date: 2018-05-05 19:52:12+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
msgid "Better Font Awesome"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: better-font-awesome.php:237 svn/tags/1.7.0/better-font-awesome.php:237
|
22 |
+
#: svn/tags/1.7.1/better-font-awesome.php:237
|
23 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:237
|
24 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:237
|
25 |
#: svn/trunk/better-font-awesome.php:237
|
26 |
msgid ""
|
27 |
"It appears that Better Font Awesome is missing it's <a "
|
41 |
"target=\"_blank\">Github repo</a>."
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: better-font-awesome.php:238 svn/tags/1.0.0/better-font-awesome.php:218
|
45 |
+
#: svn/tags/1.0.1/better-font-awesome.php:218
|
46 |
+
#: svn/tags/1.0.10/better-font-awesome.php:219
|
47 |
+
#: svn/tags/1.0.2/better-font-awesome.php:218
|
48 |
#: svn/tags/1.0.3/better-font-awesome.php:218
|
49 |
#: svn/tags/1.0.4/better-font-awesome.php:218
|
50 |
#: svn/tags/1.0.5/better-font-awesome.php:218
|
51 |
+
#: svn/tags/1.0.6/better-font-awesome.php:218
|
52 |
+
#: svn/tags/1.0.7/better-font-awesome.php:218
|
53 |
+
#: svn/tags/1.0.8/better-font-awesome.php:219
|
54 |
+
#: svn/tags/1.0.9/better-font-awesome.php:219
|
55 |
+
#: svn/tags/1.1.0/better-font-awesome.php:223
|
56 |
#: svn/tags/1.2.0/better-font-awesome.php:223
|
57 |
#: svn/tags/1.2.1/better-font-awesome.php:225
|
58 |
+
#: svn/tags/1.3.0/better-font-awesome.php:225
|
59 |
+
#: svn/tags/1.3.1/better-font-awesome.php:225
|
60 |
#: svn/tags/1.3.2/better-font-awesome.php:225
|
61 |
+
#: svn/tags/1.3.3/better-font-awesome.php:225
|
62 |
+
#: svn/tags/1.3.4/better-font-awesome.php:225
|
63 |
#: svn/tags/1.3.5/better-font-awesome.php:225
|
64 |
+
#: svn/tags/1.4.0/better-font-awesome.php:225
|
65 |
+
#: svn/tags/1.4.1/better-font-awesome.php:225
|
66 |
#: svn/tags/1.4.2/better-font-awesome.php:225
|
67 |
#: svn/tags/1.4.3/better-font-awesome.php:225
|
68 |
#: svn/tags/1.5.0/better-font-awesome.php:225
|
69 |
#: svn/tags/1.6.0/better-font-awesome.php:225
|
70 |
+
#: svn/tags/1.7.0/better-font-awesome.php:238
|
71 |
+
#: svn/tags/1.7.1/better-font-awesome.php:238
|
72 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:238
|
73 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:238
|
74 |
#: svn/trunk/better-font-awesome.php:238
|
75 |
msgid "Back to the plugins page →"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: better-font-awesome.php:350 svn/tags/1.1.0/better-font-awesome.php:335
|
79 |
+
#: svn/tags/1.2.0/better-font-awesome.php:335
|
80 |
#: svn/tags/1.2.1/better-font-awesome.php:337
|
81 |
+
#: svn/tags/1.3.0/better-font-awesome.php:337
|
82 |
+
#: svn/tags/1.3.1/better-font-awesome.php:337
|
83 |
#: svn/tags/1.3.2/better-font-awesome.php:337
|
84 |
+
#: svn/tags/1.3.3/better-font-awesome.php:337
|
85 |
+
#: svn/tags/1.3.4/better-font-awesome.php:337
|
86 |
#: svn/tags/1.3.5/better-font-awesome.php:337
|
87 |
+
#: svn/tags/1.4.0/better-font-awesome.php:337
|
88 |
+
#: svn/tags/1.4.1/better-font-awesome.php:337
|
89 |
#: svn/tags/1.4.2/better-font-awesome.php:337
|
90 |
#: svn/tags/1.4.3/better-font-awesome.php:337
|
91 |
#: svn/tags/1.5.0/better-font-awesome.php:337
|
92 |
#: svn/tags/1.6.0/better-font-awesome.php:337
|
93 |
+
#: svn/tags/1.7.0/better-font-awesome.php:350
|
94 |
+
#: svn/tags/1.7.1/better-font-awesome.php:350
|
95 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:350
|
96 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:350
|
97 |
#: svn/trunk/better-font-awesome.php:350
|
98 |
msgid "Save Settings"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: better-font-awesome.php:381 svn/tags/1.0.0/better-font-awesome.php:352
|
102 |
+
#: svn/tags/1.0.1/better-font-awesome.php:352
|
103 |
+
#: svn/tags/1.0.10/better-font-awesome.php:359
|
104 |
+
#: svn/tags/1.0.2/better-font-awesome.php:352
|
105 |
#: svn/tags/1.0.3/better-font-awesome.php:352
|
106 |
#: svn/tags/1.0.4/better-font-awesome.php:352
|
107 |
#: svn/tags/1.0.5/better-font-awesome.php:352
|
108 |
+
#: svn/tags/1.0.6/better-font-awesome.php:352
|
109 |
+
#: svn/tags/1.0.7/better-font-awesome.php:352
|
110 |
+
#: svn/tags/1.0.8/better-font-awesome.php:359
|
111 |
+
#: svn/tags/1.0.9/better-font-awesome.php:359
|
112 |
+
#: svn/tags/1.1.0/better-font-awesome.php:366
|
113 |
#: svn/tags/1.2.0/better-font-awesome.php:366
|
114 |
#: svn/tags/1.2.1/better-font-awesome.php:368
|
115 |
+
#: svn/tags/1.3.0/better-font-awesome.php:368
|
116 |
+
#: svn/tags/1.3.1/better-font-awesome.php:368
|
117 |
#: svn/tags/1.3.2/better-font-awesome.php:368
|
118 |
+
#: svn/tags/1.3.3/better-font-awesome.php:368
|
119 |
+
#: svn/tags/1.3.4/better-font-awesome.php:368
|
120 |
#: svn/tags/1.3.5/better-font-awesome.php:368
|
121 |
+
#: svn/tags/1.4.0/better-font-awesome.php:368
|
122 |
+
#: svn/tags/1.4.1/better-font-awesome.php:368
|
123 |
#: svn/tags/1.4.2/better-font-awesome.php:368
|
124 |
#: svn/tags/1.4.3/better-font-awesome.php:368
|
125 |
#: svn/tags/1.5.0/better-font-awesome.php:368
|
126 |
#: svn/tags/1.6.0/better-font-awesome.php:368
|
127 |
+
#: svn/tags/1.7.0/better-font-awesome.php:381
|
128 |
+
#: svn/tags/1.7.1/better-font-awesome.php:381
|
129 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:381
|
130 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:381
|
131 |
#: svn/trunk/better-font-awesome.php:381
|
132 |
msgid "Version"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: better-font-awesome.php:390 svn/tags/0.9.0/better-font-awesome.php:208
|
136 |
+
#: svn/tags/0.9.1/better-font-awesome.php:201
|
137 |
+
#: svn/tags/0.9.2/better-font-awesome.php:213
|
138 |
+
#: svn/tags/0.9.3/better-font-awesome.php:251
|
139 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:251
|
140 |
#: svn/tags/0.9.4/better-font-awesome.php:255
|
141 |
#: svn/tags/0.9.5/better-font-awesome.php:255
|
142 |
+
#: svn/tags/0.9.6/better-font-awesome.php:252
|
143 |
+
#: svn/tags/0.9.7/better-font-awesome.php:256
|
144 |
+
#: svn/tags/1.0.0/better-font-awesome.php:361
|
145 |
+
#: svn/tags/1.0.1/better-font-awesome.php:361
|
146 |
+
#: svn/tags/1.0.10/better-font-awesome.php:368
|
147 |
#: svn/tags/1.0.2/better-font-awesome.php:361
|
148 |
#: svn/tags/1.0.3/better-font-awesome.php:361
|
149 |
#: svn/tags/1.0.4/better-font-awesome.php:361
|
150 |
#: svn/tags/1.0.5/better-font-awesome.php:361
|
151 |
+
#: svn/tags/1.0.6/better-font-awesome.php:361
|
152 |
+
#: svn/tags/1.0.7/better-font-awesome.php:361
|
153 |
+
#: svn/tags/1.0.8/better-font-awesome.php:368
|
154 |
+
#: svn/tags/1.0.9/better-font-awesome.php:368
|
155 |
+
#: svn/tags/1.1.0/better-font-awesome.php:375
|
156 |
#: svn/tags/1.2.0/better-font-awesome.php:375
|
157 |
#: svn/tags/1.2.1/better-font-awesome.php:377
|
158 |
+
#: svn/tags/1.3.0/better-font-awesome.php:377
|
159 |
+
#: svn/tags/1.3.1/better-font-awesome.php:377
|
160 |
#: svn/tags/1.3.2/better-font-awesome.php:377
|
161 |
+
#: svn/tags/1.3.3/better-font-awesome.php:377
|
162 |
+
#: svn/tags/1.3.4/better-font-awesome.php:377
|
163 |
#: svn/tags/1.3.5/better-font-awesome.php:377
|
164 |
+
#: svn/tags/1.4.0/better-font-awesome.php:377
|
165 |
+
#: svn/tags/1.4.1/better-font-awesome.php:377
|
166 |
#: svn/tags/1.4.2/better-font-awesome.php:377
|
167 |
#: svn/tags/1.4.3/better-font-awesome.php:377
|
168 |
#: svn/tags/1.5.0/better-font-awesome.php:377
|
169 |
#: svn/tags/1.6.0/better-font-awesome.php:377
|
170 |
+
#: svn/tags/1.7.0/better-font-awesome.php:390
|
171 |
+
#: svn/tags/1.7.1/better-font-awesome.php:390
|
172 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:390
|
173 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:390
|
174 |
#: svn/trunk/better-font-awesome.php:390
|
175 |
msgid "Use minified CSS"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: better-font-awesome.php:396 svn/tags/0.9.0/better-font-awesome.php:211
|
179 |
+
#: svn/tags/0.9.1/better-font-awesome.php:204
|
180 |
+
#: svn/tags/0.9.2/better-font-awesome.php:216
|
181 |
+
#: svn/tags/0.9.3/better-font-awesome.php:254
|
182 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:254
|
183 |
#: svn/tags/0.9.4/better-font-awesome.php:258
|
184 |
#: svn/tags/0.9.5/better-font-awesome.php:258
|
185 |
+
#: svn/tags/0.9.6/better-font-awesome.php:255
|
186 |
+
#: svn/tags/0.9.7/better-font-awesome.php:259
|
187 |
+
#: svn/tags/1.0.0/better-font-awesome.php:367
|
188 |
+
#: svn/tags/1.0.1/better-font-awesome.php:367
|
189 |
+
#: svn/tags/1.0.10/better-font-awesome.php:374
|
190 |
#: svn/tags/1.0.2/better-font-awesome.php:367
|
191 |
#: svn/tags/1.0.3/better-font-awesome.php:367
|
192 |
#: svn/tags/1.0.4/better-font-awesome.php:367
|
193 |
#: svn/tags/1.0.5/better-font-awesome.php:367
|
194 |
+
#: svn/tags/1.0.6/better-font-awesome.php:367
|
195 |
+
#: svn/tags/1.0.7/better-font-awesome.php:367
|
196 |
+
#: svn/tags/1.0.8/better-font-awesome.php:374
|
197 |
+
#: svn/tags/1.0.9/better-font-awesome.php:374
|
198 |
+
#: svn/tags/1.1.0/better-font-awesome.php:381
|
199 |
#: svn/tags/1.2.0/better-font-awesome.php:381
|
200 |
#: svn/tags/1.2.1/better-font-awesome.php:383
|
201 |
+
#: svn/tags/1.3.0/better-font-awesome.php:383
|
202 |
+
#: svn/tags/1.3.1/better-font-awesome.php:383
|
203 |
#: svn/tags/1.3.2/better-font-awesome.php:383
|
204 |
+
#: svn/tags/1.3.3/better-font-awesome.php:383
|
205 |
+
#: svn/tags/1.3.4/better-font-awesome.php:383
|
206 |
#: svn/tags/1.3.5/better-font-awesome.php:383
|
207 |
+
#: svn/tags/1.4.0/better-font-awesome.php:383
|
208 |
+
#: svn/tags/1.4.1/better-font-awesome.php:383
|
209 |
#: svn/tags/1.4.2/better-font-awesome.php:383
|
210 |
#: svn/tags/1.4.3/better-font-awesome.php:383
|
211 |
#: svn/tags/1.5.0/better-font-awesome.php:383
|
212 |
#: svn/tags/1.6.0/better-font-awesome.php:383
|
213 |
+
#: svn/tags/1.7.0/better-font-awesome.php:396
|
214 |
+
#: svn/tags/1.7.1/better-font-awesome.php:396
|
215 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:396
|
216 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:396
|
217 |
#: svn/trunk/better-font-awesome.php:396
|
218 |
msgid ""
|
219 |
"Whether to include the minified version of the CSS (checked), or the "
|
220 |
"unminified version (unchecked)."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: better-font-awesome.php:402 svn/tags/1.0.0/better-font-awesome.php:373
|
224 |
+
#: svn/tags/1.0.1/better-font-awesome.php:373
|
225 |
+
#: svn/tags/1.0.10/better-font-awesome.php:380
|
226 |
+
#: svn/tags/1.0.2/better-font-awesome.php:373
|
227 |
#: svn/tags/1.0.3/better-font-awesome.php:373
|
228 |
#: svn/tags/1.0.4/better-font-awesome.php:373
|
229 |
#: svn/tags/1.0.5/better-font-awesome.php:373
|
230 |
+
#: svn/tags/1.0.6/better-font-awesome.php:373
|
231 |
+
#: svn/tags/1.0.7/better-font-awesome.php:373
|
232 |
+
#: svn/tags/1.0.8/better-font-awesome.php:380
|
233 |
+
#: svn/tags/1.0.9/better-font-awesome.php:380
|
234 |
+
#: svn/tags/1.1.0/better-font-awesome.php:387
|
235 |
#: svn/tags/1.2.0/better-font-awesome.php:387
|
236 |
#: svn/tags/1.2.1/better-font-awesome.php:389
|
237 |
+
#: svn/tags/1.3.0/better-font-awesome.php:389
|
238 |
+
#: svn/tags/1.3.1/better-font-awesome.php:389
|
239 |
#: svn/tags/1.3.2/better-font-awesome.php:389
|
240 |
+
#: svn/tags/1.3.3/better-font-awesome.php:389
|
241 |
+
#: svn/tags/1.3.4/better-font-awesome.php:389
|
242 |
#: svn/tags/1.3.5/better-font-awesome.php:389
|
243 |
+
#: svn/tags/1.4.0/better-font-awesome.php:389
|
244 |
+
#: svn/tags/1.4.1/better-font-awesome.php:389
|
245 |
#: svn/tags/1.4.2/better-font-awesome.php:389
|
246 |
#: svn/tags/1.4.3/better-font-awesome.php:389
|
247 |
#: svn/tags/1.5.0/better-font-awesome.php:389
|
248 |
#: svn/tags/1.6.0/better-font-awesome.php:389
|
249 |
+
#: svn/tags/1.7.0/better-font-awesome.php:402
|
250 |
+
#: svn/tags/1.7.1/better-font-awesome.php:402
|
251 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:402
|
252 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:402
|
253 |
#: svn/trunk/better-font-awesome.php:402
|
254 |
msgid "Remove existing Font Awesome"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: better-font-awesome.php:408 svn/tags/1.0.0/better-font-awesome.php:379
|
258 |
+
#: svn/tags/1.0.1/better-font-awesome.php:379
|
259 |
+
#: svn/tags/1.0.10/better-font-awesome.php:386
|
260 |
+
#: svn/tags/1.0.2/better-font-awesome.php:379
|
261 |
#: svn/tags/1.0.3/better-font-awesome.php:379
|
262 |
#: svn/tags/1.0.4/better-font-awesome.php:379
|
263 |
#: svn/tags/1.0.5/better-font-awesome.php:379
|
264 |
+
#: svn/tags/1.0.6/better-font-awesome.php:379
|
265 |
+
#: svn/tags/1.0.7/better-font-awesome.php:379
|
266 |
+
#: svn/tags/1.0.8/better-font-awesome.php:386
|
267 |
+
#: svn/tags/1.0.9/better-font-awesome.php:386
|
268 |
+
#: svn/tags/1.1.0/better-font-awesome.php:393
|
269 |
#: svn/tags/1.2.0/better-font-awesome.php:393
|
270 |
#: svn/tags/1.2.1/better-font-awesome.php:395
|
271 |
+
#: svn/tags/1.3.0/better-font-awesome.php:395
|
272 |
+
#: svn/tags/1.3.1/better-font-awesome.php:395
|
273 |
#: svn/tags/1.3.2/better-font-awesome.php:395
|
274 |
+
#: svn/tags/1.3.3/better-font-awesome.php:395
|
275 |
+
#: svn/tags/1.3.4/better-font-awesome.php:395
|
276 |
#: svn/tags/1.3.5/better-font-awesome.php:395
|
277 |
+
#: svn/tags/1.4.0/better-font-awesome.php:395
|
278 |
+
#: svn/tags/1.4.1/better-font-awesome.php:395
|
279 |
#: svn/tags/1.4.2/better-font-awesome.php:395
|
280 |
#: svn/tags/1.4.3/better-font-awesome.php:395
|
281 |
#: svn/tags/1.5.0/better-font-awesome.php:395
|
282 |
#: svn/tags/1.6.0/better-font-awesome.php:395
|
283 |
+
#: svn/tags/1.7.0/better-font-awesome.php:408
|
284 |
+
#: svn/tags/1.7.1/better-font-awesome.php:408
|
285 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:408
|
286 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:408
|
287 |
#: svn/trunk/better-font-awesome.php:408
|
288 |
msgid ""
|
289 |
"Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
|
290 |
"and themes."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: better-font-awesome.php:414 svn/tags/1.0.10/better-font-awesome.php:392
|
294 |
+
#: svn/tags/1.0.8/better-font-awesome.php:392
|
295 |
+
#: svn/tags/1.0.9/better-font-awesome.php:392
|
296 |
+
#: svn/tags/1.1.0/better-font-awesome.php:399
|
297 |
+
#: svn/tags/1.2.0/better-font-awesome.php:399
|
298 |
#: svn/tags/1.2.1/better-font-awesome.php:401
|
299 |
+
#: svn/tags/1.3.0/better-font-awesome.php:401
|
300 |
+
#: svn/tags/1.3.1/better-font-awesome.php:401
|
301 |
#: svn/tags/1.3.2/better-font-awesome.php:401
|
302 |
+
#: svn/tags/1.3.3/better-font-awesome.php:401
|
303 |
+
#: svn/tags/1.3.4/better-font-awesome.php:401
|
304 |
#: svn/tags/1.3.5/better-font-awesome.php:401
|
305 |
+
#: svn/tags/1.4.0/better-font-awesome.php:401
|
306 |
+
#: svn/tags/1.4.1/better-font-awesome.php:401
|
307 |
#: svn/tags/1.4.2/better-font-awesome.php:401
|
308 |
#: svn/tags/1.4.3/better-font-awesome.php:401
|
309 |
#: svn/tags/1.5.0/better-font-awesome.php:401
|
310 |
#: svn/tags/1.6.0/better-font-awesome.php:401
|
311 |
+
#: svn/tags/1.7.0/better-font-awesome.php:414
|
312 |
+
#: svn/tags/1.7.1/better-font-awesome.php:414
|
313 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:414
|
314 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:414
|
315 |
#: svn/trunk/better-font-awesome.php:414
|
316 |
msgid "Hide admin notices"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: better-font-awesome.php:420 svn/tags/1.0.10/better-font-awesome.php:398
|
320 |
+
#: svn/tags/1.0.8/better-font-awesome.php:398
|
321 |
+
#: svn/tags/1.0.9/better-font-awesome.php:398
|
322 |
+
#: svn/tags/1.1.0/better-font-awesome.php:405
|
323 |
+
#: svn/tags/1.2.0/better-font-awesome.php:405
|
324 |
#: svn/tags/1.2.1/better-font-awesome.php:407
|
325 |
+
#: svn/tags/1.3.0/better-font-awesome.php:407
|
326 |
+
#: svn/tags/1.3.1/better-font-awesome.php:407
|
327 |
#: svn/tags/1.3.2/better-font-awesome.php:407
|
328 |
+
#: svn/tags/1.3.3/better-font-awesome.php:407
|
329 |
+
#: svn/tags/1.3.4/better-font-awesome.php:407
|
330 |
#: svn/tags/1.3.5/better-font-awesome.php:407
|
331 |
+
#: svn/tags/1.4.0/better-font-awesome.php:407
|
332 |
+
#: svn/tags/1.4.1/better-font-awesome.php:407
|
333 |
#: svn/tags/1.4.2/better-font-awesome.php:407
|
334 |
#: svn/tags/1.4.3/better-font-awesome.php:407
|
335 |
#: svn/tags/1.5.0/better-font-awesome.php:407
|
336 |
#: svn/tags/1.6.0/better-font-awesome.php:407
|
337 |
+
#: svn/tags/1.7.0/better-font-awesome.php:420
|
338 |
+
#: svn/tags/1.7.1/better-font-awesome.php:420
|
339 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:420
|
340 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:420
|
341 |
#: svn/trunk/better-font-awesome.php:420
|
342 |
msgid ""
|
343 |
"Hide the default admin warnings that are shown when API and CDN errors "
|
346 |
|
347 |
#: better-font-awesome.php:493 better-font-awesome.php:519
|
348 |
#: svn/tags/0.9.2/better-font-awesome.php:190
|
349 |
+
#: svn/tags/0.9.3/better-font-awesome.php:228
|
350 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:228
|
351 |
#: svn/tags/0.9.4/better-font-awesome.php:220
|
352 |
#: svn/tags/0.9.5/better-font-awesome.php:220
|
353 |
+
#: svn/tags/0.9.6/better-font-awesome.php:217
|
354 |
+
#: svn/tags/0.9.7/better-font-awesome.php:221
|
355 |
+
#: svn/tags/1.0.0/better-font-awesome.php:396
|
356 |
+
#: svn/tags/1.0.0/better-font-awesome.php:422
|
357 |
+
#: svn/tags/1.0.1/better-font-awesome.php:396
|
358 |
+
#: svn/tags/1.0.1/better-font-awesome.php:422
|
359 |
+
#: svn/tags/1.0.10/better-font-awesome.php:415
|
360 |
+
#: svn/tags/1.0.10/better-font-awesome.php:441
|
361 |
#: svn/tags/1.0.2/better-font-awesome.php:396
|
362 |
#: svn/tags/1.0.2/better-font-awesome.php:422
|
363 |
#: svn/tags/1.0.3/better-font-awesome.php:396
|
366 |
#: svn/tags/1.0.4/better-font-awesome.php:422
|
367 |
#: svn/tags/1.0.5/better-font-awesome.php:396
|
368 |
#: svn/tags/1.0.5/better-font-awesome.php:422
|
369 |
+
#: svn/tags/1.0.6/better-font-awesome.php:396
|
370 |
+
#: svn/tags/1.0.6/better-font-awesome.php:422
|
371 |
+
#: svn/tags/1.0.7/better-font-awesome.php:396
|
372 |
+
#: svn/tags/1.0.7/better-font-awesome.php:422
|
373 |
+
#: svn/tags/1.0.8/better-font-awesome.php:415
|
374 |
+
#: svn/tags/1.0.8/better-font-awesome.php:441
|
375 |
+
#: svn/tags/1.0.9/better-font-awesome.php:415
|
376 |
+
#: svn/tags/1.0.9/better-font-awesome.php:441
|
377 |
+
#: svn/tags/1.1.0/better-font-awesome.php:478
|
378 |
+
#: svn/tags/1.1.0/better-font-awesome.php:504
|
379 |
#: svn/tags/1.2.0/better-font-awesome.php:478
|
380 |
#: svn/tags/1.2.0/better-font-awesome.php:504
|
381 |
#: svn/tags/1.2.1/better-font-awesome.php:480
|
382 |
#: svn/tags/1.2.1/better-font-awesome.php:506
|
383 |
+
#: svn/tags/1.3.0/better-font-awesome.php:480
|
384 |
+
#: svn/tags/1.3.0/better-font-awesome.php:506
|
385 |
+
#: svn/tags/1.3.1/better-font-awesome.php:480
|
386 |
+
#: svn/tags/1.3.1/better-font-awesome.php:506
|
387 |
#: svn/tags/1.3.2/better-font-awesome.php:480
|
388 |
#: svn/tags/1.3.2/better-font-awesome.php:506
|
389 |
+
#: svn/tags/1.3.3/better-font-awesome.php:480
|
390 |
+
#: svn/tags/1.3.3/better-font-awesome.php:506
|
391 |
+
#: svn/tags/1.3.4/better-font-awesome.php:480
|
392 |
+
#: svn/tags/1.3.4/better-font-awesome.php:506
|
393 |
#: svn/tags/1.3.5/better-font-awesome.php:480
|
394 |
#: svn/tags/1.3.5/better-font-awesome.php:506
|
395 |
+
#: svn/tags/1.4.0/better-font-awesome.php:480
|
396 |
+
#: svn/tags/1.4.0/better-font-awesome.php:506
|
397 |
+
#: svn/tags/1.4.1/better-font-awesome.php:480
|
398 |
+
#: svn/tags/1.4.1/better-font-awesome.php:506
|
399 |
#: svn/tags/1.4.2/better-font-awesome.php:480
|
400 |
#: svn/tags/1.4.2/better-font-awesome.php:506
|
401 |
#: svn/tags/1.4.3/better-font-awesome.php:480
|
404 |
#: svn/tags/1.5.0/better-font-awesome.php:506
|
405 |
#: svn/tags/1.6.0/better-font-awesome.php:480
|
406 |
#: svn/tags/1.6.0/better-font-awesome.php:506
|
407 |
+
#: svn/tags/1.7.0/better-font-awesome.php:493
|
408 |
+
#: svn/tags/1.7.0/better-font-awesome.php:519
|
409 |
+
#: svn/tags/1.7.1/better-font-awesome.php:493
|
410 |
+
#: svn/tags/1.7.1/better-font-awesome.php:519
|
411 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:493
|
412 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:519
|
413 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:493
|
414 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:519
|
415 |
#: svn/trunk/better-font-awesome.php:493 svn/trunk/better-font-awesome.php:519
|
416 |
msgid "Always Latest"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: better-font-awesome.php:553 svn/tags/1.0.0/better-font-awesome.php:456
|
420 |
+
#: svn/tags/1.0.1/better-font-awesome.php:456
|
421 |
+
#: svn/tags/1.0.10/better-font-awesome.php:475
|
422 |
+
#: svn/tags/1.0.2/better-font-awesome.php:456
|
423 |
#: svn/tags/1.0.3/better-font-awesome.php:456
|
424 |
#: svn/tags/1.0.4/better-font-awesome.php:456
|
425 |
#: svn/tags/1.0.5/better-font-awesome.php:456
|
426 |
+
#: svn/tags/1.0.6/better-font-awesome.php:456
|
427 |
+
#: svn/tags/1.0.7/better-font-awesome.php:456
|
428 |
+
#: svn/tags/1.0.8/better-font-awesome.php:475
|
429 |
+
#: svn/tags/1.0.9/better-font-awesome.php:475
|
430 |
+
#: svn/tags/1.1.0/better-font-awesome.php:538
|
431 |
#: svn/tags/1.2.0/better-font-awesome.php:538
|
432 |
#: svn/tags/1.2.1/better-font-awesome.php:540
|
433 |
+
#: svn/tags/1.3.0/better-font-awesome.php:540
|
434 |
+
#: svn/tags/1.3.1/better-font-awesome.php:540
|
435 |
#: svn/tags/1.3.2/better-font-awesome.php:540
|
436 |
+
#: svn/tags/1.3.3/better-font-awesome.php:540
|
437 |
+
#: svn/tags/1.3.4/better-font-awesome.php:540
|
438 |
#: svn/tags/1.3.5/better-font-awesome.php:540
|
439 |
+
#: svn/tags/1.4.0/better-font-awesome.php:540
|
440 |
+
#: svn/tags/1.4.1/better-font-awesome.php:540
|
441 |
#: svn/tags/1.4.2/better-font-awesome.php:540
|
442 |
#: svn/tags/1.4.3/better-font-awesome.php:540
|
443 |
#: svn/tags/1.5.0/better-font-awesome.php:540
|
444 |
#: svn/tags/1.6.0/better-font-awesome.php:540
|
445 |
+
#: svn/tags/1.7.0/better-font-awesome.php:553
|
446 |
+
#: svn/tags/1.7.1/better-font-awesome.php:553
|
447 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:553
|
448 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:553
|
449 |
#: svn/trunk/better-font-awesome.php:553
|
450 |
msgid ""
|
451 |
"Version selection is currently unavailable. The attempt to reach the "
|
452 |
"jsDelivr API server failed with the following error: %s"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: better-font-awesome.php:560 svn/tags/1.0.0/better-font-awesome.php:463
|
456 |
+
#: svn/tags/1.0.1/better-font-awesome.php:463
|
457 |
+
#: svn/tags/1.0.10/better-font-awesome.php:482
|
458 |
+
#: svn/tags/1.0.2/better-font-awesome.php:463
|
459 |
#: svn/tags/1.0.3/better-font-awesome.php:463
|
460 |
#: svn/tags/1.0.4/better-font-awesome.php:463
|
461 |
#: svn/tags/1.0.5/better-font-awesome.php:463
|
462 |
+
#: svn/tags/1.0.6/better-font-awesome.php:463
|
463 |
+
#: svn/tags/1.0.7/better-font-awesome.php:463
|
464 |
+
#: svn/tags/1.0.8/better-font-awesome.php:482
|
465 |
+
#: svn/tags/1.0.9/better-font-awesome.php:482
|
466 |
+
#: svn/tags/1.1.0/better-font-awesome.php:545
|
467 |
#: svn/tags/1.2.0/better-font-awesome.php:545
|
468 |
#: svn/tags/1.2.1/better-font-awesome.php:547
|
469 |
+
#: svn/tags/1.3.0/better-font-awesome.php:547
|
470 |
+
#: svn/tags/1.3.1/better-font-awesome.php:547
|
471 |
#: svn/tags/1.3.2/better-font-awesome.php:547
|
472 |
+
#: svn/tags/1.3.3/better-font-awesome.php:547
|
473 |
+
#: svn/tags/1.3.4/better-font-awesome.php:547
|
474 |
#: svn/tags/1.3.5/better-font-awesome.php:547
|
475 |
+
#: svn/tags/1.4.0/better-font-awesome.php:547
|
476 |
+
#: svn/tags/1.4.1/better-font-awesome.php:547
|
477 |
#: svn/tags/1.4.2/better-font-awesome.php:547
|
478 |
#: svn/tags/1.4.3/better-font-awesome.php:547
|
479 |
#: svn/tags/1.5.0/better-font-awesome.php:547
|
480 |
#: svn/tags/1.6.0/better-font-awesome.php:547
|
481 |
+
#: svn/tags/1.7.0/better-font-awesome.php:560
|
482 |
+
#: svn/tags/1.7.1/better-font-awesome.php:560
|
483 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:560
|
484 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:560
|
485 |
#: svn/trunk/better-font-awesome.php:560
|
486 |
msgid "Font Awesome will still render using version: %s"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: better-font-awesome.php:567 svn/tags/1.0.0/better-font-awesome.php:470
|
490 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1044
|
491 |
+
#: svn/tags/1.0.1/better-font-awesome.php:470
|
492 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1052
|
493 |
+
#: svn/tags/1.0.10/better-font-awesome.php:489
|
494 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
495 |
+
#: svn/tags/1.0.2/better-font-awesome.php:470
|
496 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
497 |
#: svn/tags/1.0.3/better-font-awesome.php:470
|
498 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
500 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
501 |
#: svn/tags/1.0.5/better-font-awesome.php:470
|
502 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1066
|
503 |
+
#: svn/tags/1.0.6/better-font-awesome.php:470
|
504 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1066
|
505 |
+
#: svn/tags/1.0.7/better-font-awesome.php:470
|
506 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1066
|
507 |
+
#: svn/tags/1.0.8/better-font-awesome.php:489
|
508 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1117
|
509 |
+
#: svn/tags/1.0.9/better-font-awesome.php:489
|
510 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1117
|
511 |
+
#: svn/tags/1.1.0/better-font-awesome.php:552
|
512 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
513 |
#: svn/tags/1.2.0/better-font-awesome.php:552
|
514 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
515 |
#: svn/tags/1.2.1/better-font-awesome.php:554
|
516 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1118
|
517 |
+
#: svn/tags/1.3.0/better-font-awesome.php:554
|
518 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1087
|
519 |
+
#: svn/tags/1.3.1/better-font-awesome.php:554
|
520 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1095
|
521 |
#: svn/tags/1.3.2/better-font-awesome.php:554
|
522 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1095
|
523 |
+
#: svn/tags/1.3.3/better-font-awesome.php:554
|
524 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
525 |
+
#: svn/tags/1.3.4/better-font-awesome.php:554
|
526 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
527 |
#: svn/tags/1.3.5/better-font-awesome.php:554
|
528 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
529 |
+
#: svn/tags/1.4.0/better-font-awesome.php:554
|
530 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
531 |
+
#: svn/tags/1.4.1/better-font-awesome.php:554
|
532 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
533 |
#: svn/tags/1.4.2/better-font-awesome.php:554
|
534 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1098
|
535 |
#: svn/tags/1.4.3/better-font-awesome.php:554
|
538 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1109
|
539 |
#: svn/tags/1.6.0/better-font-awesome.php:554
|
540 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1109
|
541 |
+
#: svn/tags/1.7.0/better-font-awesome.php:567
|
542 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1109
|
543 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
544 |
+
#: svn/tags/1.7.1/better-font-awesome.php:567
|
545 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
546 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:567
|
547 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1312
|
548 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:567
|
549 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1312
|
550 |
#: svn/trunk/better-font-awesome.php:567
|
551 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1313
|
552 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1313
|
553 |
msgid ""
|
554 |
"This may be the result of a temporary server or connectivity issue which "
|
555 |
"will resolve shortly. However if the problem persists please file a support "
|
556 |
"ticket on the %splugin forum%s, citing the errors listed above. "
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: better-font-awesome.php:614 svn/tags/1.3.0/better-font-awesome.php:601
|
560 |
+
#: svn/tags/1.3.1/better-font-awesome.php:601
|
561 |
+
#: svn/tags/1.3.2/better-font-awesome.php:601
|
562 |
+
#: svn/tags/1.3.3/better-font-awesome.php:601
|
563 |
+
#: svn/tags/1.3.4/better-font-awesome.php:601
|
564 |
#: svn/tags/1.3.5/better-font-awesome.php:601
|
565 |
+
#: svn/tags/1.4.0/better-font-awesome.php:601
|
566 |
+
#: svn/tags/1.4.1/better-font-awesome.php:601
|
567 |
#: svn/tags/1.4.2/better-font-awesome.php:601
|
568 |
#: svn/tags/1.4.3/better-font-awesome.php:601
|
569 |
#: svn/tags/1.5.0/better-font-awesome.php:601
|
570 |
#: svn/tags/1.6.0/better-font-awesome.php:601
|
571 |
+
#: svn/tags/1.7.0/better-font-awesome.php:614
|
572 |
+
#: svn/tags/1.7.1/better-font-awesome.php:614
|
573 |
#: svn/tags/2.0.0-beta/better-font-awesome.php:614
|
574 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:614
|
575 |
#: svn/trunk/better-font-awesome.php:614
|
576 |
msgid ""
|
577 |
"<h3>Usage</h3>\n"
|
606 |
"icon-coffee icon-2x icon-rotate-90\"></i></code>"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: svn/tags/0.9.0/Titan-Framework/class-admin-panel.php:290
|
610 |
+
#: svn/tags/0.9.1/Titan-Framework/class-admin-panel.php:290
|
611 |
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:290
|
612 |
+
#: svn/tags/0.9.3/Titan-Framework/class-admin-panel.php:290
|
613 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-admin-panel.php:290
|
614 |
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:290
|
615 |
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:287
|
616 |
+
#: svn/tags/0.9.6/Titan-Framework/class-admin-panel.php:287
|
617 |
+
#: svn/tags/0.9.7/Titan-Framework/class-admin-panel.php:287
|
618 |
msgid "Settings saved."
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: svn/tags/0.9.0/Titan-Framework/class-admin-panel.php:292
|
622 |
+
#: svn/tags/0.9.1/Titan-Framework/class-admin-panel.php:292
|
623 |
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:292
|
624 |
+
#: svn/tags/0.9.3/Titan-Framework/class-admin-panel.php:292
|
625 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-admin-panel.php:292
|
626 |
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:292
|
627 |
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:289
|
628 |
+
#: svn/tags/0.9.6/Titan-Framework/class-admin-panel.php:289
|
629 |
+
#: svn/tags/0.9.7/Titan-Framework/class-admin-panel.php:289
|
630 |
msgid "Settings reset to default."
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: svn/tags/0.9.0/Titan-Framework/class-meta-box.php:35
|
634 |
+
#: svn/tags/0.9.0/Titan-Framework/class-theme-customizer-section.php:30
|
635 |
+
#: svn/tags/0.9.1/Titan-Framework/class-meta-box.php:35
|
636 |
+
#: svn/tags/0.9.1/Titan-Framework/class-theme-customizer-section.php:30
|
637 |
#: svn/tags/0.9.2/Titan-Framework/class-meta-box.php:35
|
638 |
#: svn/tags/0.9.2/Titan-Framework/class-theme-customizer-section.php:30
|
639 |
+
#: svn/tags/0.9.3/Titan-Framework/class-meta-box.php:35
|
640 |
+
#: svn/tags/0.9.3/Titan-Framework/class-theme-customizer-section.php:30
|
641 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-meta-box.php:35
|
642 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-theme-customizer-section.php:30
|
643 |
#: svn/tags/0.9.4/Titan-Framework/class-meta-box.php:35
|
644 |
#: svn/tags/0.9.4/Titan-Framework/class-theme-customizer-section.php:30
|
645 |
#: svn/tags/0.9.5/Titan-Framework/class-meta-box.php:35
|
646 |
#: svn/tags/0.9.5/Titan-Framework/class-theme-customizer-section.php:30
|
647 |
+
#: svn/tags/0.9.6/Titan-Framework/class-meta-box.php:35
|
648 |
+
#: svn/tags/0.9.6/Titan-Framework/class-theme-customizer-section.php:30
|
649 |
+
#: svn/tags/0.9.7/Titan-Framework/class-meta-box.php:35
|
650 |
+
#: svn/tags/0.9.7/Titan-Framework/class-theme-customizer-section.php:30
|
651 |
msgid "More Options"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-save.php:20
|
655 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-save.php:20
|
656 |
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:20
|
657 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-save.php:20
|
658 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-save.php:20
|
659 |
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:20
|
660 |
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:20
|
661 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-save.php:20
|
662 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-save.php:20
|
663 |
msgid "Save Changes"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-save.php:23
|
667 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-save.php:23
|
668 |
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:23
|
669 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-save.php:23
|
670 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-save.php:23
|
671 |
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:23
|
672 |
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:23
|
673 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-save.php:23
|
674 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-save.php:23
|
675 |
msgid "Reset to Default"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-categories.php:37
|
679 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-categories.php:104
|
680 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-pages.php:30
|
681 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-posts.php:38
|
682 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-posts.php:106
|
683 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-categories.php:37
|
684 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-categories.php:104
|
685 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-pages.php:30
|
686 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-posts.php:38
|
687 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-posts.php:106
|
688 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:37
|
689 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:104
|
690 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-pages.php:30
|
691 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:38
|
692 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:106
|
693 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-categories.php:37
|
694 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-categories.php:104
|
695 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-pages.php:30
|
696 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-posts.php:38
|
697 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-posts.php:106
|
698 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:37
|
699 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:104
|
700 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-pages.php:30
|
710 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-pages.php:30
|
711 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:38
|
712 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:106
|
713 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-categories.php:37
|
714 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-categories.php:104
|
715 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-pages.php:30
|
716 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-posts.php:38
|
717 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-posts.php:106
|
718 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-categories.php:37
|
719 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-categories.php:104
|
720 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-pages.php:30
|
721 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-posts.php:38
|
722 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-posts.php:106
|
723 |
msgid "Select"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:29
|
727 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:29
|
728 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:29
|
729 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:29
|
730 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:29
|
731 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:29
|
732 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:29
|
733 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:29
|
734 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:29
|
735 |
msgid ""
|
736 |
"%s has been deprecated and will be removed in version %s! Please use %s "
|
737 |
"instead to avoid errors in the future."
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:108
|
741 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:108
|
742 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:108
|
743 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:108
|
744 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:108
|
745 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:108
|
746 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:108
|
747 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:108
|
748 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:108
|
749 |
msgid "Ultra-light"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:111
|
753 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:111
|
754 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:111
|
755 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:111
|
756 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:111
|
757 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:111
|
758 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:111
|
759 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:111
|
760 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:111
|
761 |
msgid "Light"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:114
|
765 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:114
|
766 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:114
|
767 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:114
|
768 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:114
|
769 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:114
|
770 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:114
|
771 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:114
|
772 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:114
|
773 |
msgid "Book"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:117
|
777 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:117
|
778 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:117
|
779 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:117
|
780 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:117
|
781 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:117
|
782 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:117
|
783 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:117
|
784 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:117
|
785 |
msgid "Medium"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:120
|
789 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:120
|
790 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:120
|
791 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:120
|
792 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:120
|
793 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:120
|
794 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:120
|
795 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:120
|
796 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:120
|
797 |
msgid "Semi-Bold"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:123
|
801 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:123
|
802 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:123
|
803 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:123
|
804 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:123
|
805 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:123
|
806 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:123
|
807 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:123
|
808 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:123
|
809 |
msgid "Bold"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:126
|
813 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:126
|
814 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:126
|
815 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:126
|
816 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:126
|
817 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:126
|
818 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:126
|
819 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:126
|
820 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:126
|
821 |
msgid "Extra-Bold"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:129
|
825 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:129
|
826 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:129
|
827 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:129
|
828 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:129
|
829 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:129
|
830 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:129
|
831 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:129
|
832 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:129
|
833 |
msgid "Ultra-Bold"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:132
|
837 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:132
|
838 |
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:132
|
839 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:132
|
840 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:132
|
841 |
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:132
|
842 |
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:132
|
843 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:132
|
844 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:132
|
845 |
msgid "Regular"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-upload.php:196
|
849 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-upload.php:196
|
850 |
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:196
|
851 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-upload.php:196
|
852 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:196
|
853 |
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:196
|
854 |
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:196
|
855 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-upload.php:196
|
856 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-upload.php:196
|
857 |
msgid "Select Image"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option-upload.php:199
|
861 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option-upload.php:199
|
862 |
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:199
|
863 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option-upload.php:199
|
864 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:199
|
865 |
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:199
|
866 |
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:199
|
867 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option-upload.php:199
|
868 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option-upload.php:199
|
869 |
msgid "Use image"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: svn/tags/0.9.0/Titan-Framework/class-option.php:40
|
873 |
+
#: svn/tags/0.9.1/Titan-Framework/class-option.php:40
|
874 |
#: svn/tags/0.9.2/Titan-Framework/class-option.php:40
|
875 |
+
#: svn/tags/0.9.3/Titan-Framework/class-option.php:40
|
876 |
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option.php:40
|
877 |
#: svn/tags/0.9.4/Titan-Framework/class-option.php:40
|
878 |
#: svn/tags/0.9.5/Titan-Framework/class-option.php:40
|
879 |
+
#: svn/tags/0.9.6/Titan-Framework/class-option.php:40
|
880 |
+
#: svn/tags/0.9.7/Titan-Framework/class-option.php:40
|
881 |
msgid "Option type or extended class %s does not exist."
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:85
|
885 |
+
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:85
|
886 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:85
|
887 |
+
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:85
|
888 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:85
|
889 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:85
|
890 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:85
|
891 |
+
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:85
|
892 |
+
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:85
|
893 |
msgid "All option IDs must be unique. The id %s has been used multiple times."
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:346
|
897 |
+
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:393
|
898 |
+
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:346
|
899 |
+
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:393
|
900 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:346
|
901 |
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:393
|
902 |
+
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:346
|
903 |
+
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:393
|
904 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:346
|
905 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:393
|
906 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:346
|
907 |
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:393
|
908 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:346
|
909 |
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:393
|
910 |
+
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:346
|
911 |
+
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:393
|
912 |
+
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:346
|
913 |
+
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:393
|
914 |
msgid ""
|
915 |
"Wrong usage of %s, this should be called inside a hook or from within a "
|
916 |
"theme file."
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:126
|
920 |
+
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:126
|
921 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:126
|
922 |
+
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:126
|
923 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:126
|
924 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:126
|
925 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:126
|
926 |
+
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:126
|
927 |
+
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:126
|
928 |
msgid "Documentation"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:130
|
932 |
+
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:130
|
933 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:130
|
934 |
+
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:130
|
935 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:130
|
936 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:130
|
937 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:130
|
938 |
+
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:130
|
939 |
+
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:130
|
940 |
msgid "GitHub Repo"
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:134
|
944 |
+
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:134
|
945 |
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:134
|
946 |
+
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:134
|
947 |
+
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:134
|
948 |
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:134
|
949 |
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:134
|
950 |
+
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:134
|
951 |
+
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:134
|
952 |
msgid "Issue Tracker"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: svn/tags/0.9.0/better-font-awesome.php:185
|
956 |
+
#: svn/tags/0.9.1/better-font-awesome.php:178
|
957 |
+
msgid "Latest"
|
958 |
+
msgstr ""
|
959 |
+
|
960 |
+
#: svn/tags/0.9.0/better-font-awesome.php:199
|
961 |
+
#: svn/tags/0.9.1/better-font-awesome.php:192
|
962 |
#: svn/tags/0.9.2/better-font-awesome.php:204
|
963 |
+
#: svn/tags/0.9.3/better-font-awesome.php:242
|
964 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:242
|
965 |
#: svn/tags/0.9.4/better-font-awesome.php:234
|
966 |
#: svn/tags/0.9.5/better-font-awesome.php:234
|
967 |
+
#: svn/tags/0.9.6/better-font-awesome.php:231
|
968 |
+
#: svn/tags/0.9.7/better-font-awesome.php:235
|
969 |
msgid "Font Awesome version"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: svn/tags/0.9.0/better-font-awesome.php:202
|
973 |
+
#: svn/tags/0.9.1/better-font-awesome.php:195
|
974 |
#: svn/tags/0.9.2/better-font-awesome.php:207
|
975 |
+
#: svn/tags/0.9.3/better-font-awesome.php:245
|
976 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:245
|
977 |
#: svn/tags/0.9.4/better-font-awesome.php:237
|
978 |
#: svn/tags/0.9.5/better-font-awesome.php:237
|
979 |
+
#: svn/tags/0.9.6/better-font-awesome.php:234
|
980 |
+
#: svn/tags/0.9.7/better-font-awesome.php:238
|
981 |
msgid ""
|
982 |
"Select the version of Font Awesome you would like to use. Visit the <a "
|
983 |
"href=\"http://fontawesome.io/\" target=\"_blank\">Font Awesome website</a> "
|
984 |
"for more information."
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: svn/tags/0.9.0/better-font-awesome.php:216
|
988 |
+
#: svn/tags/0.9.1/better-font-awesome.php:209
|
989 |
+
msgid "Remove existing Font Awesome styles"
|
|
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: svn/tags/0.9.0/better-font-awesome.php:219
|
993 |
+
#: svn/tags/0.9.1/better-font-awesome.php:212
|
|
|
994 |
msgid ""
|
995 |
+
"Remove Font Awesome CSS included by other plugins and themes. This may help "
|
996 |
+
"if icons are not rendering as expected."
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: svn/tags/0.9.0/better-font-awesome.php:224
|
1000 |
+
#: svn/tags/0.9.1/better-font-awesome.php:217
|
1001 |
#: svn/tags/0.9.2/better-font-awesome.php:229
|
1002 |
+
#: svn/tags/0.9.3/better-font-awesome.php:267
|
1003 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:267
|
1004 |
#: svn/tags/0.9.4/better-font-awesome.php:271
|
1005 |
#: svn/tags/0.9.5/better-font-awesome.php:271
|
1006 |
+
#: svn/tags/0.9.6/better-font-awesome.php:268
|
1007 |
+
#: svn/tags/0.9.7/better-font-awesome.php:272
|
1008 |
msgid "Usage"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: svn/tags/0.9.0/better-font-awesome.php:226
|
1012 |
+
#: svn/tags/0.9.1/better-font-awesome.php:219
|
1013 |
#: svn/tags/0.9.2/better-font-awesome.php:231
|
1014 |
+
#: svn/tags/0.9.3/better-font-awesome.php:269
|
1015 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:269
|
1016 |
#: svn/tags/0.9.4/better-font-awesome.php:273
|
1017 |
#: svn/tags/0.9.5/better-font-awesome.php:273
|
1018 |
+
#: svn/tags/0.9.6/better-font-awesome.php:270
|
1019 |
+
#: svn/tags/0.9.7/better-font-awesome.php:274
|
1020 |
msgid ""
|
1021 |
"\n"
|
1022 |
"\t\t \t\t<b>Version 4</b> <small><a "
|
1049 |
"\t\t \t\t"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: svn/tags/0.9.2/better-font-awesome.php:221
|
1053 |
+
#: svn/tags/0.9.3/better-font-awesome.php:259
|
1054 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:259
|
1055 |
+
#: svn/tags/0.9.4/better-font-awesome.php:263
|
1056 |
+
#: svn/tags/0.9.5/better-font-awesome.php:263
|
1057 |
+
#: svn/tags/0.9.6/better-font-awesome.php:260
|
1058 |
+
#: svn/tags/0.9.7/better-font-awesome.php:264
|
1059 |
+
msgid "Remove existing FA"
|
1060 |
+
msgstr ""
|
1061 |
+
|
1062 |
+
#: svn/tags/0.9.2/better-font-awesome.php:224
|
1063 |
+
#: svn/tags/0.9.3/better-font-awesome.php:262
|
1064 |
+
#: svn/tags/0.9.3/trunk/better-font-awesome.php:262
|
1065 |
+
#: svn/tags/0.9.4/better-font-awesome.php:266
|
1066 |
+
#: svn/tags/0.9.5/better-font-awesome.php:266
|
1067 |
+
#: svn/tags/0.9.6/better-font-awesome.php:263
|
1068 |
+
#: svn/tags/0.9.7/better-font-awesome.php:267
|
1069 |
+
msgid ""
|
1070 |
+
"Remove Font Awesome CSS and shortcodes added by other plugins and themes. "
|
1071 |
+
"This may help if icons are not rendering properly."
|
1072 |
+
msgstr ""
|
1073 |
+
|
1074 |
#: svn/tags/0.9.4/better-font-awesome.php:243
|
1075 |
#: svn/tags/0.9.5/better-font-awesome.php:243
|
1076 |
+
#: svn/tags/0.9.6/better-font-awesome.php:240
|
1077 |
+
#: svn/tags/0.9.7/better-font-awesome.php:244
|
1078 |
msgid "CDN"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
#: svn/tags/0.9.4/better-font-awesome.php:246
|
1082 |
#: svn/tags/0.9.5/better-font-awesome.php:246
|
1083 |
+
#: svn/tags/0.9.6/better-font-awesome.php:243
|
1084 |
+
#: svn/tags/0.9.7/better-font-awesome.php:247
|
1085 |
msgid "Select the CDN from which to load Font Awesome."
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: svn/tags/1.0.0/better-font-awesome.php:217
|
1089 |
+
#: svn/tags/1.0.1/better-font-awesome.php:217
|
1090 |
+
#: svn/tags/1.0.10/better-font-awesome.php:218
|
1091 |
#: svn/tags/1.0.2/better-font-awesome.php:217
|
1092 |
#: svn/tags/1.0.3/better-font-awesome.php:217
|
1093 |
#: svn/tags/1.0.4/better-font-awesome.php:217
|
1094 |
#: svn/tags/1.0.5/better-font-awesome.php:217
|
1095 |
+
#: svn/tags/1.0.6/better-font-awesome.php:217
|
1096 |
+
#: svn/tags/1.0.7/better-font-awesome.php:217
|
1097 |
+
#: svn/tags/1.0.8/better-font-awesome.php:218
|
1098 |
+
#: svn/tags/1.0.9/better-font-awesome.php:218
|
1099 |
+
#: svn/tags/1.1.0/better-font-awesome.php:222
|
1100 |
#: svn/tags/1.2.0/better-font-awesome.php:222
|
1101 |
#: svn/tags/1.2.1/better-font-awesome.php:224
|
1102 |
+
#: svn/tags/1.3.0/better-font-awesome.php:224
|
1103 |
+
#: svn/tags/1.3.1/better-font-awesome.php:224
|
1104 |
#: svn/tags/1.3.2/better-font-awesome.php:224
|
1105 |
+
#: svn/tags/1.3.3/better-font-awesome.php:224
|
1106 |
+
#: svn/tags/1.3.4/better-font-awesome.php:224
|
1107 |
#: svn/tags/1.3.5/better-font-awesome.php:224
|
1108 |
+
#: svn/tags/1.4.0/better-font-awesome.php:224
|
1109 |
+
#: svn/tags/1.4.1/better-font-awesome.php:224
|
1110 |
#: svn/tags/1.4.2/better-font-awesome.php:224
|
1111 |
#: svn/tags/1.4.3/better-font-awesome.php:224
|
1112 |
#: svn/tags/1.5.0/better-font-awesome.php:224
|
1128 |
"target=\"_blank\">Github repo</a>."
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: svn/tags/1.0.0/better-font-awesome.php:517
|
1132 |
+
#: svn/tags/1.0.1/better-font-awesome.php:517
|
1133 |
+
#: svn/tags/1.0.10/better-font-awesome.php:536
|
1134 |
#: svn/tags/1.0.2/better-font-awesome.php:517
|
1135 |
#: svn/tags/1.0.3/better-font-awesome.php:517
|
1136 |
#: svn/tags/1.0.4/better-font-awesome.php:517
|
1137 |
#: svn/tags/1.0.5/better-font-awesome.php:517
|
1138 |
+
#: svn/tags/1.0.6/better-font-awesome.php:517
|
1139 |
+
#: svn/tags/1.0.7/better-font-awesome.php:517
|
1140 |
+
#: svn/tags/1.0.8/better-font-awesome.php:536
|
1141 |
+
#: svn/tags/1.0.9/better-font-awesome.php:536
|
1142 |
+
#: svn/tags/1.1.0/better-font-awesome.php:599
|
1143 |
#: svn/tags/1.2.0/better-font-awesome.php:599
|
1144 |
#: svn/tags/1.2.1/better-font-awesome.php:601
|
1145 |
msgid ""
|
1174 |
"icon-2x icon-rotate-90\"></i></code>"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1017
|
1178 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1022
|
1179 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1180 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
1181 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
1182 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1027
|
1183 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
1184 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
1185 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
1186 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1087
|
1187 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1087
|
1188 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
1189 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
1190 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1088
|
1191 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1057
|
1192 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1065
|
1193 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1065
|
1194 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1195 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1196 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1197 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1198 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1199 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1200 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1068
|
1201 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1202 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1203 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1204 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
1205 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
1206 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1282
|
1207 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1282
|
1208 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1283
|
1209 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1283
|
1210 |
msgid "API Error"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1019
|
1214 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1024
|
1215 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
1216 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
1217 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
1218 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
1219 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1038
|
1220 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1038
|
1221 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1038
|
1222 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1089
|
1223 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1089
|
1224 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
1225 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
1226 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1090
|
1227 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1059
|
1228 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1067
|
1229 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1067
|
1230 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1231 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1232 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1233 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1234 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1235 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1236 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1070
|
1237 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
1238 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
1239 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
1240 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
1241 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
1242 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1284
|
1243 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1284
|
1244 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1285
|
1245 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1285
|
1246 |
msgid ""
|
1247 |
"The attempt to reach the jsDelivr API server failed with the following "
|
1248 |
"error: %s"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1029
|
1252 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1034
|
1253 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
1254 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
1255 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
1256 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
1257 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1048
|
1258 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1048
|
1259 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1048
|
1260 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1099
|
1261 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1099
|
1262 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
1263 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
1264 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1100
|
1265 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1069
|
1266 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1077
|
1267 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1077
|
1268 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1269 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1270 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1271 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1272 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1273 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1274 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1080
|
1275 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
1276 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
1277 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
1278 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
1279 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
1280 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1294
|
1281 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1294
|
1282 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1295
|
1283 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1295
|
1284 |
msgid "Remote CSS Error"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1031
|
1288 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1036
|
1289 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
1290 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
1291 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
1292 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1041
|
1293 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
1294 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
1295 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
1296 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1101
|
1297 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1101
|
1298 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
1299 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
1300 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1102
|
1301 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1071
|
1302 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1303 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1304 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1305 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1306 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1307 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1308 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1309 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1310 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1082
|
1311 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1312 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1313 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1314 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
1315 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
1316 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1296
|
1317 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1296
|
1318 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1297
|
1319 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1297
|
1320 |
msgid ""
|
1321 |
"The attempt to fetch the remote Font Awesome stylesheet failed with the "
|
1322 |
"following error: %s %s The embedded fallback Font Awesome will be used "
|
1323 |
"instead (version: %s)."
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1327 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1050
|
1328 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
1329 |
+
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1055
|
1330 |
+
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1055
|
1331 |
+
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1055
|
1332 |
+
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1064
|
1333 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1064
|
1334 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1064
|
1335 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1115
|
1336 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1115
|
1337 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
1338 |
+
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
1339 |
+
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1116
|
1340 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1085
|
1341 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1342 |
+
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1343 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1344 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1345 |
+
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1346 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1347 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1348 |
+
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1349 |
+
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1096
|
1350 |
+
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
1351 |
+
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
1352 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
1353 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
1354 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
1355 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
1356 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
1357 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1311
|
1358 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1311
|
1359 |
+
msgid "Solution"
|
1360 |
+
msgstr ""
|
1361 |
+
|
1362 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:430
|
1363 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
1364 |
+
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1365 |
+
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1366 |
+
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1367 |
+
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1368 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1369 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:440
|
1370 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:491
|
1371 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:491
|
1372 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
1373 |
+
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
1374 |
+
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:492
|
1375 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1376 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1377 |
+
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1378 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1379 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1380 |
+
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1381 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1382 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1383 |
+
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1384 |
+
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1385 |
+
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1386 |
+
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1387 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1388 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
1389 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
1390 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
1391 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
1392 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
1393 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
1394 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
1395 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
1396 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
1397 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
1398 |
+
msgid "The jsDelivr API servers appear to be temporarily unavailable."
|
1399 |
+
msgstr ""
|
1400 |
+
|
1401 |
+
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1046
|
1402 |
+
#: svn/tags/1.0.10/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
1403 |
#: svn/tags/1.0.2/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
1404 |
#: svn/tags/1.0.3/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
1405 |
#: svn/tags/1.0.4/lib/better-font-awesome-library/better-font-awesome-library.php:1051
|
1406 |
#: svn/tags/1.0.5/lib/better-font-awesome-library/better-font-awesome-library.php:1060
|
1407 |
+
#: svn/tags/1.0.6/lib/better-font-awesome-library/better-font-awesome-library.php:1060
|
1408 |
+
#: svn/tags/1.0.7/lib/better-font-awesome-library/better-font-awesome-library.php:1060
|
1409 |
+
#: svn/tags/1.0.8/lib/better-font-awesome-library/better-font-awesome-library.php:1111
|
1410 |
+
#: svn/tags/1.0.9/lib/better-font-awesome-library/better-font-awesome-library.php:1111
|
1411 |
+
#: svn/tags/1.1.0/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
1412 |
#: svn/tags/1.2.0/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
1413 |
#: svn/tags/1.2.1/lib/better-font-awesome-library/better-font-awesome-library.php:1112
|
1414 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
1415 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1089
|
1416 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1089
|
1417 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1418 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1419 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1420 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1421 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1422 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1423 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1092
|
1424 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
1425 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
1426 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
1427 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1428 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1429 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1306
|
1430 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1306
|
1431 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1307
|
1432 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1307
|
1433 |
msgid ""
|
1434 |
"<b>Don't worry! Better Font Awesome will still render using the included "
|
1435 |
"fallback version:</b> "
|
1436 |
msgstr ""
|
1437 |
|
1438 |
+
#: svn/tags/1.3.0/lib/better-font-awesome-library/better-font-awesome-library.php:1031
|
1439 |
+
#: svn/tags/1.3.1/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1440 |
#: svn/tags/1.3.2/lib/better-font-awesome-library/better-font-awesome-library.php:1039
|
1441 |
+
#: svn/tags/1.3.3/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1442 |
+
#: svn/tags/1.3.4/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1443 |
#: svn/tags/1.3.5/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1444 |
+
#: svn/tags/1.4.0/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1445 |
+
#: svn/tags/1.4.1/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1446 |
#: svn/tags/1.4.2/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1447 |
#: svn/tags/1.4.3/lib/better-font-awesome-library/better-font-awesome-library.php:1042
|
1448 |
#: svn/tags/1.5.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
1449 |
#: svn/tags/1.6.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
1450 |
+
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
1451 |
+
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1452 |
+
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1453 |
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1256
|
1454 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1256
|
1455 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1257
|
1456 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1257
|
1457 |
msgid "Insert Icon"
|
1458 |
msgstr ""
|
1459 |
|
readme.txt
CHANGED
@@ -1,19 +1,17 @@
|
|
1 |
=== Better Font Awesome ===
|
2 |
Contributors: McGuive7
|
3 |
Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
-
Donate link:
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
Stable tag: 1.7.1
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
The Better Font Awesome plugin for WordPress. Shortcodes, HTML, TinyMCE, various Font Awesome versions, backwards compatibility, CDN speeds, and more.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
[![Build Status](https://travis-ci.org/MickeyKay/better-font-awesome.svg?branch=master)](https://travis-ci.org/MickeyKay/better-font-awesome)
|
16 |
-
|
17 |
**Do you find this plugin helpful? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/better-font-awesome).**
|
18 |
|
19 |
Better Font Awesome allows you to automatically integrate the latest available version of [Font Awesome](http://fontawesome.io/) into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.
|
@@ -113,6 +111,7 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
113 |
|
114 |
= 2.0.0 =
|
115 |
* Add support for Font Awesome 5
|
|
|
116 |
|
117 |
= 1.7.1 =
|
118 |
* Fix functionality to hide/show admin notices.
|
@@ -243,6 +242,7 @@ Better Font Awesome does it's best to load after any existing Font Awesome CSS,
|
|
243 |
|
244 |
= 2.0.0 =
|
245 |
* Add support for Font Awesome 5
|
|
|
246 |
|
247 |
= 1.7.1 =
|
248 |
* Fix functionality to hide/show admin notices.
|
1 |
=== Better Font Awesome ===
|
2 |
Contributors: McGuive7
|
3 |
Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
+
Donate link: https://mickeykay.me
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
Stable tag: 1.7.1
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
**Now supports Font Awesome 5+!** The Better Font Awesome plugin for WordPress. Shortcodes, HTML, TinyMCE, various Font Awesome versions, backwards compatibility, CDN speeds, and more.
|
12 |
|
13 |
== Description ==
|
14 |
|
|
|
|
|
15 |
**Do you find this plugin helpful? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/better-font-awesome).**
|
16 |
|
17 |
Better Font Awesome allows you to automatically integrate the latest available version of [Font Awesome](http://fontawesome.io/) into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.
|
111 |
|
112 |
= 2.0.0 =
|
113 |
* Add support for Font Awesome 5
|
114 |
+
* Add upgrade logic to map legacy icons to current versions
|
115 |
|
116 |
= 1.7.1 =
|
117 |
* Fix functionality to hide/show admin notices.
|
242 |
|
243 |
= 2.0.0 =
|
244 |
* Add support for Font Awesome 5
|
245 |
+
* Add upgrade logic to map legacy icons to current versions
|
246 |
|
247 |
= 1.7.1 =
|
248 |
* Fix functionality to hide/show admin notices.
|
vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php
CHANGED
@@ -864,7 +864,7 @@ class Better_Font_Awesome_Library {
|
|
864 |
private function get_icon_array_version_5() {
|
865 |
|
866 |
$icons_metadata = $this->get_icons_metadata();
|
867 |
-
$icons =
|
868 |
|
869 |
// Add style prefixes.
|
870 |
foreach ( $icons_metadata as $slug => $metadata ) {
|
@@ -1107,7 +1107,7 @@ class Better_Font_Awesome_Library {
|
|
1107 |
}
|
1108 |
|
1109 |
$prefix = $this->get_prefix();
|
1110 |
-
$classes =
|
1111 |
|
1112 |
/**
|
1113 |
* Include for backwards compatibility with Font Awesome More Icons plugin.
|
@@ -1122,7 +1122,8 @@ class Better_Font_Awesome_Library {
|
|
1122 |
$name = $this->sanitize_shortcode_name_att( $name );
|
1123 |
|
1124 |
// Generate classes array.
|
1125 |
-
$
|
|
|
1126 |
$classes[] = $this->sanitize_shortcode_class_att( $class );
|
1127 |
$classes[] = $unprefixed_class;
|
1128 |
|
@@ -1501,8 +1502,6 @@ class Better_Font_Awesome_Library {
|
|
1501 |
}
|
1502 |
|
1503 |
public function get_icon_by_slug( $slug ) {
|
1504 |
-
$time_pre = microtime(true);
|
1505 |
-
// Code to time
|
1506 |
foreach ( $this->get_icons() as $icon ) {
|
1507 |
if ( $slug === $icon['slug'] ) {
|
1508 |
return $icon;
|
864 |
private function get_icon_array_version_5() {
|
865 |
|
866 |
$icons_metadata = $this->get_icons_metadata();
|
867 |
+
$icons = array();
|
868 |
|
869 |
// Add style prefixes.
|
870 |
foreach ( $icons_metadata as $slug => $metadata ) {
|
1107 |
}
|
1108 |
|
1109 |
$prefix = $this->get_prefix();
|
1110 |
+
$classes = array();
|
1111 |
|
1112 |
/**
|
1113 |
* Include for backwards compatibility with Font Awesome More Icons plugin.
|
1122 |
$name = $this->sanitize_shortcode_name_att( $name );
|
1123 |
|
1124 |
// Generate classes array.
|
1125 |
+
$icon = $this->get_icon_by_slug( $name );
|
1126 |
+
$classes[] = $icon['base_class'];
|
1127 |
$classes[] = $this->sanitize_shortcode_class_att( $class );
|
1128 |
$classes[] = $unprefixed_class;
|
1129 |
|
1502 |
}
|
1503 |
|
1504 |
public function get_icon_by_slug( $slug ) {
|
|
|
|
|
1505 |
foreach ( $this->get_icons() as $icon ) {
|
1506 |
if ( $slug === $icon['slug'] ) {
|
1507 |
return $icon;
|
vendor/mickey-kay/better-font-awesome-library/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"name": "better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library",
|
4 |
-
"version": "
|
5 |
"main": " ",
|
6 |
"devDependencies": {
|
7 |
"font-awesome": "4.7.0",
|
1 |
{
|
2 |
"name": "better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library",
|
4 |
+
"version": "2.0.0-beta",
|
5 |
"main": " ",
|
6 |
"devDependencies": {
|
7 |
"font-awesome": "4.7.0",
|
vendor/mickey-kay/better-font-awesome-library/vendor/autoload.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload.php @generated by Composer
|
4 |
+
|
5 |
+
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
+
|
7 |
+
return ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe::getLoader();
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/ClassLoader.php
ADDED
@@ -0,0 +1,445 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of Composer.
|
5 |
+
*
|
6 |
+
* (c) Nils Adermann <naderman@naderman.de>
|
7 |
+
* Jordi Boggiano <j.boggiano@seld.be>
|
8 |
+
*
|
9 |
+
* For the full copyright and license information, please view the LICENSE
|
10 |
+
* file that was distributed with this source code.
|
11 |
+
*/
|
12 |
+
|
13 |
+
namespace Composer\Autoload;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
17 |
+
*
|
18 |
+
* $loader = new \Composer\Autoload\ClassLoader();
|
19 |
+
*
|
20 |
+
* // register classes with namespaces
|
21 |
+
* $loader->add('Symfony\Component', __DIR__.'/component');
|
22 |
+
* $loader->add('Symfony', __DIR__.'/framework');
|
23 |
+
*
|
24 |
+
* // activate the autoloader
|
25 |
+
* $loader->register();
|
26 |
+
*
|
27 |
+
* // to enable searching the include path (eg. for PEAR packages)
|
28 |
+
* $loader->setUseIncludePath(true);
|
29 |
+
*
|
30 |
+
* In this example, if you try to use a class in the Symfony\Component
|
31 |
+
* namespace or one of its children (Symfony\Component\Console for instance),
|
32 |
+
* the autoloader will first look for the class under the component/
|
33 |
+
* directory, and it will then fallback to the framework/ directory if not
|
34 |
+
* found before giving up.
|
35 |
+
*
|
36 |
+
* This class is loosely based on the Symfony UniversalClassLoader.
|
37 |
+
*
|
38 |
+
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
+
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
+
* @see http://www.php-fig.org/psr/psr-0/
|
41 |
+
* @see http://www.php-fig.org/psr/psr-4/
|
42 |
+
*/
|
43 |
+
class ClassLoader
|
44 |
+
{
|
45 |
+
// PSR-4
|
46 |
+
private $prefixLengthsPsr4 = array();
|
47 |
+
private $prefixDirsPsr4 = array();
|
48 |
+
private $fallbackDirsPsr4 = array();
|
49 |
+
|
50 |
+
// PSR-0
|
51 |
+
private $prefixesPsr0 = array();
|
52 |
+
private $fallbackDirsPsr0 = array();
|
53 |
+
|
54 |
+
private $useIncludePath = false;
|
55 |
+
private $classMap = array();
|
56 |
+
private $classMapAuthoritative = false;
|
57 |
+
private $missingClasses = array();
|
58 |
+
private $apcuPrefix;
|
59 |
+
|
60 |
+
public function getPrefixes()
|
61 |
+
{
|
62 |
+
if (!empty($this->prefixesPsr0)) {
|
63 |
+
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
64 |
+
}
|
65 |
+
|
66 |
+
return array();
|
67 |
+
}
|
68 |
+
|
69 |
+
public function getPrefixesPsr4()
|
70 |
+
{
|
71 |
+
return $this->prefixDirsPsr4;
|
72 |
+
}
|
73 |
+
|
74 |
+
public function getFallbackDirs()
|
75 |
+
{
|
76 |
+
return $this->fallbackDirsPsr0;
|
77 |
+
}
|
78 |
+
|
79 |
+
public function getFallbackDirsPsr4()
|
80 |
+
{
|
81 |
+
return $this->fallbackDirsPsr4;
|
82 |
+
}
|
83 |
+
|
84 |
+
public function getClassMap()
|
85 |
+
{
|
86 |
+
return $this->classMap;
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* @param array $classMap Class to filename map
|
91 |
+
*/
|
92 |
+
public function addClassMap(array $classMap)
|
93 |
+
{
|
94 |
+
if ($this->classMap) {
|
95 |
+
$this->classMap = array_merge($this->classMap, $classMap);
|
96 |
+
} else {
|
97 |
+
$this->classMap = $classMap;
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Registers a set of PSR-0 directories for a given prefix, either
|
103 |
+
* appending or prepending to the ones previously set for this prefix.
|
104 |
+
*
|
105 |
+
* @param string $prefix The prefix
|
106 |
+
* @param array|string $paths The PSR-0 root directories
|
107 |
+
* @param bool $prepend Whether to prepend the directories
|
108 |
+
*/
|
109 |
+
public function add($prefix, $paths, $prepend = false)
|
110 |
+
{
|
111 |
+
if (!$prefix) {
|
112 |
+
if ($prepend) {
|
113 |
+
$this->fallbackDirsPsr0 = array_merge(
|
114 |
+
(array) $paths,
|
115 |
+
$this->fallbackDirsPsr0
|
116 |
+
);
|
117 |
+
} else {
|
118 |
+
$this->fallbackDirsPsr0 = array_merge(
|
119 |
+
$this->fallbackDirsPsr0,
|
120 |
+
(array) $paths
|
121 |
+
);
|
122 |
+
}
|
123 |
+
|
124 |
+
return;
|
125 |
+
}
|
126 |
+
|
127 |
+
$first = $prefix[0];
|
128 |
+
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
129 |
+
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
130 |
+
|
131 |
+
return;
|
132 |
+
}
|
133 |
+
if ($prepend) {
|
134 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
135 |
+
(array) $paths,
|
136 |
+
$this->prefixesPsr0[$first][$prefix]
|
137 |
+
);
|
138 |
+
} else {
|
139 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
140 |
+
$this->prefixesPsr0[$first][$prefix],
|
141 |
+
(array) $paths
|
142 |
+
);
|
143 |
+
}
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Registers a set of PSR-4 directories for a given namespace, either
|
148 |
+
* appending or prepending to the ones previously set for this namespace.
|
149 |
+
*
|
150 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
151 |
+
* @param array|string $paths The PSR-4 base directories
|
152 |
+
* @param bool $prepend Whether to prepend the directories
|
153 |
+
*
|
154 |
+
* @throws \InvalidArgumentException
|
155 |
+
*/
|
156 |
+
public function addPsr4($prefix, $paths, $prepend = false)
|
157 |
+
{
|
158 |
+
if (!$prefix) {
|
159 |
+
// Register directories for the root namespace.
|
160 |
+
if ($prepend) {
|
161 |
+
$this->fallbackDirsPsr4 = array_merge(
|
162 |
+
(array) $paths,
|
163 |
+
$this->fallbackDirsPsr4
|
164 |
+
);
|
165 |
+
} else {
|
166 |
+
$this->fallbackDirsPsr4 = array_merge(
|
167 |
+
$this->fallbackDirsPsr4,
|
168 |
+
(array) $paths
|
169 |
+
);
|
170 |
+
}
|
171 |
+
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
172 |
+
// Register directories for a new namespace.
|
173 |
+
$length = strlen($prefix);
|
174 |
+
if ('\\' !== $prefix[$length - 1]) {
|
175 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
176 |
+
}
|
177 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
178 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
179 |
+
} elseif ($prepend) {
|
180 |
+
// Prepend directories for an already registered namespace.
|
181 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
182 |
+
(array) $paths,
|
183 |
+
$this->prefixDirsPsr4[$prefix]
|
184 |
+
);
|
185 |
+
} else {
|
186 |
+
// Append directories for an already registered namespace.
|
187 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
188 |
+
$this->prefixDirsPsr4[$prefix],
|
189 |
+
(array) $paths
|
190 |
+
);
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Registers a set of PSR-0 directories for a given prefix,
|
196 |
+
* replacing any others previously set for this prefix.
|
197 |
+
*
|
198 |
+
* @param string $prefix The prefix
|
199 |
+
* @param array|string $paths The PSR-0 base directories
|
200 |
+
*/
|
201 |
+
public function set($prefix, $paths)
|
202 |
+
{
|
203 |
+
if (!$prefix) {
|
204 |
+
$this->fallbackDirsPsr0 = (array) $paths;
|
205 |
+
} else {
|
206 |
+
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* Registers a set of PSR-4 directories for a given namespace,
|
212 |
+
* replacing any others previously set for this namespace.
|
213 |
+
*
|
214 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
215 |
+
* @param array|string $paths The PSR-4 base directories
|
216 |
+
*
|
217 |
+
* @throws \InvalidArgumentException
|
218 |
+
*/
|
219 |
+
public function setPsr4($prefix, $paths)
|
220 |
+
{
|
221 |
+
if (!$prefix) {
|
222 |
+
$this->fallbackDirsPsr4 = (array) $paths;
|
223 |
+
} else {
|
224 |
+
$length = strlen($prefix);
|
225 |
+
if ('\\' !== $prefix[$length - 1]) {
|
226 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
227 |
+
}
|
228 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
229 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
+
/**
|
234 |
+
* Turns on searching the include path for class files.
|
235 |
+
*
|
236 |
+
* @param bool $useIncludePath
|
237 |
+
*/
|
238 |
+
public function setUseIncludePath($useIncludePath)
|
239 |
+
{
|
240 |
+
$this->useIncludePath = $useIncludePath;
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Can be used to check if the autoloader uses the include path to check
|
245 |
+
* for classes.
|
246 |
+
*
|
247 |
+
* @return bool
|
248 |
+
*/
|
249 |
+
public function getUseIncludePath()
|
250 |
+
{
|
251 |
+
return $this->useIncludePath;
|
252 |
+
}
|
253 |
+
|
254 |
+
/**
|
255 |
+
* Turns off searching the prefix and fallback directories for classes
|
256 |
+
* that have not been registered with the class map.
|
257 |
+
*
|
258 |
+
* @param bool $classMapAuthoritative
|
259 |
+
*/
|
260 |
+
public function setClassMapAuthoritative($classMapAuthoritative)
|
261 |
+
{
|
262 |
+
$this->classMapAuthoritative = $classMapAuthoritative;
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* Should class lookup fail if not found in the current class map?
|
267 |
+
*
|
268 |
+
* @return bool
|
269 |
+
*/
|
270 |
+
public function isClassMapAuthoritative()
|
271 |
+
{
|
272 |
+
return $this->classMapAuthoritative;
|
273 |
+
}
|
274 |
+
|
275 |
+
/**
|
276 |
+
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
277 |
+
*
|
278 |
+
* @param string|null $apcuPrefix
|
279 |
+
*/
|
280 |
+
public function setApcuPrefix($apcuPrefix)
|
281 |
+
{
|
282 |
+
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* The APCu prefix in use, or null if APCu caching is not enabled.
|
287 |
+
*
|
288 |
+
* @return string|null
|
289 |
+
*/
|
290 |
+
public function getApcuPrefix()
|
291 |
+
{
|
292 |
+
return $this->apcuPrefix;
|
293 |
+
}
|
294 |
+
|
295 |
+
/**
|
296 |
+
* Registers this instance as an autoloader.
|
297 |
+
*
|
298 |
+
* @param bool $prepend Whether to prepend the autoloader or not
|
299 |
+
*/
|
300 |
+
public function register($prepend = false)
|
301 |
+
{
|
302 |
+
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
303 |
+
}
|
304 |
+
|
305 |
+
/**
|
306 |
+
* Unregisters this instance as an autoloader.
|
307 |
+
*/
|
308 |
+
public function unregister()
|
309 |
+
{
|
310 |
+
spl_autoload_unregister(array($this, 'loadClass'));
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Loads the given class or interface.
|
315 |
+
*
|
316 |
+
* @param string $class The name of the class
|
317 |
+
* @return bool|null True if loaded, null otherwise
|
318 |
+
*/
|
319 |
+
public function loadClass($class)
|
320 |
+
{
|
321 |
+
if ($file = $this->findFile($class)) {
|
322 |
+
includeFile($file);
|
323 |
+
|
324 |
+
return true;
|
325 |
+
}
|
326 |
+
}
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Finds the path to the file where the class is defined.
|
330 |
+
*
|
331 |
+
* @param string $class The name of the class
|
332 |
+
*
|
333 |
+
* @return string|false The path if found, false otherwise
|
334 |
+
*/
|
335 |
+
public function findFile($class)
|
336 |
+
{
|
337 |
+
// class map lookup
|
338 |
+
if (isset($this->classMap[$class])) {
|
339 |
+
return $this->classMap[$class];
|
340 |
+
}
|
341 |
+
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
342 |
+
return false;
|
343 |
+
}
|
344 |
+
if (null !== $this->apcuPrefix) {
|
345 |
+
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
346 |
+
if ($hit) {
|
347 |
+
return $file;
|
348 |
+
}
|
349 |
+
}
|
350 |
+
|
351 |
+
$file = $this->findFileWithExtension($class, '.php');
|
352 |
+
|
353 |
+
// Search for Hack files if we are running on HHVM
|
354 |
+
if (false === $file && defined('HHVM_VERSION')) {
|
355 |
+
$file = $this->findFileWithExtension($class, '.hh');
|
356 |
+
}
|
357 |
+
|
358 |
+
if (null !== $this->apcuPrefix) {
|
359 |
+
apcu_add($this->apcuPrefix.$class, $file);
|
360 |
+
}
|
361 |
+
|
362 |
+
if (false === $file) {
|
363 |
+
// Remember that this class does not exist.
|
364 |
+
$this->missingClasses[$class] = true;
|
365 |
+
}
|
366 |
+
|
367 |
+
return $file;
|
368 |
+
}
|
369 |
+
|
370 |
+
private function findFileWithExtension($class, $ext)
|
371 |
+
{
|
372 |
+
// PSR-4 lookup
|
373 |
+
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
374 |
+
|
375 |
+
$first = $class[0];
|
376 |
+
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
+
$subPath = $class;
|
378 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
+
$subPath = substr($subPath, 0, $lastPos);
|
380 |
+
$search = $subPath.'\\';
|
381 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
383 |
+
$length = $this->prefixLengthsPsr4[$first][$search];
|
384 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
385 |
+
return $file;
|
386 |
+
}
|
387 |
+
}
|
388 |
+
}
|
389 |
+
}
|
390 |
+
}
|
391 |
+
|
392 |
+
// PSR-4 fallback dirs
|
393 |
+
foreach ($this->fallbackDirsPsr4 as $dir) {
|
394 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
395 |
+
return $file;
|
396 |
+
}
|
397 |
+
}
|
398 |
+
|
399 |
+
// PSR-0 lookup
|
400 |
+
if (false !== $pos = strrpos($class, '\\')) {
|
401 |
+
// namespaced class name
|
402 |
+
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
403 |
+
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
404 |
+
} else {
|
405 |
+
// PEAR-like class name
|
406 |
+
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
407 |
+
}
|
408 |
+
|
409 |
+
if (isset($this->prefixesPsr0[$first])) {
|
410 |
+
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
411 |
+
if (0 === strpos($class, $prefix)) {
|
412 |
+
foreach ($dirs as $dir) {
|
413 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
414 |
+
return $file;
|
415 |
+
}
|
416 |
+
}
|
417 |
+
}
|
418 |
+
}
|
419 |
+
}
|
420 |
+
|
421 |
+
// PSR-0 fallback dirs
|
422 |
+
foreach ($this->fallbackDirsPsr0 as $dir) {
|
423 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
424 |
+
return $file;
|
425 |
+
}
|
426 |
+
}
|
427 |
+
|
428 |
+
// PSR-0 include paths.
|
429 |
+
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
430 |
+
return $file;
|
431 |
+
}
|
432 |
+
|
433 |
+
return false;
|
434 |
+
}
|
435 |
+
}
|
436 |
+
|
437 |
+
/**
|
438 |
+
* Scope isolated include.
|
439 |
+
*
|
440 |
+
* Prevents access to $this/self from included files.
|
441 |
+
*/
|
442 |
+
function includeFile($file)
|
443 |
+
{
|
444 |
+
include $file;
|
445 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
+
|
4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
+
of this software and associated documentation files (the "Software"), to deal
|
6 |
+
in the Software without restriction, including without limitation the rights
|
7 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8 |
+
copies of the Software, and to permit persons to whom the Software is furnished
|
9 |
+
to do so, subject to the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be included in all
|
12 |
+
copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
+
THE SOFTWARE.
|
21 |
+
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_classmap.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_classmap.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_files.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_files.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
'04c6c5c2f7095ccf6c481d3e53e1776f' => $vendorDir . '/mustangostang/spyc/Spyc.php',
|
10 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_namespaces.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_namespaces.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_psr4.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_psr4.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_real.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_real.php @generated by Composer
|
4 |
+
|
5 |
+
class ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe
|
6 |
+
{
|
7 |
+
private static $loader;
|
8 |
+
|
9 |
+
public static function loadClassLoader($class)
|
10 |
+
{
|
11 |
+
if ('Composer\Autoload\ClassLoader' === $class) {
|
12 |
+
require __DIR__ . '/ClassLoader.php';
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
+
public static function getLoader()
|
17 |
+
{
|
18 |
+
if (null !== self::$loader) {
|
19 |
+
return self::$loader;
|
20 |
+
}
|
21 |
+
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe', 'loadClassLoader'), true, true);
|
23 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe', 'loadClassLoader'));
|
25 |
+
|
26 |
+
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
+
if ($useStaticLoader) {
|
28 |
+
require_once __DIR__ . '/autoload_static.php';
|
29 |
+
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe::getInitializer($loader));
|
31 |
+
} else {
|
32 |
+
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
+
foreach ($map as $namespace => $path) {
|
34 |
+
$loader->set($namespace, $path);
|
35 |
+
}
|
36 |
+
|
37 |
+
$map = require __DIR__ . '/autoload_psr4.php';
|
38 |
+
foreach ($map as $namespace => $path) {
|
39 |
+
$loader->setPsr4($namespace, $path);
|
40 |
+
}
|
41 |
+
|
42 |
+
$classMap = require __DIR__ . '/autoload_classmap.php';
|
43 |
+
if ($classMap) {
|
44 |
+
$loader->addClassMap($classMap);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
$loader->register(true);
|
49 |
+
|
50 |
+
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe::$files;
|
52 |
+
} else {
|
53 |
+
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
+
}
|
55 |
+
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequireab4657d25d7e31c0f5004a96fe7d39fe($fileIdentifier, $file);
|
57 |
+
}
|
58 |
+
|
59 |
+
return $loader;
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
function composerRequireab4657d25d7e31c0f5004a96fe7d39fe($fileIdentifier, $file)
|
64 |
+
{
|
65 |
+
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
+
require $file;
|
67 |
+
|
68 |
+
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
69 |
+
}
|
70 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_static.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_static.php @generated by Composer
|
4 |
+
|
5 |
+
namespace Composer\Autoload;
|
6 |
+
|
7 |
+
class ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe
|
8 |
+
{
|
9 |
+
public static $files = array (
|
10 |
+
'04c6c5c2f7095ccf6c481d3e53e1776f' => __DIR__ . '/..' . '/mustangostang/spyc/Spyc.php',
|
11 |
+
);
|
12 |
+
|
13 |
+
public static function getInitializer(ClassLoader $loader)
|
14 |
+
{
|
15 |
+
return \Closure::bind(function () use ($loader) {
|
16 |
+
|
17 |
+
}, null, ClassLoader::class);
|
18 |
+
}
|
19 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/installed.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"name": "mustangostang/spyc",
|
4 |
+
"version": "0.6.2",
|
5 |
+
"version_normalized": "0.6.2.0",
|
6 |
+
"source": {
|
7 |
+
"type": "git",
|
8 |
+
"url": "https://github.com/mustangostang/spyc.git",
|
9 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d"
|
10 |
+
},
|
11 |
+
"dist": {
|
12 |
+
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/mustangostang/spyc/zipball/23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
14 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
15 |
+
"shasum": ""
|
16 |
+
},
|
17 |
+
"require": {
|
18 |
+
"php": ">=5.3.1"
|
19 |
+
},
|
20 |
+
"require-dev": {
|
21 |
+
"phpunit/phpunit": "4.3.*@dev"
|
22 |
+
},
|
23 |
+
"time": "2017-02-24T16:06:33+00:00",
|
24 |
+
"type": "library",
|
25 |
+
"extra": {
|
26 |
+
"branch-alias": {
|
27 |
+
"dev-master": "0.5.x-dev"
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"installation-source": "dist",
|
31 |
+
"autoload": {
|
32 |
+
"files": [
|
33 |
+
"Spyc.php"
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"notification-url": "https://packagist.org/downloads/",
|
37 |
+
"license": [
|
38 |
+
"MIT"
|
39 |
+
],
|
40 |
+
"authors": [
|
41 |
+
{
|
42 |
+
"name": "mustangostang",
|
43 |
+
"email": "vlad.andersen@gmail.com"
|
44 |
+
}
|
45 |
+
],
|
46 |
+
"description": "A simple YAML loader/dumper class for PHP",
|
47 |
+
"homepage": "https://github.com/mustangostang/spyc/",
|
48 |
+
"keywords": [
|
49 |
+
"spyc",
|
50 |
+
"yaml",
|
51 |
+
"yml"
|
52 |
+
]
|
53 |
+
}
|
54 |
+
]
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/COPYING
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2011 Vladimir Andersen
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in
|
13 |
+
all copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21 |
+
THE SOFTWARE.
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
**Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that
|
2 |
+
you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document
|
3 |
+
built from your data.
|
4 |
+
|
5 |
+
**YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used
|
6 |
+
for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org.
|
7 |
+
|
8 |
+
Spyc supports YAML 1.0 specification.
|
9 |
+
|
10 |
+
## Using Spyc
|
11 |
+
|
12 |
+
Using Spyc is trivial:
|
13 |
+
|
14 |
+
```
|
15 |
+
<?php
|
16 |
+
require_once "spyc.php";
|
17 |
+
$Data = Spyc::YAMLLoad('spyc.yaml');
|
18 |
+
```
|
19 |
+
|
20 |
+
or (if you prefer functional syntax)
|
21 |
+
|
22 |
+
```
|
23 |
+
<?php
|
24 |
+
require_once "spyc.php";
|
25 |
+
$Data = spyc_load_file('spyc.yaml');
|
26 |
+
```
|
27 |
+
|
28 |
+
## Donations, anyone?
|
29 |
+
|
30 |
+
If you find Spyc useful, I'm accepting Bitcoin donations (who doesn't these days?) at 193bEkLP7zMrNLZm9UdUet4puGD5mQiLai
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/Spyc.php
ADDED
@@ -0,0 +1,1161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Spyc -- A Simple PHP YAML Class
|
4 |
+
* @version 0.6.2
|
5 |
+
* @author Vlad Andersen <vlad.andersen@gmail.com>
|
6 |
+
* @author Chris Wanstrath <chris@ozmm.org>
|
7 |
+
* @link https://github.com/mustangostang/spyc/
|
8 |
+
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2011 Vlad Andersen
|
9 |
+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
10 |
+
* @package Spyc
|
11 |
+
*/
|
12 |
+
|
13 |
+
if (!function_exists('spyc_load')) {
|
14 |
+
/**
|
15 |
+
* Parses YAML to array.
|
16 |
+
* @param string $string YAML string.
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
function spyc_load ($string) {
|
20 |
+
return Spyc::YAMLLoadString($string);
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
if (!function_exists('spyc_load_file')) {
|
25 |
+
/**
|
26 |
+
* Parses YAML to array.
|
27 |
+
* @param string $file Path to YAML file.
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
function spyc_load_file ($file) {
|
31 |
+
return Spyc::YAMLLoad($file);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
if (!function_exists('spyc_dump')) {
|
36 |
+
/**
|
37 |
+
* Dumps array to YAML.
|
38 |
+
* @param array $data Array.
|
39 |
+
* @return string
|
40 |
+
*/
|
41 |
+
function spyc_dump ($data) {
|
42 |
+
return Spyc::YAMLDump($data, false, false, true);
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
if (!class_exists('Spyc')) {
|
47 |
+
|
48 |
+
/**
|
49 |
+
* The Simple PHP YAML Class.
|
50 |
+
*
|
51 |
+
* This class can be used to read a YAML file and convert its contents
|
52 |
+
* into a PHP array. It currently supports a very limited subsection of
|
53 |
+
* the YAML spec.
|
54 |
+
*
|
55 |
+
* Usage:
|
56 |
+
* <code>
|
57 |
+
* $Spyc = new Spyc;
|
58 |
+
* $array = $Spyc->load($file);
|
59 |
+
* </code>
|
60 |
+
* or:
|
61 |
+
* <code>
|
62 |
+
* $array = Spyc::YAMLLoad($file);
|
63 |
+
* </code>
|
64 |
+
* or:
|
65 |
+
* <code>
|
66 |
+
* $array = spyc_load_file($file);
|
67 |
+
* </code>
|
68 |
+
* @package Spyc
|
69 |
+
*/
|
70 |
+
class Spyc {
|
71 |
+
|
72 |
+
// SETTINGS
|
73 |
+
|
74 |
+
const REMPTY = "\0\0\0\0\0";
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Setting this to true will force YAMLDump to enclose any string value in
|
78 |
+
* quotes. False by default.
|
79 |
+
*
|
80 |
+
* @var bool
|
81 |
+
*/
|
82 |
+
public $setting_dump_force_quotes = false;
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Setting this to true will forse YAMLLoad to use syck_load function when
|
86 |
+
* possible. False by default.
|
87 |
+
* @var bool
|
88 |
+
*/
|
89 |
+
public $setting_use_syck_is_possible = false;
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
/**#@+
|
94 |
+
* @access private
|
95 |
+
* @var mixed
|
96 |
+
*/
|
97 |
+
private $_dumpIndent;
|
98 |
+
private $_dumpWordWrap;
|
99 |
+
private $_containsGroupAnchor = false;
|
100 |
+
private $_containsGroupAlias = false;
|
101 |
+
private $path;
|
102 |
+
private $result;
|
103 |
+
private $LiteralPlaceHolder = '___YAML_Literal_Block___';
|
104 |
+
private $SavedGroups = array();
|
105 |
+
private $indent;
|
106 |
+
/**
|
107 |
+
* Path modifier that should be applied after adding current element.
|
108 |
+
* @var array
|
109 |
+
*/
|
110 |
+
private $delayedPath = array();
|
111 |
+
|
112 |
+
/**#@+
|
113 |
+
* @access public
|
114 |
+
* @var mixed
|
115 |
+
*/
|
116 |
+
public $_nodeId;
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Load a valid YAML string to Spyc.
|
120 |
+
* @param string $input
|
121 |
+
* @return array
|
122 |
+
*/
|
123 |
+
public function load ($input) {
|
124 |
+
return $this->_loadString($input);
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Load a valid YAML file to Spyc.
|
129 |
+
* @param string $file
|
130 |
+
* @return array
|
131 |
+
*/
|
132 |
+
public function loadFile ($file) {
|
133 |
+
return $this->_load($file);
|
134 |
+
}
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Load YAML into a PHP array statically
|
138 |
+
*
|
139 |
+
* The load method, when supplied with a YAML stream (string or file),
|
140 |
+
* will do its best to convert YAML in a file into a PHP array. Pretty
|
141 |
+
* simple.
|
142 |
+
* Usage:
|
143 |
+
* <code>
|
144 |
+
* $array = Spyc::YAMLLoad('lucky.yaml');
|
145 |
+
* print_r($array);
|
146 |
+
* </code>
|
147 |
+
* @access public
|
148 |
+
* @return array
|
149 |
+
* @param string $input Path of YAML file or string containing YAML
|
150 |
+
*/
|
151 |
+
public static function YAMLLoad($input) {
|
152 |
+
$Spyc = new Spyc;
|
153 |
+
return $Spyc->_load($input);
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Load a string of YAML into a PHP array statically
|
158 |
+
*
|
159 |
+
* The load method, when supplied with a YAML string, will do its best
|
160 |
+
* to convert YAML in a string into a PHP array. Pretty simple.
|
161 |
+
*
|
162 |
+
* Note: use this function if you don't want files from the file system
|
163 |
+
* loaded and processed as YAML. This is of interest to people concerned
|
164 |
+
* about security whose input is from a string.
|
165 |
+
*
|
166 |
+
* Usage:
|
167 |
+
* <code>
|
168 |
+
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
|
169 |
+
* print_r($array);
|
170 |
+
* </code>
|
171 |
+
* @access public
|
172 |
+
* @return array
|
173 |
+
* @param string $input String containing YAML
|
174 |
+
*/
|
175 |
+
public static function YAMLLoadString($input) {
|
176 |
+
$Spyc = new Spyc;
|
177 |
+
return $Spyc->_loadString($input);
|
178 |
+
}
|
179 |
+
|
180 |
+
/**
|
181 |
+
* Dump YAML from PHP array statically
|
182 |
+
*
|
183 |
+
* The dump method, when supplied with an array, will do its best
|
184 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
185 |
+
* save the returned string as nothing.yaml and pass it around.
|
186 |
+
*
|
187 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
188 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
189 |
+
* you want to use the default.
|
190 |
+
*
|
191 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
192 |
+
* you can turn off wordwrap by passing in 0.
|
193 |
+
*
|
194 |
+
* @access public
|
195 |
+
* @return string
|
196 |
+
* @param array|\stdClass $array PHP array
|
197 |
+
* @param int $indent Pass in false to use the default, which is 2
|
198 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
199 |
+
* @param bool $no_opening_dashes Do not start YAML file with "---\n"
|
200 |
+
*/
|
201 |
+
public static function YAMLDump($array, $indent = false, $wordwrap = false, $no_opening_dashes = false) {
|
202 |
+
$spyc = new Spyc;
|
203 |
+
return $spyc->dump($array, $indent, $wordwrap, $no_opening_dashes);
|
204 |
+
}
|
205 |
+
|
206 |
+
|
207 |
+
/**
|
208 |
+
* Dump PHP array to YAML
|
209 |
+
*
|
210 |
+
* The dump method, when supplied with an array, will do its best
|
211 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
212 |
+
* save the returned string as tasteful.yaml and pass it around.
|
213 |
+
*
|
214 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
215 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
216 |
+
* you want to use the default.
|
217 |
+
*
|
218 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
219 |
+
* you can turn off wordwrap by passing in 0.
|
220 |
+
*
|
221 |
+
* @access public
|
222 |
+
* @return string
|
223 |
+
* @param array $array PHP array
|
224 |
+
* @param int $indent Pass in false to use the default, which is 2
|
225 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
226 |
+
*/
|
227 |
+
public function dump($array,$indent = false,$wordwrap = false, $no_opening_dashes = false) {
|
228 |
+
// Dumps to some very clean YAML. We'll have to add some more features
|
229 |
+
// and options soon. And better support for folding.
|
230 |
+
|
231 |
+
// New features and options.
|
232 |
+
if ($indent === false or !is_numeric($indent)) {
|
233 |
+
$this->_dumpIndent = 2;
|
234 |
+
} else {
|
235 |
+
$this->_dumpIndent = $indent;
|
236 |
+
}
|
237 |
+
|
238 |
+
if ($wordwrap === false or !is_numeric($wordwrap)) {
|
239 |
+
$this->_dumpWordWrap = 40;
|
240 |
+
} else {
|
241 |
+
$this->_dumpWordWrap = $wordwrap;
|
242 |
+
}
|
243 |
+
|
244 |
+
// New YAML document
|
245 |
+
$string = "";
|
246 |
+
if (!$no_opening_dashes) $string = "---\n";
|
247 |
+
|
248 |
+
// Start at the base of the array and move through it.
|
249 |
+
if ($array) {
|
250 |
+
$array = (array)$array;
|
251 |
+
$previous_key = -1;
|
252 |
+
foreach ($array as $key => $value) {
|
253 |
+
if (!isset($first_key)) $first_key = $key;
|
254 |
+
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
|
255 |
+
$previous_key = $key;
|
256 |
+
}
|
257 |
+
}
|
258 |
+
return $string;
|
259 |
+
}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Attempts to convert a key / value array item to YAML
|
263 |
+
* @access private
|
264 |
+
* @return string
|
265 |
+
* @param $key The name of the key
|
266 |
+
* @param $value The value of the item
|
267 |
+
* @param $indent The indent of the current node
|
268 |
+
*/
|
269 |
+
private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) {
|
270 |
+
if(is_object($value)) $value = (array)$value;
|
271 |
+
if (is_array($value)) {
|
272 |
+
if (empty ($value))
|
273 |
+
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array);
|
274 |
+
// It has children. What to do?
|
275 |
+
// Make it the right kind of item
|
276 |
+
$string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
|
277 |
+
// Add the indent
|
278 |
+
$indent += $this->_dumpIndent;
|
279 |
+
// Yamlize the array
|
280 |
+
$string .= $this->_yamlizeArray($value,$indent);
|
281 |
+
} elseif (!is_array($value)) {
|
282 |
+
// It doesn't have children. Yip.
|
283 |
+
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
|
284 |
+
}
|
285 |
+
return $string;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Attempts to convert an array to YAML
|
290 |
+
* @access private
|
291 |
+
* @return string
|
292 |
+
* @param $array The array you want to convert
|
293 |
+
* @param $indent The indent of the current level
|
294 |
+
*/
|
295 |
+
private function _yamlizeArray($array,$indent) {
|
296 |
+
if (is_array($array)) {
|
297 |
+
$string = '';
|
298 |
+
$previous_key = -1;
|
299 |
+
foreach ($array as $key => $value) {
|
300 |
+
if (!isset($first_key)) $first_key = $key;
|
301 |
+
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
|
302 |
+
$previous_key = $key;
|
303 |
+
}
|
304 |
+
return $string;
|
305 |
+
} else {
|
306 |
+
return false;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Returns YAML from a key and a value
|
312 |
+
* @access private
|
313 |
+
* @return string
|
314 |
+
* @param $key The name of the key
|
315 |
+
* @param $value The value of the item
|
316 |
+
* @param $indent The indent of the current node
|
317 |
+
*/
|
318 |
+
private function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0, $source_array = null) {
|
319 |
+
// do some folding here, for blocks
|
320 |
+
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
|
321 |
+
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false || strpos ($value, '%') !== false || strpos ($value, ' ') !== false ||
|
322 |
+
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || strpos($value,"&") !== false || strpos($value, "'") !== false || strpos($value, "!") === 0 ||
|
323 |
+
substr ($value, -1, 1) == ':')
|
324 |
+
) {
|
325 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
326 |
+
} else {
|
327 |
+
$value = $this->_doFolding($value,$indent);
|
328 |
+
}
|
329 |
+
|
330 |
+
if ($value === array()) $value = '[ ]';
|
331 |
+
if ($value === "") $value = '""';
|
332 |
+
if (self::isTranslationWord($value)) {
|
333 |
+
$value = $this->_doLiteralBlock($value, $indent);
|
334 |
+
}
|
335 |
+
if (trim ($value) != $value)
|
336 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
337 |
+
|
338 |
+
if (is_bool($value)) {
|
339 |
+
$value = $value ? "true" : "false";
|
340 |
+
}
|
341 |
+
|
342 |
+
if ($value === null) $value = 'null';
|
343 |
+
if ($value === "'" . self::REMPTY . "'") $value = null;
|
344 |
+
|
345 |
+
$spaces = str_repeat(' ',$indent);
|
346 |
+
|
347 |
+
//if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
|
348 |
+
if (is_array ($source_array) && array_keys($source_array) === range(0, count($source_array) - 1)) {
|
349 |
+
// It's a sequence
|
350 |
+
$string = $spaces.'- '.$value."\n";
|
351 |
+
} else {
|
352 |
+
// if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
|
353 |
+
// It's mapped
|
354 |
+
if (strpos($key, ":") !== false || strpos($key, "#") !== false) { $key = '"' . $key . '"'; }
|
355 |
+
$string = rtrim ($spaces.$key.': '.$value)."\n";
|
356 |
+
}
|
357 |
+
return $string;
|
358 |
+
}
|
359 |
+
|
360 |
+
/**
|
361 |
+
* Creates a literal block for dumping
|
362 |
+
* @access private
|
363 |
+
* @return string
|
364 |
+
* @param $value
|
365 |
+
* @param $indent int The value of the indent
|
366 |
+
*/
|
367 |
+
private function _doLiteralBlock($value,$indent) {
|
368 |
+
if ($value === "\n") return '\n';
|
369 |
+
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
|
370 |
+
return sprintf ("'%s'", $value);
|
371 |
+
}
|
372 |
+
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
|
373 |
+
return sprintf ('"%s"', $value);
|
374 |
+
}
|
375 |
+
$exploded = explode("\n",$value);
|
376 |
+
$newValue = '|';
|
377 |
+
if (isset($exploded[0]) && ($exploded[0] == "|" || $exploded[0] == "|-" || $exploded[0] == ">")) {
|
378 |
+
$newValue = $exploded[0];
|
379 |
+
unset($exploded[0]);
|
380 |
+
}
|
381 |
+
$indent += $this->_dumpIndent;
|
382 |
+
$spaces = str_repeat(' ',$indent);
|
383 |
+
foreach ($exploded as $line) {
|
384 |
+
$line = trim($line);
|
385 |
+
if (strpos($line, '"') === 0 && strrpos($line, '"') == (strlen($line)-1) || strpos($line, "'") === 0 && strrpos($line, "'") == (strlen($line)-1)) {
|
386 |
+
$line = substr($line, 1, -1);
|
387 |
+
}
|
388 |
+
$newValue .= "\n" . $spaces . ($line);
|
389 |
+
}
|
390 |
+
return $newValue;
|
391 |
+
}
|
392 |
+
|
393 |
+
/**
|
394 |
+
* Folds a string of text, if necessary
|
395 |
+
* @access private
|
396 |
+
* @return string
|
397 |
+
* @param $value The string you wish to fold
|
398 |
+
*/
|
399 |
+
private function _doFolding($value,$indent) {
|
400 |
+
// Don't do anything if wordwrap is set to 0
|
401 |
+
|
402 |
+
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
|
403 |
+
$indent += $this->_dumpIndent;
|
404 |
+
$indent = str_repeat(' ',$indent);
|
405 |
+
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
|
406 |
+
$value = ">\n".$indent.$wrapped;
|
407 |
+
} else {
|
408 |
+
if ($this->setting_dump_force_quotes && is_string ($value) && $value !== self::REMPTY)
|
409 |
+
$value = '"' . $value . '"';
|
410 |
+
if (is_numeric($value) && is_string($value))
|
411 |
+
$value = '"' . $value . '"';
|
412 |
+
}
|
413 |
+
|
414 |
+
|
415 |
+
return $value;
|
416 |
+
}
|
417 |
+
|
418 |
+
private function isTrueWord($value) {
|
419 |
+
$words = self::getTranslations(array('true', 'on', 'yes', 'y'));
|
420 |
+
return in_array($value, $words, true);
|
421 |
+
}
|
422 |
+
|
423 |
+
private function isFalseWord($value) {
|
424 |
+
$words = self::getTranslations(array('false', 'off', 'no', 'n'));
|
425 |
+
return in_array($value, $words, true);
|
426 |
+
}
|
427 |
+
|
428 |
+
private function isNullWord($value) {
|
429 |
+
$words = self::getTranslations(array('null', '~'));
|
430 |
+
return in_array($value, $words, true);
|
431 |
+
}
|
432 |
+
|
433 |
+
private function isTranslationWord($value) {
|
434 |
+
return (
|
435 |
+
self::isTrueWord($value) ||
|
436 |
+
self::isFalseWord($value) ||
|
437 |
+
self::isNullWord($value)
|
438 |
+
);
|
439 |
+
}
|
440 |
+
|
441 |
+
/**
|
442 |
+
* Coerce a string into a native type
|
443 |
+
* Reference: http://yaml.org/type/bool.html
|
444 |
+
* TODO: Use only words from the YAML spec.
|
445 |
+
* @access private
|
446 |
+
* @param $value The value to coerce
|
447 |
+
*/
|
448 |
+
private function coerceValue(&$value) {
|
449 |
+
if (self::isTrueWord($value)) {
|
450 |
+
$value = true;
|
451 |
+
} else if (self::isFalseWord($value)) {
|
452 |
+
$value = false;
|
453 |
+
} else if (self::isNullWord($value)) {
|
454 |
+
$value = null;
|
455 |
+
}
|
456 |
+
}
|
457 |
+
|
458 |
+
/**
|
459 |
+
* Given a set of words, perform the appropriate translations on them to
|
460 |
+
* match the YAML 1.1 specification for type coercing.
|
461 |
+
* @param $words The words to translate
|
462 |
+
* @access private
|
463 |
+
*/
|
464 |
+
private static function getTranslations(array $words) {
|
465 |
+
$result = array();
|
466 |
+
foreach ($words as $i) {
|
467 |
+
$result = array_merge($result, array(ucfirst($i), strtoupper($i), strtolower($i)));
|
468 |
+
}
|
469 |
+
return $result;
|
470 |
+
}
|
471 |
+
|
472 |
+
// LOADING FUNCTIONS
|
473 |
+
|
474 |
+
private function _load($input) {
|
475 |
+
$Source = $this->loadFromSource($input);
|
476 |
+
return $this->loadWithSource($Source);
|
477 |
+
}
|
478 |
+
|
479 |
+
private function _loadString($input) {
|
480 |
+
$Source = $this->loadFromString($input);
|
481 |
+
return $this->loadWithSource($Source);
|
482 |
+
}
|
483 |
+
|
484 |
+
private function loadWithSource($Source) {
|
485 |
+
if (empty ($Source)) return array();
|
486 |
+
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
|
487 |
+
$array = syck_load (implode ("\n", $Source));
|
488 |
+
return is_array($array) ? $array : array();
|
489 |
+
}
|
490 |
+
|
491 |
+
$this->path = array();
|
492 |
+
$this->result = array();
|
493 |
+
|
494 |
+
$cnt = count($Source);
|
495 |
+
for ($i = 0; $i < $cnt; $i++) {
|
496 |
+
$line = $Source[$i];
|
497 |
+
|
498 |
+
$this->indent = strlen($line) - strlen(ltrim($line));
|
499 |
+
$tempPath = $this->getParentPathByIndent($this->indent);
|
500 |
+
$line = self::stripIndent($line, $this->indent);
|
501 |
+
if (self::isComment($line)) continue;
|
502 |
+
if (self::isEmpty($line)) continue;
|
503 |
+
$this->path = $tempPath;
|
504 |
+
|
505 |
+
$literalBlockStyle = self::startsLiteralBlock($line);
|
506 |
+
if ($literalBlockStyle) {
|
507 |
+
$line = rtrim ($line, $literalBlockStyle . " \n");
|
508 |
+
$literalBlock = '';
|
509 |
+
$line .= ' '.$this->LiteralPlaceHolder;
|
510 |
+
$literal_block_indent = strlen($Source[$i+1]) - strlen(ltrim($Source[$i+1]));
|
511 |
+
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
|
512 |
+
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle, $literal_block_indent);
|
513 |
+
}
|
514 |
+
$i--;
|
515 |
+
}
|
516 |
+
|
517 |
+
// Strip out comments
|
518 |
+
if (strpos ($line, '#')) {
|
519 |
+
$line = preg_replace('/\s*#([^"\']+)$/','',$line);
|
520 |
+
}
|
521 |
+
|
522 |
+
while (++$i < $cnt && self::greedilyNeedNextLine($line)) {
|
523 |
+
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
|
524 |
+
}
|
525 |
+
$i--;
|
526 |
+
|
527 |
+
$lineArray = $this->_parseLine($line);
|
528 |
+
|
529 |
+
if ($literalBlockStyle)
|
530 |
+
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
|
531 |
+
|
532 |
+
$this->addArray($lineArray, $this->indent);
|
533 |
+
|
534 |
+
foreach ($this->delayedPath as $indent => $delayedPath)
|
535 |
+
$this->path[$indent] = $delayedPath;
|
536 |
+
|
537 |
+
$this->delayedPath = array();
|
538 |
+
|
539 |
+
}
|
540 |
+
return $this->result;
|
541 |
+
}
|
542 |
+
|
543 |
+
private function loadFromSource ($input) {
|
544 |
+
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
|
545 |
+
$input = file_get_contents($input);
|
546 |
+
|
547 |
+
return $this->loadFromString($input);
|
548 |
+
}
|
549 |
+
|
550 |
+
private function loadFromString ($input) {
|
551 |
+
$lines = explode("\n",$input);
|
552 |
+
foreach ($lines as $k => $_) {
|
553 |
+
$lines[$k] = rtrim ($_, "\r");
|
554 |
+
}
|
555 |
+
return $lines;
|
556 |
+
}
|
557 |
+
|
558 |
+
/**
|
559 |
+
* Parses YAML code and returns an array for a node
|
560 |
+
* @access private
|
561 |
+
* @return array
|
562 |
+
* @param string $line A line from the YAML file
|
563 |
+
*/
|
564 |
+
private function _parseLine($line) {
|
565 |
+
if (!$line) return array();
|
566 |
+
$line = trim($line);
|
567 |
+
if (!$line) return array();
|
568 |
+
|
569 |
+
$array = array();
|
570 |
+
|
571 |
+
$group = $this->nodeContainsGroup($line);
|
572 |
+
if ($group) {
|
573 |
+
$this->addGroup($line, $group);
|
574 |
+
$line = $this->stripGroup ($line, $group);
|
575 |
+
}
|
576 |
+
|
577 |
+
if ($this->startsMappedSequence($line))
|
578 |
+
return $this->returnMappedSequence($line);
|
579 |
+
|
580 |
+
if ($this->startsMappedValue($line))
|
581 |
+
return $this->returnMappedValue($line);
|
582 |
+
|
583 |
+
if ($this->isArrayElement($line))
|
584 |
+
return $this->returnArrayElement($line);
|
585 |
+
|
586 |
+
if ($this->isPlainArray($line))
|
587 |
+
return $this->returnPlainArray($line);
|
588 |
+
|
589 |
+
|
590 |
+
return $this->returnKeyValuePair($line);
|
591 |
+
|
592 |
+
}
|
593 |
+
|
594 |
+
/**
|
595 |
+
* Finds the type of the passed value, returns the value as the new type.
|
596 |
+
* @access private
|
597 |
+
* @param string $value
|
598 |
+
* @return mixed
|
599 |
+
*/
|
600 |
+
private function _toType($value) {
|
601 |
+
if ($value === '') return "";
|
602 |
+
$first_character = $value[0];
|
603 |
+
$last_character = substr($value, -1, 1);
|
604 |
+
|
605 |
+
$is_quoted = false;
|
606 |
+
do {
|
607 |
+
if (!$value) break;
|
608 |
+
if ($first_character != '"' && $first_character != "'") break;
|
609 |
+
if ($last_character != '"' && $last_character != "'") break;
|
610 |
+
$is_quoted = true;
|
611 |
+
} while (0);
|
612 |
+
|
613 |
+
if ($is_quoted) {
|
614 |
+
$value = str_replace('\n', "\n", $value);
|
615 |
+
if ($first_character == "'")
|
616 |
+
return strtr(substr ($value, 1, -1), array ('\'\'' => '\'', '\\\''=> '\''));
|
617 |
+
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\\\''=> '\''));
|
618 |
+
}
|
619 |
+
|
620 |
+
if (strpos($value, ' #') !== false && !$is_quoted)
|
621 |
+
$value = preg_replace('/\s+#(.+)$/','',$value);
|
622 |
+
|
623 |
+
if ($first_character == '[' && $last_character == ']') {
|
624 |
+
// Take out strings sequences and mappings
|
625 |
+
$innerValue = trim(substr ($value, 1, -1));
|
626 |
+
if ($innerValue === '') return array();
|
627 |
+
$explode = $this->_inlineEscape($innerValue);
|
628 |
+
// Propagate value array
|
629 |
+
$value = array();
|
630 |
+
foreach ($explode as $v) {
|
631 |
+
$value[] = $this->_toType($v);
|
632 |
+
}
|
633 |
+
return $value;
|
634 |
+
}
|
635 |
+
|
636 |
+
if (strpos($value,': ')!==false && $first_character != '{') {
|
637 |
+
$array = explode(': ',$value);
|
638 |
+
$key = trim($array[0]);
|
639 |
+
array_shift($array);
|
640 |
+
$value = trim(implode(': ',$array));
|
641 |
+
$value = $this->_toType($value);
|
642 |
+
return array($key => $value);
|
643 |
+
}
|
644 |
+
|
645 |
+
if ($first_character == '{' && $last_character == '}') {
|
646 |
+
$innerValue = trim(substr ($value, 1, -1));
|
647 |
+
if ($innerValue === '') return array();
|
648 |
+
// Inline Mapping
|
649 |
+
// Take out strings sequences and mappings
|
650 |
+
$explode = $this->_inlineEscape($innerValue);
|
651 |
+
// Propagate value array
|
652 |
+
$array = array();
|
653 |
+
foreach ($explode as $v) {
|
654 |
+
$SubArr = $this->_toType($v);
|
655 |
+
if (empty($SubArr)) continue;
|
656 |
+
if (is_array ($SubArr)) {
|
657 |
+
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
|
658 |
+
}
|
659 |
+
$array[] = $SubArr;
|
660 |
+
}
|
661 |
+
return $array;
|
662 |
+
}
|
663 |
+
|
664 |
+
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
|
665 |
+
return null;
|
666 |
+
}
|
667 |
+
|
668 |
+
if ( is_numeric($value) && preg_match ('/^(-|)[1-9]+[0-9]*$/', $value) ){
|
669 |
+
$intvalue = (int)$value;
|
670 |
+
if ($intvalue != PHP_INT_MAX && $intvalue != ~PHP_INT_MAX)
|
671 |
+
$value = $intvalue;
|
672 |
+
return $value;
|
673 |
+
}
|
674 |
+
|
675 |
+
if ( is_string($value) && preg_match('/^0[xX][0-9a-fA-F]+$/', $value)) {
|
676 |
+
// Hexadecimal value.
|
677 |
+
return hexdec($value);
|
678 |
+
}
|
679 |
+
|
680 |
+
$this->coerceValue($value);
|
681 |
+
|
682 |
+
if (is_numeric($value)) {
|
683 |
+
if ($value === '0') return 0;
|
684 |
+
if (rtrim ($value, 0) === $value)
|
685 |
+
$value = (float)$value;
|
686 |
+
return $value;
|
687 |
+
}
|
688 |
+
|
689 |
+
return $value;
|
690 |
+
}
|
691 |
+
|
692 |
+
/**
|
693 |
+
* Used in inlines to check for more inlines or quoted strings
|
694 |
+
* @access private
|
695 |
+
* @return array
|
696 |
+
*/
|
697 |
+
private function _inlineEscape($inline) {
|
698 |
+
// There's gotta be a cleaner way to do this...
|
699 |
+
// While pure sequences seem to be nesting just fine,
|
700 |
+
// pure mappings and mappings with sequences inside can't go very
|
701 |
+
// deep. This needs to be fixed.
|
702 |
+
|
703 |
+
$seqs = array();
|
704 |
+
$maps = array();
|
705 |
+
$saved_strings = array();
|
706 |
+
$saved_empties = array();
|
707 |
+
|
708 |
+
// Check for empty strings
|
709 |
+
$regex = '/("")|(\'\')/';
|
710 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
711 |
+
$saved_empties = $strings[0];
|
712 |
+
$inline = preg_replace($regex,'YAMLEmpty',$inline);
|
713 |
+
}
|
714 |
+
unset($regex);
|
715 |
+
|
716 |
+
// Check for strings
|
717 |
+
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
|
718 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
719 |
+
$saved_strings = $strings[0];
|
720 |
+
$inline = preg_replace($regex,'YAMLString',$inline);
|
721 |
+
}
|
722 |
+
unset($regex);
|
723 |
+
|
724 |
+
// echo $inline;
|
725 |
+
|
726 |
+
$i = 0;
|
727 |
+
do {
|
728 |
+
|
729 |
+
// Check for sequences
|
730 |
+
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
|
731 |
+
$seqs[] = $matchseqs[0];
|
732 |
+
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
|
733 |
+
}
|
734 |
+
|
735 |
+
// Check for mappings
|
736 |
+
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
|
737 |
+
$maps[] = $matchmaps[0];
|
738 |
+
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
|
739 |
+
}
|
740 |
+
|
741 |
+
if ($i++ >= 10) break;
|
742 |
+
|
743 |
+
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
|
744 |
+
|
745 |
+
$explode = explode(',',$inline);
|
746 |
+
$explode = array_map('trim', $explode);
|
747 |
+
$stringi = 0; $i = 0;
|
748 |
+
|
749 |
+
while (1) {
|
750 |
+
|
751 |
+
// Re-add the sequences
|
752 |
+
if (!empty($seqs)) {
|
753 |
+
foreach ($explode as $key => $value) {
|
754 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
755 |
+
foreach ($seqs as $seqk => $seq) {
|
756 |
+
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
|
757 |
+
$value = $explode[$key];
|
758 |
+
}
|
759 |
+
}
|
760 |
+
}
|
761 |
+
}
|
762 |
+
|
763 |
+
// Re-add the mappings
|
764 |
+
if (!empty($maps)) {
|
765 |
+
foreach ($explode as $key => $value) {
|
766 |
+
if (strpos($value,'YAMLMap') !== false) {
|
767 |
+
foreach ($maps as $mapk => $map) {
|
768 |
+
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
|
769 |
+
$value = $explode[$key];
|
770 |
+
}
|
771 |
+
}
|
772 |
+
}
|
773 |
+
}
|
774 |
+
|
775 |
+
|
776 |
+
// Re-add the strings
|
777 |
+
if (!empty($saved_strings)) {
|
778 |
+
foreach ($explode as $key => $value) {
|
779 |
+
while (strpos($value,'YAMLString') !== false) {
|
780 |
+
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
|
781 |
+
unset($saved_strings[$stringi]);
|
782 |
+
++$stringi;
|
783 |
+
$value = $explode[$key];
|
784 |
+
}
|
785 |
+
}
|
786 |
+
}
|
787 |
+
|
788 |
+
|
789 |
+
// Re-add the empties
|
790 |
+
if (!empty($saved_empties)) {
|
791 |
+
foreach ($explode as $key => $value) {
|
792 |
+
while (strpos($value,'YAMLEmpty') !== false) {
|
793 |
+
$explode[$key] = preg_replace('/YAMLEmpty/', '', $value, 1);
|
794 |
+
$value = $explode[$key];
|
795 |
+
}
|
796 |
+
}
|
797 |
+
}
|
798 |
+
|
799 |
+
$finished = true;
|
800 |
+
foreach ($explode as $key => $value) {
|
801 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
802 |
+
$finished = false; break;
|
803 |
+
}
|
804 |
+
if (strpos($value,'YAMLMap') !== false) {
|
805 |
+
$finished = false; break;
|
806 |
+
}
|
807 |
+
if (strpos($value,'YAMLString') !== false) {
|
808 |
+
$finished = false; break;
|
809 |
+
}
|
810 |
+
if (strpos($value,'YAMLEmpty') !== false) {
|
811 |
+
$finished = false; break;
|
812 |
+
}
|
813 |
+
}
|
814 |
+
if ($finished) break;
|
815 |
+
|
816 |
+
$i++;
|
817 |
+
if ($i > 10)
|
818 |
+
break; // Prevent infinite loops.
|
819 |
+
}
|
820 |
+
|
821 |
+
|
822 |
+
return $explode;
|
823 |
+
}
|
824 |
+
|
825 |
+
private function literalBlockContinues ($line, $lineIndent) {
|
826 |
+
if (!trim($line)) return true;
|
827 |
+
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
|
828 |
+
return false;
|
829 |
+
}
|
830 |
+
|
831 |
+
private function referenceContentsByAlias ($alias) {
|
832 |
+
do {
|
833 |
+
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
|
834 |
+
$groupPath = $this->SavedGroups[$alias];
|
835 |
+
$value = $this->result;
|
836 |
+
foreach ($groupPath as $k) {
|
837 |
+
$value = $value[$k];
|
838 |
+
}
|
839 |
+
} while (false);
|
840 |
+
return $value;
|
841 |
+
}
|
842 |
+
|
843 |
+
private function addArrayInline ($array, $indent) {
|
844 |
+
$CommonGroupPath = $this->path;
|
845 |
+
if (empty ($array)) return false;
|
846 |
+
|
847 |
+
foreach ($array as $k => $_) {
|
848 |
+
$this->addArray(array($k => $_), $indent);
|
849 |
+
$this->path = $CommonGroupPath;
|
850 |
+
}
|
851 |
+
return true;
|
852 |
+
}
|
853 |
+
|
854 |
+
private function addArray ($incoming_data, $incoming_indent) {
|
855 |
+
|
856 |
+
// print_r ($incoming_data);
|
857 |
+
|
858 |
+
if (count ($incoming_data) > 1)
|
859 |
+
return $this->addArrayInline ($incoming_data, $incoming_indent);
|
860 |
+
|
861 |
+
$key = key ($incoming_data);
|
862 |
+
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
|
863 |
+
if ($key === '__!YAMLZero') $key = '0';
|
864 |
+
|
865 |
+
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
|
866 |
+
if ($key || $key === '' || $key === '0') {
|
867 |
+
$this->result[$key] = $value;
|
868 |
+
} else {
|
869 |
+
$this->result[] = $value; end ($this->result); $key = key ($this->result);
|
870 |
+
}
|
871 |
+
$this->path[$incoming_indent] = $key;
|
872 |
+
return;
|
873 |
+
}
|
874 |
+
|
875 |
+
|
876 |
+
|
877 |
+
$history = array();
|
878 |
+
// Unfolding inner array tree.
|
879 |
+
$history[] = $_arr = $this->result;
|
880 |
+
foreach ($this->path as $k) {
|
881 |
+
$history[] = $_arr = $_arr[$k];
|
882 |
+
}
|
883 |
+
|
884 |
+
if ($this->_containsGroupAlias) {
|
885 |
+
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
|
886 |
+
$this->_containsGroupAlias = false;
|
887 |
+
}
|
888 |
+
|
889 |
+
|
890 |
+
// Adding string or numeric key to the innermost level or $this->arr.
|
891 |
+
if (is_string($key) && $key == '<<') {
|
892 |
+
if (!is_array ($_arr)) { $_arr = array (); }
|
893 |
+
|
894 |
+
$_arr = array_merge ($_arr, $value);
|
895 |
+
} else if ($key || $key === '' || $key === '0') {
|
896 |
+
if (!is_array ($_arr))
|
897 |
+
$_arr = array ($key=>$value);
|
898 |
+
else
|
899 |
+
$_arr[$key] = $value;
|
900 |
+
} else {
|
901 |
+
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
|
902 |
+
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
|
903 |
+
}
|
904 |
+
|
905 |
+
$reverse_path = array_reverse($this->path);
|
906 |
+
$reverse_history = array_reverse ($history);
|
907 |
+
$reverse_history[0] = $_arr;
|
908 |
+
$cnt = count($reverse_history) - 1;
|
909 |
+
for ($i = 0; $i < $cnt; $i++) {
|
910 |
+
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
|
911 |
+
}
|
912 |
+
$this->result = $reverse_history[$cnt];
|
913 |
+
|
914 |
+
$this->path[$incoming_indent] = $key;
|
915 |
+
|
916 |
+
if ($this->_containsGroupAnchor) {
|
917 |
+
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
|
918 |
+
if (is_array ($value)) {
|
919 |
+
$k = key ($value);
|
920 |
+
if (!is_int ($k)) {
|
921 |
+
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
|
922 |
+
}
|
923 |
+
}
|
924 |
+
$this->_containsGroupAnchor = false;
|
925 |
+
}
|
926 |
+
|
927 |
+
}
|
928 |
+
|
929 |
+
private static function startsLiteralBlock ($line) {
|
930 |
+
$lastChar = substr (trim($line), -1);
|
931 |
+
if ($lastChar != '>' && $lastChar != '|') return false;
|
932 |
+
if ($lastChar == '|') return $lastChar;
|
933 |
+
// HTML tags should not be counted as literal blocks.
|
934 |
+
if (preg_match ('#<.*?>$#', $line)) return false;
|
935 |
+
return $lastChar;
|
936 |
+
}
|
937 |
+
|
938 |
+
private static function greedilyNeedNextLine($line) {
|
939 |
+
$line = trim ($line);
|
940 |
+
if (!strlen($line)) return false;
|
941 |
+
if (substr ($line, -1, 1) == ']') return false;
|
942 |
+
if ($line[0] == '[') return true;
|
943 |
+
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
|
944 |
+
return false;
|
945 |
+
}
|
946 |
+
|
947 |
+
private function addLiteralLine ($literalBlock, $line, $literalBlockStyle, $indent = -1) {
|
948 |
+
$line = self::stripIndent($line, $indent);
|
949 |
+
if ($literalBlockStyle !== '|') {
|
950 |
+
$line = self::stripIndent($line);
|
951 |
+
}
|
952 |
+
$line = rtrim ($line, "\r\n\t ") . "\n";
|
953 |
+
if ($literalBlockStyle == '|') {
|
954 |
+
return $literalBlock . $line;
|
955 |
+
}
|
956 |
+
if (strlen($line) == 0)
|
957 |
+
return rtrim($literalBlock, ' ') . "\n";
|
958 |
+
if ($line == "\n" && $literalBlockStyle == '>') {
|
959 |
+
return rtrim ($literalBlock, " \t") . "\n";
|
960 |
+
}
|
961 |
+
if ($line != "\n")
|
962 |
+
$line = trim ($line, "\r\n ") . " ";
|
963 |
+
return $literalBlock . $line;
|
964 |
+
}
|
965 |
+
|
966 |
+
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
|
967 |
+
foreach ($lineArray as $k => $_) {
|
968 |
+
if (is_array($_))
|
969 |
+
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
|
970 |
+
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
|
971 |
+
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
|
972 |
+
}
|
973 |
+
return $lineArray;
|
974 |
+
}
|
975 |
+
|
976 |
+
private static function stripIndent ($line, $indent = -1) {
|
977 |
+
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
|
978 |
+
return substr ($line, $indent);
|
979 |
+
}
|
980 |
+
|
981 |
+
private function getParentPathByIndent ($indent) {
|
982 |
+
if ($indent == 0) return array();
|
983 |
+
$linePath = $this->path;
|
984 |
+
do {
|
985 |
+
end($linePath); $lastIndentInParentPath = key($linePath);
|
986 |
+
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
|
987 |
+
} while ($indent <= $lastIndentInParentPath);
|
988 |
+
return $linePath;
|
989 |
+
}
|
990 |
+
|
991 |
+
|
992 |
+
private function clearBiggerPathValues ($indent) {
|
993 |
+
|
994 |
+
|
995 |
+
if ($indent == 0) $this->path = array();
|
996 |
+
if (empty ($this->path)) return true;
|
997 |
+
|
998 |
+
foreach ($this->path as $k => $_) {
|
999 |
+
if ($k > $indent) unset ($this->path[$k]);
|
1000 |
+
}
|
1001 |
+
|
1002 |
+
return true;
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
|
1006 |
+
private static function isComment ($line) {
|
1007 |
+
if (!$line) return false;
|
1008 |
+
if ($line[0] == '#') return true;
|
1009 |
+
if (trim($line, " \r\n\t") == '---') return true;
|
1010 |
+
return false;
|
1011 |
+
}
|
1012 |
+
|
1013 |
+
private static function isEmpty ($line) {
|
1014 |
+
return (trim ($line) === '');
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
|
1018 |
+
private function isArrayElement ($line) {
|
1019 |
+
if (!$line || !is_scalar($line)) return false;
|
1020 |
+
if (substr($line, 0, 2) != '- ') return false;
|
1021 |
+
if (strlen ($line) > 3)
|
1022 |
+
if (substr($line,0,3) == '---') return false;
|
1023 |
+
|
1024 |
+
return true;
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
private function isHashElement ($line) {
|
1028 |
+
return strpos($line, ':');
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
private function isLiteral ($line) {
|
1032 |
+
if ($this->isArrayElement($line)) return false;
|
1033 |
+
if ($this->isHashElement($line)) return false;
|
1034 |
+
return true;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
|
1038 |
+
private static function unquote ($value) {
|
1039 |
+
if (!$value) return $value;
|
1040 |
+
if (!is_string($value)) return $value;
|
1041 |
+
if ($value[0] == '\'') return trim ($value, '\'');
|
1042 |
+
if ($value[0] == '"') return trim ($value, '"');
|
1043 |
+
return $value;
|
1044 |
+
}
|
1045 |
+
|
1046 |
+
private function startsMappedSequence ($line) {
|
1047 |
+
return (substr($line, 0, 2) == '- ' && substr ($line, -1, 1) == ':');
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
private function returnMappedSequence ($line) {
|
1051 |
+
$array = array();
|
1052 |
+
$key = self::unquote(trim(substr($line,1,-1)));
|
1053 |
+
$array[$key] = array();
|
1054 |
+
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
|
1055 |
+
return array($array);
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
private function checkKeysInValue($value) {
|
1059 |
+
if (strchr('[{"\'', $value[0]) === false) {
|
1060 |
+
if (strchr($value, ': ') !== false) {
|
1061 |
+
throw new Exception('Too many keys: '.$value);
|
1062 |
+
}
|
1063 |
+
}
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
private function returnMappedValue ($line) {
|
1067 |
+
$this->checkKeysInValue($line);
|
1068 |
+
$array = array();
|
1069 |
+
$key = self::unquote (trim(substr($line,0,-1)));
|
1070 |
+
$array[$key] = '';
|
1071 |
+
return $array;
|
1072 |
+
}
|
1073 |
+
|
1074 |
+
private function startsMappedValue ($line) {
|
1075 |
+
return (substr ($line, -1, 1) == ':');
|
1076 |
+
}
|
1077 |
+
|
1078 |
+
private function isPlainArray ($line) {
|
1079 |
+
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
|
1080 |
+
}
|
1081 |
+
|
1082 |
+
private function returnPlainArray ($line) {
|
1083 |
+
return $this->_toType($line);
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
private function returnKeyValuePair ($line) {
|
1087 |
+
$array = array();
|
1088 |
+
$key = '';
|
1089 |
+
if (strpos ($line, ': ')) {
|
1090 |
+
// It's a key/value pair most likely
|
1091 |
+
// If the key is in double quotes pull it out
|
1092 |
+
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
|
1093 |
+
$value = trim(str_replace($matches[1],'',$line));
|
1094 |
+
$key = $matches[2];
|
1095 |
+
} else {
|
1096 |
+
// Do some guesswork as to the key and the value
|
1097 |
+
$explode = explode(': ', $line);
|
1098 |
+
$key = trim(array_shift($explode));
|
1099 |
+
$value = trim(implode(': ', $explode));
|
1100 |
+
$this->checkKeysInValue($value);
|
1101 |
+
}
|
1102 |
+
// Set the type of the value. Int, string, etc
|
1103 |
+
$value = $this->_toType($value);
|
1104 |
+
if ($key === '0') $key = '__!YAMLZero';
|
1105 |
+
$array[$key] = $value;
|
1106 |
+
} else {
|
1107 |
+
$array = array ($line);
|
1108 |
+
}
|
1109 |
+
return $array;
|
1110 |
+
|
1111 |
+
}
|
1112 |
+
|
1113 |
+
|
1114 |
+
private function returnArrayElement ($line) {
|
1115 |
+
if (strlen($line) <= 1) return array(array()); // Weird %)
|
1116 |
+
$array = array();
|
1117 |
+
$value = trim(substr($line,1));
|
1118 |
+
$value = $this->_toType($value);
|
1119 |
+
if ($this->isArrayElement($value)) {
|
1120 |
+
$value = $this->returnArrayElement($value);
|
1121 |
+
}
|
1122 |
+
$array[] = $value;
|
1123 |
+
return $array;
|
1124 |
+
}
|
1125 |
+
|
1126 |
+
|
1127 |
+
private function nodeContainsGroup ($line) {
|
1128 |
+
$symbolsForReference = 'A-z0-9_\-';
|
1129 |
+
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
|
1130 |
+
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
1131 |
+
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
1132 |
+
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
|
1133 |
+
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
|
1134 |
+
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
|
1135 |
+
return false;
|
1136 |
+
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
private function addGroup ($line, $group) {
|
1140 |
+
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
|
1141 |
+
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
|
1142 |
+
//print_r ($this->path);
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
private function stripGroup ($line, $group) {
|
1146 |
+
$line = trim(str_replace($group, '', $line));
|
1147 |
+
return $line;
|
1148 |
+
}
|
1149 |
+
}
|
1150 |
+
}
|
1151 |
+
|
1152 |
+
// Enable use of Spyc from command line
|
1153 |
+
// The syntax is the following: php Spyc.php spyc.yaml
|
1154 |
+
|
1155 |
+
do {
|
1156 |
+
if (PHP_SAPI != 'cli') break;
|
1157 |
+
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
|
1158 |
+
if (empty ($_SERVER['PHP_SELF']) || FALSE === strpos ($_SERVER['PHP_SELF'], 'Spyc.php') ) break;
|
1159 |
+
$file = $argv[1];
|
1160 |
+
echo json_encode (spyc_load_file ($file));
|
1161 |
+
} while (0);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/composer.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "mustangostang/spyc",
|
3 |
+
"description": "A simple YAML loader/dumper class for PHP",
|
4 |
+
"type": "library",
|
5 |
+
"keywords": [
|
6 |
+
"spyc",
|
7 |
+
"yaml",
|
8 |
+
"yml"
|
9 |
+
],
|
10 |
+
"homepage": "https://github.com/mustangostang/spyc/",
|
11 |
+
"authors" : [{
|
12 |
+
"name": "mustangostang",
|
13 |
+
"email": "vlad.andersen@gmail.com"
|
14 |
+
}],
|
15 |
+
"license": "MIT",
|
16 |
+
"require": {
|
17 |
+
"php": ">=5.3.1"
|
18 |
+
},
|
19 |
+
"autoload": {
|
20 |
+
"files": [ "Spyc.php" ]
|
21 |
+
},
|
22 |
+
"require-dev": {
|
23 |
+
"phpunit/phpunit": "4.3.*@dev"
|
24 |
+
},
|
25 |
+
"extra": {
|
26 |
+
"branch-alias": {
|
27 |
+
"dev-master": "0.5.x-dev"
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-dump.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
#
|
4 |
+
# S P Y C
|
5 |
+
# a simple php yaml class
|
6 |
+
#
|
7 |
+
# Feel free to dump an array to YAML, and then to load that YAML back into an
|
8 |
+
# array. This is a good way to test the limitations of the parser and maybe
|
9 |
+
# learn some basic YAML.
|
10 |
+
#
|
11 |
+
|
12 |
+
include('../Spyc.php');
|
13 |
+
|
14 |
+
$array[] = 'Sequence item';
|
15 |
+
$array['The Key'] = 'Mapped value';
|
16 |
+
$array[] = array('A sequence','of a sequence');
|
17 |
+
$array[] = array('first' => 'A sequence','second' => 'of mapped values');
|
18 |
+
$array['Mapped'] = array('A sequence','which is mapped');
|
19 |
+
$array['A Note'] = 'What if your text is too long?';
|
20 |
+
$array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
|
21 |
+
$array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
|
22 |
+
$array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
|
23 |
+
$array['key:withcolon'] = "Should support this to";
|
24 |
+
|
25 |
+
$yaml = Spyc::YAMLDump($array,4,60);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-load.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
#
|
4 |
+
# S P Y C
|
5 |
+
# a simple php yaml class
|
6 |
+
#
|
7 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
8 |
+
#
|
9 |
+
|
10 |
+
include('../Spyc.php');
|
11 |
+
|
12 |
+
$array = Spyc::YAMLLoad('../spyc.yaml');
|
13 |
+
|
14 |
+
echo '<pre><a href="spyc.yaml">spyc.yaml</a> loaded into PHP:<br/>';
|
15 |
+
print_r($array);
|
16 |
+
echo '</pre>';
|
17 |
+
|
18 |
+
|
19 |
+
echo '<pre>YAML Data dumped back:<br/>';
|
20 |
+
echo Spyc::YAMLDump($array);
|
21 |
+
echo '</pre>';
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/5to4.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
php5to4 ("../spyc.php", 'spyc-latest.php4');
|
4 |
+
|
5 |
+
function php5to4 ($src, $dest) {
|
6 |
+
$code = file_get_contents ($src);
|
7 |
+
$code = preg_replace ('#(public|private|protected)\s+\$#i', 'var \$', $code);
|
8 |
+
$code = preg_replace ('#(public|private|protected)\s+static\s+\$#i', 'var \$', $code);
|
9 |
+
$code = preg_replace ('#(public|private|protected)\s+function#i', 'function', $code);
|
10 |
+
$code = preg_replace ('#(public|private|protected)\s+static\s+function#i', 'function', $code);
|
11 |
+
$code = preg_replace ('#throw new Exception\\(([^)]*)\\)#i', 'trigger_error($1,E_USER_ERROR)', $code);
|
12 |
+
$code = str_replace ('self::', '$this->', $code);
|
13 |
+
$f = fopen ($dest, 'w');
|
14 |
+
fwrite($f, $code);
|
15 |
+
fclose ($f);
|
16 |
+
print "Written to $dest.\n";
|
17 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/spyc.php4
ADDED
@@ -0,0 +1,1023 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Spyc -- A Simple PHP YAML Class
|
4 |
+
* @version 0.4.5
|
5 |
+
* @author Vlad Andersen <vlad.andersen@gmail.com>
|
6 |
+
* @author Chris Wanstrath <chris@ozmm.org>
|
7 |
+
* @link http://code.google.com/p/spyc/
|
8 |
+
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2009 Vlad Andersen
|
9 |
+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
10 |
+
* @package Spyc
|
11 |
+
*/
|
12 |
+
|
13 |
+
if (!function_exists('spyc_load')) {
|
14 |
+
/**
|
15 |
+
* Parses YAML to array.
|
16 |
+
* @param string $string YAML string.
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
function spyc_load ($string) {
|
20 |
+
return Spyc::YAMLLoadString($string);
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
if (!function_exists('spyc_load_file')) {
|
25 |
+
/**
|
26 |
+
* Parses YAML to array.
|
27 |
+
* @param string $file Path to YAML file.
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
function spyc_load_file ($file) {
|
31 |
+
return Spyc::YAMLLoad($file);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* The Simple PHP YAML Class.
|
37 |
+
*
|
38 |
+
* This class can be used to read a YAML file and convert its contents
|
39 |
+
* into a PHP array. It currently supports a very limited subsection of
|
40 |
+
* the YAML spec.
|
41 |
+
*
|
42 |
+
* Usage:
|
43 |
+
* <code>
|
44 |
+
* $Spyc = new Spyc;
|
45 |
+
* $array = $Spyc->load($file);
|
46 |
+
* </code>
|
47 |
+
* or:
|
48 |
+
* <code>
|
49 |
+
* $array = Spyc::YAMLLoad($file);
|
50 |
+
* </code>
|
51 |
+
* or:
|
52 |
+
* <code>
|
53 |
+
* $array = spyc_load_file($file);
|
54 |
+
* </code>
|
55 |
+
* @package Spyc
|
56 |
+
*/
|
57 |
+
class Spyc {
|
58 |
+
|
59 |
+
// SETTINGS
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Setting this to true will force YAMLDump to enclose any string value in
|
63 |
+
* quotes. False by default.
|
64 |
+
*
|
65 |
+
* @var bool
|
66 |
+
*/
|
67 |
+
var $setting_dump_force_quotes = false;
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Setting this to true will forse YAMLLoad to use syck_load function when
|
71 |
+
* possible. False by default.
|
72 |
+
* @var bool
|
73 |
+
*/
|
74 |
+
var $setting_use_syck_is_possible = false;
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
/**#@+
|
79 |
+
* @access private
|
80 |
+
* @var mixed
|
81 |
+
*/
|
82 |
+
var $_dumpIndent;
|
83 |
+
var $_dumpWordWrap;
|
84 |
+
var $_containsGroupAnchor = false;
|
85 |
+
var $_containsGroupAlias = false;
|
86 |
+
var $path;
|
87 |
+
var $result;
|
88 |
+
var $LiteralPlaceHolder = '___YAML_Literal_Block___';
|
89 |
+
var $SavedGroups = array();
|
90 |
+
var $indent;
|
91 |
+
/**
|
92 |
+
* Path modifier that should be applied after adding current element.
|
93 |
+
* @var array
|
94 |
+
*/
|
95 |
+
var $delayedPath = array();
|
96 |
+
|
97 |
+
/**#@+
|
98 |
+
* @access public
|
99 |
+
* @var mixed
|
100 |
+
*/
|
101 |
+
var $_nodeId;
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Load a valid YAML string to Spyc.
|
105 |
+
* @param string $input
|
106 |
+
* @return array
|
107 |
+
*/
|
108 |
+
function load ($input) {
|
109 |
+
return $this->__loadString($input);
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Load a valid YAML file to Spyc.
|
114 |
+
* @param string $file
|
115 |
+
* @return array
|
116 |
+
*/
|
117 |
+
function loadFile ($file) {
|
118 |
+
return $this->__load($file);
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Load YAML into a PHP array statically
|
123 |
+
*
|
124 |
+
* The load method, when supplied with a YAML stream (string or file),
|
125 |
+
* will do its best to convert YAML in a file into a PHP array. Pretty
|
126 |
+
* simple.
|
127 |
+
* Usage:
|
128 |
+
* <code>
|
129 |
+
* $array = Spyc::YAMLLoad('lucky.yaml');
|
130 |
+
* print_r($array);
|
131 |
+
* </code>
|
132 |
+
* @access public
|
133 |
+
* @return array
|
134 |
+
* @param string $input Path of YAML file or string containing YAML
|
135 |
+
*/
|
136 |
+
function YAMLLoad($input) {
|
137 |
+
$Spyc = new Spyc;
|
138 |
+
return $Spyc->__load($input);
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Load a string of YAML into a PHP array statically
|
143 |
+
*
|
144 |
+
* The load method, when supplied with a YAML string, will do its best
|
145 |
+
* to convert YAML in a string into a PHP array. Pretty simple.
|
146 |
+
*
|
147 |
+
* Note: use this function if you don't want files from the file system
|
148 |
+
* loaded and processed as YAML. This is of interest to people concerned
|
149 |
+
* about security whose input is from a string.
|
150 |
+
*
|
151 |
+
* Usage:
|
152 |
+
* <code>
|
153 |
+
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
|
154 |
+
* print_r($array);
|
155 |
+
* </code>
|
156 |
+
* @access public
|
157 |
+
* @return array
|
158 |
+
* @param string $input String containing YAML
|
159 |
+
*/
|
160 |
+
function YAMLLoadString($input) {
|
161 |
+
$Spyc = new Spyc;
|
162 |
+
return $Spyc->__loadString($input);
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Dump YAML from PHP array statically
|
167 |
+
*
|
168 |
+
* The dump method, when supplied with an array, will do its best
|
169 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
170 |
+
* save the returned string as nothing.yaml and pass it around.
|
171 |
+
*
|
172 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
173 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
174 |
+
* you want to use the default.
|
175 |
+
*
|
176 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
177 |
+
* you can turn off wordwrap by passing in 0.
|
178 |
+
*
|
179 |
+
* @access public
|
180 |
+
* @return string
|
181 |
+
* @param array $array PHP array
|
182 |
+
* @param int $indent Pass in false to use the default, which is 2
|
183 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
184 |
+
*/
|
185 |
+
function YAMLDump($array,$indent = false,$wordwrap = false) {
|
186 |
+
$spyc = new Spyc;
|
187 |
+
return $spyc->dump($array,$indent,$wordwrap);
|
188 |
+
}
|
189 |
+
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Dump PHP array to YAML
|
193 |
+
*
|
194 |
+
* The dump method, when supplied with an array, will do its best
|
195 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
196 |
+
* save the returned string as tasteful.yaml and pass it around.
|
197 |
+
*
|
198 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
199 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
200 |
+
* you want to use the default.
|
201 |
+
*
|
202 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
203 |
+
* you can turn off wordwrap by passing in 0.
|
204 |
+
*
|
205 |
+
* @access public
|
206 |
+
* @return string
|
207 |
+
* @param array $array PHP array
|
208 |
+
* @param int $indent Pass in false to use the default, which is 2
|
209 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
210 |
+
*/
|
211 |
+
function dump($array,$indent = false,$wordwrap = false) {
|
212 |
+
// Dumps to some very clean YAML. We'll have to add some more features
|
213 |
+
// and options soon. And better support for folding.
|
214 |
+
|
215 |
+
// New features and options.
|
216 |
+
if ($indent === false or !is_numeric($indent)) {
|
217 |
+
$this->_dumpIndent = 2;
|
218 |
+
} else {
|
219 |
+
$this->_dumpIndent = $indent;
|
220 |
+
}
|
221 |
+
|
222 |
+
if ($wordwrap === false or !is_numeric($wordwrap)) {
|
223 |
+
$this->_dumpWordWrap = 40;
|
224 |
+
} else {
|
225 |
+
$this->_dumpWordWrap = $wordwrap;
|
226 |
+
}
|
227 |
+
|
228 |
+
// New YAML document
|
229 |
+
$string = "---\n";
|
230 |
+
|
231 |
+
// Start at the base of the array and move through it.
|
232 |
+
if ($array) {
|
233 |
+
$array = (array)$array;
|
234 |
+
$first_key = key($array);
|
235 |
+
|
236 |
+
$previous_key = -1;
|
237 |
+
foreach ($array as $key => $value) {
|
238 |
+
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key);
|
239 |
+
$previous_key = $key;
|
240 |
+
}
|
241 |
+
}
|
242 |
+
return $string;
|
243 |
+
}
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Attempts to convert a key / value array item to YAML
|
247 |
+
* @access private
|
248 |
+
* @return string
|
249 |
+
* @param $key The name of the key
|
250 |
+
* @param $value The value of the item
|
251 |
+
* @param $indent The indent of the current node
|
252 |
+
*/
|
253 |
+
function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0) {
|
254 |
+
if (is_array($value)) {
|
255 |
+
if (empty ($value))
|
256 |
+
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key);
|
257 |
+
// It has children. What to do?
|
258 |
+
// Make it the right kind of item
|
259 |
+
$string = $this->_dumpNode($key, NULL, $indent, $previous_key, $first_key);
|
260 |
+
// Add the indent
|
261 |
+
$indent += $this->_dumpIndent;
|
262 |
+
// Yamlize the array
|
263 |
+
$string .= $this->_yamlizeArray($value,$indent);
|
264 |
+
} elseif (!is_array($value)) {
|
265 |
+
// It doesn't have children. Yip.
|
266 |
+
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key);
|
267 |
+
}
|
268 |
+
return $string;
|
269 |
+
}
|
270 |
+
|
271 |
+
/**
|
272 |
+
* Attempts to convert an array to YAML
|
273 |
+
* @access private
|
274 |
+
* @return string
|
275 |
+
* @param $array The array you want to convert
|
276 |
+
* @param $indent The indent of the current level
|
277 |
+
*/
|
278 |
+
function _yamlizeArray($array,$indent) {
|
279 |
+
if (is_array($array)) {
|
280 |
+
$string = '';
|
281 |
+
$previous_key = -1;
|
282 |
+
$first_key = key($array);
|
283 |
+
foreach ($array as $key => $value) {
|
284 |
+
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key);
|
285 |
+
$previous_key = $key;
|
286 |
+
}
|
287 |
+
return $string;
|
288 |
+
} else {
|
289 |
+
return false;
|
290 |
+
}
|
291 |
+
}
|
292 |
+
|
293 |
+
/**
|
294 |
+
* Returns YAML from a key and a value
|
295 |
+
* @access private
|
296 |
+
* @return string
|
297 |
+
* @param $key The name of the key
|
298 |
+
* @param $value The value of the item
|
299 |
+
* @param $indent The indent of the current node
|
300 |
+
*/
|
301 |
+
function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0) {
|
302 |
+
// do some folding here, for blocks
|
303 |
+
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
|
304 |
+
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false ||
|
305 |
+
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || substr ($value, -1, 1) == ':')) {
|
306 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
307 |
+
} else {
|
308 |
+
$value = $this->_doFolding($value,$indent);
|
309 |
+
if (is_bool($value)) {
|
310 |
+
$value = ($value) ? "true" : "false";
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
if ($value === array()) $value = '[ ]';
|
315 |
+
|
316 |
+
$spaces = str_repeat(' ',$indent);
|
317 |
+
|
318 |
+
if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
|
319 |
+
// It's a sequence
|
320 |
+
$string = $spaces.'- '.$value."\n";
|
321 |
+
} else {
|
322 |
+
if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
|
323 |
+
// It's mapped
|
324 |
+
if (strpos($key, ":") !== false) { $key = '"' . $key . '"'; }
|
325 |
+
$string = $spaces.$key.': '.$value."\n";
|
326 |
+
}
|
327 |
+
return $string;
|
328 |
+
}
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Creates a literal block for dumping
|
332 |
+
* @access private
|
333 |
+
* @return string
|
334 |
+
* @param $value
|
335 |
+
* @param $indent int The value of the indent
|
336 |
+
*/
|
337 |
+
function _doLiteralBlock($value,$indent) {
|
338 |
+
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
|
339 |
+
return sprintf ("'%s'", $value);
|
340 |
+
}
|
341 |
+
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
|
342 |
+
return sprintf ('"%s"', $value);
|
343 |
+
}
|
344 |
+
$exploded = explode("\n",$value);
|
345 |
+
$newValue = '|';
|
346 |
+
$indent += $this->_dumpIndent;
|
347 |
+
$spaces = str_repeat(' ',$indent);
|
348 |
+
foreach ($exploded as $line) {
|
349 |
+
$newValue .= "\n" . $spaces . trim($line);
|
350 |
+
}
|
351 |
+
return $newValue;
|
352 |
+
}
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Folds a string of text, if necessary
|
356 |
+
* @access private
|
357 |
+
* @return string
|
358 |
+
* @param $value The string you wish to fold
|
359 |
+
*/
|
360 |
+
function _doFolding($value,$indent) {
|
361 |
+
// Don't do anything if wordwrap is set to 0
|
362 |
+
|
363 |
+
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
|
364 |
+
$indent += $this->_dumpIndent;
|
365 |
+
$indent = str_repeat(' ',$indent);
|
366 |
+
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
|
367 |
+
$value = ">\n".$indent.$wrapped;
|
368 |
+
} else {
|
369 |
+
if ($this->setting_dump_force_quotes && is_string ($value))
|
370 |
+
$value = '"' . $value . '"';
|
371 |
+
}
|
372 |
+
|
373 |
+
|
374 |
+
return $value;
|
375 |
+
}
|
376 |
+
|
377 |
+
// LOADING FUNCTIONS
|
378 |
+
|
379 |
+
function __load($input) {
|
380 |
+
$Source = $this->loadFromSource($input);
|
381 |
+
return $this->loadWithSource($Source);
|
382 |
+
}
|
383 |
+
|
384 |
+
function __loadString($input) {
|
385 |
+
$Source = $this->loadFromString($input);
|
386 |
+
return $this->loadWithSource($Source);
|
387 |
+
}
|
388 |
+
|
389 |
+
function loadWithSource($Source) {
|
390 |
+
if (empty ($Source)) return array();
|
391 |
+
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
|
392 |
+
$array = syck_load (implode ('', $Source));
|
393 |
+
return is_array($array) ? $array : array();
|
394 |
+
}
|
395 |
+
|
396 |
+
$this->path = array();
|
397 |
+
$this->result = array();
|
398 |
+
|
399 |
+
$cnt = count($Source);
|
400 |
+
for ($i = 0; $i < $cnt; $i++) {
|
401 |
+
$line = $Source[$i];
|
402 |
+
|
403 |
+
$this->indent = strlen($line) - strlen(ltrim($line));
|
404 |
+
$tempPath = $this->getParentPathByIndent($this->indent);
|
405 |
+
$line = $this->stripIndent($line, $this->indent);
|
406 |
+
if ($this->isComment($line)) continue;
|
407 |
+
if ($this->isEmpty($line)) continue;
|
408 |
+
$this->path = $tempPath;
|
409 |
+
|
410 |
+
$literalBlockStyle = $this->startsLiteralBlock($line);
|
411 |
+
if ($literalBlockStyle) {
|
412 |
+
$line = rtrim ($line, $literalBlockStyle . " \n");
|
413 |
+
$literalBlock = '';
|
414 |
+
$line .= $this->LiteralPlaceHolder;
|
415 |
+
|
416 |
+
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
|
417 |
+
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle);
|
418 |
+
}
|
419 |
+
$i--;
|
420 |
+
}
|
421 |
+
|
422 |
+
while (++$i < $cnt && $this->greedilyNeedNextLine($line)) {
|
423 |
+
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
|
424 |
+
}
|
425 |
+
$i--;
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
if (strpos ($line, '#')) {
|
430 |
+
if (strpos ($line, '"') === false && strpos ($line, "'") === false)
|
431 |
+
$line = preg_replace('/\s+#(.+)$/','',$line);
|
432 |
+
}
|
433 |
+
|
434 |
+
$lineArray = $this->_parseLine($line);
|
435 |
+
|
436 |
+
if ($literalBlockStyle)
|
437 |
+
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
|
438 |
+
|
439 |
+
$this->addArray($lineArray, $this->indent);
|
440 |
+
|
441 |
+
foreach ($this->delayedPath as $indent => $delayedPath)
|
442 |
+
$this->path[$indent] = $delayedPath;
|
443 |
+
|
444 |
+
$this->delayedPath = array();
|
445 |
+
|
446 |
+
}
|
447 |
+
return $this->result;
|
448 |
+
}
|
449 |
+
|
450 |
+
function loadFromSource ($input) {
|
451 |
+
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
|
452 |
+
return file($input);
|
453 |
+
|
454 |
+
return $this->loadFromString($input);
|
455 |
+
}
|
456 |
+
|
457 |
+
function loadFromString ($input) {
|
458 |
+
$lines = explode("\n",$input);
|
459 |
+
foreach ($lines as $k => $_) {
|
460 |
+
$lines[$k] = rtrim ($_, "\r");
|
461 |
+
}
|
462 |
+
return $lines;
|
463 |
+
}
|
464 |
+
|
465 |
+
/**
|
466 |
+
* Parses YAML code and returns an array for a node
|
467 |
+
* @access private
|
468 |
+
* @return array
|
469 |
+
* @param string $line A line from the YAML file
|
470 |
+
*/
|
471 |
+
function _parseLine($line) {
|
472 |
+
if (!$line) return array();
|
473 |
+
$line = trim($line);
|
474 |
+
|
475 |
+
if (!$line) return array();
|
476 |
+
$array = array();
|
477 |
+
|
478 |
+
$group = $this->nodeContainsGroup($line);
|
479 |
+
if ($group) {
|
480 |
+
$this->addGroup($line, $group);
|
481 |
+
$line = $this->stripGroup ($line, $group);
|
482 |
+
}
|
483 |
+
|
484 |
+
if ($this->startsMappedSequence($line))
|
485 |
+
return $this->returnMappedSequence($line);
|
486 |
+
|
487 |
+
if ($this->startsMappedValue($line))
|
488 |
+
return $this->returnMappedValue($line);
|
489 |
+
|
490 |
+
if ($this->isArrayElement($line))
|
491 |
+
return $this->returnArrayElement($line);
|
492 |
+
|
493 |
+
if ($this->isPlainArray($line))
|
494 |
+
return $this->returnPlainArray($line);
|
495 |
+
|
496 |
+
|
497 |
+
return $this->returnKeyValuePair($line);
|
498 |
+
|
499 |
+
}
|
500 |
+
|
501 |
+
/**
|
502 |
+
* Finds the type of the passed value, returns the value as the new type.
|
503 |
+
* @access private
|
504 |
+
* @param string $value
|
505 |
+
* @return mixed
|
506 |
+
*/
|
507 |
+
function _toType($value) {
|
508 |
+
if ($value === '') return null;
|
509 |
+
$first_character = $value[0];
|
510 |
+
$last_character = substr($value, -1, 1);
|
511 |
+
|
512 |
+
$is_quoted = false;
|
513 |
+
do {
|
514 |
+
if (!$value) break;
|
515 |
+
if ($first_character != '"' && $first_character != "'") break;
|
516 |
+
if ($last_character != '"' && $last_character != "'") break;
|
517 |
+
$is_quoted = true;
|
518 |
+
} while (0);
|
519 |
+
|
520 |
+
if ($is_quoted)
|
521 |
+
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\'\'' => '\'', '\\\'' => '\''));
|
522 |
+
|
523 |
+
if (strpos($value, ' #') !== false)
|
524 |
+
$value = preg_replace('/\s+#(.+)$/','',$value);
|
525 |
+
|
526 |
+
if ($first_character == '[' && $last_character == ']') {
|
527 |
+
// Take out strings sequences and mappings
|
528 |
+
$innerValue = trim(substr ($value, 1, -1));
|
529 |
+
if ($innerValue === '') return array();
|
530 |
+
$explode = $this->_inlineEscape($innerValue);
|
531 |
+
// Propagate value array
|
532 |
+
$value = array();
|
533 |
+
foreach ($explode as $v) {
|
534 |
+
$value[] = $this->_toType($v);
|
535 |
+
}
|
536 |
+
return $value;
|
537 |
+
}
|
538 |
+
|
539 |
+
if (strpos($value,': ')!==false && $first_character != '{') {
|
540 |
+
$array = explode(': ',$value);
|
541 |
+
$key = trim($array[0]);
|
542 |
+
array_shift($array);
|
543 |
+
$value = trim(implode(': ',$array));
|
544 |
+
$value = $this->_toType($value);
|
545 |
+
return array($key => $value);
|
546 |
+
}
|
547 |
+
|
548 |
+
if ($first_character == '{' && $last_character == '}') {
|
549 |
+
$innerValue = trim(substr ($value, 1, -1));
|
550 |
+
if ($innerValue === '') return array();
|
551 |
+
// Inline Mapping
|
552 |
+
// Take out strings sequences and mappings
|
553 |
+
$explode = $this->_inlineEscape($innerValue);
|
554 |
+
// Propagate value array
|
555 |
+
$array = array();
|
556 |
+
foreach ($explode as $v) {
|
557 |
+
$SubArr = $this->_toType($v);
|
558 |
+
if (empty($SubArr)) continue;
|
559 |
+
if (is_array ($SubArr)) {
|
560 |
+
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
|
561 |
+
}
|
562 |
+
$array[] = $SubArr;
|
563 |
+
}
|
564 |
+
return $array;
|
565 |
+
}
|
566 |
+
|
567 |
+
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
|
568 |
+
return null;
|
569 |
+
}
|
570 |
+
|
571 |
+
if (intval($first_character) > 0 && preg_match ('/^[1-9]+[0-9]*$/', $value)) {
|
572 |
+
$intvalue = (int)$value;
|
573 |
+
if ($intvalue != PHP_INT_MAX)
|
574 |
+
$value = $intvalue;
|
575 |
+
return $value;
|
576 |
+
}
|
577 |
+
|
578 |
+
if (in_array($value,
|
579 |
+
array('true', 'on', '+', 'yes', 'y', 'True', 'TRUE', 'On', 'ON', 'YES', 'Yes', 'Y'))) {
|
580 |
+
return true;
|
581 |
+
}
|
582 |
+
|
583 |
+
if (in_array(strtolower($value),
|
584 |
+
array('false', 'off', '-', 'no', 'n'))) {
|
585 |
+
return false;
|
586 |
+
}
|
587 |
+
|
588 |
+
if (is_numeric($value)) {
|
589 |
+
if ($value === '0') return 0;
|
590 |
+
if (trim ($value, 0) === $value)
|
591 |
+
$value = (float)$value;
|
592 |
+
return $value;
|
593 |
+
}
|
594 |
+
|
595 |
+
return $value;
|
596 |
+
}
|
597 |
+
|
598 |
+
/**
|
599 |
+
* Used in inlines to check for more inlines or quoted strings
|
600 |
+
* @access private
|
601 |
+
* @return array
|
602 |
+
*/
|
603 |
+
function _inlineEscape($inline) {
|
604 |
+
// There's gotta be a cleaner way to do this...
|
605 |
+
// While pure sequences seem to be nesting just fine,
|
606 |
+
// pure mappings and mappings with sequences inside can't go very
|
607 |
+
// deep. This needs to be fixed.
|
608 |
+
|
609 |
+
$seqs = array();
|
610 |
+
$maps = array();
|
611 |
+
$saved_strings = array();
|
612 |
+
|
613 |
+
// Check for strings
|
614 |
+
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
|
615 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
616 |
+
$saved_strings = $strings[0];
|
617 |
+
$inline = preg_replace($regex,'YAMLString',$inline);
|
618 |
+
}
|
619 |
+
unset($regex);
|
620 |
+
|
621 |
+
$i = 0;
|
622 |
+
do {
|
623 |
+
|
624 |
+
// Check for sequences
|
625 |
+
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
|
626 |
+
$seqs[] = $matchseqs[0];
|
627 |
+
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
|
628 |
+
}
|
629 |
+
|
630 |
+
// Check for mappings
|
631 |
+
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
|
632 |
+
$maps[] = $matchmaps[0];
|
633 |
+
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
|
634 |
+
}
|
635 |
+
|
636 |
+
if ($i++ >= 10) break;
|
637 |
+
|
638 |
+
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
|
639 |
+
|
640 |
+
$explode = explode(', ',$inline);
|
641 |
+
$stringi = 0; $i = 0;
|
642 |
+
|
643 |
+
while (1) {
|
644 |
+
|
645 |
+
// Re-add the sequences
|
646 |
+
if (!empty($seqs)) {
|
647 |
+
foreach ($explode as $key => $value) {
|
648 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
649 |
+
foreach ($seqs as $seqk => $seq) {
|
650 |
+
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
|
651 |
+
$value = $explode[$key];
|
652 |
+
}
|
653 |
+
}
|
654 |
+
}
|
655 |
+
}
|
656 |
+
|
657 |
+
// Re-add the mappings
|
658 |
+
if (!empty($maps)) {
|
659 |
+
foreach ($explode as $key => $value) {
|
660 |
+
if (strpos($value,'YAMLMap') !== false) {
|
661 |
+
foreach ($maps as $mapk => $map) {
|
662 |
+
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
|
663 |
+
$value = $explode[$key];
|
664 |
+
}
|
665 |
+
}
|
666 |
+
}
|
667 |
+
}
|
668 |
+
|
669 |
+
|
670 |
+
// Re-add the strings
|
671 |
+
if (!empty($saved_strings)) {
|
672 |
+
foreach ($explode as $key => $value) {
|
673 |
+
while (strpos($value,'YAMLString') !== false) {
|
674 |
+
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
|
675 |
+
unset($saved_strings[$stringi]);
|
676 |
+
++$stringi;
|
677 |
+
$value = $explode[$key];
|
678 |
+
}
|
679 |
+
}
|
680 |
+
}
|
681 |
+
|
682 |
+
$finished = true;
|
683 |
+
foreach ($explode as $key => $value) {
|
684 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
685 |
+
$finished = false; break;
|
686 |
+
}
|
687 |
+
if (strpos($value,'YAMLMap') !== false) {
|
688 |
+
$finished = false; break;
|
689 |
+
}
|
690 |
+
if (strpos($value,'YAMLString') !== false) {
|
691 |
+
$finished = false; break;
|
692 |
+
}
|
693 |
+
}
|
694 |
+
if ($finished) break;
|
695 |
+
|
696 |
+
$i++;
|
697 |
+
if ($i > 10)
|
698 |
+
break; // Prevent infinite loops.
|
699 |
+
}
|
700 |
+
|
701 |
+
return $explode;
|
702 |
+
}
|
703 |
+
|
704 |
+
function literalBlockContinues ($line, $lineIndent) {
|
705 |
+
if (!trim($line)) return true;
|
706 |
+
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
|
707 |
+
return false;
|
708 |
+
}
|
709 |
+
|
710 |
+
function referenceContentsByAlias ($alias) {
|
711 |
+
do {
|
712 |
+
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
|
713 |
+
$groupPath = $this->SavedGroups[$alias];
|
714 |
+
$value = $this->result;
|
715 |
+
foreach ($groupPath as $k) {
|
716 |
+
$value = $value[$k];
|
717 |
+
}
|
718 |
+
} while (false);
|
719 |
+
return $value;
|
720 |
+
}
|
721 |
+
|
722 |
+
function addArrayInline ($array, $indent) {
|
723 |
+
$CommonGroupPath = $this->path;
|
724 |
+
if (empty ($array)) return false;
|
725 |
+
|
726 |
+
foreach ($array as $k => $_) {
|
727 |
+
$this->addArray(array($k => $_), $indent);
|
728 |
+
$this->path = $CommonGroupPath;
|
729 |
+
}
|
730 |
+
return true;
|
731 |
+
}
|
732 |
+
|
733 |
+
function addArray ($incoming_data, $incoming_indent) {
|
734 |
+
|
735 |
+
// print_r ($incoming_data);
|
736 |
+
|
737 |
+
if (count ($incoming_data) > 1)
|
738 |
+
return $this->addArrayInline ($incoming_data, $incoming_indent);
|
739 |
+
|
740 |
+
$key = key ($incoming_data);
|
741 |
+
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
|
742 |
+
if ($key === '__!YAMLZero') $key = '0';
|
743 |
+
|
744 |
+
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
|
745 |
+
if ($key || $key === '' || $key === '0') {
|
746 |
+
$this->result[$key] = $value;
|
747 |
+
} else {
|
748 |
+
$this->result[] = $value; end ($this->result); $key = key ($this->result);
|
749 |
+
}
|
750 |
+
$this->path[$incoming_indent] = $key;
|
751 |
+
return;
|
752 |
+
}
|
753 |
+
|
754 |
+
|
755 |
+
|
756 |
+
$history = array();
|
757 |
+
// Unfolding inner array tree.
|
758 |
+
$history[] = $_arr = $this->result;
|
759 |
+
foreach ($this->path as $k) {
|
760 |
+
$history[] = $_arr = $_arr[$k];
|
761 |
+
}
|
762 |
+
|
763 |
+
if ($this->_containsGroupAlias) {
|
764 |
+
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
|
765 |
+
$this->_containsGroupAlias = false;
|
766 |
+
}
|
767 |
+
|
768 |
+
|
769 |
+
// Adding string or numeric key to the innermost level or $this->arr.
|
770 |
+
if (is_string($key) && $key == '<<') {
|
771 |
+
if (!is_array ($_arr)) { $_arr = array (); }
|
772 |
+
$_arr = array_merge ($_arr, $value);
|
773 |
+
} else if ($key || $key === '' || $key === '0') {
|
774 |
+
$_arr[$key] = $value;
|
775 |
+
} else {
|
776 |
+
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
|
777 |
+
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
|
778 |
+
}
|
779 |
+
|
780 |
+
$reverse_path = array_reverse($this->path);
|
781 |
+
$reverse_history = array_reverse ($history);
|
782 |
+
$reverse_history[0] = $_arr;
|
783 |
+
$cnt = count($reverse_history) - 1;
|
784 |
+
for ($i = 0; $i < $cnt; $i++) {
|
785 |
+
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
|
786 |
+
}
|
787 |
+
$this->result = $reverse_history[$cnt];
|
788 |
+
|
789 |
+
$this->path[$incoming_indent] = $key;
|
790 |
+
|
791 |
+
if ($this->_containsGroupAnchor) {
|
792 |
+
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
|
793 |
+
if (is_array ($value)) {
|
794 |
+
$k = key ($value);
|
795 |
+
if (!is_int ($k)) {
|
796 |
+
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
|
797 |
+
}
|
798 |
+
}
|
799 |
+
$this->_containsGroupAnchor = false;
|
800 |
+
}
|
801 |
+
|
802 |
+
}
|
803 |
+
|
804 |
+
function startsLiteralBlock ($line) {
|
805 |
+
$lastChar = substr (trim($line), -1);
|
806 |
+
if ($lastChar != '>' && $lastChar != '|') return false;
|
807 |
+
if ($lastChar == '|') return $lastChar;
|
808 |
+
// HTML tags should not be counted as literal blocks.
|
809 |
+
if (preg_match ('#<.*?>$#', $line)) return false;
|
810 |
+
return $lastChar;
|
811 |
+
}
|
812 |
+
|
813 |
+
function greedilyNeedNextLine($line) {
|
814 |
+
$line = trim ($line);
|
815 |
+
if (!strlen($line)) return false;
|
816 |
+
if (substr ($line, -1, 1) == ']') return false;
|
817 |
+
if ($line[0] == '[') return true;
|
818 |
+
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
|
819 |
+
return false;
|
820 |
+
}
|
821 |
+
|
822 |
+
function addLiteralLine ($literalBlock, $line, $literalBlockStyle) {
|
823 |
+
$line = $this->stripIndent($line);
|
824 |
+
$line = rtrim ($line, "\r\n\t ") . "\n";
|
825 |
+
if ($literalBlockStyle == '|') {
|
826 |
+
return $literalBlock . $line;
|
827 |
+
}
|
828 |
+
if (strlen($line) == 0)
|
829 |
+
return rtrim($literalBlock, ' ') . "\n";
|
830 |
+
if ($line == "\n" && $literalBlockStyle == '>') {
|
831 |
+
return rtrim ($literalBlock, " \t") . "\n";
|
832 |
+
}
|
833 |
+
if ($line != "\n")
|
834 |
+
$line = trim ($line, "\r\n ") . " ";
|
835 |
+
return $literalBlock . $line;
|
836 |
+
}
|
837 |
+
|
838 |
+
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
|
839 |
+
foreach ($lineArray as $k => $_) {
|
840 |
+
if (is_array($_))
|
841 |
+
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
|
842 |
+
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
|
843 |
+
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
|
844 |
+
}
|
845 |
+
return $lineArray;
|
846 |
+
}
|
847 |
+
|
848 |
+
function stripIndent ($line, $indent = -1) {
|
849 |
+
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
|
850 |
+
return substr ($line, $indent);
|
851 |
+
}
|
852 |
+
|
853 |
+
function getParentPathByIndent ($indent) {
|
854 |
+
if ($indent == 0) return array();
|
855 |
+
$linePath = $this->path;
|
856 |
+
do {
|
857 |
+
end($linePath); $lastIndentInParentPath = key($linePath);
|
858 |
+
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
|
859 |
+
} while ($indent <= $lastIndentInParentPath);
|
860 |
+
return $linePath;
|
861 |
+
}
|
862 |
+
|
863 |
+
|
864 |
+
function clearBiggerPathValues ($indent) {
|
865 |
+
|
866 |
+
|
867 |
+
if ($indent == 0) $this->path = array();
|
868 |
+
if (empty ($this->path)) return true;
|
869 |
+
|
870 |
+
foreach ($this->path as $k => $_) {
|
871 |
+
if ($k > $indent) unset ($this->path[$k]);
|
872 |
+
}
|
873 |
+
|
874 |
+
return true;
|
875 |
+
}
|
876 |
+
|
877 |
+
|
878 |
+
function isComment ($line) {
|
879 |
+
if (!$line) return false;
|
880 |
+
if ($line[0] == '#') return true;
|
881 |
+
if (trim($line, " \r\n\t") == '---') return true;
|
882 |
+
return false;
|
883 |
+
}
|
884 |
+
|
885 |
+
function isEmpty ($line) {
|
886 |
+
return (trim ($line) === '');
|
887 |
+
}
|
888 |
+
|
889 |
+
|
890 |
+
function isArrayElement ($line) {
|
891 |
+
if (!$line) return false;
|
892 |
+
if ($line[0] != '-') return false;
|
893 |
+
if (strlen ($line) > 3)
|
894 |
+
if (substr($line,0,3) == '---') return false;
|
895 |
+
|
896 |
+
return true;
|
897 |
+
}
|
898 |
+
|
899 |
+
function isHashElement ($line) {
|
900 |
+
return strpos($line, ':');
|
901 |
+
}
|
902 |
+
|
903 |
+
function isLiteral ($line) {
|
904 |
+
if ($this->isArrayElement($line)) return false;
|
905 |
+
if ($this->isHashElement($line)) return false;
|
906 |
+
return true;
|
907 |
+
}
|
908 |
+
|
909 |
+
|
910 |
+
function unquote ($value) {
|
911 |
+
if (!$value) return $value;
|
912 |
+
if (!is_string($value)) return $value;
|
913 |
+
if ($value[0] == '\'') return trim ($value, '\'');
|
914 |
+
if ($value[0] == '"') return trim ($value, '"');
|
915 |
+
return $value;
|
916 |
+
}
|
917 |
+
|
918 |
+
function startsMappedSequence ($line) {
|
919 |
+
return ($line[0] == '-' && substr ($line, -1, 1) == ':');
|
920 |
+
}
|
921 |
+
|
922 |
+
function returnMappedSequence ($line) {
|
923 |
+
$array = array();
|
924 |
+
$key = $this->unquote(trim(substr($line,1,-1)));
|
925 |
+
$array[$key] = array();
|
926 |
+
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
|
927 |
+
return array($array);
|
928 |
+
}
|
929 |
+
|
930 |
+
function returnMappedValue ($line) {
|
931 |
+
$array = array();
|
932 |
+
$key = $this->unquote (trim(substr($line,0,-1)));
|
933 |
+
$array[$key] = '';
|
934 |
+
return $array;
|
935 |
+
}
|
936 |
+
|
937 |
+
function startsMappedValue ($line) {
|
938 |
+
return (substr ($line, -1, 1) == ':');
|
939 |
+
}
|
940 |
+
|
941 |
+
function isPlainArray ($line) {
|
942 |
+
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
|
943 |
+
}
|
944 |
+
|
945 |
+
function returnPlainArray ($line) {
|
946 |
+
return $this->_toType($line);
|
947 |
+
}
|
948 |
+
|
949 |
+
function returnKeyValuePair ($line) {
|
950 |
+
$array = array();
|
951 |
+
$key = '';
|
952 |
+
if (strpos ($line, ':')) {
|
953 |
+
// It's a key/value pair most likely
|
954 |
+
// If the key is in double quotes pull it out
|
955 |
+
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
|
956 |
+
$value = trim(str_replace($matches[1],'',$line));
|
957 |
+
$key = $matches[2];
|
958 |
+
} else {
|
959 |
+
// Do some guesswork as to the key and the value
|
960 |
+
$explode = explode(':',$line);
|
961 |
+
$key = trim($explode[0]);
|
962 |
+
array_shift($explode);
|
963 |
+
$value = trim(implode(':',$explode));
|
964 |
+
}
|
965 |
+
// Set the type of the value. Int, string, etc
|
966 |
+
$value = $this->_toType($value);
|
967 |
+
if ($key === '0') $key = '__!YAMLZero';
|
968 |
+
$array[$key] = $value;
|
969 |
+
} else {
|
970 |
+
$array = array ($line);
|
971 |
+
}
|
972 |
+
return $array;
|
973 |
+
|
974 |
+
}
|
975 |
+
|
976 |
+
|
977 |
+
function returnArrayElement ($line) {
|
978 |
+
if (strlen($line) <= 1) return array(array()); // Weird %)
|
979 |
+
$array = array();
|
980 |
+
$value = trim(substr($line,1));
|
981 |
+
$value = $this->_toType($value);
|
982 |
+
$array[] = $value;
|
983 |
+
return $array;
|
984 |
+
}
|
985 |
+
|
986 |
+
|
987 |
+
function nodeContainsGroup ($line) {
|
988 |
+
$symbolsForReference = 'A-z0-9_\-';
|
989 |
+
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
|
990 |
+
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
991 |
+
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
992 |
+
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
|
993 |
+
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
|
994 |
+
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
|
995 |
+
return false;
|
996 |
+
|
997 |
+
}
|
998 |
+
|
999 |
+
function addGroup ($line, $group) {
|
1000 |
+
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
|
1001 |
+
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
|
1002 |
+
//print_r ($this->path);
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
function stripGroup ($line, $group) {
|
1006 |
+
$line = trim(str_replace($group, '', $line));
|
1007 |
+
return $line;
|
1008 |
+
}
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
// Enable use of Spyc from command line
|
1012 |
+
// The syntax is the following: php spyc.php spyc.yaml
|
1013 |
+
|
1014 |
+
define ('SPYC_FROM_COMMAND_LINE', false);
|
1015 |
+
|
1016 |
+
do {
|
1017 |
+
if (!SPYC_FROM_COMMAND_LINE) break;
|
1018 |
+
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
|
1019 |
+
if (empty ($_SERVER['PHP_SELF']) || $_SERVER['PHP_SELF'] != 'spyc.php') break;
|
1020 |
+
$file = $argv[1];
|
1021 |
+
printf ("Spyc loading file: %s\n", $file);
|
1022 |
+
print_r (spyc_load_file ($file));
|
1023 |
+
} while (0);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/test.php4
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
#
|
3 |
+
# S P Y C
|
4 |
+
# a simple php yaml class
|
5 |
+
# v0.3
|
6 |
+
#
|
7 |
+
# author: [chris wanstrath, chris@ozmm.org]
|
8 |
+
# websites: [http://www.yaml.org, http://spyc.sourceforge.net/]
|
9 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
10 |
+
# copyright: (c) 2005-2006 Chris Wanstrath
|
11 |
+
#
|
12 |
+
# We're gonna load a file into memory and see if we get what we expect.
|
13 |
+
# If not, we're gonna complain.
|
14 |
+
#
|
15 |
+
# Pretty lo-fi. Let's see if we can't get some unit testing going in the next,
|
16 |
+
# I dunno, 20 months? Alright. Go team.
|
17 |
+
#
|
18 |
+
|
19 |
+
error_reporting(E_ALL);
|
20 |
+
|
21 |
+
include('spyc.php4');
|
22 |
+
|
23 |
+
$yaml = Spyc::YAMLLoad('../spyc.yaml');
|
24 |
+
|
25 |
+
// print_r ($yaml);
|
26 |
+
|
27 |
+
# Added in .2
|
28 |
+
if ($yaml[1040] != "Ooo, a numeric key!")
|
29 |
+
die('Key: 1040 failed');
|
30 |
+
|
31 |
+
# Test mappings / types
|
32 |
+
if ($yaml['String'] != "Anyone's name, really.")
|
33 |
+
die('Key: String failed');
|
34 |
+
|
35 |
+
if ($yaml['Int'] !== 13)
|
36 |
+
die('Key: Int failed');
|
37 |
+
|
38 |
+
if ($yaml['True'] !== true)
|
39 |
+
die('Key: True failed');
|
40 |
+
|
41 |
+
if ($yaml['False'] !== false)
|
42 |
+
die('Key: False failed');
|
43 |
+
|
44 |
+
if ($yaml['Zero'] !== 0)
|
45 |
+
die('Key: Zero failed');
|
46 |
+
|
47 |
+
if (isset($yaml['Null']))
|
48 |
+
die('Key: Null failed');
|
49 |
+
|
50 |
+
if ($yaml['Float'] !== 5.34)
|
51 |
+
die('Key: Float failed');
|
52 |
+
|
53 |
+
|
54 |
+
# Test sequences
|
55 |
+
if ($yaml[0] != "PHP Class")
|
56 |
+
die('Sequence 0 failed');
|
57 |
+
|
58 |
+
if ($yaml[1] != "Basic YAML Loader")
|
59 |
+
die('Sequence 1 failed');
|
60 |
+
|
61 |
+
if ($yaml[2] != "Very Basic YAML Dumper")
|
62 |
+
die('Sequence 2 failed');
|
63 |
+
|
64 |
+
# A sequence of a sequence
|
65 |
+
if ($yaml[3] != array("YAML is so easy to learn.",
|
66 |
+
"Your config files will never be the same."))
|
67 |
+
die('Sequence 3 failed');
|
68 |
+
|
69 |
+
# Sequence of mappings
|
70 |
+
if ($yaml[4] != array("cpu" => "1.5ghz", "ram" => "1 gig",
|
71 |
+
"os" => "os x 10.4.1"))
|
72 |
+
die('Sequence 4 failed');
|
73 |
+
|
74 |
+
# Mapped sequence
|
75 |
+
if ($yaml['domains'] != array("yaml.org", "php.net"))
|
76 |
+
die("Key: 'domains' failed");
|
77 |
+
|
78 |
+
# A sequence like this.
|
79 |
+
if ($yaml[5] != array("program" => "Adium", "platform" => "OS X",
|
80 |
+
"type" => "Chat Client"))
|
81 |
+
die('Sequence 5 failed');
|
82 |
+
|
83 |
+
# A folded block as a mapped value
|
84 |
+
if ($yaml['no time'] != "There isn't any time for your tricks!\nDo you understand?")
|
85 |
+
die("Key: 'no time' failed");
|
86 |
+
|
87 |
+
# A literal block as a mapped value
|
88 |
+
if ($yaml['some time'] != "There is nothing but time\nfor your tricks.")
|
89 |
+
die("Key: 'some time' failed");
|
90 |
+
|
91 |
+
# Crazy combinations
|
92 |
+
if ($yaml['databases'] != array( array("name" => "spartan", "notes" =>
|
93 |
+
array( "Needs to be backed up",
|
94 |
+
"Needs to be normalized" ),
|
95 |
+
"type" => "mysql" )))
|
96 |
+
die("Key: 'databases' failed");
|
97 |
+
|
98 |
+
# You can be a bit tricky
|
99 |
+
if ($yaml["if: you'd"] != "like")
|
100 |
+
die("Key: 'if: you\'d' failed");
|
101 |
+
|
102 |
+
# Inline sequences
|
103 |
+
if ($yaml[6] != array("One", "Two", "Three", "Four"))
|
104 |
+
die("Sequence 6 failed");
|
105 |
+
|
106 |
+
# Nested Inline Sequences
|
107 |
+
if ($yaml[7] != array("One", array("Two", "And", "Three"), "Four", "Five"))
|
108 |
+
die("Sequence 7 failed");
|
109 |
+
|
110 |
+
# Nested Nested Inline Sequences
|
111 |
+
if ($yaml[8] != array( "This", array("Is", "Getting", array("Ridiculous", "Guys")),
|
112 |
+
"Seriously", array("Show", "Mercy")))
|
113 |
+
die("Sequence 8 failed");
|
114 |
+
|
115 |
+
# Inline mappings
|
116 |
+
if ($yaml[9] != array("name" => "chris", "age" => "young", "brand" => "lucky strike"))
|
117 |
+
die("Sequence 9 failed");
|
118 |
+
|
119 |
+
# Nested inline mappings
|
120 |
+
if ($yaml[10] != array("name" => "mark", "age" => "older than chris",
|
121 |
+
"brand" => array("marlboro", "lucky strike")))
|
122 |
+
die("Sequence 10 failed");
|
123 |
+
|
124 |
+
# References -- they're shaky, but functional
|
125 |
+
if ($yaml['dynamic languages'] != array('Perl', 'Python', 'PHP', 'Ruby'))
|
126 |
+
die("Key: 'dynamic languages' failed");
|
127 |
+
|
128 |
+
if ($yaml['compiled languages'] != array('C/C++', 'Java'))
|
129 |
+
die("Key: 'compiled languages' failed");
|
130 |
+
|
131 |
+
if ($yaml['all languages'] != array(
|
132 |
+
array('Perl', 'Python', 'PHP', 'Ruby'),
|
133 |
+
array('C/C++', 'Java')
|
134 |
+
))
|
135 |
+
die("Key: 'all languages' failed");
|
136 |
+
|
137 |
+
# Added in .2.2: Escaped quotes
|
138 |
+
if ($yaml[11] != "you know, this shouldn't work. but it does.")
|
139 |
+
die("Sequence 11 failed.");
|
140 |
+
|
141 |
+
if ($yaml[12] != "that's my value.")
|
142 |
+
die("Sequence 12 failed.");
|
143 |
+
|
144 |
+
if ($yaml[13] != "again, that's my value.")
|
145 |
+
die("Sequence 13 failed.");
|
146 |
+
|
147 |
+
if ($yaml[14] != "here's to \"quotes\", boss.")
|
148 |
+
die("Sequence 14 failed.");
|
149 |
+
|
150 |
+
if ($yaml[15] != array( 'name' => "Foo, Bar's", 'age' => 20))
|
151 |
+
die("Sequence 15 failed.");
|
152 |
+
|
153 |
+
if ($yaml[16] != array( 0 => "a", 1 => array (0 => 1, 1 => 2), 2 => "b"))
|
154 |
+
die("Sequence 16 failed.");
|
155 |
+
|
156 |
+
if ($yaml['endloop'] != "Does this line in the end indeed make Spyc go to an infinite loop?")
|
157 |
+
die("[endloop] failed.");
|
158 |
+
|
159 |
+
|
160 |
+
print "spyc.yaml parsed correctly\n";
|
161 |
+
|
162 |
+
?>
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/spyc.yaml
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#
|
2 |
+
# S P Y C
|
3 |
+
# a simple php yaml class
|
4 |
+
#
|
5 |
+
# authors: [vlad andersen (vlad.andersen@gmail.com), chris wanstrath (chris@ozmm.org)]
|
6 |
+
# websites: [http://www.yaml.org, http://spyc.sourceforge.net/]
|
7 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
8 |
+
# copyright: (c) 2005-2006 Chris Wanstrath, 2006-2014 Vlad Andersen
|
9 |
+
#
|
10 |
+
# spyc.yaml - A file containing the YAML that Spyc understands.
|
11 |
+
|
12 |
+
---
|
13 |
+
|
14 |
+
# Mappings - with proper types
|
15 |
+
String: Anyone's name, really.
|
16 |
+
Int: 13
|
17 |
+
BadHex: f0xf3
|
18 |
+
Hex: 0xf3
|
19 |
+
True: true
|
20 |
+
False: false
|
21 |
+
Zero: 0
|
22 |
+
Null: NULL
|
23 |
+
NotNull: 'null'
|
24 |
+
NotTrue: 'y'
|
25 |
+
NotBoolTrue: 'true'
|
26 |
+
NotInt: '5'
|
27 |
+
Float: 5.34
|
28 |
+
Negative: -90
|
29 |
+
SmallFloat: 0.7
|
30 |
+
NewLine: \n
|
31 |
+
QuotedNewLine: "\n"
|
32 |
+
|
33 |
+
# A sequence
|
34 |
+
- PHP Class
|
35 |
+
- Basic YAML Loader
|
36 |
+
- Very Basic YAML Dumper
|
37 |
+
|
38 |
+
# A sequence of a sequence
|
39 |
+
-
|
40 |
+
- YAML is so easy to learn.
|
41 |
+
- Your config files will never be the same.
|
42 |
+
|
43 |
+
# Sequence of mappings
|
44 |
+
-
|
45 |
+
cpu: 1.5ghz
|
46 |
+
ram: 1 gig
|
47 |
+
os : os x 10.4.1
|
48 |
+
|
49 |
+
# Mapped sequence
|
50 |
+
domains:
|
51 |
+
- yaml.org
|
52 |
+
- php.net
|
53 |
+
|
54 |
+
# A sequence like this.
|
55 |
+
- program: Adium
|
56 |
+
platform: OS X
|
57 |
+
type: Chat Client
|
58 |
+
|
59 |
+
# A folded block as a mapped value
|
60 |
+
no time: >
|
61 |
+
There isn't any time
|
62 |
+
for your tricks!
|
63 |
+
|
64 |
+
Do you understand?
|
65 |
+
|
66 |
+
# A literal block as a mapped value
|
67 |
+
some time: |
|
68 |
+
There is nothing but time
|
69 |
+
for your tricks.
|
70 |
+
|
71 |
+
# Crazy combinations
|
72 |
+
databases:
|
73 |
+
- name: spartan
|
74 |
+
notes:
|
75 |
+
- Needs to be backed up
|
76 |
+
- Needs to be normalized
|
77 |
+
type: mysql
|
78 |
+
|
79 |
+
# You can be a bit tricky
|
80 |
+
"if: you'd": like
|
81 |
+
|
82 |
+
# Inline sequences
|
83 |
+
- [One, Two, Three, Four]
|
84 |
+
|
85 |
+
# Nested Inline Sequences
|
86 |
+
- [One, [Two, And, Three], Four, Five]
|
87 |
+
|
88 |
+
# Nested Nested Inline Sequences
|
89 |
+
- [This, [Is, Getting, [Ridiculous, Guys]], Seriously, [Show, Mercy]]
|
90 |
+
|
91 |
+
# Inline mappings
|
92 |
+
- {name: chris, age: young, brand: lucky strike}
|
93 |
+
|
94 |
+
# Nested inline mappings
|
95 |
+
- {name: mark, age: older than chris, brand: [marlboro, lucky strike]}
|
96 |
+
|
97 |
+
# References -- they're shaky, but functional
|
98 |
+
dynamic languages: &DLANGS
|
99 |
+
- Perl
|
100 |
+
- Python
|
101 |
+
- PHP
|
102 |
+
- Ruby
|
103 |
+
compiled languages: &CLANGS
|
104 |
+
- C/C++
|
105 |
+
- Java
|
106 |
+
all languages:
|
107 |
+
- *DLANGS
|
108 |
+
- *CLANGS
|
109 |
+
|
110 |
+
# Added in .2.2: Escaped quotes
|
111 |
+
- you know, this shouldn't work. but it does.
|
112 |
+
- 'that''s my value.'
|
113 |
+
- 'again, that\'s my value.'
|
114 |
+
- "here's to \"quotes\", boss."
|
115 |
+
|
116 |
+
# added in .2.3
|
117 |
+
- {name: "Foo, Bar's", age: 20}
|
118 |
+
|
119 |
+
# Added in .2.4: bug [ 1418193 ] Quote Values in Nested Arrays
|
120 |
+
- [a, ['1', "2"], b]
|
121 |
+
|
122 |
+
# Add in .5.2: Quoted new line values.
|
123 |
+
- "First line\nSecond line\nThird line"
|
124 |
+
|
125 |
+
# Added in .2.4: malformed YAML
|
126 |
+
all
|
127 |
+
javascripts: [dom1.js, dom.js]
|
128 |
+
|
129 |
+
# Added in .2
|
130 |
+
1040: Ooo, a numeric key! # And working comments? Wow! Colons in comments: a menace (0.3).
|
131 |
+
|
132 |
+
hash_1: Hash #and a comment
|
133 |
+
hash_2: "Hash #and a comment"
|
134 |
+
"hash#3": "Hash (#) can appear in key too"
|
135 |
+
|
136 |
+
float_test: 1.0
|
137 |
+
float_test_with_quotes: '1.0'
|
138 |
+
float_inverse_test: 001
|
139 |
+
|
140 |
+
a_really_large_number: 115792089237316195423570985008687907853269984665640564039457584007913129639936 # 2^256
|
141 |
+
|
142 |
+
int array: [ 1, 2, 3 ]
|
143 |
+
|
144 |
+
array on several lines:
|
145 |
+
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
146 |
+
10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
|
147 |
+
|
148 |
+
morelesskey: "<value>"
|
149 |
+
|
150 |
+
array_of_zero: [0]
|
151 |
+
sophisticated_array_of_zero: {rx: {tx: [0]} }
|
152 |
+
|
153 |
+
switches:
|
154 |
+
- { row: 0, col: 0, func: {tx: [0, 1]} }
|
155 |
+
|
156 |
+
empty_sequence: [ ]
|
157 |
+
empty_hash: { }
|
158 |
+
|
159 |
+
special_characters: "[{]]{{]]"
|
160 |
+
|
161 |
+
asterisks: "*"
|
162 |
+
|
163 |
+
empty_key:
|
164 |
+
:
|
165 |
+
key: value
|
166 |
+
|
167 |
+
trailing_colon: "foo:"
|
168 |
+
|
169 |
+
multiline_items:
|
170 |
+
- type: SomeItem
|
171 |
+
values: [blah, blah, blah,
|
172 |
+
blah]
|
173 |
+
ints: [2, 54, 12,
|
174 |
+
2143]
|
175 |
+
|
176 |
+
many_lines: |
|
177 |
+
A quick
|
178 |
+
fox
|
179 |
+
|
180 |
+
|
181 |
+
jumped
|
182 |
+
over
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
a lazy
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
dog
|
193 |
+
|
194 |
+
|
195 |
+
werte:
|
196 |
+
1: nummer 1
|
197 |
+
0: Stunde 0
|
198 |
+
|
199 |
+
noindent_records:
|
200 |
+
- record1: value1
|
201 |
+
- record2: value2
|
202 |
+
|
203 |
+
"a:1": [1000]
|
204 |
+
"a:2":
|
205 |
+
- 2000
|
206 |
+
a:3: [3000]
|
207 |
+
|
208 |
+
complex_unquoted_key:
|
209 |
+
a:b:''test': value
|
210 |
+
|
211 |
+
array with commas:
|
212 |
+
["0","1"]
|
213 |
+
|
214 |
+
invoice: ["Something", "", '', "Something else"]
|
215 |
+
quotes: ['Something', "Nothing", 'Anything', "Thing"]
|
216 |
+
|
217 |
+
# [Endloop]
|
218 |
+
endloop: |
|
219 |
+
Does this line in the end indeed make Spyc go to an infinite loop?
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/DumpTest.php
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class DumpTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
private $files_to_test = array();
|
8 |
+
|
9 |
+
public function setUp() {
|
10 |
+
$this->files_to_test = array ('../spyc.yaml', 'failing1.yaml', 'indent_1.yaml', 'quotes.yaml');
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testShortSyntax() {
|
14 |
+
$dump = spyc_dump(array ('item1', 'item2', 'item3'));
|
15 |
+
$awaiting = "- item1\n- item2\n- item3\n";
|
16 |
+
$this->assertEquals ($awaiting, $dump);
|
17 |
+
}
|
18 |
+
|
19 |
+
public function testDump() {
|
20 |
+
foreach ($this->files_to_test as $file) {
|
21 |
+
$yaml = spyc_load(file_get_contents($file));
|
22 |
+
$dump = Spyc::YAMLDump ($yaml);
|
23 |
+
$yaml_after_dump = Spyc::YAMLLoad ($dump);
|
24 |
+
$this->assertEquals ($yaml, $yaml_after_dump);
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
public function testDumpWithQuotes() {
|
29 |
+
$Spyc = new Spyc();
|
30 |
+
$Spyc->setting_dump_force_quotes = true;
|
31 |
+
foreach ($this->files_to_test as $file) {
|
32 |
+
$yaml = $Spyc->load(file_get_contents($file));
|
33 |
+
$dump = $Spyc->dump ($yaml);
|
34 |
+
$yaml_after_dump = Spyc::YAMLLoad ($dump);
|
35 |
+
$this->assertEquals ($yaml, $yaml_after_dump);
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
public function testDumpArrays() {
|
40 |
+
$dump = Spyc::YAMLDump(array ('item1', 'item2', 'item3'));
|
41 |
+
$awaiting = "---\n- item1\n- item2\n- item3\n";
|
42 |
+
$this->assertEquals ($awaiting, $dump);
|
43 |
+
}
|
44 |
+
|
45 |
+
public function testNull() {
|
46 |
+
$dump = Spyc::YAMLDump(array('a' => 1, 'b' => null, 'c' => 3));
|
47 |
+
$awaiting = "---\na: 1\nb: null\nc: 3\n";
|
48 |
+
$this->assertEquals ($awaiting, $dump);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function testNext() {
|
52 |
+
$array = array("aaa", "bbb", "ccc");
|
53 |
+
#set arrays internal pointer to next element
|
54 |
+
next($array);
|
55 |
+
$dump = Spyc::YAMLDump($array);
|
56 |
+
$awaiting = "---\n- aaa\n- bbb\n- ccc\n";
|
57 |
+
$this->assertEquals ($awaiting, $dump);
|
58 |
+
}
|
59 |
+
|
60 |
+
public function testDumpingMixedArrays() {
|
61 |
+
$array = array();
|
62 |
+
$array[] = 'Sequence item';
|
63 |
+
$array['The Key'] = 'Mapped value';
|
64 |
+
$array[] = array('A sequence','of a sequence');
|
65 |
+
$array[] = array('first' => 'A sequence','second' => 'of mapped values');
|
66 |
+
$array['Mapped'] = array('A sequence','which is mapped');
|
67 |
+
$array['A Note'] = 'What if your text is too long?';
|
68 |
+
$array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
|
69 |
+
$array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
|
70 |
+
$array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
|
71 |
+
$array['key:withcolon'] = "Should support this to";
|
72 |
+
|
73 |
+
$yaml = Spyc::YAMLDump($array,4,60);
|
74 |
+
}
|
75 |
+
|
76 |
+
public function testMixed() {
|
77 |
+
$dump = Spyc::YAMLDump(array(0 => 1, 'b' => 2, 1 => 3));
|
78 |
+
$awaiting = "---\n0: 1\nb: 2\n1: 3\n";
|
79 |
+
$this->assertEquals ($awaiting, $dump);
|
80 |
+
}
|
81 |
+
|
82 |
+
public function testDumpNumerics() {
|
83 |
+
$dump = Spyc::YAMLDump(array ('404', '405', '500'));
|
84 |
+
$awaiting = "---\n- \"404\"\n- \"405\"\n- \"500\"\n";
|
85 |
+
$this->assertEquals ($awaiting, $dump);
|
86 |
+
}
|
87 |
+
|
88 |
+
public function testDumpAsterisks() {
|
89 |
+
$dump = Spyc::YAMLDump(array ('*'));
|
90 |
+
$awaiting = "---\n- '*'\n";
|
91 |
+
$this->assertEquals ($awaiting, $dump);
|
92 |
+
}
|
93 |
+
|
94 |
+
public function testDumpAmpersands() {
|
95 |
+
$dump = Spyc::YAMLDump(array ('some' => '&foo'));
|
96 |
+
$awaiting = "---\nsome: '&foo'\n";
|
97 |
+
$this->assertEquals ($awaiting, $dump);
|
98 |
+
}
|
99 |
+
|
100 |
+
public function testDumpExclamations() {
|
101 |
+
$dump = Spyc::YAMLDump(array ('some' => '!foo'));
|
102 |
+
$awaiting = "---\nsome: '!foo'\n";
|
103 |
+
$this->assertEquals ($awaiting, $dump);
|
104 |
+
}
|
105 |
+
|
106 |
+
public function testDumpExclamations2() {
|
107 |
+
$dump = Spyc::YAMLDump(array ('some' => 'foo!'));
|
108 |
+
$awaiting = "---\nsome: foo!\n";
|
109 |
+
$this->assertEquals ($awaiting, $dump);
|
110 |
+
}
|
111 |
+
|
112 |
+
public function testDumpApostrophes() {
|
113 |
+
$dump = Spyc::YAMLDump(array ('some' => "'Biz' pimpt bedrijventerreinen"));
|
114 |
+
$awaiting = "---\nsome: \"'Biz' pimpt bedrijventerreinen\"\n";
|
115 |
+
$this->assertEquals ($awaiting, $dump);
|
116 |
+
}
|
117 |
+
|
118 |
+
public function testDumpNumericHashes() {
|
119 |
+
$dump = Spyc::YAMLDump(array ("titel"=> array("0" => "", 1 => "Dr.", 5 => "Prof.", 6 => "Prof. Dr.")));
|
120 |
+
$awaiting = "---\ntitel:\n 0: \"\"\n 1: Dr.\n 5: Prof.\n 6: Prof. Dr.\n";
|
121 |
+
$this->assertEquals ($awaiting, $dump);
|
122 |
+
}
|
123 |
+
|
124 |
+
public function testEmpty() {
|
125 |
+
$dump = Spyc::YAMLDump(array("foo" => array()));
|
126 |
+
$awaiting = "---\nfoo: [ ]\n";
|
127 |
+
$this->assertEquals ($awaiting, $dump);
|
128 |
+
}
|
129 |
+
|
130 |
+
public function testHashesInKeys() {
|
131 |
+
$dump = Spyc::YAMLDump(array ('#color' => '#ffffff'));
|
132 |
+
$awaiting = "---\n\"#color\": '#ffffff'\n";
|
133 |
+
$this->assertEquals ($awaiting, $dump);
|
134 |
+
}
|
135 |
+
|
136 |
+
public function testParagraph() {
|
137 |
+
$dump = Spyc::YAMLDump(array ('key' => "|\n value"));
|
138 |
+
$awaiting = "---\nkey: |\n value\n";
|
139 |
+
$this->assertEquals ($awaiting, $dump);
|
140 |
+
}
|
141 |
+
|
142 |
+
public function testParagraphTwo() {
|
143 |
+
$dump = Spyc::YAMLDump(array ('key' => 'Congrats, pimpt bedrijventerreinen pimpt bedrijventerreinen pimpt bedrijventerreinen!'));
|
144 |
+
$awaiting = "---\nkey: >\n Congrats, pimpt bedrijventerreinen pimpt\n bedrijventerreinen pimpt\n bedrijventerreinen!\n";
|
145 |
+
$this->assertEquals ($awaiting, $dump);
|
146 |
+
}
|
147 |
+
|
148 |
+
public function testString() {
|
149 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => 'Congrats, pimpt bedrijventerreinen!')));
|
150 |
+
$awaiting = "---\nkey:\n key_one: Congrats, pimpt bedrijventerreinen!\n";
|
151 |
+
$this->assertEquals ($awaiting, $dump);
|
152 |
+
}
|
153 |
+
|
154 |
+
public function testStringLong() {
|
155 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => 'Congrats, pimpt bedrijventerreinen pimpt bedrijventerreinen pimpt bedrijventerreinen!')));
|
156 |
+
$awaiting = "---\nkey:\n key_one: >\n Congrats, pimpt bedrijventerreinen pimpt\n bedrijventerreinen pimpt\n bedrijventerreinen!\n";
|
157 |
+
$this->assertEquals ($awaiting, $dump);
|
158 |
+
}
|
159 |
+
|
160 |
+
public function testStringDoubleQuote() {
|
161 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => array('key_two' => '"Système d\'e-réservation"'))));
|
162 |
+
$awaiting = "---\nkey:\n key_one:\n key_two: |\n Système d'e-réservation\n";
|
163 |
+
$this->assertEquals ($awaiting, $dump);
|
164 |
+
}
|
165 |
+
|
166 |
+
public function testLongStringDoubleQuote() {
|
167 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => array('key_two' => '"Système d\'e-réservation bedrijventerreinen pimpt" bedrijventerreinen!'))));
|
168 |
+
$awaiting = "---\nkey:\n key_one:\n key_two: |\n \"Système d'e-réservation bedrijventerreinen pimpt\" bedrijventerreinen!\n";
|
169 |
+
$this->assertEquals ($awaiting, $dump);
|
170 |
+
}
|
171 |
+
|
172 |
+
public function testStringStartingWithSpace() {
|
173 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => " Congrats, pimpt bedrijventerreinen \n pimpt bedrijventerreinen pimpt bedrijventerreinen!")));
|
174 |
+
$awaiting = "---\nkey:\n key_one: |\n Congrats, pimpt bedrijventerreinen\n pimpt bedrijventerreinen pimpt bedrijventerreinen!\n";
|
175 |
+
$this->assertEquals ($awaiting, $dump);
|
176 |
+
}
|
177 |
+
|
178 |
+
public function testPerCentOne() {
|
179 |
+
$dump = Spyc::YAMLDump(array ('key' => "%name%, pimpts bedrijventerreinen!"));
|
180 |
+
$awaiting = "---\nkey: '%name%, pimpts bedrijventerreinen!'\n";
|
181 |
+
$this->assertEquals ($awaiting, $dump);
|
182 |
+
}
|
183 |
+
|
184 |
+
public function testPerCentAndSimpleQuote() {
|
185 |
+
$dump = Spyc::YAMLDump(array ('key' => "%name%, pimpt's bedrijventerreinen!"));
|
186 |
+
$awaiting = "---\nkey: \"%name%, pimpt's bedrijventerreinen!\"\n";
|
187 |
+
$this->assertEquals ($awaiting, $dump);
|
188 |
+
}
|
189 |
+
|
190 |
+
public function testPerCentAndDoubleQuote() {
|
191 |
+
$dump = Spyc::YAMLDump(array ('key' => '%name%, pimpt\'s "bed"rijventerreinen!'));
|
192 |
+
$awaiting = "---\nkey: |\n %name%, pimpt's \"bed\"rijventerreinen!\n";
|
193 |
+
$this->assertEquals ($awaiting, $dump);
|
194 |
+
}
|
195 |
+
|
196 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/IndentTest.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class IndentTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
protected $Y;
|
8 |
+
|
9 |
+
protected function setUp() {
|
10 |
+
$this->Y = Spyc::YAMLLoad("indent_1.yaml");
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testIndent_1() {
|
14 |
+
$this->assertEquals (array ('child_1' => 2, 'child_2' => 0, 'child_3' => 1), $this->Y['root']);
|
15 |
+
}
|
16 |
+
|
17 |
+
public function testIndent_2() {
|
18 |
+
$this->assertEquals (array ('child_1' => 1, 'child_2' => 2), $this->Y['root2']);
|
19 |
+
}
|
20 |
+
|
21 |
+
public function testIndent_3() {
|
22 |
+
$this->assertEquals (array (array ('resolutions' => array (1024 => 768, 1920 => 1200), 'producer' => 'Nec')), $this->Y['display']);
|
23 |
+
}
|
24 |
+
|
25 |
+
public function testIndent_4() {
|
26 |
+
$this->assertEquals (array (
|
27 |
+
array ('resolutions' => array (1024 => 768)),
|
28 |
+
array ('resolutions' => array (1920 => 1200)),
|
29 |
+
), $this->Y['displays']);
|
30 |
+
}
|
31 |
+
|
32 |
+
public function testIndent_5() {
|
33 |
+
$this->assertEquals (array (array (
|
34 |
+
'row' => 0,
|
35 |
+
'col' => 0,
|
36 |
+
'headsets_affected' => array (
|
37 |
+
array (
|
38 |
+
'ports' => array (0),
|
39 |
+
'side' => 'left',
|
40 |
+
)
|
41 |
+
),
|
42 |
+
'switch_function' => array (
|
43 |
+
'ics_ptt' => true
|
44 |
+
)
|
45 |
+
)), $this->Y['nested_hashes_and_seqs']);
|
46 |
+
}
|
47 |
+
|
48 |
+
public function testIndent_6() {
|
49 |
+
$this->assertEquals (array (
|
50 |
+
'h' => array (
|
51 |
+
array ('a' => 'b', 'a1' => 'b1'),
|
52 |
+
array ('c' => 'd')
|
53 |
+
)
|
54 |
+
), $this->Y['easier_nest']);
|
55 |
+
}
|
56 |
+
|
57 |
+
public function testIndent_space() {
|
58 |
+
$this->assertEquals ("By four\n spaces", $this->Y['one_space']);
|
59 |
+
}
|
60 |
+
|
61 |
+
public function testListAndComment() {
|
62 |
+
$this->assertEquals (array ('one', 'two', 'three'), $this->Y['list_and_comment']);
|
63 |
+
}
|
64 |
+
|
65 |
+
public function testAnchorAndAlias() {
|
66 |
+
$this->assertEquals (array ('database' => 'rails_dev', 'adapter' => 'mysql', 'host' => 'localhost'), $this->Y['development']);
|
67 |
+
$this->assertEquals (array (1 => 'abc'), $this->Y['zzz']);
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/LoadTest.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class LoadTest extends PHPUnit_Framework_TestCase {
|
6 |
+
public function testQuotes() {
|
7 |
+
$test_values = array(
|
8 |
+
"adjacent '''' \"\"\"\" quotes.",
|
9 |
+
"adjacent '''' quotes.",
|
10 |
+
"adjacent \"\"\"\" quotes.",
|
11 |
+
);
|
12 |
+
foreach($test_values as $value) {
|
13 |
+
$yaml = array($value);
|
14 |
+
$dump = Spyc::YAMLDump ($yaml);
|
15 |
+
$yaml_loaded = Spyc::YAMLLoad ($dump);
|
16 |
+
$this->assertEquals ($yaml, $yaml_loaded);
|
17 |
+
}
|
18 |
+
}
|
19 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/ParseTest.php
ADDED
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class ParseTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
protected $yaml;
|
8 |
+
|
9 |
+
protected function setUp() {
|
10 |
+
$this->yaml = spyc_load_file('../spyc.yaml');
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testMergeHashKeys() {
|
14 |
+
$Expected = array (
|
15 |
+
array ('step' => array('instrument' => 'Lasik 2000', 'pulseEnergy' => 5.4, 'pulseDuration' => 12, 'repetition' => 1000, 'spotSize' => '1mm')),
|
16 |
+
array ('step' => array('instrument' => 'Lasik 2000', 'pulseEnergy' => 5.4, 'pulseDuration' => 12, 'repetition' => 1000, 'spotSize' => '2mm')),
|
17 |
+
);
|
18 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
19 |
+
$this->assertEquals ($Expected, $Actual['steps']);
|
20 |
+
}
|
21 |
+
|
22 |
+
public function testDeathMasks() {
|
23 |
+
$Expected = array ('sad' => 2, 'magnificent' => 4);
|
24 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
25 |
+
$this->assertEquals ($Expected, $Actual['death masks are']);
|
26 |
+
}
|
27 |
+
|
28 |
+
public function testDevDb() {
|
29 |
+
$Expected = array ('adapter' => 'mysql', 'host' => 'localhost', 'database' => 'rails_dev');
|
30 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
31 |
+
$this->assertEquals ($Expected, $Actual['development']);
|
32 |
+
}
|
33 |
+
|
34 |
+
public function testNumericKey() {
|
35 |
+
$this->assertEquals ("Ooo, a numeric key!", $this->yaml[1040]);
|
36 |
+
}
|
37 |
+
|
38 |
+
public function testMappingsString() {
|
39 |
+
$this->assertEquals ("Anyone's name, really.", $this->yaml['String']);
|
40 |
+
}
|
41 |
+
|
42 |
+
public function testMappingsInt() {
|
43 |
+
$this->assertSame (13, $this->yaml['Int']);
|
44 |
+
}
|
45 |
+
|
46 |
+
public function testMappingsHex() {
|
47 |
+
$this->assertSame (243, $this->yaml['Hex']);
|
48 |
+
$this->assertSame ('f0xf3', $this->yaml['BadHex']);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function testMappingsBooleanTrue() {
|
52 |
+
$this->assertSame (true, $this->yaml['True']);
|
53 |
+
}
|
54 |
+
|
55 |
+
public function testMappingsBooleanFalse() {
|
56 |
+
$this->assertSame (false, $this->yaml['False']);
|
57 |
+
}
|
58 |
+
|
59 |
+
public function testMappingsZero() {
|
60 |
+
$this->assertSame (0, $this->yaml['Zero']);
|
61 |
+
}
|
62 |
+
|
63 |
+
public function testMappingsNull() {
|
64 |
+
$this->assertSame (null, $this->yaml['Null']);
|
65 |
+
}
|
66 |
+
|
67 |
+
public function testMappingsNotNull() {
|
68 |
+
$this->assertSame ('null', $this->yaml['NotNull']);
|
69 |
+
}
|
70 |
+
|
71 |
+
public function testMappingsFloat() {
|
72 |
+
$this->assertSame (5.34, $this->yaml['Float']);
|
73 |
+
}
|
74 |
+
|
75 |
+
public function testMappingsNegative() {
|
76 |
+
$this->assertSame (-90, $this->yaml['Negative']);
|
77 |
+
}
|
78 |
+
|
79 |
+
public function testMappingsSmallFloat() {
|
80 |
+
$this->assertSame (0.7, $this->yaml['SmallFloat']);
|
81 |
+
}
|
82 |
+
|
83 |
+
public function testNewline() {
|
84 |
+
$this->assertSame ('\n', $this->yaml['NewLine']);
|
85 |
+
}
|
86 |
+
|
87 |
+
public function testQuotedNewline() {
|
88 |
+
$this->assertSame ("\n", $this->yaml['QuotedNewLine']);
|
89 |
+
}
|
90 |
+
|
91 |
+
public function testSeq0() {
|
92 |
+
$this->assertEquals ("PHP Class", $this->yaml[0]);
|
93 |
+
}
|
94 |
+
|
95 |
+
public function testSeq1() {
|
96 |
+
$this->assertEquals ("Basic YAML Loader", $this->yaml[1]);
|
97 |
+
}
|
98 |
+
|
99 |
+
public function testSeq2() {
|
100 |
+
$this->assertEquals ("Very Basic YAML Dumper", $this->yaml[2]);
|
101 |
+
}
|
102 |
+
|
103 |
+
public function testSeq3() {
|
104 |
+
$this->assertEquals (array("YAML is so easy to learn.",
|
105 |
+
"Your config files will never be the same."), $this->yaml[3]);
|
106 |
+
}
|
107 |
+
|
108 |
+
public function testSeqMap() {
|
109 |
+
$this->assertEquals (array("cpu" => "1.5ghz", "ram" => "1 gig",
|
110 |
+
"os" => "os x 10.4.1"), $this->yaml[4]);
|
111 |
+
}
|
112 |
+
|
113 |
+
public function testMappedSequence() {
|
114 |
+
$this->assertEquals (array("yaml.org", "php.net"), $this->yaml['domains']);
|
115 |
+
}
|
116 |
+
|
117 |
+
public function testAnotherSequence() {
|
118 |
+
$this->assertEquals (array("program" => "Adium", "platform" => "OS X",
|
119 |
+
"type" => "Chat Client"), $this->yaml[5]);
|
120 |
+
}
|
121 |
+
|
122 |
+
public function testFoldedBlock() {
|
123 |
+
$this->assertEquals ("There isn't any time for your tricks!\nDo you understand?", $this->yaml['no time']);
|
124 |
+
}
|
125 |
+
|
126 |
+
public function testLiteralAsMapped() {
|
127 |
+
$this->assertEquals ("There is nothing but time\nfor your tricks.", $this->yaml['some time']);
|
128 |
+
}
|
129 |
+
|
130 |
+
public function testCrazy() {
|
131 |
+
$this->assertEquals (array( array("name" => "spartan", "notes" =>
|
132 |
+
array( "Needs to be backed up",
|
133 |
+
"Needs to be normalized" ),
|
134 |
+
"type" => "mysql" )), $this->yaml['databases']);
|
135 |
+
}
|
136 |
+
|
137 |
+
public function testColons() {
|
138 |
+
$this->assertEquals ("like", $this->yaml["if: you'd"]);
|
139 |
+
}
|
140 |
+
|
141 |
+
public function testInline() {
|
142 |
+
$this->assertEquals (array("One", "Two", "Three", "Four"), $this->yaml[6]);
|
143 |
+
}
|
144 |
+
|
145 |
+
public function testNestedInline() {
|
146 |
+
$this->assertEquals (array("One", array("Two", "And", "Three"), "Four", "Five"), $this->yaml[7]);
|
147 |
+
}
|
148 |
+
|
149 |
+
public function testNestedNestedInline() {
|
150 |
+
$this->assertEquals (array( "This", array("Is", "Getting", array("Ridiculous", "Guys")),
|
151 |
+
"Seriously", array("Show", "Mercy")), $this->yaml[8]);
|
152 |
+
}
|
153 |
+
|
154 |
+
public function testInlineMappings() {
|
155 |
+
$this->assertEquals (array("name" => "chris", "age" => "young", "brand" => "lucky strike"), $this->yaml[9]);
|
156 |
+
}
|
157 |
+
|
158 |
+
public function testNestedInlineMappings() {
|
159 |
+
$this->assertEquals (array("name" => "mark", "age" => "older than chris",
|
160 |
+
"brand" => array("marlboro", "lucky strike")), $this->yaml[10]);
|
161 |
+
}
|
162 |
+
|
163 |
+
public function testReferences() {
|
164 |
+
$this->assertEquals (array('Perl', 'Python', 'PHP', 'Ruby'), $this->yaml['dynamic languages']);
|
165 |
+
}
|
166 |
+
|
167 |
+
public function testReferences2() {
|
168 |
+
$this->assertEquals (array('C/C++', 'Java'), $this->yaml['compiled languages']);
|
169 |
+
}
|
170 |
+
|
171 |
+
public function testReferences3() {
|
172 |
+
$this->assertEquals (array(
|
173 |
+
array('Perl', 'Python', 'PHP', 'Ruby'),
|
174 |
+
array('C/C++', 'Java')
|
175 |
+
), $this->yaml['all languages']);
|
176 |
+
}
|
177 |
+
|
178 |
+
public function testEscapedQuotes() {
|
179 |
+
$this->assertEquals ("you know, this shouldn't work. but it does.", $this->yaml[11]);
|
180 |
+
}
|
181 |
+
|
182 |
+
public function testEscapedQuotes_2() {
|
183 |
+
$this->assertEquals ( "that's my value.", $this->yaml[12]);
|
184 |
+
}
|
185 |
+
|
186 |
+
public function testEscapedQuotes_3() {
|
187 |
+
$this->assertEquals ("again, that's my value.", $this->yaml[13]);
|
188 |
+
}
|
189 |
+
|
190 |
+
public function testQuotes() {
|
191 |
+
$this->assertEquals ("here's to \"quotes\", boss.", $this->yaml[14]);
|
192 |
+
}
|
193 |
+
|
194 |
+
public function testQuoteSequence() {
|
195 |
+
$this->assertEquals ( array( 'name' => "Foo, Bar's", 'age' => 20), $this->yaml[15]);
|
196 |
+
}
|
197 |
+
|
198 |
+
public function testShortSequence() {
|
199 |
+
$this->assertEquals (array( 0 => "a", 1 => array (0 => 1, 1 => 2), 2 => "b"), $this->yaml[16]);
|
200 |
+
}
|
201 |
+
|
202 |
+
public function testQuotedNewlines() {
|
203 |
+
$this->assertEquals ("First line\nSecond line\nThird line", $this->yaml[17]);
|
204 |
+
}
|
205 |
+
|
206 |
+
public function testHash_1() {
|
207 |
+
$this->assertEquals ("Hash", $this->yaml['hash_1']);
|
208 |
+
}
|
209 |
+
|
210 |
+
public function testHash_2() {
|
211 |
+
$this->assertEquals ('Hash #and a comment', $this->yaml['hash_2']);
|
212 |
+
}
|
213 |
+
|
214 |
+
public function testHash_3() {
|
215 |
+
$this->assertEquals ('Hash (#) can appear in key too', $this->yaml['hash#3']);
|
216 |
+
}
|
217 |
+
|
218 |
+
public function testEndloop() {
|
219 |
+
$this->assertEquals ("Does this line in the end indeed make Spyc go to an infinite loop?", $this->yaml['endloop']);
|
220 |
+
}
|
221 |
+
|
222 |
+
public function testReallyLargeNumber() {
|
223 |
+
$this->assertEquals ('115792089237316195423570985008687907853269984665640564039457584007913129639936', $this->yaml['a_really_large_number']);
|
224 |
+
}
|
225 |
+
|
226 |
+
public function testFloatWithZeros() {
|
227 |
+
$this->assertSame ('1.0', $this->yaml['float_test']);
|
228 |
+
}
|
229 |
+
|
230 |
+
public function testFloatWithQuotes() {
|
231 |
+
$this->assertSame ('1.0', $this->yaml['float_test_with_quotes']);
|
232 |
+
}
|
233 |
+
|
234 |
+
public function testFloatInverse() {
|
235 |
+
$this->assertEquals ('001', $this->yaml['float_inverse_test']);
|
236 |
+
}
|
237 |
+
|
238 |
+
public function testIntArray() {
|
239 |
+
$this->assertEquals (array (1, 2, 3), $this->yaml['int array']);
|
240 |
+
}
|
241 |
+
|
242 |
+
public function testArrayOnSeveralLines() {
|
243 |
+
$this->assertEquals (array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19), $this->yaml['array on several lines']);
|
244 |
+
}
|
245 |
+
|
246 |
+
public function testArrayWithCommas() {
|
247 |
+
$this->assertEquals(array (0, 1), $this->yaml['array with commas']);
|
248 |
+
}
|
249 |
+
|
250 |
+
public function testmoreLessKey() {
|
251 |
+
$this->assertEquals ('<value>', $this->yaml['morelesskey']);
|
252 |
+
}
|
253 |
+
|
254 |
+
public function testArrayOfZero() {
|
255 |
+
$this->assertSame (array(0), $this->yaml['array_of_zero']);
|
256 |
+
}
|
257 |
+
|
258 |
+
public function testSophisticatedArrayOfZero() {
|
259 |
+
$this->assertSame (array('rx' => array ('tx' => array (0))), $this->yaml['sophisticated_array_of_zero']);
|
260 |
+
}
|
261 |
+
|
262 |
+
public function testSwitches() {
|
263 |
+
$this->assertEquals (array (array ('row' => 0, 'col' => 0, 'func' => array ('tx' => array(0, 1)))), $this->yaml['switches']);
|
264 |
+
}
|
265 |
+
|
266 |
+
public function testEmptySequence() {
|
267 |
+
$this->assertSame (array(), $this->yaml['empty_sequence']);
|
268 |
+
}
|
269 |
+
|
270 |
+
public function testEmptyHash() {
|
271 |
+
$this->assertSame (array(), $this->yaml['empty_hash']);
|
272 |
+
}
|
273 |
+
|
274 |
+
public function testEmptykey() {
|
275 |
+
$this->assertSame (array('' => array ('key' => 'value')), $this->yaml['empty_key']);
|
276 |
+
}
|
277 |
+
|
278 |
+
public function testMultilines() {
|
279 |
+
$this->assertSame (array(array('type' => 'SomeItem', 'values' => array ('blah', 'blah', 'blah', 'blah'), 'ints' => array(2, 54, 12, 2143))), $this->yaml['multiline_items']);
|
280 |
+
}
|
281 |
+
|
282 |
+
public function testManyNewlines() {
|
283 |
+
$this->assertSame ('A quick
|
284 |
+
fox
|
285 |
+
|
286 |
+
|
287 |
+
jumped
|
288 |
+
over
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
|
294 |
+
a lazy
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
dog', $this->yaml['many_lines']);
|
299 |
+
}
|
300 |
+
|
301 |
+
public function testWerte() {
|
302 |
+
$this->assertSame (array ('1' => 'nummer 1', '0' => 'Stunde 0'), $this->yaml['werte']);
|
303 |
+
}
|
304 |
+
|
305 |
+
/* public function testNoIndent() {
|
306 |
+
$this->assertSame (array(
|
307 |
+
array ('record1'=>'value1'),
|
308 |
+
array ('record2'=>'value2')
|
309 |
+
)
|
310 |
+
, $this->yaml['noindent_records']);
|
311 |
+
} */
|
312 |
+
|
313 |
+
public function testColonsInKeys() {
|
314 |
+
$this->assertSame (array (1000), $this->yaml['a:1']);
|
315 |
+
}
|
316 |
+
|
317 |
+
public function testColonsInKeys2() {
|
318 |
+
$this->assertSame (array (2000), $this->yaml['a:2']);
|
319 |
+
}
|
320 |
+
|
321 |
+
public function testUnquotedColonsInKeys() {
|
322 |
+
$this->assertSame (array (3000), $this->yaml['a:3']);
|
323 |
+
}
|
324 |
+
|
325 |
+
public function testComplicatedKeyWithColon() {
|
326 |
+
$this->assertSame(array("a:b:''test'" => 'value'), $this->yaml['complex_unquoted_key']);
|
327 |
+
}
|
328 |
+
|
329 |
+
public function testKeysInMappedValueException() {
|
330 |
+
$this->setExpectedException('Exception');
|
331 |
+
Spyc::YAMLLoad('x: y: z:');
|
332 |
+
}
|
333 |
+
|
334 |
+
public function testKeysInValueException() {
|
335 |
+
$this->setExpectedException('Exception');
|
336 |
+
Spyc::YAMLLoad('x: y: z');
|
337 |
+
}
|
338 |
+
|
339 |
+
public function testSpecialCharacters() {
|
340 |
+
$this->assertSame ('[{]]{{]]', $this->yaml['special_characters']);
|
341 |
+
}
|
342 |
+
|
343 |
+
public function testAngleQuotes() {
|
344 |
+
$Quotes = Spyc::YAMLLoad('quotes.yaml');
|
345 |
+
$this->assertEquals (array ('html_tags' => array ('<br>', '<p>'), 'html_content' => array ('<p>hello world</p>', 'hello<br>world'), 'text_content' => array ('hello world')),
|
346 |
+
$Quotes);
|
347 |
+
}
|
348 |
+
|
349 |
+
public function testFailingColons() {
|
350 |
+
$Failing = Spyc::YAMLLoad('failing1.yaml');
|
351 |
+
$this->assertSame (array ('MyObject' => array ('Prop1' => array ('key1:val1'))),
|
352 |
+
$Failing);
|
353 |
+
}
|
354 |
+
|
355 |
+
public function testQuotesWithComments() {
|
356 |
+
$Expected = 'bar';
|
357 |
+
$Actual = spyc_load_file ('comments.yaml');
|
358 |
+
$this->assertEquals ($Expected, $Actual['foo']);
|
359 |
+
}
|
360 |
+
|
361 |
+
public function testArrayWithComments() {
|
362 |
+
$Expected = array ('x', 'y', 'z');
|
363 |
+
$Actual = spyc_load_file ('comments.yaml');
|
364 |
+
$this->assertEquals ($Expected, $Actual['arr']);
|
365 |
+
}
|
366 |
+
|
367 |
+
public function testAfterArrayWithKittens() {
|
368 |
+
$Expected = 'kittens';
|
369 |
+
$Actual = spyc_load_file ('comments.yaml');
|
370 |
+
$this->assertEquals ($Expected, $Actual['bar']);
|
371 |
+
}
|
372 |
+
|
373 |
+
// Plain characters http://www.yaml.org/spec/1.2/spec.html#id2789510
|
374 |
+
public function testKai() {
|
375 |
+
$Expected = array('-example' => 'value');
|
376 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
377 |
+
$this->assertEquals ($Expected, $Actual['kai']);
|
378 |
+
}
|
379 |
+
|
380 |
+
public function testKaiList() {
|
381 |
+
$Expected = array ('-item', '-item', '-item');
|
382 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
383 |
+
$this->assertEquals ($Expected, $Actual['kai_list_of_items']);
|
384 |
+
}
|
385 |
+
|
386 |
+
public function testDifferentQuoteTypes() {
|
387 |
+
$expected = array ('Something', "", "", "Something else");
|
388 |
+
$this->assertSame ($expected, $this->yaml['invoice']);
|
389 |
+
}
|
390 |
+
|
391 |
+
public function testDifferentQuoteTypes2() {
|
392 |
+
$expected = array ('Something', "Nothing", "Anything", "Thing");
|
393 |
+
$this->assertSame ($expected, $this->yaml['quotes']);
|
394 |
+
}
|
395 |
+
|
396 |
+
// Separation spaces http://www.yaml.org/spec/1.2/spec.html#id2778394
|
397 |
+
public function testMultipleArrays() {
|
398 |
+
$expected = array(array(array('x')));
|
399 |
+
$this->assertSame($expected, Spyc::YAMLLoad("- - - x"));
|
400 |
+
}
|
401 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/RoundTripTest.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
function roundTrip($a) { return Spyc::YAMLLoad(Spyc::YAMLDump(array('x' => $a))); }
|
6 |
+
|
7 |
+
|
8 |
+
class RoundTripTest extends PHPUnit_Framework_TestCase {
|
9 |
+
|
10 |
+
protected function setUp() {
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testNull() {
|
14 |
+
$this->assertEquals (array ('x' => null), roundTrip (null));
|
15 |
+
}
|
16 |
+
|
17 |
+
public function testY() {
|
18 |
+
$this->assertEquals (array ('x' => 'y'), roundTrip ('y'));
|
19 |
+
}
|
20 |
+
|
21 |
+
public function testExclam() {
|
22 |
+
$this->assertEquals (array ('x' => '!yeah'), roundTrip ('!yeah'));
|
23 |
+
}
|
24 |
+
|
25 |
+
public function test5() {
|
26 |
+
$this->assertEquals (array ('x' => '5'), roundTrip ('5'));
|
27 |
+
}
|
28 |
+
|
29 |
+
public function testSpaces() {
|
30 |
+
$this->assertEquals (array ('x' => 'x '), roundTrip ('x '));
|
31 |
+
}
|
32 |
+
|
33 |
+
public function testApostrophes() {
|
34 |
+
$this->assertEquals (array ('x' => "'biz'"), roundTrip ("'biz'"));
|
35 |
+
}
|
36 |
+
|
37 |
+
public function testNewLines() {
|
38 |
+
$this->assertEquals (array ('x' => "\n"), roundTrip ("\n"));
|
39 |
+
}
|
40 |
+
|
41 |
+
public function testHashes() {
|
42 |
+
$this->assertEquals (array ('x' => array ("#color" => '#fff')), roundTrip (array ("#color" => '#fff')));
|
43 |
+
}
|
44 |
+
|
45 |
+
public function testPreserveString() {
|
46 |
+
$result1 = roundTrip ('0');
|
47 |
+
$result2 = roundTrip ('true');
|
48 |
+
$this->assertTrue (is_string ($result1['x']));
|
49 |
+
$this->assertTrue (is_string ($result2['x']));
|
50 |
+
}
|
51 |
+
|
52 |
+
public function testPreserveBool() {
|
53 |
+
$result = roundTrip (true);
|
54 |
+
$this->assertTrue (is_bool ($result['x']));
|
55 |
+
}
|
56 |
+
|
57 |
+
public function testPreserveInteger() {
|
58 |
+
$result = roundTrip (0);
|
59 |
+
$this->assertTrue (is_int ($result['x']));
|
60 |
+
}
|
61 |
+
|
62 |
+
public function testWordWrap() {
|
63 |
+
$this->assertEquals (array ('x' => "aaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"), roundTrip ("aaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"));
|
64 |
+
}
|
65 |
+
|
66 |
+
public function testABCD() {
|
67 |
+
$this->assertEquals (array ('a', 'b', 'c', 'd'), Spyc::YAMLLoad(Spyc::YAMLDump(array('a', 'b', 'c', 'd'))));
|
68 |
+
}
|
69 |
+
|
70 |
+
public function testABCD2() {
|
71 |
+
$a = array('a', 'b', 'c', 'd'); // Create a simple list
|
72 |
+
$b = Spyc::YAMLDump($a); // Dump the list as YAML
|
73 |
+
$c = Spyc::YAMLLoad($b); // Load the dumped YAML
|
74 |
+
$d = Spyc::YAMLDump($c); // Re-dump the data
|
75 |
+
$this->assertSame($b, $d);
|
76 |
+
}
|
77 |
+
|
78 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/comments.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
foo: 'bar' #Comment
|
2 |
+
arr: ['x', 'y', 'z'] # Comment here
|
3 |
+
bar: kittens
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/failing1.yaml
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
MyObject:
|
2 |
+
Prop1: {key1:val1}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/indent_1.yaml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
root:
|
2 |
+
child_1: 2
|
3 |
+
|
4 |
+
child_2: 0
|
5 |
+
child_3: 1
|
6 |
+
|
7 |
+
root2:
|
8 |
+
child_1: 1
|
9 |
+
# A comment
|
10 |
+
child_2: 2
|
11 |
+
|
12 |
+
displays:
|
13 |
+
- resolutions:
|
14 |
+
1024: 768
|
15 |
+
- resolutions:
|
16 |
+
1920: 1200
|
17 |
+
|
18 |
+
display:
|
19 |
+
- resolutions:
|
20 |
+
1024: 768
|
21 |
+
1920: 1200
|
22 |
+
producer: "Nec"
|
23 |
+
|
24 |
+
nested_hashes_and_seqs:
|
25 |
+
- { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} }
|
26 |
+
|
27 |
+
easier_nest: { h: [{a: b, a1: b1}, {c: d}] }
|
28 |
+
|
29 |
+
one_space: |
|
30 |
+
By four
|
31 |
+
spaces
|
32 |
+
|
33 |
+
steps:
|
34 |
+
- step: &id001
|
35 |
+
instrument: Lasik 2000
|
36 |
+
pulseEnergy: 5.4
|
37 |
+
pulseDuration: 12
|
38 |
+
repetition: 1000
|
39 |
+
spotSize: 1mm
|
40 |
+
- step:
|
41 |
+
<<: *id001
|
42 |
+
spotSize: 2mm
|
43 |
+
|
44 |
+
death masks are:
|
45 |
+
sad: 2
|
46 |
+
<<: {magnificent: 4}
|
47 |
+
|
48 |
+
login: &login
|
49 |
+
adapter: mysql
|
50 |
+
host: localhost
|
51 |
+
|
52 |
+
development:
|
53 |
+
database: rails_dev
|
54 |
+
<<: *login
|
55 |
+
|
56 |
+
"key": "value:"
|
57 |
+
colon_only: ":"
|
58 |
+
|
59 |
+
list_and_comment: [one, two, three] # comment
|
60 |
+
kai:
|
61 |
+
-example: value
|
62 |
+
kai_list_of_items:
|
63 |
+
- -item
|
64 |
+
- '-item'
|
65 |
+
-item
|
66 |
+
|
67 |
+
&foo bar:
|
68 |
+
1: "abc"
|
69 |
+
|
70 |
+
zzz: *foo
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/quotes.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html_tags:
|
2 |
+
- <br>
|
3 |
+
- <p>
|
4 |
+
html_content:
|
5 |
+
- <p>hello world</p>
|
6 |
+
- hello<br>world
|
7 |
+
text_content:
|
8 |
+
- hello world
|