Skip to content
Snippets Groups Projects
Verified Commit 531b14ce authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Added translated warning when battery savings affect the app

parent 7211c75e
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,11 @@ abstract class ServiceBoundActivity : ...@@ -153,7 +153,11 @@ abstract class ServiceBoundActivity :
onSelectAccount() onSelectAccount()
} else { } else {
if (!connection.start()) if (!connection.start())
Toast.makeText(this, "Could not create QuasselService", Toast.LENGTH_SHORT).show() Toast.makeText(
this,
getString(R.string.label_service_connection_failed),
Toast.LENGTH_SHORT
).show()
connection.bind() connection.bind()
} }
} }
......
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
<string name="label_search_buffer">Chats suchen</string> <string name="label_search_buffer">Chats suchen</string>
<string name="label_select">Auswählen</string> <string name="label_select">Auswählen</string>
<string name="label_send">Senden</string> <string name="label_send">Senden</string>
<string name="label_service_connection_failed">Verbindung konnte nicht hergestellt werden, prüfe die Batterie-Spar-Einstellungen. Mehr Info findest du auf dontkillmyapp.com.</string>
<string name="label_set_default">Als Standard setzen</string> <string name="label_set_default">Als Standard setzen</string>
<string name="label_settings">Einstellungen</string> <string name="label_settings">Einstellungen</string>
<string name="label_settings_client">Client-Einstellungen</string> <string name="label_settings_client">Client-Einstellungen</string>
......
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
<string name="label_search_buffer">Search Chats</string> <string name="label_search_buffer">Search Chats</string>
<string name="label_select">Select</string> <string name="label_select">Select</string>
<string name="label_send">Send</string> <string name="label_send">Send</string>
<string name="label_service_connection_failed">Could not create connection, check battery saving settings. See dontkillmyapp.com for more info.</string>
<string name="label_set_default">Set Default</string> <string name="label_set_default">Set Default</string>
<string name="label_settings">Settings</string> <string name="label_settings">Settings</string>
<string name="label_settings_client">Client Settings</string> <string name="label_settings_client">Client Settings</string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment