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:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user