1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/bin/bash
# Howto translate the program to your own language:
# Run this command first to make the initial template.
xgettext --no-location -k_:1 -kN_:1 -o gadmin-openvpn-client.pot ../src/*.c
# Copy the resulting gadmin-openvpn-client.pot as yourlang.po in the current directory.
# General information:
# Try to make the translated lines about as long as the english lines
# (on some places it might otherwise expand the application too much).
# You dont have to translate all the country names from the credits dialog
# if you dont want to.
# Now translate yourlang.po in utf-8 with gedit or so and
# set it to the correct language, charcode and email in the .po file.
# (All the upper case names should be changed in the header).
# If you have written the translation in gedit (utf8) .. then use
# CHARCODE=utf-8
# Now add your language to ALL_LINGUAS="sv en dk" in configure.in then
# run autoconf.
# Install it and check the result.
# If the result looks good then send me the .po file.
|