summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2009-10-07 11:31:08 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-07 11:31:08 -0700
commitecd42371f42ba3d91c2d0c5bcfe5c5c614df9173 (patch)
tree3ab48dfea69da2d3ec1b3946b795cf21c1dd8856 /res
parent69a58693d04ea60794e4c8950b6f2c907e5237e1 (diff)
parentc49ca127aa993dc2ae402680ce392da06f0e1d4c (diff)
downloadpackages_apps_settings-ecd42371f42ba3d91c2d0c5bcfe5c5c614df9173.zip
packages_apps_settings-ecd42371f42ba3d91c2d0c5bcfe5c5c614df9173.tar.gz
packages_apps_settings-ecd42371f42ba3d91c2d0c5bcfe5c5c614df9173.tar.bz2
am c49ca127: Merge change I02f58e89 into eclair
Merge commit 'c49ca127aa993dc2ae402680ce392da06f0e1d4c' into eclair-plus-aosp * commit 'c49ca127aa993dc2ae402680ce392da06f0e1d4c': SecuritySettings: clean up.
Diffstat (limited to 'res')
-rw-r--r--res/layout/credentials_password_dialog.xml (renamed from res/layout/cstor_set_password_dialog_view.xml)43
-rw-r--r--res/layout/credentials_unlock_dialog.xml (renamed from res/layout/cstor_unlock_dialog_view.xml)14
-rw-r--r--res/layout/cstor_name_credential_dialog_view.xml74
-rw-r--r--res/values/strings.xml88
4 files changed, 61 insertions, 158 deletions
diff --git a/res/layout/cstor_set_password_dialog_view.xml b/res/layout/credentials_password_dialog.xml
index eda317a..c23cc68 100644
--- a/res/layout/cstor_set_password_dialog_view.xml
+++ b/res/layout/credentials_password_dialog.xml
@@ -24,40 +24,37 @@
android:layout_height="fill_parent"
android:padding="15dip">
- <TextView android:id="@+id/cstor_first_time_hint"
+ <TextView android:id="@+id/hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/vpn_connect_normal_text_size"
- android:text="@string/cstor_first_time_hint"
- android:layout_marginBottom="10sp" />
+ android:text="@string/credentials_first_time_hint"
+ android:layout_marginBottom="10sp"
+ android:visibility="gone"/>
- <TextView android:id="@+id/cstor_error"
+ <TextView android:id="@+id/error"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="@color/red"
android:textStyle="bold"
- android:text="@string/cstor_password_empty_error" />
+ android:visibility="gone"/>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/cstor_old_password_block"
- android:orientation="vertical"
+ <TextView android:id="@+id/old_password_prompt"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/credentials_old_password"
+ android:visibility="gone"/>
+ <EditText android:id="@+id/old_password"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/cstor_old_password" />
- <EditText android:id="@+id/cstor_old_password"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:password="True"
- android:singleLine="True"/>
- </LinearLayout>
+ android:layout_height="wrap_content"
+ android:password="True"
+ android:singleLine="True"
+ android:visibility="gone"/>
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="@string/cstor_new_password" />
- <EditText android:id="@+id/cstor_new_password"
+ android:text="@string/credentials_new_password" />
+ <EditText android:id="@+id/new_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:password="True"
@@ -65,8 +62,8 @@
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="@string/cstor_confirm_password" />
- <EditText android:id="@+id/cstor_confirm_password"
+ android:text="@string/credentials_confirm_password" />
+ <EditText android:id="@+id/confirm_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:password="True"
diff --git a/res/layout/cstor_unlock_dialog_view.xml b/res/layout/credentials_unlock_dialog.xml
index 895306a..2ba2ace 100644
--- a/res/layout/cstor_unlock_dialog_view.xml
+++ b/res/layout/credentials_unlock_dialog.xml
@@ -24,20 +24,22 @@
android:layout_height="fill_parent"
android:padding="15dip">
- <TextView android:id="@+id/cstor_access_dialog_hint_from_action"
+ <TextView android:id="@+id/hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/vpn_connect_normal_text_size"
- android:text="@string/cstor_access_dialog_hint_from_action"
- android:layout_marginBottom="10sp" />
+ android:text="@string/credentials_unlock_hint"
+ android:layout_marginBottom="10sp"
+ android:visibility="gone"/>
- <TextView android:id="@+id/cstor_error"
+ <TextView android:id="@+id/error"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="@color/red"
- android:textStyle="bold" />
+ android:textStyle="bold"
+ android:visibility="gone"/>
- <EditText android:id="@+id/cstor_password"
+ <EditText android:id="@+id/old_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:password="True"
diff --git a/res/layout/cstor_name_credential_dialog_view.xml b/res/layout/cstor_name_credential_dialog_view.xml
deleted file mode 100644
index 33688bd..0000000
--- a/res/layout/cstor_name_credential_dialog_view.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2009 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="15dip">
-
- <TextView android:id="@+id/cstor_name_credential_hint"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textSize="@dimen/vpn_connect_normal_text_size"
- android:text="@string/cstor_name_credential_hint"
- android:layout_marginBottom="10sp" />
-
- <TextView android:id="@+id/cstor_error"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/red"
- android:textStyle="bold" />
-
- <TextView android:id="@+id/cstor_credential_name_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/cstor_credential_name" />
- <EditText android:id="@+id/cstor_credential_name"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:singleLine="True"/>
-
- <LinearLayout android:id="@+id/cstor_credential_password_container"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="0dip">
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/cstor_credential_password" />
- <EditText android:id="@+id/cstor_credential_password"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:password="True"
- android:singleLine="True"/>
- </LinearLayout>
-
- <TextView android:id="@+id/cstor_credential_info_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/cstor_credential_info" />
- <TextView android:id="@+id/cstor_credential_info"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
-
- </LinearLayout>
-</ScrollView>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8ee3dbe..62e0b67 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2077,72 +2077,50 @@ found in the list of installed applications.</string>
<string name="vpn_secret_not_set">(not set)</string>
<!-- Title of preference group for credential storage settings -->
- <string name="cstor_settings_category">Credential storage</string>
+ <string name="credentials_category">Credential storage</string>
<!-- Title of preference to enable/dislable access to credential storage -->
- <string name="cstor_access_title">Use secure credentials</string>
+ <string name="credentials_access">Use secure credentials</string>
<!-- Summary of preference to enable/dislable access to credential storage -->
- <string name="cstor_access_summary">Allow applications to access secure certificates and other credentials</string>
+ <string name="credentials_access_summary">Allow applications to access secure certificates and other credentials</string>
<!-- Title of dialog to enable/dislable access to credential storage -->
- <string name="cstor_access_dialog_title">Enter password</string>
- <!-- Description of dialog to enable/dislable access to credential storage from an action that requires the credential storage -->
- <string name="cstor_access_dialog_hint_from_action">Enter the credential storage password.</string>
-
- <!-- Title of preference to install p12 cert from SD card -->
- <string name="cstor_cert_install_title">Install from SD card</string>
- <!-- Summary of preference to install p12 cert from SD card -->
- <string name="cstor_cert_install_summary">Install encrypted certificates from SD card</string>
+ <string name="credentials_unlock">Enter password</string>
+ <!-- Description of dialog to enable/dislable access to credential storage -->
+ <string name="credentials_unlock_hint">Enter the credential storage password.</string>
+ <!-- Title of preference to install certificates from SD card -->
+ <string name="credentials_install_certificates">Install from SD card</string>
+ <!-- Summary of preference to install certificates from SD card -->
+ <string name="credentials_install_certificates_summary">Install encrypted certificates from SD card</string>
<!-- Title of preference to set storage password -->
- <string name="cstor_set_passwd_title">Set password</string>
+ <string name="credentials_set_password">Set password</string>
<!-- Summary of preference to set storage password -->
- <string name="cstor_set_passwd_summary">Set or change the credential storage password</string>
- <!-- Title of dialog to set storage password -->
- <string name="cstor_set_passwd_dialog_title">Set password</string>
-
- <!-- Title of preference to reset storage -->
- <string name="cstor_reset_title">Clear storage</string>
- <!-- Summary of preference to reset storage -->
- <string name="cstor_reset_summary">Clear credential storage of all contents and reset its password</string>
- <string name="cstor_reset_hint">Are you sure you want to delete all credentials and reset the credential storage password?</string>
-
- <!-- Title of dialog to name a credential -->
- <string name="cstor_name_credential_dialog_title">Name the certificate</string>
- <!-- Description for the credential name input box -->
- <string name="cstor_credential_name">Certificate name:</string>
- <!-- Title of the credential info -->
- <!-- Description for the credential password input box -->
- <string name="cstor_credential_password">Password to extract the certificate:</string>
- <string name="cstor_credential_info">Certificate details:</string>
- <string name="cstor_name_credential_hint">The name can contain only letters and numbers.</string>
-
-
+ <string name="credentials_set_password_summary">Set or change the credential storage password</string>
+ <!-- Title of preference to reset credential storage -->
+ <string name="credentials_reset">Clear storage</string>
+ <!-- Summary of preference to reset credential storage -->
+ <string name="credentials_reset_summary">Clear credential storage of all contents and reset its password</string>
+ <!-- Description of dialog to reset the credential storage -->
+ <string name="credentials_reset_hint">Are you sure you want to delete all credentials and reset the credential storage password?</string>
<!-- Description for the old-password input box -->
- <string name="cstor_old_password">Current password:</string>
+ <string name="credentials_old_password">Current password:</string>
<!-- Description for the new-password input box -->
- <string name="cstor_new_password">New password:</string>
+ <string name="credentials_new_password">New password:</string>
<!-- Description for the confirm-new-password input box -->
- <string name="cstor_confirm_password">Confirm new password:</string>
+ <string name="credentials_confirm_password">Confirm new password:</string>
<!-- Description when user set up the storage for the very first time -->
- <string name="cstor_first_time_hint">Set a password for the credential storage (at least 8 characters).</string>
- <!-- Description when user set up the storage for the very first time from an action that requires the credential storage-->
- <string name="cstor_first_time_hint_from_action">Set a password for the credential storage.</string>
- <string name="cstor_password_error">Please enter the correct password.</string>
- <string name="cstor_password_error_reset_warning">Please enter the correct password. You have one more try to enter the correct password before the credential storage is erased.</string>
- <string name="cstor_password_error_reset_warning_plural">Please enter the correct password. You have <xliff:g id="number" example="5">%d</xliff:g> more tries to enter the correct password before the credential storage is erased.</string>
- <string name="cstor_passwords_error">Passwords do not match.</string>
- <string name="cstor_passwords_empty_error">You must enter and confirm a password.</string>
- <string name="cstor_password_empty_error">Please enter the password.</string>
- <string name="cstor_password_verification_error">Please enter the password again. The password must have at least 8 characters.</string>
- <string name="cstor_name_empty_error">Please enter a name.</string>
- <string name="cstor_name_char_error">Please enter a name that contains only letters and numbers.</string>
- <string name="cstor_storage_error">Unable to save the certificate. Click OK to retry.</string>
- <string name="cstor_unable_to_save_cert">Unable to save the certificate. The credential storage is not enabled or properly initialized.</string>
- <string name="cstor_cert_not_saved">The certificate is not saved.</string>
- <string name="cstor_is_reset">The credential storage is erased.</string>
-
+ <string name="credentials_first_time_hint">Set a password for the credential storage (at least 8 characters).</string>
+ <string name="credentials_wrong_password">Please enter the correct password.</string>
+ <string name="credentials_reset_warning">Please enter the correct password. You have one more try to enter the correct password before the credential storage is erased.</string>
+ <string name="credentials_reset_warning_plural">Please enter the correct password. You have <xliff:g id="number" example="5">%1$d</xliff:g> more tries to enter the correct password before the credential storage is erased.</string>
+ <string name="credentials_passwords_mismatch">Passwords do not match.</string>
+ <string name="credentials_passwords_empty">You must enter and confirm a password.</string>
+ <string name="credentials_password_empty">Please enter the password.</string>
+ <string name="credentials_password_too_short">The password must have at least 8 characters.</string>
+ <!-- toast message -->
+ <string name="credentials_erased">The credential storage is erased.</string>
<!-- toast message -->
- <string name="cstor_is_enabled">Credential storage is enabled.</string>
+ <string name="credentials_enabled">Credential storage is enabled.</string>
<!-- toast message -->
- <string name="cstor_is_added"><xliff:g id="credential">%s</xliff:g> is added.</string>
+ <string name="credentials_disabled">Credential storage is disabled.</string>
<!-- Sound settings screen, setting check box label -->
<string name="emergency_tone_title">Emergency tone</string>