aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-02-01 07:28:32 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-02-01 08:52:01 +0100
commit8823b4ac3b585306bfdbfd2fc1f37f50552881ac (patch)
treeffd4532bded4db49f4994deab56c350b01a42441 /src/qt/forms
parent5b989722be0e090e63608399468a902b76cc13dd (diff)
Bitcoin-Qt: better copyright year handling in AboutDialog
- this change allows us to keep the translation without the need to re-translate any string, when we update the copyright year - copyright symbol is changed to HTML to ensure we get no encoding issues and it's removed from the translation string so translators don't break it by mistake
Diffstat (limited to 'src/qt/forms')
-rw-r--r--src/qt/forms/aboutdialog.ui5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/forms/aboutdialog.ui b/src/qt/forms/aboutdialog.ui
index b59c2445de..80768f89b0 100644
--- a/src/qt/forms/aboutdialog.ui
+++ b/src/qt/forms/aboutdialog.ui
@@ -91,7 +91,10 @@
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="text">
- <string>Copyright © 2009-2012 The Bitcoin developers</string>
+ <string notr="true">Copyright &amp;copy; 2009-YYYY The Bitcoin developers</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>