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 772216 - Take advantage of Unicode
Take advantage of Unicode
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks: 772263
 
 
Reported: 2016-09-29 22:43 UTC by Piotr Drąg
Modified: 2017-12-05 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use Unicode in translatable strings (27.90 KB, patch)
2016-09-29 22:43 UTC, Piotr Drąg
none Details | Review
Use Unicode in translatable strings (27.99 KB, patch)
2017-12-05 15:35 UTC, Piotr Drąg
committed Details | Review

Description Piotr Drąg 2016-09-29 22:43:51 UTC
Created attachment 336570 [details] [review]
Use Unicode in translatable strings

Attached patches convert ASCII characters to Unicode, as recommended by <https://developer.gnome.org/hig/stable/typography.html>.
Comment 1 Tobias Mueller 2017-02-17 09:29:14 UTC
LGTM

How did you produce that patch?  If not manually, it might be worth sharing your method.
Comment 2 Piotr Drąg 2017-02-17 18:33:08 UTC
It's all manual, I'm afraid.

Thanks for the review, but the patch should wait until gdk-pixbuf-2-36 is branched.
Comment 3 Bastien Nocera 2017-12-05 09:28:46 UTC
Piotr, could you please update the patch? Half of it seems to have been applied already.
Comment 4 Piotr Drąg 2017-12-05 15:35:51 UTC
Created attachment 365033 [details] [review]
Use Unicode in translatable strings

Are you sure? Rebasing on current master makes for the same patch.
Comment 5 Bastien Nocera 2017-12-05 15:45:46 UTC
I needed to apply it by hand:

$ git bz apply https://bugzilla.gnome.org/show_bug.cgi?id=772216
Bug 772216 - Take advantage of Unicode

365033 - Use Unicode in translatable strings

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Use Unicode in translatable strings
Using index info to reconstruct a base tree...
error: patch failed: gdk-pixbuf/io-gdip-jpeg.c:51
error: gdk-pixbuf/io-gdip-jpeg.c: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Patch failed at 0001 Use Unicode in translatable strings
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem run "git bz apply --continue".
If you would prefer to skip this patch, instead run "git bz apply --skip".
To restore the original branch and stop patching run "git bz apply --abort".
Patch left in /tmp/Use-Unicode-in-translatable-strings-NmiDDE.patch
Comment 6 Bastien Nocera 2017-12-05 15:46:36 UTC
Attachment 365033 [details] pushed as 37cdb6c - Use Unicode in translatable strings