Doug Stewart avatar Doug Stewart committed 6136219

Further i18n for theme options.

Comments (0)

Files changed (1)

includes/parent-options.php

 						"type" => "subhead"),
 
 				"layout_stylesheet" => array(	"name" => __('Layout Stylesheet', 'lblg' ),
-						"desc" => __( 'Place additional layout stylesheets in <code>', 'lblg' ) . TEMPLATEPATH . "/layouts/</code> " . __('to add them as layout options', 'lblg' ),
+						"desc" => sprintf( __( 'Place additional layout stylesheets in %s to add them as layout options', 'lblg' ), '<code>' . TEMPLATEPATH . '/layouts/</code>' ),
 			    		"std" => "Select a layout:",
 			    		"type" => "select",
 			    		"options" => $layouts),
 					    "type" => "select",
 					    "options" => $alt_stylesheets),
 
-				"use_custom_header" => array(	"name" => "Use Custom Headers",
-						"desc" => 'Check this box if you wish to use WordPress\'s built-in <a href="http://codex.wordpress.org/Custom_Headers">Custom Header Image API</a> to define a custom image for your theme',
+				"use_custom_header" => array(	"name" => __('Use Custom Headers', 'lblg' ),
+						"desc" => sprintf( __( 'Check this box if you wish to use WordPress\'s built-in %sCustom Header Image API%s to define a custom image for your theme', 'lblg' ), '<a href="http://codex.wordpress.org/Custom_Headers">', '</a>' ),
 						"std" => "1",
 						"type" => "checkbox"),
 
-				"use_dynamic_header" => array(	"name" => "Use Dynamic Headers",
+				"use_dynamic_header" => array(	"name" => __( 'Use Dynamic Headers', 'lblg' ),
 						"desc" => 'Check this box if you want the header to dynamically resize to the size of header images',
 						"std" => "1",
 						"type" => "checkbox"),
 
-				"blog_meta_info" => array(	"name" => "Blog Meta Info",
+				"blog_meta_info" => array(	"name" => __( 'Blog Meta Info', 'lblg' ),
 						"type" => "subhead"),
 
-				"display_footer_copyright" => array(	"name" => "Display Copyright",
+				"display_footer_copyright" => array(	"name" => __( 'Display Copyright', 'lblg' ),
 						"desc" => "Check this box to display your copyright information in the footer.", 
 						"std" => "1",
 						"type" => "checkbox"),
 
-				"footer_copyright" => array(	"name" => "Copyright Statement",
+				"footer_copyright" => array(	"name" => __( 'Copyright Statement', 'lblg' ),
 						"desc" => "The following text will be displayed by default: <b><p>" . get_bloginfo('name') . " " . lblg_copyright() . "</p></b>",
 						"std" => "",
 						"type" => "textarea",
 						"options" => array("rows" => "5",
 										   "cols" => "40") ),
 
-				"display_footer_credits" => array(	"name" => "Display Credits",
+				"display_footer_credits" => array(	"name" => __( 'Display Credits', 'lblg' ),
 						"desc" => "Check this box to display your site credits in the footer.", 
 						"std" => "1",
 						"type" => "checkbox"),
 
-				"footer_credit_text" => array(	"name" => "Footer Credits",
+				"footer_credit_text" => array(	"name" => __( 'Footer Credits', 'lblg' ),
 						"desc" => "Footer credit text defaults to: <b><p>Powered by <a href=\"http://wordpress.org\">WordPress</a> " . get_bloginfo('version') . " and <a href=\"http://literalbarrage.org/blog/code/elbee-elgee\">Elbee Elgee</a></p></b> Change it to fit your site. (I'd appreciate the link love, though, if you'd leave it in...)  HTML should work just fine, raw PHP not so much. ",
 						"std" => "",
 						"type" => "textarea",
 	),
 	
 	"mobile" => array(
-				"name" => "Mobile/Responsive",
+				"name" => __( 'Mobile/Responsive', 'lblg' ),
 				"type" => "tab",
 				"contents" => array(
-					"enable_responsive_css" => array(	"name" => "Enable Responsive CSS",
+					"enable_responsive_css" => array(	"name" => __( 'Enable Responsive CSS', 'lblg' ),
 							"desc" => "Enable \"responsive\" CSS.",
 							"std" => "1",
 							"type" => "checkbox"),
-					"enable_mobile_menu" => array(	"name"	=> "Enable Mobile Nav Menu",
+					"enable_mobile_menu" => array(	"name"	=> __( 'Enable Mobile Nav Menu', 'lblg' ),
 							"desc" => "Enable alternate mobile/\"respponsive\" menu function.",
 							"std" => "1",
 							"type" => "checkbox"),
 		"name"		=> "BuddyPress",
 		"type"		=> "tab",
 		"contents"	=> array(
-			"bp_subhead" => array( "name" => "BuddyPress-specific Options",
+			"bp_subhead" => array( "name" => __( 'BuddyPress-specific Options', 'lblg' ),
 								   "type" => "subhead" ),
 			
-			"disable_bp_js" => array( "name" => "Disable BuddyPress JavaScript/AJAX",
+			"disable_bp_js" => array( "name" => __( 'Disable BuddyPress JavaScript/AJAX', 'lblg' ),
 									  "desc" => "Elbee Elgee automatically integrates the BuddyPress default theme javascript and AJAX functionality. You may switch this off, though the experience will degrade somewhat.",
 									  "std" => "0",
 									  "type" => "checkbox" ),
 									
-			"disable_bp_css" => array( "name" => "Disable BuddyPress CSS",
+			"disable_bp_css" => array( "name" => __( 'Disable BuddyPress CSS', 'lblg' ),
 									   "desc" => "Elbee Elgee comes with basic CSS styles that give BuddyPress pages a standard look and feel. You can extend upon these styles in your child theme's CSS or simply disable them and construct your own.",
 									   "std" => "0",
 									   "type" => "checkbox" ),
 			
-			"disable_bp_searchform" => array( "name" => "Disable BuddyPress search form",
+			"disable_bp_searchform" => array( "name" => __( 'Disable BuddyPress search form', 'lblg' ),
 											  "desc" => "Disables the BP search form in the site header.",
 											  "std" => "0",
 											  "type" => "checkbox" ),
 			
-			"disable_bp_menu" => array( "name" => "Disable custom BuddyPress menu",
+			"disable_bp_menu" => array( "name" => __( 'Disable custom BuddyPress menu', 'lblg' ),
 										"desc" => "Disables the BP menu in the site header.",
 										"std" => "0",
 										"type" => "checkbox" ),
 		"name"		=> "bbPress",
 		"type"		=> "tab",
 		"contents"	=> array(
-			"bbp_subhead" => array( "name" => "bbPress-specific Options",
+			"bbp_subhead" => array( "name" => __( 'bbPress-specific Options', 'lblg' ),
 									"type" => "subhead"),
-			"bbp_force_1_column" => array( "name" => "Disable Sidebar Widget Areas",
+			"bbp_force_1_column" => array( "name" => __( 'Disable Sidebar Widget Areas', 'lblg' ),
 												  "desc" => "Disable the sidebar widget areas, essentially orcing all bbPress forum/topic screens to use 1 column layouts. <br /> (Can increase readability/functionality of bbPress forums, depending upon your chosen layout).",
 												  "type" => "checkbox",
 												  "std" => "0" ),
-			"bbp_disable_footer" => array( "name" => "Disable Footer Widget Areas",
+			"bbp_disable_footer" => array( "name" => __( 'Disable Footer Widget Areas', 'lblg' ),
 												  "desc" => "Disable the footer widget areas when viewing bbPress forums/topics.",
 												  "type" => "checkbox",
 												  "std" => "0" ),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.