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

svn: r22183
This commit is contained in:
Paul Franklin 2013-05-05 19:41:13 +00:00
parent 9cddf824a2
commit b2b693ae19
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 '''