Strings hinzugefügt und übersetzt

This commit is contained in:
JG-Cody 2023-09-19 21:18:27 +02:00
parent 06e708ab02
commit eb1dc580e2
6 changed files with 25 additions and 8 deletions

View File

@ -10,7 +10,7 @@
android:id="@+id/unlock_title" android:id="@+id/unlock_title"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Unlock Cringe Authenticator" android:text="@string/unlock_cringe_authenticator"
android:textSize="21sp" android:textSize="21sp"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -22,7 +22,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="19dp" android:layout_height="19dp"
android:layout_marginTop="32dp" android:layout_marginTop="32dp"
android:text="Password" android:text="@string/password"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/unlock_title" /> app:layout_constraintTop_toBottomOf="@+id/unlock_title" />
@ -44,7 +44,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:background="@drawable/button_themed" android:background="@drawable/button_themed"
android:text="Unlock" android:text="@string/unlock"
android:textAllCaps="false" android:textAllCaps="false"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -56,7 +56,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:background="@drawable/button_themed" android:background="@drawable/button_themed"
android:text="Unlock using biometrics" android:text="@string/unlock_using_biometrics"
android:textAllCaps="false" android:textAllCaps="false"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View File

@ -13,7 +13,7 @@
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
android:ems="10" android:ems="10"
android:inputType="text" android:inputType="text"
android:text="Name" android:text="@string/name"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />

View File

@ -52,7 +52,7 @@
<TextView <TextView
android:id="@+id/otpCode" android:id="@+id/otpCode"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="top" android:gravity="top"
android:text="000000" android:text="000000"

View File

@ -5,13 +5,13 @@
<item <item
android:id="@+id/action_code" android:id="@+id/action_code"
android:orderInCategory="100" android:orderInCategory="100"
android:title="Add Code" android:title="@string/add_code"
app:showAsAction="never" app:showAsAction="never"
android:onClick="addCode" /> android:onClick="addCode" />
<item <item
android:id="@+id/action_settings" android:id="@+id/action_settings"
android:orderInCategory="100" android:orderInCategory="100"
android:title="Settings" android:title="@string/settings"
app:showAsAction="never" app:showAsAction="never"
android:onClick="openSettings" /> android:onClick="openSettings" />
</menu> </menu>

View File

@ -61,4 +61,14 @@
</string-array> </string-array>
<string name="screen_security">Bildschirmsicherheit</string> <string name="screen_security">Bildschirmsicherheit</string>
<string name="hide_codes">Codes verstecken</string> <string name="hide_codes">Codes verstecken</string>
<string name="enable_encryption">Verschlüsselung aktivieren</string>
<string name="password">Passwort</string>
<string name="set_password">Passwort setzen</string>
<string name="confirm_password">Passwort bestätigen</string>
<string name="unlock_cringe_authenticator">Authenticator entsperren</string>
<string name="unlock">Entsperren</string>
<string name="unlock_using_biometrics">Mit Biometrie ensperren</string>
<string name="add_code">Code hinzufügen</string>
<string name="settings">Einstellungen</string>
<string name="developed_by">Developed by Cringe Studios and JG-Cody</string>
</resources> </resources>

View File

@ -55,6 +55,13 @@
<string name="password">Password</string> <string name="password">Password</string>
<string name="set_password">set Password</string> <string name="set_password">set Password</string>
<string name="confirm_password">confirm Password</string> <string name="confirm_password">confirm Password</string>
<string name="unlock_cringe_authenticator">Unlock Authenticator</string>
<string name="unlock">Unlock</string>
<string name="unlock_using_biometrics">Unlock using biometrics</string>
<string name="name" translatable="false">Name</string>
<string name="add_code">Add Code</string>
<string name="settings">Settings</string>
<string name="developed_by">Developed by Cringe Studios and JG-Cody</string>
<string-array name="view_edit_move_delete"> <string-array name="view_edit_move_delete">
<item>View</item> <item>View</item>
<item>Edit</item> <item>Edit</item>