1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-12-01 05:12:18 -05:00

Internationalization of Authentication GUI

This commit is contained in:
remram44 2011-06-11 13:56:42 +02:00
parent 6e48a29b34
commit 938577128d
2 changed files with 13 additions and 6 deletions

View File

@ -28,18 +28,18 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Yaaic will authenticate you with these services after connect." android:text="@string/auth_description"
android:padding="5dp" /> android:padding="5dp" />
<CheckBox <CheckBox
android:id="@+id/nickserv_checkbox" android:id="@+id/nickserv_checkbox"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Authenticate with Nickserv" /> android:text="@string/auth_nickserv" />
<TextView <TextView
android:id="@+id/nickserv_label_password" android:id="@+id/nickserv_label_password"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Nickserv password" android:text="@string/auth_nickserv_password"
android:enabled="false" /> android:enabled="false" />
<EditText <EditText
android:id="@+id/nickserv_password" android:id="@+id/nickserv_password"
@ -51,12 +51,12 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/sasl_checkbox" android:id="@+id/sasl_checkbox"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Authenticate via SASL" /> android:text="@string/auth_sasl" />
<TextView <TextView
android:id="@+id/sasl_label_username" android:id="@+id/sasl_label_username"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="SASL username" android:text="@string/auth_sasl_username"
android:enabled="false" /> android:enabled="false" />
<EditText <EditText
android:id="@+id/sasl_username" android:id="@+id/sasl_username"
@ -67,7 +67,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/sasl_label_password" android:id="@+id/sasl_label_password"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="SASL password" android:text="@string/auth_sasl_password"
android:enabled="false"/> android:enabled="false"/>
<EditText <EditText
android:id="@+id/sasl_password" android:id="@+id/sasl_password"

View File

@ -56,6 +56,13 @@
<string name="channel_add_description">These channels will be automatically joined after connect.</string> <string name="channel_add_description">These channels will be automatically joined after connect.</string>
<string name="command_add_description">These commands will be executed after connect.</string> <string name="command_add_description">These commands will be executed after connect.</string>
<string name="auth_description">Yaaic will authenticate you with these services after connect.</string>
<string name="auth_nickserv">Authenticate with Nickserv</string>
<string name="auth_nickserv_password">Nickserv password</string>
<string name="auth_sasl">Authenticate via SASL</string>
<string name="auth_sasl_username">SASL username</string>
<string name="auth_sasl_password">SASL password</string>
<string name="validation_blank_title">Title cannot be blank</string> <string name="validation_blank_title">Title cannot be blank</string>
<string name="validation_blank_host">Host cannot be blank</string> <string name="validation_blank_host">Host cannot be blank</string>
<string name="validation_invalid_port">Enter a numeric port</string> <string name="validation_invalid_port">Enter a numeric port</string>