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
public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
whiteClock.setText("White: " + timeToString(wTime));
blackClock.setText("Black: " + timeToString(bTime));
whiteClock.setText(getString(R.string.header_white) + " " + timeToString(wTime));
blackClock.setText(getString(R.string.header_black) + " " + timeToString(bTime));
handlerTimer.removeCallbacks(r);
if (nextUpdate > 0) {
handlerTimer.postDelayed(r, nextUpdate);