Changeset 1040292
- Timestamp:
- 12/08/2014 12:01:52 PM (11 years ago)
- Location:
- recipe-hero
- Files:
-
- 238 added
- 2 deleted
- 23 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/LICENSE.txt (added)
-
tags/1.0.1/README.txt (added)
-
tags/1.0.1/assets (added)
-
tags/1.0.1/assets/admin (added)
-
tags/1.0.1/assets/admin/css (added)
-
tags/1.0.1/assets/admin/css/.sass-cache (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/011d048fc130939b11ff1b3e21c797b202fd5728 (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/011d048fc130939b11ff1b3e21c797b202fd5728/admin.scssc (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/05cdcc060191ea6c8b1475c6612ef493e135400c (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/05cdcc060191ea6c8b1475c6612ef493e135400c/admin.scssc (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/290f4bff6e047babdd617357ee832741b4083312 (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/290f4bff6e047babdd617357ee832741b4083312/admin.scssc (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/60df04718c0615a0c33380f110190f6fd1485b74 (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/60df04718c0615a0c33380f110190f6fd1485b74/chosen.scssc (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb/activation.scssc (added)
-
tags/1.0.1/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb/chosen.scssc (added)
-
tags/1.0.1/assets/admin/css/activation.css (added)
-
tags/1.0.1/assets/admin/css/admin.css (added)
-
tags/1.0.1/assets/admin/css/admin.scss (added)
-
tags/1.0.1/assets/admin/css/index.php (added)
-
tags/1.0.1/assets/admin/css/select2.css (added)
-
tags/1.0.1/assets/admin/css/tiptip.css (added)
-
tags/1.0.1/assets/admin/js (added)
-
tags/1.0.1/assets/admin/js/admin.js (added)
-
tags/1.0.1/assets/admin/js/index.php (added)
-
tags/1.0.1/assets/admin/js/jquery-select (added)
-
tags/1.0.1/assets/admin/js/jquery-select/min (added)
-
tags/1.0.1/assets/admin/js/jquery-select/min/select2-rtl-min.js (added)
-
tags/1.0.1/assets/admin/js/jquery-select/select2-rtl-min.js (added)
-
tags/1.0.1/assets/admin/js/jquery-select/select2-rtl.js (added)
-
tags/1.0.1/assets/admin/js/jquery-select/select2.js (added)
-
tags/1.0.1/assets/admin/js/jquery-select/select2.min.js (added)
-
tags/1.0.1/assets/admin/js/jquery-tiptip (added)
-
tags/1.0.1/assets/admin/js/jquery-tiptip/jquery.tipTip.min.js (added)
-
tags/1.0.1/assets/admin/js/jquery.numeric.js (added)
-
tags/1.0.1/assets/admin/js/liquidmetal.js (added)
-
tags/1.0.1/assets/admin/js/meta-boxes-gallery.js (added)
-
tags/1.0.1/assets/admin/js/min (added)
-
tags/1.0.1/assets/admin/js/min/meta-boxes-gallery-min.js (added)
-
tags/1.0.1/assets/admin/js/min/recipe-ordering-min.js (added)
-
tags/1.0.1/assets/admin/js/recipe-ordering.js (added)
-
tags/1.0.1/assets/frontend (added)
-
tags/1.0.1/assets/frontend/.sass-cache (added)
-
tags/1.0.1/assets/frontend/.sass-cache/f5c3860577bdc1ca5639dbb3f9196f48dd280130 (added)
-
tags/1.0.1/assets/frontend/.sass-cache/f5c3860577bdc1ca5639dbb3f9196f48dd280130/rh-styles-rtl.scssc (added)
-
tags/1.0.1/assets/frontend/css (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-mixins.scssc (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-styles-rtl.scssc (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-styles.scssc (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f/rh-mixins.scssc (added)
-
tags/1.0.1/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f/rh-styles.scssc (added)
-
tags/1.0.1/assets/frontend/css/gridism.css (added)
-
tags/1.0.1/assets/frontend/css/index.php (added)
-
tags/1.0.1/assets/frontend/css/magnific-popup.css (added)
-
tags/1.0.1/assets/frontend/css/rh-mixins.scss (added)
-
tags/1.0.1/assets/frontend/css/rh-styles-rtl.css (added)
-
tags/1.0.1/assets/frontend/css/rh-styles-rtl.scss (added)
-
tags/1.0.1/assets/frontend/css/rh-styles.css (added)
-
tags/1.0.1/assets/frontend/css/rh-styles.scss (added)
-
tags/1.0.1/assets/frontend/js (added)
-
tags/1.0.1/assets/frontend/js/index.php (added)
-
tags/1.0.1/assets/frontend/js/jquery.magnific-popup.min.js (added)
-
tags/1.0.1/assets/frontend/js/min (added)
-
tags/1.0.1/assets/frontend/js/min/rh-lightbox-min.js (added)
-
tags/1.0.1/assets/frontend/js/min/rh-scripts-min.js (added)
-
tags/1.0.1/assets/frontend/js/rh-lightbox.js (added)
-
tags/1.0.1/assets/frontend/js/rh-scripts.js (added)
-
tags/1.0.1/assets/images (added)
-
tags/1.0.1/assets/images/gordon.png (added)
-
tags/1.0.1/assets/images/help.png (added)
-
tags/1.0.1/assets/images/select2-spinner.gif (added)
-
tags/1.0.1/assets/images/select2.png (added)
-
tags/1.0.1/assets/images/select2x2.png (added)
-
tags/1.0.1/assets/index.php (added)
-
tags/1.0.1/composer.json (added)
-
tags/1.0.1/config.codekit (added)
-
tags/1.0.1/includes (added)
-
tags/1.0.1/includes/abstracts (added)
-
tags/1.0.1/includes/abstracts/abstract-rh-recipe.php (added)
-
tags/1.0.1/includes/admin (added)
-
tags/1.0.1/includes/admin/class-rh-admin-extensions.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-menus.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-meta-boxes.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-notices.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-ordering.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-permalink-settings.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-scripts.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-settings.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-tweaks.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin-welcome.php (added)
-
tags/1.0.1/includes/admin/class-rh-admin.php (added)
-
tags/1.0.1/includes/admin/index.php (added)
-
tags/1.0.1/includes/admin/rh-admin-functions.php (added)
-
tags/1.0.1/includes/admin/rh-columns.php (added)
-
tags/1.0.1/includes/admin/rh-help-tab.php (added)
-
tags/1.0.1/includes/admin/settings (added)
-
tags/1.0.1/includes/admin/settings/class-rh-settings-general.php (added)
-
tags/1.0.1/includes/admin/settings/class-rh-settings-integrations.php (added)
-
tags/1.0.1/includes/admin/settings/class-rh-settings-page.php (added)
-
tags/1.0.1/includes/admin/views (added)
-
tags/1.0.1/includes/admin/views/html-admin-settings.php (added)
-
tags/1.0.1/includes/admin/views/html-notice-labels.php (added)
-
tags/1.0.1/includes/admin/views/html-notice-update.php (added)
-
tags/1.0.1/includes/class-rh-cache-helper.php (added)
-
tags/1.0.1/includes/class-rh-frontend-scripts.php (added)
-
tags/1.0.1/includes/class-rh-install.php (added)
-
tags/1.0.1/includes/class-rh-integrations.php (added)
-
tags/1.0.1/includes/class-rh-lightbox.php (added)
-
tags/1.0.1/includes/class-rh-post-types.php (added)
-
tags/1.0.1/includes/class-rh-query.php (added)
-
tags/1.0.1/includes/class-rh-settings-methods.php (added)
-
tags/1.0.1/includes/fields (added)
-
tags/1.0.1/includes/fields/CMB2.php (added)
-
tags/1.0.1/includes/fields/css (added)
-
tags/1.0.1/includes/fields/css/cmb2.css (added)
-
tags/1.0.1/includes/fields/css/cmb2.css.map (added)
-
tags/1.0.1/includes/fields/css/cmb2.min.css (added)
-
tags/1.0.1/includes/fields/css/index.php (added)
-
tags/1.0.1/includes/fields/css/sass (added)
-
tags/1.0.1/includes/fields/css/sass/cmb2.scss (added)
-
tags/1.0.1/includes/fields/css/sass/index.php (added)
-
tags/1.0.1/includes/fields/css/sass/partials (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_jquery_ui.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_main_wrap.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_misc.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_mixins.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_post_metaboxes.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_sidebar_placements.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_timepicker.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/_variables.scss (added)
-
tags/1.0.1/includes/fields/css/sass/partials/index.php (added)
-
tags/1.0.1/includes/fields/custom (added)
-
tags/1.0.1/includes/fields/custom/cmb2-select2 (added)
-
tags/1.0.1/includes/fields/custom/cmb2-select2/cmb2-select2-css.css (added)
-
tags/1.0.1/includes/fields/custom/cmb2-select2/cmb2-select2-js.js (added)
-
tags/1.0.1/includes/fields/custom/cmb2-select2/cmb2-select2.php (added)
-
tags/1.0.1/includes/fields/images (added)
-
tags/1.0.1/includes/fields/images/ico-delete.png (added)
-
tags/1.0.1/includes/fields/images/index.php (added)
-
tags/1.0.1/includes/fields/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/1.0.1/includes/fields/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/1.0.1/includes/fields/images/ui-icons_222222_256x240.png (added)
-
tags/1.0.1/includes/fields/images/ui-icons_2e83ff_256x240.png (added)
-
tags/1.0.1/includes/fields/images/ui-icons_454545_256x240.png (added)
-
tags/1.0.1/includes/fields/images/ui-icons_888888_256x240.png (added)
-
tags/1.0.1/includes/fields/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/1.0.1/includes/fields/includes (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Ajax.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Field.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Options.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Sanitize.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Show_Filters.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Types.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_Utils.php (added)
-
tags/1.0.1/includes/fields/includes/CMB2_hookup.php (added)
-
tags/1.0.1/includes/fields/includes/helper-functions.php (added)
-
tags/1.0.1/includes/fields/includes/index.php (added)
-
tags/1.0.1/includes/fields/index.php (added)
-
tags/1.0.1/includes/fields/init.php (added)
-
tags/1.0.1/includes/fields/js (added)
-
tags/1.0.1/includes/fields/js/cmb2.js (added)
-
tags/1.0.1/includes/fields/js/cmb2.min.js (added)
-
tags/1.0.1/includes/fields/js/index.php (added)
-
tags/1.0.1/includes/fields/js/jquery.timePicker.min.js (added)
-
tags/1.0.1/includes/index.php (added)
-
tags/1.0.1/includes/rh-core-functions.php (added)
-
tags/1.0.1/includes/rh-fields.php (added)
-
tags/1.0.1/includes/rh-general-functions.php (added)
-
tags/1.0.1/includes/rh-page-functions.php (added)
-
tags/1.0.1/includes/rh-schema.php (added)
-
tags/1.0.1/includes/rh-shortcodes.php (added)
-
tags/1.0.1/includes/rh-tax.php (added)
-
tags/1.0.1/includes/rh-templates-functions.php (added)
-
tags/1.0.1/includes/rh-templates-hooks.php (added)
-
tags/1.0.1/includes/rh-templates.php (added)
-
tags/1.0.1/includes/shortcodes (added)
-
tags/1.0.1/includes/shortcodes/rh-shortcodes-archive.php (added)
-
tags/1.0.1/includes/shortcodes/rh-shortcodes-single.php (added)
-
tags/1.0.1/includes/templates-parts (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-archive-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-search-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-sidebar-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-single-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-supports-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-tax-header-functions.php (added)
-
tags/1.0.1/includes/templates-parts/rh-templates-wrapper-functions.php (added)
-
tags/1.0.1/includes/updates (added)
-
tags/1.0.1/includes/updates/recipe-hero-update-1.0.php (added)
-
tags/1.0.1/index.php (added)
-
tags/1.0.1/languages (added)
-
tags/1.0.1/languages/index.php (added)
-
tags/1.0.1/languages/recipe-hero-en_GB.mo (added)
-
tags/1.0.1/languages/recipe-hero-en_GB.po (added)
-
tags/1.0.1/recipe-hero.php (added)
-
tags/1.0.1/templates (added)
-
tags/1.0.1/templates/archive (added)
-
tags/1.0.1/templates/archive.php (added)
-
tags/1.0.1/templates/archive/category.php (added)
-
tags/1.0.1/templates/archive/description.php (added)
-
tags/1.0.1/templates/archive/details.php (added)
-
tags/1.0.1/templates/archive/meta.php (added)
-
tags/1.0.1/templates/archive/photo.php (added)
-
tags/1.0.1/templates/archive/title.php (added)
-
tags/1.0.1/templates/content-archive-recipe.php (added)
-
tags/1.0.1/templates/content-single-recipe.php (added)
-
tags/1.0.1/templates/global (added)
-
tags/1.0.1/templates/global/sidebar.php (added)
-
tags/1.0.1/templates/global/wrapper-end.php (added)
-
tags/1.0.1/templates/global/wrapper-start.php (added)
-
tags/1.0.1/templates/loop (added)
-
tags/1.0.1/templates/loop/no-recipes-found.php (added)
-
tags/1.0.1/templates/loop/pagination.php (added)
-
tags/1.0.1/templates/search-results.php (added)
-
tags/1.0.1/templates/single (added)
-
tags/1.0.1/templates/single.php (added)
-
tags/1.0.1/templates/single/category.php (added)
-
tags/1.0.1/templates/single/comments.php (added)
-
tags/1.0.1/templates/single/description.php (added)
-
tags/1.0.1/templates/single/details.php (added)
-
tags/1.0.1/templates/single/gallery.php (added)
-
tags/1.0.1/templates/single/ingredients.php (added)
-
tags/1.0.1/templates/single/meta.php (added)
-
tags/1.0.1/templates/single/nutrition.php (added)
-
tags/1.0.1/templates/single/photo.php (added)
-
tags/1.0.1/templates/single/steps.php (added)
-
tags/1.0.1/templates/single/title.php (added)
-
tags/1.0.1/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-styles.scssc (modified) (previous)
-
trunk/assets/frontend/css/rh-styles.css (modified) (3 diffs)
-
trunk/assets/frontend/css/rh-styles.scss (modified) (2 diffs)
-
trunk/assets/frontend/js/min/rh-scripts-min.js (modified) (1 diff)
-
trunk/assets/frontend/js/rh-scripts.js (modified) (1 diff)
-
trunk/includes/admin/class-rh-admin-scripts.php (modified) (2 diffs)
-
trunk/includes/admin/class-rh-admin-welcome.php (modified) (1 diff)
-
trunk/includes/class-rh-frontend-scripts.php (modified) (3 diffs)
-
trunk/includes/rh-general-functions.php (modified) (2 diffs)
-
trunk/includes/rh-templates-hooks.php (modified) (1 diff)
-
trunk/includes/templates-parts/rh-templates-single-functions.php (modified) (5 diffs)
-
trunk/includes/templates-parts/rh-templates-tax-header-functions.php (modified) (2 diffs)
-
trunk/languages/recipe-hero-en_GB.mo (modified) (previous)
-
trunk/languages/recipe-hero-en_GB.po (modified) (22 diffs)
-
trunk/recipe-hero.php (modified) (5 diffs)
-
trunk/templates/archive-home.php (deleted)
-
trunk/templates/archive/category.php (modified) (2 diffs)
-
trunk/templates/archive/details.php (modified) (2 diffs)
-
trunk/templates/global/wrapper-start.php (modified) (2 diffs)
-
trunk/templates/single/category.php (modified) (2 diffs)
-
trunk/templates/single/details.php (modified) (2 diffs)
-
trunk/templates/single/ingredients.php (modified) (4 diffs)
-
trunk/templates/single/instructions.php (deleted)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
recipe-hero/trunk/README.txt
r1039360 r1040292 5 5 Requires at least: 3.8.0 6 6 Tested up to: 4.1.0 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 120 120 121 121 == 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 122 133 123 134 = 1.0.0 = -
recipe-hero/trunk/assets/frontend/css/rh-styles.css
r1038648 r1040292 293 293 article.recipe .recipe-single-ingredients ul.ingredients-list { 294 294 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;*/ 301 301 font-size: 14px; 302 302 list-style: none; } … … 304 304 padding-bottom: 5px; 305 305 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; } 306 315 article.recipe .recipe-single-instructions h4 { 307 316 margin-top: 25px; } … … 322 331 article.recipe hr.recipe-single-seperator { 323 332 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 275 275 ul.ingredients-list { 276 276 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; 285 285 li.ingredients-item { 286 286 padding-bottom: 5px; 287 287 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 } 288 299 } 289 300 } … … 318 329 } 319 330 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 2 2 "use strict"; 3 3 4 $(function () { 4 // Strike through ingredient line when checkbox checked 5 $('.ingredient-checkbox').click (function(){ 6 var thisCheck = $(this); 5 7 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 } 6 13 7 14 }); -
recipe-hero/trunk/includes/admin/class-rh-admin-scripts.php
r1038648 r1040292 35 35 * @return void 36 36 * @todo include script_debug mode $min 37 * @todo conditionally load on the specific recipe hero pages 37 38 */ 38 39 public function load_scripts() { 39 40 global $post, $wp;41 40 42 41 // Register all scripts/styles for later use … … 61 60 wp_enqueue_script( 'jquery-ui-autocomplete' ); 62 61 wp_enqueue_script( 'liquidmetal' ); 62 wp_enqueue_style( 'wp-color-picker' ); 63 63 64 64 wp_enqueue_script( 'tiptip' ); -
recipe-hero/trunk/includes/admin/class-rh-admin-welcome.php
r1038648 r1040292 279 279 <div> 280 280 <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> 282 282 </div> 283 283 -
recipe-hero/trunk/includes/class-rh-frontend-scripts.php
r1038648 r1040292 8 8 * @link http://captaintheme.com 9 9 * @copyright 2014 Captain Theme 10 * @since 1.0.1 10 11 */ 11 12 … … 55 56 56 57 // 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 ); 58 59 59 60 wp_register_script( 'magnific', RH()->plugin_url() . '/assets/frontend/js/jquery.magnific-popup.min.js', array( 'jquery' ), RecipeHero::$version, true ); … … 68 69 69 70 wp_enqueue_script( 'jquery' ); 71 wp_enqueue_script( 'rh-scripts' ); 70 72 71 73 // CSS Styles -
recipe-hero/trunk/includes/rh-general-functions.php
r1038648 r1040292 8 8 * @link http://captaintheme.com 9 9 * @copyright 2014 Captain Theme 10 * @since 1.0. 010 * @since 1.0.1 11 11 */ 12 12 … … 86 86 87 87 /** 88 * Format Strings 89 * 90 * @param string $var 91 * @return string 92 */ 93 function 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 /** 88 109 * Get an image size. 89 110 * -
recipe-hero/trunk/includes/rh-templates-hooks.php
r1038648 r1040292 89 89 90 90 /** 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 98 add_action( 'recipe_hero_before_ingredients_list', 'recipe_hero_output_ingredients_form_start', 10 ); 99 add_action( 'recipe_hero_after_ingredients_list', 'recipe_hero_output_ingredients_form_end', 10 ); 100 add_action( 'recipe_hero_before_ingredients_list_item', 'recipe_hero_output_ingredients_form_checkbox', 10 ); 101 102 103 /** 91 104 * Recipe Archive Content 92 105 * -
recipe-hero/trunk/includes/templates-parts/rh-templates-single-functions.php
r1038648 r1040292 239 239 * @package Recipe Hero 240 240 * @author Captain Theme <info@captaintheme.com> 241 * @since 0.8.0241 * @since 1.0.0 242 242 */ 243 243 … … 254 254 255 255 if ( $time < 60 ) { 256 $content = $minutes . 'm';256 $content = $minutes . _x( 'm', 'Abbreviation for minutes', 'recipe-hero' ); 257 257 } else { 258 258 $content = sprintf( $format, $hours, $minutes ); … … 295 295 * @package Recipe Hero 296 296 * @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 299 298 */ 300 299 … … 338 337 break; 339 338 case 'blank': 340 $ingredient_amount = sprintf( _n( '1', '%s', $ingredient_quantity, 'recipe-hero' ), $ingredient_quantity );339 $ingredient_amount = $ingredient_quantity; 341 340 break; 342 341 case 'none': … … 353 352 354 353 } 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 363 if ( ! 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 381 if ( ! 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 399 if ( ! 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 26 26 function recipe_hero_archive_tax_title() { 27 27 28 global $rh_labels_options;29 30 28 if ( is_tax( 'cuisine' ) ) { 31 29 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' ) ); 37 31 38 32 echo '<div class="recipe-archive-tax-header">'; … … 43 37 } elseif ( is_tax( 'course' ) ) { 44 38 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' ) ); 50 40 51 41 echo '<div class="recipe-archive-tax-header">'; -
recipe-hero/trunk/languages/recipe-hero-en_GB.po
r1038648 r1040292 2 2 msgstr "" 3 3 "Project-Id-Version: Recipe Hero\n" 4 "POT-Creation-Date: 2014-1 1-25 23:06+0700\n"5 "PO-Revision-Date: 2014-1 1-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" 6 6 "Last-Translator: Bryce <bryce@bryce.se>\n" 7 7 "Language-Team: Recipe Hero <info@recipehero.in>\n" … … 13 13 "X-Poedit-Basepath: .\n" 14 14 "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" 16 17 "X-Poedit-SearchPath-0: ..\n" 17 18 … … 33 34 34 35 #: ../includes/admin/class-rh-admin-menus.php:42 35 #: ../includes/admin/class-rh-admin-welcome.php:2 0836 #: ../includes/class-rh-install.php:1 0336 #: ../includes/admin/class-rh-admin-welcome.php:217 37 #: ../includes/class-rh-install.php:161 37 38 msgid "Settings" 38 39 msgstr "" … … 43 44 44 45 #: ../includes/admin/class-rh-admin-menus.php:58 45 #: ../includes/admin/class-rh-admin-welcome.php:3 1146 #: ../includes/admin/class-rh-admin-welcome.php:320 46 47 msgid "Extensions" 47 48 msgstr "" … … 73 74 msgstr "" 74 75 75 #: ../includes/admin/class-rh-admin-ordering.php:8 176 msgid "" 77 "To reposition a n 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:27 176 #: ../includes/admin/class-rh-admin-ordering.php:88 77 msgid "" 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." 81 msgstr "" 82 83 #: ../includes/admin/class-rh-admin-ordering.php:278 83 84 msgid "Sort by Order" 85 msgstr "" 86 87 #: ../includes/admin/class-rh-admin-ordering.php:303 88 msgid "" 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." 92 msgstr "" 93 94 #: ../includes/admin/class-rh-admin-permalink-settings.php:36 95 msgid "Recipe permalink base" 96 msgstr "" 97 98 #: ../includes/admin/class-rh-admin-permalink-settings.php:41 99 msgid "Recipe cuisine base" 100 msgstr "" 101 102 #: ../includes/admin/class-rh-admin-permalink-settings.php:50 103 msgid "Recipe course base" 104 msgstr "" 105 106 #: ../includes/admin/class-rh-admin-permalink-settings.php:63 107 msgctxt "slug" 108 msgid "recipe-cuisine" 109 msgstr "" 110 111 #: ../includes/admin/class-rh-admin-permalink-settings.php:70 112 msgctxt "slug" 113 msgid "recipe-course" 114 msgstr "" 115 116 #: ../includes/admin/class-rh-admin-permalink-settings.php:78 117 msgid "" 118 "These settings control the permalinks used for recipes. These settings only " 119 "apply when <strong>not using \"default\" permalinks above</strong>." 120 msgstr "" 121 122 #: ../includes/admin/class-rh-admin-permalink-settings.php:85 123 #: ../includes/admin/class-rh-admin-permalink-settings.php:173 124 msgctxt "default-slug" 125 msgid "shop" 126 msgstr "" 127 128 #: ../includes/admin/class-rh-admin-permalink-settings.php:86 129 msgctxt "default-slug" 130 msgid "recipe" 131 msgstr "" 132 133 #: ../includes/admin/class-rh-admin-permalink-settings.php:97 134 #: ../includes/fields/includes/CMB2_hookup.php:124 135 msgid "Default" 136 msgstr "" 137 138 #: ../includes/admin/class-rh-admin-permalink-settings.php:101 139 #: ../includes/class-rh-post-types.php:159 140 msgid "Recipe" 141 msgstr "" 142 143 #: ../includes/admin/class-rh-admin-permalink-settings.php:106 144 msgid "Recipes base" 145 msgstr "" 146 147 #: ../includes/admin/class-rh-admin-permalink-settings.php:112 148 msgid "Custom Base" 149 msgstr "" 150 151 #: ../includes/admin/class-rh-admin-permalink-settings.php:114 152 msgid "" 153 "Enter a custom base to use. A base <strong>must</strong> be set or WordPress " 154 "will use default instead." 84 155 msgstr "" 85 156 … … 134 205 msgstr "" 135 206 136 #: ../includes/admin/class-rh-admin-welcome.php:19 0207 #: ../includes/admin/class-rh-admin-welcome.php:199 137 208 #, php-format 138 209 msgid "Welcome to Recipe Hero %s" 139 210 msgstr "" 140 211 141 #: ../includes/admin/class-rh-admin-welcome.php: 195212 #: ../includes/admin/class-rh-admin-welcome.php:204 142 213 msgid "Thanks, all done!" 143 214 msgstr "" 144 215 145 #: ../includes/admin/class-rh-admin-welcome.php: 197216 #: ../includes/admin/class-rh-admin-welcome.php:206 146 217 msgid "Thank you for updating to the latest version!" 147 218 msgstr "" 148 219 149 #: ../includes/admin/class-rh-admin-welcome.php: 199220 #: ../includes/admin/class-rh-admin-welcome.php:208 150 221 msgid "Thanks for installing!" 151 222 msgstr "" 152 223 153 #: ../includes/admin/class-rh-admin-welcome.php:2 02224 #: ../includes/admin/class-rh-admin-welcome.php:211 154 225 #, php-format 155 226 msgid "" … … 158 229 msgstr "" 159 230 160 #: ../includes/admin/class-rh-admin-welcome.php:2 03231 #: ../includes/admin/class-rh-admin-welcome.php:212 161 232 msgid "We hope you enjoy it." 162 233 msgstr "" 163 234 164 #: ../includes/admin/class-rh-admin-welcome.php:2 09165 #: ../includes/class-rh-install.php:1 19235 #: ../includes/admin/class-rh-admin-welcome.php:218 236 #: ../includes/class-rh-install.php:177 166 237 msgid "Docs" 167 238 msgstr "" 168 239 169 #: ../includes/admin/class-rh-admin-welcome.php:2 15240 #: ../includes/admin/class-rh-admin-welcome.php:224 170 241 msgid "" 171 242 "\"I cook, I create, I'm incredibly excited by what I do, I've still got a " … … 173 244 msgstr "" 174 245 175 #: ../includes/admin/class-rh-admin-welcome.php:2 26246 #: ../includes/admin/class-rh-admin-welcome.php:235 176 247 msgid "What's New" 177 248 msgstr "" 178 249 179 #: ../includes/admin/class-rh-admin-welcome.php:2 28250 #: ../includes/admin/class-rh-admin-welcome.php:237 180 251 msgid "Credits" 181 252 msgstr "" 182 253 183 #: ../includes/admin/class-rh-admin-welcome.php:23 0254 #: ../includes/admin/class-rh-admin-welcome.php:239 184 255 msgid "Translations" 185 256 msgstr "" 186 257 187 #: ../includes/admin/class-rh-admin-welcome.php:2 48258 #: ../includes/admin/class-rh-admin-welcome.php:257 188 259 msgid "Improved Ingredients adding that you will" 189 260 msgstr "" 190 261 191 #: ../includes/admin/class-rh-admin-welcome.php:252 262 #: ../includes/admin/class-rh-admin-welcome.php:258 263 msgid "" 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!" 270 msgstr "" 271 272 #: ../includes/admin/class-rh-admin-welcome.php:261 192 273 msgid "Autocomplete Ingredient Suggestion as you Add or Edit Ingredients" 193 274 msgstr "" 194 275 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 277 msgid "" 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." 281 msgstr "" 282 283 #: ../includes/admin/class-rh-admin-welcome.php:265 205 284 msgid "Easily See the Ingredients of a Recipe Without Opening it" 206 285 msgstr "" 207 286 208 #: ../includes/admin/class-rh-admin-welcome.php:257209 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:262217 msgid "Under the Hood"218 msgstr ""219 220 287 #: ../includes/admin/class-rh-admin-welcome.php:266 288 msgid "" 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." 292 msgstr "" 293 294 #: ../includes/admin/class-rh-admin-welcome.php:271 295 msgid "Freshly Baked Features... mmmm!" 296 msgstr "" 297 298 #: ../includes/admin/class-rh-admin-welcome.php:275 221 299 msgid "Custom Image Sizes" 222 300 msgstr "" 223 301 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 303 msgid "" 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." 306 msgstr "" 307 308 #: ../includes/admin/class-rh-admin-welcome.php:280 309 msgid "Custom Ordering" 310 msgstr "" 311 312 #: ../includes/admin/class-rh-admin-welcome.php:281 313 msgid "" 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!" 316 msgstr "" 317 318 #: ../includes/admin/class-rh-admin-welcome.php:285 319 msgid "Templating Engine" 320 msgstr "" 321 322 #: ../includes/admin/class-rh-admin-welcome.php:286 323 msgid "" 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!" 327 msgstr "" 328 329 #: ../includes/admin/class-rh-admin-welcome.php:292 330 msgid "Custom Permalinks" 331 msgstr "" 332 333 #: ../includes/admin/class-rh-admin-welcome.php:293 334 msgid "" 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." 338 msgstr "" 339 340 #: ../includes/admin/class-rh-admin-welcome.php:297 341 msgid "Settings API & UI Changes" 342 msgstr "" 343 344 #: ../includes/admin/class-rh-admin-welcome.php:298 345 msgid "" 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." 349 msgstr "" 350 351 #: ../includes/admin/class-rh-admin-welcome.php:302 352 msgid "Cleans Up Before Leaving" 353 msgstr "" 354 355 #: ../includes/admin/class-rh-admin-welcome.php:303 356 msgid "" 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." 360 msgstr "" 361 362 #: ../includes/admin/class-rh-admin-welcome.php:310 363 msgid "Image Gallery / Lightbox" 364 msgstr "" 365 366 #: ../includes/admin/class-rh-admin-welcome.php:311 367 msgid "" 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!" 371 msgstr "" 372 373 #: ../includes/admin/class-rh-admin-welcome.php:315 231 374 msgid "Better File Structuring" 232 375 msgstr "" 233 376 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 378 msgid "" 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." 382 msgstr "" 383 384 #: ../includes/admin/class-rh-admin-welcome.php:321 385 msgid "" 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!" 390 msgstr "" 391 392 #: ../includes/admin/class-rh-admin-welcome.php:328 307 393 msgid "Go to Recipe Hero Settings" 308 394 msgstr "" 309 395 310 #: ../includes/admin/class-rh-admin-welcome.php:3 34396 #: ../includes/admin/class-rh-admin-welcome.php:343 311 397 msgid "" 312 398 "Recipe Hero is developed by <a href=\"http://bryce.se/\">Bryce Adams</a> and " … … 316 402 msgstr "" 317 403 318 #: ../includes/admin/class-rh-admin-welcome.php:35 0404 #: ../includes/admin/class-rh-admin-welcome.php:359 319 405 msgid "" 320 406 "Recipe Hero has been kindly translated into a couple other languages thanks " … … 323 409 msgstr "" 324 410 325 #: ../includes/admin/class-rh-admin-welcome.php:3 74411 #: ../includes/admin/class-rh-admin-welcome.php:383 326 412 #, php-format 327 413 msgid "View %s" … … 336 422 msgstr "" 337 423 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 341 428 msgid "Course" 342 429 msgstr "" 343 430 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 347 435 msgid "Cuisine" 348 436 msgstr "" … … 396 484 msgstr "" 397 485 398 #: ../includes/admin/rh-help-tab.php:81 ../includes/class-rh-install.php:1 20486 #: ../includes/admin/rh-help-tab.php:81 ../includes/class-rh-install.php:178 399 487 msgid "Support" 400 488 msgstr "" … … 441 529 msgstr "" 442 530 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 532 msgid "Recipe Images" 449 533 msgstr "" 450 534 451 535 #: ../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:85456 536 #, php-format 457 537 msgid "" … … 462 542 msgstr "" 463 543 464 #: ../includes/admin/settings/class-rh-settings-general.php: 90544 #: ../includes/admin/settings/class-rh-settings-general.php:88 465 545 msgid "Main Recipe Image" 466 546 msgstr "" 467 547 468 #: ../includes/admin/settings/class-rh-settings-general.php: 91548 #: ../includes/admin/settings/class-rh-settings-general.php:89 469 549 msgid "This size is for the main image in archives and single recipe pages" 470 550 msgstr "" 471 551 472 #: ../includes/admin/settings/class-rh-settings-general.php:10 4552 #: ../includes/admin/settings/class-rh-settings-general.php:102 473 553 msgid "Recipe Steps Images" 474 554 msgstr "" 475 555 476 #: ../includes/admin/settings/class-rh-settings-general.php:10 5556 #: ../includes/admin/settings/class-rh-settings-general.php:103 477 557 msgid "" 478 558 "This is the size of the images attached to steps / instructions on a single " … … 480 560 msgstr "" 481 561 482 #: ../includes/admin/settings/class-rh-settings-general.php:11 8562 #: ../includes/admin/settings/class-rh-settings-general.php:116 483 563 msgid "Recipe Thumbnails" 484 564 msgstr "" 485 565 486 #: ../includes/admin/settings/class-rh-settings-general.php:11 9566 #: ../includes/admin/settings/class-rh-settings-general.php:117 487 567 msgid "" 488 568 "This size is usually used for the gallery of images on a single recipe page" 489 569 msgstr "" 490 570 491 #: ../includes/admin/settings/class-rh-settings-general.php:13 2571 #: ../includes/admin/settings/class-rh-settings-general.php:130 492 572 msgid "Recipe Image Gallery & Steps" 493 573 msgstr "" 494 574 495 #: ../includes/admin/settings/class-rh-settings-general.php:13 3575 #: ../includes/admin/settings/class-rh-settings-general.php:131 496 576 msgid "Enable Lightbox for recipe gallery & steps" 497 577 msgstr "" 498 578 499 #: ../includes/admin/settings/class-rh-settings-general.php:13 6579 #: ../includes/admin/settings/class-rh-settings-general.php:134 500 580 msgid "" 501 581 "Include Recipe Hero's lightbox. Recipe gallery images will open in a " … … 511 591 msgstr "" 512 592 513 #: ../includes/class-rh-install.php:103 593 #: ../includes/admin/views/html-notice-labels.php:13 594 msgid "" 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." 598 msgstr "" 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 604 msgid "Download" 605 msgstr "" 606 607 #: ../includes/admin/views/html-notice-labels.php:14 608 msgid "Cool - Understood!" 609 msgstr "" 610 611 #: ../includes/admin/views/html-notice-update.php:13 612 msgid "" 613 "<strong>Recipe Hero Data Update Required</strong> – We just need to " 614 "update your install to the latest version!" 615 msgstr "" 616 617 #: ../includes/admin/views/html-notice-update.php:14 618 msgid "Run the updater" 619 msgstr "" 620 621 #: ../includes/admin/views/html-notice-update.php:18 622 msgid "" 623 "It is strongly recommended that you backup your database before proceeding. " 624 "Are you sure you wish to run the updater now?" 625 msgstr "" 626 627 #: ../includes/class-rh-install.php:161 514 628 msgid "View Recipe Hero Settings" 515 629 msgstr "" 516 630 517 #: ../includes/class-rh-install.php:1 19631 #: ../includes/class-rh-install.php:177 518 632 msgid "View Recipe Hero Documentation" 519 633 msgstr "" 520 634 521 #: ../includes/class-rh-install.php:1 20635 #: ../includes/class-rh-install.php:178 522 636 msgid "Get Support for Recipe Hero" 523 637 msgstr "" 524 638 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 640 msgctxt "taxonomy general name" 641 msgid "Courses" 642 msgstr "" 643 644 #: ../includes/class-rh-post-types.php:53 ../includes/rh-tax.php:31 645 msgctxt "taxonomy singular name" 646 msgid "Course" 647 msgstr "" 648 649 #: ../includes/class-rh-post-types.php:54 ../includes/rh-tax.php:32 650 msgctxt "Course" 526 651 msgid "Add New Course" 527 652 msgstr "" 528 653 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 655 msgid "Add New Course" 656 msgstr "" 657 658 #: ../includes/class-rh-post-types.php:56 ../includes/rh-tax.php:34 530 659 msgid "Edit Course" 531 660 msgstr "" 532 661 533 #: ../includes/class-rh-post-types.php:5 5../includes/rh-tax.php:35662 #: ../includes/class-rh-post-types.php:57 ../includes/rh-tax.php:35 534 663 msgid "New Course" 535 664 msgstr "" 536 665 537 #: ../includes/class-rh-post-types.php:5 6../includes/rh-tax.php:36666 #: ../includes/class-rh-post-types.php:58 ../includes/rh-tax.php:36 538 667 msgid "View Course" 539 668 msgstr "" 540 669 541 #: ../includes/class-rh-post-types.php:5 7../includes/rh-tax.php:37670 #: ../includes/class-rh-post-types.php:59 ../includes/rh-tax.php:37 542 671 msgid "Search Courses" 543 672 msgstr "" 544 673 545 #: ../includes/class-rh-post-types.php: 58../includes/rh-tax.php:38674 #: ../includes/class-rh-post-types.php:60 ../includes/rh-tax.php:38 546 675 msgid "No Course found" 547 676 msgstr "" 548 677 549 #: ../includes/class-rh-post-types.php: 59../includes/rh-tax.php:39678 #: ../includes/class-rh-post-types.php:61 ../includes/rh-tax.php:39 550 679 msgid "No Course found in Trash" 551 680 msgstr "" 552 681 553 #: ../includes/class-rh-post-types.php:84 ../includes/rh-tax.php:76 682 #: ../includes/class-rh-post-types.php:75 683 msgctxt "slug" 684 msgid "course" 685 msgstr "" 686 687 #: ../includes/class-rh-post-types.php:87 ../includes/rh-tax.php:73 688 msgctxt "taxonomy general name" 689 msgid "Cuisines" 690 msgstr "" 691 692 #: ../includes/class-rh-post-types.php:88 ../includes/rh-tax.php:74 693 msgctxt "taxonomy singular name" 694 msgid "Cuisine" 695 msgstr "" 696 697 #: ../includes/class-rh-post-types.php:89 ../includes/rh-tax.php:75 698 msgctxt "Cuisine" 554 699 msgid "Add New Cuisine" 555 700 msgstr "" 556 701 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 703 msgid "Add New Cuisine" 704 msgstr "" 705 706 #: ../includes/class-rh-post-types.php:91 ../includes/rh-tax.php:77 558 707 msgid "Edit Cuisine" 559 708 msgstr "" 560 709 561 #: ../includes/class-rh-post-types.php: 86../includes/rh-tax.php:78710 #: ../includes/class-rh-post-types.php:92 ../includes/rh-tax.php:78 562 711 msgid "New Cuisine" 563 712 msgstr "" 564 713 565 #: ../includes/class-rh-post-types.php: 87../includes/rh-tax.php:79714 #: ../includes/class-rh-post-types.php:93 ../includes/rh-tax.php:79 566 715 msgid "View Cuisine" 567 716 msgstr "" 568 717 569 #: ../includes/class-rh-post-types.php: 88../includes/rh-tax.php:80718 #: ../includes/class-rh-post-types.php:94 ../includes/rh-tax.php:80 570 719 msgid "Search Cuisines" 571 720 msgstr "" 572 721 573 #: ../includes/class-rh-post-types.php: 89../includes/rh-tax.php:81722 #: ../includes/class-rh-post-types.php:95 ../includes/rh-tax.php:81 574 723 msgid "No Cuisine found" 575 724 msgstr "" 576 725 577 #: ../includes/class-rh-post-types.php:9 0../includes/rh-tax.php:82726 #: ../includes/class-rh-post-types.php:96 ../includes/rh-tax.php:82 578 727 msgid "No Cuisine found in Trash" 579 728 msgstr "" 580 729 581 #: ../includes/class-rh-post-types.php:123 730 #: ../includes/class-rh-post-types.php:110 731 msgctxt "slug" 732 msgid "cuisine" 733 msgstr "" 734 735 #: ../includes/class-rh-post-types.php:135 736 msgctxt "slug" 737 msgid "recipe" 738 msgstr "" 739 740 #: ../includes/class-rh-post-types.php:138 741 msgctxt "post type general name" 742 msgid "Recipes" 743 msgstr "" 744 745 #: ../includes/class-rh-post-types.php:139 746 msgctxt "post type singular name" 747 msgid "Recipe" 748 msgstr "" 749 750 #: ../includes/class-rh-post-types.php:140 582 751 msgid "All Recipes" 583 752 msgstr "" 584 753 585 #: ../includes/class-rh-post-types.php:1 24754 #: ../includes/class-rh-post-types.php:141 586 755 msgid "Add New" 587 756 msgstr "" 588 757 589 #: ../includes/class-rh-post-types.php:1 25758 #: ../includes/class-rh-post-types.php:142 590 759 msgid "Add New Recipe" 591 760 msgstr "" 592 761 593 #: ../includes/class-rh-post-types.php:1 26../templates/archive/meta.php:33762 #: ../includes/class-rh-post-types.php:143 ../templates/archive/meta.php:33 594 763 #: ../templates/single/meta.php:35 595 764 msgid "Edit Recipe" 596 765 msgstr "" 597 766 598 #: ../includes/class-rh-post-types.php:1 27767 #: ../includes/class-rh-post-types.php:144 599 768 msgid "New Recipe" 600 769 msgstr "" 601 770 602 #: ../includes/class-rh-post-types.php:1 28771 #: ../includes/class-rh-post-types.php:145 603 772 msgid "View Recipe" 604 773 msgstr "" 605 774 606 #: ../includes/class-rh-post-types.php:1 29775 #: ../includes/class-rh-post-types.php:146 607 776 msgid "Search Recipes" 608 777 msgstr "" 609 778 610 #: ../includes/class-rh-post-types.php:1 30779 #: ../includes/class-rh-post-types.php:147 611 780 msgid "No Recipes found" 612 781 msgstr "" 613 782 614 #: ../includes/class-rh-post-types.php:1 31783 #: ../includes/class-rh-post-types.php:148 615 784 msgid "No Recipes found in the trash" 616 785 msgstr "" 617 786 618 #: ../includes/class-rh-post-types.php:1 33787 #: ../includes/class-rh-post-types.php:150 619 788 msgid "Recipe Hero" 620 789 msgstr "" 621 790 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 627 792 #, php-format 628 793 msgid "Recipe updated. <a href=\"%s\">View recipe</a>" 629 794 msgstr "" 630 795 631 #: ../includes/class-rh-post-types.php:1 72796 #: ../includes/class-rh-post-types.php:189 632 797 msgid "Recipe updated." 633 798 msgstr "" 634 799 635 #: ../includes/class-rh-post-types.php:1 73800 #: ../includes/class-rh-post-types.php:190 636 801 #, php-format 637 802 msgid "Recipe restored to revision from %s" 638 803 msgstr "" 639 804 640 #: ../includes/class-rh-post-types.php:1 74805 #: ../includes/class-rh-post-types.php:191 641 806 #, php-format 642 807 msgid "Recipe published. <a href=\"%s\">View recipe</a>" 643 808 msgstr "" 644 809 645 #: ../includes/class-rh-post-types.php:1 75810 #: ../includes/class-rh-post-types.php:192 646 811 msgid "Recipe saved." 647 812 msgstr "" 648 813 649 #: ../includes/class-rh-post-types.php:1 76814 #: ../includes/class-rh-post-types.php:193 650 815 #, php-format 651 816 msgid "Recipe submitted. <a target=\"_blank\" href=\"%s\">Preview recipe</a>" 652 817 msgstr "" 653 818 654 #: ../includes/class-rh-post-types.php:1 77819 #: ../includes/class-rh-post-types.php:194 655 820 #, php-format 656 821 msgid "" … … 659 824 msgstr "" 660 825 661 #: ../includes/class-rh-post-types.php:1 77826 #: ../includes/class-rh-post-types.php:194 662 827 msgid "M j, Y @ G:i" 663 828 msgstr "" 664 829 665 #: ../includes/class-rh-post-types.php:1 78830 #: ../includes/class-rh-post-types.php:195 666 831 #, php-format 667 832 msgid "" … … 735 900 msgstr "" 736 901 737 #: ../includes/fields/includes/CMB2_Types.php:798738 #: ../includes/fields/includes/CMB2_Types.php:878739 #: ../includes/fields/includes/CMB2_hookup.php:175740 msgid "Download"741 msgstr ""742 743 902 #: ../includes/fields/includes/CMB2_hookup.php:123 744 903 #: ../includes/fields/includes/CMB2_hookup.php:160 … … 746 905 msgstr "" 747 906 748 #: ../includes/fields/includes/CMB2_hookup.php:124749 msgid "Default"750 msgstr ""751 752 907 #: ../includes/fields/includes/CMB2_hookup.php:125 753 908 msgid "Select Color" … … 939 1094 940 1095 #: ../includes/rh-fields.php:162 941 msgid "None (blank)" 942 msgstr "" 943 944 #: ../includes/rh-fields.php:170 1096 msgid "Blank Amount" 1097 msgstr "" 1098 1099 #: ../includes/rh-fields.php:163 1100 msgid "None (No Quantity)" 1101 msgstr "" 1102 1103 #: ../includes/rh-fields.php:169 945 1104 msgid "Ingredient" 946 1105 msgstr "" 947 1106 948 #: ../includes/rh-fields.php:17 71107 #: ../includes/rh-fields.php:176 949 1108 msgid "Start typing to see used ingredients (or add a new one)" 950 1109 msgstr "" 951 1110 952 #: ../includes/rh-fields.php:19 11111 #: ../includes/rh-fields.php:190 953 1112 msgid "Steps" 954 1113 msgstr "" 955 1114 956 #: ../includes/rh-fields.php:19 71115 #: ../includes/rh-fields.php:196 957 1116 msgid "Add all of the preparation and cooking steps for this recipe." 958 1117 msgstr "" 959 1118 1119 #: ../includes/rh-fields.php:198 1120 msgid "Step {#}" 1121 msgstr "" 1122 960 1123 #: ../includes/rh-fields.php:199 961 msgid " Step {#}"1124 msgid "Add Another Step" 962 1125 msgstr "" 963 1126 964 1127 #: ../includes/rh-fields.php:200 965 msgid "Add Another Step"966 msgstr ""967 968 #: ../includes/rh-fields.php:201969 1128 msgid "Remove Step" 970 1129 msgstr "" 971 1130 972 #: ../includes/rh-fields.php:20 7../templates/single/steps.php:191131 #: ../includes/rh-fields.php:206 ../templates/single/steps.php:19 973 1132 msgid "Instructions" 974 1133 msgstr "" 975 1134 1135 #: ../includes/rh-fields.php:211 1136 msgid "Step Photo" 1137 msgstr "" 1138 976 1139 #: ../includes/rh-fields.php:212 977 msgid "Step Photo"978 msgstr ""979 980 #: ../includes/rh-fields.php:213981 1140 msgid "Upload an image using the media uploader (optional)" 982 1141 msgstr "" … … 1001 1160 msgstr "" 1002 1161 1162 #: ../includes/templates-parts/rh-templates-single-functions.php:256 1163 msgctxt "Abbreviation for minutes" 1164 msgid "m" 1165 msgstr "" 1166 1167 #: ../includes/templates-parts/rh-templates-single-functions.php:307 1168 #, php-format 1169 msgid "1 Gram" 1170 msgid_plural "%s Grams" 1171 msgstr[0] "" 1172 msgstr[1] "" 1173 1174 #: ../includes/templates-parts/rh-templates-single-functions.php:310 1175 #, php-format 1176 msgid "1 Ounce" 1177 msgid_plural "%s Ounces" 1178 msgstr[0] "" 1179 msgstr[1] "" 1180 1181 #: ../includes/templates-parts/rh-templates-single-functions.php:313 1182 #, php-format 1183 msgid "1 Millilitre" 1184 msgid_plural "%s Millilitres" 1185 msgstr[0] "" 1186 msgstr[1] "" 1187 1188 #: ../includes/templates-parts/rh-templates-single-functions.php:316 1189 #, php-format 1190 msgid "1 Teaspoon" 1191 msgid_plural "%s Teaspoons" 1192 msgstr[0] "" 1193 msgstr[1] "" 1194 1195 #: ../includes/templates-parts/rh-templates-single-functions.php:319 1196 #, php-format 1197 msgid "1 Tablespoon" 1198 msgid_plural "%s Tablespoons" 1199 msgstr[0] "" 1200 msgstr[1] "" 1201 1202 #: ../includes/templates-parts/rh-templates-single-functions.php:322 1203 #, php-format 1204 msgid "1 Cup" 1205 msgid_plural "%s Cups" 1206 msgstr[0] "" 1207 msgstr[1] "" 1208 1209 #: ../includes/templates-parts/rh-templates-single-functions.php:325 1210 #, php-format 1211 msgid "1 Liter" 1212 msgid_plural "%s Liters" 1213 msgstr[0] "" 1214 msgstr[1] "" 1215 1216 #: ../includes/templates-parts/rh-templates-single-functions.php:328 1217 #, php-format 1218 msgid "1 Pound" 1219 msgid_plural "%s Pounds" 1220 msgstr[0] "" 1221 msgstr[1] "" 1222 1223 #: ../includes/templates-parts/rh-templates-single-functions.php:331 1224 #, php-format 1225 msgid "1 Kilogram" 1226 msgid_plural "%s Kilograms" 1227 msgstr[0] "" 1228 msgstr[1] "" 1229 1230 #: ../includes/templates-parts/rh-templates-single-functions.php:334 1231 #, php-format 1232 msgid "1 Slice" 1233 msgid_plural "%s Slices" 1234 msgstr[0] "" 1235 msgstr[1] "" 1236 1237 #: ../includes/templates-parts/rh-templates-single-functions.php:337 1238 #, php-format 1239 msgid "1 Piece" 1240 msgid_plural "%s Pieces" 1241 msgstr[0] "" 1242 msgstr[1] "" 1243 1003 1244 #: ../recipe-hero.php:103 ../recipe-hero.php:112 1004 1245 msgid "Cheatin’ huh?" 1005 1246 msgstr "" 1006 1247 1007 #: ../templates/archive/details.php:3 1 ../templates/single/details.php:311248 #: ../templates/archive/details.php:30 ../templates/single/details.php:32 1008 1249 msgid "Serves" 1009 1250 msgstr "" 1010 1251 1011 #: ../templates/archive/details.php: 40 ../templates/single/details.php:401252 #: ../templates/archive/details.php:39 ../templates/single/details.php:41 1012 1253 msgid "Equipment" 1013 1254 msgstr "" 1014 1255 1015 #: ../templates/archive/details.php:5 7 ../templates/single/details.php:571256 #: ../templates/archive/details.php:56 ../templates/single/details.php:58 1016 1257 msgid "Prep time" 1017 1258 msgstr "" 1018 1259 1019 #: ../templates/archive/details.php:6 7 ../templates/single/details.php:671260 #: ../templates/archive/details.php:66 ../templates/single/details.php:68 1020 1261 msgid "Cook Time" 1021 1262 msgstr "" … … 1045 1286 msgstr "" 1046 1287 1288 #: ../templates/single/details.php:19 1289 #, php-format 1290 msgctxt "" 1291 "Abbreviations for time: Replace h (hour) & m (minute) with appropriate " 1292 "appreviation" 1293 msgid "%dh %02dm" 1294 msgstr "" 1295 1047 1296 #: ../templates/single/nutrition.php:18 1048 1297 msgid "Nutrition" -
recipe-hero/trunk/recipe-hero.php
r1038648 r1040292 12 12 * Plugin URI: http://recipehero.in/ 13 13 * Description: The last recipe plugin you'll ever need. 14 * Version: 1.0. 014 * Version: 1.0.1 15 15 * Author: Bryce Adams 16 16 * Author URI: http://bryce.se/ … … 37 37 * 38 38 * @class RecipeHero 39 * @version 1.0. 039 * @version 1.0.1 40 40 */ 41 41 … … 45 45 * Plugin version, used for cache-busting of style and script file references. 46 46 * 47 * @since 1.0. 047 * @since 1.0.1 48 48 * 49 49 * @var string 50 50 */ 51 public static $version = '1.0. 0';51 public static $version = '1.0.1'; 52 52 53 53 /** … … 167 167 } 168 168 169 // @todo Temp Var Globals170 $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 175 169 } 176 170 … … 249 243 250 244 /** 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: 263 246 * 264 247 * - 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:) 266 249 * - WP_LANG_DIR/plugins/recipe-hero-LOCALE.mo 267 250 */ 268 251 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" ); 270 253 } 271 254 -
recipe-hero/trunk/templates/archive/category.php
r1038648 r1040292 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <info@captaintheme.com> 7 * @version 0.8.07 * @version 1.0.0 8 8 */ 9 9 … … 11 11 12 12 global $post; 13 global $rh_labels_options;14 13 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' ); 17 16 18 17 if ( ! empty ( $cuisine_terms ) ) { -
recipe-hero/trunk/templates/archive/details.php
r1038648 r1040292 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <info@captaintheme.com> 7 * @version 0.8.07 * @version 1.0.0 8 8 */ 9 9 … … 12 12 // Variables 13 13 global $post; 14 global $rh_labels_options;15 14 16 15 $serves = get_post_meta( $post->ID, '_recipe_hero_detail_serves', true ); 17 16 $serves_type = get_post_meta( $post->ID, '_recipe_hero_detail_serves_type', true ); 18 17 $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 ); 21 22 $total_time = recipe_hero_convert_minute_hour ( recipe_hero_calc_total_cook_time() ); ?> 22 23 -
recipe-hero/trunk/templates/global/wrapper-start.php
r971440 r1040292 8 8 * @link http://captaintheme.com 9 9 * @copyright 2014 Captain Theme 10 * @version 0.8.010 * @version 1.0.0 11 11 */ 12 12 13 13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 14 15 global $rh_general_options;16 14 17 15 // Current WordPress Template Chosen … … 20 18 $remove_char = array( '#', '.' ); 21 19 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 32 20 switch( $template ) { 33 21 case 'twentyeleven' : 34 echo '<div id="primary"><div id="content" class="' . $main_content_class_after . '">';22 echo '<div id="primary"><div id="content">'; 35 23 break; 36 24 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">'; 38 26 break; 39 27 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">'; 41 29 break; 42 30 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">'; 44 32 break; 45 33 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'; 47 35 if ( is_search() ) { 48 36 echo ' recipe-search'; -
recipe-hero/trunk/templates/single/category.php
r1038648 r1040292 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <info@captaintheme.com> 7 * @version 0.8.07 * @version 1.0.0 8 8 */ 9 9 … … 11 11 12 12 global $post; 13 global $rh_labels_options;14 13 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' ); 17 16 18 17 if ( ! empty ( $cuisine_terms ) ) { -
recipe-hero/trunk/templates/single/details.php
r1038648 r1040292 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <info@captaintheme.com> 7 * @version 0.8.07 * @version 1.0.0 8 8 */ 9 9 … … 12 12 // Variables 13 13 global $post; 14 global $rh_labels_options;15 14 16 15 $serves = get_post_meta( $post->ID, '_recipe_hero_detail_serves', true ); 17 16 $serves_type = get_post_meta( $post->ID, '_recipe_hero_detail_serves_type', true ); 18 17 $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 ); 21 22 $total_time = recipe_hero_convert_minute_hour ( recipe_hero_calc_total_cook_time() ); ?> 22 23 -
recipe-hero/trunk/templates/single/ingredients.php
r1038648 r1040292 5 5 * @package Recipe Hero 6 6 * @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 8 9 */ 9 10 … … 22 23 </h4> 23 24 25 <?php do_action( 'recipe_hero_before_ingredients_list' ); ?> 26 24 27 <ul class="ingredients-list"> 25 28 … … 31 34 32 35 $ingredient_quantity = $ingredient['quantity']; 33 34 36 $ingredient_amount_pre = $ingredient['amount']; 35 36 37 $ingredient_amount = recipe_hero_output_single_ingredient_amount( $ingredient_amount_pre, $ingredient_quantity ); 37 38 … … 46 47 ?> 47 48 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 51 62 </li> 52 63 53 <?php 54 } 55 ?> 64 <?php } ?> 65 56 66 </ul> 67 68 <?php do_action( 'recipe_hero_after_ingredients_list' ); ?> 57 69 58 70 <hr class="recipe-single-seperator" /> -
recipe-hero/trunk/uninstall.php
r1038648 r1040292 11 11 */ 12 12 13 if ( ! defined( 'ABSPATH' ) ) {14 exit ; // Exit if accessed directly13 if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { 14 exit(); 15 15 } 16 16
Note: See TracChangeset
for help on using the changeset viewer.