1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-10 01:16:15 +00:00

Label fix, 0.16 tagging for Play Store and slow sync mode commented.

This commit is contained in:
Loïc Blot (@U-Exp) 2014-12-02 20:39:11 +01:00
parent 9093f69a57
commit 45c480106b
6 changed files with 19 additions and 15 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fr.unix_experience.owncloud_sms" package="fr.unix_experience.owncloud_sms"
android:versionCode="15" android:versionCode="16"
android:versionName="0.15.5" > android:versionName="0.16.0" >
<!-- From Android 3.0 to 4.4w --> <!-- From Android 3.0 to 5.0 -->
<uses-sdk <uses-sdk
android:minSdkVersion="11" android:minSdkVersion="11"
android:maxSdkVersion="21" android:maxSdkVersion="21"
@ -56,6 +56,7 @@
android:authorities="@string/account_authority"> android:authorities="@string/account_authority">
</provider> </provider>
<!--
<service <service
android:name=".sync_adapters.SmsSlowSyncService" android:name=".sync_adapters.SmsSlowSyncService"
android:exported="true" android:exported="true"
@ -74,6 +75,7 @@
android:label="@string/pref_title_slow_sync" android:label="@string/pref_title_slow_sync"
android:authorities="@string/slowsync_account_authority"> android:authorities="@string/slowsync_account_authority">
</provider> </provider>
-->
<!-- Related to Login --> <!-- Related to Login -->
<service android:name=".authenticators.OwnCloudAuthenticatorService"> <service android:name=".authenticators.OwnCloudAuthenticatorService">

View File

@ -26,13 +26,13 @@
*/ */
--> -->
<resources> <resources>
<!-- Translations must begin there -->
<!-- Preferences -->
<string name="pref_title_sync">Fast Sync</string> <string name="pref_title_sync">Fast Sync</string>
<string name="pref_title_sync_frequency">Fast Sync frequency</string> <string name="pref_title_sync_frequency">Fast Sync frequency</string>
<string name="pref_title_slow_sync">Secure Slow Sync</string> <string name="pref_title_slow_sync">Secure Slow Sync</string>
<string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string> <string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string>
<!-- Translations must begin there -->
<!-- Preferences -->
<string name="action_settings">Settings</string> <string name="action_settings">Settings</string>
<string name="sync_now">Synchronize now</string> <string name="sync_now">Synchronize now</string>
<string name="pref_category_sync">Synchronization</string> <string name="pref_category_sync">Synchronization</string>

View File

@ -40,6 +40,9 @@
<string name="pref_header_data_sync">Données &amp; synchronisation</string> <string name="pref_header_data_sync">Données &amp; synchronisation</string>
<string name="pref_title_sync_frequency">Fréquence de synchronisation</string> <string name="pref_title_sync_frequency">Fréquence de synchronisation</string>
<string name="pref_title_sync">SMS - Méthode rapide</string>
<string name="pref_title_slow_sync">SMS - Méthode lente (sécurisée)</string>
<string name="pref_title_slow_sync_frequency">Fréquence de la synchronisation lente</string>
<string name="title_activity_general_settings">Préférences générales</string> <string name="title_activity_general_settings">Préférences générales</string>

View File

@ -38,9 +38,9 @@
<!-- Translations must begin there --> <!-- Translations must begin there -->
<!-- Preferences --> <!-- Preferences -->
<string name="pref_title_sync">Fast Sync</string> <string name="pref_title_sync">SMS - Fast</string>
<string name="pref_title_sync_frequency">Fast Sync frequency</string> <string name="pref_title_sync_frequency">Fast Sync frequency</string>
<string name="pref_title_slow_sync">Secure Slow Sync</string> <string name="pref_title_slow_sync">SMS - Slow and Secure</string>
<string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string> <string name="pref_title_slow_sync_frequency">Secure Slow Sync frequency</string>
<string name="action_settings">Settings</string> <string name="action_settings">Settings</string>
<string name="sync_now">Synchronize now</string> <string name="sync_now">Synchronize now</string>

View File

@ -9,13 +9,13 @@
android:negativeButtonText="@null" android:negativeButtonText="@null"
android:positiveButtonText="@null" android:positiveButtonText="@null"
android:title="@string/pref_title_sync_frequency" /> android:title="@string/pref_title_sync_frequency" />
<ListPreference <!-- <ListPreference
android:defaultValue="60" android:defaultValue="60"
android:entries="@array/pref_slow_sync_frequency_titles" android:entries="@array/pref_slow_sync_frequency_titles"
android:entryValues="@array/pref_slow_sync_frequency_values" android:entryValues="@array/pref_slow_sync_frequency_values"
android:key="slow_sync_frequency" android:key="slow_sync_frequency"
android:negativeButtonText="@null" android:negativeButtonText="@null"
android:positiveButtonText="@null" android:positiveButtonText="@null"
android:title="@string/pref_title_slow_sync_frequency" /> android:title="@string/pref_title_slow_sync_frequency" /> -->
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@ -71,7 +71,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
// their values. When their values change, their summaries are updated // their values. When their values change, their summaries are updated
// to reflect the new value, per the Android Design guidelines. // to reflect the new value, per the Android Design guidelines.
bindPreferenceSummaryToValue(findPreference("sync_frequency")); bindPreferenceSummaryToValue(findPreference("sync_frequency"));
bindPreferenceSummaryToValue(findPreference("slow_sync_frequency")); //bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
} }
/** {@inheritDoc} */ /** {@inheritDoc} */
@ -154,7 +154,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
} }
} }
// Slow Sync frequency // Slow Sync frequency
} else if (prefKey.equals(new String("slow_sync_frequency"))) { } /*else if (prefKey.equals(new String("slow_sync_frequency"))) {
long syncFreq = Long.parseLong((String)value); long syncFreq = Long.parseLong((String)value);
// Get ownCloud SMS account list // Get ownCloud SMS account list
@ -182,8 +182,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
mSlowSyncAccountAuthority, b, syncFreq * 60); mSlowSyncAccountAuthority, b, syncFreq * 60);
} }
} }
}*/
}
} else { } else {
// For all other preferences, set the summary to the value's // For all other preferences, set the summary to the value's
// simple string representation. // simple string representation.
@ -235,7 +234,7 @@ public class GeneralSettingsActivity extends PreferenceActivity {
// updated to reflect the new value, per the Android Design // updated to reflect the new value, per the Android Design
// guidelines. // guidelines.
bindPreferenceSummaryToValue(findPreference("sync_frequency")); bindPreferenceSummaryToValue(findPreference("sync_frequency"));
bindPreferenceSummaryToValue(findPreference("slow_sync_frequency")); //bindPreferenceSummaryToValue(findPreference("slow_sync_frequency"));
} }
} }
} }