X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=res%2Fvalues%2Fstrings.xml;h=3d8258e048b8f97bc2c37f9f90ff10ebc6f6afe8;hb=b4f8b90cdb5353c6862235bb799c620e6865ac28;hp=e49e617de03bd05160e08d111cbb3a69ea3fe3aa;hpb=b7248ef73a8e05bedb934b6acd0b3a0f7e9fa038;p=fonbot.git
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e49e617..3d8258e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -146,11 +146,9 @@ The help command can be used to get a list of commands and help for them. Exampl
Wifi: off
Enabling wifiâ¦
Disabling wifiâ¦
- Polling serverâ¦
- Polling stopped
+ Starting long polling if stoppedâ¦
Command %s disabled
Command %s enabled
- Polling every %d milliseconds
Incoming message from %1$s: \"%2$s\" sent at %3$s
Outgoing message to %1$s: \"%2$s\" sent at %3$s
Error writing to socket: %s
@@ -197,10 +195,9 @@ The help command can be used to get a list of commands and help for them. Exampl
Example: wipe data
- Usage: poll [ms]\n
- With no arguments, polls the server once\n
- With an argument, starts polling the server every <ms> milliseconds. If <ms> is 0, the polling is stopped\n
- Example: poll 60000
+ Usage: poll\n
+ Starts the long polling service if it is stopped\n
+ Example: poll
Usage: contacts substring\n
@@ -439,7 +436,6 @@ The help command can be used to get a list of commands and help for them. Exampl
Example: shutdown
Location tracking is active
- The polling service is running
Cancel
Command sent
Could not parse id
@@ -474,4 +470,16 @@ The help command can be used to get a list of commands and help for them. Exampl
Error opening file %1$s (%2$s)
File received
+ Reboot failed
+
+ Usage: sh command [arg1 arg2 ...]\n
+ Executes a shell command and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands.\n
+ Example: sh ls /sdcard/
+
+
+ Usage: rootsh command [arg1 arg2 ...]\n
+ Executes a shell command as root and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands. This requires root access.\n
+ Example: rootsh stop;sleep 3;start
+
+ This command is not documented (yet).