Skip to content
Snippets Groups Projects
Commit c3200637 authored by Jérémy Quentin's avatar Jérémy Quentin
Browse files

Spanish translation finished + po README files updated + echo's in copy-in-clients

parent 710790c9
Branches
Tags beta/202407161514 nightly/20240716.0
No related merge requests found
If you need to update the translations files, just execute: If you need to update the translations files :
First, compile the KDE client in order to update generated c++ files (from ui files, etc).
For more details about how to compile KDE client, see the README file in sflphone-client-kde folder.
Then just execute:
./update.sh ./update.sh
in the current directory. in the current directory.
Now that the global po files are updated, you can copy them in both Gnome and KDE clients using :
If you want to do it yourself, do the following steps: ./copy-in-gnome.sh
xgettext --from-code=utf-8 --c++ --kde -ktr2i18n -ktr2i18n:2c,1 -kki18nc:1c,2 -kki18n -ki18n -ki18nc:1c,2 -o sflphone-client-kde.pot ../src/*.cpp ../src/*.h ../src/conf/*.h ../src/conf/*.cpp ../build/src/*.h ../build/src/*.cpp and
This command will update the template file with the current source files. ./copy-in-kde.sh
To be able to add strings from the ui files, and other non-c++ files which generates some c++ source, you have to first build and make the project in build directory (see the INSTALL file in root directory sflphone-client-kde).
for fichier in `find . -name *.po ` ; do msgmerge --update $fichier sflphone-client-kde.pot ; done This will replace the po files in clients with those in lang folder.
This command will update the po files in every subdirectory with the new pot file. ALL CHANGES MADE DIRECTLY IN PO FILES IN THE CLIENTS FOLDERS WILL BE LOST!
You will then be able to translate the new strings in each po file.
...@@ -2,4 +2,5 @@ for fichier in `find . -name sflphone.po ` ...@@ -2,4 +2,5 @@ for fichier in `find . -name sflphone.po `
do do
locale=`echo $fichier | cut -d / -f2` locale=`echo $fichier | cut -d / -f2`
cp $fichier ../sflphone-client-gnome/po/$locale/sflphone-client-gnome.po cp $fichier ../sflphone-client-gnome/po/$locale/sflphone-client-gnome.po
echo "$fichier copied to ../sflphone-client-gnome/po/$locale/sflphone-client-gnome.po"
done done
...@@ -2,4 +2,5 @@ for fichier in `find . -name sflphone.po ` ...@@ -2,4 +2,5 @@ for fichier in `find . -name sflphone.po `
do do
locale=`echo $fichier | cut -d / -f2` locale=`echo $fichier | cut -d / -f2`
cp $fichier ../sflphone-client-kde/po/$locale/sflphone-client-kde.po cp $fichier ../sflphone-client-kde/po/$locale/sflphone-client-kde.po
echo "$fichier copied to ../sflphone-client-kde/po/$locale/sflphone-client-kde.po"
done done
This diff is collapsed.
This diff is collapsed.
These are translation files for both Gnome and KDE clients.
If you want to update the translations, refere to the lang folder at the root directory of git repository, where the po files to edit are gathered.
DO NOT EDIT THESE PO FILES since they are to be replaced by the new ones from lang folder. All changes might be lost.
This diff is collapsed.
These are translation files for both Gnome and KDE clients.
If you want to update the translations, refere to the lang folder at the root directory of git repository, where the po files to edit are gathered.
DO NOT EDIT THESE PO FILES since they are to be replaced by the new ones from lang folder. All changes might be lost.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment