Add customization/translation for "Players" and "Map Types" UI labels

This commit is contained in:
Mike Primm 2012-01-06 01:02:56 -06:00
parent 42365ca563
commit 5a0983d867
3 changed files with 9 additions and 2 deletions

View file

@ -31,6 +31,8 @@ public class ClientConfigurationComponent extends Component {
if(sn.equals("Unknown Server"))
sn = "Minecraft Dynamic Map";
s(t, "title", c.getString("webpage-title", sn));
s(t, "msg-maptypes", c.getString("msg/maptypes", "Map Types"));
s(t, "msg-players", c.getString("msg/players", "Players"));
DynmapWorld defaultWorld = null;
String defmap = null;

View file

@ -299,6 +299,11 @@ cyrillic-support: false
# If true, make persistent record of IP addresses used by player logins, to support web IP to player matching
persist-ids-by-ip: true
# Messages to customize
msg:
maptypes: "Map Types"
players: "Players"
# NOTE: the 'templates' section is now found in the 'templates' directory
# Templates CAN still be defined in configuration.txt, as before 0.20
templates: