add german translations
This commit is contained in:
@ -192,9 +192,9 @@ class ExercisesController < ApplicationController
|
|||||||
return render json: {}, status: 201
|
return render json: {}, status: 201
|
||||||
end
|
end
|
||||||
rescue Proforma::ProformaError
|
rescue Proforma::ProformaError
|
||||||
render json: t('exercises.export_codeharbor.export_errors.invalid'), status: 400
|
render json: t('exercises.import_codeharbor.import_errors.invalid'), status: 400
|
||||||
rescue StandardError
|
rescue StandardError
|
||||||
render json: t('exercises.export_codeharbor.export_errors.internal_error'), status: 500
|
render json: t('exercises.import_codeharbor.import_errors.internal_error'), status: 500
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_from_api_key
|
def user_from_api_key
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
.form-group
|
.form-group
|
||||||
= f.label(:api_key)
|
= f.label(:api_key)
|
||||||
.input-group
|
.input-group
|
||||||
= f.text_field(:api_key, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('codeharbor_link.info.token'), class: 'form-control api_key')
|
= f.text_field(:api_key, data: {toggle: 'tooltip', placement: 'bottom'}, title: t('codeharbor_link.info.api_key'), class: 'form-control api_key')
|
||||||
.input-group-btn
|
.input-group-btn
|
||||||
= button_tag t('codeharbor_link.generate'), type: 'button', class: 'generate-api_key btn btn-default'
|
= button_tag t('codeharbor_link.generate'), type: 'button', class: 'generate-api_key btn btn-default'
|
||||||
.actions
|
.actions
|
||||||
|
@ -44,6 +44,8 @@ de:
|
|||||||
allow_file_creation: "Dateierstellung erlauben"
|
allow_file_creation: "Dateierstellung erlauben"
|
||||||
difficulty: Schwierigkeitsgrad
|
difficulty: Schwierigkeitsgrad
|
||||||
token: "Aufgaben-Token"
|
token: "Aufgaben-Token"
|
||||||
|
uuid: UUID
|
||||||
|
unpublished: Deaktiviert
|
||||||
proxy_exercise:
|
proxy_exercise:
|
||||||
title: Title
|
title: Title
|
||||||
files_count: Anzahl der Aufgaben
|
files_count: Anzahl der Aufgaben
|
||||||
@ -240,6 +242,16 @@ de:
|
|||||||
consumers:
|
consumers:
|
||||||
show:
|
show:
|
||||||
link: Konsument
|
link: Konsument
|
||||||
|
codeharbor_link:
|
||||||
|
generate: Generieren
|
||||||
|
info:
|
||||||
|
push_url: Die Url von Codeharbor zu der die Aufgabe exportiert werden soll. Bei Unklarheiten bitte an einen Admin wenden.
|
||||||
|
check_uuid_url: Die Url von Codeharbor an der geprüft werden kann, ob die Aufgabe schon existiert. Bei Unklarheiten bitte an einen Admin wenden.
|
||||||
|
api_key: Wird zum Authentifizieren gegenüber Codeharbor genutzt. Auf Codeharbor muss der gleiche Key eingetragen sein.
|
||||||
|
profile_label: Codeharbor Link
|
||||||
|
new: Neue Codeharbor Link anlegen
|
||||||
|
edit: Codeharbor Link bearbeiten
|
||||||
|
delete: Codeharbor Link entfernen
|
||||||
execution_environments:
|
execution_environments:
|
||||||
form:
|
form:
|
||||||
hints:
|
hints:
|
||||||
@ -298,6 +310,27 @@ de:
|
|||||||
request_for_comments_sent: "Kommentaranfrage gesendet."
|
request_for_comments_sent: "Kommentaranfrage gesendet."
|
||||||
editor_file_tree:
|
editor_file_tree:
|
||||||
file_root: Dateien
|
file_root: Dateien
|
||||||
|
import_codeharbor:
|
||||||
|
check:
|
||||||
|
no_exercise: Auf Codeharbor wurde keine entsprechende Aufgabe gefunden. Mit dem Export der Aufgabe wird eine neue auf Codeharbor angelegt, die mit dieser verbunden ist. Anschließend können Veränderungen an der Aufgabe von beiden Systemen aus jeweils in das andere Übertragen werden.
|
||||||
|
exercise_found: Auf Codeharbor wurde eine entsprechende Aufgabe gefunden. Mit dem Export der Aufgabe werden alle Veränderungen die auf Codeocean vorgenommen wurden, exportiert und die Aufgabe auf Codeharbor überschrieben.
|
||||||
|
exercise_found_no_right: Auf Codeharbor wurde eine entsprechende Aufgabe gefunden, Sie haben aber keine Rechte sie zu bearbeiten. Bitte wenden Sie sich an einen Admin, wenn Sie denken, dass Sie die Rechte dazu besitzen sollten.
|
||||||
|
import_errors:
|
||||||
|
invalid: Fehlerhafte Aufgabe
|
||||||
|
internal_error: Beim Import der Aufgabe ist ein interner Fehler aufgetreten.
|
||||||
|
export_codeharbor:
|
||||||
|
label: Zu Codeharbor exportieren
|
||||||
|
dialogtitle: Zu Codeharbor exportieren
|
||||||
|
successfully_exported: 'Aufgabe wurde erfolgreich exportiert.<br>ID: %{id}<br>Title: %{title}'
|
||||||
|
export_failed: 'Export ist fehlgeschlagen.<br>ID: %{id}<br>Title: %{title}<br><br>Error: %{error}'
|
||||||
|
error: Es ist ein Fehler bei der Kommunikation mit Codeharbor aufgetreten.
|
||||||
|
checking_codeharbor: Es wird geprüft, ob auf Codeharbor eine korrespondierende Aufgabe gefunden werden kann.
|
||||||
|
buttons:
|
||||||
|
retry: Erneut probieren
|
||||||
|
export: Export
|
||||||
|
create_new: Neu erstellen
|
||||||
|
close: Schließen
|
||||||
|
abort: Abbrechen
|
||||||
file_form:
|
file_form:
|
||||||
hints:
|
hints:
|
||||||
feedback_message: Diese Nachricht wird als Tipp zu fehlschlagenden Tests angezeigt.
|
feedback_message: Diese Nachricht wird als Tipp zu fehlschlagenden Tests angezeigt.
|
||||||
@ -306,6 +339,9 @@ de:
|
|||||||
add_file: Datei hinzufügen
|
add_file: Datei hinzufügen
|
||||||
tags: "Tags"
|
tags: "Tags"
|
||||||
click_to_collapse: "Zum Aus-/Einklappen hier klicken..."
|
click_to_collapse: "Zum Aus-/Einklappen hier klicken..."
|
||||||
|
unpublish_warning: Mit dieser Aktion wird die Aufgabe deaktiviert. Jeder Student, der versucht sie zu implementieren wird eine Fehlermeldung bekommen, bis die Aufgabe wieder aktiviert wurde.
|
||||||
|
no_execution_environment_selected: Bitte eine Ausführungsumgebung auswählen, bevor die Aufgabe aktiviert wird.
|
||||||
|
none: Keine
|
||||||
implement:
|
implement:
|
||||||
alert:
|
alert:
|
||||||
text: 'Ihr Browser unterstützt nicht alle Funktionalitäten, die %{application_name} benötigt. Bitte nutzen Sie einen modernen Browser, um %{application_name} zu besuchen.'
|
text: 'Ihr Browser unterstützt nicht alle Funktionalitäten, die %{application_name} benötigt. Bitte nutzen Sie einen modernen Browser, um %{application_name} zu besuchen.'
|
||||||
@ -355,6 +391,8 @@ de:
|
|||||||
feedback: Feedback
|
feedback: Feedback
|
||||||
requests_for_comments: Kommentaranfragen
|
requests_for_comments: Kommentaranfragen
|
||||||
study_group_dashboard: Live Dashboard
|
study_group_dashboard: Live Dashboard
|
||||||
|
show:
|
||||||
|
is_unpublished: Aufgabe ist deaktiviert
|
||||||
statistics:
|
statistics:
|
||||||
average_score: Durchschnittliche Punktzahl
|
average_score: Durchschnittliche Punktzahl
|
||||||
final_submissions: Finale Abgaben
|
final_submissions: Finale Abgaben
|
||||||
|
@ -245,18 +245,9 @@ en:
|
|||||||
codeharbor_link:
|
codeharbor_link:
|
||||||
generate: Generate
|
generate: Generate
|
||||||
info:
|
info:
|
||||||
push_url: |
|
push_url: The url from Codeharbor where your exercise can be exported to. If you don't know what to write here, ask an admin.
|
||||||
The url from Codeharbor where your exercise can be exported to. If you don't know what to write here, ask an admin.
|
check_uuid_url: The url from Codeharbor where we can check if the exercise already exists. If you don't know what to write here, ask an admin.
|
||||||
check_uuid_url: |
|
api_key: Will be used to authenticate your export request. Has to be the same on both sides.
|
||||||
The url from Codeharbor where we can check if the exercise already exists. If you don't know what to write here, ask an admin.
|
|
||||||
name: |
|
|
||||||
Can be anything to Identify your account link.
|
|
||||||
token: |
|
|
||||||
Will be used to authenticate your export request. Has to be the same on both sides.
|
|
||||||
client_id:
|
|
||||||
Will be sent with your token. Can be automatically generated.
|
|
||||||
client_secret:
|
|
||||||
Will be sent with your token. Can be automatically generated.
|
|
||||||
profile_label: Codeharbor Link
|
profile_label: Codeharbor Link
|
||||||
new: Create link to Codeharbor
|
new: Create link to Codeharbor
|
||||||
edit: Edit existing link
|
edit: Edit existing link
|
||||||
@ -321,9 +312,9 @@ en:
|
|||||||
file_root: Files
|
file_root: Files
|
||||||
import_codeharbor:
|
import_codeharbor:
|
||||||
check:
|
check:
|
||||||
no_exercise: No corresponding exercise found on Codeocean. Pushing this exercise will create a new one on Codeocean, which will be linked to this one on Codeharbor, any changes to either one can be pushed to the respective other platform.
|
no_exercise: No corresponding exercise found on Codeharbor. Pushing this exercise will create a new exercise on Codeharbor, which will be linked to this one on Codeocean. Any changes to either one can be pushed to the respective other platform.
|
||||||
exercise_found: A corresponding exercise has been found on Codeocean. You can either <ul><li>Create a new exercise as a duplicate of this one on Codeharbor and push it to Codeocean, using the "Create new" button.</li><li>Overwrite the exercise on Codeocean, by pushing all changes. Only use "Overwrite" for bugfixes or very small changes - it will alter and may break published exercises.</li></ul>
|
exercise_found: 'A corresponding exercise has been found on Codeharbor. You can export the exercise to transfer all changes made on Codeocean to Codeharbor. Careful: This will overwrite all potential changes made on Codeharbor.'
|
||||||
exercise_found_no_right: A corresponding exercise has been found on Codeocean, but you don't have the rights to edit it. You can only <ul><li>Create a new exercise as a duplicate of this one on Codeharbor and push it to Codeocean, using the "Create new" button.</li></ul>
|
exercise_found_no_right: A corresponding exercise has been found on Codeharbor, but you don't have the rights to edit it. Please contact an Admin if you think you should be able to edit the exercise on Codeharbor.
|
||||||
export_codeharbor:
|
export_codeharbor:
|
||||||
label: Export to Codeharbor
|
label: Export to Codeharbor
|
||||||
dialogtitle: Export to Codeharbor
|
dialogtitle: Export to Codeharbor
|
||||||
|
Reference in New Issue
Block a user