summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Vas Crabb <cuavas@users.noreply.github.com>2021-10-09 12:16:17 +1100
committer GitHub <noreply@github.com>2021-10-09 12:16:17 +1100
commit38082ccbee749d650ccea886ae376a5d1dec337c (patch)
tree9ba9a900ba826bda58832834278025ced17f42f5 /makefile
parent34b3bf701098082feb9077db49987507962c1578 (diff)
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations. * frontend: Added string_view versions of the message lookup functions. * frontend: Added a few more folder options to the internal UI. * emu/softlist.cpp: Use more appropriate containers. * Switched to Python 3 by default - this will become a requirement. * Updated msgfmt.py for message context support. * frontend: Show all software item info in the internal UI. * frontend: Search alternate titles in software selection menu. * 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes). * frontend: Added software filters for common info fields. * frontend: Allow UI manager to hold onto persistent session data. * frontend: Cache software lists for eight machines. * frontend: Added support for loading localised system names. * frontend: Add UI for selecting localised system names.
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index 0090c065c8e..743816757f7 100644
--- a/makefile
+++ b/makefile
@@ -440,7 +440,7 @@ endif
endif # BIGENDIAN
ifndef PYTHON_EXECUTABLE
-PYTHON := python
+PYTHON := python3
else
PYTHON := $(PYTHON_EXECUTABLE)
endif
@@ -1915,8 +1915,10 @@ shaders: bgfx-tools
$(GENDIR)/mame.pot: FORCE
$(SILENT) echo Generating mame.pot
- $(SILENT) find src -iname "*.cpp" -print0 | xargs -0 xgettext --from-code=UTF-8 -k_ -k__ -o $@
- $(SILENT) find plugins -iname "*.lua" -print0 | xargs -0 xgettext --from-code=UTF-8 -k_ -k__ -j -o $@
+ $(SILENT) find src "(" -name "*.cpp" -o -name "*.ipp" ")" -print0 | xargs -0 \
+ xgettext -o $@ --from-code=UTF-8 --language=C++ -k_:1,1t -k_:1c,2,2t -kN_ -kN_p:1c,2
+ $(SILENT) find plugins -name "*.lua" -print0 | xargs -0 \
+ xgettext -o $@ --from-code=UTF-8 --language=Lua -k_:1,1t -k_:1c,2,2t -kN_ -kN_p:1c,2 -j
translation: $(GENDIR)/mame.pot
$(SILENT) find language -name "*.po" -print0 | xargs -0 -n 1 -I %% msgmerge -U -N %% $<