forked from mirrors/0ad
Fix invalid variable used in getConnectionFailReason
Introduced in 0342f01580.
Reported by: @Stan
This was SVN commit r24783.
This commit is contained in:
@@ -167,7 +167,7 @@ function getConnectionFailReason(reason)
|
||||
case "invalid_password": return translate("Password is invalid.");
|
||||
default:
|
||||
warn("Unknown connection failure reason: " + reason);
|
||||
return sprintf(translate("\\[Invalid value %(reason)s]"), { "reason": id });
|
||||
return sprintf(translate("\\[Invalid value %(reason)s]"), { "reason": reason });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user