add german translations
This commit is contained in:
@@ -192,9 +192,9 @@ class ExercisesController < ApplicationController
|
||||
return render json: {}, status: 201
|
||||
end
|
||||
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
|
||||
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
|
||||
|
||||
def user_from_api_key
|
||||
|
@@ -9,7 +9,7 @@
|
||||
.form-group
|
||||
= f.label(:api_key)
|
||||
.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
|
||||
= button_tag t('codeharbor_link.generate'), type: 'button', class: 'generate-api_key btn btn-default'
|
||||
.actions
|
||||
|
Reference in New Issue
Block a user