mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Make Per-Version config localizable
This commit is contained in:
parent
2aba383d45
commit
7c0b6812bf
@ -50,7 +50,7 @@ public class PerVersionConfigDialog{
|
||||
jvmArgsEditText = v.findViewById(R.id.pvc_jvmArgs);
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
|
||||
builder.setView(v);
|
||||
builder.setTitle("Per-version settings");
|
||||
builder.setTitle(R.string.pvc_title);
|
||||
builder.setNegativeButton(android.R.string.cancel,(dialogInterface,i)->dialogInterface.dismiss());
|
||||
builder.setPositiveButton(android.R.string.ok,this::save);
|
||||
dialog = builder.create();
|
||||
|
@ -14,7 +14,7 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:ems="10"
|
||||
android:hint="JVM arguments"
|
||||
android:hint="@string/pvc_jvmArgs"
|
||||
android:inputType="textPersonName"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@ -28,7 +28,7 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:ems="10"
|
||||
android:hint="Game directory"
|
||||
android:hint="@string/pvc_gameDirectory"
|
||||
android:inputType="textPersonName"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -236,5 +236,7 @@
|
||||
<string name="multirt_nocompartiblert">Can\'t find any compartible Java Runtime</string>
|
||||
|
||||
<string name="compat_117_message">Minecraft 21w10a+ requires the OpenGL 3.2 core profile. Sadly, GL4ES wrapper doesn\'t fully support it at the moment, but there are some additional resources you can install to run these versions. Press OK to confirm installation, and press Cancel to abort launch.</string>
|
||||
|
||||
<string name="pvc_gameDirectory">Game directory</string>
|
||||
<string name="pvc_jvmArgs">JVM arguments</string>
|
||||
<string name="pvc_title">Per-version settings</string>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user