Merge branch 'master' into user_exercise_feedback_backend
# Conflicts: # app/views/application/_navigation.html.slim
This commit is contained in:
@@ -39,4 +39,8 @@ Rails.application.configure do
|
||||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
||||
#config.logger = Logger.new(STDOUT)
|
||||
# Set log level
|
||||
#config.log_level = :DEBUG
|
||||
end
|
||||
|
@@ -111,6 +111,16 @@ de:
|
||||
name: "Name"
|
||||
file_type: "Dateityp"
|
||||
content: "Code"
|
||||
error_template:
|
||||
name: Name
|
||||
signature: Regulärer Ausdruck
|
||||
description: Beschreibung
|
||||
hint: Hinweis
|
||||
error_template_attribute:
|
||||
important: "Wichtig"
|
||||
key: "Name"
|
||||
description: "Beschreibung"
|
||||
regex: "Regulärer Ausdruck"
|
||||
exercise_collections:
|
||||
id: "ID"
|
||||
name: "Name"
|
||||
@@ -130,6 +140,12 @@ de:
|
||||
error:
|
||||
one: Fehler
|
||||
other: Fehler
|
||||
error_template:
|
||||
one: Fehlertemplate
|
||||
other: Fehlertemplates
|
||||
error_template_attribute:
|
||||
one: Fehlertemplatettribut
|
||||
other: Fehlertemplatettribute
|
||||
execution_environment:
|
||||
one: Ausführungsumgebung
|
||||
other: Ausführungsumgebungen
|
||||
@@ -646,10 +662,14 @@ de:
|
||||
estimated_time_20_to_30: "zwischen 20 und 30 Minuten"
|
||||
estimated_time_more_30: "mehr als 30 Minuten"
|
||||
working_time: "Geschätze Bearbeitungszeit für diese Aufgabe:"
|
||||
error_templates:
|
||||
hints:
|
||||
signature: "Ein regulärer Ausdruck in Ruby-Syntax und ohne führende und schließende \"/\""
|
||||
attributes: "Attribute"
|
||||
add_attribute: "Attribut hinzufügen"
|
||||
comments:
|
||||
deleted: "Gelöscht"
|
||||
save_update: "Speichern"
|
||||
subscriptions:
|
||||
successfully_unsubscribed: "Ihr Abonnement für weitere Kommentare auf dieser Kommentaranfrage wurde erfolgreich beendet."
|
||||
subscription_not_existent: "Das Abonnement, von dem Sie sich abmelden wollen, existiert nicht."
|
||||
|
||||
|
@@ -111,6 +111,16 @@ en:
|
||||
name: "Name"
|
||||
file_type: "File Type"
|
||||
content: "Content"
|
||||
error_template:
|
||||
name: Name
|
||||
signature: Signature Regular Expression
|
||||
description: Description
|
||||
hint: Hint
|
||||
error_template_attribute:
|
||||
important: "Important"
|
||||
key: "Identifier"
|
||||
description: "Description"
|
||||
regex: "Regular Expression"
|
||||
exercise_collections:
|
||||
id: "ID"
|
||||
name: "Name"
|
||||
@@ -130,6 +140,12 @@ en:
|
||||
error:
|
||||
one: Error
|
||||
other: Errors
|
||||
error_template:
|
||||
one: Error Template
|
||||
other: Error Templates
|
||||
error_template_attribute:
|
||||
one: Error Template Attribute
|
||||
other: Error Template Attributes
|
||||
execution_environment:
|
||||
one: Execution Environment
|
||||
other: Execution Environments
|
||||
@@ -646,6 +662,11 @@ en:
|
||||
estimated_time_20_to_30: "between 20 and 30 minutes"
|
||||
estimated_time_more_30: "more than 30 minutes"
|
||||
working_time: "Estimated time working on this exercise:"
|
||||
error_templates:
|
||||
hints:
|
||||
signature: "A regular expression in Ruby syntax without leading and trailing \"/\""
|
||||
attributes: "Attributes"
|
||||
add_attribute: "Add attribute"
|
||||
comments:
|
||||
deleted: "Deleted"
|
||||
save_update: "Save"
|
||||
|
@@ -1,6 +1,13 @@
|
||||
FILENAME_REGEXP = /[\w\.]+/ unless Kernel.const_defined?(:FILENAME_REGEXP)
|
||||
|
||||
Rails.application.routes.draw do
|
||||
resources :error_template_attributes
|
||||
resources :error_templates do
|
||||
member do
|
||||
put 'attribute', to: 'error_templates#add_attribute'
|
||||
delete 'attribute', to: 'error_templates#remove_attribute'
|
||||
end
|
||||
end
|
||||
resources :file_templates do
|
||||
collection do
|
||||
get 'by_file_type/:file_type_id', as: :by_file_type, action: :by_file_type
|
||||
|
Reference in New Issue
Block a user