Plugin Directory

Changeset 1040292


Ignore:
Timestamp:
12/08/2014 12:01:52 PM (11 years ago)
Author:
captaintheme
Message:

1.0.1

Location:
recipe-hero
Files:
238 added
2 deleted
23 edited

Legend:

Unmodified
Added
Removed
  • recipe-hero/trunk/README.txt

    r1039360 r1040292  
    55Requires at least: 3.8.0
    66Tested up to: 4.1.0
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    120120
    121121== Changelog ==
     122
     123= 1.0.1 =
     124* New: Ingredients layout
     125* New: Ingredients checkboxes and strikethroughs
     126* Template Change: single/ingredients.php
     127* Bug Fix: Translation file searching
     128* Bug Fix: Ingredients plural translations (again)
     129* Bug Fix: Remove old settings global variables
     130* Bug Fix: Update Settings Link
     131* Bug Fix: Use WP_INSTALL_PLUGIN check in uninstall.php
     132* Bug Fix: Translation fixes for hours / minutes abbreviations
    122133
    123134= 1.0.0 =
  • recipe-hero/trunk/assets/frontend/css/rh-styles.css

    r1038648 r1040292  
    293293  article.recipe .recipe-single-ingredients ul.ingredients-list {
    294294    margin-left: 0;
    295     column-count: 2;
    296     column-gap: 20px;
    297     -moz-column-count: 2;
    298     -moz-column-gap: 20px;
    299     -webkit-column-count: 2;
    300     -webkit-column-gap: 20px;
     295            /*column-count: 2;
     296           column-gap: 20px;
     297           -moz-column-count: 2;
     298           -moz-column-gap: 20px;
     299           -webkit-column-count: 2;
     300           -webkit-column-gap : 20px;*/
    301301    font-size: 14px;
    302302    list-style: none; }
     
    304304      padding-bottom: 5px;
    305305      margin-left: 0; }
     306      article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .amount {
     307        text-align: right;
     308        min-width: 20%;
     309        display: inline-block;
     310        font-weight: bold; }
     311      article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .name {
     312        text-align: left;
     313        display: inline-block;
     314        padding-left: 5px; }
    306315  article.recipe .recipe-single-instructions h4 {
    307316    margin-top: 25px; }
     
    322331  article.recipe hr.recipe-single-seperator {
    323332    background: #ddd; }
     333
     334@media all and (max-width: 799px) {
     335  article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .amount {
     336    display: inline;
     337    min-width: auto; }
     338  article.recipe .recipe-single-ingredients ul.ingredients-list li.ingredients-item .name {
     339    display: inline; } }
  • recipe-hero/trunk/assets/frontend/css/rh-styles.scss

    r1038648 r1040292  
    275275        ul.ingredients-list {
    276276            margin-left: 0;
    277             column-count: 2;
    278             column-gap: 20px;
    279            -moz-column-count: 2;
    280            -moz-column-gap: 20px;
    281            -webkit-column-count: 2;
    282            -webkit-column-gap : 20px;
    283            font-size: 14px;
    284            list-style: none;
     277            /*column-count: 2;
     278            column-gap: 20px;
     279            -moz-column-count: 2;
     280            -moz-column-gap: 20px;
     281            -webkit-column-count: 2;
     282            -webkit-column-gap : 20px;*/
     283            font-size: 14px;
     284            list-style: none;
    285285            li.ingredients-item {
    286286                padding-bottom: 5px;
    287287                margin-left: 0;
     288                .amount {
     289                    text-align: right;
     290                    min-width: 20%;
     291                    display: inline-block;
     292                    font-weight: bold;
     293                }
     294                .name {
     295                    text-align: left;
     296                    display: inline-block;
     297                    padding-left: 5px;
     298                }
    288299            }
    289300        }
     
    318329}
    319330
    320 .single-recipe #comments {
    321 }
     331@media all and (max-width: 799px) {
     332    article.recipe {
     333        .recipe-single-ingredients {
     334            ul.ingredients-list {
     335                li.ingredients-item {
     336                    .amount {
     337                        display: inline;
     338                        min-width: auto;
     339                    }
     340                    .name {
     341                        display: inline;
     342                    }
     343                }
     344            }
     345        }
     346    }
     347}
  • recipe-hero/trunk/assets/frontend/js/min/rh-scripts-min.js

    r1038648 r1040292  
    1 !function($){"use strict";$(function(){})}(jQuery);
     1!function($){"use strict";$(".ingredient-checkbox").click(function(){var t=$(this);t.is(":checked")?$(this).nextAll("div").css("text-decoration","line-through"):$(this).nextAll("div").css("text-decoration","none")})}(jQuery);
  • recipe-hero/trunk/assets/frontend/js/rh-scripts.js

    r1038648 r1040292  
    22    "use strict";
    33
    4     $(function () {
     4    // Strike through ingredient line when checkbox checked
     5    $('.ingredient-checkbox').click (function(){
     6        var thisCheck = $(this);
    57
     8        if ( thisCheck.is(':checked') ) {
     9            $(this).nextAll('div').css('text-decoration', 'line-through');
     10        } else {
     11            $(this).nextAll('div').css('text-decoration', 'none');
     12        }
    613
    714    });
  • recipe-hero/trunk/includes/admin/class-rh-admin-scripts.php

    r1038648 r1040292  
    3535     * @return void
    3636     * @todo include script_debug mode $min
     37     * @todo conditionally load on the specific recipe hero pages
    3738     */
    3839    public function load_scripts() {
    39 
    40         global $post, $wp;
    4140
    4241        // Register all scripts/styles for later use
     
    6160        wp_enqueue_script( 'jquery-ui-autocomplete' );
    6261        wp_enqueue_script( 'liquidmetal' );
     62        wp_enqueue_style( 'wp-color-picker' );
    6363
    6464        wp_enqueue_script( 'tiptip' );
  • recipe-hero/trunk/includes/admin/class-rh-admin-welcome.php

    r1038648 r1040292  
    279279                        <div>
    280280                            <h4><?php _e( 'Custom Ordering', 'recipe-hero' ); ?> <span class="dashicons dashicons-list-view"></span></h4>
    281                             <p><?php _e( 'You now have the ability to order your recipes in a number of different ways. Simply change the order setting and voilà - custom order!', 'recipe-hero' ); ?></p>
     281                            <p><?php _e( 'You now have the ability to order your recipes in a number of different ways. Simply change the order setting and voila - custom order!', 'recipe-hero' ); ?></p>
    282282                        </div>
    283283
  • recipe-hero/trunk/includes/class-rh-frontend-scripts.php

    r1038648 r1040292  
    88 * @link      http://captaintheme.com
    99 * @copyright 2014 Captain Theme
     10 * @since     1.0.1
    1011 */
    1112
     
    5556
    5657            // Register all scripts/styles for later use
    57             wp_register_script( 'rh-plugin-script', RH()->plugin_url() . '/assets/frontend/js/rh-scripts.js', array( 'jquery' ), RecipeHero::$version, true );
     58            wp_register_script( 'rh-scripts', RH()->plugin_url() . '/assets/frontend/js/rh-scripts.js', array( 'jquery' ), RecipeHero::$version, true );
    5859           
    5960            wp_register_script( 'magnific', RH()->plugin_url() . '/assets/frontend/js/jquery.magnific-popup.min.js', array( 'jquery' ), RecipeHero::$version, true );
     
    6869
    6970            wp_enqueue_script( 'jquery' );
     71            wp_enqueue_script( 'rh-scripts' );
    7072
    7173            // CSS Styles
  • recipe-hero/trunk/includes/rh-general-functions.php

    r1038648 r1040292  
    88 * @link      http://captaintheme.com
    99 * @copyright 2014 Captain Theme
    10  * @since     1.0.0
     10 * @since     1.0.1
    1111 */
    1212
     
    8686
    8787/**
     88 * Format Strings
     89 *
     90 * @param string $var
     91 * @return string
     92 */
     93function rh_format_string( $var ) {
     94
     95    //Lower case everything
     96    $var = strtolower( $var );
     97    //Make alphanumeric (removes all other characters)
     98    $var = preg_replace( "/[^a-z0-9_\s-]/", "", $var );
     99    //Clean up multiple dashes or whitespaces
     100    $var = preg_replace( "/[\s-]+/", " ", $var );
     101    //Convert whitespaces and underscore to dash
     102    $var = preg_replace( "/[\s_]/", "-", $var );
     103
     104    return $var;
     105
     106}
     107
     108/**
    88109 * Get an image size.
    89110 *
  • recipe-hero/trunk/includes/rh-templates-hooks.php

    r1038648 r1040292  
    8989
    9090/**
     91 * Recipe Ingredients Form
     92 *
     93 * @see recipe_hero_output_ingredients_form_start - 10
     94 * @see recipe_hero_output_ingredients_form_end - 10
     95 * @see recipe_hero_output_ingredients_form_checkbox - 10
     96 */
     97
     98add_action( 'recipe_hero_before_ingredients_list', 'recipe_hero_output_ingredients_form_start', 10 );
     99add_action( 'recipe_hero_after_ingredients_list', 'recipe_hero_output_ingredients_form_end', 10 );
     100add_action( 'recipe_hero_before_ingredients_list_item', 'recipe_hero_output_ingredients_form_checkbox', 10 );
     101
     102
     103/**
    91104 * Recipe Archive Content
    92105 *
  • recipe-hero/trunk/includes/templates-parts/rh-templates-single-functions.php

    r1038648 r1040292  
    239239 * @package   Recipe Hero
    240240 * @author    Captain Theme <info@captaintheme.com>
    241  * @since     0.8.0
     241 * @since     1.0.0
    242242 */
    243243
     
    254254       
    255255        if ( $time < 60 ) {
    256             $content = $minutes . 'm';
     256            $content = $minutes . _x( 'm', 'Abbreviation for minutes', 'recipe-hero' );
    257257        } else {
    258258            $content = sprintf( $format, $hours, $minutes );
     
    295295 * @package   Recipe Hero
    296296 * @author    Captain Theme <info@captaintheme.com>
    297  * @since     0.8.0
    298  * @todo      Not sure what to do about translations and plurals here.
     297 * @since     1.0.1
    299298 */
    300299
     
    338337                break;
    339338            case 'blank':
    340                 $ingredient_amount = sprintf( _n( '1', '%s', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );
     339                $ingredient_amount = $ingredient_quantity;
    341340                break;
    342341            case 'none':
     
    353352
    354353}
     354
     355/**
     356 * Start of ingredients form
     357 *
     358 * @package   Recipe Hero
     359 * @author    Captain Theme <info@captaintheme.com>
     360 * @since     1.0.1
     361 */
     362
     363if ( ! function_exists( 'recipe_hero_output_ingredients_form_start' ) ) {
     364
     365    function recipe_hero_output_ingredients_form_start() { ?>
     366
     367        <form id="rh_ingredients_form">
     368
     369    <?php }
     370
     371}
     372
     373/**
     374 * End of ingredients form
     375 *
     376 * @package   Recipe Hero
     377 * @author    Captain Theme <info@captaintheme.com>
     378 * @since     1.0.1
     379 */
     380
     381if ( ! function_exists( 'recipe_hero_output_ingredients_form_end' ) ) {
     382
     383    function recipe_hero_output_ingredients_form_end() { ?>
     384
     385        </form>
     386
     387    <?php }
     388
     389}
     390
     391/**
     392 * Ingredients form checkbox
     393 *
     394 * @package   Recipe Hero
     395 * @author    Captain Theme <info@captaintheme.com>
     396 * @since     1.0.1
     397 */
     398
     399if ( ! function_exists( 'recipe_hero_output_ingredients_form_checkbox' ) ) {
     400
     401    function recipe_hero_output_ingredients_form_checkbox() { ?>
     402
     403        <input type="checkbox" id="ingredient_checkbox" class="ingredient-checkbox" /><label for="ingredient_checkbox" class="checkbox-label"></label>
     404
     405    <?php }
     406
     407}
  • recipe-hero/trunk/includes/templates-parts/rh-templates-tax-header-functions.php

    r1038648 r1040292  
    2626    function recipe_hero_archive_tax_title() {
    2727
    28         global $rh_labels_options;
    29 
    3028        if ( is_tax( 'cuisine' ) ) {
    3129
    32             if ( ! empty( $rh_labels_options['label_cuisine'] ) ) {
    33                 $cuisine_text = $rh_labels_options['label_cuisine'];
    34             } else {
    35                 $cuisine_text = __( 'Cuisine', 'recipe-hero' );
    36             }
     30            $cuisine_text = apply_filters( 'rh_label_cuisine', __( 'Cuisine', 'recipe-hero' ) );
    3731
    3832            echo '<div class="recipe-archive-tax-header">';
     
    4337        } elseif ( is_tax( 'course' ) ) {
    4438
    45             if ( ! empty( $rh_labels_options['label_course'] ) ) {
    46                 $course_text = $rh_labels_options['label_course'];
    47             } else {
    48                 $course_text = __( 'Course', 'recipe-hero' );
    49             }
     39            $course_text = apply_filters( 'rh_label_course', __( 'Course', 'recipe-hero' ) );
    5040           
    5141            echo '<div class="recipe-archive-tax-header">';
  • recipe-hero/trunk/languages/recipe-hero-en_GB.po

    r1038648 r1040292  
    22msgstr ""
    33"Project-Id-Version: Recipe Hero\n"
    4 "POT-Creation-Date: 2014-11-25 23:06+0700\n"
    5 "PO-Revision-Date: 2014-11-25 23:06+0700\n"
     4"POT-Creation-Date: 2014-12-08 09:29+0700\n"
     5"PO-Revision-Date: 2014-12-08 09:33+0700\n"
    66"Last-Translator: Bryce <bryce@bryce.se>\n"
    77"Language-Team: Recipe Hero <info@recipehero.in>\n"
     
    1313"X-Poedit-Basepath: .\n"
    1414"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    15 "X-Poedit-KeywordsList: __;_e\n"
     15"X-Poedit-KeywordsList: __;_e;_n;_n:1,2;_n_noop:1,2;_nx:1,2;_nx_noop:1,2;"
     16"_x:1,2c\n"
    1617"X-Poedit-SearchPath-0: ..\n"
    1718
     
    3334
    3435#: ../includes/admin/class-rh-admin-menus.php:42
    35 #: ../includes/admin/class-rh-admin-welcome.php:208
    36 #: ../includes/class-rh-install.php:103
     36#: ../includes/admin/class-rh-admin-welcome.php:217
     37#: ../includes/class-rh-install.php:161
    3738msgid "Settings"
    3839msgstr ""
     
    4344
    4445#: ../includes/admin/class-rh-admin-menus.php:58
    45 #: ../includes/admin/class-rh-admin-welcome.php:311
     46#: ../includes/admin/class-rh-admin-welcome.php:320
    4647msgid "Extensions"
    4748msgstr ""
     
    7374msgstr ""
    7475
    75 #: ../includes/admin/class-rh-admin-ordering.php:81
    76 msgid ""
    77 "To reposition an item, simply drag and drop the row by \"clicking and holding"
    78 "\" it anywhere (outside of the links and form controls) and moving it to its "
    79 "new position."
    80 msgstr ""
    81 
    82 #: ../includes/admin/class-rh-admin-ordering.php:271
     76#: ../includes/admin/class-rh-admin-ordering.php:88
     77msgid ""
     78"To reposition a recipe, simply drag and drop the recipe's row by \"clicking "
     79"and holding\" it anywhere (outside of the links and form controls) and "
     80"moving it to its new position."
     81msgstr ""
     82
     83#: ../includes/admin/class-rh-admin-ordering.php:278
    8384msgid "Sort by Order"
     85msgstr ""
     86
     87#: ../includes/admin/class-rh-admin-ordering.php:303
     88msgid ""
     89"Order your pages and hierarchical post types using drag and drop on the "
     90"built in page list. For further instructions, open the \"Help\" tab on the "
     91"Pages screen."
     92msgstr ""
     93
     94#: ../includes/admin/class-rh-admin-permalink-settings.php:36
     95msgid "Recipe permalink base"
     96msgstr ""
     97
     98#: ../includes/admin/class-rh-admin-permalink-settings.php:41
     99msgid "Recipe cuisine base"
     100msgstr ""
     101
     102#: ../includes/admin/class-rh-admin-permalink-settings.php:50
     103msgid "Recipe course base"
     104msgstr ""
     105
     106#: ../includes/admin/class-rh-admin-permalink-settings.php:63
     107msgctxt "slug"
     108msgid "recipe-cuisine"
     109msgstr ""
     110
     111#: ../includes/admin/class-rh-admin-permalink-settings.php:70
     112msgctxt "slug"
     113msgid "recipe-course"
     114msgstr ""
     115
     116#: ../includes/admin/class-rh-admin-permalink-settings.php:78
     117msgid ""
     118"These settings control the permalinks used for recipes. These settings only "
     119"apply when <strong>not using \"default\" permalinks above</strong>."
     120msgstr ""
     121
     122#: ../includes/admin/class-rh-admin-permalink-settings.php:85
     123#: ../includes/admin/class-rh-admin-permalink-settings.php:173
     124msgctxt "default-slug"
     125msgid "shop"
     126msgstr ""
     127
     128#: ../includes/admin/class-rh-admin-permalink-settings.php:86
     129msgctxt "default-slug"
     130msgid "recipe"
     131msgstr ""
     132
     133#: ../includes/admin/class-rh-admin-permalink-settings.php:97
     134#: ../includes/fields/includes/CMB2_hookup.php:124
     135msgid "Default"
     136msgstr ""
     137
     138#: ../includes/admin/class-rh-admin-permalink-settings.php:101
     139#: ../includes/class-rh-post-types.php:159
     140msgid "Recipe"
     141msgstr ""
     142
     143#: ../includes/admin/class-rh-admin-permalink-settings.php:106
     144msgid "Recipes base"
     145msgstr ""
     146
     147#: ../includes/admin/class-rh-admin-permalink-settings.php:112
     148msgid "Custom Base"
     149msgstr ""
     150
     151#: ../includes/admin/class-rh-admin-permalink-settings.php:114
     152msgid ""
     153"Enter a custom base to use. A base <strong>must</strong> be set or WordPress "
     154"will use default instead."
    84155msgstr ""
    85156
     
    134205msgstr ""
    135206
    136 #: ../includes/admin/class-rh-admin-welcome.php:190
     207#: ../includes/admin/class-rh-admin-welcome.php:199
    137208#, php-format
    138209msgid "Welcome to Recipe Hero %s"
    139210msgstr ""
    140211
    141 #: ../includes/admin/class-rh-admin-welcome.php:195
     212#: ../includes/admin/class-rh-admin-welcome.php:204
    142213msgid "Thanks, all done!"
    143214msgstr ""
    144215
    145 #: ../includes/admin/class-rh-admin-welcome.php:197
     216#: ../includes/admin/class-rh-admin-welcome.php:206
    146217msgid "Thank you for updating to the latest version!"
    147218msgstr ""
    148219
    149 #: ../includes/admin/class-rh-admin-welcome.php:199
     220#: ../includes/admin/class-rh-admin-welcome.php:208
    150221msgid "Thanks for installing!"
    151222msgstr ""
    152223
    153 #: ../includes/admin/class-rh-admin-welcome.php:202
     224#: ../includes/admin/class-rh-admin-welcome.php:211
    154225#, php-format
    155226msgid ""
     
    158229msgstr ""
    159230
    160 #: ../includes/admin/class-rh-admin-welcome.php:203
     231#: ../includes/admin/class-rh-admin-welcome.php:212
    161232msgid "We hope you enjoy it."
    162233msgstr ""
    163234
    164 #: ../includes/admin/class-rh-admin-welcome.php:209
    165 #: ../includes/class-rh-install.php:119
     235#: ../includes/admin/class-rh-admin-welcome.php:218
     236#: ../includes/class-rh-install.php:177
    166237msgid "Docs"
    167238msgstr ""
    168239
    169 #: ../includes/admin/class-rh-admin-welcome.php:215
     240#: ../includes/admin/class-rh-admin-welcome.php:224
    170241msgid ""
    171242"\"I cook, I create, I'm incredibly excited by what I do, I've still got a "
     
    173244msgstr ""
    174245
    175 #: ../includes/admin/class-rh-admin-welcome.php:226
     246#: ../includes/admin/class-rh-admin-welcome.php:235
    176247msgid "What's New"
    177248msgstr ""
    178249
    179 #: ../includes/admin/class-rh-admin-welcome.php:228
     250#: ../includes/admin/class-rh-admin-welcome.php:237
    180251msgid "Credits"
    181252msgstr ""
    182253
    183 #: ../includes/admin/class-rh-admin-welcome.php:230
     254#: ../includes/admin/class-rh-admin-welcome.php:239
    184255msgid "Translations"
    185256msgstr ""
    186257
    187 #: ../includes/admin/class-rh-admin-welcome.php:248
     258#: ../includes/admin/class-rh-admin-welcome.php:257
    188259msgid "Improved Ingredients adding that you will"
    189260msgstr ""
    190261
    191 #: ../includes/admin/class-rh-admin-welcome.php:252
     262#: ../includes/admin/class-rh-admin-welcome.php:258
     263msgid ""
     264"To me, the path to building Recipe Hero 1.0 was like baking a cake. "
     265"Initially, I started with the ingredients. I then began to put them all "
     266"together - slowly my recipe was becoming more... real. But it wasn't quite "
     267"ready. I spent months waiting for it to bake, hoping that nothing went wrong "
     268"and constantly adjusting the ingredients as time passed. Now, I'm ready for "
     269"you to taste it. Enjoy!"
     270msgstr ""
     271
     272#: ../includes/admin/class-rh-admin-welcome.php:261
    192273msgid "Autocomplete Ingredient Suggestion as you Add or Edit Ingredients"
    193274msgstr ""
    194275
    195 #: ../includes/admin/class-rh-admin-welcome.php:253
    196 msgid ""
    197 "Built on top of the WooCommerce API, and targeted directly at developers, "
    198 "the new REST API allows you to get data for <strong>Orders</strong>, "
    199 "<strong>Coupons</strong>, <strong>Customers</strong>, <strong>Products</"
    200 "strong> and <strong>Reports</strong> in both <code>XML</code> and "
    201 "<code>JSON</code> formats."
    202 msgstr ""
    203 
    204 #: ../includes/admin/class-rh-admin-welcome.php:256
     276#: ../includes/admin/class-rh-admin-welcome.php:262
     277msgid ""
     278"Adding ingredients to a new recipe has never been easier, thanks to the new "
     279"autocomplete ingredient feature. As you type in an ingredient, it will pull "
     280"past ingredients - making sure you stay consistent."
     281msgstr ""
     282
     283#: ../includes/admin/class-rh-admin-welcome.php:265
    205284msgid "Easily See the Ingredients of a Recipe Without Opening it"
    206285msgstr ""
    207286
    208 #: ../includes/admin/class-rh-admin-welcome.php:257
    209 msgid ""
    210 "Authentication for the REST API is performed using HTTP Basic Auth if you "
    211 "have SSL enabled, or signed according to the <a href=\"http://tools.ietf.org/"
    212 "html/rfc5849\">OAuth 1.0a</a> specification if you don't have SSL. Data is "
    213 "only available to authenticated users."
    214 msgstr ""
    215 
    216 #: ../includes/admin/class-rh-admin-welcome.php:262
    217 msgid "Under the Hood"
    218 msgstr ""
    219 
    220287#: ../includes/admin/class-rh-admin-welcome.php:266
     288msgid ""
     289"Another neat feature relating to ingredients is that you can now quickly "
     290"view all of your recipes's ingredients from the Recipes admin page! Time "
     291"saved = Exponential."
     292msgstr ""
     293
     294#: ../includes/admin/class-rh-admin-welcome.php:271
     295msgid "Freshly Baked Features... mmmm!"
     296msgstr ""
     297
     298#: ../includes/admin/class-rh-admin-welcome.php:275
    221299msgid "Custom Image Sizes"
    222300msgstr ""
    223301
    224 #: ../includes/admin/class-rh-admin-welcome.php:267
    225 msgid ""
    226 "PayPal Data Transfer (PDT) is an alternative for PayPal IPN which sends back "
    227 "the status of an order when a customer returns from PayPal."
    228 msgstr ""
    229 
    230 #: ../includes/admin/class-rh-admin-welcome.php:271
     302#: ../includes/admin/class-rh-admin-welcome.php:276
     303msgid ""
     304"It's really easy to customize all of your recipe image sizes, from featured "
     305"images to steps images - straight from the Recipe Hero settings."
     306msgstr ""
     307
     308#: ../includes/admin/class-rh-admin-welcome.php:280
     309msgid "Custom Ordering"
     310msgstr ""
     311
     312#: ../includes/admin/class-rh-admin-welcome.php:281
     313msgid ""
     314"You now have the ability to order your recipes in a number of different "
     315"ways. Simply change the order setting and voila - custom order!"
     316msgstr ""
     317
     318#: ../includes/admin/class-rh-admin-welcome.php:285
     319msgid "Templating Engine"
     320msgstr ""
     321
     322#: ../includes/admin/class-rh-admin-welcome.php:286
     323msgid ""
     324"Recipe Hero comes with a complete templating engine, allowing you to easily "
     325"copy the plugin's <strong>templates</strong> folder over to your theme's "
     326"<strong>recipe-hero</strong> folder - customization awaits!"
     327msgstr ""
     328
     329#: ../includes/admin/class-rh-admin-welcome.php:292
     330msgid "Custom Permalinks"
     331msgstr ""
     332
     333#: ../includes/admin/class-rh-admin-welcome.php:293
     334msgid ""
     335"The <code>recipes</code> URL will now automatically adjust to your custom "
     336"Recipes Page's slug, allowing for a more custom experience. Courses / "
     337"Cuisines slugs can also be defined."
     338msgstr ""
     339
     340#: ../includes/admin/class-rh-admin-welcome.php:297
     341msgid "Settings API & UI Changes"
     342msgstr ""
     343
     344#: ../includes/admin/class-rh-admin-welcome.php:298
     345msgid ""
     346"Settings were rewritten in 1.0 to allow for a better user experience. "
     347"Additionally, there's now a Recipe Hero Settings API so you can easily add "
     348"new settings and customize the existing ones."
     349msgstr ""
     350
     351#: ../includes/admin/class-rh-admin-welcome.php:302
     352msgid "Cleans Up Before Leaving"
     353msgstr ""
     354
     355#: ../includes/admin/class-rh-admin-welcome.php:303
     356msgid ""
     357"A new <code>uninstall.php</code> file is now included that will trigger on "
     358"deletion, removing Recipe Hero settings, etc. to keep your database clean "
     359"and your site yours."
     360msgstr ""
     361
     362#: ../includes/admin/class-rh-admin-welcome.php:310
     363msgid "Image Gallery / Lightbox"
     364msgstr ""
     365
     366#: ../includes/admin/class-rh-admin-welcome.php:311
     367msgid ""
     368"Recipe Hero 1.0 introduces a gallery feature that pairs with the built-in "
     369"lightbox, so you can add several images to one recipe, helping you show off "
     370"all your delicious food!"
     371msgstr ""
     372
     373#: ../includes/admin/class-rh-admin-welcome.php:315
    231374msgid "Better File Structuring"
    232375msgstr ""
    233376
    234 #: ../includes/admin/class-rh-admin-welcome.php:272
    235 msgid ""
    236 "Frontend styles have been split into separate appearance/layout/smallscreen "
    237 "stylesheets to help with selective customisation."
    238 msgstr ""
    239 
    240 #: ../includes/admin/class-rh-admin-welcome.php:276
    241 msgid "Security Improvements"
    242 msgstr ""
    243 
    244 #: ../includes/admin/class-rh-admin-welcome.php:277
    245 msgid ""
    246 "Certain pages such as \"Pay\", \"Order Received\" and some account pages are "
    247 "now endpoints rather than pages to make checkout more reliable."
    248 msgstr ""
    249 
    250 #: ../includes/admin/class-rh-admin-welcome.php:283
    251 msgid "Custom Permalinks"
    252 msgstr ""
    253 
    254 #: ../includes/admin/class-rh-admin-welcome.php:284
    255 msgid ""
    256 "We've added a standardized, default credit card form for gateways to use if "
    257 "they support <code>default_credit_card_form</code>."
    258 msgstr ""
    259 
    260 #: ../includes/admin/class-rh-admin-welcome.php:288
    261 msgid "Settings API & UI Changes"
    262 msgstr ""
    263 
    264 #: ../includes/admin/class-rh-admin-welcome.php:289
    265 msgid ""
    266 "Coupon usage limits can now be set per user (using email + ID) rather than "
    267 "global."
    268 msgstr ""
    269 
    270 #: ../includes/admin/class-rh-admin-welcome.php:293
    271 msgid "Cleans Up Before Leaving"
    272 msgstr ""
    273 
    274 #: ../includes/admin/class-rh-admin-welcome.php:294
    275 msgid ""
    276 "A new <code>uninstall.php</code> file is now included that will trigger on "
    277 "deletion, removing Recipe Hero settings, etc. to keep your database clean."
    278 msgstr ""
    279 
    280 #: ../includes/admin/class-rh-admin-welcome.php:301
    281 msgid "Image Gallery / Lightbox"
    282 msgstr ""
    283 
    284 #: ../includes/admin/class-rh-admin-welcome.php:302
    285 msgid ""
    286 "Define whether prices should be shown incl. or excl. of tax on the frontend, "
    287 "and add an optional suffix."
    288 msgstr ""
    289 
    290 #: ../includes/admin/class-rh-admin-welcome.php:306
    291 msgid "Custom Ordering"
    292 msgstr ""
    293 
    294 #: ../includes/admin/class-rh-admin-welcome.php:307
    295 msgid ""
    296 "Admins now have the ability to link past orders to a customer (before they "
    297 "registered) by email address."
    298 msgstr ""
    299 
    300 #: ../includes/admin/class-rh-admin-welcome.php:312
    301 msgid ""
    302 "We've added a new option to restrict reviews to logged in purchasers, and "
    303 "made ratings editable from the backend."
    304 msgstr ""
    305 
    306 #: ../includes/admin/class-rh-admin-welcome.php:319
     377#: ../includes/admin/class-rh-admin-welcome.php:316
     378msgid ""
     379"Most people won't notice this but the entire plugin has been restructured to "
     380"help the <strong>developers</strong> out there get the most out of Recipe "
     381"Hero."
     382msgstr ""
     383
     384#: ../includes/admin/class-rh-admin-welcome.php:321
     385msgid ""
     386"After months of work, Recipe Hero is finally ready for extensions - "
     387"additional plugins (both free and premium) that add additional "
     388"functionality, like <strong>Custom Labels</strong>, <strong>Recipe Videos</"
     389"strong> & <strong>Front-End Recipe Submission</strong>. Rejoice!"
     390msgstr ""
     391
     392#: ../includes/admin/class-rh-admin-welcome.php:328
    307393msgid "Go to Recipe Hero Settings"
    308394msgstr ""
    309395
    310 #: ../includes/admin/class-rh-admin-welcome.php:334
     396#: ../includes/admin/class-rh-admin-welcome.php:343
    311397msgid ""
    312398"Recipe Hero is developed by <a href=\"http://bryce.se/\">Bryce Adams</a> and "
     
    316402msgstr ""
    317403
    318 #: ../includes/admin/class-rh-admin-welcome.php:350
     404#: ../includes/admin/class-rh-admin-welcome.php:359
    319405msgid ""
    320406"Recipe Hero has been kindly translated into a couple other languages thanks "
     
    323409msgstr ""
    324410
    325 #: ../includes/admin/class-rh-admin-welcome.php:374
     411#: ../includes/admin/class-rh-admin-welcome.php:383
    326412#, php-format
    327413msgid "View %s"
     
    336422msgstr ""
    337423
    338 #: ../includes/admin/rh-columns.php:33 ../includes/class-rh-post-types.php:66
    339 #: ../includes/rh-tax.php:46 ../templates/archive/category.php:58
    340 #: ../templates/single/category.php:58
     424#: ../includes/admin/rh-columns.php:33 ../includes/class-rh-post-types.php:68
     425#: ../includes/rh-tax.php:46
     426#: ../includes/templates-parts/rh-templates-tax-header-functions.php:39
     427#: ../templates/archive/category.php:57 ../templates/single/category.php:57
    341428msgid "Course"
    342429msgstr ""
    343430
    344 #: ../includes/admin/rh-columns.php:34 ../includes/class-rh-post-types.php:97
    345 #: ../includes/rh-tax.php:89 ../templates/archive/category.php:48
    346 #: ../templates/single/category.php:48
     431#: ../includes/admin/rh-columns.php:34 ../includes/class-rh-post-types.php:103
     432#: ../includes/rh-tax.php:89
     433#: ../includes/templates-parts/rh-templates-tax-header-functions.php:30
     434#: ../templates/archive/category.php:47 ../templates/single/category.php:47
    347435msgid "Cuisine"
    348436msgstr ""
     
    396484msgstr ""
    397485
    398 #: ../includes/admin/rh-help-tab.php:81 ../includes/class-rh-install.php:120
     486#: ../includes/admin/rh-help-tab.php:81 ../includes/class-rh-install.php:178
    399487msgid "Support"
    400488msgstr ""
     
    441529msgstr ""
    442530
    443 #: ../includes/admin/settings/class-rh-settings-general.php:71
    444 msgid "Sort by A to Z"
    445 msgstr ""
    446 
    447 #: ../includes/admin/settings/class-rh-settings-general.php:72
    448 msgid "Sort by Z to A"
     531#: ../includes/admin/settings/class-rh-settings-general.php:81
     532msgid "Recipe Images"
    449533msgstr ""
    450534
    451535#: ../includes/admin/settings/class-rh-settings-general.php:83
    452 msgid "Recipe Images"
    453 msgstr ""
    454 
    455 #: ../includes/admin/settings/class-rh-settings-general.php:85
    456536#, php-format
    457537msgid ""
     
    462542msgstr ""
    463543
    464 #: ../includes/admin/settings/class-rh-settings-general.php:90
     544#: ../includes/admin/settings/class-rh-settings-general.php:88
    465545msgid "Main Recipe Image"
    466546msgstr ""
    467547
    468 #: ../includes/admin/settings/class-rh-settings-general.php:91
     548#: ../includes/admin/settings/class-rh-settings-general.php:89
    469549msgid "This size is for the main image in archives and single recipe pages"
    470550msgstr ""
    471551
    472 #: ../includes/admin/settings/class-rh-settings-general.php:104
     552#: ../includes/admin/settings/class-rh-settings-general.php:102
    473553msgid "Recipe Steps Images"
    474554msgstr ""
    475555
    476 #: ../includes/admin/settings/class-rh-settings-general.php:105
     556#: ../includes/admin/settings/class-rh-settings-general.php:103
    477557msgid ""
    478558"This is the size of the images attached to steps / instructions on a single "
     
    480560msgstr ""
    481561
    482 #: ../includes/admin/settings/class-rh-settings-general.php:118
     562#: ../includes/admin/settings/class-rh-settings-general.php:116
    483563msgid "Recipe Thumbnails"
    484564msgstr ""
    485565
    486 #: ../includes/admin/settings/class-rh-settings-general.php:119
     566#: ../includes/admin/settings/class-rh-settings-general.php:117
    487567msgid ""
    488568"This size is usually used for the gallery of images on a single recipe page"
    489569msgstr ""
    490570
    491 #: ../includes/admin/settings/class-rh-settings-general.php:132
     571#: ../includes/admin/settings/class-rh-settings-general.php:130
    492572msgid "Recipe Image Gallery & Steps"
    493573msgstr ""
    494574
    495 #: ../includes/admin/settings/class-rh-settings-general.php:133
     575#: ../includes/admin/settings/class-rh-settings-general.php:131
    496576msgid "Enable Lightbox for recipe gallery & steps"
    497577msgstr ""
    498578
    499 #: ../includes/admin/settings/class-rh-settings-general.php:136
     579#: ../includes/admin/settings/class-rh-settings-general.php:134
    500580msgid ""
    501581"Include Recipe Hero's lightbox. Recipe gallery images will open in a "
     
    511591msgstr ""
    512592
    513 #: ../includes/class-rh-install.php:103
     593#: ../includes/admin/views/html-notice-labels.php:13
     594msgid ""
     595"<strong>Notice:</strong> It looks like you used to have <strong>Recipe Hero "
     596"Labels</strong> configured. In 1.0 they were removed, but there's a free "
     597"extension that allows you to easily change the labels."
     598msgstr ""
     599
     600#: ../includes/admin/views/html-notice-labels.php:14
     601#: ../includes/fields/includes/CMB2_Types.php:798
     602#: ../includes/fields/includes/CMB2_Types.php:878
     603#: ../includes/fields/includes/CMB2_hookup.php:175
     604msgid "Download"
     605msgstr ""
     606
     607#: ../includes/admin/views/html-notice-labels.php:14
     608msgid "Cool - Understood!"
     609msgstr ""
     610
     611#: ../includes/admin/views/html-notice-update.php:13
     612msgid ""
     613"<strong>Recipe Hero Data Update Required</strong> &#8211; We just need to "
     614"update your install to the latest version!"
     615msgstr ""
     616
     617#: ../includes/admin/views/html-notice-update.php:14
     618msgid "Run the updater"
     619msgstr ""
     620
     621#: ../includes/admin/views/html-notice-update.php:18
     622msgid ""
     623"It is strongly recommended that you backup your database before proceeding. "
     624"Are you sure you wish to run the updater now?"
     625msgstr ""
     626
     627#: ../includes/class-rh-install.php:161
    514628msgid "View Recipe Hero Settings"
    515629msgstr ""
    516630
    517 #: ../includes/class-rh-install.php:119
     631#: ../includes/class-rh-install.php:177
    518632msgid "View Recipe Hero Documentation"
    519633msgstr ""
    520634
    521 #: ../includes/class-rh-install.php:120
     635#: ../includes/class-rh-install.php:178
    522636msgid "Get Support for Recipe Hero"
    523637msgstr ""
    524638
    525 #: ../includes/class-rh-post-types.php:53 ../includes/rh-tax.php:33
     639#: ../includes/class-rh-post-types.php:52 ../includes/rh-tax.php:30
     640msgctxt "taxonomy general name"
     641msgid "Courses"
     642msgstr ""
     643
     644#: ../includes/class-rh-post-types.php:53 ../includes/rh-tax.php:31
     645msgctxt "taxonomy singular name"
     646msgid "Course"
     647msgstr ""
     648
     649#: ../includes/class-rh-post-types.php:54 ../includes/rh-tax.php:32
     650msgctxt "Course"
    526651msgid "Add New Course"
    527652msgstr ""
    528653
    529 #: ../includes/class-rh-post-types.php:54 ../includes/rh-tax.php:34
     654#: ../includes/class-rh-post-types.php:55 ../includes/rh-tax.php:33
     655msgid "Add New Course"
     656msgstr ""
     657
     658#: ../includes/class-rh-post-types.php:56 ../includes/rh-tax.php:34
    530659msgid "Edit Course"
    531660msgstr ""
    532661
    533 #: ../includes/class-rh-post-types.php:55 ../includes/rh-tax.php:35
     662#: ../includes/class-rh-post-types.php:57 ../includes/rh-tax.php:35
    534663msgid "New Course"
    535664msgstr ""
    536665
    537 #: ../includes/class-rh-post-types.php:56 ../includes/rh-tax.php:36
     666#: ../includes/class-rh-post-types.php:58 ../includes/rh-tax.php:36
    538667msgid "View Course"
    539668msgstr ""
    540669
    541 #: ../includes/class-rh-post-types.php:57 ../includes/rh-tax.php:37
     670#: ../includes/class-rh-post-types.php:59 ../includes/rh-tax.php:37
    542671msgid "Search Courses"
    543672msgstr ""
    544673
    545 #: ../includes/class-rh-post-types.php:58 ../includes/rh-tax.php:38
     674#: ../includes/class-rh-post-types.php:60 ../includes/rh-tax.php:38
    546675msgid "No Course found"
    547676msgstr ""
    548677
    549 #: ../includes/class-rh-post-types.php:59 ../includes/rh-tax.php:39
     678#: ../includes/class-rh-post-types.php:61 ../includes/rh-tax.php:39
    550679msgid "No Course found in Trash"
    551680msgstr ""
    552681
    553 #: ../includes/class-rh-post-types.php:84 ../includes/rh-tax.php:76
     682#: ../includes/class-rh-post-types.php:75
     683msgctxt "slug"
     684msgid "course"
     685msgstr ""
     686
     687#: ../includes/class-rh-post-types.php:87 ../includes/rh-tax.php:73
     688msgctxt "taxonomy general name"
     689msgid "Cuisines"
     690msgstr ""
     691
     692#: ../includes/class-rh-post-types.php:88 ../includes/rh-tax.php:74
     693msgctxt "taxonomy singular name"
     694msgid "Cuisine"
     695msgstr ""
     696
     697#: ../includes/class-rh-post-types.php:89 ../includes/rh-tax.php:75
     698msgctxt "Cuisine"
    554699msgid "Add New Cuisine"
    555700msgstr ""
    556701
    557 #: ../includes/class-rh-post-types.php:85 ../includes/rh-tax.php:77
     702#: ../includes/class-rh-post-types.php:90 ../includes/rh-tax.php:76
     703msgid "Add New Cuisine"
     704msgstr ""
     705
     706#: ../includes/class-rh-post-types.php:91 ../includes/rh-tax.php:77
    558707msgid "Edit Cuisine"
    559708msgstr ""
    560709
    561 #: ../includes/class-rh-post-types.php:86 ../includes/rh-tax.php:78
     710#: ../includes/class-rh-post-types.php:92 ../includes/rh-tax.php:78
    562711msgid "New Cuisine"
    563712msgstr ""
    564713
    565 #: ../includes/class-rh-post-types.php:87 ../includes/rh-tax.php:79
     714#: ../includes/class-rh-post-types.php:93 ../includes/rh-tax.php:79
    566715msgid "View Cuisine"
    567716msgstr ""
    568717
    569 #: ../includes/class-rh-post-types.php:88 ../includes/rh-tax.php:80
     718#: ../includes/class-rh-post-types.php:94 ../includes/rh-tax.php:80
    570719msgid "Search Cuisines"
    571720msgstr ""
    572721
    573 #: ../includes/class-rh-post-types.php:89 ../includes/rh-tax.php:81
     722#: ../includes/class-rh-post-types.php:95 ../includes/rh-tax.php:81
    574723msgid "No Cuisine found"
    575724msgstr ""
    576725
    577 #: ../includes/class-rh-post-types.php:90 ../includes/rh-tax.php:82
     726#: ../includes/class-rh-post-types.php:96 ../includes/rh-tax.php:82
    578727msgid "No Cuisine found in Trash"
    579728msgstr ""
    580729
    581 #: ../includes/class-rh-post-types.php:123
     730#: ../includes/class-rh-post-types.php:110
     731msgctxt "slug"
     732msgid "cuisine"
     733msgstr ""
     734
     735#: ../includes/class-rh-post-types.php:135
     736msgctxt "slug"
     737msgid "recipe"
     738msgstr ""
     739
     740#: ../includes/class-rh-post-types.php:138
     741msgctxt "post type general name"
     742msgid "Recipes"
     743msgstr ""
     744
     745#: ../includes/class-rh-post-types.php:139
     746msgctxt "post type singular name"
     747msgid "Recipe"
     748msgstr ""
     749
     750#: ../includes/class-rh-post-types.php:140
    582751msgid "All Recipes"
    583752msgstr ""
    584753
    585 #: ../includes/class-rh-post-types.php:124
     754#: ../includes/class-rh-post-types.php:141
    586755msgid "Add New"
    587756msgstr ""
    588757
    589 #: ../includes/class-rh-post-types.php:125
     758#: ../includes/class-rh-post-types.php:142
    590759msgid "Add New Recipe"
    591760msgstr ""
    592761
    593 #: ../includes/class-rh-post-types.php:126 ../templates/archive/meta.php:33
     762#: ../includes/class-rh-post-types.php:143 ../templates/archive/meta.php:33
    594763#: ../templates/single/meta.php:35
    595764msgid "Edit Recipe"
    596765msgstr ""
    597766
    598 #: ../includes/class-rh-post-types.php:127
     767#: ../includes/class-rh-post-types.php:144
    599768msgid "New Recipe"
    600769msgstr ""
    601770
    602 #: ../includes/class-rh-post-types.php:128
     771#: ../includes/class-rh-post-types.php:145
    603772msgid "View Recipe"
    604773msgstr ""
    605774
    606 #: ../includes/class-rh-post-types.php:129
     775#: ../includes/class-rh-post-types.php:146
    607776msgid "Search Recipes"
    608777msgstr ""
    609778
    610 #: ../includes/class-rh-post-types.php:130
     779#: ../includes/class-rh-post-types.php:147
    611780msgid "No Recipes found"
    612781msgstr ""
    613782
    614 #: ../includes/class-rh-post-types.php:131
     783#: ../includes/class-rh-post-types.php:148
    615784msgid "No Recipes found in the trash"
    616785msgstr ""
    617786
    618 #: ../includes/class-rh-post-types.php:133
     787#: ../includes/class-rh-post-types.php:150
    619788msgid "Recipe Hero"
    620789msgstr ""
    621790
    622 #: ../includes/class-rh-post-types.php:142
    623 msgid "Recipe"
    624 msgstr ""
    625 
    626 #: ../includes/class-rh-post-types.php:169
     791#: ../includes/class-rh-post-types.php:186
    627792#, php-format
    628793msgid "Recipe updated. <a href=\"%s\">View recipe</a>"
    629794msgstr ""
    630795
    631 #: ../includes/class-rh-post-types.php:172
     796#: ../includes/class-rh-post-types.php:189
    632797msgid "Recipe updated."
    633798msgstr ""
    634799
    635 #: ../includes/class-rh-post-types.php:173
     800#: ../includes/class-rh-post-types.php:190
    636801#, php-format
    637802msgid "Recipe restored to revision from %s"
    638803msgstr ""
    639804
    640 #: ../includes/class-rh-post-types.php:174
     805#: ../includes/class-rh-post-types.php:191
    641806#, php-format
    642807msgid "Recipe published. <a href=\"%s\">View recipe</a>"
    643808msgstr ""
    644809
    645 #: ../includes/class-rh-post-types.php:175
     810#: ../includes/class-rh-post-types.php:192
    646811msgid "Recipe saved."
    647812msgstr ""
    648813
    649 #: ../includes/class-rh-post-types.php:176
     814#: ../includes/class-rh-post-types.php:193
    650815#, php-format
    651816msgid "Recipe submitted. <a target=\"_blank\" href=\"%s\">Preview recipe</a>"
    652817msgstr ""
    653818
    654 #: ../includes/class-rh-post-types.php:177
     819#: ../includes/class-rh-post-types.php:194
    655820#, php-format
    656821msgid ""
     
    659824msgstr ""
    660825
    661 #: ../includes/class-rh-post-types.php:177
     826#: ../includes/class-rh-post-types.php:194
    662827msgid "M j, Y @ G:i"
    663828msgstr ""
    664829
    665 #: ../includes/class-rh-post-types.php:178
     830#: ../includes/class-rh-post-types.php:195
    666831#, php-format
    667832msgid ""
     
    735900msgstr ""
    736901
    737 #: ../includes/fields/includes/CMB2_Types.php:798
    738 #: ../includes/fields/includes/CMB2_Types.php:878
    739 #: ../includes/fields/includes/CMB2_hookup.php:175
    740 msgid "Download"
    741 msgstr ""
    742 
    743902#: ../includes/fields/includes/CMB2_hookup.php:123
    744903#: ../includes/fields/includes/CMB2_hookup.php:160
     
    746905msgstr ""
    747906
    748 #: ../includes/fields/includes/CMB2_hookup.php:124
    749 msgid "Default"
    750 msgstr ""
    751 
    752907#: ../includes/fields/includes/CMB2_hookup.php:125
    753908msgid "Select Color"
     
    9391094
    9401095#: ../includes/rh-fields.php:162
    941 msgid "None (blank)"
    942 msgstr ""
    943 
    944 #: ../includes/rh-fields.php:170
     1096msgid "Blank Amount"
     1097msgstr ""
     1098
     1099#: ../includes/rh-fields.php:163
     1100msgid "None (No Quantity)"
     1101msgstr ""
     1102
     1103#: ../includes/rh-fields.php:169
    9451104msgid "Ingredient"
    9461105msgstr ""
    9471106
    948 #: ../includes/rh-fields.php:177
     1107#: ../includes/rh-fields.php:176
    9491108msgid "Start typing to see used ingredients (or add a new one)"
    9501109msgstr ""
    9511110
    952 #: ../includes/rh-fields.php:191
     1111#: ../includes/rh-fields.php:190
    9531112msgid "Steps"
    9541113msgstr ""
    9551114
    956 #: ../includes/rh-fields.php:197
     1115#: ../includes/rh-fields.php:196
    9571116msgid "Add all of the preparation and cooking steps for this recipe."
    9581117msgstr ""
    9591118
     1119#: ../includes/rh-fields.php:198
     1120msgid "Step {#}"
     1121msgstr ""
     1122
    9601123#: ../includes/rh-fields.php:199
    961 msgid "Step {#}"
     1124msgid "Add Another Step"
    9621125msgstr ""
    9631126
    9641127#: ../includes/rh-fields.php:200
    965 msgid "Add Another Step"
    966 msgstr ""
    967 
    968 #: ../includes/rh-fields.php:201
    9691128msgid "Remove Step"
    9701129msgstr ""
    9711130
    972 #: ../includes/rh-fields.php:207 ../templates/single/steps.php:19
     1131#: ../includes/rh-fields.php:206 ../templates/single/steps.php:19
    9731132msgid "Instructions"
    9741133msgstr ""
    9751134
     1135#: ../includes/rh-fields.php:211
     1136msgid "Step Photo"
     1137msgstr ""
     1138
    9761139#: ../includes/rh-fields.php:212
    977 msgid "Step Photo"
    978 msgstr ""
    979 
    980 #: ../includes/rh-fields.php:213
    9811140msgid "Upload an image using the media uploader (optional)"
    9821141msgstr ""
     
    10011160msgstr ""
    10021161
     1162#: ../includes/templates-parts/rh-templates-single-functions.php:256
     1163msgctxt "Abbreviation for minutes"
     1164msgid "m"
     1165msgstr ""
     1166
     1167#: ../includes/templates-parts/rh-templates-single-functions.php:307
     1168#, php-format
     1169msgid "1 Gram"
     1170msgid_plural "%s Grams"
     1171msgstr[0] ""
     1172msgstr[1] ""
     1173
     1174#: ../includes/templates-parts/rh-templates-single-functions.php:310
     1175#, php-format
     1176msgid "1 Ounce"
     1177msgid_plural "%s Ounces"
     1178msgstr[0] ""
     1179msgstr[1] ""
     1180
     1181#: ../includes/templates-parts/rh-templates-single-functions.php:313
     1182#, php-format
     1183msgid "1 Millilitre"
     1184msgid_plural "%s Millilitres"
     1185msgstr[0] ""
     1186msgstr[1] ""
     1187
     1188#: ../includes/templates-parts/rh-templates-single-functions.php:316
     1189#, php-format
     1190msgid "1 Teaspoon"
     1191msgid_plural "%s Teaspoons"
     1192msgstr[0] ""
     1193msgstr[1] ""
     1194
     1195#: ../includes/templates-parts/rh-templates-single-functions.php:319
     1196#, php-format
     1197msgid "1 Tablespoon"
     1198msgid_plural "%s Tablespoons"
     1199msgstr[0] ""
     1200msgstr[1] ""
     1201
     1202#: ../includes/templates-parts/rh-templates-single-functions.php:322
     1203#, php-format
     1204msgid "1 Cup"
     1205msgid_plural "%s Cups"
     1206msgstr[0] ""
     1207msgstr[1] ""
     1208
     1209#: ../includes/templates-parts/rh-templates-single-functions.php:325
     1210#, php-format
     1211msgid "1 Liter"
     1212msgid_plural "%s Liters"
     1213msgstr[0] ""
     1214msgstr[1] ""
     1215
     1216#: ../includes/templates-parts/rh-templates-single-functions.php:328
     1217#, php-format
     1218msgid "1 Pound"
     1219msgid_plural "%s Pounds"
     1220msgstr[0] ""
     1221msgstr[1] ""
     1222
     1223#: ../includes/templates-parts/rh-templates-single-functions.php:331
     1224#, php-format
     1225msgid "1 Kilogram"
     1226msgid_plural "%s Kilograms"
     1227msgstr[0] ""
     1228msgstr[1] ""
     1229
     1230#: ../includes/templates-parts/rh-templates-single-functions.php:334
     1231#, php-format
     1232msgid "1 Slice"
     1233msgid_plural "%s Slices"
     1234msgstr[0] ""
     1235msgstr[1] ""
     1236
     1237#: ../includes/templates-parts/rh-templates-single-functions.php:337
     1238#, php-format
     1239msgid "1 Piece"
     1240msgid_plural "%s Pieces"
     1241msgstr[0] ""
     1242msgstr[1] ""
     1243
    10031244#: ../recipe-hero.php:103 ../recipe-hero.php:112
    10041245msgid "Cheatin&#8217; huh?"
    10051246msgstr ""
    10061247
    1007 #: ../templates/archive/details.php:31 ../templates/single/details.php:31
     1248#: ../templates/archive/details.php:30 ../templates/single/details.php:32
    10081249msgid "Serves"
    10091250msgstr ""
    10101251
    1011 #: ../templates/archive/details.php:40 ../templates/single/details.php:40
     1252#: ../templates/archive/details.php:39 ../templates/single/details.php:41
    10121253msgid "Equipment"
    10131254msgstr ""
    10141255
    1015 #: ../templates/archive/details.php:57 ../templates/single/details.php:57
     1256#: ../templates/archive/details.php:56 ../templates/single/details.php:58
    10161257msgid "Prep time"
    10171258msgstr ""
    10181259
    1019 #: ../templates/archive/details.php:67 ../templates/single/details.php:67
     1260#: ../templates/archive/details.php:66 ../templates/single/details.php:68
    10201261msgid "Cook Time"
    10211262msgstr ""
     
    10451286msgstr ""
    10461287
     1288#: ../templates/single/details.php:19
     1289#, php-format
     1290msgctxt ""
     1291"Abbreviations for time: Replace h (hour) & m (minute) with appropriate "
     1292"appreviation"
     1293msgid "%dh %02dm"
     1294msgstr ""
     1295
    10471296#: ../templates/single/nutrition.php:18
    10481297msgid "Nutrition"
  • recipe-hero/trunk/recipe-hero.php

    r1038648 r1040292  
    1212 * Plugin URI:        http://recipehero.in/
    1313 * Description:       The last recipe plugin you'll ever need.
    14  * Version:           1.0.0
     14 * Version:           1.0.1
    1515 * Author:            Bryce Adams
    1616 * Author URI:        http://bryce.se/
     
    3737 *
    3838 * @class RecipeHero
    39  * @version 1.0.0
     39 * @version 1.0.1
    4040 */
    4141
     
    4545     * Plugin version, used for cache-busting of style and script file references.
    4646     *
    47      * @since   1.0.0
     47     * @since   1.0.1
    4848     *
    4949     * @var     string
    5050     */
    51     public static $version = '1.0.0';
     51    public static $version = '1.0.1';
    5252
    5353    /**
     
    167167        }
    168168
    169         // @todo Temp Var Globals
    170         $rh_general_options = get_option( 'recipe_hero_general_options' );
    171         $rh_style_options = get_option( 'recipe_hero_style_options' );
    172         $rh_labels_options = get_option( 'recipe_hero_labels_options' );
    173         $rh_other_options = get_option( 'recipe_hero_other_options' );
    174 
    175169    }
    176170
     
    249243
    250244        /**
    251          * Admin Locale. Looks in:
    252          *
    253          *      - WP_LANG_DIR/recipe-hero/recipe-hero-admin-LOCALE.mo
    254          *      - WP_LANG_DIR/plugins/recipe-hero-admin-LOCALE.mo
    255          */
    256         if ( is_admin() ) {
    257             load_textdomain( 'recipe-hero', $dir . 'recipe-hero/recipe-hero-admin-' . $locale . '.mo' );
    258             load_textdomain( 'recipe-hero', $dir . 'plugins/recipe-hero-admin-' . $locale . '.mo' );
    259         }
    260 
    261         /**
    262          * Frontend/global Locale. Looks in:
     245         * Global Locale. Looks in:
    263246         *
    264247         *      - WP_LANG_DIR/recipe-hero/recipe-hero-LOCALE.mo
    265          *      - recipe-hero/i18n/languages/recipe-hero-LOCALE.mo (which if not found falls back to:)
     248         *      - recipe-hero/languages/recipe-hero-LOCALE.mo (which if not found falls back to:)
    266249         *      - WP_LANG_DIR/plugins/recipe-hero-LOCALE.mo
    267250         */
    268251        load_textdomain( 'recipe-hero', $dir . 'recipe-hero/recipe-hero-' . $locale . '.mo' );
    269         load_plugin_textdomain( 'recipe-hero', false, plugin_basename( dirname( __FILE__ ) ) . "/i18n/languages" );
     252        load_plugin_textdomain( 'recipe-hero', false, plugin_basename( dirname( __FILE__ ) ) . "/languages" );
    270253    }
    271254
  • recipe-hero/trunk/templates/archive/category.php

    r1038648 r1040292  
    55 * @package   Recipe Hero
    66 * @author    Captain Theme <info@captaintheme.com>
    7  * @version       0.8.0
     7 * @version   1.0.0
    88 */
    99
     
    1111
    1212global $post;
    13 global $rh_labels_options;
    1413
    15 $cuisine_terms = wp_get_object_terms($post->ID, 'cuisine');
    16 $course_terms = wp_get_object_terms($post->ID, 'course');
     14$cuisine_terms = wp_get_object_terms( $post->ID, 'cuisine' );
     15$course_terms = wp_get_object_terms( $post->ID, 'course' );
    1716   
    1817if ( ! empty ( $cuisine_terms ) ) {
  • recipe-hero/trunk/templates/archive/details.php

    r1038648 r1040292  
    55 * @package   Recipe Hero
    66 * @author    Captain Theme <info@captaintheme.com>
    7  * @version       0.8.0
     7 * @version   1.0.0
    88 */
    99
     
    1212// Variables
    1313global $post;
    14 global $rh_labels_options;
    1514
    1615$serves         = get_post_meta( $post->ID, '_recipe_hero_detail_serves', true );
    1716$serves_type    = get_post_meta( $post->ID, '_recipe_hero_detail_serves_type', true );
    1817$equipment      = get_post_meta ( $post->ID, '_recipe_hero_detail_equipment', false );
    19 $prep_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_prep_time', true ) );
    20 $cook_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_cook_time', true ) );
     18
     19$format         = _x( '%dh %02dm', 'Abbreviations for time: Replace only h (hour) & m (minute) with appropriate appreviation', 'recipe-hero' );
     20$prep_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_prep_time', true ), $format );
     21$cook_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_cook_time', true ), $format );
    2122$total_time     = recipe_hero_convert_minute_hour ( recipe_hero_calc_total_cook_time() ); ?>
    2223
  • recipe-hero/trunk/templates/global/wrapper-start.php

    r971440 r1040292  
    88 * @link      http://captaintheme.com
    99 * @copyright 2014 Captain Theme
    10  * @version       0.8.0
     10 * @version   1.0.0
    1111 */
    1212
    1313if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    14 
    15 global $rh_general_options;
    1614
    1715// Current WordPress Template Chosen
     
    2018$remove_char = array( '#', '.' );
    2119
    22 if ( isset( $rh_general_options['main_content_class'] ) ) {
    23 
    24     $main_content_class_after = str_replace( $remove_char, "", $rh_general_options['main_content_class'] );
    25 
    26 } else {
    27 
    28     $main_content_class_after = '';
    29 
    30 }
    31 
    3220switch( $template ) {
    3321    case 'twentyeleven' :
    34         echo '<div id="primary"><div id="content" class="' . $main_content_class_after . '">';
     22        echo '<div id="primary"><div id="content">';
    3523        break;
    3624    case 'twentytwelve' :
    37         echo '<div id="primary" class="site-content"><div id="content" class="' . $main_content_class_after . '">';
     25        echo '<div id="primary" class="site-content"><div id="content">';
    3826        break;
    3927    case 'twentythirteen' :
    40         echo '<div id="primary" class="site-content"><div id="content" class="entry-content twentythirteen' . $main_content_class_after . '">';
     28        echo '<div id="primary" class="site-content"><div id="content" class="entry-content twentythirteen">';
    4129        break;
    4230    case 'twentyfourteen' :
    43         echo '<div id="primary" class="content-area"><div id="content" class="site-content twentyfourteen' . $main_content_class_after . '"><div class="tfrh">';
     31        echo '<div id="primary" class="content-area"><div id="content" class="site-content twentyfourteen"><div class="tfrh">';
    4432        break;
    4533    default :
    46         echo '<div id="container"><div id="content" class="content ' . $main_content_class_after;
     34        echo '<div id="container"><div id="content" class="content';
    4735        if ( is_search() ) {
    4836            echo ' recipe-search';
  • recipe-hero/trunk/templates/single/category.php

    r1038648 r1040292  
    55 * @package   Recipe Hero
    66 * @author    Captain Theme <info@captaintheme.com>
    7  * @version       0.8.0
     7 * @version   1.0.0
    88 */
    99
     
    1111
    1212global $post;
    13 global $rh_labels_options;
    1413
    15 $cuisine_terms = wp_get_object_terms($post->ID, 'cuisine');
    16 $course_terms = wp_get_object_terms($post->ID, 'course');
     14$cuisine_terms = wp_get_object_terms( $post->ID, 'cuisine' );
     15$course_terms = wp_get_object_terms( $post->ID, 'course' );
    1716   
    1817if ( ! empty ( $cuisine_terms ) ) {
  • recipe-hero/trunk/templates/single/details.php

    r1038648 r1040292  
    55 * @package   Recipe Hero
    66 * @author    Captain Theme <info@captaintheme.com>
    7  * @version       0.8.0
     7 * @version   1.0.0
    88 */
    99
     
    1212// Variables
    1313global $post;
    14 global $rh_labels_options;
    1514
    1615$serves         = get_post_meta( $post->ID, '_recipe_hero_detail_serves', true );
    1716$serves_type    = get_post_meta( $post->ID, '_recipe_hero_detail_serves_type', true );
    1817$equipment      = get_post_meta ( $post->ID, '_recipe_hero_detail_equipment', false );
    19 $prep_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_prep_time', true ) );
    20 $cook_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_cook_time', true ) );
     18
     19$format         = _x( '%dh %02dm', 'Abbreviations for time: Replace only h (hour) & m (minute) with appropriate appreviation', 'recipe-hero' );
     20$prep_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_prep_time', true ), $format );
     21$cook_time      = recipe_hero_convert_minute_hour ( get_post_meta ( $post->ID, '_recipe_hero_detail_cook_time', true ), $format );
    2122$total_time     = recipe_hero_convert_minute_hour ( recipe_hero_calc_total_cook_time() ); ?>
    2223
  • recipe-hero/trunk/templates/single/ingredients.php

    r1038648 r1040292  
    55 * @package   Recipe Hero
    66 * @author    Captain Theme <info@captaintheme.com>
    7  * @version   1.0.0
     7 * @version   1.0.1
     8 * @todo      Move functionaility into template parts and hook it in
    89 */
    910
     
    2223        </h4>
    2324
     25        <?php do_action( 'recipe_hero_before_ingredients_list' ); ?>
     26
    2427        <ul class="ingredients-list">
    2528
     
    3134
    3235                $ingredient_quantity = $ingredient['quantity'];
    33 
    3436                $ingredient_amount_pre = $ingredient['amount'];
    35                
    3637                $ingredient_amount = recipe_hero_output_single_ingredient_amount( $ingredient_amount_pre, $ingredient_quantity );
    3738           
     
    4647            ?>
    4748
    48             <li class="ingredients-item" itemprop="ingredients">
    49                 <?php echo $ingredient_amount; ?>
    50                 <?php echo $ingredient_name; ?>
     49            <li class="ingredients-item <?php echo rh_format_string( $ingredient_name ); ?>" itemprop="ingredients">
     50
     51                <?php do_action( 'recipe_hero_before_ingredients_list_item' ); ?>
     52
     53                <div class="amount">
     54                    <?php echo $ingredient_amount; ?>
     55                </div>
     56                <div class="name">
     57                    <?php echo $ingredient_name; ?>
     58                </div>
     59
     60                <?php do_action( 'recipe_hero_after_ingredients_list_item' ); ?>
     61
    5162            </li>
    5263
    53         <?php
    54         }
    55         ?>
     64        <?php } ?>
     65
    5666        </ul>
     67
     68        <?php do_action( 'recipe_hero_after_ingredients_list' ); ?>
    5769
    5870    <hr class="recipe-single-seperator" />
  • recipe-hero/trunk/uninstall.php

    r1038648 r1040292  
    1111 */
    1212
    13 if ( ! defined( 'ABSPATH' ) ) {
    14     exit; // Exit if accessed directly
     13if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
     14    exit();
    1515}
    1616
Note: See TracChangeset for help on using the changeset viewer.