Rename darkcoin resource file.

This commit is contained in:
vertoe 2015-02-16 22:43:16 +01:00
parent 9b730c7826
commit b1170309a4
12 changed files with 42 additions and 42 deletions

View File

@ -339,4 +339,4 @@ FORMS += \
../src/qt/forms/transactiondescdialog.ui ../src/qt/forms/transactiondescdialog.ui
RESOURCES += \ RESOURCES += \
../src/qt/bitcoin.qrc ../src/qt/darkcoin.qrc

View File

@ -12,7 +12,7 @@ Files and Folders
This file takes care of generating `.qm` files from `.ts` files. It is mostly This file takes care of generating `.qm` files from `.ts` files. It is mostly
automated. automated.
### src/qt/bitcoin.qrc ### src/qt/darkcoin.qrc
This file must be updated whenever a new translation is added. Please note that This file must be updated whenever a new translation is added. Please note that
files must end with `.qm`, not `.ts`. files must end with `.qm`, not `.ts`.
@ -60,7 +60,7 @@ in Transifex and can be translated.
To create the pull-request you have to do: To create the pull-request you have to do:
git add src/qt/bitcoinstrings.cpp src/qt/locale/darkcoin_en.ts git add src/qt/darkcoinstrings.cpp src/qt/locale/darkcoin_en.ts
git commit git commit
Syncing with Transifex Syncing with Transifex
@ -80,7 +80,7 @@ postprocessing steps before committing the translations.
### Fetching new translations ### Fetching new translations
1. `python contrib/devtools/update-translations.py` 1. `python contrib/devtools/update-translations.py`
2. update `src/qt/bitcoin.qrc` manually or via 2. update `src/qt/darkcoin.qrc` manually or via
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ <file alias="\2">locale\/\1.qm<\/file>/'` `ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ <file alias="\2">locale\/\1.qm<\/file>/'`
3. update `src/qt/Makefile.am` manually or via 3. update `src/qt/Makefile.am` manually or via
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ locale\/\1.ts \\/'` `ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ locale\/\1.ts \\/'`

View File

@ -118,7 +118,7 @@ QT_MOC = \
rpcconsole.moc rpcconsole.moc
QT_QRC_CPP = qrc_bitcoin.cpp QT_QRC_CPP = qrc_bitcoin.cpp
QT_QRC = bitcoin.qrc QT_QRC = darkcoin.qrc
PROTOBUF_CC = paymentrequest.pb.cc PROTOBUF_CC = paymentrequest.pb.cc
PROTOBUF_H = paymentrequest.pb.h PROTOBUF_H = paymentrequest.pb.h

View File

@ -115,11 +115,11 @@ static void initTranslations(QTranslator &qtTranslatorBase, QTranslator &qtTrans
if (qtTranslator.load("qt_" + lang_territory, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) if (qtTranslator.load("qt_" + lang_territory, QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
QApplication::installTranslator(&qtTranslator); QApplication::installTranslator(&qtTranslator);
// Load e.g. bitcoin_de.qm (shortcut "de" needs to be defined in bitcoin.qrc) // Load e.g. bitcoin_de.qm (shortcut "de" needs to be defined in darkcoin.qrc)
if (translatorBase.load(lang, ":/translations/")) if (translatorBase.load(lang, ":/translations/"))
QApplication::installTranslator(&translatorBase); QApplication::installTranslator(&translatorBase);
// Load e.g. bitcoin_de_DE.qm (shortcut "de_DE" needs to be defined in bitcoin.qrc) // Load e.g. bitcoin_de_DE.qm (shortcut "de_DE" needs to be defined in darkcoin.qrc)
if (translator.load(lang_territory, ":/translations/")) if (translator.load(lang_territory, ":/translations/"))
QApplication::installTranslator(&translator); QApplication::installTranslator(&translator);
} }

View File

@ -23,7 +23,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="../bitcoin.qrc">:/images/about</pixmap> <pixmap resource="../darkcoin.qrc">:/images/about</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -151,7 +151,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -60,7 +60,7 @@
<string>&amp;New</string> <string>&amp;New</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/add</normaloff>:/icons/add</iconset> <normaloff>:/icons/add</normaloff>:/icons/add</iconset>
</property> </property>
</widget> </widget>
@ -74,7 +74,7 @@
<string>&amp;Copy</string> <string>&amp;Copy</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset> <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
</property> </property>
</widget> </widget>
@ -88,7 +88,7 @@
<string>&amp;Delete</string> <string>&amp;Delete</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
@ -115,7 +115,7 @@
<string>&amp;Export</string> <string>&amp;Export</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/export</normaloff>:/icons/export</iconset> <normaloff>:/icons/export</normaloff>:/icons/export</iconset>
</property> </property>
</widget> </widget>
@ -138,7 +138,7 @@
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -28,7 +28,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="../bitcoin.qrc">:/images/about</pixmap> <pixmap resource="../darkcoin.qrc">:/images/about</pixmap>
</property> </property>
</widget> </widget>
</item> </item>
@ -89,7 +89,7 @@
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -141,7 +141,7 @@
<string>&amp;Request payment</string> <string>&amp;Request payment</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/receiving_addresses</normaloff>:/icons/receiving_addresses</iconset> <normaloff>:/icons/receiving_addresses</normaloff>:/icons/receiving_addresses</iconset>
</property> </property>
</widget> </widget>
@ -161,7 +161,7 @@
<string>Clear</string> <string>Clear</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
<property name="autoRepeatDelay"> <property name="autoRepeatDelay">
@ -267,7 +267,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/edit</normaloff>:/icons/edit</iconset> <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
</property> </property>
</widget> </widget>
@ -284,7 +284,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
@ -328,7 +328,7 @@
<tabstop>removeRequestButton</tabstop> <tabstop>removeRequestButton</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -401,7 +401,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -682,7 +682,7 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -671,7 +671,7 @@
<string>S&amp;end</string> <string>S&amp;end</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/send</normaloff>:/icons/send</iconset> <normaloff>:/icons/send</normaloff>:/icons/send</iconset>
</property> </property>
<property name="default"> <property name="default">
@ -694,7 +694,7 @@
<string>Clear &amp;All</string> <string>Clear &amp;All</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
<property name="autoRepeatDelay"> <property name="autoRepeatDelay">
@ -714,7 +714,7 @@
<string>Add &amp;Recipient</string> <string>Add &amp;Recipient</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/add</normaloff>:/icons/add</iconset> <normaloff>:/icons/add</normaloff>:/icons/add</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -812,7 +812,7 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -64,7 +64,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset> <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -81,7 +81,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset> <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -98,7 +98,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
@ -622,7 +622,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
@ -1158,7 +1158,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
@ -1230,7 +1230,7 @@
<tabstop>deleteButton_s</tabstop> <tabstop>deleteButton_s</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -58,7 +58,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset> <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -78,7 +78,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset> <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -134,7 +134,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset> <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -155,7 +155,7 @@
<string>Sign &amp;Message</string> <string>Sign &amp;Message</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/edit</normaloff>:/icons/edit</iconset> <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -172,7 +172,7 @@
<string>Clear &amp;All</string> <string>Clear &amp;All</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -268,7 +268,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset> <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
</property> </property>
<property name="shortcut"> <property name="shortcut">
@ -298,7 +298,7 @@
<string>Verify &amp;Message</string> <string>Verify &amp;Message</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/transaction_0</normaloff>:/icons/transaction_0</iconset> <normaloff>:/icons/transaction_0</normaloff>:/icons/transaction_0</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -315,7 +315,7 @@
<string>Clear &amp;All</string> <string>Clear &amp;All</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../darkcoin.qrc">
<normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -381,7 +381,7 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../bitcoin.qrc"/> <include location="../darkcoin.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>