Gtk: Update translation misc.
This commit is contained in:
parent
33d871d40e
commit
d0c45f36b1
@ -49,7 +49,7 @@ include(CheckIncludeFile)
|
||||
include(FindGettext)
|
||||
|
||||
foreach(lang es fr_FR ja pt_BR ru sr@latin uk zh_CN)
|
||||
GETTEXT_PROCESS_PO_FILES(${lang} ALL "share/locale/" PO_FILES po/${lang}.po)
|
||||
GETTEXT_PROCESS_PO_FILES(${lang} ALL PO_FILES po/${lang}.po)
|
||||
install(FILES ${CMAKE_BINARY_DIR}/${lang}.gmo
|
||||
DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES
|
||||
RENAME snes9x-gtk.mo
|
||||
|
@ -1,7 +1,7 @@
|
||||
To add a new language or update the existing ones:
|
||||
|
||||
Generate the template file:
|
||||
Change to the gtk directory and run 'xgettext -f po/POTFILES.in -o po/snes9x-gtk.pot'
|
||||
Run the shell script "updatepot.sh" or change to the gtk directory and run 'xgettext -f po/POTFILES.in -o po/snes9x-gtk.pot -kmaybegettext'.
|
||||
This will update the snes9x-gtk.pot file in this directory with the latest strings.
|
||||
|
||||
Use the program 'poedit' to use this template and create a new translation or merge the template's new strings into an existing .po file.
|
||||
|
5
gtk/po/updatepot.sh
Executable file
5
gtk/po/updatepot.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $(dirname "${0}")/..
|
||||
xgettext -f po/POTFILES.in -o po/snes9x-gtk.pot -kmaybegettext
|
||||
cd -
|
Loading…
Reference in New Issue
Block a user