Commits

Doug Stewart  committed 8b453a1

Just about finished with i18n.

  • Participants
  • Parent commits 6136219
  • Branches develop

Comments (0)

Files changed (1)

File includes/parent-options.php

 	"tabs" => array( 'general', 'mobile' ),
 	
 	"general" => array(
-			"name"		=> "General",
+			"name"		=> __( 'General', 'lblg' ),
 			"type"		=> "tab",
 			"contents"	=> array(
 				"style_options" => array(	"name" => __( 'Style Options', 'lblg' ),
 						"type" => "checkbox"),
 
 				"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',
+						"desc" => __( 'Check this box if you want the header to dynamically resize to the size of header images', 'lblg' ),
 						"std" => "1",
 						"type" => "checkbox"),
 
 						"type" => "subhead"),
 
 				"display_footer_copyright" => array(	"name" => __( 'Display Copyright', 'lblg' ),
-						"desc" => "Check this box to display your copyright information in the footer.", 
+						"desc" => __( 'Check this box to display your copyright information in the footer', 'lblg' ), 
 						"std" => "1",
 						"type" => "checkbox"),
 
 				"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>",
+						"desc" => sprintf( __( 'The following text will be displayed by default: <b><p>%s %s</p></b>', 'lblg' ), get_bloginfo('name'), lblg_copyright() ),
 						"std" => "",
 						"type" => "textarea",
 						"options" => array("rows" => "5",
 										   "cols" => "40") ),
 
 				"display_footer_credits" => array(	"name" => __( 'Display Credits', 'lblg' ),
-						"desc" => "Check this box to display your site credits in the footer.", 
+						"desc" => __( 'Check this box to display your site credits in the footer', 'lblg' ), 
 						"std" => "1",
 						"type" => "checkbox"),
 
 				"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. ",
+						"desc" => sprintf( __( 'Footer credit text defaults to: <b><p>Powered by %s %s and %s</p></b> Change it to fit your site. (I would appreciate the link love, though, if you would leave it in...)  HTML should work just fine, raw PHP not so much.', 'lblg' ), '<a href="http://wordpress.org">WordPress</a>', get_bloginfo('version'), '<a href="http://literalbarrage.org/blog/code/elbee-elgee">Elbee Elgee</a>' ),
 						"std" => "",
 						"type" => "textarea",
 						"options" => array("rows" => "5",
 				"type" => "tab",
 				"contents" => array(
 					"enable_responsive_css" => array(	"name" => __( 'Enable Responsive CSS', 'lblg' ),
-							"desc" => "Enable \"responsive\" CSS.",
+							"desc" => __( 'Enable "responsive" CSS.', 'lblg' ),
 							"std" => "1",
 							"type" => "checkbox"),
 					"enable_mobile_menu" => array(	"name"	=> __( 'Enable Mobile Nav Menu', 'lblg' ),
-							"desc" => "Enable alternate mobile/\"respponsive\" menu function.",
+							"desc" => __( 'Enable alternate mobile/"respponsive" menu function.', 'lblg' ),
 							"std" => "1",
 							"type" => "checkbox"),
 				),
 if( function_exists('bp_get_loggedin_user_nav') ) {
 	$parent_options_array['tabs'][] = 'buddypress';
 	$parent_options_array['buddypress'] = array(
-		"name"		=> "BuddyPress",
+		"name"		=> __( 'BuddyPress', 'lblg' ),
 		"type"		=> "tab",
 		"contents"	=> array(
 			"bp_subhead" => array( "name" => __( 'BuddyPress-specific Options', 'lblg' ),
 								   "type" => "subhead" ),
 			
 			"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.",
+									  "desc" => __( 'Elbee Elgee automatically integrates the BuddyPress default theme javascript and AJAX functionality. You may switch this off, though the experience will degrade somewhat.', 'lblg' ),
 									  "std" => "0",
 									  "type" => "checkbox" ),
 									
 			"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.",
+									   "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.", 'lblg' ),
 									   "std" => "0",
 									   "type" => "checkbox" ),
 			
 			"disable_bp_searchform" => array( "name" => __( 'Disable BuddyPress search form', 'lblg' ),
-											  "desc" => "Disables the BP search form in the site header.",
+											  "desc" => __( 'Disables the BP search form in the site header.', 'lblg' ),
 											  "std" => "0",
 											  "type" => "checkbox" ),
 			
 			"disable_bp_menu" => array( "name" => __( 'Disable custom BuddyPress menu', 'lblg' ),
-										"desc" => "Disables the BP menu in the site header.",
+										"desc" => __( 'Disables the BP menu in the site header.', 'lblg' ),
 										"std" => "0",
 										"type" => "checkbox" ),
 		),
 if( function_exists( 'bbp_version' ) ){
 	$parent_options_array['tabs'][] = 'bbpress';
 	$parent_options_array['bbpress'] = array(
-		"name"		=> "bbPress",
+		"name"		=> __( 'bbPress', 'lblg' ),
 		"type"		=> "tab",
 		"contents"	=> array(
 			"bbp_subhead" => array( "name" => __( 'bbPress-specific Options', 'lblg' ),
 									"type" => "subhead"),
 			"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).",
+												  "desc" => __( 'Disable the sidebar widget areas, essentially forcing all bbPress forum/topic screens to use 1 column layouts. <br /> (Can increase readability/functionality of bbPress forums, depending upon your chosen layout).', 'lblg' ),
 												  "type" => "checkbox",
 												  "std" => "0" ),
 			"bbp_disable_footer" => array( "name" => __( 'Disable Footer Widget Areas', 'lblg' ),
-												  "desc" => "Disable the footer widget areas when viewing bbPress forums/topics.",
+												  "desc" => __( 'Disable the footer widget areas when viewing bbPress forums/topics.', 'lblg' ),
 												  "type" => "checkbox",
 												  "std" => "0" ),
 		),