mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Rename darkcoinstrings file.
This commit is contained in:
parent
5d94fc5761
commit
91adbde525
@ -224,7 +224,7 @@ SOURCES += \
|
|||||||
../src/qt/bitcoinaddressvalidator.cpp \
|
../src/qt/bitcoinaddressvalidator.cpp \
|
||||||
../src/qt/bitcoinamountfield.cpp \
|
../src/qt/bitcoinamountfield.cpp \
|
||||||
../src/qt/bitcoingui.cpp \
|
../src/qt/bitcoingui.cpp \
|
||||||
../src/qt/bitcoinstrings.cpp \
|
../src/qt/darkcoinstrings.cpp \
|
||||||
../src/qt/bitcoinunits.cpp \
|
../src/qt/bitcoinunits.cpp \
|
||||||
../src/qt/clientmodel.cpp \
|
../src/qt/clientmodel.cpp \
|
||||||
../src/qt/coincontroldialog.cpp \
|
../src/qt/coincontroldialog.cpp \
|
||||||
|
@ -8,7 +8,7 @@ import glob
|
|||||||
import operator
|
import operator
|
||||||
import os
|
import os
|
||||||
|
|
||||||
OUT_CPP="src/qt/bitcoinstrings.cpp"
|
OUT_CPP="src/qt/darkcoinstrings.cpp"
|
||||||
EMPTY=['""']
|
EMPTY=['""']
|
||||||
|
|
||||||
def parse_po(text):
|
def parse_po(text):
|
||||||
@ -72,7 +72,7 @@ f.write("""
|
|||||||
#define UNUSED
|
#define UNUSED
|
||||||
#endif
|
#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))
|
messages.sort(key=operator.itemgetter(0))
|
||||||
for (msgid, msgstr) in messages:
|
for (msgid, msgstr) in messages:
|
||||||
if msgid != EMPTY:
|
if msgid != EMPTY:
|
||||||
|
@ -229,7 +229,7 @@ leveldb/%.a:
|
|||||||
CC="$(CC)" PLATFORM=$(TARGET_OS) AR="$(AR)" $(LEVELDB_TARGET_FLAGS) \
|
CC="$(CC)" PLATFORM=$(TARGET_OS) AR="$(AR)" $(LEVELDB_TARGET_FLAGS) \
|
||||||
OPT="$(CXXFLAGS) $(CPPFLAGS)"
|
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"
|
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
|
||||||
@cd $(top_srcdir); XGETTEXT=$(XGETTEXT) share/qt/extract_strings_qt.py
|
@cd $(top_srcdir); XGETTEXT=$(XGETTEXT) share/qt/extract_strings_qt.py
|
||||||
|
|
||||||
|
@ -325,10 +325,10 @@ QT_QM=$(QT_TS:.ts=.qm)
|
|||||||
.PHONY: FORCE
|
.PHONY: FORCE
|
||||||
.SECONDARY: $(QT_QM)
|
.SECONDARY: $(QT_QM)
|
||||||
|
|
||||||
bitcoinstrings.cpp: FORCE
|
darkcoinstrings.cpp: FORCE
|
||||||
$(MAKE) -C $(top_srcdir)/src qt/bitcoinstrings.cpp
|
$(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"
|
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
|
||||||
@QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts locale/darkcoin_en.ts
|
@QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts locale/darkcoin_en.ts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user