Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#8955 closed task (fixed)

Add more Tails resources to Transifex (desktop files)

Reported by: WinterFairy Owned by: runa
Priority: Medium Milestone:
Component: Community/Translations Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We at Tails would want (if possible) to have the following .desktop files added to Transifex.
The ones from the amnesia.git repo should be from the devel-branch (the links below does that).

Decided in: https://mailman.boum.org/pipermail/tails-l10n/2013-May/000561.html

--

tails-reboot.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/usr/share/applications/tails-reboot.desktop;hb=refs/heads/devel

tails-shutdown.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/usr/share/applications/tails-shutdown.desktop;hb=refs/heads/devel

unsafe-browser.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/usr/share/applications/unsafe-browser.desktop;hb=refs/heads/devel

i2p.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/usr/share/applications/i2p.desktop;hb=refs/heads/devel

Report_a_Bug.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/etc/skel/Desktop/Report_a_Bug.desktop;hb=refs/heads/devel

TAILS documentation.desktop
http://git.immerda.ch/?p=amnesia.git;a=blob_plain;f=config/chroot_local-includes/etc/skel/Desktop/TAILS+documentation.desktop;hb=refs/heads/devel

--

tails-persistence-delete.desktop
http://git.immerda.ch/?p=tails/persistence-setup.git;a=blob_plain;f=share/applications/tails-persistence-delete.desktop;hb=refs/heads/master

tails-persistence-setup.desktop
http://git.immerda.ch/?p=tails/persistence-setup.git;a=blob_plain;f=share/applications/tails-persistence-setup.desktop;hb=refs/heads/master

liveusb-creator-launcher.desktop
http://git.immerda.ch/?p=tails/liveusb-creator.git;a=blob_plain;f=data/liveusb-creator-launcher.desktop;hb=refs/heads/master

whisperback.desktop
http://git.immerda.ch/?p=whisperback.git;a=blob_plain;f=data/whisperback.desktop;hb=refs/heads/master

Child Tickets

Change History (9)

comment:1 Changed 6 years ago by runa

This, plus #8953, is a lot of resources. Maybe we should create a Tails project page on Transifex and keep Tor and Tails resources separate? I can set up and manage that page, but will need at least one Tails dev to be a co-admin on the page.

comment:2 in reply to:  1 Changed 6 years ago by rransom

Replying to runa:

This, plus #8953, is a lot of resources.

tails-reboot.desktop contains only two translatable strings; I would expect each of the other files on this page to be equally small. These files' strings should be merged into a single .pot file.

(#8953 may still justify a separate Transifex project for Tails.)

comment:3 Changed 6 years ago by runa

WinterFairy: would it be possible to merge files so that we have a few files with lots of strings instead of lots of files with a few strings? If not, can we create a separate Transifex project page for Tails?

comment:4 Changed 6 years ago by lunar

GNOME intltool can manage .desktop file translations. The switch can be done by running:

intltool-prepare
cd po
mv fr.po fr_FR.po
intltool-update -x --pot --gettext-package=tails
for lang in *.po; do intltool-update --dist --gettext-package=tails ${lang%.po}; done

Updates to .desktop files are then propaged by running something like:

grep '[^ #]*\.desktop\.in$' po/POTFILES.in | while read file; do
    intltool-merge --desktop --utf8 po "$file" "${file%.in}"
done

Hope that helps.

comment:5 Changed 6 years ago by T(A)ILS developers

All the custom programs and desktop launchers from our main Git are now merged into a single POT using intltool. Here it is:

http://git.tails.boum.org/tails/plain/po/tails.pot?h=devel

Now, can we have this resource added to Transifex? Then all Tails could be translated through there, and that's a single extra resource for you.

comment:6 Changed 6 years ago by runa

Done. I have created the branches "tails-desktop-files" and "tails-desktop-files_complete" in the translations.git repository.

comment:7 Changed 6 years ago by runa

Resolution: fixed
Status: newclosed

comment:8 Changed 6 years ago by WinterFairy

As mentioned in #8953 we have some existing translations.
They are in: http://git.tails.boum.org/tails/tree/po/?h=devel

The Swedish one I already uploaded and updated just now, maybe a bit early :/

comment:9 Changed 3 years ago by isabela

Component: User Experience/TranslationsCommunity/Translations
Note: See TracTickets for help on using tickets.