pageflow 15.2.2 → 15.6.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -118
  3. data/README.md +2 -3
  4. data/admins/pageflow/accounts.rb +1 -98
  5. data/admins/pageflow/entry.rb +21 -1
  6. data/admins/pageflow/entry_templates.rb +140 -0
  7. data/admins/pageflow/membership.rb +12 -0
  8. data/admins/pageflow/user.rb +5 -5
  9. data/app/assets/javascripts/pageflow/admin/entries.js +65 -0
  10. data/app/assets/javascripts/pageflow/admin/users.js +1 -1
  11. data/app/assets/javascripts/pageflow/asset_urls.js.erb +1 -0
  12. data/app/assets/javascripts/pageflow/base.js +0 -12
  13. data/app/assets/javascripts/pageflow/components.js +2 -6
  14. data/app/assets/javascripts/pageflow/dist/ui.js +178 -55
  15. data/app/assets/javascripts/pageflow/editor/vendor.js +1 -0
  16. data/app/assets/javascripts/pageflow/vendor.js +12 -10
  17. data/app/assets/stylesheets/pageflow/base.scss +0 -7
  18. data/app/assets/stylesheets/pageflow/editor/base.scss +5 -2
  19. data/app/assets/stylesheets/pageflow/editor/composables.scss +5 -1
  20. data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +1 -1
  21. data/app/assets/stylesheets/pageflow/editor/emulation_mode_button.scss +44 -55
  22. data/app/assets/stylesheets/pageflow/editor/help.scss +2 -2
  23. data/app/assets/stylesheets/pageflow/editor/select_button.scss +1 -1
  24. data/app/assets/stylesheets/pageflow/editor/sidebar_footer.scss +1 -1
  25. data/app/assets/stylesheets/pageflow/entries.scss +1 -1
  26. data/app/assets/stylesheets/pageflow/loading_spinner.scss +4 -1
  27. data/app/assets/stylesheets/pageflow/navigation_mobile.scss +4 -4
  28. data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +1 -1
  29. data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +1 -1
  30. data/app/assets/stylesheets/pageflow/themes/default/page.scss +7 -0
  31. data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +1 -1
  32. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss +1 -1
  33. data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/info_box.scss +1 -1
  34. data/app/assets/stylesheets/pageflow/themes/default/player_controls/shared/menu_bar.scss +2 -2
  35. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss +2 -2
  36. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/info_box.scss +1 -1
  37. data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/quality_menu.scss +2 -2
  38. data/app/assets/stylesheets/pageflow/themes/default/player_controls/waveform/wave.scss +1 -1
  39. data/app/assets/stylesheets/pageflow/ui/forms.scss +9 -2
  40. data/app/assets/stylesheets/pageflow/ui/input/extended_select_input.scss +2 -2
  41. data/app/assets/stylesheets/pageflow/ui/tooltip.scss +17 -3
  42. data/app/helpers/pageflow/admin/entries_helper.rb +16 -0
  43. data/app/helpers/pageflow/structured_data_helper.rb +0 -2
  44. data/app/models/pageflow/account.rb +21 -1
  45. data/app/models/pageflow/account_role_query.rb +1 -1
  46. data/app/models/pageflow/chapter.rb +3 -9
  47. data/app/models/pageflow/entry.rb +9 -2
  48. data/app/models/pageflow/entry_duplicate.rb +1 -0
  49. data/app/models/pageflow/entry_template.rb +16 -2
  50. data/app/models/pageflow/managed_user_query.rb +1 -1
  51. data/app/models/pageflow/page.rb +1 -4
  52. data/app/models/pageflow/revision.rb +0 -4
  53. data/app/models/pageflow/storyline.rb +2 -9
  54. data/app/policies/pageflow/account_policy.rb +10 -0
  55. data/app/policies/pageflow/entry_template_policy.rb +5 -1
  56. data/app/policies/pageflow/folder_policy.rb +2 -2
  57. data/app/policies/pageflow/membership_policy.rb +2 -2
  58. data/app/policies/pageflow/theming_policy.rb +2 -2
  59. data/app/policies/pageflow/user_policy.rb +1 -1
  60. data/app/views/admin/accounts/_entry_template_details.html.arb +7 -5
  61. data/app/views/admin/accounts/_form.html.erb +3 -49
  62. data/app/views/admin/entries/_attributes_table.html.arb +5 -0
  63. data/app/views/admin/entries/_not_allowed_to_see_entry_types.json.jbuilder +2 -0
  64. data/app/views/admin/entries/entry_types.json.jbuilder +4 -0
  65. data/app/views/admin/entry_templates/_form.html.erb +58 -0
  66. data/app/views/admin/users/_not_allowed_to_see_user_quota.html.erb +3 -0
  67. data/app/views/components/pageflow/admin/entry_templates_tab.rb +48 -0
  68. data/app/views/pageflow/admin/initial_passwords/edit.html.erb +2 -1
  69. data/app/views/pageflow/admin/users/_quota_exhausted.html.erb +1 -1
  70. data/app/views/pageflow/themes/_theme.json.jbuilder +1 -1
  71. data/app/views/pageflow/video_files/_video_file.json.jbuilder +8 -1
  72. data/config/initializers/admin_resource_tabs.rb +5 -0
  73. data/config/initializers/help_entries.rb +1 -5
  74. data/config/initializers/revision_components.rb +5 -0
  75. data/config/locales/de.yml +88 -155
  76. data/config/locales/en.yml +79 -143
  77. data/db/migrate/20200515112500_add_constraints_to_entry_templates.rb +21 -0
  78. data/db/migrate/20200807135200_rename_pageflow_entry_template_entry_type_to_entry_type_name.rb +7 -0
  79. data/entry_types/paged/app/assets/javascripts/pageflow_paged/components.js +7 -0
  80. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +1528 -1349
  81. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +9258 -0
  82. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-client.js +1 -1
  83. data/{app/assets/javascripts/pageflow → entry_types/paged/app/assets/javascripts/pageflow_paged}/dist/react-server.js +3 -3
  84. data/entry_types/paged/app/assets/javascripts/pageflow_paged/frontend.js +6 -0
  85. data/entry_types/paged/app/assets/javascripts/pageflow_paged/server_rendering.js +9 -0
  86. data/entry_types/paged/app/assets/javascripts/pageflow_paged/vendor.js +9 -0
  87. data/entry_types/paged/app/assets/javascripts/pageflow_paged/videojs.js +6 -0
  88. data/entry_types/paged/app/controllers/pageflow_paged/application_controller.rb +2 -2
  89. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/page_background_asset_helper.rb +4 -3
  90. data/{app/helpers/pageflow → entry_types/paged/app/helpers/pageflow_paged}/react_server_side_rendering_helper.rb +23 -2
  91. data/entry_types/paged/app/views/layouts/pageflow_paged/_loading_spinner_inline_script.html.erb +1 -0
  92. data/entry_types/paged/app/views/layouts/pageflow_paged/application.html.erb +3 -3
  93. data/entry_types/paged/app/views/pageflow_paged/editor/entries/_head.html.erb +4 -2
  94. data/entry_types/paged/app/views/pageflow_paged/entries/_entry.html.erb +1 -1
  95. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/page_background_asset/_element.html.erb +0 -0
  96. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/_widget.html.erb +0 -0
  97. data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/react/page.html.erb +0 -0
  98. data/entry_types/paged/config/initializers/features.rb +1 -1
  99. data/entry_types/paged/config/initializers/help_entries.rb +17 -0
  100. data/entry_types/paged/config/locales/new/help.de.yml +162 -0
  101. data/entry_types/paged/config/locales/new/help.en.yml +153 -0
  102. data/entry_types/paged/lib/pageflow_paged/engine.rb +13 -0
  103. data/entry_types/paged/lib/pageflow_paged/plugin.rb +5 -1
  104. data/entry_types/paged/lib/pageflow_paged/react.rb +12 -0
  105. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/page_type.rb +2 -2
  106. data/{lib/pageflow → entry_types/paged/lib/pageflow_paged}/react/widget_type.rb +2 -2
  107. data/entry_types/paged/lib/tasks/pageflow_paged_tasks.rake +7 -0
  108. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react-server.js +20613 -0
  109. data/entry_types/paged/vendor/assets/javascripts/development/pageflow_paged/vendor/react.js +21495 -0
  110. data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/dash.all.min.js +0 -0
  111. data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/videojs-dash.js +0 -0
  112. data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/videojs.js +0 -0
  113. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react-server.js +24 -0
  114. data/entry_types/paged/vendor/assets/javascripts/production/pageflow_paged/vendor/react.js +24 -0
  115. data/entry_types/scrolled/app/assets/javascripts/pageflow_scrolled/legacy.js +0 -0
  116. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +2 -2
  117. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +14 -4
  118. data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +2 -2
  119. data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +10 -0
  120. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +7 -0
  121. data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +2 -0
  122. data/entry_types/scrolled/app/helpers/pageflow_scrolled/favicon_helper.rb +21 -0
  123. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +40 -0
  124. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +36 -0
  125. data/entry_types/scrolled/app/models/pageflow_scrolled/chapter.rb +3 -9
  126. data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +37 -2
  127. data/entry_types/scrolled/app/models/pageflow_scrolled/section.rb +3 -9
  128. data/entry_types/scrolled/app/models/pageflow_scrolled/storyline.rb +1 -9
  129. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/content_elements/batch.json.jbuilder +2 -0
  130. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +1 -7
  131. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/_global_notices.html.erb +10 -0
  132. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +28 -11
  133. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +3 -0
  134. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +8 -0
  135. data/entry_types/scrolled/app/views/pageflow_scrolled/favicons/_entry.html.erb +10 -0
  136. data/entry_types/scrolled/config/initializers/help_entries.rb +16 -0
  137. data/entry_types/scrolled/config/locales/de.yml +669 -0
  138. data/entry_types/scrolled/config/locales/en.yml +488 -0
  139. data/entry_types/scrolled/config/routes.rb +1 -0
  140. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +76 -6
  141. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/android-chrome-192x192.png +0 -0
  142. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/android-chrome-512x512.png +0 -0
  143. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/apple-touch-icon.png +0 -0
  144. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/browserconfig.xml +9 -0
  145. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon-16x16.png +0 -0
  146. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon-32x32.png +0 -0
  147. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon.ico +0 -0
  148. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/mstile-150x150.png +0 -0
  149. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/safari-pinned-tab.svg +46 -0
  150. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/site.webmanifest +19 -0
  151. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoDesktop.svg +56 -0
  152. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/logoMobile.svg +22 -0
  153. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/unmute.mp3 +0 -0
  154. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt +26 -0
  155. data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +6 -0
  156. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +3 -1
  157. data/entry_types/scrolled/lib/pageflow_scrolled/seeds.rb +90 -30
  158. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/create_bundle_symlinks_for_yarn.rake +33 -0
  159. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/dummy.rake +8 -0
  160. data/entry_types/scrolled/lib/tasks/pageflow_scrolled/storybook.rake +173 -0
  161. data/entry_types/scrolled/package/config/webpack.js +11 -0
  162. data/entry_types/scrolled/package/contentElements-editor.js +316 -185
  163. data/entry_types/scrolled/package/contentElements-frontend.css +1 -0
  164. data/entry_types/scrolled/package/contentElements-frontend.js +940 -304
  165. data/entry_types/scrolled/package/editor.js +2930 -371
  166. data/entry_types/scrolled/package/frontend-server.js +228 -0
  167. data/entry_types/scrolled/package/frontend/EditableText-7093fd0e.js +1071 -0
  168. data/entry_types/scrolled/package/frontend/Viewer-e49e7807.js +387 -0
  169. data/entry_types/scrolled/package/frontend/Wavesurfer-0adf5667.js +375 -0
  170. data/entry_types/scrolled/package/frontend/components-6a6793ca.js +2534 -0
  171. data/entry_types/scrolled/package/frontend/getPrototypeOf-63c7c8e8.js +86 -0
  172. data/entry_types/scrolled/package/frontend/i18n-4dc6c377.js +1092 -0
  173. data/entry_types/scrolled/package/frontend/index.css +9 -0
  174. data/entry_types/scrolled/package/frontend/index.js +5686 -0
  175. data/entry_types/scrolled/package/frontend/useBrowserFeature-91a4c29d.js +33 -0
  176. data/entry_types/scrolled/package/package.json +30 -9
  177. data/entry_types/scrolled/spec/fixtures/audio.m4a +0 -0
  178. data/entry_types/scrolled/spec/fixtures/video.mp4 +0 -0
  179. data/lib/generators/pageflow/initializer/templates/pageflow.rb +14 -9
  180. data/lib/pageflow/ability_mixin.rb +14 -2
  181. data/lib/pageflow/configuration.rb +6 -5
  182. data/lib/pageflow/entry_export_import/revision_serialization.rb +15 -13
  183. data/lib/pageflow/entry_export_import/revision_serialization/import.rb +18 -26
  184. data/lib/pageflow/entry_type_configuration.rb +2 -0
  185. data/lib/pageflow/global_config_api.rb +5 -4
  186. data/lib/pageflow/nested_revision_component.rb +49 -0
  187. data/lib/pageflow/react.rb +4 -2
  188. data/lib/pageflow/revision_component.rb +6 -2
  189. data/lib/pageflow/themes.rb +4 -0
  190. data/lib/pageflow/user_mixin.rb +2 -1
  191. data/lib/pageflow/version.rb +1 -1
  192. data/{packages/pageflow → package}/config/jest/index.js +8 -2
  193. data/{packages/pageflow → package}/config/jest/transformers/jst.js +0 -0
  194. data/{packages/pageflow → package}/config/jest/transformers/upwardBabel.js +0 -0
  195. data/{packages/pageflow → package}/config/webpack.js +7 -0
  196. data/{packages/pageflow → package}/editor.js +482 -1130
  197. data/package/frontend.js +2553 -0
  198. data/{packages/pageflow → package}/package.json +3 -0
  199. data/{packages/pageflow → package}/testHelpers.js +114 -13
  200. data/{packages/pageflow → package}/ui.js +178 -55
  201. data/spec/factories/accounts.rb +3 -1
  202. data/spec/factories/entry_templates.rb +1 -0
  203. data/spec/factories/published_entries.rb +6 -1
  204. data/spec/factories/test_revision_components.rb +4 -0
  205. metadata +95 -36
  206. data/app/assets/javascripts/pageflow/dist/frontend.js +0 -5800
  207. data/app/assets/javascripts/pageflow/videojs.js +0 -6
  208. data/config/initializers/entry_types.rb +0 -4
  209. data/entry_types/scrolled/config/locales/new/de.yml +0 -269
  210. data/entry_types/scrolled/config/locales/new/en.yml +0 -264
  211. data/entry_types/scrolled/lib/tasks/pageflow_scrolled_tasks.rake +0 -96
  212. data/entry_types/scrolled/package/frontend.js +0 -2879
  213. data/packages/pageflow/config/jest/transformers/cssModules.js +0 -1
@@ -0,0 +1,488 @@
1
+ en:
2
+ pageflow_scrolled:
3
+ editor:
4
+ blank_entry:
5
+ create_chapter: Click <em>New chapter</em> to create your first chapter.
6
+ create_content_element: Use the <em>Plus buttons</em> inside the preview to add text blocks and other elements.
7
+ create_section: Click <em>New section</em> within the chapter to add a section.
8
+ header: This is an empty Pageflow.
9
+ intro: Pageflows consist of chapters and sections. The sidebar on the right shows the outline of your story.
10
+ outro: In this area, a live preview will be shown.
11
+ browser_not_supported:
12
+ heading: The browser or device you are using is not supported
13
+ text: While Pageflow stories work on all modern browsers and devices, the Pageflow editor requires a desktop computer running a recent version of Chrome, Firefox, Safari or Edge.
14
+ chapter_item:
15
+ add_section: New section
16
+ drag_hint: Drag to move chapter
17
+ save_error: There was an error while saving this chapter.
18
+ common_content_element_attributes:
19
+ caption:
20
+ inline_help: The caption of the element will be displayed directly underneath the element.
21
+ label: Caption
22
+ position:
23
+ inline_help: 'This setting allows you to control the position of the element in relation to surrounding text blocks: the element can prominently stand alone ("Full Width"), it can be anchored within the text ("Inline") or it can be positioned adjacent to the text ("Sticky"). Sticky elements remain static in the middle of the viewport alongside the text until either the section is scrolled out of the viewport or until they get pushed upwards by the next sticky element of the section. On mobile devices sticky elements automatically get positioned inline. Sticky elements work particularly well on desktop devices in combination with long texts.'
24
+ label: Position
25
+ values:
26
+ full: Full Width
27
+ inline: Inline
28
+ left: Floated left
29
+ right: Floated right
30
+ sticky: Sticky
31
+ wide: Wide
32
+ content_elements:
33
+ dataWrapperChart:
34
+ attributes:
35
+ backgroundColor:
36
+ inline_help: Color of box containing the diagram. Especially for charts with transparent background, readability can be improved by choosing an appropriate background.
37
+ label: Background Color
38
+ create_chart:
39
+ label: Create new Datawrapper chart
40
+ title:
41
+ inline_help: Used by screen readers to describe the chart as a whole.
42
+ label: Title
43
+ url:
44
+ inline_help: URL of a chart published via Datawrapper. Datawrapper offers a special 'Pageflow' layout selectable on the 'Design' tab for optimal display inside Pageflow.
45
+ label: Chart URL
46
+ name: DataWrapper Chart
47
+ tabs:
48
+ general: Chart
49
+ externalLinkList:
50
+ add: Add
51
+ attributes:
52
+ description:
53
+ inline_help: Link-description for display in entry.
54
+ label: Description
55
+ open_in_new_tab:
56
+ label: Open in new tab
57
+ thumbnail:
58
+ inline_help: Link thumbnail image for display in entry.
59
+ label: Thumbnail
60
+ title:
61
+ inline_help: Link-title for display in entry.
62
+ label: Title
63
+ url:
64
+ inline_help: Absolute URL (inkluding http:// oder https://) of Link.
65
+ label: URL
66
+ back: Back
67
+ confirm_delete: Are you sure you want to delete this element?
68
+ confirm_delete_link: Are you sure you want to delete this link?
69
+ destroy: Delete
70
+ name: External links
71
+ outline: Outline
72
+ tabs:
73
+ edit_link: Edit Link
74
+ general: External Links
75
+ heading:
76
+ attributes:
77
+ children:
78
+ label: Text
79
+ name: Heading
80
+ tabs:
81
+ general: Heading
82
+ inlineAudio:
83
+ attributes:
84
+ atmoDuringPlayback:
85
+ inline_help: Choose which way the atmo shall behave during playback of this audio element.
86
+ label: Atmo During Playback
87
+ values:
88
+ mute: Mute
89
+ play: Keep playing
90
+ turnDown: Keep playing at lower volume
91
+ id:
92
+ label: Audio
93
+ playerControlVariant:
94
+ inline_help: Choose the style of player controls.
95
+ label: Player Controls
96
+ values:
97
+ classic: Classic
98
+ waveform: Waveform
99
+ posterId:
100
+ label: Poster
101
+ waveformColor:
102
+ inline_help: Color of the waveform's parts that represents the already played part of the audio.
103
+ label: Waveform Color
104
+ name: Inline Audio
105
+ tabs:
106
+ general: Inline Audio
107
+ inlineBeforeAfter:
108
+ attributes:
109
+ after_id:
110
+ inline_help: Shown to the right of divider.
111
+ label: After Image
112
+ after_label:
113
+ inline_help: 'Set the text of a short label for the After image. Examples: ''After'', ''January 2040'''
114
+ label: After Label
115
+ before_id:
116
+ inline_help: Shown to the left of divider.
117
+ label: Before Image
118
+ before_label:
119
+ inline_help: 'Set the text of a short label for the Before image. Examples: ''Before'', ''January 2000'''
120
+ label: Before Label
121
+ initial_slider_position:
122
+ inline_help: In case the divider shouldn't be in the middle at the start, its start position can be set here.
123
+ label: Divider start position
124
+ slider:
125
+ inline_help: Shows/hides visible slider at divider line.
126
+ label: Show Slider
127
+ slider_color:
128
+ inline_help: You can configure slider color (incl. slider handle) freely. Make sure that the slider can be seen clearly on every position over the entire Before/After area.
129
+ label: Slider Color
130
+ slider_handle:
131
+ inline_help: Activates/deactivates slider handle.
132
+ label: Show Slider Handle
133
+ name: Before/After
134
+ tabs:
135
+ general: Before/After
136
+ inlineImage:
137
+ attributes:
138
+ id:
139
+ label: Image
140
+ name: Inline Image
141
+ tabs:
142
+ general: Inline Image
143
+ inlineVideo:
144
+ attributes:
145
+ atmoDuringPlayback:
146
+ inline_help: Choose which way the atmo shall behave during playback of this video element.
147
+ label: Atmo During Playback
148
+ values:
149
+ mute: Mute
150
+ play: Keep playing
151
+ turnDown: Keep playing at lower volume
152
+ id:
153
+ label: Video
154
+ posterId:
155
+ label: Poster
156
+ name: Inline Video
157
+ tabs:
158
+ general: Inline Video
159
+ soundDisclaimer:
160
+ name: Audio Notice
161
+ tabs:
162
+ general: Audio Notice
163
+ textBlock:
164
+ name: Text Block
165
+ tabs:
166
+ general: Text Block
167
+ videoEmbed:
168
+ attributes:
169
+ aspectRatio:
170
+ label: Aspect ratio of video
171
+ values:
172
+ narrow: Landscape 4:3
173
+ portrait: Portrait (9:16)
174
+ square: Square
175
+ wide: Landscape 16:9
176
+ hideControls:
177
+ inline_help: Hides the player controls if possible (depends on the videos provider and configuration). The video can be played and paused via click.
178
+ label: Hide controls
179
+ hideInfo:
180
+ inline_help: Hides the video title and author info inside the embed if possible (depends on the videos provider and configuration).
181
+ label: Hide title in embed
182
+ videoSource:
183
+ label: Video-URL
184
+ name: Video Embed
185
+ tabs:
186
+ general: Video-Embed
187
+ vrImage:
188
+ attributes:
189
+ image:
190
+ label: 360° Image
191
+ initialPitch:
192
+ label: Initial Pitch
193
+ initialYaw:
194
+ label: Initial Yaw
195
+ edit_chapter:
196
+ attributes:
197
+ summary:
198
+ inline_help: Summary of the chapter for display in the navigation bar. Only chapters with both title and summary set will get added as menu items to the navigation.
199
+ label: Summary
200
+ title:
201
+ inline_help: The chapter title will be displayed in the editor overview and the navigation bar of the entry. Only chapters with both title and summary set will get added as menu items to the navigation.
202
+ label: Title
203
+ confirm_destroy: |-
204
+ Really delete this chapter including ALL its sections?
205
+
206
+ This operation cannot be undone.
207
+ save_error: There was an error while saving this chapter.
208
+ tabs:
209
+ chapter: Chapter
210
+ edit_motif_area:
211
+ blank_slate: No area selected.
212
+ cancel: Cancel
213
+ header: Motif area
214
+ help_link: What is this used for?
215
+ hint: Drag to select the most important part of the image.
216
+ reset: Reset
217
+ save: Save
218
+ edit_section:
219
+ attributes:
220
+ appearance:
221
+ inline_help: This setting controls how the scrolling foreground should get dimmed to increase contrast from the background. The option "Cards" adds a box with rounded corners to the foreground, with "Shadow" you can add a light or dark shadow to increase readability.
222
+ label: Text-Background
223
+ values:
224
+ cards: Card
225
+ shadow: Shadow
226
+ transparent: Transparent
227
+ atmoAudioFileId:
228
+ inline_help: Choose an audio file, that shall be played in the background. If you want this audio to continue playing on following sections, just choose the same file again there.
229
+ label: Atmo Audio
230
+ backdropColor:
231
+ label: Background-Color
232
+ backdropImage:
233
+ label: Background-Image
234
+ backdropImageMobile:
235
+ inline_help: Displayed when the browser viewport is taller than wide, for example on phones or tablets in portrait orientation. Can be used to supply an alternative to a landscape background image that would otherwise have important parts cropped off.
236
+ label: Background-Image (Portrait)
237
+ backdropType:
238
+ inline_help: The section background can either display an image, a color or a video loop.
239
+ label: Background-Type
240
+ values:
241
+ color: Color
242
+ image: Image
243
+ video: Video
244
+ backdropVideo:
245
+ label: Background-Video
246
+ dynamicShadowOpacity:
247
+ inline_help: Intensity of the shadow which is faded in behind the text to ensure contrast when content is scrolled to intersect with the motif area. Note that this shadow is only visible if motif area and section content do not fit side by side. It's best to switch to phone preview when adjusting this value.
248
+ inline_help_disabled: Activate "Expose motif area" above to use this setting.
249
+ label: Dynamic shadow
250
+ exposeMotifArea:
251
+ inline_help: Ensure the selected motif area of the background asset is visible and not covered by other elements when first reaching the section. If motif area and section content do not fit side by side, extra space will be inserted at the top of the section to move content down.
252
+ inline_help_disabled: Click "Select motif area" in the "three dots" menu of the background image/video field above to use this feature. It let's you make sure important parts of the backdrop asset won't be hidden by other elements.
253
+ label: Expose motif area
254
+ fullHeight:
255
+ inline_help: Activate this option if the background of this section (e.g. image, color or video) is supposed to be enlarged such that the whole browser window (the so called viewport) is covered. Deactivate this option to create a short section. The height of the section and its background is then determined only by the content of the section. Multiple sections with different backgrounds can then be visible at once on the user's screen. This option needs to be activated for two adjacent sections to be able to use a fade transition between them.
256
+ label: Use Full Viewport-Height
257
+ invert:
258
+ label: Invert Text Colors
259
+ layout:
260
+ inline_help: This setting controls the position of the scrolling foreground layer of the section on desktop devices. On mobile devices the foreground layer will automatically become centered.
261
+ label: Content alignment
262
+ values:
263
+ center: Center
264
+ left: Left
265
+ right: Right
266
+ staticShadowOpacity:
267
+ inline_help: Intensity of the shadow displayed behind text when section content and motif area fit side by side or no motif area has been specified. For left or right aligned content, the shadow has the form of a horizontal gradient. When "Content alignment" is set to "Center", the shadow is displayed as a translucent layer behind the text.
268
+ label: Static shadow
269
+ edit_motif_area: Select motif area...
270
+ tabs:
271
+ section: Section
272
+ edit_section_transition:
273
+ attributes:
274
+ transition:
275
+ inline_help: This setting defines the transition when scrolling from the previous section to the current. The different settings have specific effects concerning the behaviors of background and foreground. The effects "Cross-Fade All" and "Cross-Fade Backgrounds" are only available if the "Use Full Viewport-Height" option has been enabled in the settings of both adjacent sections.
276
+ label: Effect
277
+ values:
278
+ beforeAfter: Scrolling with static Backgrounds
279
+ fade: Also fade section content
280
+ fadeBg: Cross Fade
281
+ reveal: Reveal
282
+ scroll: Scroll
283
+ scrollOver: Scroll Over
284
+ confirm_destroy: |-
285
+ Really delete this section including ALL its elements?
286
+
287
+ This operation cannot be undone.
288
+ save_error: There was an error while saving this section.
289
+ tabs:
290
+ transition: Transition
291
+ entry_outline:
292
+ add_chapter: New chapter
293
+ header: Outline
294
+ insert_content_element:
295
+ cancel: Cancel
296
+ header: Insert element
297
+ no_options: No options available
298
+ section_item:
299
+ drag_hint: Drag to move section
300
+ save_error: There was an error while saving this section.
301
+ help_entries:
302
+ content_elements:
303
+ menu_item: Content Elements
304
+ text: "# Content Elements\nIn each section, any number of content elements can be inserted and positioned against a background. The position of the content elements on wide screen aspect ratios is determined by the foreground **positioning of the section** (left, right, centre). In portrait mode on smartphones (upright) the content elements are always displayed one below the other for space reasons.\n\n## Insert elements\nTo add a new content element, click on the **plus button** above or below an existing one and then insert text blocks, media, embeds or external links. \n\nBy clicking on the selected content element, a dialog box for **positioning the content elements** and other options, such as activating **autoplay for audio and video** or entering a caption, appears on the right-hand editing bar. \n\nFor display on wide screen aspect ratios (desktop, notebook, tablet, smartphone landscape), individual content elements such as videos, audios, video embeds, 360° images can also be arranged separately from the positioning in the text flow as **sticky** or **full width**. \n\nIf a section is aligned centrally, content elements can also be **indented to the left or right**. In this case, the content element is reduced in size so that the text can be displayed next to, instead of above the content element."
305
+ meta_data:
306
+ menu_item: Title and Options
307
+ text: |
308
+ # Title and Options
309
+
310
+ General settings for the entry. Please select a sub item on the left.
311
+ motif_area:
312
+ menu_item: Motif areas
313
+ text: |
314
+ # Motif areas
315
+
316
+ By specifying a motif area of an image, you can tell
317
+ Pageflow which part of the image is most important. For
318
+ example, for a portrait this could be the face of the
319
+ depicted person.
320
+
321
+ When the image is then used as the background of a section,
322
+ Pageflow tries to make sure the reader has an undisturbed view can actually see this
323
+ part of the image.
324
+
325
+ 1. If the image cannot be displayed uncropped (e.g. because
326
+ it has landscape format while the entry is being viewed
327
+ on a phone in portrait orientation), the background is
328
+ positioned in a way to center the motif area in the
329
+ available space.
330
+
331
+ 2. If the section contains text or other content elements,
332
+ empty space is inserted at the beginning of the section
333
+ to make sure the motif area is not covered by other
334
+ content when first reaching the section. The content
335
+ starts intersecting with the motif area only when the
336
+ reader continues scrolling.
337
+
338
+ Layout responds intelligently in such cases: If, for
339
+ example, the text of the section is positioned on the
340
+ left such that the motif area of the image can be
341
+ displayed completely on the right, no additional space
342
+ will be inserted at the beginning of the section.
343
+
344
+ You can edit the motif area of a background image via the
345
+ "Select motif area" menu item of the "Background image"
346
+ field in the section settings.
347
+ outline:
348
+ menu_item: Chapter, Sections, Content Elements
349
+ text: "# Chapter, Sections, Content Elements\n\nA Pageflow consists of one or more **chapters**, which\ncan contain several **sections** each. For each section\na background (e.g. a picture or a video loop) can be used\nwhich is displayed while the reader is within the section.\n\nSections contain **content elements**, which\ncan be of different types (e.g. text, images,\nvideos, charts). They build the actual\ncontent of the entry through which the reader scrolls.\n\nTo insert content elements, first click on **\"New\nChapter \"** to create a first chapter. If you click on the\nchapter header, you can specify the title and a description\nthat should appear in the navigation bar.\n\nNext, click **\"New Section \"** to add a section to the chapter. \nIn the preview on the left side a selection rectangle is now shown \naround the new section. In the sidebar you can edit the options \nof the section. Here you can set a picture or a colour as background for the section.\n\nDetails can be found under: [Section Options](#pageflow_scrolled.help_entries.sections)\n\nThe section already contains a text block. Click on the text to edit it. With a click in the empty area next to the text, you can select the section again.\n\nWhen the section is selected, a plus button with the caption **\"Add new element \"** is displayed below the last element. If you click on it, you can choose what type of content element you want to insert. When a content element is selected by clicking on it, its settings can be edited. For details on the available content elements, see: [Content Elements](#pageflow_scrolled.help_entries.content_elements)\n\nAt the top and bottom of the selection rectangle around a content element there are also plus buttons, which can be used to insert further elements before or after the selected element.."
350
+ overview:
351
+ menu_item: Overview
352
+ text: |-
353
+ # Overview
354
+
355
+ This is the editor for editing pageflows. With its split screen it allows direct preview during editing, shows changes to the text or newly selected files immediately and saves them automatically.
356
+
357
+ ## Title and options
358
+
359
+ Under "Title and options" you can set basic parameters of the appearance, as well as title, language, imprint etc. For this purpose, you can define texts that are to be displayed when sharing the article via social media services.
360
+
361
+ Details can be found under: [Title and Options](#pageflow_scrolled.help_entries.meta_data)
362
+
363
+ ## Manage files
364
+
365
+ Under "Manage files" you upload the media files to be used in the pageflow. You can also reuse already uploaded videos, photos and audios here.
366
+
367
+ Details can be found under: [Manage Files](#pageflow.help_entries.files)
368
+
369
+ ## Outline
370
+
371
+ Via the "Outline" you can add chapters and sections, i.e. edit the actual content. You can also re-sort sections and chapters at any time using drag & drop.
372
+
373
+ Details can be found under: [Chapters and Sections](#pageflow_scrolled.help_entries.outline)
374
+
375
+ ## Phone Preview
376
+
377
+ The switch at the bottom of the sidebar next to the help button can be used to switch to the phone preview. This allows you to test how your entry looks and works in portrait format.
378
+ sections:
379
+ menu_item: Section Options
380
+ text: "# Section Options\n\nA click in an empty area of a section will display a selection rectangle around the section. On the right side of the selection rectangle you will find a button with a pencil icon that allows you to edit the options of the section in the sidebar.\n\n## Layout\n\nThe **Foreground Positioning** option allows you to select how the contents of the section should be arranged horizontally. For example, if the background of the section is on the right side, text and content elements can be positioned on the left side and vice versa. For backgrounds in the total or a centred motif, the content elements can be positioned in the middle.\n\nBy selecting a **gradient function**, a sufficient contrast between text and background can be ensured. With the **shadow**, the background is darkened or lightened with a colour gradient. With the **Card** setting, the content elements are displayed on a surface with rounded corners.\n\n## Background\n\nEither an **image**, a **colour** or a **video loop** can be displayed in the background of the section. For background images and video, the important (to be emphasised, essential) part of the image can be marked. This motif area is then initially not covered by the scrolling foreground in both desktop and mobile device displays. Further information about the \"motif areas\" here.\n\nThe **Background image (portrait)** option can be used to optionally specify an alternative image to be used if the screen aspect ratio of a terminal device is higher than wide, for example on smartphones and tablets in portrait mode. The image can be configured as an alternative to the background image in landscape mode, from which otherwise important parts might be cut off.\n\n## Atmo Audio\n\nWith the **\"Atmo\"**, each section can play sound in the background, regardless of the content element. It can be determined whether a sound can only be heard in one section or continues over several sections without interruption. Simply select the same audio file for the following sections under **Options** as Atmo. In this way chapters can be acoustically separated from each other and coherent pages can be interwoven more strongly.\n\nWhen playing audio and video, you can also select whether the background sound should continue to play normally or more quietly during media playback, or whether it should fade out completely. The setting of the ambience sounds can be accessed on each page via the **Options** tab. If the atmosphere disturbs you while editing your entry in the editor, you can temporarily mute it with the key combination **Alt + a**. To reactivate the Atmo, simply press **Alt + a** again.\n\n\n## Transitions\n\nA **transition effect** can be selected between every two sections. \nClick in the background of a section to select it. On the right side \nof the selection rectangle, buttons with two interlocking arrows as \nsymbols appear at the borders of the neighbouring sections. \n\nClick on one of the buttons to select the transition effect for the section \nborder in the sidebar.\n\nThe **Fade** effect is only available between sections for which the \n**Full Viewport Height** option has been activated.\n"
381
+ inline_editing:
382
+ add_content_element: Add new element
383
+ cancel: Cancel
384
+ drag_content_element: Drag to move element
385
+ edit_section_transition_after: Edit section transition
386
+ edit_section_transition_before: Edit section transition
387
+ external_links:
388
+ open_in_new_tab: Open in new tab
389
+ open_in_new_tab_message: Opening in same tab is disabled inside the editor
390
+ formats:
391
+ block_quote: Block quote
392
+ bold: Bold
393
+ bulleted_list: Bulleted list
394
+ heading: Heading
395
+ italic: Italic
396
+ ordered_list: Ordered list
397
+ paragraph: Paragraph
398
+ strikethrough: Strikethrough
399
+ underline: Underline
400
+ insert_content_element:
401
+ after: Insert new element below
402
+ before: Insert new element above
403
+ insert_link: Insert link
404
+ remove_link: Remove link
405
+ select_content_element: Select element
406
+ select_section: Select section
407
+ type_heading: Heading
408
+ type_text: Type some text
409
+ type_title: Title
410
+ url_placeholder: Type or paste URL
411
+ public:
412
+ chart:
413
+ default_title: Interactive chart
414
+ enter_fullscreen: Fullscreen
415
+ exit_fullscreen: Exit fullscreen
416
+ image_rights: Image rights
417
+ js_required: Please activate JavaScript to make this website display correctly.
418
+ languages:
419
+ ar: Arabic
420
+ cs: Czech
421
+ de: German
422
+ dk: Danish
423
+ el: Greek
424
+ en: English
425
+ es: Spanish
426
+ fi: Finnish
427
+ fr: French
428
+ fy: Frisian
429
+ hi: Hindi
430
+ it: Italian
431
+ ja: Japanese
432
+ lb: Letzeburgesch
433
+ nb: Norsk Bokmål
434
+ nl: Dutch
435
+ nn: Norsk Nynorsk
436
+ 'no': Norsk
437
+ pl: Polish
438
+ pt: Portuguese
439
+ rm: Romansh
440
+ ru: Russian
441
+ se: Northern Sami
442
+ sr: Serbian
443
+ sv: Swedish
444
+ tr: Turkish
445
+ unknown: "(Unknown)"
446
+ zh: Chinese
447
+ navigation:
448
+ chapter: Chapter %{number}
449
+ close_mobile_menu: close chapter overview
450
+ legal_info: Imprint
451
+ mute: Mute sound
452
+ open_mobile_menu: Open chapter overview
453
+ share: Share
454
+ unmute: Unmute sound
455
+ navigation_skip_links:
456
+ content: To the content
457
+ player_controls:
458
+ pause: Pause
459
+ play: Play
460
+ progress: 'Timeline. Current time: %{currentTime}. Duration: %{duration}'
461
+ quality: Quality
462
+ text_tracks: Subtitles
463
+ sound_disclaimer:
464
+ help_muted: This site works best with sound turned on. Click here to activate sound.
465
+ help_unmuted: Sound can be muted again using the speaker icon in the navigation.
466
+ text_track_modes:
467
+ auto: Auto (%{label})
468
+ auto_off: Auto (Off)
469
+ none: false
470
+ third_party_consent:
471
+ confirm: Okay
472
+ opt_in_prompt:
473
+ datawrapper: I agree with being shown Datawrapper graphs.
474
+ video: I agree with being shown videos from external providers.
475
+ opt_out:
476
+ prompt: To opt out of displaying external embeds, change your settings %{link}.
477
+ prompt_link: here
478
+ unsupported_browser: This website uses features that your browser doesn't support. Please upgrade to a recent version of your browser.
479
+ video_qualities:
480
+ annotations:
481
+ 4k: 4K
482
+ fullhd: HD
483
+ medium: HD
484
+ labels:
485
+ 4k: 2160p
486
+ auto: Auto
487
+ fullhd: 1080p
488
+ medium: 720p