Remmina - The GTK+ Remote Desktop Client  v1.4.33
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
Update-gettext-messages.md
Go to the documentation of this file.
1 This is a quick, dirty and no brainy procedure to update the PO files in Remmina.
2 
3 Please wait 10 seconds before copying and pasting it in the terminal.
4 
5 ```bash
6 REMMINATOP=~/remmina_devel/Remmina
7 cd $REMMINATOP
8 find src plugins -name "*.c" | sed 's/^.\///' >| po/POTFILES.in
9 find data -name "*.glade" | sed 's/^.\///' >> po/POTFILES.in
10 find data -name "*.appdata.xml" | sed 's/^.\///' >> po/POTFILES.in
11 xgettext --from-code=UTF-8 -k_ -kN_ -ktranslatable --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments --files-from=po/POTFILES.in --output=po/messages.pot --copyright-holder="2014–2020 Weblate translators" --package-name="Remmina" --package-version="1.2.31" --msgid-bugs-address="admin@remmina.org"
12 cd $REMMINATOP/po
13 for i in *.po; do
14 msgmerge -N --backup=off --update $i messages.pot
15 done
16 for i in $REMMINATOP/po/*.po ; do
17 TMPF=/tmp/f$$.txt
18 sed '/^#~/d' $i > $TMPF
19 awk 'BEGIN{bl=0}/^$/{bl++;if(bl==1)print;else next}/^..*$/{bl=0;print}' $TMPF >| $i
20 rm $TMPF
21 done
22 rm *.po~
23 rm messages.pot
24 
25 ```
26 
27 To test Remmina in another language, you can start it from the commandline this way:
28 
29 ```bash
30 LANGUAGE=ru remmina
31 ```