mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-01-30 17:13:50 +01:00
DroidFish: Fixed wrong text string in edit header dialog.
This commit is contained in:
parent
7a2bce1e89
commit
566f76f598
|
@ -69,7 +69,7 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_white">
|
||||
android:text="@string/white">
|
||||
</TextView>
|
||||
<EditText
|
||||
android:id="@+id/ed_header_white"
|
||||
|
@ -83,7 +83,7 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_black">
|
||||
android:text="@string/black">
|
||||
</TextView>
|
||||
<EditText
|
||||
android:id="@+id/ed_header_black"
|
||||
|
|
|
@ -58,6 +58,8 @@ you are not actively using the program.\
|
|||
<string name="select_side_to_move_first">Select side to move first</string>
|
||||
<string name="white">White</string>
|
||||
<string name="black">Black</string>
|
||||
<string name="white_square_character">\u25a0</string>
|
||||
<string name="black_square_character">\u25a1</string>
|
||||
<string name="white_king_castle">White king castle</string>
|
||||
<string name="white_queen_castle">White queen castle</string>
|
||||
<string name="black_king_castle">Black king castle</string>
|
||||
|
@ -124,8 +126,6 @@ you are not actively using the program.\
|
|||
<string name="header_site">Site:</string>
|
||||
<string name="header_date">Date:</string>
|
||||
<string name="header_round">Round:</string>
|
||||
<string name="header_white">\u25a0</string>
|
||||
<string name="header_black">\u25a1</string>
|
||||
<string name="comment_before">Before:</string>
|
||||
<string name="comment_move">Move:</string>
|
||||
<string name="comment_after">After:</string>
|
||||
|
|
|
@ -2940,8 +2940,8 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||
@Override
|
||||
public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
|
||||
if (ctrl.getGameMode().clocksActive()) {
|
||||
whiteTitleText.setText(getString(R.string.header_white) + " " + timeToString(wTime));
|
||||
blackTitleText.setText(getString(R.string.header_black) + " " + timeToString(bTime));
|
||||
whiteTitleText.setText(getString(R.string.white_square_character) + " " + timeToString(wTime));
|
||||
blackTitleText.setText(getString(R.string.black_square_character) + " " + timeToString(bTime));
|
||||
} else {
|
||||
TreeMap<String,String> headers = new TreeMap<String,String>();
|
||||
ctrl.getHeaders(headers);
|
||||
|
|
Loading…
Reference in New Issue
Block a user