From 91adbde525402f30f3fe06578ca384aac6537476 Mon Sep 17 00:00:00 2001 From: vertoe Date: Mon, 16 Feb 2015 22:28:38 +0100 Subject: [PATCH] Rename darkcoinstrings file. --- contrib/darkcoin-qt.pro | 2 +- share/qt/extract_strings_qt.py | 4 ++-- src/Makefile.am | 2 +- src/qt/Makefile.am | 6 +++--- src/qt/{bitcoinstrings.cpp => darkcoinstrings.cpp} | 0 5 files changed, 7 insertions(+), 7 deletions(-) rename src/qt/{bitcoinstrings.cpp => darkcoinstrings.cpp} (100%) diff --git a/contrib/darkcoin-qt.pro b/contrib/darkcoin-qt.pro index cc7e5d5517..1971441f89 100644 --- a/contrib/darkcoin-qt.pro +++ b/contrib/darkcoin-qt.pro @@ -224,7 +224,7 @@ SOURCES += \ ../src/qt/bitcoinaddressvalidator.cpp \ ../src/qt/bitcoinamountfield.cpp \ ../src/qt/bitcoingui.cpp \ - ../src/qt/bitcoinstrings.cpp \ + ../src/qt/darkcoinstrings.cpp \ ../src/qt/bitcoinunits.cpp \ ../src/qt/clientmodel.cpp \ ../src/qt/coincontroldialog.cpp \ diff --git a/share/qt/extract_strings_qt.py b/share/qt/extract_strings_qt.py index d9cddfffd4..677a63cf75 100755 --- a/share/qt/extract_strings_qt.py +++ b/share/qt/extract_strings_qt.py @@ -8,7 +8,7 @@ import glob import operator import os -OUT_CPP="src/qt/bitcoinstrings.cpp" +OUT_CPP="src/qt/darkcoinstrings.cpp" EMPTY=['""'] def parse_po(text): @@ -72,7 +72,7 @@ f.write(""" #define UNUSED #endif """) -f.write('static const char UNUSED *bitcoin_strings[] = {\n') +f.write('static const char UNUSED *darkcoin_strings[] = {\n') messages.sort(key=operator.itemgetter(0)) for (msgid, msgstr) in messages: if msgid != EMPTY: diff --git a/src/Makefile.am b/src/Makefile.am index 37d62123b6..85aaac2b3e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -229,7 +229,7 @@ leveldb/%.a: CC="$(CC)" PLATFORM=$(TARGET_OS) AR="$(AR)" $(LEVELDB_TARGET_FLAGS) \ OPT="$(CXXFLAGS) $(CPPFLAGS)" -qt/bitcoinstrings.cpp: $(libdarkcoin_server_a_SOURCES) $(libdarkcoin_common_a_SOURCES) $(libdarkcoin_cli_a_SOURCES) +qt/darkcoinstrings.cpp: $(libdarkcoin_server_a_SOURCES) $(libdarkcoin_common_a_SOURCES) $(libdarkcoin_cli_a_SOURCES) @test -n $(XGETTEXT) || echo "xgettext is required for updating translations" @cd $(top_srcdir); XGETTEXT=$(XGETTEXT) share/qt/extract_strings_qt.py diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am index e7ab1f1e07..19d965f0a6 100644 --- a/src/qt/Makefile.am +++ b/src/qt/Makefile.am @@ -325,10 +325,10 @@ QT_QM=$(QT_TS:.ts=.qm) .PHONY: FORCE .SECONDARY: $(QT_QM) -bitcoinstrings.cpp: FORCE - $(MAKE) -C $(top_srcdir)/src qt/bitcoinstrings.cpp +darkcoinstrings.cpp: FORCE + $(MAKE) -C $(top_srcdir)/src qt/darkcoinstrings.cpp -translate: bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM) +translate: darkcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM) @test -n $(LUPDATE) || echo "lupdate is required for updating translations" @QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts locale/darkcoin_en.ts diff --git a/src/qt/bitcoinstrings.cpp b/src/qt/darkcoinstrings.cpp similarity index 100% rename from src/qt/bitcoinstrings.cpp rename to src/qt/darkcoinstrings.cpp