source: lliurex-store/trunk/fuentes/lliurex-po/generate_po.sh @ 4607

Last change on this file since 4607 was 4607, checked in by hectorgh, 4 years ago

update po generation

  • Property svn:executable set to *
File size: 565 bytes
RevLine 
[4132]1#!/bin/bash
2
[4606]3./generate_categories_po.py
[4607]4./generate_cli_errors_po.py
[4606]5
6PYTHON_FILES="../lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/*.py categories.po"
[4132]7UI_FILES="../lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/rsrc/lliurex-store.ui"
8
9mkdir -p lliurex-store/
10
11xgettext $UI_FILES $PYTHON_FILES -o lliurex-store/lliurex-store.pot
12
[4326]13#CLI Files
[4328]14mkdir -p python3-lliurex-store/
[4607]15PYTHON_FILES="../lliurex-store-cli/usr/share/lliurex-store/*.py categories.po errors.po"
[4328]16xgettext $PYTHON_FILES -o python3-lliurex-store/python3-lliurex-store.pot
[4322]17
Note: See TracBrowser for help on using the repository browser.