DroidFish: Use localized strings for white/black in the title bar.

This commit is contained in:
Peter Osterlund 2011-12-17 00:35:55 +00:00
parent 4767bcb892
commit cf312a2b20

View File

@ -1754,8 +1754,8 @@ public class DroidFish extends Activity implements GUIInterface {
@Override @Override
public void setRemainingTime(long wTime, long bTime, long nextUpdate) { public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
whiteClock.setText("White: " + timeToString(wTime)); whiteClock.setText(getString(R.string.header_white) + " " + timeToString(wTime));
blackClock.setText("Black: " + timeToString(bTime)); blackClock.setText(getString(R.string.header_black) + " " + timeToString(bTime));
handlerTimer.removeCallbacks(r); handlerTimer.removeCallbacks(r);
if (nextUpdate > 0) { if (nextUpdate > 0) {
handlerTimer.postDelayed(r, nextUpdate); handlerTimer.postDelayed(r, nextUpdate);