mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-13 20:48:02 +01:00
add build timestamp to about dialog (needs better formatting)
This commit is contained in:
parent
ea6da8cd74
commit
80c3374728
3 changed files with 4 additions and 2 deletions
|
@ -1757,7 +1757,7 @@
|
||||||
-->
|
-->
|
||||||
<!-- String giving version info, which is substituted in. -->
|
<!-- String giving version info, which is substituted in. -->
|
||||||
<string name="about_versf">Crosswords for Android, Version %1$s,
|
<string name="about_versf">Crosswords for Android, Version %1$s,
|
||||||
rev %2$s.</string>
|
rev %2$s, built on %3$s.</string>
|
||||||
<!-- copyright info -->
|
<!-- copyright info -->
|
||||||
<string name="about_copyright">Copyright (C) 1998-2014 by Eric
|
<string name="about_copyright">Copyright (C) 1998-2014 by Eric
|
||||||
House. This free/open source software is released under the GNU Public
|
House. This free/open source software is released under the GNU Public
|
||||||
|
|
|
@ -330,7 +330,8 @@ public class DlgDelegate {
|
||||||
TextView vers = (TextView)view.findViewById( R.id.version_string );
|
TextView vers = (TextView)view.findViewById( R.id.version_string );
|
||||||
vers.setText( String.format( m_activity.getString(R.string.about_versf),
|
vers.setText( String.format( m_activity.getString(R.string.about_versf),
|
||||||
m_activity.getString(R.string.app_version),
|
m_activity.getString(R.string.app_version),
|
||||||
BuildConstants.GIT_REV ) );
|
BuildConstants.GIT_REV,
|
||||||
|
BuildConstants.BUILD_STAMP ) );
|
||||||
|
|
||||||
TextView xlator = (TextView)view.findViewById( R.id.about_xlator );
|
TextView xlator = (TextView)view.findViewById( R.id.about_xlator );
|
||||||
String str = m_activity.getString( R.string.xlator );
|
String str = m_activity.getString( R.string.xlator );
|
||||||
|
|
|
@ -37,6 +37,7 @@ class BuildConstants {
|
||||||
public static final short CLIENT_VERS_RELAY = $CLIENT_VERS_RELAY;
|
public static final short CLIENT_VERS_RELAY = $CLIENT_VERS_RELAY;
|
||||||
public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;
|
public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;
|
||||||
public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED;
|
public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED;
|
||||||
|
public static final String BUILD_STAMP = "$(date)";
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue