Skip to content

Commit

Permalink
expanded Help tab text + update translatable strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Bearded Avenger committed Sep 5, 2014
1 parent 194ee90 commit 7fed3c0
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 27 deletions.
23 changes: 17 additions & 6 deletions admin/includes/help.php
Expand Up @@ -20,16 +20,27 @@ function aesop_help($contextual_help, $screen_id, $screen) {

$screen->add_help_tab( array(
'id' => 'ai-story-help',
'title' => __('Aesop Core', 'aesop-core'),
'title' => __('Aesop Story Engine', 'aesop-core'),
'content' => __('
<h3>Welcome to Aesop</h3>
<h3>Welcome to Aesop Story Engine</h3>
<p>Add story components by clicking the "Add Component" button below. This opens the Story Engine and allows you to select the component that you\'d like to insert, after setting up a few options.</p>
<h4>Theme Compatibility</h4>
<p>While most of the components will work with any theme, the <em>Timeline</em> and <em>Chapter</em> components will not function as designed without a theme that implements the necessary action hooks. Refer to the documentation link below.</p>
<h4 style="margin-bottom:0;">How to Edit Components</h4>
<p>While in the <em>Visual</em> tab below, and after adding inserting a story component, each component will turn into a sort of placeholder. You can either edit the components options by clicking on the pencil icon, or delete the component with the trash can icon.</p>
<h4 style="margin-bottom:0;">Working with Components</h4>
<p>After adding a component to the editor, simply press "enter" and that will get you to the next line in the editor. Nesting components inside each other isn\'t allowed within the visual editor at this time.</p>
<h4 style="margin-bottom:0;">Theme Compatibility</h4>
<p>Aesop will work with most WordPress themes by adding a code snippet to enable Extended CSS Support. The following code snippet can be entered with a plugin such as Code Snippets. If you\'re a developer you can selectively load additional styles based on the component that you define in the array.</p>
<code>add_theme_support("aesop-component-styles", array("parallax", "image", "quote", "gallery", "content", "video", "audio", "collection", "chapter", "document", "character", "map", "timeline" ) );</code>
<h4 style="margin-bottom:0;">Documentation</h4>
<p>Documentation for the options are listed at <a href="http://aesopstoryengine.com/help">http://aesopstoryengine.com/help</a>, while developers may be more intereseted in <a href="http://aesopstoryengine.com/developers">http://aesopstoryengine.com/developers</a>.</p>
<h4>Donations</h4>
<p>Aesop Story Engine is 100% free and open-sourced, but we do rely on donations and purchases of our <a href="http://aesopstoryengine.com/library/category/themes/">premium WordPress themes</a> and add-ons to facilitate further development of the free plugin. If Aesop Story Engine has worked out for you well, please consider making a donation at <a href="http://aesopstoryengine.com/donate">http://aesopstoryengine.com/donate</a>.</p>
<h4>Documentation</h4>
<p>All components, options, and hooks are full documented at <a href="http://developers.aesopstories.com">http://developers.aesopstories.com</a></p>
','aesop-core')
));

Expand Down
Binary file modified languages/aesop-core-en_US.mo
Binary file not shown.
64 changes: 44 additions & 20 deletions languages/aesop-core-en_US.po
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Aesop Core\n"
"POT-Creation-Date: 2014-09-04 19:36-0600\n"
"PO-Revision-Date: 2014-09-04 19:36-0600\n"
"POT-Creation-Date: 2014-09-05 18:04-0600\n"
"PO-Revision-Date: 2014-09-05 18:04-0600\n"
"Last-Translator: Team Aesop <support@aesopinteractive.com>\n"
"Language-Team: Team Aesop <info@aesopinteractive.com>\n"
"Language: en_US\n"
Expand Down Expand Up @@ -1187,36 +1187,64 @@ msgstr ""
msgid "Insert Component"
msgstr ""

#: ../admin/includes/help.php:23
msgid "Aesop Core"
#: ../admin/includes/help.php:23 ../public/includes/options.php:13
msgid "Aesop Story Engine"
msgstr ""

#: ../admin/includes/help.php:24
#, php-format
msgid ""
"\n"
"\t \t\t<h3>Welcome to Aesop</h3>\n"
"\t \t\t<h3>Welcome to Aesop Story Engine</h3>\n"
"\t\t\t\t<p>Add story components by clicking the \"Add Component\" button "
"below. This opens the Story Engine and allows you to select the component "
"that you'd like to insert, after setting up a few options.</p>\n"
"\n"
"\t\t\t\t<h4>Theme Compatibility</h4>\n"
"\t\t\t\t<p>While most of the components will work with any theme, the "
"<em>Timeline</em> and <em>Chapter</em> components will not function as "
"designed without a theme that implements the necessary action hooks. Refer "
"to the documentation link below.</p>\n"
"\t\t\t\t<h4 style=\"margin-bottom:0;\">How to Edit Components</h4>\n"
"\t\t\t\t<p>While in the <em>Visual</em> tab below, and after adding "
"inserting a story component, each component will turn into a sort of "
"placeholder. You can either edit the components options by clicking on the "
"pencil icon, or delete the component with the trash can icon.</p>\n"
"\n"
"\t\t\t\t<h4 style=\"margin-bottom:0;\">Working with Components</h4>\n"
"\t\t\t\t<p>After adding a component to the editor, simply press \"enter\" "
"and that will get you to the next line in the editor. Nesting components "
"inside each other isn't allowed within the visual editor at this time.</p>\n"
"\n"
"\t\t\t\t<h4 style=\"margin-bottom:0;\">Theme Compatibility</h4>\n"
"\t\t\t\t<p>Aesop will work with most WordPress themes by adding a code "
"snippet to enable Extended CSS Support. The following code snippet can be "
"entered with a plugin such as Code Snippets. If you're a developer you can "
"selectively load additional styles based on the component that you define in "
"the array.</p>\n"
"\t\t\t\t<code>add_theme_support(\"aesop-component-styles\", array(\"parallax"
"\", \"image\", \"quote\", \"gallery\", \"content\", \"video\", \"audio\", "
"\"collection\", \"chapter\", \"document\", \"character\", \"map\", \"timeline"
"\" ) );</code>\n"
"\n"
"\t\t\t\t<h4 style=\"margin-bottom:0;\">Documentation</h4>\n"
"\t\t\t\t<p>Documentation for the options are listed at <a href=\"http://"
"aesopstoryengine.com/help\">http://aesopstoryengine.com/help</a>, while "
"developers may be more intereseted in <a href=\"http://aesopstoryengine.com/"
"developers\">http://aesopstoryengine.com/developers</a>.</p>\n"
"\t \t\t\n"
"\t \t\t<h4>Donations</h4>\n"
"\t \t\t<p>Aesop Story Engine is 100% free and open-sourced, but we do "
"rely on donations and purchases of our <a href=\"http://aesopstoryengine.com/"
"library/category/themes/\">premium WordPress themes</a> and add-ons to "
"facilitate further development of the free plugin. If Aesop Story Engine has "
"worked out for you well, please consider making a donation at <a href="
"\"http://aesopstoryengine.com/donate\">http://aesopstoryengine.com/donate</"
"a>.</p>\n"
"\n"
"\t\t\t\t<h4>Documentation</h4>\n"
"\t\t\t\t<p>All components, options, and hooks are full documented at <a href="
"\"http://developers.aesopstories.com\">http://developers.aesopstories.com</"
"a></p>\n"
"\t \t\t"
msgstr ""

#: ../admin/includes/help.php:42
#: ../admin/includes/help.php:53
msgid "Aesop Galleries"
msgstr ""

#: ../admin/includes/help.php:43
#: ../admin/includes/help.php:54
msgid ""
"\n"
"\t \t\t<h3>Aesop Gallery Component</h3>\n"
Expand Down Expand Up @@ -1272,10 +1300,6 @@ msgstr ""
msgid "Enlarge"
msgstr ""

#: ../public/includes/options.php:13
msgid "Aesop Story Engine"
msgstr ""

#: ../public/includes/options.php:14
msgid ""
"Refer to the documentation located <a href=\"http://aesopstoryengine.com/"
Expand Down
2 changes: 1 addition & 1 deletion public/includes/components/component-gallery.php
Expand Up @@ -260,7 +260,7 @@ function aesop_sequence_gallery( $gallery_id, $image_ids, $width ){

$img = wp_get_attachment_url($image_id, $size, false,'');
$alt = get_post_meta($image_id, '_wp_attachment_image_alt', true);
$caption = get_post($image_id)->post_excerpt;
$caption = get_post($image_id)->post_excerpt;

?>
<figure class="aesop-sequence-img-wrap">
Expand Down

0 comments on commit 7fed3c0

Please sign in to comment.