Commit 9c9d11b065ca572f74a582e3bb9da3fe0f02d62b
Exists in
staging
and in
4 other branches
Merge branch 'site_tour' into stable
Conflicts: plugins/site_tour/lib/site_tour_plugin/tour_block.rb plugins/site_tour/public/edit_tour_block.css plugins/site_tour/public/main.js plugins/site_tour/test/functional/site_tour_plugin_admin_controller_test.rb plugins/site_tour/test/unit/site_tour_plugin_test.rb plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_group_item.html.erb plugins/site_tour/views/tour_actions.html.erb
Showing
25 changed files
with
1070 additions
and
10 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/breadcrumbs/lib/breadcrumbs_plugin.rb:8 | |
| 20 | +msgid "A plugin that add a block to display breadcrumbs." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:9 | |
| 24 | +msgid "Content Breadcrumbs" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:13 | |
| 28 | +msgid "This block displays breadcrumb trail." | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:56 | |
| 32 | +msgid "Upload Files" | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/breadcrumbs/views/box_organizer/breadcrumbs_plugin/_content_breadcrumbs_block.html.erb:2 | |
| 36 | +msgid "Show cms action" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/breadcrumbs/views/box_organizer/breadcrumbs_plugin/_content_breadcrumbs_block.html.erb:3 | |
| 40 | +msgid "Show profile" | |
| 41 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,161 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb:33 plugins/community_track/lib/community_track_plugin/step_helper.rb:4 | |
| 20 | +msgid "Soon" | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/community_track/controllers/public/community_track_plugin_public_controller.rb:40 | |
| 24 | +msgid "Select one community to proceed" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/community_track/lib/community_track_plugin.rb:8 | |
| 28 | +msgid "New kind of content for communities." | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/community_track/lib/community_track_plugin/track.rb:11 | |
| 32 | +msgid "should not be blank." | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/community_track/lib/community_track_plugin/track.rb:19 | |
| 36 | +msgid "Track" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/community_track/lib/community_track_plugin/track.rb:23 | |
| 40 | +msgid "Defines a track." | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:4 | |
| 44 | +msgid "Track Card List" | |
| 45 | +msgstr "" | |
| 46 | + | |
| 47 | +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:8 | |
| 48 | +msgid "This block displays a list of most relevant tracks as cards." | |
| 49 | +msgstr "" | |
| 50 | + | |
| 51 | +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:10 | |
| 52 | +msgid "Track List" | |
| 53 | +msgstr "" | |
| 54 | + | |
| 55 | +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:14 | |
| 56 | +msgid "This block displays a list of most relevant tracks." | |
| 57 | +msgstr "" | |
| 58 | + | |
| 59 | +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4 | |
| 60 | +msgid "Closed" | |
| 61 | +msgstr "" | |
| 62 | + | |
| 63 | +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4 | |
| 64 | +msgid "Join!" | |
| 65 | +msgstr "" | |
| 66 | + | |
| 67 | +#: plugins/community_track/lib/community_track_plugin/step.rb:13 | |
| 68 | +msgid "Step not allowed at this parent." | |
| 69 | +msgstr "" | |
| 70 | + | |
| 71 | +#: plugins/community_track/lib/community_track_plugin/step.rb:47 | |
| 72 | +msgid "must be equal or after start date." | |
| 73 | +msgstr "" | |
| 74 | + | |
| 75 | +#: plugins/community_track/lib/community_track_plugin/step.rb:52 | |
| 76 | +msgid "Step" | |
| 77 | +msgstr "" | |
| 78 | + | |
| 79 | +#: plugins/community_track/lib/community_track_plugin/step.rb:56 | |
| 80 | +msgid "Defines a step." | |
| 81 | +msgstr "" | |
| 82 | + | |
| 83 | +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:3 | |
| 84 | +msgid "Show more at another page" | |
| 85 | +msgstr "" | |
| 86 | + | |
| 87 | +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:4 | |
| 88 | +msgid "Select Categories" | |
| 89 | +msgstr "" | |
| 90 | + | |
| 91 | +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:13 | |
| 92 | +msgid "Goals:" | |
| 93 | +msgstr "" | |
| 94 | + | |
| 95 | +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:14 | |
| 96 | +msgid "Expected Results:" | |
| 97 | +msgstr "" | |
| 98 | + | |
| 99 | +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:7 | |
| 100 | +msgid "Period" | |
| 101 | +msgstr "" | |
| 102 | + | |
| 103 | +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:15 | |
| 104 | +msgid "Tool type" | |
| 105 | +msgstr "" | |
| 106 | + | |
| 107 | +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:19 | |
| 108 | +msgid "Hidden Step" | |
| 109 | +msgstr "" | |
| 110 | + | |
| 111 | +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:3 | |
| 112 | +msgid "Select Community" | |
| 113 | +msgstr "" | |
| 114 | + | |
| 115 | +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:39 | |
| 116 | +msgid "New Track" | |
| 117 | +msgstr "" | |
| 118 | + | |
| 119 | +#: plugins/community_track/views/community_track_plugin_public/all_tracks.html.erb:1 | |
| 120 | +msgid "Tracks" | |
| 121 | +msgstr "" | |
| 122 | + | |
| 123 | +#: plugins/community_track/views/content_viewer/step.html.erb:13 plugins/community_track/views/content_viewer/step.html.erb:19 | |
| 124 | +msgid "Tool" | |
| 125 | +msgstr "" | |
| 126 | + | |
| 127 | +#: plugins/community_track/views/content_viewer/step.html.erb:15 plugins/community_track/views/content_viewer/_step_item.html.erb:23 | |
| 128 | +msgid "Create %s" | |
| 129 | +msgstr "" | |
| 130 | + | |
| 131 | +#: plugins/community_track/views/content_viewer/_step_item.html.erb:16 | |
| 132 | +msgid "Tool: " | |
| 133 | +msgstr "" | |
| 134 | + | |
| 135 | +#: plugins/community_track/views/content_viewer/_step_item.html.erb:32 | |
| 136 | +msgid "View" | |
| 137 | +msgstr "" | |
| 138 | + | |
| 139 | +#: plugins/community_track/views/content_viewer/track.html.erb:9 plugins/community_track/views/blocks/_track.html.erb:12 | |
| 140 | +msgid "Steps" | |
| 141 | +msgstr "" | |
| 142 | + | |
| 143 | +#: plugins/community_track/views/content_viewer/track.html.erb:16 | |
| 144 | +msgid "Reorder Steps" | |
| 145 | +msgstr "" | |
| 146 | + | |
| 147 | +#: plugins/community_track/views/content_viewer/track.html.erb:17 | |
| 148 | +msgid "Save Order" | |
| 149 | +msgstr "" | |
| 150 | + | |
| 151 | +#: plugins/community_track/views/content_viewer/track.html.erb:35 | |
| 152 | +msgid "Hidden Steps" | |
| 153 | +msgstr "" | |
| 154 | + | |
| 155 | +#: plugins/community_track/views/blocks/_track_card.html.erb:25 | |
| 156 | +msgid "hits" | |
| 157 | +msgstr "" | |
| 158 | + | |
| 159 | +#: plugins/community_track/views/blocks/_track_list_more.html.erb:5 | |
| 160 | +msgid "View All" | |
| 161 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/container_block/controllers/container_block_plugin_controller.rb:14 | |
| 20 | +msgid "Block successfully saved." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/container_block/lib/container_block_plugin.rb:8 | |
| 24 | +msgid "A plugin that add a container block." | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/container_block/lib/container_block_plugin/container_block.rb:21 | |
| 28 | +msgid "Container" | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/container_block/lib/container_block_plugin/container_block.rb:25 | |
| 32 | +msgid "This block acts as a container for another blocks" | |
| 33 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,49 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/context_content/lib/context_content_plugin/context_content_block.rb:16 | |
| 20 | +msgid "Display context content" | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/context_content/lib/context_content_plugin/context_content_block.rb:20 | |
| 24 | +msgid "This block displays content based on context." | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/context_content/lib/context_content_plugin.rb:8 | |
| 28 | +msgid "A plugin that display content based on page context." | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/context_content/views/box_organizer/context_content_plugin/_context_content_block.html.erb:3 | |
| 32 | +msgid "Show content name" | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/context_content/views/box_organizer/context_content_plugin/_context_content_block.html.erb:4 | |
| 36 | +msgid "Show content image" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/context_content/views/box_organizer/context_content_plugin/_context_content_block.html.erb:5 | |
| 40 | +msgid "Show parent content when children is empty" | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/context_content/views/box_organizer/context_content_plugin/_context_content_block.html.erb:8 | |
| 44 | +msgid "Display content types:" | |
| 45 | +msgstr "" | |
| 46 | + | |
| 47 | +#: plugins/context_content/views/box_organizer/context_content_plugin/_context_content_block.html.erb:14 | |
| 48 | +msgid "more" | |
| 49 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,101 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/display_content/lib/display_content_plugin.rb:10 | |
| 20 | +msgid "A plugin that adds a block where you could choose any of your content and display it." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/display_content/lib/display_content_block.rb:34 | |
| 24 | +msgid "Display your contents" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/display_content/lib/display_content_block.rb:38 | |
| 28 | +msgid "This block displays articles chosen by you. You can edit the block to select which of your articles is going to be displayed in the block." | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/display_content/lib/display_content_block.rb:43 | |
| 32 | +msgid "Publish date" | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/display_content/lib/display_content_block.rb:45 | |
| 36 | +msgid "Abstract" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/display_content/lib/display_content_block.rb:151 | |
| 40 | +msgid "Read more" | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/display_content/lib/display_content_block.rb:194 | |
| 44 | +msgid "%{month}/%{day}/%{year}" | |
| 45 | +msgstr "" | |
| 46 | + | |
| 47 | +#: plugins/display_content/lib/display_content_block.rb:194 | |
| 48 | +msgid "%{month}/%{day}" | |
| 49 | +msgstr "" | |
| 50 | + | |
| 51 | +#: plugins/display_content/lib/display_content_block.rb:197 | |
| 52 | +msgid "%{month_name} %{day}, %{year}" | |
| 53 | +msgstr "" | |
| 54 | + | |
| 55 | +#: plugins/display_content/lib/display_content_block.rb:197 | |
| 56 | +msgid "%{month_name} %{day}" | |
| 57 | +msgstr "" | |
| 58 | + | |
| 59 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:5 | |
| 60 | +msgid "Choose which attributes should be displayed and drag to reorder them:" | |
| 61 | +msgstr "" | |
| 62 | + | |
| 63 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:21 | |
| 64 | +msgid "Choose which content should be displayed:" | |
| 65 | +msgstr "" | |
| 66 | + | |
| 67 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:23 | |
| 68 | +msgid "Choose directly" | |
| 69 | +msgstr "" | |
| 70 | + | |
| 71 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:24 | |
| 72 | +msgid "Choose by Content Type" | |
| 73 | +msgstr "" | |
| 74 | + | |
| 75 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:28 | |
| 76 | +msgid "Order by:" | |
| 77 | +msgstr "" | |
| 78 | + | |
| 79 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:29 | |
| 80 | +msgid "Most recent" | |
| 81 | +msgstr "" | |
| 82 | + | |
| 83 | +#: plugins/display_content/views/box_organizer/_display_content_block.html.erb:30 | |
| 84 | +msgid "Most oldest" | |
| 85 | +msgstr "" | |
| 86 | + | |
| 87 | +#: plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb:1 | |
| 88 | +msgid "Display content types:" | |
| 89 | +msgstr "" | |
| 90 | + | |
| 91 | +#: plugins/display_content/views/box_organizer/_choose_by_content_type.html.erb:7 | |
| 92 | +msgid "more" | |
| 93 | +msgstr "" | |
| 94 | + | |
| 95 | +#: plugins/display_content/views/box_organizer/_choose_directly.html.erb:5 | |
| 96 | +msgid "Dinamically load children of selected folders" | |
| 97 | +msgstr "" | |
| 98 | + | |
| 99 | +#: plugins/display_content/views/box_organizer/_choose_directly.html.erb:9 | |
| 100 | +msgid "Limit:" | |
| 101 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/google_cse/lib/google_cse_plugin.rb:8 | |
| 20 | +msgid "A plugin that uses the Google Custom Search as Noosfero general search engine." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/google_cse/views/google_cse_plugin/results.html.erb:2 | |
| 24 | +msgid "Loading" | |
| 25 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/lattes_curriculum/test/unit/lattes_curriculum_test.rb:18 plugins/lattes_curriculum/lib/lattes_curriculum_plugin.rb:8 | |
| 20 | +msgid "A plugin that imports the lattes curriculum into the users profiles" | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/lattes_curriculum/lib/lattes_curriculum_plugin.rb:40 | |
| 24 | +msgid "Lattes" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/lattes_curriculum/lib/lattes_curriculum_plugin.rb:73 plugins/lattes_curriculum/lib/lattes_curriculum_plugin.rb:106 | |
| 28 | +msgid " Invalid lattes url" | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/lattes_curriculum/lib/academic_info.rb:10 | |
| 32 | +msgid " is invalid." | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/lattes_curriculum/lib/html_parser.rb:19 | |
| 36 | +msgid "Lattes not found. Please, make sure the informed URL is correct." | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/lattes_curriculum/lib/html_parser.rb:21 | |
| 40 | +msgid "Lattes Platform is unreachable. Please, try it later." | |
| 41 | +msgstr "" | ... | ... |
plugins/mark_comment_as_read/po/mark_comment_as_read.pot
0 → 100644
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/mark_comment_as_read/lib/mark_comment_as_read_plugin.rb:10 | |
| 20 | +msgid "Provide a button to mark a comment as read." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/mark_comment_as_read/lib/mark_comment_as_read_plugin.rb:23 | |
| 24 | +msgid "Mark as not read" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/mark_comment_as_read/lib/mark_comment_as_read_plugin.rb:24 | |
| 28 | +msgid "Mark as read" | |
| 29 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,70 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/recent_content/lib/recent_content_block.rb:17 | |
| 20 | +msgid "This block displays all articles inside the blog you choose. You can edit the block to select which of your blogs is going to be displayed in the block." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/recent_content/lib/recent_content_plugin.rb:10 | |
| 24 | +msgid "A plugin that adds a block where you can display the content of any of your blogs." | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:3 | |
| 28 | +msgid "No blogs found. Please add a blog in order to configure this block." | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:6 | |
| 32 | +msgid "Choose which blog should be displayed" | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:14 | |
| 36 | +msgid "Choose how the content should be displayed" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:19 | |
| 40 | +msgid "Title only" | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:20 | |
| 44 | +msgid "Title and abstract" | |
| 45 | +msgstr "" | |
| 46 | + | |
| 47 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:21 | |
| 48 | +msgid "Full content" | |
| 49 | +msgstr "" | |
| 50 | + | |
| 51 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:28 | |
| 52 | +msgid "Choose how many items will be displayed" | |
| 53 | +msgstr "" | |
| 54 | + | |
| 55 | +#: plugins/recent_content/views/box_organizer/_recent_content_block.html.erb:33 | |
| 56 | +msgid "Display blog cover image" | |
| 57 | +msgstr "" | |
| 58 | + | |
| 59 | +#: plugins/recent_content/views/blocks/recent_content_block.html.erb:26 | |
| 60 | +#: plugins/recent_content/views/blocks/recent_content_block.html.erb:35 | |
| 61 | +msgid "Read more" | |
| 62 | +msgstr "" | |
| 63 | + | |
| 64 | +#: plugins/recent_content/views/blocks/recent_content_block.html.erb:39 | |
| 65 | +msgid "View All" | |
| 66 | +msgstr "" | |
| 67 | + | |
| 68 | +#: plugins/recent_content/views/blocks/recent_content_block.html.erb:43 | |
| 69 | +msgid "This is the recent content block. Please edit it to show the content you want." | |
| 70 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/remote_user/lib/remote_user_plugin.rb:8 | |
| 20 | +msgid "A plugin that add remote user support." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/remote_user/lib/remote_user_plugin.rb:55 | |
| 24 | +msgid "Could not create the remote_user." | |
| 25 | +msgstr "" | ... | ... |
plugins/require_auth_to_comment/po/require_auth_to_comment.pot
0 → 100644
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/require_auth_to_comment/lib/require_auth_to_comment_plugin.rb:12 | |
| 20 | +msgid "Requires users to authenticate in order to post comments." | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/require_auth_to_comment/views/profile-editor-extras.html.erb:1 | |
| 24 | +msgid "Comments" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/require_auth_to_comment/views/profile-editor-extras.html.erb:3 | |
| 28 | +msgid "Accept comments from unauthenticated users" | |
| 29 | +msgstr "" | ... | ... |
| ... | ... | @@ -0,0 +1,65 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/send_email/controllers/send_email_plugin_base_controller.rb:16 plugins/send_email/views/send_email_plugin/success.html.erb:1 | |
| 20 | +msgid "Message sent" | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/send_email/controllers/send_email_plugin_admin_controller.rb:7 | |
| 24 | +msgid "Configurations was saved" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/send_email/controllers/send_email_plugin_admin_controller.rb:10 | |
| 28 | +msgid "Configurations could not be saved" | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/send_email/lib/send_email_plugin.rb:10 | |
| 32 | +msgid "A plugin that allows sending e-mails via HTML forms." | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/send_email/lib/send_email_plugin/mail.rb:4 | |
| 36 | +msgid "To" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/send_email/lib/send_email_plugin/mail.rb:24 | |
| 40 | +msgid "'%s' isn't a valid e-mail address" | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/send_email/lib/send_email_plugin/mail.rb:31 | |
| 44 | +msgid "'%s' address is not allowed (see SendEmailPlugin config)" | |
| 45 | +msgstr "" | |
| 46 | + | |
| 47 | +#: plugins/send_email/views/send_email_plugin_admin/index.html.erb:1 | |
| 48 | +msgid "SendEmailPlugin's config" | |
| 49 | +msgstr "" | |
| 50 | + | |
| 51 | +#: plugins/send_email/views/send_email_plugin_admin/index.html.erb:4 | |
| 52 | +msgid "E-Mail addresses you want to allow to send" | |
| 53 | +msgstr "" | |
| 54 | + | |
| 55 | +#: plugins/send_email/views/send_email_plugin_admin/index.html.erb:5 | |
| 56 | +msgid "(list of email addresses separated by comma)" | |
| 57 | +msgstr "" | |
| 58 | + | |
| 59 | +#: plugins/send_email/views/send_email_plugin/sender/message.html.erb:1 | |
| 60 | +msgid "Contact from %s" | |
| 61 | +msgstr "" | |
| 62 | + | |
| 63 | +#: plugins/send_email/views/send_email_plugin/fail.html.erb:1 | |
| 64 | +msgid "The message could not be sent" | |
| 65 | +msgstr "" | ... | ... |
plugins/site_tour/lib/site_tour_plugin/site_tour_helper.rb
0 → 100644
| ... | ... | @@ -0,0 +1,14 @@ |
| 1 | +module SiteTourPlugin::SiteTourHelper | |
| 2 | + | |
| 3 | + def parse_tour_description(description) | |
| 4 | + p = profile rescue nil | |
| 5 | + if !p.nil? && description.present? | |
| 6 | + description.gsub('{profile.identifier}', p.identifier). | |
| 7 | + gsub('{profile.name}', p.name). | |
| 8 | + gsub('{profile.url}', url_for(p.url)) | |
| 9 | + else | |
| 10 | + description | |
| 11 | + end | |
| 12 | + end | |
| 13 | + | |
| 14 | +end | ... | ... |
plugins/site_tour/lib/site_tour_plugin/tour_block.rb
| ... | ... | @@ -8,7 +8,7 @@ class SiteTourPlugin::TourBlock < Block |
| 8 | 8 | |
| 9 | 9 | before_save do |block| |
| 10 | 10 | block.actions.reject! {|i| i[:group_name].blank? && i[:selector].blank? && i[:description].blank?} |
| 11 | - block.group_triggers.reject! {|i| i[:group_name].blank? && i[:selector].blank? && i[:event].blank?} | |
| 11 | + block.group_triggers.reject! {|i| i[:group_name].blank? && i[:selector].blank?} | |
| 12 | 12 | end |
| 13 | 13 | |
| 14 | 14 | def self.description | ... | ... |
| ... | ... | @@ -0,0 +1,119 @@ |
| 1 | +msgid "" | |
| 2 | +msgstr "" | |
| 3 | +"Project-Id-Version: 1.0\n" | |
| 4 | +"POT-Creation-Date: 2015-02-03 18:26-0300\n" | |
| 5 | +"PO-Revision-Date: 2015-02-03 17:27-0300\n" | |
| 6 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 7 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 8 | +"Language: \n" | |
| 9 | +"MIME-Version: 1.0\n" | |
| 10 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 11 | +"Content-Transfer-Encoding: 8bit\n" | |
| 12 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 13 | + | |
| 14 | +#: plugins/site_tour/lib/site_tour_plugin.rb:8 | |
| 15 | +msgid "A site tour to show users how to use the application." | |
| 16 | +msgstr "Um plugin para apresentar aos usuários um tour da aplicação" | |
| 17 | + | |
| 18 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:3 | |
| 19 | +msgid "Click to start tour!" | |
| 20 | +msgstr "Clique para iniciar o tour!" | |
| 21 | + | |
| 22 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:15 | |
| 23 | +msgid "Site Tour Block" | |
| 24 | +msgstr "Bloco para Site Tour" | |
| 25 | + | |
| 26 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:19 | |
| 27 | +msgid "Configure a step-by-step tour." | |
| 28 | +msgstr "Configure o passo a passo do tour." | |
| 29 | + | |
| 30 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:1 | |
| 31 | +msgid "Site Tour Settings" | |
| 32 | +msgstr "Configurações do Site Tour" | |
| 33 | + | |
| 34 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:5 | |
| 35 | +msgid "Tooltips (CSV format: language, group name, selector, description)" | |
| 36 | +msgstr "Tooltips (Formato CSV: idioma, nome do grupo, seletor, descrição)" | |
| 37 | + | |
| 38 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:6 | |
| 39 | +msgid "" | |
| 40 | +"Group Triggers (CSV format: group name, selector, event (e.g. mouseenter, " | |
| 41 | +"click))" | |
| 42 | +msgstr "" | |
| 43 | +"Gatilhos dos grupos (Formato CSV: nome do grupo, seletor, evento (e.g. " | |
| 44 | +"mouseenter, click))" | |
| 45 | + | |
| 46 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:9 | |
| 47 | +msgid "Save" | |
| 48 | +msgstr "Salvar" | |
| 49 | + | |
| 50 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_group_item.html.erb:15 | |
| 51 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_item.html.erb:13 | |
| 52 | +msgid "Delete" | |
| 53 | +msgstr "Apagar" | |
| 54 | + | |
| 55 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:4 | |
| 56 | +msgid "Display help button" | |
| 57 | +msgstr "Mostrar o botão de ajuda" | |
| 58 | + | |
| 59 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:8 | |
| 60 | +msgid "Tooltip Actions" | |
| 61 | +msgstr "Ações do Tooltip" | |
| 62 | + | |
| 63 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:9 | |
| 64 | +msgid "" | |
| 65 | +"Special fields for description: {profile.name}, {profile.identifier}, " | |
| 66 | +"{profile.url}." | |
| 67 | +msgstr "" | |
| 68 | +"Campos especiais para a descrição: {profile.name}, {profile.identifier}, " | |
| 69 | +"{profile.url}" | |
| 70 | + | |
| 71 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:11 | |
| 72 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:29 | |
| 73 | +msgid "Group Name" | |
| 74 | +msgstr "Nome do Grupo" | |
| 75 | + | |
| 76 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:12 | |
| 77 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:30 | |
| 78 | +msgid "Selector" | |
| 79 | +msgstr "Seletor" | |
| 80 | + | |
| 81 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:13 | |
| 82 | +msgid "Description" | |
| 83 | +msgstr "Descrição" | |
| 84 | + | |
| 85 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:23 | |
| 86 | +msgid "New Tooltip" | |
| 87 | +msgstr "Novo Tooltip" | |
| 88 | + | |
| 89 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:27 | |
| 90 | +msgid "Group Triggers" | |
| 91 | +msgstr "Gatilhos dos Grupos" | |
| 92 | + | |
| 93 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:31 | |
| 94 | +msgid "Event" | |
| 95 | +msgstr "Evento" | |
| 96 | + | |
| 97 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:41 | |
| 98 | +msgid "New Group Trigger" | |
| 99 | +msgstr "Novo Gatilho de Grupo" | |
| 100 | + | |
| 101 | +#: plugins/site_tour/views/blocks/tour.html.erb:4 | |
| 102 | +msgid "Help" | |
| 103 | +msgstr "Ajuda" | |
| 104 | + | |
| 105 | +#: plugins/site_tour/views/tour_actions.html.erb:18 | |
| 106 | +msgid "Next" | |
| 107 | +msgstr "Próximo" | |
| 108 | + | |
| 109 | +#: plugins/site_tour/views/tour_actions.html.erb:19 | |
| 110 | +msgid "Back" | |
| 111 | +msgstr "Anterior" | |
| 112 | + | |
| 113 | +#: plugins/site_tour/views/tour_actions.html.erb:20 | |
| 114 | +msgid "Skip" | |
| 115 | +msgstr "Pular" | |
| 116 | + | |
| 117 | +#: plugins/site_tour/views/tour_actions.html.erb:21 | |
| 118 | +msgid "Finish" | |
| 119 | +msgstr "Fim" | ... | ... |
| ... | ... | @@ -0,0 +1,121 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:26-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 17:27-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"Language: \n" | |
| 15 | +"MIME-Version: 1.0\n" | |
| 16 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 17 | +"Content-Transfer-Encoding: 8bit\n" | |
| 18 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 19 | + | |
| 20 | +#: plugins/site_tour/lib/site_tour_plugin.rb:8 | |
| 21 | +msgid "A site tour to show users how to use the application." | |
| 22 | +msgstr "" | |
| 23 | + | |
| 24 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:3 | |
| 25 | +msgid "Click to start tour!" | |
| 26 | +msgstr "" | |
| 27 | + | |
| 28 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:15 | |
| 29 | +msgid "Site Tour Block" | |
| 30 | +msgstr "" | |
| 31 | + | |
| 32 | +#: plugins/site_tour/lib/site_tour_plugin/tour_block.rb:19 | |
| 33 | +msgid "Configure a step-by-step tour." | |
| 34 | +msgstr "" | |
| 35 | + | |
| 36 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:1 | |
| 37 | +msgid "Site Tour Settings" | |
| 38 | +msgstr "" | |
| 39 | + | |
| 40 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:5 | |
| 41 | +msgid "Tooltips (CSV format: language, group name, selector, description)" | |
| 42 | +msgstr "" | |
| 43 | + | |
| 44 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:6 | |
| 45 | +msgid "" | |
| 46 | +"Group Triggers (CSV format: group name, selector, event (e.g. mouseenter, " | |
| 47 | +"click))" | |
| 48 | +msgstr "" | |
| 49 | + | |
| 50 | +#: plugins/site_tour/views/site_tour_plugin_admin/index.html.erb:9 | |
| 51 | +msgid "Save" | |
| 52 | +msgstr "" | |
| 53 | + | |
| 54 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_group_item.html.erb:15 | |
| 55 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_item.html.erb:13 | |
| 56 | +msgid "Delete" | |
| 57 | +msgstr "" | |
| 58 | + | |
| 59 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:4 | |
| 60 | +msgid "Display help button" | |
| 61 | +msgstr "" | |
| 62 | + | |
| 63 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:8 | |
| 64 | +msgid "Tooltip Actions" | |
| 65 | +msgstr "" | |
| 66 | + | |
| 67 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:9 | |
| 68 | +msgid "" | |
| 69 | +"Special fields for description: {profile.name}, {profile.identifier}, " | |
| 70 | +"{profile.url}." | |
| 71 | +msgstr "" | |
| 72 | + | |
| 73 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:11 | |
| 74 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:29 | |
| 75 | +msgid "Group Name" | |
| 76 | +msgstr "" | |
| 77 | + | |
| 78 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:12 | |
| 79 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:30 | |
| 80 | +msgid "Selector" | |
| 81 | +msgstr "" | |
| 82 | + | |
| 83 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:13 | |
| 84 | +msgid "Description" | |
| 85 | +msgstr "" | |
| 86 | + | |
| 87 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:23 | |
| 88 | +msgid "New Tooltip" | |
| 89 | +msgstr "" | |
| 90 | + | |
| 91 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:27 | |
| 92 | +msgid "Group Triggers" | |
| 93 | +msgstr "" | |
| 94 | + | |
| 95 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:31 | |
| 96 | +msgid "Event" | |
| 97 | +msgstr "" | |
| 98 | + | |
| 99 | +#: plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb:41 | |
| 100 | +msgid "New Group Trigger" | |
| 101 | +msgstr "" | |
| 102 | + | |
| 103 | +#: plugins/site_tour/views/blocks/tour.html.erb:4 | |
| 104 | +msgid "Help" | |
| 105 | +msgstr "" | |
| 106 | + | |
| 107 | +#: plugins/site_tour/views/tour_actions.html.erb:18 | |
| 108 | +msgid "Next" | |
| 109 | +msgstr "" | |
| 110 | + | |
| 111 | +#: plugins/site_tour/views/tour_actions.html.erb:19 | |
| 112 | +msgid "Back" | |
| 113 | +msgstr "" | |
| 114 | + | |
| 115 | +#: plugins/site_tour/views/tour_actions.html.erb:20 | |
| 116 | +msgid "Skip" | |
| 117 | +msgstr "" | |
| 118 | + | |
| 119 | +#: plugins/site_tour/views/tour_actions.html.erb:21 | |
| 120 | +msgid "Finish" | |
| 121 | +msgstr "" | ... | ... |
plugins/site_tour/public/edit_tour_block.css
plugins/site_tour/public/main.js
| ... | ... | @@ -4,6 +4,7 @@ var siteTourPlugin = (function() { |
| 4 | 4 | var groupTriggers = []; |
| 5 | 5 | var userData = {}; |
| 6 | 6 | var intro; |
| 7 | + var options = {}; | |
| 7 | 8 | |
| 8 | 9 | function hasMark(name) { |
| 9 | 10 | return jQuery.cookie("_noosfero_.sitetour." + name) || |
| ... | ... | @@ -54,6 +55,9 @@ var siteTourPlugin = (function() { |
| 54 | 55 | } |
| 55 | 56 | |
| 56 | 57 | return { |
| 58 | + setOption: function(key, value) { | |
| 59 | + options[key] = value; | |
| 60 | + }, | |
| 57 | 61 | add: function (name, selector, text, step) { |
| 58 | 62 | actions.push({name: name, selector: selector, text: text, step: step}); |
| 59 | 63 | }, |
| ... | ... | @@ -73,6 +77,8 @@ var siteTourPlugin = (function() { |
| 73 | 77 | |
| 74 | 78 | intro = introJs(); |
| 75 | 79 | intro.setOption('tooltipPosition', 'auto'); |
| 80 | + intro.setOption('showStepNumbers', 'false'); | |
| 81 | + intro.setOptions(options); | |
| 76 | 82 | intro.onafterchange(function(targetElement) { |
| 77 | 83 | var name = jQuery(targetElement).attr('data-intro-name'); |
| 78 | 84 | mark(name); | ... | ... |
plugins/site_tour/test/functional/site_tour_plugin_admin_controller_test.rb
| ... | ... | @@ -4,8 +4,7 @@ class SiteTourPluginAdminControllerTest < ActionController::TestCase |
| 4 | 4 | |
| 5 | 5 | def setup |
| 6 | 6 | @environment = Environment.default |
| 7 | - @profile = create_user('profile').person | |
| 8 | - login_as(@profile.identifier) | |
| 7 | + login_as(create_admin_user(@environment)) | |
| 9 | 8 | end |
| 10 | 9 | |
| 11 | 10 | attr_reader :environment | ... | ... |
| ... | ... | @@ -0,0 +1,17 @@ |
| 1 | +require File.dirname(__FILE__) + '/../test_helper' | |
| 2 | + | |
| 3 | +class SiteTourHelperTest < ActionView::TestCase | |
| 4 | + | |
| 5 | + include SiteTourPlugin::SiteTourHelper | |
| 6 | + | |
| 7 | + should 'parse tooltip description' do | |
| 8 | + assert_equal 'test', parse_tour_description("test") | |
| 9 | + end | |
| 10 | + | |
| 11 | + should 'replace profile attributes in tooltip description' do | |
| 12 | + profile = fast_create(Profile) | |
| 13 | + expects(:profile).returns(profile).at_least_once | |
| 14 | + assert_equal "name #{profile.name}, identifier #{profile.identifier}, url #{url_for profile.url}", parse_tour_description("name {profile.name}, identifier {profile.identifier}, url {profile.url}") | |
| 15 | + end | |
| 16 | + | |
| 17 | +end | ... | ... |
plugins/site_tour/test/unit/site_tour_plugin_test.rb
| ... | ... | @@ -67,7 +67,7 @@ class SiteTourPluginTest < ActionView::TestCase |
| 67 | 67 | body_ending = instance_exec(&plugin.body_ending) |
| 68 | 68 | assert_match /siteTourPlugin\.add\('test_a', 'body', 'Test A1', 1\);/, body_ending |
| 69 | 69 | assert_match /siteTourPlugin\.add\('test_a', 'body', 'Test A2', 2\);/, body_ending |
| 70 | - assert_match /siteTourPlugin\.add\('test_b', 'body', 'Test B1', 1\);/, body_ending | |
| 70 | + assert_match /siteTourPlugin\.add\('test_b', 'body', 'Test B1', 3\);/, body_ending | |
| 71 | 71 | end |
| 72 | 72 | |
| 73 | 73 | end | ... | ... |
plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block.html.erb
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | <div id='edit-tour-block'> |
| 7 | 7 | <div id="tooltip-actions" class="list-items"> |
| 8 | 8 | <h3><%= _('Tooltip Actions') %></h3> |
| 9 | + <div class="special-attributes"><%= _('Special fields for description: {profile.name}, {profile.identifier}, {profile.url}.') %></div> | |
| 9 | 10 | <ul class='list-header'> |
| 10 | 11 | <li class='list-name'><%= _('Group Name') %></li> |
| 11 | 12 | <li class='list-selector'><%= _('Selector') %></li> | ... | ... |
plugins/site_tour/views/box_organizer/site_tour_plugin/_tour_block_group_item.html.erb
| ... | ... | @@ -7,7 +7,9 @@ |
| 7 | 7 | <%= text_field_tag 'block[group_triggers][][selector]', group[:selector], :class => 'selector' %> |
| 8 | 8 | </li> |
| 9 | 9 | <li> |
| 10 | - <%= text_field_tag 'block[group_triggers][][event]', group[:event], :class => 'description' %> | |
| 10 | + <%= select_tag 'block[group_triggers][][event]', | |
| 11 | + options_for_select(['mouseenter', 'mouseleave', 'mouseover', 'mouseout', 'click', 'change', 'select', 'keydown', 'keyup', 'keypress', 'focus', 'blur', 'submit', 'drag', 'drop'], group[:event]), | |
| 12 | + :class => 'description' %> | |
| 11 | 13 | </li> |
| 12 | 14 | <li> |
| 13 | 15 | <%= button_without_text(:delete, _('Delete'), "#" , :class=>"delete-tour-block-item") %> | ... | ... |
plugins/site_tour/views/tour_actions.html.erb
| 1 | +<% extend SiteTourPlugin::SiteTourHelper %> | |
| 1 | 2 | <% js_file = defined?(:js_file) ? js_file : nil %> |
| 2 | 3 | <%= javascript_include_tag(js_file) if js_file.present? %> |
| 3 | 4 | |
| 4 | 5 | <% if actions.present? %> |
| 5 | 6 | <script> |
| 6 | 7 | jQuery( document ).ready(function( $ ) { |
| 7 | - <% actions.group_by {|h| h[:group_name]}.each do |group, group_actions| %> | |
| 8 | - <% group_actions.each_with_index do |action, index| %> | |
| 9 | - <%= "siteTourPlugin.add('#{j action[:group_name]}', '#{j action[:selector]}', '#{j action[:description]}', #{index + 1});" %> | |
| 10 | - <% end %> | |
| 8 | + <% actions.each_with_index do |action, index| %> | |
| 9 | + <%= "siteTourPlugin.add('#{j action[:group_name]}', '#{j action[:selector]}', '#{j parse_tour_description(action[:description])}', #{index + 1});" %> | |
| 11 | 10 | <% end %> |
| 12 | 11 | |
| 13 | - <% (group_triggers||[]).each_with_index do |group, index| %> | |
| 12 | + <% (group_triggers||[]).each do |group| %> | |
| 14 | 13 | <%= "siteTourPlugin.addGroupTrigger('#{j group[:group_name]}', '#{j group[:selector]}', '#{j group[:event]}');" %> |
| 15 | 14 | <% end %> |
| 15 | + | |
| 16 | + siteTourPlugin.setOption('nextLabel', '<%= _('Next') %>'); | |
| 17 | + siteTourPlugin.setOption('prevLabel', '<%= _('Back') %>'); | |
| 18 | + siteTourPlugin.setOption('skipLabel', '<%= _('Skip') %>'); | |
| 19 | + siteTourPlugin.setOption('doneLabel', '<%= _('Finish') %>'); | |
| 16 | 20 | }); |
| 17 | 21 | </script> |
| 18 | 22 | <% end %> | ... | ... |
| ... | ... | @@ -0,0 +1,100 @@ |
| 1 | +# SOME DESCRIPTIVE TITLE. | |
| 2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
| 3 | +# This file is distributed under the same license as the PACKAGE package. | |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | +# | |
| 6 | +#, fuzzy | |
| 7 | +msgid "" | |
| 8 | +msgstr "" | |
| 9 | +"Project-Id-Version: 1.0\n" | |
| 10 | +"POT-Creation-Date: 2015-02-03 18:31-0300\n" | |
| 11 | +"PO-Revision-Date: 2015-02-03 18:31-0300\n" | |
| 12 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
| 13 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
| 14 | +"MIME-Version: 1.0\n" | |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
| 16 | +"Content-Transfer-Encoding: 8bit\n" | |
| 17 | +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
| 18 | + | |
| 19 | +#: plugins/sub_organizations/controllers/sub_organizations_plugin_myprofile_controller.rb:25 | |
| 20 | +msgid "Sub-organizations updated" | |
| 21 | +msgstr "" | |
| 22 | + | |
| 23 | +#: plugins/sub_organizations/controllers/sub_organizations_plugin_myprofile_controller.rb:28 | |
| 24 | +msgid "Sub-organizations could not be updated" | |
| 25 | +msgstr "" | |
| 26 | + | |
| 27 | +#: plugins/sub_organizations/lib/related_organizations_block.rb:8 | |
| 28 | +msgid "Related Organizations" | |
| 29 | +msgstr "" | |
| 30 | + | |
| 31 | +#: plugins/sub_organizations/lib/related_organizations_block.rb:27 | |
| 32 | +msgid "\"This block displays #{display_type[:title]} organizations of this organization\"" | |
| 33 | +msgstr "" | |
| 34 | + | |
| 35 | +#: plugins/sub_organizations/lib/sub_organizations_plugin.rb:14 | |
| 36 | +msgid "Sub-groups" | |
| 37 | +msgstr "" | |
| 38 | + | |
| 39 | +#: plugins/sub_organizations/lib/sub_organizations_plugin.rb:18 | |
| 40 | +msgid "Adds the ability for groups to have sub-groups." | |
| 41 | +msgstr "" | |
| 42 | + | |
| 43 | +#: plugins/sub_organizations/lib/sub_organizations_plugin.rb:23 | |
| 44 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:1 | |
| 45 | +msgid "Manage sub-groups" | |
| 46 | +msgstr "" | |
| 47 | + | |
| 48 | +#: plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb:20 | |
| 49 | +msgid "Paternity request" | |
| 50 | +msgstr "" | |
| 51 | + | |
| 52 | +#: plugins/sub_organizations/lib/sub_organizations_plugin/approve_paternity.rb:28 | |
| 53 | +msgid "%{requestor} wants to add this organization as a sub-organization of %{linked_subject}." | |
| 54 | +msgstr "" | |
| 55 | + | |
| 56 | +#: plugins/sub_organizations/lib/sub_organizations_plugin/relation.rb:24 | |
| 57 | +msgid "multi-level paternity is not allowed." | |
| 58 | +msgstr "" | |
| 59 | + | |
| 60 | +#: plugins/sub_organizations/views/sub_organizations_plugin_profile/_full_related_organizations.html.erb:4 | |
| 61 | +#: plugins/sub_organizations/views/sub_organizations_plugin_profile/_related_organizations.html.erb:2 | |
| 62 | +msgid "\"#{profile.name}'s sub-#{organization_type.pluralize}\"" | |
| 63 | +msgstr "" | |
| 64 | + | |
| 65 | +#: plugins/sub_organizations/views/sub_organizations_plugin_profile/_full_related_organizations.html.erb:56 | |
| 66 | +#: plugins/sub_organizations/views/sub_organizations_plugin_profile/_related_organizations.html.erb:14 | |
| 67 | +msgid "\"Add a new #{organization_type}\"" | |
| 68 | +msgstr "" | |
| 69 | + | |
| 70 | +#: plugins/sub_organizations/views/sub_organizations_plugin_profile/_related_organizations.html.erb:10 | |
| 71 | +msgid "\"There are no sub-#{organization_type.pluralize} yet. \"" | |
| 72 | +msgstr "" | |
| 73 | + | |
| 74 | +#: plugins/sub_organizations/views/box_organizer/_related_organizations_block.html.erb:2 | |
| 75 | +msgid "Type of organizations to be displayed" | |
| 76 | +msgstr "" | |
| 77 | + | |
| 78 | +#: plugins/sub_organizations/views/box_organizer/_related_organizations_block.html.erb:3 | |
| 79 | +msgid "Both" | |
| 80 | +msgstr "" | |
| 81 | + | |
| 82 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:4 | |
| 83 | +msgid "Sub-groups awaiting approval:" | |
| 84 | +msgstr "" | |
| 85 | + | |
| 86 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:14 | |
| 87 | +msgid "Create a new sub-community" | |
| 88 | +msgstr "" | |
| 89 | + | |
| 90 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:15 | |
| 91 | +msgid "Register a new sub-enterprise" | |
| 92 | +msgstr "" | |
| 93 | + | |
| 94 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:18 | |
| 95 | +msgid "Fill in the search field to find the groups that should be added as sub-group of this organization:" | |
| 96 | +msgstr "" | |
| 97 | + | |
| 98 | +#: plugins/sub_organizations/views/sub_organizations_plugin_myprofile/index.html.erb:21 | |
| 99 | +msgid "Type in a search term for a group" | |
| 100 | +msgstr "" | ... | ... |