paru icon indicating copy to clipboard operation
paru copied to clipboard

Some strings are not printed translated

Open juxuanu opened this issue 3 years ago • 3 comments

Affected Version

paru -V paru v1.11.1 - libalpm v13.0.1

Description

I recently submitted an updated Catalan translation (https://github.com/Morganamilo/paru/pull/788) and one of the many strings updated was https://github.com/Morganamilo/paru/blob/cbb212ae0e68613f5fcf9786d218843976455902/po/ca.po#L1091, but the English string is still printed after updating.

Output

❯ echo $LANG                                               
ca_ES.UTF-8

~ 
❯ echo $LANGUAGE 
ca_ES:es_ES:en_US

~ 
❯ paru   
no hi ha notícies noves
:: Se sincronitzen les bases de dades dels paquets...
 testing està al dia.
 community-testing està al dia.
 multilib-testing està al dia.
 core està al dia.
 extra està al dia.
 community està al dia.
 multilib està al dia.
 chaotic-aur està al dia.
 gnome-unstable està al dia.
:: S'inicia una actualització completa del sistema...
Avís: gvfs: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-afc: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-goa: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-google: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-gphoto2: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-mtp: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-nfs: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
Avís: gvfs-smb: s'ha ignorat l'actualització del paquet (1.48.1-3 => 1.50.2-1).
 No hi ha res per fer.
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: marcat com a no actualitzat: wat-git
 No hi ha res a fer

As you can see, many strings show correctly, some don't.

juxuanu avatar Jul 08 '22 15:07 juxuanu

I'm not very familiar with all the gnu gettext stuff but the fuzzy line above seems to make it not translate.

Morganamilo avatar Jul 08 '22 15:07 Morganamilo

Looking at the results of merging. I think it adds fuzzy when the translation changes but is still similar. So a translator can see if it still fits/adjust it.

Morganamilo avatar Nov 23 '22 00:11 Morganamilo

I think I addressed this issue at #907

juxuanu avatar Dec 08 '22 00:12 juxuanu