diff options
author | Wuzzy <almikes@aol.com> | 2016-08-06 16:43:27 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-06 16:43:27 +0200 |
commit | 2a18e7357d809b3c6f6fe1b160c2251945b9afcb (patch) | |
tree | 44954985b415c6bdff6899f220ad47605f628419 /waypoints.lua | |
parent | 8ffc8e9323723b8b96b6a0495ac9be8d0d701f9b (diff) |
Make default waypoint names translatable
Diffstat (limited to 'waypoints.lua')
-rw-r--r-- | waypoints.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoints.lua b/waypoints.lua index a8e4762..5e6081f 100644 --- a/waypoints.lua +++ b/waypoints.lua @@ -40,7 +40,7 @@ unified_inventory.register_page("waypoints", { local i = waypoints.selected or 1 local waypoint = waypoints[i] or {} local temp = waypoints_temp[player_name][i] or {} - local default_name = "Waypoint "..i + local default_name = string.format(S("Waypoint %d"), i) -- Main buttons: formspec = formspec .. |