diff --git a/README.md b/README.md index a087bbf..a89b2df 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,12 @@ ownCloud SMS Android Application licence is in reflexion, then sources are parti ## Contributions -We are searching for translations in others langs (german, russian, italian, japanese). +We are searching for translations in others langs To contribute please download res/values/strings.xml and res/values/google_playstore_strings.xml and give us a translated version ! +You can also contribute by adding patches in Java code or cleanups. + ## Requirements - An ownCloud instance with ocsms app diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..5c6c334 Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..5071685 Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..ea26e2c Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..21d32cd Binary files /dev/null and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable/login_logo.png b/res/drawable/login_logo.png new file mode 100644 index 0000000..9510bd1 Binary files /dev/null and b/res/drawable/login_logo.png differ diff --git a/res/values-cs/google_playstore_strings.xml b/res/values-cs/google_playstore_strings.xml index 9bc63b2..32091b3 100644 --- a/res/values-cs/google_playstore_strings.xml +++ b/res/values-cs/google_playstore_strings.xml @@ -26,12 +26,16 @@ */ --> + + 3 + + ownCloud SMS synchronizuje vaše lokální SMS zprávy na váš server ownCloud Aplikace ownCloud SMS synchronizuje vaše SMS zprávy na vzdálenou instanci ownCloud, kde si poté můžete zprávy přečíst. Zasílání SMS ze serveru ownCloud bude doplněno v příštích vydáních. -Applikace je plně kompatibilní pro Android 4.0 až 4.4 +Applikace je plně kompatibilní pro Android 4.0 až 5.0 \ No newline at end of file diff --git a/res/values-cs/strings.xml b/res/values-cs/strings.xml index b543a9f..f8631a8 100644 --- a/res/values-cs/strings.xml +++ b/res/values-cs/strings.xml @@ -26,7 +26,9 @@ */ --> - + + 1 + Frekvence synchronizace diff --git a/res/values-de/google_playstore_strings.xml b/res/values-de/google_playstore_strings.xml new file mode 100644 index 0000000..d25601d --- /dev/null +++ b/res/values-de/google_playstore_strings.xml @@ -0,0 +1,42 @@ + + + + + 3 + + + Mit ownCloud SMS kannst Du Deine SMS mit Deiner ownCloud synchronisieren + +Die ownCloud SMS App synchronisiert Deine SMS-Nachrichten mit einer ownCloud-Instanz und erlaubt Dir, die SMS dort zu lesen. + +In kommenden Versionen soll auch den SMS-Versand von der ownCloud-Instanz aus möglich sein. +Auf diese Weise wirst Du von überall in der Welt SMS versenden können, solange Dein Android-Smartphone GSM- und Datenempfang hat. + +Die App ist vollständig kompatibel mit Android 4.0 bis 5.0 + + diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml new file mode 100644 index 0000000..3361f70 --- /dev/null +++ b/res/values-de/strings.xml @@ -0,0 +1,133 @@ + + + + + 2 + + + + SMS - Schnell + Schnelle Sync-Frequenz + SMS - Langsam & Sicher + Langsame Sync-Frequenz + Einstellungen + Jetzt synchronisieren + Synchronisierung + + Allg. Einstellungen + Sync-Einstellungen + Benachrichtigungen + + Daten & Sync + + Allg. Einstellungen + + + 5 Minuten + 15 Minuten + 30 Minuten + 1 Stunde + 3 Stunden + 6 Stunden + 12 Stunden + 24 Stunden + Nie + + + 5 + 15 + 30 + 60 + 180 + 360 + 720 + 1440 + -1 + + + + 1 Stunde + 3 Stunden + 6 Stunden + 12 Stunden + 24 Stunden + Nie + + + + 60 + 180 + 360 + 720 + 1440 + -1 + + + Einloggen + + + Login + Passwort + Einloggen oder Registrieren + Einloggen + Falscher Benutzername oder Passwort + Dieses Passwort ist zu kurz + Pflichtfeld + Server-Adresse + Ungültige Serveradresse + Verbindung fehlgeschlagen, ist dies der richtige Server? + Kann keine HTTP-Verbindung aufbauen. Läuft der Webserver unter dieser Adresse? + + + https:// + http:// + + + + Synchronisation + Sychronisation läuft... + Kritischer Fehler! + + + + Fehler #1: Bei vorherigen Nachrichten ungültige Serverdaten empfangen + Fehler #2: Fehler bei der Erstellung des HTTP-Requests + Fehler #3: Push-Request fehlgeschlagen + Fehler #4: Beim Pushen von Daten ungültige Serverdaten empfangen + Fehler #5: SMS-Liste gab NULL zurück + Fehler #6: Fehler bei der Erstellung des Push-Requests + Fehler #7: Ungültige Zeichenkodierung bei der Erstellung des Requests + Fehler #8: Anmeldung fehlgeschlagen + Fehler #9: Unbekannter HTTP-Antwortcode vom Server + Fehler #11: Konnte nicht mit der ownCloud-Instanz verbinden (HTTP-Request) + Fehler #12: Konnte nicht mit der ownCloud-Instanz verbinden (HTTP-Ausnahme) + Fehler #13: Konnte nicht mit der ownCloud-Instanz verbinden (IO-Fehler) + Fehler #14: Konnte Server-Antwort nicht parsen + Fehler #15: Konnte Server-Antwort nicht parsen + + diff --git a/res/values-en/google_playstore_strings.xml b/res/values-en/google_playstore_strings.xml index 2ce527a..3dc357e 100644 --- a/res/values-en/google_playstore_strings.xml +++ b/res/values-en/google_playstore_strings.xml @@ -26,12 +26,16 @@ */ --> + + 3 + + ownCloud SMS synchronize your local SMS on your ownCloud instance ownCloud SMS application synchronize your SMS messages on a remote ownCloud instance and let you read your messages from it. Sending SMS from ownCloud instance will coming in a future release. -Application is fully compatible from Android 4.0 to 4.4 +Application is fully compatible from Android 4.0 to 5.0 \ No newline at end of file diff --git a/res/values-en/strings.xml b/res/values-en/strings.xml index f5877b8..9011565 100644 --- a/res/values-en/strings.xml +++ b/res/values-en/strings.xml @@ -26,6 +26,9 @@ */ --> + + 2 + Fast Sync diff --git a/res/values-es/google_playstore_strings.xml b/res/values-es/google_playstore_strings.xml new file mode 100644 index 0000000..25d6cff --- /dev/null +++ b/res/values-es/google_playstore_strings.xml @@ -0,0 +1,34 @@ + + + + + 0 + + + + \ No newline at end of file diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml index 347248f..8135ef5 100644 --- a/res/values-es/strings.xml +++ b/res/values-es/strings.xml @@ -28,10 +28,12 @@ --> - Frecuencia de sincronización + + 1 - + + Frecuencia de sincronización Configuración Sincronizar ahora Sincronización diff --git a/res/values-fr/google_playstore_strings.xml b/res/values-fr/google_playstore_strings.xml index 2b660a7..64ad66c 100644 --- a/res/values-fr/google_playstore_strings.xml +++ b/res/values-fr/google_playstore_strings.xml @@ -26,12 +26,16 @@ */ --> + + 3 + + ownCloud SMS permet de synchroniser vos SMS sur votre instance ownCloud L\'application ownCloud SMS vous permet de synchroniser vos messages SMS sur une instance ownCloud distante et ainsi de pouvoir les lire. Il est prévu d\'ajouter le support de l\'envoi de SMS depuis l\'instance ownCloud dans une future mise à jour, vous permettant d\'envoyer des SMS depuis n\'importe où dans le monde, en laissant votre téléphone Android à portée d\'un accès DATA et GSM -L\'application est pleinement compatible des versions Android 4.0 à 4.4 +L\'application est pleinement compatible des versions Android 4.0 à 5.0 \ No newline at end of file diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml index d0c9535..c8b2a76 100644 --- a/res/values-fr/strings.xml +++ b/res/values-fr/strings.xml @@ -26,6 +26,10 @@ */ --> + + 2 + + ownCloud-SMS Paramètres @@ -38,11 +42,11 @@ Options de synchronisation Notifications - Données & synchronisation - Fréquence de synchronisation - SMS - Méthode rapide - SMS - Méthode lente (sécurisée) - Fréquence de la synchronisation lente + Données & synchronisation + Fréquence de synchronisation + SMS - Méthode rapide + SMS - Méthode lente (sécurisée) + Fréquence de la synchronisation lente Préférences générales diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml new file mode 100644 index 0000000..a4a95bc --- /dev/null +++ b/res/values-v11/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml new file mode 100644 index 0000000..664f4f1 --- /dev/null +++ b/res/values-v14/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/res/values-w820dp/dimens.xml b/res/values-w820dp/dimens.xml new file mode 100644 index 0000000..f3e7020 --- /dev/null +++ b/res/values-w820dp/dimens.xml @@ -0,0 +1,10 @@ + + + + 64dp + + diff --git a/res/values/google_playstore_strings.xml b/res/values/google_playstore_strings.xml index 2ce527a..3dc357e 100644 --- a/res/values/google_playstore_strings.xml +++ b/res/values/google_playstore_strings.xml @@ -26,12 +26,16 @@ */ --> + + 3 + + ownCloud SMS synchronize your local SMS on your ownCloud instance ownCloud SMS application synchronize your SMS messages on a remote ownCloud instance and let you read your messages from it. Sending SMS from ownCloud instance will coming in a future release. -Application is fully compatible from Android 4.0 to 4.4 +Application is fully compatible from Android 4.0 to 5.0 \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 181fa2e..9da9e2c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -26,6 +26,8 @@ */ --> + + 2 ownCloud-SMS diff --git a/src/fr/unix_experience/owncloud_sms/activities/LoginActivity.java b/src/fr/unix_experience/owncloud_sms/activities/LoginActivity.java index 291288e..6c078d3 100644 --- a/src/fr/unix_experience/owncloud_sms/activities/LoginActivity.java +++ b/src/fr/unix_experience/owncloud_sms/activities/LoginActivity.java @@ -24,10 +24,12 @@ import android.animation.AnimatorListenerAdapter; import android.annotation.TargetApi; import android.app.Activity; import android.content.ContentResolver; +import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; +import android.provider.Settings; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; @@ -283,6 +285,11 @@ public class LoginActivity extends Activity { ContentResolver.addPeriodicSync(account, getString(R.string.account_authority), b, 15 * 60); // Then it's finished finish(); + + // Start sync settings, we have finished to configure account + Intent settingsIntent = new Intent(Settings.ACTION_SYNC_SETTINGS); + settingsIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + getApplicationContext().startActivity(settingsIntent); } else { switch (_returnCode) { case INVALID_ADDR: