From 5e7982a31b502d1e08133e640fd01c64a8a2e1f1 Mon Sep 17 00:00:00 2001
From: Jesse Vincent
Date: Fri, 28 Jan 2011 18:30:35 +0000
Subject: [PATCH] first pass at a better about box
---
res/values/strings.xml | 2 ++
src/com/fsck/k9/activity/Accounts.java | 9 ++++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 55f71187e..befedca55 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3,6 +3,8 @@
K-9 Mail
K-9 Mail BETA
Google, The K-9 Dog Walkers.
+ Copyright 2008-%s The K-9 Dog Walkers. Portions Copyright 2006-%s the Android Open Source Project.
+ Licensed under the Apache License, Version 2.0.
Authors: %s
http://code.google.com/p/k9mail/wiki/ReleaseNotes
Revision Information: %s
diff --git a/src/com/fsck/k9/activity/Accounts.java b/src/com/fsck/k9/activity/Accounts.java
index ca8cdbe66..bd0fd14bd 100644
--- a/src/com/fsck/k9/activity/Accounts.java
+++ b/src/com/fsck/k9/activity/Accounts.java
@@ -824,6 +824,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
String appName = getString(R.string.app_name);
WebView wv = new WebView(this);
String html = "" +
+ "" +
"" + String.format(getString(R.string.about_title_fmt),
"" + appName + "") + "
" +
"" + appName + " " +
@@ -833,7 +834,13 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
getString(R.string.app_authors)) + "
" +
"" + String.format(getString(R.string.app_revision_fmt),
"" +
- getString(R.string.app_revision_url) + "
");
+ getString(R.string.app_revision_url) + "
" +
+ "
" + String.format(getString(R.string.app_copyright_fmt), "2011","2011")+ "
" +
+ "
" + getString(R.string.app_license) + "
"
+
+
+
+ );
wv.loadData(html, "text/html", "utf-8");
new AlertDialog.Builder(this)
.setView(wv)