quby-compiler 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.gitlab-ci.yml +5 -0
  4. data/.rspec +3 -0
  5. data/.ruby-version +1 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Dockerfile +11 -0
  8. data/Gemfile +8 -0
  9. data/Gemfile.lock +133 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +44 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/rspec +29 -0
  15. data/bin/setup +8 -0
  16. data/config/locales/de.yml +58 -0
  17. data/config/locales/en.yml +57 -0
  18. data/config/locales/nl.yml +57 -0
  19. data/config/locales/rails-i18n/README.md +4 -0
  20. data/config/locales/rails-i18n/de.yml +223 -0
  21. data/config/locales/rails-i18n/en.yml +216 -0
  22. data/config/locales/rails-i18n/nl.yml +214 -0
  23. data/exe/quby-compile +56 -0
  24. data/lib/quby/array_attribute_valid_validator.rb +15 -0
  25. data/lib/quby/attribute_valid_validator.rb +14 -0
  26. data/lib/quby/compiler.rb +50 -0
  27. data/lib/quby/compiler/dsl.rb +29 -0
  28. data/lib/quby/compiler/dsl/base.rb +20 -0
  29. data/lib/quby/compiler/dsl/calls_custom_methods.rb +29 -0
  30. data/lib/quby/compiler/dsl/charting/bar_chart_builder.rb +14 -0
  31. data/lib/quby/compiler/dsl/charting/chart_builder.rb +95 -0
  32. data/lib/quby/compiler/dsl/charting/line_chart_builder.rb +34 -0
  33. data/lib/quby/compiler/dsl/charting/overview_chart_builder.rb +31 -0
  34. data/lib/quby/compiler/dsl/charting/radar_chart_builder.rb +14 -0
  35. data/lib/quby/compiler/dsl/helpers.rb +53 -0
  36. data/lib/quby/compiler/dsl/panel_builder.rb +80 -0
  37. data/lib/quby/compiler/dsl/question_builder.rb +40 -0
  38. data/lib/quby/compiler/dsl/questionnaire_builder.rb +279 -0
  39. data/lib/quby/compiler/dsl/questions/base.rb +180 -0
  40. data/lib/quby/compiler/dsl/questions/checkbox_question_builder.rb +20 -0
  41. data/lib/quby/compiler/dsl/questions/date_question_builder.rb +18 -0
  42. data/lib/quby/compiler/dsl/questions/deprecated_question_builder.rb +18 -0
  43. data/lib/quby/compiler/dsl/questions/float_question_builder.rb +21 -0
  44. data/lib/quby/compiler/dsl/questions/integer_question_builder.rb +21 -0
  45. data/lib/quby/compiler/dsl/questions/radio_question_builder.rb +20 -0
  46. data/lib/quby/compiler/dsl/questions/select_question_builder.rb +18 -0
  47. data/lib/quby/compiler/dsl/questions/string_question_builder.rb +20 -0
  48. data/lib/quby/compiler/dsl/questions/text_question_builder.rb +22 -0
  49. data/lib/quby/compiler/dsl/score_builder.rb +22 -0
  50. data/lib/quby/compiler/dsl/score_schema_builder.rb +53 -0
  51. data/lib/quby/compiler/dsl/standardized_panel_generators.rb +33 -0
  52. data/lib/quby/compiler/dsl/table_builder.rb +48 -0
  53. data/lib/quby/compiler/entities.rb +38 -0
  54. data/lib/quby/compiler/entities/charting/bar_chart.rb +17 -0
  55. data/lib/quby/compiler/entities/charting/chart.rb +101 -0
  56. data/lib/quby/compiler/entities/charting/charts.rb +42 -0
  57. data/lib/quby/compiler/entities/charting/line_chart.rb +38 -0
  58. data/lib/quby/compiler/entities/charting/overview_chart.rb +20 -0
  59. data/lib/quby/compiler/entities/charting/plottable.rb +20 -0
  60. data/lib/quby/compiler/entities/charting/radar_chart.rb +17 -0
  61. data/lib/quby/compiler/entities/definition.rb +26 -0
  62. data/lib/quby/compiler/entities/fields.rb +119 -0
  63. data/lib/quby/compiler/entities/flag.rb +55 -0
  64. data/lib/quby/compiler/entities/item.rb +40 -0
  65. data/lib/quby/compiler/entities/lookup_tables.rb +71 -0
  66. data/lib/quby/compiler/entities/outcome_table.rb +31 -0
  67. data/lib/quby/compiler/entities/panel.rb +82 -0
  68. data/lib/quby/compiler/entities/question.rb +365 -0
  69. data/lib/quby/compiler/entities/question_option.rb +96 -0
  70. data/lib/quby/compiler/entities/questionnaire.rb +440 -0
  71. data/lib/quby/compiler/entities/questions/checkbox_question.rb +82 -0
  72. data/lib/quby/compiler/entities/questions/date_question.rb +84 -0
  73. data/lib/quby/compiler/entities/questions/deprecated_question.rb +19 -0
  74. data/lib/quby/compiler/entities/questions/float_question.rb +15 -0
  75. data/lib/quby/compiler/entities/questions/integer_question.rb +15 -0
  76. data/lib/quby/compiler/entities/questions/radio_question.rb +19 -0
  77. data/lib/quby/compiler/entities/questions/select_question.rb +19 -0
  78. data/lib/quby/compiler/entities/questions/string_question.rb +15 -0
  79. data/lib/quby/compiler/entities/questions/text_question.rb +15 -0
  80. data/lib/quby/compiler/entities/score_calculation.rb +35 -0
  81. data/lib/quby/compiler/entities/score_schema.rb +25 -0
  82. data/lib/quby/compiler/entities/subscore_schema.rb +23 -0
  83. data/lib/quby/compiler/entities/table.rb +143 -0
  84. data/lib/quby/compiler/entities/text.rb +71 -0
  85. data/lib/quby/compiler/entities/textvar.rb +23 -0
  86. data/lib/quby/compiler/entities/validation.rb +17 -0
  87. data/lib/quby/compiler/entities/version.rb +23 -0
  88. data/lib/quby/compiler/entities/visibility_rule.rb +71 -0
  89. data/lib/quby/compiler/instance.rb +72 -0
  90. data/lib/quby/compiler/output.rb +13 -0
  91. data/lib/quby/compiler/outputs.rb +4 -0
  92. data/lib/quby/compiler/outputs/quby_frontend_v1_serializer.rb +362 -0
  93. data/lib/quby/compiler/outputs/quby_frontend_v2_serializer.rb +15 -0
  94. data/lib/quby/compiler/outputs/roqua_serializer.rb +108 -0
  95. data/lib/quby/compiler/outputs/seed_serializer.rb +34 -0
  96. data/lib/quby/compiler/services/definition_validator.rb +330 -0
  97. data/lib/quby/compiler/services/quby_proxy.rb +405 -0
  98. data/lib/quby/compiler/services/seed_diff.rb +116 -0
  99. data/lib/quby/compiler/services/text_transformation.rb +30 -0
  100. data/lib/quby/compiler/version.rb +5 -0
  101. data/lib/quby/markdown_parser.rb +38 -0
  102. data/lib/quby/range_categories.rb +38 -0
  103. data/lib/quby/settings.rb +86 -0
  104. data/lib/quby/text_transformation.rb +26 -0
  105. data/lib/quby/type_validator.rb +12 -0
  106. data/quby-compiler.gemspec +39 -0
  107. metadata +277 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d38f705b91a2ad37a0babd91c08834ed37c0a0a0bfa60a3e07bebfba06c44cef
4
+ data.tar.gz: e98e8f2c06f6a0bd17fef8ee7f631cd0dae29f059266ac84a39e6b56175b886c
5
+ SHA512:
6
+ metadata.gz: c8b98bea5143a6eca8b122b3b852944e07a29ce2783e6c7380f54b404c78749f4e68716f059217e765da199cf1387f1076dd1d4b1ed445b8cf934a6fbd6f1be5
7
+ data.tar.gz: 4c3590905fed76601f80c32d8646bc67c12290a89286886c652f37c6999e7d1dd1abc2540d35f06a015b075e8097d72e1e635a5cad4da30f985d705e29c345ab
@@ -0,0 +1,13 @@
1
+ .DS_Store
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /output/
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
@@ -0,0 +1,5 @@
1
+ test:
2
+ image: docker
3
+ script:
4
+ - docker build . --tag quby-compiler-$CI_COMMIT_SHA
5
+ - docker run quby-compiler-$CI_COMMIT_SHA bundle exec rspec
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1 @@
1
+ 2.7.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at marten@veldthuis.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
@@ -0,0 +1,11 @@
1
+ FROM ruby:2.7-alpine
2
+
3
+ RUN apk update && apk add docker git g++ make
4
+
5
+ RUN gem update --system
6
+ RUN gem install bundler
7
+
8
+ WORKDIR /app
9
+
10
+ ADD . /app
11
+ RUN bundle install
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in quby-compiler.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
8
+ gem 'pry'
@@ -0,0 +1,133 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ quby-compiler (0.1.1)
5
+ actionview (>= 5.0)
6
+ activemodel (>= 5.0)
7
+ activesupport (>= 5.0)
8
+ dry-struct (>= 1.3.0)
9
+ method_source
10
+ nokogiri (>= 1.8)
11
+ nokogumbo
12
+ redcarpet (~> 3.5)
13
+ roqua-support
14
+
15
+ GEM
16
+ remote: https://rubygems.org/
17
+ specs:
18
+ actionview (6.0.3.4)
19
+ activesupport (= 6.0.3.4)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ active_interaction (3.8.3)
25
+ activemodel (>= 4, < 7)
26
+ activemodel (6.0.3.4)
27
+ activesupport (= 6.0.3.4)
28
+ activerecord (6.0.3.4)
29
+ activemodel (= 6.0.3.4)
30
+ activesupport (= 6.0.3.4)
31
+ activesupport (6.0.3.4)
32
+ concurrent-ruby (~> 1.0, >= 1.0.2)
33
+ i18n (>= 0.7, < 2)
34
+ minitest (~> 5.1)
35
+ tzinfo (~> 1.1)
36
+ zeitwerk (~> 2.2, >= 2.2.2)
37
+ appsignal (2.10.12)
38
+ rack
39
+ builder (3.2.4)
40
+ coderay (1.1.3)
41
+ concurrent-ruby (1.1.7)
42
+ crass (1.0.6)
43
+ diff-lcs (1.4.4)
44
+ dry-configurable (0.11.6)
45
+ concurrent-ruby (~> 1.0)
46
+ dry-core (~> 0.4, >= 0.4.7)
47
+ dry-equalizer (~> 0.2)
48
+ dry-container (0.7.2)
49
+ concurrent-ruby (~> 1.0)
50
+ dry-configurable (~> 0.1, >= 0.1.3)
51
+ dry-core (0.4.9)
52
+ concurrent-ruby (~> 1.0)
53
+ dry-equalizer (0.3.0)
54
+ dry-inflector (0.2.0)
55
+ dry-logic (1.0.7)
56
+ concurrent-ruby (~> 1.0)
57
+ dry-core (~> 0.2)
58
+ dry-equalizer (~> 0.2)
59
+ dry-struct (1.3.0)
60
+ dry-core (~> 0.4, >= 0.4.4)
61
+ dry-equalizer (~> 0.3)
62
+ dry-types (~> 1.3)
63
+ ice_nine (~> 0.11)
64
+ dry-types (1.4.0)
65
+ concurrent-ruby (~> 1.0)
66
+ dry-container (~> 0.3)
67
+ dry-core (~> 0.4, >= 0.4.4)
68
+ dry-equalizer (~> 0.3)
69
+ dry-inflector (~> 0.1, >= 0.1.2)
70
+ dry-logic (~> 1.0, >= 1.0.2)
71
+ erubi (1.9.0)
72
+ i18n (1.8.5)
73
+ concurrent-ruby (~> 1.0)
74
+ ice_nine (0.11.2)
75
+ loofah (2.7.0)
76
+ crass (~> 1.0.2)
77
+ nokogiri (>= 1.5.9)
78
+ method_source (1.0.0)
79
+ mini_portile2 (2.4.0)
80
+ minitest (5.14.2)
81
+ naught (1.1.0)
82
+ nokogiri (1.10.10)
83
+ mini_portile2 (~> 2.4.0)
84
+ nokogumbo (2.0.2)
85
+ nokogiri (~> 1.8, >= 1.8.4)
86
+ pry (0.13.1)
87
+ coderay (~> 1.1)
88
+ method_source (~> 1.0)
89
+ rack (2.2.3)
90
+ rails-dom-testing (2.0.3)
91
+ activesupport (>= 4.2.0)
92
+ nokogiri (>= 1.6)
93
+ rails-html-sanitizer (1.3.0)
94
+ loofah (~> 2.3)
95
+ rake (12.3.3)
96
+ redcarpet (3.5.0)
97
+ roqua-support (0.3.4)
98
+ active_interaction (~> 3.0)
99
+ activesupport (>= 5.1, < 6.1)
100
+ appsignal (>= 2.9, < 2.11)
101
+ naught (~> 1.0)
102
+ with_advisory_lock (~> 3.2)
103
+ rspec (3.9.0)
104
+ rspec-core (~> 3.9.0)
105
+ rspec-expectations (~> 3.9.0)
106
+ rspec-mocks (~> 3.9.0)
107
+ rspec-core (3.9.3)
108
+ rspec-support (~> 3.9.3)
109
+ rspec-expectations (3.9.2)
110
+ diff-lcs (>= 1.2.0, < 2.0)
111
+ rspec-support (~> 3.9.0)
112
+ rspec-mocks (3.9.1)
113
+ diff-lcs (>= 1.2.0, < 2.0)
114
+ rspec-support (~> 3.9.0)
115
+ rspec-support (3.9.3)
116
+ thread_safe (0.3.6)
117
+ tzinfo (1.2.8)
118
+ thread_safe (~> 0.1)
119
+ with_advisory_lock (3.2.0)
120
+ activerecord (>= 3.2)
121
+ zeitwerk (2.4.1)
122
+
123
+ PLATFORMS
124
+ ruby
125
+
126
+ DEPENDENCIES
127
+ pry
128
+ quby-compiler!
129
+ rake (~> 12.0)
130
+ rspec (~> 3.0)
131
+
132
+ BUNDLED WITH
133
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Marten Veldthuis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,44 @@
1
+ # Quby::Compiler
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/quby/compiler`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'quby-compiler'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install quby-compiler
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marten/quby-compiler. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/marten/quby-compiler/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+
42
+ ## Code of Conduct
43
+
44
+ Everyone interacting in the Quby::Compiler project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marten/quby-compiler/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "quby/compiler"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,58 @@
1
+ de:
2
+ date:
3
+ formats:
4
+ friendly_date: '%-d %B %Y (%-d-%-m-%Y)'
5
+ step_i_of_n: "Schritt %{i} von %{n}"
6
+ previous: Zurück
7
+ next: Weiter
8
+ abort: Später zu Ende ausfüllen
9
+ previous_questionnaire: Vorheriger Fragebogen
10
+ done: Fertig
11
+ print_answers: Antworten drucken
12
+ download_answers_pdf: Als PDF herunterladen
13
+ pdf_download_failed_message: Beim Vorbereiten des Downloads ist ein Fehler aufgetreten.
14
+ questionnaire_not_completed:
15
+ heading: Dieser Fragebogen ist noch nicht vollständig ausgefüllt!
16
+ explanation: Wenn Sie diesen Fragebogen dennoch speichern, können unter Umständen Dimensionen des Fragebogens nicht berechnet werden, weil zu wenig Informationen dafür zur Verfügung stehen. Sie können Ihre Antworten unten weiterhin ausfüllen. Fragen die noch unvollständig ausgefüllt sind, erscheinen rot markiert.
17
+ save_anyway: Trotzdem speichern
18
+ thanks_for_filling_out: Vielen Dank für das Ausfüllen dieses Fragebogens. Ihre Antworten sind gespeichert.
19
+ ios_download_instruction: "Eine neue Browser-Tab wird geöffnet, in der der Download gestartet wird.\n\nSpeichern Sie die Datei in Books/iBooks. Kehren Sie dann mit der Knopf '< Safari' oben links zum Browser zurück.
20
+ \n\nDenn, im Browser gehen Sie mit dem Zurück-Knopf '<' zurück und drücken Sie auf 'Fertig' um die Fragebogen zu speichern."
21
+ validations:
22
+ maximum:
23
+ date: "Das Datum muss an oder vor dem %{friendly_date} liegen."
24
+ number: "Ihre Antwort muss kleiner oder gleich %{value} sein."
25
+ minimum:
26
+ date: "Das Datum muss an oder nach dem %{friendly_date} liegen."
27
+ number: "Ihre Antwort muss größer oder gleich %{value} sein."
28
+ requires_answer: "Diese Frage muss beantwortet werden."
29
+ regexp: "Ihre Antwort muss dem Format %{matcher} entsprechen."
30
+ valid_integer: "Ihre Antwort muss eine runde (oder auch ganze) Zahl sein."
31
+ valid_float: "Ihre Antwort muss eine Zahl sein (benutzen Sie bitte einen Punkt für Dezimalzahlen, kein Komma)."
32
+ valid_date:
33
+ valid_date_year: "Geben Sie ein gültiges Jahr nach dem Format JJJJ an, zum Beispiel 2015."
34
+ valid_date_month_year: "Geben Sie ein gültiges Datum nach dem Format MM-JJJJ an, zum Beispiel 08-2015."
35
+ valid_date_day_hour_minute_month_year: "Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ ss:mm an, zum Beispiel 13-08-2015 13:05."
36
+ valid_date_day_month_year: "Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ an, zum Beispiel 13-08-2015."
37
+ valid_date_hour_minute: "Geben Sie eine gültige Tageszeit nach dem Format ss:mm an, zum Beispiel 13:05"
38
+ too_many_checked: "Sie haben zu viele Möglichkeiten ausgewählt."
39
+ not_all_checked: "Sie haben zu wenige Möglichkeiten ausgewählt."
40
+ maximum_checked_allowed:
41
+ one: "Sie können maximal %{maximum_checked_value} Möglichkeit auswählen."
42
+ other: "Sie können maximal %{maximum_checked_value} Möglichkeiten auswählen."
43
+ minimum_checked_required:
44
+ one: "Sie müssen mindestens %{minimum_checked_value} Möglichkeit auswählen."
45
+ other: "Sie müssen mindestens %{minimum_checked_value} Möglichkeiten auswählen."
46
+ answer_group_minimum: "Beantworten Sie mindestens %{value} von diesen Fragen"
47
+ answer_group_maximum: "Beantworten Sie höchstens %{value} von diesen Fragen"
48
+ video_not_supported: Ihr Browser unterstützt die Wiedergabe dieses Videos nicht. Bitte versuchen Sie es mit einem anderen Browser.
49
+ DD: TT
50
+ MM: MM
51
+ YYYY: JJJJ
52
+ hh: ss
53
+ mm: mm
54
+ day: Tag
55
+ month: Monat
56
+ year: Jahr
57
+ hour: Stunde
58
+ minute: Minute