add new keywords to po/genpot.sh, comment both scripts, and add "Id" lines
svn: r22182
This commit is contained in:
parent
fb22b83f14
commit
757a6a721b
@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Make translation files (keywords issues, see bug #6595)
|
||||
# intltool-update -g gramps -o gramps.pot -p
|
||||
# $Id$
|
||||
|
||||
# Make translation files
|
||||
|
||||
# additional keywords must always be kept in sync with those in update_po.py
|
||||
XGETTEXT_ARGS='--keyword=_T_ --keyword=trans_text_ --keyword=_ngettext' \
|
||||
intltool-update -g gramps -o gramps.pot -p
|
||||
|
@ -20,6 +20,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# $Id$
|
||||
|
||||
"""
|
||||
update_po.py for Gramps translations.
|
||||
@ -576,6 +578,7 @@ def retrieve():
|
||||
create_filesfile()
|
||||
listing('python.txt', ['.py', '.py.in'])
|
||||
|
||||
# additional keywords must always be kept in sync with those in genpot.sh
|
||||
os.system('''%(xgettext)s -j --directory=./ -d gramps '''
|
||||
'''-L Python -o gramps.pot --files-from=python.txt '''
|
||||
'''--keyword=_ --keyword=ngettext '''
|
||||
|
Loading…
Reference in New Issue
Block a user