forked from minetest-mods/unified_inventory
Make default waypoint names translatable
This commit is contained in:
parent
8ffc8e9323
commit
2a18e7357d
@ -69,6 +69,7 @@ Red = Rot
|
||||
Green = Grün
|
||||
Blue = Blau
|
||||
Waypoints = Markierungen
|
||||
Waypoint %d = Wegpunkt Nr. %d
|
||||
Waypoint active = Markierung aktiv
|
||||
Waypoint inactive = Markierung inaktiv
|
||||
World position = Weltposition
|
||||
|
@ -71,6 +71,7 @@ Red =
|
||||
Green =
|
||||
Blue =
|
||||
Waypoints =
|
||||
Waypoint %d =
|
||||
Waypoint active =
|
||||
Waypoint inactive =
|
||||
World position =
|
||||
|
@ -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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user