mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-07 10:42:07 +00:00
Add tip: Xiaomi autostart (#121)
* Add tip: Xiaomi autostart * Imported translations
This commit is contained in:
parent
8b15993494
commit
5e00d6c65c
3 changed files with 10 additions and 1 deletions
|
@ -69,6 +69,11 @@ public class TipsAndTricksActivity extends SyncthingActivity {
|
|||
mTipListAdapter.add(getString(R.string.tip_huawei_device_disconnected_title), getString(R.string.tip_huawei_device_disconnected_text, ipAddress));
|
||||
}
|
||||
|
||||
// Tips referring to Xiaomi deviecs.
|
||||
if ("xiaomi".equalsIgnoreCase(Build.MANUFACTURER)) {
|
||||
mTipListAdapter.add(getString(R.string.tip_xiaomi_autostart_title), getString(R.string.tip_xiaomi_autostart_text));
|
||||
}
|
||||
|
||||
// Set onClick listener and add adapter to recycler view.
|
||||
mTipListAdapter.setOnClickListener(
|
||||
new ItemClickListener() {
|
||||
|
|
|
@ -308,6 +308,8 @@ Bitte melden Sie auftretende Probleme via GitHub.</string>
|
|||
<string name="tip_huawei_device_disconnected_text">Falls der Computer das Huawei-Gerät permanent als \"getrennt\" meldet, öffne die Syncthing-Oberfläche auf dem Computer. Gehe zu \"Externe Geräte\", klappe den Eintrag des Mobilgeräts aus, klicke \"Bearbeiten\", wechsle zu \"Erweitert\". Trage die IP-Adresse deines Mobilgeräts in \"Adressen\" wie folgt ein:\ntcp4://%1$s, dynamic\nFunktioniert sicher auf: Huawei P10</string>
|
||||
<string name="tip_phone_ip_address_syntax">TELEFON_IP_ADRESSE</string>
|
||||
|
||||
<string name="tip_xiaomi_autostart_title">Xiaomi: App startet nicht beim Hochfahren</string>
|
||||
<string name="tip_xiaomi_autostart_text">Xiaomi MIUI verbietet standardmäßig den Apps, sich selbst zu starten. Von Deinem Startbildschirm beginnend: Wähle \"Einstellungen\" > \"Rechte\" > \"Autostart\" und aktiviere den \"Syncthing-Fork\" Schieberegler.</string>
|
||||
|
||||
<!-- RecentChangesActivity -->
|
||||
<string name="recent_changes_title">Letzte Änderungen</string>
|
||||
|
|
|
@ -304,10 +304,12 @@ Please report any problems you encounter via Github.</string>
|
|||
<string name="tip_custom_sync_conditions_title">Use per folder/device custom sync conditions</string>
|
||||
<string name="tip_custom_sync_conditions_text">This feature will still be improved in future releases. For now, we didn\'t want to break existing configs and app behaviour. That\'s why custom sync conditions for a certain network type can only be set if you enable syncing on the network in the global run conditions first.</string>
|
||||
|
||||
<string name="tip_huawei_device_disconnected_title">Huawei \'device disconnected\' workaround</string>
|
||||
<string name="tip_huawei_device_disconnected_title">Huawei: \'device disconnected\' workaround</string>
|
||||
<string name="tip_huawei_device_disconnected_text">If your desktop constantly reports your Huawei device as disconnected, open Syncthing UI of your desktop. Go to \'remote devices\', expand the phone\'s entry, click \'Edit\', switch to \'Advanced\'. Put your phone IP address into \'Addresses\' like this:\ntcp4://%1$s, dynamic\nConfirmed working for: Huawei P10</string>
|
||||
<string name="tip_phone_ip_address_syntax">PHONE_IP_ADDRESS</string>
|
||||
|
||||
<string name="tip_xiaomi_autostart_title">Xiaomi: app does not start on boot</string>
|
||||
<string name="tip_xiaomi_autostart_text">Xiaomi MIUI disallows apps to start on their own by default. From home screen, go to \'Settings\' > \'Permissions\' > \'Autostart\' and enable the \'Syncthing-Fork\' slider.</string>
|
||||
|
||||
<!-- RecentChangesActivity -->
|
||||
<string name="recent_changes_title">Recent changes</string>
|
||||
|
|
Loading…
Reference in a new issue