summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale/de.txt1
-rw-r--r--locale/template.txt1
-rw-r--r--waypoints.lua2
3 files changed, 3 insertions, 1 deletions
diff --git a/locale/de.txt b/locale/de.txt
index 346ff40..437e2c9 100644
--- a/locale/de.txt
+++ b/locale/de.txt
@@ -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
diff --git a/locale/template.txt b/locale/template.txt
index 4f1eb2e..a741acf 100644
--- a/locale/template.txt
+++ b/locale/template.txt
@@ -71,6 +71,7 @@ Red =
Green =
Blue =
Waypoints =
+Waypoint %d =
Waypoint active =
Waypoint inactive =
World position =
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 ..