Fix duplicate version in string (#7374)

This commit is contained in:
OptimizedForDensity 2022-07-05 01:05:06 -04:00 committed by GitHub
parent 33e5b6475a
commit 8b4bb89995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -632,7 +632,7 @@ Copy saved game to clipboard =
Could not load game! =
Could not load game from clipboard! =
Could not load game from custom location! =
The save was created with an incompatible version of Unciv: [version]. Please update Unciv to at least [version] and try again. =
The save was created with an incompatible version of Unciv: [version]. Please update Unciv to this version or later and try again. =
Load [saveFileName] =
Are you sure you want to delete this save? =
Delete save =

View File

@ -430,6 +430,6 @@ class IncompatibleGameInfoVersionException(
cause: Throwable? = null
) : UncivShowableException(
"The save was created with an incompatible version of Unciv: [${version.createdWith.toNiceString()}]. " +
"Please update Unciv to at least [${version.createdWith.toNiceString()}] and try again.",
"Please update Unciv to this version or later and try again.",
cause
), HasGameInfoSerializationVersion