After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643995 - Wrong rendering of accent over 'i' in some strings; Spanish translation
Wrong rendering of accent over 'i' in some strings; Spanish translation
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Spanish [es]
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-es-list@gnome.org
gnome-es-list@gnome.org
Depends on:
Blocks:
 
 
Reported: 2011-03-06 03:22 UTC by Iván Jiménez
Modified: 2011-03-10 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
misrendered i in g-c-c's shell (71.08 KB, image/png)
2011-03-06 03:22 UTC, Iván Jiménez
  Details
patch against gnome-control-center.master.es.po (889 bytes, patch)
2011-03-06 03:27 UTC, Iván Jiménez
none Details | Review
gnome-control-center po files (fixed and original) (78.38 KB, application/x-gzip)
2011-03-07 09:27 UTC, Daniel Mustieles
  Details

Description Iván Jiménez 2011-03-06 03:22:32 UTC
Created attachment 182591 [details]
misrendered i in g-c-c's shell

Description of problem:
When using a Spanish locale, the rendering of acute accented letter 'i' in some strings is wrong because it simultaneously shows the accent mark and the dot, e.g. in words "Energía" (Power) and "extraíble" (removable). I'll attach a screeshoot of gnome-control-center-2.91.90 on Fedora 15 to show the problem.

The problem is in the po file for es, because I can fix it with:
- edited it deleting the problematic 'í' and writing them again with gedit
- generate messages.mo with msgfmt -cv
- mv messages.mo /usr/share/locale/es/LC_MESSAGES/gnome-control-center-2.0.mo

I'll attach a patch with my changes, however I don't know what the problem is, so maybe it's better to replace all occurrences of 'i'.
Comment 1 Iván Jiménez 2011-03-06 03:27:32 UTC
Created attachment 182592 [details] [review]
patch against gnome-control-center.master.es.po

Proposed patch, but I didn't replace all strings with 'í', just the ones I could see were misrendered.
Comment 2 Christian Persch 2011-03-06 13:05:44 UTC
What font is that, Cantarell? It's a font bug if it doesn't correctly do combining accents.
Comment 3 Iván Jiménez 2011-03-06 20:14:46 UTC
(In reply to comment #2)
> What font is that, Cantarell? It's a font bug if it doesn't correctly do
> combining accents.

Yes, it's Cantarell, but I don't think it's a font bug because:
- it doesn't happen to all accented 'i' (as showed in the screenshot, see "mensajería") and it only happens in g-c-c
- if I search with less in the po file for the string "Energia" (without accent) it matches the accented "Energía", same for other misrendered 'í'
- it's fixed by replacing with gedit the problematic 'í'

On the other hand, it doesn't happen with DejaVu Sans.
Comment 4 Jorge González 2011-03-06 22:29:38 UTC
Could you please attach a screenshot?

Thanks!
Comment 5 Benjamín Valero Espinosa 2011-03-07 08:37:37 UTC
Looking into the PO [1], I found this:

#: ../panels/media/gnome-media-panel.desktop.in.in.h:2
msgid "Removable Media"
msgstr "Soporte extraíble"

so I suppose the patch actually solves the problem. No idea about why it has worked as far.

[1] http://l10n.gnome.org/POT/gnome-control-center.master/gnome-control-center.master.es.po
Comment 6 Daniel Mustieles 2011-03-07 09:10:15 UTC
Its very strange... if i search "Energia" in the .po file with gTranslator, it can't find the string, but using Firefox to search the same string, it works :-S

It don't understand anything :-(
Comment 7 Jorge González 2011-03-07 09:14:37 UTC
Sorry, I didn't see the screenshot attached. Anyway, please add as many screenshots as you consider whenever you find another problem like this.

This might be related with the accent problem we had not very long ago, the accents were wrongly rended in some files. I'm afraid we should check the whole GNOME 3.0 platform looking for this :(
Comment 8 Daniel Mustieles 2011-03-07 09:26:30 UTC
I have fixed manually all strings with "í" (using gTranslator). Using Meld I
have seen than not all the strings I've changed had errors.

I attach the original .po file (actually hosted in git) and the fixed version.
I will push the fixed file this afternoon
Comment 9 Daniel Mustieles 2011-03-07 09:27:57 UTC
Created attachment 182683 [details]
gnome-control-center po files (fixed and original)
Comment 10 Daniel Mustieles 2011-03-07 18:29:57 UTC
I have updated the fixed PO file in git.

Could you please try if the bug persists with this new PO file?

Many thanks
Comment 11 Iván Jiménez 2011-03-10 02:51:49 UTC
(In reply to comment #10)
> I have updated the fixed PO file in git.
> 
> Could you please try if the bug persists with this new PO file?
> 
> Many thanks

It's fixed, thanks! I tested it with gnome-control-center-2.91.91 in f15. By the way, could you please look at bug 643998, I changed the product and component, but I can't change the Assigned to field.
Comment 12 Daniel Mustieles 2011-03-10 09:59:08 UTC
I've added a comment in the bug #643998. I will upload the fixed PO file today.

Could you please close this bug? You can also close the bug #643998 (set the status to "Confirmed - Fixed)

Many thanks for your bug report!