1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Display "Account settings" title instead of "General settings" when opening account settings (doesn't seem to be affected by user chosen language though)

This commit is contained in:
Fiouz 2010-10-28 19:07:30 +00:00
parent b723769e65
commit 50c3751421
4 changed files with 5 additions and 7 deletions

View File

@ -453,7 +453,7 @@
<string name="account_setup_failed_dlg_continue_action">Continuer</string> <string name="account_setup_failed_dlg_continue_action">Continuer</string>
<string name="account_settings_push_advanced_title">Paramètres Push</string> <string name="account_settings_push_advanced_title">Paramètres Push</string>
<string name="account_settings_title_fmt">Paramètres généraux</string> <string name="account_settings_title_fmt">Paramètres du compte</string>
<string name="account_settings_default">Compte par défaut</string> <string name="account_settings_default">Compte par défaut</string>
<string name="account_settings_default_label">Compte par défaut</string> <string name="account_settings_default_label">Compte par défaut</string>
<string name="account_settings_default_summary">Envoyer les messages de ce compte par défaut</string> <string name="account_settings_default_summary">Envoyer les messages de ce compte par défaut</string>
@ -486,6 +486,7 @@
<string name="account_settings_reply_after_quote_label">Réponse après la citation</string> <string name="account_settings_reply_after_quote_label">Réponse après la citation</string>
<string name="account_settings_reply_after_quote_summary">Lors d\'une réponse, le texte d\'origine précèdera votre réponse</string> <string name="account_settings_reply_after_quote_summary">Lors d\'une réponse, le texte d\'origine précèdera votre réponse</string>
<string name="account_settings_general_title">Paramètres généraux</string>
<string name="account_settings_display_prefs_title">Affichage</string> <string name="account_settings_display_prefs_title">Affichage</string>
<string name="account_settings_sync">Synchronication de dossiers</string> <string name="account_settings_sync">Synchronication de dossiers</string>
<string name="account_settings_folders">Dossiers</string> <string name="account_settings_folders">Dossiers</string>

View File

@ -505,7 +505,7 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
<string name="account_setup_failed_dlg_continue_action">Continue</string> <string name="account_setup_failed_dlg_continue_action">Continue</string>
<string name="account_settings_push_advanced_title">Advanced</string> <string name="account_settings_push_advanced_title">Advanced</string>
<string name="account_settings_title_fmt">General settings</string> <string name="account_settings_title_fmt">Account settings</string>
<string name="account_settings_default">Default account</string> <string name="account_settings_default">Default account</string>
<string name="account_settings_default_label">Default account</string> <string name="account_settings_default_label">Default account</string>
<string name="account_settings_default_summary">Send mail from this account by default</string> <string name="account_settings_default_summary">Send mail from this account by default</string>
@ -539,7 +539,7 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
<string name="account_settings_reply_after_quote_label">Reply after quoted text</string> <string name="account_settings_reply_after_quote_label">Reply after quoted text</string>
<string name="account_settings_reply_after_quote_summary">When replying to messages, the original message will appear above your reply.</string> <string name="account_settings_reply_after_quote_summary">When replying to messages, the original message will appear above your reply.</string>
<string name="account_settings_general_title">General settings</string>
<string name="account_settings_display_prefs_title">Display</string> <string name="account_settings_display_prefs_title">Display</string>
<string name="account_settings_sync">Fetching mail</string> <string name="account_settings_sync">Fetching mail</string>
<string name="account_settings_folders">Folders</string> <string name="account_settings_folders">Folders</string>

View File

@ -17,7 +17,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen <PreferenceScreen
android:title="@string/account_settings_title_fmt" android:title="@string/account_settings_general_title"
android:key="account_settings"> android:key="account_settings">
<EditTextPreference <EditTextPreference

View File

@ -154,9 +154,6 @@ public class AccountSettings extends K9PreferenceActivity
addPreferencesFromResource(R.xml.account_settings_preferences); addPreferencesFromResource(R.xml.account_settings_preferences);
Preference category = findPreference(PREFERENCE_TOP_CATERGORY);
category.setTitle(getString(R.string.account_settings_title_fmt));
mAccountDescription = (EditTextPreference) findPreference(PREFERENCE_DESCRIPTION); mAccountDescription = (EditTextPreference) findPreference(PREFERENCE_DESCRIPTION);
mAccountDescription.setSummary(mAccount.getDescription()); mAccountDescription.setSummary(mAccount.getDescription());
mAccountDescription.setText(mAccount.getDescription()); mAccountDescription.setText(mAccount.getDescription());