From 541cfc9925f42e0d20f8308f997cc292acd51795 Mon Sep 17 00:00:00 2001 From: eehouse Date: Sat, 24 Apr 2010 15:14:46 +0000 Subject: [PATCH] raise version to b1 and make it a constant so localized strings don't have to change each time. --- xwords4/android/XWords4/res/values-ca/strings.xml | 2 +- xwords4/android/XWords4/res/values/strings.xml | 2 +- xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java | 1 + .../XWords4/src/org/eehouse/android/xw4/XWConstants.java | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/res/values-ca/strings.xml b/xwords4/android/XWords4/res/values-ca/strings.xml index 4b524ce32..18f55494a 100644 --- a/xwords4/android/XWords4/res/values-ca/strings.xml +++ b/xwords4/android/XWords4/res/values-ca/strings.xml @@ -247,7 +247,7 @@ Diccionari: - Crosswords per a l\'Android, Versió 4.4 a1, + Crosswords per a l\'Android, Versió %s, rev %s. Copyright (C) 1998-2010 d\'Eric House. Aquest programari es troba sota la Llicència Pública General GNU. diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 4055b4130..01304c2f4 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -261,7 +261,7 @@ Dictionary: - Crosswords for Android, Version 4.4 a3, + Crosswords for Android, Version %s, rev %s. Copyright (C) 1998-2010 by Eric House. This software is released under the GNU Public diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java index c74076591..b7e465cc6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java @@ -90,6 +90,7 @@ public class Utils { final View view = factory.inflate( R.layout.about_dlg, null ); TextView vers = (TextView)view.findViewById( R.id.version_string ); vers.setText( String.format( context.getString(R.string.about_versf), + XWConstants.VERSION_STR, SvnVersion.VERS ) ); TextView xlator = (TextView)view.findViewById( R.id.about_xlator ); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWConstants.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWConstants.java index 2c8e84c90..ffc5eeb6a 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWConstants.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWConstants.java @@ -23,4 +23,5 @@ package org.eehouse.android.xw4; public interface XWConstants { public static final String GAME_EXTN = ".xwg"; public static final String DICT_EXTN = ".xwd"; + public static final String VERSION_STR = "4.4 b1"; }