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

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

update po generation

  • Property svn:executable set to *
File size: 565 bytes
Line 
1#!/bin/bash
2
3./generate_categories_po.py
4./generate_cli_errors_po.py
5
6PYTHON_FILES="../lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/*.py categories.po"
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
13#CLI Files
14mkdir -p python3-lliurex-store/
15PYTHON_FILES="../lliurex-store-cli/usr/share/lliurex-store/*.py categories.po errors.po"
16xgettext $PYTHON_FILES -o python3-lliurex-store/python3-lliurex-store.pot
17
Note: See TracBrowser for help on using the repository browser.