mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +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/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 \
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user