]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Use separate label strings for text fields in login dialog
authorTobias Brunner <tobias@strongswan.org>
Tue, 3 May 2016 08:43:27 +0000 (10:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 3 May 2016 08:43:27 +0000 (10:43 +0200)
In the profile editor the password is now marked as optional in the
label, which looks a bit strange in the login dialog.

src/frontends/android/app/src/main/res/layout/login_dialog.xml
src/frontends/android/app/src/main/res/values-de/strings.xml
src/frontends/android/app/src/main/res/values-pl/strings.xml
src/frontends/android/app/src/main/res/values-ru/strings.xml
src/frontends/android/app/src/main/res/values-ua/strings.xml
src/frontends/android/app/src/main/res/values/strings.xml

index adfaac5e2906db6d2efe93b93f9b8e32e5c05fd8..32892da16ce39f445e1cc8af3a1fdcce58b61e1b 100644 (file)
@@ -32,7 +32,7 @@
             android:layout_height="wrap_content"
             android:enabled="false"
             android:inputType="none"
-            android:hint="@string/profile_username_label" />
+            android:hint="@string/login_username" />
 
     </android.support.design.widget.TextInputLayout>
 
@@ -48,7 +48,7 @@
             android:layout_height="wrap_content"
             android:singleLine="true"
             android:inputType="textPassword|textNoSuggestions"
-            android:hint="@string/profile_password_label" />
+            android:hint="@string/login_password" />
 
     </android.support.design.widget.TextInputLayout>
 
index 15ccf24fd44be81055e66924af1869a676cc8e46..857a18aaaff139f34475e601ee42587326201201 100644 (file)
 
     <!-- Dialogs -->
     <string name="login_title">Passwort eingeben um zu verbinden</string>
+    <string name="login_username">Benutzername</string>
+    <string name="login_password">Passwort</string>
     <string name="login_confirm">Verbinden</string>
     <string name="error_introduction">Fehler beim Aufsetzen des VPN:</string>
     <string name="error_lookup_failed">Server-Adresse konnte nicht aufgelöst werden.</string>
index c7aadb99439b6db9e7d1fb616e796ac30afca4e1..df441221036fc1e703196ee4af0d89ee45f15949 100644 (file)
 
     <!-- Dialogs -->
     <string name="login_title">Wprowadż hasło</string>
+    <string name="login_username">Użytkownik</string>
+    <string name="login_password">Hasło</string>
     <string name="login_confirm">Połącz</string>
     <string name="error_introduction">Nie udało się utworzyć tunelu VPN:</string>
     <string name="error_lookup_failed">Nie znaleziono adresu serwer</string>
index c0a6484f836d5b2598c44a8969a13328ded625b6..933b2fb2dda76de45d2a8aabfde5720772f645c5 100644 (file)
 
     <!-- Dialogs -->
     <string name="login_title">Введите пароль для соединения</string>
+    <string name="login_username">Логин</string>
+    <string name="login_password">Пароль</string>
     <string name="login_confirm">Соединить</string>
     <string name="error_introduction">Ошибка подключения к VPN:</string>
     <string name="error_lookup_failed">Не найден адрес сервер.</string>
index a852dfdbaac6db680fe81e4feae9c19decbb8b21..e48a9215ebd4d07978b2cedb2a312d0b4750a011 100644 (file)
 
     <!-- Dialogs -->
     <string name="login_title">Введіть пароль для з\'єднання</string>
+    <string name="login_username">Логін</string>
+    <string name="login_password">Пароль</string>
     <string name="login_confirm">Підключити</string>
     <string name="error_introduction">Помилка підлючення VPN:</string>
     <string name="error_lookup_failed">Помилка пошуку адреси сервер.</string>
index d70712181d2936599efa0a50793187616dc0609f..0ceace143f6197a5c57cf43f50051ab47b82667c 100644 (file)
 
     <!-- Dialogs -->
     <string name="login_title">Enter password to connect</string>
+    <string name="login_username">Username</string>
+    <string name="login_password">Password</string>
     <string name="login_confirm">Connect</string>
     <string name="error_introduction">Failed to establish VPN:</string>
     <string name="error_lookup_failed">Server address lookup failed.</string>