mirror of https://github.com/snes9xgit/snes9x.git
commit
91b08bfeb7
|
@ -49,7 +49,7 @@ include(CheckIncludeFile)
|
||||||
include(FindGettext)
|
include(FindGettext)
|
||||||
|
|
||||||
# Add any new language to this foreach loop
|
# Add any new language to this foreach loop
|
||||||
foreach(lang es fr_FR ja pl pt_BR ru sr@latin uk zh_CN)
|
foreach(lang de es fr_FR ja pl pt_BR ru sr@latin uk zh_CN)
|
||||||
GETTEXT_PROCESS_PO_FILES(${lang} ALL PO_FILES po/${lang}.po)
|
GETTEXT_PROCESS_PO_FILES(${lang} ALL PO_FILES po/${lang}.po)
|
||||||
install(FILES ${CMAKE_BINARY_DIR}/${lang}.gmo
|
install(FILES ${CMAKE_BINARY_DIR}/${lang}.gmo
|
||||||
DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES
|
DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd $(dirname "${0}")/..
|
cd $(dirname "${0}")/..
|
||||||
xgettext -f po/POTFILES.in --from-code=UTF-8 -o po/snes9x-gtk.pot -kmaybegettext -k_
|
xgettext -f po/POTFILES.in \
|
||||||
|
--from-code 'UTF-8' --package-name 'Snes9x' \
|
||||||
|
--copyright-holder 'Brandon Wright and Snes9x contributors' \
|
||||||
|
--msgid-bugs-address 'https://github.com/snes9xgit/snes9x/issues' \
|
||||||
|
-w 80 -o po/snes9x-gtk.pot -kmaybegettext -k_
|
||||||
cd -
|
cd -
|
||||||
|
|
Loading…
Reference in New Issue