diff options
author | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-02 01:08:59 +0200 |
---|---|---|
committer | Gábor Somogyi <gabor.g.somogyi@gmail.com> | 2016-05-02 01:08:59 +0200 |
commit | 97c2c3d47a7e6ef094038091649c130d2de4b016 (patch) | |
tree | 091d72f2a7aac024c76d43bfb6c1be6c808ff786 /src/org/traccar/ServerManager.java | |
parent | 9d5b2230caa434db5bff773b4ffa980da2adc15c (diff) | |
download | trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.gz trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.bz2 trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.zip |
Concept update + UI translation support
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index dae693080..4f8e66130 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -100,7 +100,8 @@ public class ServerManager { for (String commandKey : baseProtocol.getSupportedCommands()) { SupportedCommand supportedCommand = new SupportedCommand(); supportedCommand.setKey(commandKey); - supportedCommand.setName(commandKey); + String commandName = "command" + commandKey.substring(0, 1).toUpperCase() + commandKey.substring(1); + supportedCommand.setName(commandName); result.add(supportedCommand); } } |