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
|
Green = Grün
|
||||||
Blue = Blau
|
Blue = Blau
|
||||||
Waypoints = Markierungen
|
Waypoints = Markierungen
|
||||||
|
Waypoint %d = Wegpunkt Nr. %d
|
||||||
Waypoint active = Markierung aktiv
|
Waypoint active = Markierung aktiv
|
||||||
Waypoint inactive = Markierung inaktiv
|
Waypoint inactive = Markierung inaktiv
|
||||||
World position = Weltposition
|
World position = Weltposition
|
||||||
|
@ -71,6 +71,7 @@ Red =
|
|||||||
Green =
|
Green =
|
||||||
Blue =
|
Blue =
|
||||||
Waypoints =
|
Waypoints =
|
||||||
|
Waypoint %d =
|
||||||
Waypoint active =
|
Waypoint active =
|
||||||
Waypoint inactive =
|
Waypoint inactive =
|
||||||
World position =
|
World position =
|
||||||
|
@ -40,7 +40,7 @@ unified_inventory.register_page("waypoints", {
|
|||||||
local i = waypoints.selected or 1
|
local i = waypoints.selected or 1
|
||||||
local waypoint = waypoints[i] or {}
|
local waypoint = waypoints[i] or {}
|
||||||
local temp = waypoints_temp[player_name][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:
|
-- Main buttons:
|
||||||
formspec = formspec ..
|
formspec = formspec ..
|
||||||
|
Loading…
Reference in New Issue
Block a user