X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/blobdiff_plain/70c9da4edb8240cd472dc96ba6beaedd57c42ca4..aa2f597b741eacca2929c0e31ee6e9fe77151d2c:/src/de/cwde/freeshisen/ShisenShoView.java diff --git a/src/de/cwde/freeshisen/ShisenShoView.java b/src/de/cwde/freeshisen/ShisenShoView.java index 3dc6ff0..6a38ffc 100644 --- a/src/de/cwde/freeshisen/ShisenShoView.java +++ b/src/de/cwde/freeshisen/ShisenShoView.java @@ -257,7 +257,7 @@ class ShisenShoView extends SurfaceView implements SurfaceHolder.Callback { try { if (canvas == null) canvas = surfaceHolder.lockCanvas(null); if (canvas == null) return; - if (cstate==StatePlay.UNINITIALIZED) initializeGame(); + if (cstate == StatePlay.UNINITIALIZED) initializeGame(); synchronized (surfaceHolder) { doDraw(canvas); } @@ -549,11 +549,12 @@ class ShisenShoView extends SurfaceView implements SurfaceHolder.Callback { if (time.compareTo(besttime2) < 0) { // score! new AlertDialog.Builder(app.activity) - .setTitle("Hiscore!") + .setTitle(R.string.hiscore_title) .setCancelable(true) .setIcon(R.drawable.icon) - .setPositiveButton(app.getString(android.R.string.ok), null) - .setMessage("You've made the highscore list!").create() // FIXME: hardcoded string + .setPositiveButton(android.R.string.ok, null) + .setMessage(R.string.hiscore_text) + .create() .show(); SharedPreferences.Editor editor = sp.edit();