Project

General

Profile

Feature #108 » 0034-Rename-ui_name_road-as-ui_name_build_road.patch

S3_2 - Marko Lindqvist, 01/08/2024 06:16 AM

View differences:

common/actions.c
case ACTION_FORTIFY:
return "ui_name_fortify";
case ACTION_ROAD:
return "ui_name_road";
return "ui_name_build_road";
case ACTION_CONVERT:
return "ui_name_convert_unit";
case ACTION_BASE:
data/alien/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/civ1/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/civ2/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/civ2civ3/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/classic/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/goldkeep/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/multiplayer/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/sandbox/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
data/webperimental/actions.ruleset
ui_name_fortify = _("%sFortify%s")
; /* TRANS: Build _Road (100% chance of success). */
ui_name_road = _("Build %sRoad%s")
ui_name_build_road = _("Build %sRoad%s")
; /* TRANS: _Build Base (100% chance of success). */
ui_name_build_base = _("%sBuild Base%s")
doc/README.actions
target tile has a city and the city's owner can rebuild it
"Build Road" - Build road at the target tile.
* UI name can be set using ui_name_road
* UI name can be set using ui_name_build_road
* actor must be on the same tile as the target.
* the actor unit has the "Settlers" unit type flag (!)
* the target tile can't have an extra that the target extra must bridge
server/rscompat.c
if (compat->compat_mode && compat->version < RSFORMAT_3_2) {
if (act_id == ACTION_TRANSPORT_DEBOARD) {
return "ui_name_transport_alight";
} else if (act_id == ACTION_ROAD) {
return "ui_name_road";
}
}
(2-2/2)