From 54a793f6c2e658c672f51550c1609339fd2ad97d Mon Sep 17 00:00:00 2001 From: Andy2 Date: Sat, 14 May 2011 10:25:58 -0700 Subject: [PATCH] fix to use positional params in format strings --- .../android/XWords4/res/values/strings.xml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 20b1cf946..652637b48 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -104,13 +104,13 @@ Cumulative score: %d\n New tiles: %s Passed - %s:%d + %1$s:%2$d Traded %d Lost turn Commit the current move?\n %s %s (remote) - %s (%s) + %1$s (%2$s) Bonus for using all tiles: 50\n Score for turn: %d\n @@ -140,7 +140,8 @@ Edit player Players - Players (%d local, %d off-device) + Players (%1$d local, %2$d + off-device) Lock settings Add player Shuffle players @@ -302,9 +303,8 @@ SMS (broken) Bluetooth (pending) - Device %d - connected to relay in room \"%s\". Waiting for %d - player[s]. + Device %1$d connected to relay in + room \"%2$s\". Waiting for %3$d player[s]. All players are here in room \"%s\". @@ -336,8 +336,8 @@ %d moves played - Crosswords for Android, Version %s, - rev %s. + Crosswords for Android, Version %1$s, + rev %2$s. Copyright (C) 1998-2011 by Eric House. This free/open source software is released under the GNU Public License. @@ -360,9 +360,9 @@ Unable to open game because no %s dictionary found. - Unable to open game because - dictionary %s not found. You can download a replacement or - substitute another %s dictionary. + Unable to open game because + dictionary %1$s not found. You can download a replacement or + substitute another %2$s dictionary. Password for \"%s\": @@ -392,11 +392,11 @@ Vibrate When opponent moves arrive - Fetching public rooms for - %d-player games in %s. - No public rooms - found for %d-player games in %s. Try refreshing or creating your - own. + Fetching public rooms for + %1$d-player games in %2$s. + No public rooms found for + %1$d-player games in %2$s. Try refreshing or creating your + own. Me: Not me: @@ -409,10 +409,10 @@ Check relay Games that have already connected - to the relay cannot be copied. + to the relay cannot be copied. No games found that connect via - the relay. + the relay. Checking relay for moves etc...