Re: How to make strings fuzzy without changing them



середа, 3 червня 2020 р. 17:37:22 EEST scootergrisen via gnome-i18n написано:
I want to change "Results must:" to "Options:" or something similar in:
https://gitlab.gnome.org/GNOME/orca/-/blob/master/src/orca/orca-find.ui#L327

But at the same time i want the 2 strings "_Match case" and "Match
_entire word only" made fuzzy or cleared in the po files.

https://gitlab.gnome.org/GNOME/orca/-/blob/master/src/orca/orca-find.ui#L291
-306

So translators can have a fresh look at all three strings because i
think they might be incorrect translated with the way it is currently
written.

Thanks. For making our lives.... interesting.

I think that the easiest way is to use a PCRE in the git repo directly. 
Something like (not tested)

perl -pi -e 's!foo!\#,\ fuzzy\nfoo!' if !(/\#,\ fuzzy\n!) po/*.po

Please do not do it though if you do not want to ask how to disappear 
completely and never been found. ;)

Best regards,
Yuri




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]