File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
spec/services/task_service Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
error : ' Der Export der Aufgabe (%{title}) ist fehlgeschlagen. <br><br> Fehler: %{error}'
11
11
generic_error : Ein unbekannter Fehler ist beim exportieren der Aufgabe aufgetreten.
12
12
not_authorized : Die Autorisierung mit "%{account_link}" konnte nicht hergestellt werden. Ist der API-Schlüssel korrekt?
13
- server_error : Verbindung zu %{account_link} fehlgeschlagen. Gegenseite nicht erreichbar.
13
+ server_error : Verbindung zu " %{account_link}" fehlgeschlagen. Gegenseite nicht erreichbar.
14
14
success : Aufgabe (%{title}) erfolgreich exportiert.
15
15
import :
16
16
internal_error : Beim Import dieser Aufgabe ist auf CodeHarbor ein interner Fehler aufgetreten.
Original file line number Diff line number Diff line change 9
9
export_external_confirm :
10
10
error : ' Export of task (%{title}) failed. <br><br> Error: %{error}'
11
11
generic_error : An unknown error has occurred while exporting the task.
12
- not_authorized : Authorization with could not be established with "%{account_link}" . Is the API Key correct?
13
- server_error : Connection to %{account_link} failed. Remote host unreachable.
12
+ not_authorized : Authorization with "%{account_link}" could not be established. Is the API key correct?
13
+ server_error : Connection to " %{account_link}" failed. Remote host unreachable.
14
14
success : Task (%{title}) successfully exported.
15
15
import :
16
16
internal_error : An internal error occurred on CodeHarbor while importing the exercise.
Original file line number Diff line number Diff line change 76
76
allow ( connection ) . to receive ( :post ) . and_raise ( error )
77
77
end
78
78
79
- it { is_expected . to eql I18n . t ( 'tasks.export_external_confirm.server_error' , account_link : account_link . name ) }
79
+ it { is_expected . to eql ERB :: Util . html_escape ( I18n . t ( 'tasks.export_external_confirm.server_error' , account_link : account_link . name ) ) }
80
80
end
81
81
end
82
82
You can’t perform that action at this time.
0 commit comments