mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-12 17:12:40 +01:00
DroidFish: Removed resource "ok". Android has a built-in resource for this.
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
<Button
|
<Button
|
||||||
android:text="@string/ok"
|
android:text="@android:string/ok"
|
||||||
android:id="@+id/eb_ok"
|
android:id="@+id/eb_ok"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
<Button
|
<Button
|
||||||
android:text="@string/ok"
|
android:text="@android:string/ok"
|
||||||
android:id="@+id/eb_ok"
|
android:id="@+id/eb_ok"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
@@ -259,7 +259,6 @@ wenn Sie es nicht aktiv nutzen.\
|
|||||||
<string name="load_next_game">Nächste Partie laden</string>
|
<string name="load_next_game">Nächste Partie laden</string>
|
||||||
<string name="no_prev_game">Keine vorherige Partie</string>
|
<string name="no_prev_game">Keine vorherige Partie</string>
|
||||||
<string name="no_next_game">Keine nächste Partie</string>
|
<string name="no_next_game">Keine nächste Partie</string>
|
||||||
<string name="ok">Okay</string>
|
|
||||||
<string name="cancel">Abbrechen</string>
|
<string name="cancel">Abbrechen</string>
|
||||||
<string name="yes">Ja</string>
|
<string name="yes">Ja</string>
|
||||||
<string name="no">Nein</string>
|
<string name="no">Nein</string>
|
||||||
|
|||||||
@@ -259,7 +259,6 @@ Si está usted utilizando la batería, se recomienda que cambie los ajustes para
|
|||||||
<string name="load_next_game">Cargar Siguiente Partida</string>
|
<string name="load_next_game">Cargar Siguiente Partida</string>
|
||||||
<string name="no_prev_game">No hay Partida Anterior</string>
|
<string name="no_prev_game">No hay Partida Anterior</string>
|
||||||
<string name="no_next_game">No hay Partida Siguiente</string>
|
<string name="no_next_game">No hay Partida Siguiente</string>
|
||||||
<string name="ok">OK</string>
|
|
||||||
<string name="cancel">Cancelar</string>
|
<string name="cancel">Cancelar</string>
|
||||||
<string name="yes">Sí</string>
|
<string name="yes">Sí</string>
|
||||||
<string name="no">No</string>
|
<string name="no">No</string>
|
||||||
|
|||||||
@@ -261,7 +261,6 @@ you are not actively using the program.\
|
|||||||
<string name="load_next_game">Load Next Game</string>
|
<string name="load_next_game">Load Next Game</string>
|
||||||
<string name="no_prev_game">No previous game</string>
|
<string name="no_prev_game">No previous game</string>
|
||||||
<string name="no_next_game">No next game</string>
|
<string name="no_next_game">No next game</string>
|
||||||
<string name="ok">Ok</string>
|
|
||||||
<string name="cancel">Cancel</string>
|
<string name="cancel">Cancel</string>
|
||||||
<string name="yes">Yes</string>
|
<string name="yes">Yes</string>
|
||||||
<string name="no">No</string>
|
<string name="no">No</string>
|
||||||
|
|||||||
@@ -1404,7 +1404,7 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
builder.setPositiveButton(R.string.ok, new Dialog.OnClickListener() {
|
builder.setPositiveButton(android.R.string.ok, new Dialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
gotoMove.run();
|
gotoMove.run();
|
||||||
}
|
}
|
||||||
@@ -1598,7 +1598,7 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||||||
savePGNToFile(pathName, false);
|
savePGNToFile(pathName, false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
builder.setPositiveButton(R.string.ok, new Dialog.OnClickListener() {
|
builder.setPositiveButton(android.R.string.ok, new Dialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
savePGN.run();
|
savePGN.run();
|
||||||
}
|
}
|
||||||
@@ -1729,7 +1729,7 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||||||
black.setText(headers.get("Black"));
|
black.setText(headers.get("Black"));
|
||||||
|
|
||||||
builder.setNegativeButton(R.string.cancel, null);
|
builder.setNegativeButton(R.string.cancel, null);
|
||||||
builder.setPositiveButton(R.string.ok, new Dialog.OnClickListener() {
|
builder.setPositiveButton(android.R.string.ok, new Dialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
headers.put("Event", event.getText().toString().trim());
|
headers.put("Event", event.getText().toString().trim());
|
||||||
headers.put("Site", site .getText().toString().trim());
|
headers.put("Site", site .getText().toString().trim());
|
||||||
@@ -1767,7 +1767,7 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||||||
nag.setText(nagStr);
|
nag.setText(nagStr);
|
||||||
|
|
||||||
builder.setNegativeButton(R.string.cancel, null);
|
builder.setNegativeButton(R.string.cancel, null);
|
||||||
builder.setPositiveButton(R.string.ok, new Dialog.OnClickListener() {
|
builder.setPositiveButton(android.R.string.ok, new Dialog.OnClickListener() {
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
String pre = preComment.getText().toString().trim();
|
String pre = preComment.getText().toString().trim();
|
||||||
String post = postComment.getText().toString().trim();
|
String post = postComment.getText().toString().trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user