From: Solomon P. <pi...@sh...> - 2019-12-05 16:34:07
|
On Wed, Dec 04, 2019 at 08:08:48AM -0500, Robert Krawitz wrote: > I saw. I discussed it with the Russian team, but it's not very > apparent why it looks like only the Russian translation has this > problem, or why it's happening at all. So far I've found four strings that trigger errors, because their UTF-8 character sequences take up over 80 bytes: Japanese Western-style envelope #4 landscape (50c/88b) Japanese Western-style envelope #6 landscape (50c/88b) Shrink (print the whole page) (47c/88b) Expand (use maximum page area) (61c/115b) IMO the most prudent path forwared is to ask the translators to shrink these down under 80 bytes. I don't know if it's worth writing a test to scrub the translations for max length, as these limits only apply to stuff that land in PPD files, and the existing PPD tests catch them (albeit ineffeciently). I've opened a CUPS bug ticket to ask about the feasiblity of rasing the limit to something larger than 80 bytes, but that won't help with existing CUPS deployments... - Solomon -- Solomon Peachy pizza at shaftnet dot org High Springs, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |