add new keywords to po/genpot.sh, comment both scripts, and add "Id" lines

svn: r22182
This commit is contained in:
Paul Franklin 2013-05-05 19:40:56 +00:00
parent fb22b83f14
commit 757a6a721b
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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 '''