]> iEval git - fonbot.git/blobdiff - res/values/strings.xml
Update help screen
[fonbot.git] / res / values / strings.xml
index bdc90a66d6d7eb490ceb917cb2ba9556db5b0ca2..e49e617de03bd05160e08d111cbb3a69ea3fe3aa 100644 (file)
@@ -1,21 +1,22 @@
 <resources>
     <string name="app_name">FonBot</string>
     <string name="send_message_permission_desc">Allows an application to send notifications through FonBot</string>
-    <string name="help">Initial setup:\n
+    <string name="help"><h1>1. Initial setup:</h1>\n
 <ol>
        <li><a href="http://auth.ieval.ro">Register an account</a>\n</li>
        <li>Enter your username and password in the <a href="ro.ieval.fonbot.FonBotPreferenceActivity://">preferences</a>\n\n</li>
 </ol>
 
-Sending commands:\n
+<h1>2. Sending commands:</h1>\n
 <ul>
-    <li>via Jabber: Send commands to fonbot@ieval.ro from any Jabber/GTalk account\n</li>
-    <li>via Yahoo Messenger: Send commands to fonbotym\n</li>
+    <li>via Jabber: Login by sending "login YOUR_USRENAME YOUR_PASSWORD" to fonbot@ieval.ro, then send commands\n</li>
+    <li>via Yahoo Messenger: Login by sending "login YOUR_USRENAME YOUR_PASSWORD" to fonbotym, then send commands\n</li>
+    <li>via IRC: Login by sending "login YOUR_USERNAME YOUR_PASSWORD" to fonbot on OFTC, then send commands\n</li>
     <li>via SMS: Set a SMS Password in the <a href="ro.ieval.fonbot.FonBotPreferenceActivity://">preferences</a>, then send SMSes with the SMS Password as the first line. The next lines will be processed as commands\n</li>
-    <li>via email: Send commands to fonbot@ieval.ro\n</li>
 </ul>
 \nFonBot commands consist of a command name and zero or more arguments, separated by spaces. To include spaces in an argument, surround the argument with single or double quotes.\n\n
 Example command: sms 0755555555 \'This is a random text\'. This command would send a text message to 0755555555\n\n
+
 The help command can be used to get a list of commands and help for them. Examples:\n\n
 <ul>
     <li>help — shows a list of commands\n</li>
@@ -147,7 +148,7 @@ The help command can be used to get a list of commands and help for them. Exampl
     <string name="disabling_wifi">Disabling wifi…</string>
     <string name="polling_server">Polling server…</string>
     <string name="polling_stopped">Polling stopped</string>
-    <string name="command_disabled">Command disabled%s disabled</string>
+    <string name="command_disabled">Command %s disabled</string>
     <string name="command_enabled">Command %s enabled</string>
     <string name="polling_every_milliseconds">Polling every %d milliseconds</string>
     <string name="incoming_message">Incoming message from %1$s: \"%2$s\" sent at %3$s</string>
@@ -233,9 +234,10 @@ The help command can be used to get a list of commands and help for them. Exampl
                Example: ring on
     </string>
     <string name="photo_help">
-        Usage: photo hostname port\n
-               Takes a photo and uploads it to &lt;hostname&gt;:&lt;port&gt;\n
-               Example: photo 1.1.1.1 8888
+        Usage: photo camera hostname port\n
+               Takes a photo with the given camera and uploads it to &lt;hostname&gt;:&lt;port&gt;\n
+               The camera is a number, usually 0 for the rear camera and 1 for the front one\n
+               Example: photo 0 1.1.1.1 8888
     </string>
     <string name="nolocation_help">
         Usage: nolocation\n
@@ -254,7 +256,7 @@ The help command can be used to get a list of commands and help for them. Exampl
     </string>
     <string name="flash_help">
         Usage: flash on/off\n
-               Turns the flashlight on or off\n
+               Turns the flashlight on or off. This is unreliable. If you have the Torch app installed, use the torch command instead.\n
                Example: flash on
     </string>
     <string name="echo_help">
@@ -443,6 +445,33 @@ The help command can be used to get a list of commands and help for them. Exampl
     <string name="could_not_parse_id">Could not parse id</string>
     <string name="notification_canceled">Notification canceled</string>
     <string name="notification_shown">Notification shown</string>
-    <string name="notify_help">Notify help</string>
-    <string name="user_or_password_not_set">User or password not set</string>
-</resources>
\ No newline at end of file
+    <string name="notify_help">
+        Usage: notify id [title text]\n
+        With three arguments, shows a notification with title &lt;title&gt; and text &lt;text&gt; and id &lt;id&gt;. This replaces any previous notiifcation with the same id.\n
+        With one argument, removes the notification with id &lt;id&gt;\n
+        Example: notify 10 Hello \"Hello, world!\"
+    </string>
+       <string name="user_or_password_not_set">User or password not set</string>
+       <string name="screencap_successful">Screencap successful</string>
+       <string name="screencap_failed">Screencap failed. Remember: the screencap command requires root access</string>
+       <string name="screencap_help">
+         Usage: screencap filename\n
+         Takes a screen capture and saves it to the given filename as a PNG image file. This requires root access.\n
+         Example: screencap /storage/sdcard0/screencap.png
+       </string>
+       <string name="torch_help">
+         Usage: torch\n
+         Toggles the torch (flashlight). This is reliable but requires the Torch app. If you don\'t have the Torch app installed, use the flash command instead.\n
+         Example: torch
+       </string>
+       <string name="toggling_torch_state">Toggling torch state…</string>
+       <string name="device_booted">Your device has been turned on</string>
+       <string name="cannot_parse_camera_number">Cannot parse camera number</string>
+       <string name="getfile_help">
+         Usage: getfile filename url\n
+         Downloads the given url to the file described by the given filename\n
+         Example: getfile /storage/sdcard1 http://ieval.ro/
+       </string>
+       <string name="error_opening_file">Error opening file %1$s (%2$s)</string>
+       <string name="file_received">File received</string>
+</resources>
This page took 0.026581 seconds and 4 git commands to generate.