converted hardcoded text to strings and made some more translation

This commit is contained in:
JG-Cody 2021-08-14 11:30:15 +02:00
parent a5be7bdc5e
commit 239d568801
7 changed files with 11 additions and 7 deletions

View File

@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPersonName"
android:hint="TABNAME" />
android:hint="@string/tabname"
android:inputType="textPersonName" />
</LinearLayout>

View File

@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="FILENAME"
android:hint="@string/filename"
android:inputType="textPersonName" />
</LinearLayout>

View File

@ -243,7 +243,7 @@
android:id="@+id/imageView3"
android:layout_width="130dp"
android:layout_height="50dp"
android:src="@drawable/teraplex_logo"
android:src="@drawable/jg_cody_white"
app:tint="@color/mtrl_btn_text_color_selector"
app:layout_constraintEnd_toEndOf="@+id/team"
app:layout_constraintStart_toStartOf="@+id/team"

View File

@ -56,7 +56,7 @@
android:layout_marginStart="10dp"
android:layout_marginBottom="10dp"
android:ems="10"
android:hint="TYPE YOUR COMMAND"
android:hint="@string/command"
android:imeOptions="actionDone"
android:inputType="text"
android:textColor="#FFFFFF"
@ -71,8 +71,8 @@
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/button_right"
android:text="@string/send"
app:backgroundTint="@null"
android:text="SEND"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />

View File

@ -34,7 +34,7 @@
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="www.jg-cody.de"
android:text="WWW.JG-CODY.DE"
android:textColor="@color/mtrl_btn_text_color_selector" />
</LinearLayout>

View File

@ -94,4 +94,6 @@
<string name="button">SCHALTFLÄCHE</string>
<string name="button1">SCHALTFLÄCHE 1</string>
<string name="button2">SCHALTFLÄCHE 2</string>
<string name="send">SENDEN</string>
<string name="filename">DATEINAME</string>
</resources>

View File

@ -32,6 +32,7 @@
<string name="shutdown">SHUTDOWN</string>
<string name="unable_to_connect">UNABLE TO CONNECT</string>
<string name="try_again">PLEASE TRY AGAIN</string>
<string name="send">SEND</string>
//main
<string name="command">COMMAND</string>
@ -60,6 +61,7 @@
<string name="pink_green">"PINK\nGREEN"</string>
<string name="reset_app">RESET APP</string>
<string name="import_export">IMPORT/EXPORT</string>
<string name="filename">FILENAME</string>
<string name="are_you_sure_to_reset">ARE YOU SURE YOU WANT TO RESET THE APP AND DELETE ALL YOUR SETTINGS?</string>
//credits