Skip to content

Commit

Permalink
Add missing server browser localisation for WRONG_MOD_VERSION (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames authored Dec 20, 2023
1 parent d90a986 commit feee261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ Press Yes if you agree to this. This choice can be changed in the mods menu at a

// Mod downloading
"MISSING_MOD" "Missing mod \"%s1\" v%s2"
"WRONG_MOD_VERSION" "Server has mod \"%s1\" v%s2 while you have v%s3"
"MOD_NOT_VERIFIED" "(mod is not verified, and couldn't be downloaded automatically)"
"MOD_DL_DISABLED" "(automatic mod downloading is disabled)"
"DOWNLOADING_MOD_TITLE" "Downloading mod"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ void function OnServerSelected_Threaded( var button )
{
DialogData dialogData
dialogData.header = "#ERROR"
dialogData.message = format( "Server has mod \"%s\" v%s while we have v%s", mod.name, mod.version, NSGetModVersionByModName( mod.name ) )
dialogData.message = Localize( "#WRONG_MOD_VERSION", mod.name, mod.version, NSGetModVersionByModName( mod.name ) )
dialogData.image = $"ui/menu/common/dialog_error"

#if PC_PROG
Expand Down

0 comments on commit feee261

Please sign in to comment.