WC II - Typo and translatability of Difficulty, remove Version (#7795)

This commit is contained in:
Toranks 2023-07-17 22:22:53 +02:00 committed by GitHub
parent 96a78bd55b
commit 682b89e764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
--creates the objectives of the wc2 scenarios.
local _ = wesnoth.textdomain 'wesnoth-wc'
local _lib = wesnoth.textdomain 'wesnoth-lib'
local strings = {
wct_victory_condition = _"Defeat all enemy leaders and commanders",
turns = _"Turns run out",
wct_defeat_condition = _ "Lose your leader and all your commanders",
difficulty = "Difficulty: ",
version = "Version ",
difficulty = _lib("Difficulty: "),
help_available = _ "An in-game help is available: right-click on any empty hex.",
}
@ -27,9 +27,6 @@ function wesnoth.wml_actions.wc2_objectives(cfg)
wml.tag.note {
description = strings.difficulty .. wml.variables["wc2_difficulty.name"],
},
wml.tag.note {
description = strings.version .. wml.variables["wc2_host_version"],
},
note = wc2_color.help_text(strings.help_available)
}
end