summaryrefslogtreecommitdiff
path: root/waypoints.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-06 16:43:27 +0200
committerWuzzy <almikes@aol.com>2016-08-06 16:43:27 +0200
commit2a18e7357d809b3c6f6fe1b160c2251945b9afcb (patch)
tree44954985b415c6bdff6899f220ad47605f628419 /waypoints.lua
parent8ffc8e9323723b8b96b6a0495ac9be8d0d701f9b (diff)
Make default waypoint names translatable
Diffstat (limited to 'waypoints.lua')
-rw-r--r--waypoints.lua2
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 ..