We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43d152 commit 0ddd421Copy full SHA for 0ddd421
core/src/com/unciv/models/translations/Translations.kt
@@ -501,7 +501,6 @@ fun String.getPlaceholderText(): String {
501
}
502
503
fun String.equalsPlaceholderText(str: String): Boolean {
504
- if (length != str.length) return false
505
if (isEmpty() && str.isEmpty()) return true // Empty strings have no .first()
506
if (first() != str.first()) return false // for quick negative return 95% of the time
507
return this.getPlaceholderText() == str
0 commit comments