Make default waypoint names translatable

This commit is contained in:
Wuzzy
2016-08-06 16:43:27 +02:00
parent 8ffc8e9323
commit 2a18e7357d
3 changed files with 3 additions and 1 deletions

View File

@ -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 ..