<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>
<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>
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 <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
</string>
<string name="contacts_help">
Usage: contacts substring\n
Example: ring on
</string>
<string name="photo_help">
- Usage: photo hostname port\n
- Takes a photo and uploads it to <hostname>:<port>\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 <hostname>:<port>\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
</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">
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>
With three arguments, shows a notification with title <title> and text <text> and id <id>. This replaces any previous notiifcation with the same id.\n
With one argument, removes the notification with id <id>\n
Example: notify 10 Hello \"Hello, world!\"
- </string>
- <string name="user_or_password_not_set">User or password not set</string>
-</resources>
\ No newline at end of file
+ </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>
+ <string name="reboot_failed">Reboot failed</string>
+</resources>