Skip to content

Commit

Permalink
Fix Transifex String Issues (#5999)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noordfrees committed Jul 7, 2023
1 parent 310e76d commit 6ba442a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ obj_moving = {
li_arrow(_([[The second one is the more common and faster one: press-and-hold the right mouse button anywhere on the map, then move your mouse around and you’ll see the view scroll.]])) ..
li_arrow(_([[The third one is to use the minimap. It is especially useful for traveling big distances.]])) ..
vspace() ..
p(_([[Moving around with the right mouse button may be uncomfortable if you play on a laptop with a touchpad. You can enable map movement with touchpad scrolling in the the Widelands main menu: Choose ‘Options’ then press ‘Edit keyboard and mouse actions’, and select the ‘Mouse Scrolling’ tab.]]))
p(_([[Moving around with the right mouse button may be uncomfortable if you play on a laptop with a touchpad. You can enable map movement with touchpad scrolling in the the Widelands main menu: Choose ‘Options’, then press ‘Edit keyboard and mouse actions’, and select the ‘Mouse Scrolling’ tab.]]))
),
}
tell_about_move = {
Expand Down
2 changes: 1 addition & 1 deletion data/tribes/initialization/empire/units.lua
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ wl.Descriptions():new_tribe {
preciousness = 2,
helptexts = {
-- TRANSLATORS: Helptext for an Empire ware: Helmet
purpose = pgettext("empire_ware", "The helmet is the basic defense of a warrior. It is produced in an armor smithy. In combination with a wooden spear, it is the equipment to fit out young soldiers. Helmets are also used in training camps – together with food – to train soldiers from health level 0 to level 1.")
purpose = pgettext("empire_ware", "The helmet is the basic defense of a soldier. It is produced in an armor smithy. In combination with a wooden spear, it is the equipment to fit out young soldiers. Helmets are also used in training camps – together with food – to train soldiers from health level 0 to level 1.")
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/tribes/initialization/frisians/units.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ wl.Descriptions():new_tribe {
-- TRANSLATORS: Purpose helptext for a Frisian production site: Large Armor Smithy
purpose = pgettext("frisians_building", "Produces advanced weapons and golden helmets for the soldiers."),
-- TRANSLATORS: Performance helptext for a Frisian production site: Large Armor Smithy
performance = pgettext("frisians_building", "If all needed wares are delivered in time, this building can produce one broadswordsword in %1$s on average, one double-edged sword in %2$s on average and one golden helmet in %3$s on average."):bformat(format_minutes_seconds(2, 42), format_minutes_seconds(2, 42), format_minutes_seconds(5, 24))
performance = pgettext("frisians_building", "If all needed wares are delivered in time, this building can produce one broadsword in %1$s on average, one double-edged sword in %2$s on average and one golden helmet in %3$s on average."):bformat(format_minutes_seconds(2, 42), format_minutes_seconds(2, 42), format_minutes_seconds(5, 24))
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/logic/map_objects/tribes/productionsite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1241,8 +1241,8 @@ void ProductionSite::init_yard_interfaces(EditorGameBase& egbase) {
if (ship_fleet_interfaces_.empty()) {
if (upcast(Game, game, &egbase)) {
send_message(*game, Message::Type::kEconomy, pgettext("building", "No Shore"),
descr().icon_filename(), _("Ship Yard Without Shore"),
_("Your ship yard has not been built close enough to a shore. It will not "
descr().icon_filename(), _("Shipyard Without Shore"),
_("Your shipyard has not been built close enough to a shore. It will not "
"be able to build ships."));
}
}
Expand Down

0 comments on commit 6ba442a

Please sign in to comment.