Commit 86c6bfe7 authored by Jonathan Lichtenfeld's avatar Jonathan Lichtenfeld

fix #31

parent 432ae067
......@@ -100,7 +100,7 @@ class QuestionActivity :
override fun showLoadRoundFailed(reason: String) {
layout_load_failed_question.visibility = View.VISIBLE
textView_fetching_failed.text = "Loading round failed: $reason"
textView_fetching_failed.text = getString(R.string.loading_round_failed, reason)
button_retry.setOnClickListener {
val roundInfo = mDuel.rounds[mDuel.round_current - 1]
val roundID = roundInfo.id
......@@ -111,7 +111,7 @@ class QuestionActivity :
}
override fun showSubmitUserAnswerFailed(reason: String) {
toast("Submit User Answer Failed: $reason")
toast(getString(R.string.submit_user_answer_failed, reason))
}
override fun showQuestionNumber(number: Int) {
......
......@@ -206,4 +206,6 @@
<string name="pref_language_label_eng">Englisch</string>
<string name="confirm_unfriend_info">Möchtest du %1$s wirklich aus deiner Freundes-Liste entfernen?</string>
<string name="confirm_unfriend">Entfernen bestätigen</string>
<string name="submit_user_answer_failed">Benutzerantwort konnte nicht übermittelt werden: %1$s</string>
<string name="loading_round_failed">Runde konnte nicht geladen werden: %1$s</string>
</resources>
\ No newline at end of file
......@@ -262,4 +262,6 @@
<string name="pref_language_label_eng">English</string>
<string name="confirm_unfriend">Confirm unfriend</string>
<string name="confirm_unfriend_info">Do you really want to unfriend %1$s?</string>
<string name="submit_user_answer_failed">Failed to submit user answer: %1$s</string>
<string name="loading_round_failed">Failed to load round: %1$s</string>
</resources>
......@@ -321,4 +321,6 @@
<string name="pref_language_label_ger">German</string>
<string name="confirm_unfriend">Confirm unfriend</string>
<string name="confirm_unfriend_info">Do you really want to unfriend %1$s?</string>
<string name="submit_user_answer_failed">Failed to submit user answer: %1$s</string>
<string name="loading_round_failed">Failed to load round: %1$s</string>
</resources>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment