1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 09:56:35 +01:00

Add localization system (gettext)

This commit is contained in:
Ansa89
2015-05-25 16:38:52 +02:00
committed by cnhenry
parent 0a2ad23c15
commit 737d29864b
7 changed files with 36 additions and 24 deletions

View File

@@ -1,4 +1,12 @@
#!/bin/bash
cd $(dirname $0)/..
xgettext -d toxic -o toxic.pot ../src/*
v=$(grep TOXIC_VERSION ../cfg/global_vars.mk | head -1 | cut -d "=" -f 2 | tr -d " ")
xgettext --default-domain="toxic" \
--from-code="UTF-8" \
--copyright-holder="Toxic Team" \
--msgid-bugs-address="JFreegman@tox.im" \
--package-name="Toxic" \
--package-version="$v" \
--output="toxic.pot" \
../src/*