Skip to content

Commit

Permalink
Fix - Remove PairProgrammingExerciseFeedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kiragrammel committed Oct 16, 2023
1 parent 1de9445 commit b51be5c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 62 deletions.
40 changes: 20 additions & 20 deletions app/models/pair_programming_exercise_feedback.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ class PairProgrammingExerciseFeedback < ApplicationRecord
scope :intermediate, -> { where.not(normalized_score: 1.00) }
scope :final, -> { where(normalized_score: 1.00) }

enum comment: {
difficulty_easy: 0,
difficulty_some_what_easy: 1,
difficulty_ok: 2,
difficulty_some_what_difficult: 3,
difficult_too_difficult: 4,
enum difficulty: {
too_easy: 0,
bit_too_easy: 1,
just_right: 2,
bit_too_difficult: 3,
too_difficult: 4,
}, _prefix: true

enum time: {
estimated_time_less_5: 0,
estimated_time_5_to_10: 1,
estimated_time_10_to_20: 2,
estimated_time_20_to_30: 3,
estimated_time_more_30: 4,
enum user_estimated_worktime: {
less_5_min: 0,
between_5_and_10min: 1,
between_10_and_20min: 2,
between_20_and_30min: 3,
more_30min: 4,
}, _prefix: true

enum reasons: {
reason_no_partner: 0,
reason_to_difficult_to_find_partner: 1,
reason_faster_alone: 2,
reason_not_working_with_strangers: 3,
reason_want_to_work_alone: 4,
reason_accidentally_alone: 5,
reason_other: 6,
enum reason_work_alone: {
found_no_partner: 0,
too_difficult_to_find_partner: 1,
faster_alone: 2,
not_working_with_strangers: 3,
prefer_to_work_alone: 4,
accidentally_alone: 5,
other: 6,
}, _prefix: true

def to_s
Expand Down
21 changes: 0 additions & 21 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,6 @@ de:
internal_user:
one: Interner Nutzer
other: Interne Nutzer
pair_programming_exercise_feedback:
one: Feedback
other: Feedbacks
programming_group:
one: Programmierpaar
other: Programmierpaare
Expand Down Expand Up @@ -986,24 +983,6 @@ de:
previous_label: '&#8592; Vorherige Seite'
file_template:
no_template_label: "Leere Datei"
pair_programming_exercise_feedback:
difficulty_easy: "Die Aufgabe war viel zu einfach."
difficulty_some_what_easy: "Die Aufgabe war etwas zu einfach."
difficulty_ok: "Die Aufgabenschwierigkeit war genau richtig."
difficulty_some_what_difficult: "Die Aufgabe war etwas zu schwierig."
difficult_too_difficult: "Die Aufgabe war viel zu schwierig."
estimated_time_less_5: "weniger als 5 Minuten"
estimated_time_5_to_10: "zwischen 5 und 10 Minuten"
estimated_time_10_to_20: "zwischen 10 und 20 Minuten"
estimated_time_20_to_30: "zwischen 20 und 30 Minuten"
estimated_time_more_30: "mehr als 30 Minuten"
reason_no_partner: Ich habe keine:n Team-Partner:in gefunden.
reason_to_difficult_to_find_partner: Es war zu schwierig/aufwändig, eine:n Team Partner:in zu finden.
reason_faster_alone: Es ging schneller alleine zu arbeiten.
reason_not_working_with_strangers: Ich möchte nicht mit <i>fremden</i> Personen zusammenarbeiten.
reason_want_to_work_alone: Ich arbeite lieber alleine.
reason_accidentally_alone: Ich habe versehentlich alleine an dieser Aufgabe gearbeitet.
reason_other: <i>Sonstiges</i>
user_exercise_feedback:
difficulty_easy: "Die Aufgabe war zu einfach"
difficulty_some_what_easy: "Die Aufgabe war etwas zu einfach"
Expand Down
21 changes: 0 additions & 21 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,6 @@ en:
internal_user:
one: Internal User
other: Internal Users
pair_programming_exercise_feedback:
one: Feedback
other: Feedbacks
programming_group:
one: Programming Pair
other: Programming Pairs
Expand Down Expand Up @@ -986,24 +983,6 @@ en:
previous_label: '&#8592; Previous Page'
file_template:
no_template_label: "Empty File"
pair_programming_exercise_feedback:
difficulty_easy: "The exercise was far too easy."
difficulty_some_what_easy: "The exercise was a bit too easy."
difficulty_ok: "The exercise difficulty was just right."
difficulty_some_what_difficult: "The exercise was a bit too difficult."
difficult_too_difficult: "The exercise was far too difficult."
estimated_time_less_5: "less than 5 minutes"
estimated_time_5_to_10: "between 5 and 10 minutes"
estimated_time_10_to_20: "between 10 and 20 minutes"
estimated_time_20_to_30: "between 20 and 30 minutes"
estimated_time_more_30: "more than 30 minutes"
reason_no_partner: I have not found a team partner.
reason_to_difficult_to_find_partner: It was too difficult to find a team partner.
reason_faster_alone: It was faster to work alone.
reason_not_working_with_strangers: I do not want to work with <i>strangers</i>.
reason_want_to_work_alone: I prefer to work alone.
reason_accidentally_alone: I accidentally worked alone on this exercise.
reason_other: <i>Other</i>
user_exercise_feedback:
difficulty_easy: "the exercise was too easy"
difficulty_some_what_easy: "the exercise was somewhat easy"
Expand Down

0 comments on commit b51be5c

Please sign in to comment.