jegtheme

Translation error reported by Fotografmarzen

Dec 14th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 20.78 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @author Jegbagus
  4.  */
  5. function jeg_admin_translation () {
  6.    
  7.     $general = array(
  8.         array(
  9.             'type'          => 'heading',
  10.             'title'         => 'General Lang'
  11.         ),
  12.         array (
  13.             'id'            => 'parameter_not_complete_lang',
  14.             'type'          => 'text',
  15.             'title'         => 'Parameter Not Complete',
  16.             'description'   => '',
  17.             'value'         => j_get_option('parameter_not_complete_lang', 'Parameter Not Complete')
  18.         ),
  19.         array (
  20.             'id'            => 'db_error_lang',
  21.             'type'          => 'text',
  22.             'title'         => 'Internal DB Error',
  23.             'description'   => '',
  24.             'value'         => j_get_option('db_error_lang', 'Internal DB Error')
  25.         ),
  26.         array (
  27.             'id'            => 'db_error_lang',
  28.             'type'          => 'text',
  29.             'title'         => 'Internal DB Error',
  30.             'description'   => '',
  31.             'value'         => j_get_option('db_error_lang', 'Internal DB Error')
  32.         ),
  33.         array (
  34.             'id'            => '404_lang',
  35.             'type'          => 'text',
  36.             'title'         => '404 Error',
  37.             'description'   => '',
  38.             'value'         => j_get_option('404_lang', 'It look like the page you\'re looking for doesn\'t exist, sorry')
  39.         ),
  40.         array (
  41.             'id'            => 'more_detail',
  42.             'type'          => 'text',
  43.             'title'         => 'More detail text',
  44.             'description'   => '',
  45.             'value'         => j_get_option('more_detail', 'More Detail')
  46.         ),
  47.         array(
  48.             'type'          => 'heading',
  49.             'title'         => 'Page Title'
  50.         ),
  51.         array (
  52.             'id'            => 'tag_archive_title_lang',
  53.             'type'          => 'text',
  54.             'title'         => 'Tag archive title',
  55.             'description'   => '',
  56.             'value'         => j_get_option('tag_archive_title_lang', 'Tag archive for &quot;%s&quot; %s ')
  57.         ),
  58.         array (
  59.             'id'            => 'post_filled_title_lang',
  60.             'type'          => 'textarea',
  61.             'title'         => 'Category archive title',
  62.             'description'   => '',
  63.             'value'         => j_get_option('post_filled_title_lang', 'Post filed under &quot;%s&quot; %s ')
  64.         ),
  65.         array (
  66.             'id'            => 'post_written_title_lang',
  67.             'type'          => 'text',
  68.             'title'         => 'Author archive title',
  69.             'description'   => '',
  70.             'value'         => j_get_option('post_written_title_lang', 'Post written by &quot;%s&quot; %s ')
  71.         ),
  72.         array (
  73.             'id'            => 'archive_title_lang',
  74.             'type'          => 'text',
  75.             'title'         => 'Archive text',
  76.             'description'   => '',
  77.             'value'         => j_get_option('archive_title_lang', ' archive ')
  78.         ),
  79.         array (
  80.             'id'            => 'search_for_title_lang',
  81.             'type'          => 'textarea',
  82.             'title'         => 'Search archive title',
  83.             'description'   => '',
  84.             'value'         => j_get_option('search_for_title_lang', 'Search for &quot;%s&quot; %s ')
  85.         ),
  86.         array (
  87.             'id'            => 'not_found_lang',
  88.             'type'          => 'text',
  89.             'title'         => 'Not found title',
  90.             'description'   => '',
  91.             'value'         => j_get_option('not_found_lang', 'Not found')
  92.         ),
  93.         array (
  94.             'id'            => 'page_title_lang',
  95.             'type'          => 'text',
  96.             'title'         => 'Page title',
  97.             'description'   => '',
  98.             'value'         => j_get_option('page_title_lang', ' Page ')
  99.         ),
  100.         array(
  101.             'type'          => 'heading',
  102.             'title'         => 'Header'
  103.         ),
  104.         array (
  105.             'id'            => 'navigate_lang',
  106.             'type'          => 'text',
  107.             'title'         => 'Navigation responsive text',
  108.             'description'   => '',
  109.             'value'         => j_get_option('navigate_lang', 'Navigate ...')
  110.         ),
  111.         array(
  112.             'type'          => 'heading',
  113.             'title'         => 'Search'
  114.         ),
  115.         array (
  116.             'id'            => 'search',
  117.             'type'          => 'text',
  118.             'title'         => 'Search',
  119.             'description'   => '',
  120.             'value'         => j_get_option('search', 'Search')
  121.         ),
  122.         array (
  123.             'id'            => 'search_for_lang',
  124.             'type'          => 'text',
  125.             'title'         => 'Search title',
  126.             'description'   => '',
  127.             'value'         => j_get_option('search_for_lang', 'Search for : <b>%s</b>')
  128.         ),
  129.         array(
  130.             'type'          => 'heading',
  131.             'title'         => 'Share Text'
  132.         ),
  133.         array (
  134.             'id'            => 'share_on_twitter_lang',
  135.             'type'          => 'text',
  136.             'title'         => 'Share twitter',
  137.             'description'   => '',
  138.             'value'         => j_get_option('share_on_twitter_lang', 'Share on Twitter')
  139.         ),
  140.         array (
  141.             'id'            => 'share_on_facebook_lang',
  142.             'type'          => 'text',
  143.             'title'         => 'Share facebook',
  144.             'description'   => '',
  145.             'value'         => j_get_option('share_on_facebook_lang', 'Share on Facebook')
  146.         ),
  147.         array(
  148.             'type'          => 'heading',
  149.             'title'         => 'Music Playlist'
  150.         ),
  151.         array (
  152.             'id'            => 'music_playlist_lang',
  153.             'type'          => 'text',
  154.             'title'         => 'Music playlist header',
  155.             'description'   => '',
  156.             'value'         => j_get_option('music_playlist_lang', 'Music Playlist')
  157.         ),
  158.         array (
  159.             'id'            => 'playlist_muted_lang',
  160.             'type'          => 'text',
  161.             'title'         => 'Music playlist muted',
  162.             'description'   => '',
  163.             'value'         => j_get_option('playlist_muted_lang', 'Music Playlist Muted')
  164.         ),
  165.         array (
  166.             'id'            => 'playlist_unmuted_lang',
  167.             'type'          => 'text',
  168.             'title'         => 'Music playlist unmuted',
  169.             'description'   => '',
  170.             'value'         => j_get_option('playlist_unmuted_lang', 'Music Playlist Unmuted')
  171.         ),
  172.         array (
  173.             'id'            => 'playlist_start_play',
  174.             'type'          => 'text',
  175.             'title'         => 'Music playlist starting play',
  176.             'description'   => '',
  177.             'value'         => j_get_option('playlist_start_play', 'Playlist started')
  178.         ),
  179.     );
  180.    
  181.     $blog = array(
  182.         array(
  183.             'type'          => 'heading',
  184.             'title'         => 'Blog'
  185.         ),
  186.         array (
  187.             'id'            => 'no_post_available_lang',
  188.             'type'          => 'text',
  189.             'title'         => 'No post available',
  190.             'description'   => '',
  191.             'value'         => j_get_option('no_post_available_lang', 'No Post Available')
  192.         ),     
  193.         array (
  194.             'id'            => 'read_more_lang',
  195.             'type'          => 'text',
  196.             'title'         => 'Read more',
  197.             'description'   => '',
  198.             'value'         => j_get_option('read_more_lang', ' Read more ..')
  199.         ),
  200.         array (
  201.             'id'            => 'page_of_lang',
  202.             'type'          => 'textarea',
  203.             'title'         => 'Paging text',
  204.             'description'   => '',
  205.             'value'         => j_get_option('page_of_lang', 'Page %d of %d')
  206.         ),             
  207.         array(
  208.             'type'          => 'heading',
  209.             'title'         => 'Archive Box Title'
  210.         ),
  211.         array (
  212.             'id'            => 'tag_archive_for_lang',
  213.             'type'          => 'textarea',
  214.             'title'         => 'Text archive blog title box',
  215.             'description'   => '',
  216.             'value'         => j_get_option('tag_archive_for_lang', 'Tag archive for : <b>%s</b>')
  217.         ),
  218.         array (
  219.             'id'            => 'post_filled_under_lang',
  220.             'type'          => 'textarea',
  221.             'title'         => 'Post filled title box',
  222.             'description'   => '',
  223.             'value'         => j_get_option('post_filled_under_lang', 'Post filled under : <b>%s</b>')
  224.         ),
  225.         array (
  226.             'id'            => 'post_written_by_lang',
  227.             'type'          => 'textarea',
  228.             'title'         => 'Post writen title box',
  229.             'description'   => '',
  230.             'value'         => j_get_option('post_written_by_lang', 'Post written by : <b>%s</b>')
  231.         ),
  232.         array (
  233.             'id'            => 'date_archive_lang',
  234.             'type'          => 'textarea',
  235.             'title'         => 'Date archive title box',
  236.             'description'   => '',
  237.             'value'         => j_get_option('date_archive_lang', '%s - Archive')
  238.         ),
  239.         array (
  240.             'id'            => 'filled_under_lang',
  241.             'type'          => 'textarea',
  242.             'title'         => 'Post filled under single post template',
  243.             'description'   => '',
  244.             'value'         => j_get_option('filled_under_lang', '<p>Filled Under :  %s </p>')
  245.         ),
  246.         array(
  247.             'type'          => 'heading',
  248.             'title'         => 'Blog Comment'
  249.         ),
  250.         array (
  251.             'id'            => 'comment_email_lang',
  252.             'type'          => 'text',
  253.             'title'         => 'Comment Email',
  254.             'description'   => '',
  255.             'value'         => j_get_option('comment_email_lang', 'Email')
  256.         ),
  257.         array (
  258.             'id'            => 'comment_website_lang',
  259.             'type'          => 'text',
  260.             'title'         => 'Comment Website',
  261.             'description'   => '',
  262.             'value'         => j_get_option('comment_website_lang', 'Website')
  263.         ),     
  264.         array (
  265.             'id'            => 'login_to_comment_lang',
  266.             'type'          => 'textarea',
  267.             'title'         => 'Login to comment',
  268.             'description'   => '',
  269.             'value'         => j_get_option('login_to_comment_lang', 'You must be <a href="%s">logged in</a> to post a comment.')
  270.         ),
  271.         array (
  272.             'id'            => 'new_login_as_lang',
  273.             'type'          => 'textarea',
  274.             'title'         => 'Login As',
  275.             'description'   => '',
  276.             'value'         => j_get_option('new_login_as_lang', 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>')
  277.         ),
  278.         array (
  279.             'id'            => 'comment_email_not_publish_lang',
  280.             'type'          => 'text',
  281.             'title'         => 'Comment Email not published',
  282.             'description'   => '',
  283.             'value'         => j_get_option('comment_email_not_publish_lang', 'Your email address will not be published.')
  284.         ),
  285.         array (
  286.             'id'            => 'comment_markup_lang',
  287.             'type'          => 'textarea',
  288.             'title'         => 'Comment bottom markup',
  289.             'description'   => '',
  290.             'value'         => j_get_option('comment_markup_lang', 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s')
  291.         ),
  292.        
  293.         array (
  294.             'id'            => 'comment_leave_reply_lang',
  295.             'type'          => 'text',
  296.             'title'         => 'Leave a reply',
  297.             'description'   => '',
  298.             'value'         => j_get_option('comment_leave_reply_lang', 'Leave a Reply')
  299.         ),
  300.         array (
  301.             'id'            => 'comment_leave_reply_to_lang',
  302.             'type'          => 'textarea',
  303.             'title'         => 'Leave a reply to',
  304.             'description'   => '',
  305.             'value'         => j_get_option('comment_leave_reply_to_lang', 'Leave a Reply to %s')
  306.         ),
  307.         array (
  308.             'id'            => 'comment_cancel_reply_lang',
  309.             'type'          => 'text',
  310.             'title'         => 'Cancel reply',
  311.             'description'   => '',
  312.             'value'         => j_get_option('comment_cancel_reply_lang', 'Cancel reply')
  313.         ),
  314.         array (
  315.             'id'            => 'comment_post_comment_lang',
  316.             'type'          => 'text',
  317.             'title'         => 'Post comment',
  318.             'description'   => '',
  319.             'value'         => j_get_option('comment_post_comment_lang', 'Post Comment')
  320.         ),
  321.        
  322.     );
  323.    
  324.     $contact = array(
  325.         array (
  326.             'id'            => 'contact_us_lang',
  327.             'type'          => 'text',
  328.             'title'         => 'Contact Us text',
  329.             'description'   => '',
  330.             'value'         => j_get_option('contact_us_lang', 'Contact Us')
  331.         ),
  332.         array (
  333.             'id'            => 'contact_detail_lang',
  334.             'type'          => 'text',
  335.             'title'         => 'Contact detail text',
  336.             'description'   => '',
  337.             'value'         => j_get_option('contact_detail_lang', 'Contact Detail')
  338.         ),
  339.         array (
  340.             'id'            => 'contact_form_lang',
  341.             'type'          => 'text',
  342.             'title'         => 'Contact form text',
  343.             'description'   => '',
  344.             'value'         => j_get_option('contact_form_lang', 'Contact Form')
  345.         ),
  346.         array (
  347.             'id'            => 'contact_location_lang',
  348.             'type'          => 'text',
  349.             'title'         => 'Location text',
  350.             'description'   => '',
  351.             'value'         => j_get_option('contact_location_lang', 'Our Location')
  352.         ),
  353.         array (
  354.             'id'            => 'click_view_map',
  355.             'type'          => 'text',
  356.             'title'         => 'View map direction',
  357.             'description'   => '',
  358.             'value'         => j_get_option('click_view_map', 'click for view map detail')
  359.         ),     
  360.         array (
  361.             'id'            => 'contact_message',
  362.             'type'          => 'text',
  363.             'title'         => 'Contact message',
  364.             'description'   => '',
  365.             'value'         => j_get_option('contact_message', 'Message')
  366.         ),
  367.         array (
  368.             'id'            => 'contact_send',
  369.             'type'          => 'text',
  370.             'title'         => 'Contact send button',
  371.             'description'   => '',
  372.             'value'         => j_get_option('contact_send', 'Send Contact')
  373.         ),
  374.         array (
  375.             'id'            => 'cantgetdirection_lang',
  376.             'type'          => 'text',
  377.             'title'         => 'Cannot get direction notification',
  378.             'description'   => '',
  379.             'value'         => j_get_option('cantgetdirection_lang', 'Cannot get direction . . . ')
  380.         ),
  381.         array (
  382.             'id'            => 'dummyposition_lang',
  383.             'type'          => 'text',
  384.             'title'         => 'Use dummy direction',
  385.             'description'   => '',
  386.             'value'         => j_get_option('dummyposition_lang', 'Can\'t get direction, use dummy position . . . ')
  387.         ),
  388.         array (
  389.             'id'            => 'geonotsupport_lang',
  390.             'type'          => 'text',
  391.             'title'         => 'Browser not support geolocation notification',
  392.             'description'   => '',
  393.             'value'         => j_get_option('geonotsupport_lang', 'Your browser don\'t support Geolocation . . .')
  394.         ),
  395.         array (
  396.             'id'            => 'contact_lang',
  397.             'type'          => 'text',
  398.             'title'         => 'Name',
  399.             'description'   => '',
  400.             'value'         => j_get_option('contact_lang', 'Name')
  401.         ),
  402.         array (
  403.             'id'            => 'entername_lang',
  404.             'type'          => 'text',
  405.             'title'         => 'Enter your name',
  406.             'description'   => '',
  407.             'value'         => j_get_option('entername_lang', 'Please enter your name')
  408.         ),
  409.         array (
  410.             'id'            => 'nameminlength_lang',
  411.             'type'          => 'text',
  412.             'title'         => 'Name minimum character notification',
  413.             'description'   => '',
  414.             'value'         => j_get_option('nameminlength_lang', 'At least {0} characters required')
  415.         ),
  416.         array (
  417.             'id'            => 'enteremail_lang',
  418.             'type'          => 'text',
  419.             'title'         => 'Enter Email',
  420.             'description'   => '',
  421.             'value'         => j_get_option('enteremail_lang', 'Please enter your email')
  422.         ),
  423.         array (
  424.             'id'            => 'contact_email',
  425.             'type'          => 'text',
  426.             'title'         => 'Email',
  427.             'description'   => '',
  428.             'value'         => j_get_option('contact_email', 'Your email')
  429.         ),
  430.         array (
  431.             'id'            => 'validemail_lang',
  432.             'type'          => 'text',
  433.             'title'         => 'Enter valid email',
  434.             'description'   => '',
  435.             'value'         => j_get_option('validemail_lang', 'Please enter a valid email')
  436.         ),
  437.         array (
  438.             'id'            => 'entermessage_lang',
  439.             'type'          => 'text',
  440.             'title'         => 'Enter message',
  441.             'description'   => '',
  442.             'value'         => j_get_option('entermessage_lang', 'Please enter a message')
  443.         ),
  444.         array (
  445.             'id'            => 'messageminlength_lang',
  446.             'type'          => 'text',
  447.             'title'         => 'Message minimum character notification',
  448.             'description'   => '',
  449.             'value'         => j_get_option('messageminlength_lang', 'At least {0} characters required')
  450.         ),
  451.         array (
  452.             'id'            => 'sendmessage_lang',
  453.             'type'          => 'text',
  454.             'title'         => 'Send message text',
  455.             'description'   => '',
  456.             'value'         => j_get_option('sendmessage_lang', 'Sending message . . .')
  457.         ),
  458.         array (
  459.             'id'            => 'messagesent_lang',
  460.             'type'          => 'text',
  461.             'title'         => 'Message sent text',
  462.             'description'   => '',
  463.             'value'         => j_get_option('messagesent_lang', 'Message Sent . . . ')
  464.         ),
  465.         array (
  466.             'id'            => 'failsentmessage',
  467.             'type'          => 'text',
  468.             'title'         => 'Failed to send message notification',
  469.             'description'   => '',
  470.             'value'         => j_get_option('failsentmessage', 'Fail to send message . . .')
  471.         ),     
  472.     );
  473.    
  474.     $portfolio = array(
  475.         array (
  476.             'id'            => 'portfolio_all_filter_lang',
  477.             'type'          => 'text',
  478.             'title'         => 'All text on portfolio filter',
  479.             'description'   => '',
  480.             'value'         => j_get_option('portfolio_all_filter_lang', 'All')
  481.         ),
  482.         array (
  483.             'id'            => 'click_to_zoom_lang',
  484.             'type'          => 'text',
  485.             'title'         => 'Click to zoom lang',
  486.             'description'   => '',
  487.             'value'         => j_get_option('click_to_zoom_lang', 'Click to zoom')
  488.         ),
  489.         array (
  490.             'id'            => 'disableclick',
  491.             'type'          => 'text',
  492.             'title'         => 'Disable Right Mouse Click',
  493.             'description'   => '',
  494.             'value'         => j_get_option('disableclick', 'Disable Right Mouse Click')
  495.         ),
  496.         array (
  497.             'id'            => 'no_playback_lang',
  498.             'type'          => 'text',
  499.             'title'         => 'No video playback capability',
  500.             'description'   => '',
  501.             'value'         => j_get_option('no_playback_lang', 'No video playback capabilities')
  502.         ), 
  503.         array (
  504.             'id'            => 'more_in_portfolio_lang',
  505.             'type'          => 'text',
  506.             'title'         => 'More portfolio',
  507.             'description'   => '',
  508.             'value'         => j_get_option('more_in_portfolio_lang', 'More in portofolio')
  509.         ), 
  510.         array (
  511.             'id'            => 'previous_lang',
  512.             'type'          => 'text',
  513.             'title'         => 'Previous text',
  514.             'description'   => '',
  515.             'value'         => j_get_option('previous_lang', 'Previous')
  516.         ), 
  517.         array (
  518.             'id'            => 'next_lang',
  519.             'type'          => 'text',
  520.             'title'         => 'Next text',
  521.             'description'   => '',
  522.             'value'         => j_get_option('next_lang', 'Next')
  523.         ),
  524.         array (
  525.             'id'            => 'have_voted_lang',
  526.             'type'          => 'text',
  527.             'title'         => 'Have liked portfolio',
  528.             'description'   => '',
  529.             'value'         => j_get_option('have_voted_lang', 'Have Voted')
  530.         ),
  531.         array (
  532.             'id'            => 'thanks_vote_lang',
  533.             'type'          => 'text',
  534.             'title'         => 'Thanks for vote text',
  535.             'description'   => '',
  536.             'value'         => j_get_option('thanks_vote_lang', 'Thanks for your vote!')
  537.         ),
  538.         array (
  539.             'id'            => 'likethis_lang',
  540.             'type'          => 'text',
  541.             'title'         => 'Like this lang',
  542.             'description'   => '',
  543.             'value'         => j_get_option('likethis_lang', 'Like this')
  544.         ),
  545.         array(
  546.             'type'          => 'heading',
  547.             'title'         => 'Protected Portfolio'
  548.         ),
  549.         array (
  550.             'id'            => 'protected_portfolio_lang',
  551.             'type'          => 'text',
  552.             'title'         => 'Protected Portfolio',
  553.             'description'   => '',
  554.             'value'         => j_get_option('protected_portfolio_lang', 'Protected Portfolio')
  555.         ),
  556.         array (
  557.             'id'            => 'password_placeholder_lang',
  558.             'type'          => 'text',
  559.             'title'         => 'Password placeholder',
  560.             'description'   => '',
  561.             'value'         => j_get_option('password_placeholder_lang', 'Password')
  562.         ),
  563.         array (
  564.             'id'            => 'portfolio_submit_lang',
  565.             'type'          => 'text',
  566.             'title'         => 'Password Submit Button',
  567.             'description'   => '',
  568.             'value'         => j_get_option('portfolio_submit_lang', 'Submit')
  569.         ),
  570.     );
  571.    
  572.     $comment = array(
  573.         array(
  574.             'type'          => 'heading',
  575.             'title'         => 'Blog Comment'
  576.         ),
  577.         array (
  578.             'id'            => 'comment_password_protected_lang',
  579.             'type'          => 'text',
  580.             'title'         => 'Comment text for password protected post',
  581.             'description'   => '',
  582.             'value'         => j_get_option('comment_password_protected_lang', 'This post is password protected. Enter the password to view any comments.')
  583.         ),
  584.         array (
  585.             'id'            => 'no_comment_lang',
  586.             'type'          => 'text',
  587.             'title'         => 'No comment text',
  588.             'description'   => '',
  589.             'value'         => j_get_option('no_comment_lang', 'No Comments')
  590.         ),
  591.         array (
  592.             'id'            => 'one_comment_lang',
  593.             'type'          => 'text',
  594.             'title'         => 'One comment',
  595.             'description'   => '',
  596.             'value'         => j_get_option('one_comment_lang', '1 Comment')
  597.         ),
  598.         array (
  599.             'id'            => 'more_comment_lang',
  600.             'type'          => 'text',
  601.             'title'         => 'More comment',
  602.             'description'   => '',
  603.             'value'         => j_get_option('more_comment_lang', '% Comments')
  604.         ),
  605.         array (
  606.             'id'            => 'login_comment_lang',
  607.             'type'          => 'text',
  608.             'title'         => 'Comment need login',
  609.             'description'   => '',
  610.             'value'         => j_get_option('login_comment_lang', '<p>Please login to comment.</p>')
  611.         ),
  612.         array (
  613.             'id'            => 'leave_comment_lang',
  614.             'type'          => 'text',
  615.             'title'         => 'Leave comment text',
  616.             'description'   => '',
  617.             'value'         => j_get_option('leave_comment_lang', 'Leave Comment')
  618.         ),
  619.         array (
  620.             'id'            => 'name_lang',
  621.             'type'          => 'text',
  622.             'title'         => 'Comment user name',
  623.             'description'   => '',
  624.             'value'         => j_get_option('name_lang', 'Name')
  625.         ),
  626.         array (
  627.             'id'            => 'your_email_lang',
  628.             'type'          => 'text',
  629.             'title'         => 'Comment user email ',
  630.             'description'   => '',
  631.             'value'         => j_get_option('your_email_lang', 'Your Email')
  632.         ),
  633.         array (
  634.             'id'            => 'website_lang',
  635.             'type'          => 'text',
  636.             'title'         => 'Comment user website',
  637.             'description'   => '',
  638.             'value'         => j_get_option('website_lang', 'Website')
  639.         ),
  640.         array (
  641.             'id'            => 'login_as_lang',
  642.             'type'          => 'textarea',
  643.             'title'         => 'Login and Logout link',
  644.             'description'   => '',
  645.             'value'         => j_get_option('login_as_lang', 'Login as  <b>"%s"</b> , <a href=%s>Not you? Logout. </a>')
  646.         ),
  647.         array (
  648.             'id'            => 'comment_lang',
  649.             'type'          => 'text',
  650.             'title'         => 'Comment text',
  651.             'description'   => '',
  652.             'value'         => j_get_option('comment_lang', 'Comment')
  653.         ),
  654.         array (
  655.             'id'            => 'send_comment_lang',
  656.             'type'          => 'text',
  657.             'title'         => 'Send comment button',
  658.             'description'   => '',
  659.             'value'         => j_get_option('send_comment_lang', 'Send Comment')
  660.         ),
  661.         array (
  662.             'id'            => 'comment_moderation_lang',
  663.             'type'          => 'text',
  664.             'title'         => 'Comment awaiting moderation',
  665.             'description'   => '',
  666.             'value'         => j_get_option('comment_moderation_lang', '<em>Your comment is awaiting moderation</em>')
  667.         ),
  668.        
  669.         array (
  670.             'id'            => 'reply_comment_lang',
  671.             'type'          => 'text',
  672.             'title'         => 'Reply comment',
  673.             'description'   => '',
  674.             'value'         => j_get_option('reply_comment_lang', 'Reply')
  675.         ),
  676.         array (
  677.             'id'            => 'cancel_reply_comment_lang',
  678.             'type'          => 'text',
  679.             'title'         => 'Cancel Reply comment',
  680.             'description'   => '',
  681.             'value'         => j_get_option('cancel_reply_comment_lang', 'Cancel Reply')
  682.         ),
  683.        
  684.     );
  685.    
  686.     $setting = array(
  687.         array (
  688.             'id'            => 'enable_translation',
  689.             'type'          => 'switchtoogle',
  690.             'title'         => 'Use build in translation',
  691.             'description'   => 'When this option enabled, than you will use theme build in translation. Other tab on this page will control your website translation. <br> But when it turned off, you need to configure .mo files to translate the website.',
  692.             'value'         => j_get_option('enable_translation' , 1)
  693.         ),
  694.         /*
  695.         array (
  696.             'id'            => 'default_locale',
  697.             'type'          => 'text',
  698.             'title'         => 'Default locale',
  699.             'description'   => 'When you use',
  700.             'value'         => j_get_option('default_locale', 'en_US')
  701.         ),
  702.         */
  703.     );
  704.    
  705.     return array(
  706.         'Setting'       => $setting,
  707.         'General'       => $general,
  708.         'Blog'          => $blog,
  709.         'Contact'       => $contact,
  710.         'Portfolio'     => $portfolio,
  711.         'Comment'       => $comment
  712.     );
  713. }
Advertisement
Add Comment
Please, Sign In to add comment