Fix minor errors in strings.xml
[fonbot.git] / res / values / strings.xml
index 2924533d084a51fcd7b6895f25ebffabe3020c3a..b1253262f45982e23571d94e4413b3fdda6b3bcc 100644 (file)
@@ -1,30 +1,32 @@
 <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_USERNAME YOUR_PASSWORD" to fonbot@ieval.ro, then send commands\n</li>
+    <li>via Yahoo Messenger: Login by sending "login YOUR_USERNAME 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>
-    <li>help sms — shows help for the ls comand</li>
+    <li>help sms — shows help for the sms comand</li>
 </ul>
 </string>
     <string name="user_tapped_fmt">User tapped \'%s\'</string>
     <string name="user_navigated_away_from_dialog">User navigated away from dialog</string>
     <string name="user_canceled_dialog">User canceled dialog</string>
+    <string name="admin_disabled">Admin disabled</string>
     <string name="admin_disable_requested">Admin disable requested</string>
     <string name="admin_enabled">Admin enabled</string>
     <string name="device_password_changed">Device password changed</string>
@@ -32,7 +34,7 @@ The help command can be used to get a list of commands and help for them. Exampl
     <string name="device_login_succeeded">Device login succeeded</string>
     <string name="logging_in">Logging in…</string>
     <string name="phone_status_idle">Phone is now idle</string>
-    <string name="phone_status_ringing">"Phone is ringing. Incoming number: "</string>
+    <string name="phone_status_ringing">"Phone is ringing. Incoming number: %s"</string>
     <string name="phone_status_offhook">Phone is offhook</string>
     <string name="location">Location</string>
     <string name="latitude">Latitude</string>
@@ -145,11 +147,9 @@ The help command can be used to get a list of commands and help for them. Exampl
     <string name="wifi_off">Wifi: off</string>
     <string name="enabling_wifi">Enabling wifi…</string>
     <string name="disabling_wifi">Disabling wifi…</string>
-    <string name="polling_server">Polling server…</string>
-    <string name="polling_stopped">Polling stopped</string>
+    <string name="starting_long_polling_if_stopped">Starting long polling if stopped…</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>
     <string name="outgoing_message">Outgoing message to %1$s: \"%2$s\" sent at %3$s</string>
     <string name="error_writing_to_socket">Error writing to socket: %s</string>
@@ -196,10 +196,9 @@ The help command can be used to get a list of commands and help for them. Exampl
                Example: wipe data
     </string>
     <string name="poll_help">
-        Usage: poll [ms]\n
-               With no arguments, polls the server once\n
-               With an argument, starts polling the server every &lt;ms&gt; milliseconds. If &lt;ms&gt; 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
     </string>
     <string name="contacts_help">
         Usage: contacts substring\n
@@ -218,9 +217,14 @@ The help command can be used to get a list of commands and help for them. Exampl
     </string>
     <string name="sms_help">
         Usage: sms phone_number message\n
-               Sends an sms with text &lt;message&gt; to &lt;phone_number&gt;.\n
+               Sends an sms with text &lt;message&gt; to &lt;phone_number&gt;. This command requests a delivery report. If you do not want one, use the SMSQ command.\n
                Example: sms 0755555555 \"Test message\"
     </string>
+    <string name="smsq_help">
+        Usage: smsq phone_number message\n
+               Sends an sms with text &lt;message&gt; to &lt;phone_number&gt;. This command does not request a delivery report. If you want one, use the SMS command.\n
+               Example: smsq 0755555555 \"Test message\"
+    </string>
     <string name="setpassword_help">
         Usage: setpassword [password]\n
                With no argument, clears the device password.\n
@@ -255,7 +259,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. This is unreliable. If you have the Torch app installed, use the torch command instead.\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">
@@ -438,7 +442,6 @@ The help command can be used to get a list of commands and help for them. Exampl
         Example: shutdown
     </string>
     <string name="location_tracking_is_active">Location tracking is active</string>
-    <string name="the_polling_service_is_running">The polling service is running</string>
     <string name="cancel">Cancel</string>
     <string name="command_sent">Command sent</string>
     <string name="could_not_parse_id">Could not parse id</string>
@@ -460,10 +463,36 @@ The help command can be used to get a list of commands and help for them. Exampl
        </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
+         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>
+       <string name="reboot_failed">Reboot failed</string>
+       <string name="sh_help">
+         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/
+       </string>
+       <string name="rootsh_help">
+         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
+       </string>
+       <string name="command_not_documented">This command is not documented (yet).</string>
+       <string name="sms_sent">SMS sent (%s)</string>
+       <string name="sms_not_sent_generic_failure">SMS not sent: Generic failure (%s)</string>
+       <string name="sms_not_sent_no_service">SMS not sent: No service (%s)</string>
+       <string name="sms_not_sent_null_pdu">SMS not sent: Null PDU (%s)</string>
+       <string name="sms_not_sent_radio_off">SMS not sent: Radio off (%s)</string>
+       <string name="sms_delivered">SMS delivered (%s)</string>
+       <string name="sms_not_delivered">SMS not delivered (%s)</string>
 </resources>
This page took 0.013092 seconds and 4 git commands to generate.