Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.

Commit

Permalink
Merge pull request simplethemes#19 from Koncept-Web/patch-1
Browse files Browse the repository at this point in the history
Add __("....", "skeleton"), for translation
  • Loading branch information
simplethemes committed Apr 21, 2012
2 parents 5958560 + 855ec58 commit e3e3fef
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions skeleton_childtheme/options.php
Expand Up @@ -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. <br /> This can be done from <a href=\"theme-editor.php\">stylesheet editor</a> or by navigating to Appearance &rarr; 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. <br /> This can be done from <a href=\"theme-editor.php\">stylesheet editor</a> or by navigating to Appearance &rarr; 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. <strong>Your logo should be resized prior to uploading</strong>",
$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. <strong>Your logo should be resized prior to uploading</strong>", "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",
Expand All @@ -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 &lt;script&gt; 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 &lt;script&gt; tag. This is already done for you.", "skeleton"),
"id" => "footer_scripts",
"std" => "",
"type" => "textarea");
Expand Down

0 comments on commit e3e3fef

Please sign in to comment.