Skip to content

Commit

Permalink
replace string with backend version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobozinhoD committed Oct 12, 2024
1 parent cfe2b2c commit 9ea5f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class TypeAnswer(
/**
* Optional warning for when a typed answer can't be displayed
*
* * empty card [R.string.empty_card_warning]
* * empty card
* * unknown field specified [R.string.unknown_type_field_warning]
* */
var warning: String? = null
Expand Down Expand Up @@ -118,7 +118,7 @@ class TypeAnswer(
when (correct) {
null -> {
warning = if (clozeIdx != 0) {
res.getString(R.string.empty_card_warning)
CollectionManager.TR.cardTemplateRenderingEmptyFront()
} else {
res.getString(R.string.unknown_type_field_warning, fldTag)
}
Expand Down
1 change: 0 additions & 1 deletion AnkiDroid/src/main/res/values/02-strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
<string name="check_db">Check database</string>
<string name="check_media">Check media</string>
<string name="empty_cards">Empty cards</string>
<string name="empty_card_warning">This card is empty. Use the “Empty cards” option from the menu on the deck list screen.</string>
<string name="unknown_type_field_warning">Type answer: unknown field %s</string>
<string name="delete_deck">Deleting deck…</string>

Expand Down

0 comments on commit 9ea5f1e

Please sign in to comment.