From 855ec5825dfa92dc50a3d7d781ce3ae7cfdc2e17 Mon Sep 17 00:00:00 2001 From: Koncept-Web Date: Fri, 30 Mar 2012 10:39:10 -0300 Subject: [PATCH] Add __("....", "skeleton"), for translation --- skeleton_childtheme/options.php | 78 ++++++++++++++++----------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/skeleton_childtheme/options.php b/skeleton_childtheme/options.php index e1f0122..1b62acb 100644 --- a/skeleton_childtheme/options.php +++ b/skeleton_childtheme/options.php @@ -44,48 +44,48 @@ function optionsframework_options() { $options = array(); - $options[] = array( "name" => "Style Options", + $options[] = array( "name" => __("Style Options", "skeleton"), "type" => "heading"); - $options[] = array( "name" => "Style Options", - "desc" => "The following options allow you to apply basic customizations to your theme colors. In some cases however, you will need to edit CSS.
This can be done from stylesheet editor or by navigating to Appearance → Editor.", + $options[] = array( "name" => __("Style options", "skeleton"), + "desc" => __("The following options allow you to apply basic customizations to your theme colors. In some cases however, you will need to edit CSS.
This can be done from stylesheet editor or by navigating to Appearance → Editor.", "skeleton"), "type" => "info"); - $options[] = array( "name" => "Logo Style", - "desc" => "Display a custom image/logo image in place of title header.", + $options[] = array( "name" => __("Logo Style", "skeleton"), + "desc" => __("Display a custom image/logo image in place of title header.", "skeleton"), "id" => "use_logo_image", "type" => "checkbox"); - $options[] = array( "name" => "Header Logo", - "desc" => "If you prefer to show a graphic logo in place of the header, you can upload or paste the URL here. Set the width and height below. Your logo should be resized prior to uploading", + $options[] = array( "name" => __("Header Logo", "skeleton"), + "desc" => __("If you prefer to show a graphic logo in place of the header, you can upload or paste the URL here. Set the width and height below. Your logo should be resized prior to uploading", "skeleton"), "id" => "header_logo", "class" => "hidden", "type" => "upload"); - $options[] = array( "name" => "Logo Width", - "desc" => "Width (in px) of Your logo.", + $options[] = array( "name" => __("Logo Width", "skeleton"), + "desc" => __("Width (in px) of Your logo.", "skeleton"), "id" => "logo_width", "std" => "300", "class" => "mini hidden", "type" => "text"); - $options[] = array( "name" => "Logo Height", - "desc" => "Height (in px) of Your logo.", + $options[] = array( "name" => __("Logo Height", "skeleton"), + "desc" => __("Height (in px) of Your logo.", "skeleton"), "id" => "logo_height", "std" => "80", "class" => "mini hidden", "type" => "text"); - $options[] = array( "name" => "Body Background", - "desc" => "Change the background CSS.", + $options[] = array( "name" => __("Body Background", "skeleton"), + "desc" => __("Change the background CSS.", "skeleton"), "id" => "body_background", "std" => $body_background_defaults, "type" => "background"); - $options[] = array( "name" => "Sidebar Position", - "desc" => "Select a sidebar layout position (left or right). You can also select a wide page layout on a per-page basis.", + $options[] = array( "name" => __("Sidebar Position", "skeleton"), + "desc" => __("Select a sidebar layout position (left or right). You can also select a wide page layout on a per-page basis.", "skeleton"), "id" => "page_layout", "std" => "right", "type" => "images", @@ -94,80 +94,80 @@ function optionsframework_options() { 'right' => $imagepath . '2cr.png') ); - $options[] = array( "name" => "Header (text) Color", - "desc" => "Header Colors.", + $options[] = array( "name" => __("Header (text) Color", "skeleton"), + "desc" => __("Header Colors.", "skeleton"), "id" => "header_color", "std" => "#000000", "type" => "color"); - $options[] = array( "name" => "Link Color", - "desc" => "Default hyperlink colors.", + $options[] = array( "name" => __("Link Color", "skeleton"), + "desc" => __("Default hyperlink colors.", "skeleton"), "id" => "link_color", "std" => "#3568A9", "type" => "color"); - $options[] = array( "name" => "Main Body Typography", - "desc" => "Body Typography.", + $options[] = array( "name" => __("Main Body Typography", "skeleton"), + "desc" => __("Body Typography.", "skeleton"), "id" => "body_typography", "std" => array('size' => '14px','face' => 'helvetica','style' => 'normal','color' => '#444444'), "type" => "typography"); - $options[] = array( "name" => "(H1) Heading Typography", - "desc" => "Heading typography.", + $options[] = array( "name" => __("(H1) Heading Typography", "skeleton"), + "desc" => __("Heading typography.", "skeleton"), "id" => "h1_typography", "std" => array('size' => '40px','face' => 'helvetica','style' => 'normal','color' => '#181818'), "type" => "typography"); - $options[] = array( "name" => "(H2) Heading Typography", - "desc" => "Heading Two typography.", + $options[] = array( "name" => __("(H2) Heading Typography", "skeleton"), + "desc" => __("Heading Two typography.", "skeleton"), "id" => "h2_typography", "std" => array('size' => '35px','face' => 'helvetica','style' => 'normal','color' => '#181818'), "type" => "typography"); - $options[] = array( "name" => "(H3) Heading Typography", - "desc" => "Heading Three typography.", + $options[] = array( "name" => __("(H3) Heading Typography", "skeleton"), + "desc" => __("Heading Three typography.", "skeleton"), "id" => "h3_typography", "std" => array('size' => '28px','face' => 'helvetica','style' => 'normal','color' => '#181818'), "type" => "typography"); - $options[] = array( "name" => "(H4) Heading Typography", - "desc" => "Heading Four typography.", + $options[] = array( "name" => __("(H4) Heading Typography", "skeleton"), + "desc" => __("Heading Four typography.", "skeleton"), "id" => "h4_typography", "std" => array('size' => '21px','face' => 'helvetica','style' => 'bold','color' => '#181818'), "type" => "typography"); - $options[] = array( "name" => "(H5) Heading Typography", - "desc" => "Heading Five typography.", + $options[] = array( "name" => __("(H5) Heading Typography", "skeleton"), + "desc" => __("Heading Five typography.", "skeleton"), "id" => "h5_typography", "std" => array('size' => '17px','face' => 'helvetica','style' => 'bold','color' => '#181818'), "type" => "typography"); - $options[] = array( "name" => "Extra Header Text", - "desc" => "HTML or text can be inserted into the header. You might add twitter icons, badges, or a site announcement here.", + $options[] = array( "name" => __("Extra Header Text", "skeleton"), + "desc" => __("HTML or text can be inserted into the header. You might add twitter icons, badges, or a site announcement here.", "skeleton"), "id" => "header_extra", "std" => "", "type" => "textarea"); if ( class_exists( 'jigoshop' ) ) { - $options[] = array( "name" => "Display Cart", - "desc" => "Jigoshop is installed. Would you like to show a mini cart here instead?", + $options[] = array( "name" => __("Display Cart", "skeleton"), + "desc" => __("Jigoshop is installed. Would you like to show a mini cart here instead?", "skeleton"), "id" => "show_mini_cart", "type" => "checkbox"); } - $options[] = array( "name" => "Footer Fine Print", - "desc" => "HTML or text to be inserted into the very bottom after the widgets.", + $options[] = array( "name" => __("Footer Fine Print", "skeleton"), + "desc" => __("HTML or text to be inserted into the very bottom after the widgets.", "skeleton"), "id" => "footer_text", "std" => "", "type" => "textarea"); - $options[] = array( "name" => "Footer Scripts", - "desc" => "Add custom footer scripts such as Google Analytics. Do not include the <script> tag. This is already done for you.", + $options[] = array( "name" => __("Footer Scripts", "skeleton"), + "desc" => __("Add custom footer scripts such as Google Analytics. Do not include the <script> tag. This is already done for you.", "skeleton"), "id" => "footer_scripts", "std" => "", "type" => "textarea");