Version Description
- Fix for translation textdomain
Download this release
Release Info
Developer | downstairsdev |
Plugin | Options Framework |
Version | 1.8.2 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.8.2
- includes/class-options-framework-admin.php +7 -7
- includes/class-options-framework.php +1 -1
- includes/class-options-media-uploader.php +7 -7
- includes/class-options-sanitization.php +19 -19
- languages/options-framework-plugin.pot +0 -141
- languages/options-framework.pot +11 -240
- options-framework.php +2 -2
- readme.txt +7 -3
includes/class-options-framework-admin.php
CHANGED
@@ -61,7 +61,7 @@ class Options_Framework_Admin {
|
|
61 |
$user_id = $current_user->ID;
|
62 |
if ( ! get_user_meta($user_id, 'optionsframework_ignore_notice') ) {
|
63 |
echo '<div class="updated optionsframework_setup_nag"><p>';
|
64 |
-
printf( __('Your current theme does not have support for the Options Framework plugin. <a href="%1$s" target="_blank">Learn More</a> | <a href="%2$s">Hide Notice</a>', '
|
65 |
echo "</p></div>";
|
66 |
}
|
67 |
}
|
@@ -118,8 +118,8 @@ class Options_Framework_Admin {
|
|
118 |
'mode' => 'submenu',
|
119 |
|
120 |
// Submenu default settings
|
121 |
-
'page_title' => __( 'Theme Options', '
|
122 |
-
'menu_title' => __('Theme Options', '
|
123 |
'capability' => 'edit_theme_options',
|
124 |
'menu_slug' => 'options-framework',
|
125 |
'parent_slug' => 'themes.php',
|
@@ -237,8 +237,8 @@ class Options_Framework_Admin {
|
|
237 |
<?php settings_fields( 'optionsframework' ); ?>
|
238 |
<?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?>
|
239 |
<div id="optionsframework-submit">
|
240 |
-
<input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options', '
|
241 |
-
<input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e( 'Restore Defaults', '
|
242 |
<div class="clear"></div>
|
243 |
</div>
|
244 |
</form>
|
@@ -269,7 +269,7 @@ class Options_Framework_Admin {
|
|
269 |
*/
|
270 |
|
271 |
if ( isset( $_POST['reset'] ) ) {
|
272 |
-
add_settings_error( 'options-framework', 'restore_defaults', __( 'Default options restored.', '
|
273 |
return $this->get_default_values();
|
274 |
}
|
275 |
|
@@ -323,7 +323,7 @@ class Options_Framework_Admin {
|
|
323 |
*/
|
324 |
|
325 |
function save_options_notice() {
|
326 |
-
add_settings_error( 'options-framework', 'save_options', __( 'Options saved.', '
|
327 |
}
|
328 |
|
329 |
/**
|
61 |
$user_id = $current_user->ID;
|
62 |
if ( ! get_user_meta($user_id, 'optionsframework_ignore_notice') ) {
|
63 |
echo '<div class="updated optionsframework_setup_nag"><p>';
|
64 |
+
printf( __('Your current theme does not have support for the Options Framework plugin. <a href="%1$s" target="_blank">Learn More</a> | <a href="%2$s">Hide Notice</a>', 'options-framework' ), 'http://wptheming.com/options-framework-plugin', '?optionsframework_nag_ignore=0');
|
65 |
echo "</p></div>";
|
66 |
}
|
67 |
}
|
118 |
'mode' => 'submenu',
|
119 |
|
120 |
// Submenu default settings
|
121 |
+
'page_title' => __( 'Theme Options', 'options-framework'),
|
122 |
+
'menu_title' => __('Theme Options', 'options-framework'),
|
123 |
'capability' => 'edit_theme_options',
|
124 |
'menu_slug' => 'options-framework',
|
125 |
'parent_slug' => 'themes.php',
|
237 |
<?php settings_fields( 'optionsframework' ); ?>
|
238 |
<?php Options_Framework_Interface::optionsframework_fields(); /* Settings */ ?>
|
239 |
<div id="optionsframework-submit">
|
240 |
+
<input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options', 'options-framework' ); ?>" />
|
241 |
+
<input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e( 'Restore Defaults', 'options-framework' ); ?>" onclick="return confirm( '<?php print esc_js( __( 'Click OK to reset. Any theme settings will be lost!', 'options-framework' ) ); ?>' );" />
|
242 |
<div class="clear"></div>
|
243 |
</div>
|
244 |
</form>
|
269 |
*/
|
270 |
|
271 |
if ( isset( $_POST['reset'] ) ) {
|
272 |
+
add_settings_error( 'options-framework', 'restore_defaults', __( 'Default options restored.', 'options-framework' ), 'updated fade' );
|
273 |
return $this->get_default_values();
|
274 |
}
|
275 |
|
323 |
*/
|
324 |
|
325 |
function save_options_notice() {
|
326 |
+
add_settings_error( 'options-framework', 'save_options', __( 'Options saved.', 'options-framework' ), 'updated fade' );
|
327 |
}
|
328 |
|
329 |
/**
|
includes/class-options-framework.php
CHANGED
@@ -15,7 +15,7 @@ class Options_Framework {
|
|
15 |
* @since 1.7.0
|
16 |
* @type string
|
17 |
*/
|
18 |
-
const VERSION = '1.8.
|
19 |
|
20 |
/**
|
21 |
* Initialize the plugin.
|
15 |
* @since 1.7.0
|
16 |
* @type string
|
17 |
*/
|
18 |
+
const VERSION = '1.8.2';
|
19 |
|
20 |
/**
|
21 |
* Initialize the plugin.
|
includes/class-options-media-uploader.php
CHANGED
@@ -60,15 +60,15 @@ class Options_Framework_Media_Uploader {
|
|
60 |
if ( $value ) {
|
61 |
$class = ' has-file';
|
62 |
}
|
63 |
-
$output .= '<input id="' . $id . '" class="upload' . $class . '" type="text" name="'.$name.'" value="' . $value . '" placeholder="' . __('No file chosen', '
|
64 |
if ( function_exists( 'wp_enqueue_media' ) ) {
|
65 |
if ( ( $value == '' ) ) {
|
66 |
-
$output .= '<input id="upload-' . $id . '" class="upload-button button" type="button" value="' . __( 'Upload', '
|
67 |
} else {
|
68 |
-
$output .= '<input id="remove-' . $id . '" class="remove-file button" type="button" value="' . __( 'Remove', '
|
69 |
}
|
70 |
} else {
|
71 |
-
$output .= '<p><i>' . __( 'Upgrade your version of WordPress for full media support.', '
|
72 |
}
|
73 |
|
74 |
if ( $_desc != '' ) {
|
@@ -92,7 +92,7 @@ class Options_Framework_Media_Uploader {
|
|
92 |
$output .= '';
|
93 |
|
94 |
// Standard generic output if it's not an image.
|
95 |
-
$title = __( 'View File', '
|
96 |
$output .= '<div class="no-image"><span class="file_link"><a href="' . $value . '" target="_blank" rel="external">'.$title.'</a></span></div>';
|
97 |
}
|
98 |
}
|
@@ -116,8 +116,8 @@ class Options_Framework_Media_Uploader {
|
|
116 |
wp_register_script( 'of-media-uploader', plugin_dir_url( dirname(__FILE__) ) .'js/media-uploader.js', array( 'jquery' ), Options_Framework::VERSION );
|
117 |
wp_enqueue_script( 'of-media-uploader' );
|
118 |
wp_localize_script( 'of-media-uploader', 'optionsframework_l10n', array(
|
119 |
-
'upload' => __( 'Upload', '
|
120 |
-
'remove' => __( 'Remove', '
|
121 |
) );
|
122 |
}
|
123 |
}
|
60 |
if ( $value ) {
|
61 |
$class = ' has-file';
|
62 |
}
|
63 |
+
$output .= '<input id="' . $id . '" class="upload' . $class . '" type="text" name="'.$name.'" value="' . $value . '" placeholder="' . __('No file chosen', 'options-framework') .'" />' . "\n";
|
64 |
if ( function_exists( 'wp_enqueue_media' ) ) {
|
65 |
if ( ( $value == '' ) ) {
|
66 |
+
$output .= '<input id="upload-' . $id . '" class="upload-button button" type="button" value="' . __( 'Upload', 'options-framework' ) . '" />' . "\n";
|
67 |
} else {
|
68 |
+
$output .= '<input id="remove-' . $id . '" class="remove-file button" type="button" value="' . __( 'Remove', 'options-framework' ) . '" />' . "\n";
|
69 |
}
|
70 |
} else {
|
71 |
+
$output .= '<p><i>' . __( 'Upgrade your version of WordPress for full media support.', 'options-framework' ) . '</i></p>';
|
72 |
}
|
73 |
|
74 |
if ( $_desc != '' ) {
|
92 |
$output .= '';
|
93 |
|
94 |
// Standard generic output if it's not an image.
|
95 |
+
$title = __( 'View File', 'options-framework' );
|
96 |
$output .= '<div class="no-image"><span class="file_link"><a href="' . $value . '" target="_blank" rel="external">'.$title.'</a></span></div>';
|
97 |
}
|
98 |
}
|
116 |
wp_register_script( 'of-media-uploader', plugin_dir_url( dirname(__FILE__) ) .'js/media-uploader.js', array( 'jquery' ), Options_Framework::VERSION );
|
117 |
wp_enqueue_script( 'of-media-uploader' );
|
118 |
wp_localize_script( 'of-media-uploader', 'optionsframework_l10n', array(
|
119 |
+
'upload' => __( 'Upload', 'options-framework' ),
|
120 |
+
'remove' => __( 'Remove', 'options-framework' )
|
121 |
) );
|
122 |
}
|
123 |
}
|
includes/class-options-sanitization.php
CHANGED
@@ -238,10 +238,10 @@ add_filter( 'of_font_face', 'of_sanitize_font_face' );
|
|
238 |
*/
|
239 |
function of_recognized_background_repeat() {
|
240 |
$default = array(
|
241 |
-
'no-repeat' => __( 'No Repeat', '
|
242 |
-
'repeat-x' => __( 'Repeat Horizontally', '
|
243 |
-
'repeat-y' => __( 'Repeat Vertically', '
|
244 |
-
'repeat' => __( 'Repeat All', '
|
245 |
);
|
246 |
return apply_filters( 'of_recognized_background_repeat', $default );
|
247 |
}
|
@@ -254,15 +254,15 @@ function of_recognized_background_repeat() {
|
|
254 |
*/
|
255 |
function of_recognized_background_position() {
|
256 |
$default = array(
|
257 |
-
'top left' => __( 'Top Left', '
|
258 |
-
'top center' => __( 'Top Center', '
|
259 |
-
'top right' => __( 'Top Right', '
|
260 |
-
'center left' => __( 'Middle Left', '
|
261 |
-
'center center' => __( 'Middle Center', '
|
262 |
-
'center right' => __( 'Middle Right', '
|
263 |
-
'bottom left' => __( 'Bottom Left', '
|
264 |
-
'bottom center' => __( 'Bottom Center', '
|
265 |
-
'bottom right' => __( 'Bottom Right', '
|
266 |
);
|
267 |
return apply_filters( 'of_recognized_background_position', $default );
|
268 |
}
|
@@ -275,8 +275,8 @@ function of_recognized_background_position() {
|
|
275 |
*/
|
276 |
function of_recognized_background_attachment() {
|
277 |
$default = array(
|
278 |
-
'scroll' => __( 'Scroll Normally', '
|
279 |
-
'fixed' => __( 'Fixed in Place', '
|
280 |
);
|
281 |
return apply_filters( 'of_recognized_background_attachment', $default );
|
282 |
}
|
@@ -350,10 +350,10 @@ function of_recognized_font_faces() {
|
|
350 |
*/
|
351 |
function of_recognized_font_styles() {
|
352 |
$default = array(
|
353 |
-
'normal' => __( 'Normal', '
|
354 |
-
'italic' => __( 'Italic', '
|
355 |
-
'bold' => __( 'Bold', '
|
356 |
-
'bold italic' => __( 'Bold Italic', '
|
357 |
);
|
358 |
return apply_filters( 'of_recognized_font_styles', $default );
|
359 |
}
|
238 |
*/
|
239 |
function of_recognized_background_repeat() {
|
240 |
$default = array(
|
241 |
+
'no-repeat' => __( 'No Repeat', 'options-framework' ),
|
242 |
+
'repeat-x' => __( 'Repeat Horizontally', 'options-framework' ),
|
243 |
+
'repeat-y' => __( 'Repeat Vertically', 'options-framework' ),
|
244 |
+
'repeat' => __( 'Repeat All', 'options-framework' ),
|
245 |
);
|
246 |
return apply_filters( 'of_recognized_background_repeat', $default );
|
247 |
}
|
254 |
*/
|
255 |
function of_recognized_background_position() {
|
256 |
$default = array(
|
257 |
+
'top left' => __( 'Top Left', 'options-framework' ),
|
258 |
+
'top center' => __( 'Top Center', 'options-framework' ),
|
259 |
+
'top right' => __( 'Top Right', 'options-framework' ),
|
260 |
+
'center left' => __( 'Middle Left', 'options-framework' ),
|
261 |
+
'center center' => __( 'Middle Center', 'options-framework' ),
|
262 |
+
'center right' => __( 'Middle Right', 'options-framework' ),
|
263 |
+
'bottom left' => __( 'Bottom Left', 'options-framework' ),
|
264 |
+
'bottom center' => __( 'Bottom Center', 'options-framework' ),
|
265 |
+
'bottom right' => __( 'Bottom Right', 'options-framework')
|
266 |
);
|
267 |
return apply_filters( 'of_recognized_background_position', $default );
|
268 |
}
|
275 |
*/
|
276 |
function of_recognized_background_attachment() {
|
277 |
$default = array(
|
278 |
+
'scroll' => __( 'Scroll Normally', 'options-framework' ),
|
279 |
+
'fixed' => __( 'Fixed in Place', 'options-framework')
|
280 |
);
|
281 |
return apply_filters( 'of_recognized_background_attachment', $default );
|
282 |
}
|
350 |
*/
|
351 |
function of_recognized_font_styles() {
|
352 |
$default = array(
|
353 |
+
'normal' => __( 'Normal', 'options-framework' ),
|
354 |
+
'italic' => __( 'Italic', 'options-framework' ),
|
355 |
+
'bold' => __( 'Bold', 'options-framework' ),
|
356 |
+
'bold italic' => __( 'Bold Italic', 'options-framework' )
|
357 |
);
|
358 |
return apply_filters( 'of_recognized_font_styles', $default );
|
359 |
}
|
languages/options-framework-plugin.pot
DELETED
@@ -1,141 +0,0 @@
|
|
1 |
-
# Copyright (C) 2014
|
2 |
-
# This file is distributed under the same license as the package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: \n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/options-framework-plugin\n"
|
7 |
-
"POT-Creation-Date: 2014-04-22 15:02:20+00:00\n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
-
|
15 |
-
#: includes/class-options-framework-admin.php:64
|
16 |
-
msgid "Your current theme does not have support for the Options Framework plugin. <a href=\"%1$s\" target=\"_blank\">Learn More</a> | <a href=\"%2$s\">Hide Notice</a>"
|
17 |
-
msgstr ""
|
18 |
-
|
19 |
-
#: includes/class-options-framework-admin.php:121
|
20 |
-
#: includes/class-options-framework-admin.php:122
|
21 |
-
#: includes/class-options-framework-admin.php:374
|
22 |
-
msgid "Theme Options"
|
23 |
-
msgstr ""
|
24 |
-
|
25 |
-
#: includes/class-options-framework-admin.php:240
|
26 |
-
msgid "Save Options"
|
27 |
-
msgstr ""
|
28 |
-
|
29 |
-
#: includes/class-options-framework-admin.php:241
|
30 |
-
msgid "Restore Defaults"
|
31 |
-
msgstr ""
|
32 |
-
|
33 |
-
#: includes/class-options-framework-admin.php:241
|
34 |
-
msgid "Click OK to reset. Any theme settings will be lost!"
|
35 |
-
msgstr ""
|
36 |
-
|
37 |
-
#: includes/class-options-framework-admin.php:272
|
38 |
-
msgid "Default options restored."
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: includes/class-options-framework-admin.php:326
|
42 |
-
msgid "Options saved."
|
43 |
-
msgstr ""
|
44 |
-
|
45 |
-
#: includes/class-options-media-uploader.php:63
|
46 |
-
msgid "No file chosen"
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#: includes/class-options-media-uploader.php:66
|
50 |
-
#: includes/class-options-media-uploader.php:119
|
51 |
-
msgid "Upload"
|
52 |
-
msgstr ""
|
53 |
-
|
54 |
-
#: includes/class-options-media-uploader.php:68
|
55 |
-
#: includes/class-options-media-uploader.php:120
|
56 |
-
msgid "Remove"
|
57 |
-
msgstr ""
|
58 |
-
|
59 |
-
#: includes/class-options-media-uploader.php:71
|
60 |
-
msgid "Upgrade your version of WordPress for full media support."
|
61 |
-
msgstr ""
|
62 |
-
|
63 |
-
#: includes/class-options-media-uploader.php:95
|
64 |
-
msgid "View File"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
#: includes/class-options-sanitization.php:241
|
68 |
-
msgid "No Repeat"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: includes/class-options-sanitization.php:242
|
72 |
-
msgid "Repeat Horizontally"
|
73 |
-
msgstr ""
|
74 |
-
|
75 |
-
#: includes/class-options-sanitization.php:243
|
76 |
-
msgid "Repeat Vertically"
|
77 |
-
msgstr ""
|
78 |
-
|
79 |
-
#: includes/class-options-sanitization.php:244
|
80 |
-
msgid "Repeat All"
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: includes/class-options-sanitization.php:257
|
84 |
-
msgid "Top Left"
|
85 |
-
msgstr ""
|
86 |
-
|
87 |
-
#: includes/class-options-sanitization.php:258
|
88 |
-
msgid "Top Center"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: includes/class-options-sanitization.php:259
|
92 |
-
msgid "Top Right"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#: includes/class-options-sanitization.php:260
|
96 |
-
msgid "Middle Left"
|
97 |
-
msgstr ""
|
98 |
-
|
99 |
-
#: includes/class-options-sanitization.php:261
|
100 |
-
msgid "Middle Center"
|
101 |
-
msgstr ""
|
102 |
-
|
103 |
-
#: includes/class-options-sanitization.php:262
|
104 |
-
msgid "Middle Right"
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#: includes/class-options-sanitization.php:263
|
108 |
-
msgid "Bottom Left"
|
109 |
-
msgstr ""
|
110 |
-
|
111 |
-
#: includes/class-options-sanitization.php:264
|
112 |
-
msgid "Bottom Center"
|
113 |
-
msgstr ""
|
114 |
-
|
115 |
-
#: includes/class-options-sanitization.php:265
|
116 |
-
msgid "Bottom Right"
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#: includes/class-options-sanitization.php:278
|
120 |
-
msgid "Scroll Normally"
|
121 |
-
msgstr ""
|
122 |
-
|
123 |
-
#: includes/class-options-sanitization.php:279
|
124 |
-
msgid "Fixed in Place"
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: includes/class-options-sanitization.php:353
|
128 |
-
msgid "Normal"
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: includes/class-options-sanitization.php:354
|
132 |
-
msgid "Italic"
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#: includes/class-options-sanitization.php:355
|
136 |
-
msgid "Bold"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: includes/class-options-sanitization.php:356
|
140 |
-
msgid "Bold Italic"
|
141 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/options-framework.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
-
"Report-Msgid-Bugs-To:
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
@@ -16,29 +16,28 @@ msgstr ""
|
|
16 |
msgid "Your current theme does not have support for the Options Framework plugin. <a href=\"%1$s\" target=\"_blank\">Learn More</a> | <a href=\"%2$s\">Hide Notice</a>"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: includes/class-options-framework-admin.php:
|
20 |
-
#: includes/class-options-framework-admin.php:
|
21 |
-
#: includes/class-options-framework-admin.php:336
|
22 |
msgid "Theme Options"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/class-options-framework-admin.php:
|
26 |
msgid "Save Options"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: includes/class-options-framework-admin.php:
|
30 |
msgid "Restore Defaults"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: includes/class-options-framework-admin.php:
|
34 |
msgid "Click OK to reset. Any theme settings will be lost!"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/class-options-framework-admin.php:
|
38 |
msgid "Default options restored."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: includes/class-options-framework-admin.php:
|
42 |
msgid "Options saved."
|
43 |
msgstr ""
|
44 |
|
@@ -138,232 +137,4 @@ msgstr ""
|
|
138 |
|
139 |
#: includes/class-options-sanitization.php:356
|
140 |
msgid "Bold Italic"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: options-check/options.php:32
|
144 |
-
msgid "One"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: options-check/options.php:33
|
148 |
-
msgid "Two"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: options-check/options.php:34
|
152 |
-
msgid "Three"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: options-check/options.php:35
|
156 |
-
msgid "Four"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: options-check/options.php:36
|
160 |
-
msgid "Five"
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: options-check/options.php:41
|
164 |
-
msgid "French Toast"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: options-check/options.php:42
|
168 |
-
msgid "Pancake"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: options-check/options.php:43
|
172 |
-
msgid "Omelette"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: options-check/options.php:44
|
176 |
-
msgid "Crepe"
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: options-check/options.php:45
|
180 |
-
msgid "Waffle"
|
181 |
-
msgstr ""
|
182 |
-
|
183 |
-
#: options-check/options.php:105
|
184 |
-
msgid "Basic Settings"
|
185 |
-
msgstr ""
|
186 |
-
|
187 |
-
#: options-check/options.php:109
|
188 |
-
msgid "Input Text Mini"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: options-check/options.php:110
|
192 |
-
msgid "A mini text input field."
|
193 |
-
msgstr ""
|
194 |
-
|
195 |
-
#: options-check/options.php:117
|
196 |
-
msgid "Input Text"
|
197 |
-
msgstr ""
|
198 |
-
|
199 |
-
#: options-check/options.php:118
|
200 |
-
msgid "A text input field."
|
201 |
-
msgstr ""
|
202 |
-
|
203 |
-
#: options-check/options.php:124
|
204 |
-
msgid "Textarea"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: options-check/options.php:125
|
208 |
-
msgid "Textarea description."
|
209 |
-
msgstr ""
|
210 |
-
|
211 |
-
#: options-check/options.php:131
|
212 |
-
msgid "Input Select Small"
|
213 |
-
msgstr ""
|
214 |
-
|
215 |
-
#: options-check/options.php:132
|
216 |
-
msgid "Small Select Box."
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
-
#: options-check/options.php:140
|
220 |
-
msgid "Input Select Wide"
|
221 |
-
msgstr ""
|
222 |
-
|
223 |
-
#: options-check/options.php:141
|
224 |
-
msgid "A wider select box."
|
225 |
-
msgstr ""
|
226 |
-
|
227 |
-
#: options-check/options.php:148
|
228 |
-
msgid "Select a Category"
|
229 |
-
msgstr ""
|
230 |
-
|
231 |
-
#: options-check/options.php:149
|
232 |
-
msgid "Passed an array of categories with cat_ID and cat_name"
|
233 |
-
msgstr ""
|
234 |
-
|
235 |
-
#: options-check/options.php:156
|
236 |
-
msgid "Select a Tag"
|
237 |
-
msgstr ""
|
238 |
-
|
239 |
-
#: options-check/options.php:157
|
240 |
-
msgid "Passed an array of tags with term_id and term_name"
|
241 |
-
msgstr ""
|
242 |
-
|
243 |
-
#: options-check/options.php:164
|
244 |
-
msgid "Select a Page"
|
245 |
-
msgstr ""
|
246 |
-
|
247 |
-
#: options-check/options.php:165
|
248 |
-
msgid "Passed an array of pages with ID and post_title"
|
249 |
-
msgstr ""
|
250 |
-
|
251 |
-
#: options-check/options.php:171
|
252 |
-
msgid "Input Radio (one)"
|
253 |
-
msgstr ""
|
254 |
-
|
255 |
-
#: options-check/options.php:172
|
256 |
-
msgid "Radio select with default options \"one\"."
|
257 |
-
msgstr ""
|
258 |
-
|
259 |
-
#: options-check/options.php:179
|
260 |
-
msgid "Example Info"
|
261 |
-
msgstr ""
|
262 |
-
|
263 |
-
#: options-check/options.php:180
|
264 |
-
msgid "This is just some example information you can put in the panel."
|
265 |
-
msgstr ""
|
266 |
-
|
267 |
-
#: options-check/options.php:184
|
268 |
-
msgid "Input Checkbox"
|
269 |
-
msgstr ""
|
270 |
-
|
271 |
-
#: options-check/options.php:185
|
272 |
-
msgid "Example checkbox, defaults to true."
|
273 |
-
msgstr ""
|
274 |
-
|
275 |
-
#: options-check/options.php:191
|
276 |
-
msgid "Advanced Settings"
|
277 |
-
msgstr ""
|
278 |
-
|
279 |
-
#: options-check/options.php:195
|
280 |
-
msgid "Check to Show a Hidden Text Input"
|
281 |
-
msgstr ""
|
282 |
-
|
283 |
-
#: options-check/options.php:196
|
284 |
-
msgid "Click here and see what happens."
|
285 |
-
msgstr ""
|
286 |
-
|
287 |
-
#: options-check/options.php:201
|
288 |
-
msgid "Hidden Text Input"
|
289 |
-
msgstr ""
|
290 |
-
|
291 |
-
#: options-check/options.php:202
|
292 |
-
msgid "This option is hidden unless activated by a checkbox click."
|
293 |
-
msgstr ""
|
294 |
-
|
295 |
-
#: options-check/options.php:209
|
296 |
-
msgid "Uploader Test"
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: options-check/options.php:210
|
300 |
-
msgid "This creates a full size uploader that previews the image."
|
301 |
-
msgstr ""
|
302 |
-
|
303 |
-
#: options-check/options.php:227
|
304 |
-
msgid "Example Background"
|
305 |
-
msgstr ""
|
306 |
-
|
307 |
-
#: options-check/options.php:228
|
308 |
-
msgid "Change the background CSS."
|
309 |
-
msgstr ""
|
310 |
-
|
311 |
-
#: options-check/options.php:234
|
312 |
-
msgid "Multicheck"
|
313 |
-
msgstr ""
|
314 |
-
|
315 |
-
#: options-check/options.php:235
|
316 |
-
msgid "Multicheck description."
|
317 |
-
msgstr ""
|
318 |
-
|
319 |
-
#: options-check/options.php:242
|
320 |
-
msgid "Colorpicker"
|
321 |
-
msgstr ""
|
322 |
-
|
323 |
-
#: options-check/options.php:243
|
324 |
-
msgid "No color selected by default."
|
325 |
-
msgstr ""
|
326 |
-
|
327 |
-
#: options-check/options.php:248
|
328 |
-
msgid "Typography"
|
329 |
-
msgstr ""
|
330 |
-
|
331 |
-
#: options-check/options.php:249
|
332 |
-
msgid "Example typography."
|
333 |
-
msgstr ""
|
334 |
-
|
335 |
-
#: options-check/options.php:255
|
336 |
-
msgid "Custom Typography"
|
337 |
-
msgstr ""
|
338 |
-
|
339 |
-
#: options-check/options.php:256
|
340 |
-
msgid "Custom typography options."
|
341 |
-
msgstr ""
|
342 |
-
|
343 |
-
#: options-check/options.php:263
|
344 |
-
msgid "Text Editor"
|
345 |
-
msgstr ""
|
346 |
-
|
347 |
-
#: options-check/options.php:281
|
348 |
-
msgid "Default Text Editor"
|
349 |
-
msgstr ""
|
350 |
-
|
351 |
-
#: options-check/options.php:282
|
352 |
-
msgid "You can also pass settings to the editor. Read more about wp_editor in <a href=\"%1$s\" target=\"_blank\">the WordPress codex</a>"
|
353 |
-
msgstr ""
|
354 |
-
|
355 |
-
#: options-check/options.php:294
|
356 |
-
msgid "Additional Text Editor"
|
357 |
-
msgstr ""
|
358 |
-
|
359 |
-
#: options-check/options.php:295
|
360 |
-
msgid "This editor includes media button."
|
361 |
-
msgstr ""
|
362 |
-
|
363 |
-
#: options-theme-customizer/options.php:101
|
364 |
-
msgid "Basic"
|
365 |
-
msgstr ""
|
366 |
-
|
367 |
-
#: options-theme-customizer/options.php:158
|
368 |
-
msgid "Extended"
|
369 |
msgstr ""
|
1 |
+
# Copyright (C) 2014
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
+
"Report-Msgid-Bugs-To: https://github.com/devinsays/options-framework-plugin\n"
|
7 |
+
"POT-Creation-Date: 2014-05-07 20:06:42+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
16 |
msgid "Your current theme does not have support for the Options Framework plugin. <a href=\"%1$s\" target=\"_blank\">Learn More</a> | <a href=\"%2$s\">Hide Notice</a>"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: includes/class-options-framework-admin.php:121
|
20 |
+
#: includes/class-options-framework-admin.php:122
|
|
|
21 |
msgid "Theme Options"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: includes/class-options-framework-admin.php:240
|
25 |
msgid "Save Options"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: includes/class-options-framework-admin.php:241
|
29 |
msgid "Restore Defaults"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: includes/class-options-framework-admin.php:241
|
33 |
msgid "Click OK to reset. Any theme settings will be lost!"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: includes/class-options-framework-admin.php:272
|
37 |
msgid "Default options restored."
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: includes/class-options-framework-admin.php:326
|
41 |
msgid "Options saved."
|
42 |
msgstr ""
|
43 |
|
137 |
|
138 |
#: includes/class-options-sanitization.php:356
|
139 |
msgid "Bold Italic"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
msgstr ""
|
options-framework.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Options Framework
|
13 |
* Plugin URI: http://wptheming.com
|
14 |
* Description: A framework for building theme options.
|
15 |
-
* Version: 1.8.
|
16 |
* Author: Devin Price
|
17 |
* Author URI: http://wptheming.com
|
18 |
* License: GPL-2.0+
|
@@ -33,7 +33,7 @@ function optionsframework_init() {
|
|
33 |
return;
|
34 |
|
35 |
// Load translation files
|
36 |
-
load_plugin_textdomain( '
|
37 |
|
38 |
// Loads the required Options Framework classes.
|
39 |
require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework.php';
|
12 |
* Plugin Name: Options Framework
|
13 |
* Plugin URI: http://wptheming.com
|
14 |
* Description: A framework for building theme options.
|
15 |
+
* Version: 1.8.2
|
16 |
* Author: Devin Price
|
17 |
* Author URI: http://wptheming.com
|
18 |
* License: GPL-2.0+
|
33 |
return;
|
34 |
|
35 |
// Load translation files
|
36 |
+
load_plugin_textdomain( 'options-framework', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
37 |
|
38 |
// Loads the required Options Framework classes.
|
39 |
require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework.php';
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Options Framework ===
|
2 |
|
3 |
-
Contributors:
|
4 |
Tags: options, theme options
|
5 |
Donate link: http://bit.ly/options-donate-2
|
6 |
Requires at least: 3.6
|
7 |
-
Tested up to:
|
8 |
-
Stable tag: 1.8.
|
9 |
License: GPLv2
|
10 |
|
11 |
== Description ==
|
@@ -68,6 +68,10 @@ You can also watch the video screencast I have at [http://wptheming.com/options-
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
|
|
71 |
= 1.8.1 =
|
72 |
|
73 |
* Fix for colorpicker spacing
|
1 |
=== Options Framework ===
|
2 |
|
3 |
+
Contributors: downstairsdev
|
4 |
Tags: options, theme options
|
5 |
Donate link: http://bit.ly/options-donate-2
|
6 |
Requires at least: 3.6
|
7 |
+
Tested up to: 4.0
|
8 |
+
Stable tag: 1.8.2
|
9 |
License: GPLv2
|
10 |
|
11 |
== Description ==
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 1.8.2 =
|
72 |
+
|
73 |
+
* Fix for translation textdomain
|
74 |
+
|
75 |
= 1.8.1 =
|
76 |
|
77 |
* Fix for colorpicker spacing
|