{"id":6240,"date":"2020-04-09T18:36:58","date_gmt":"2020-04-09T15:36:58","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=6240"},"modified":"2020-04-09T18:36:58","modified_gmt":"2020-04-09T15:36:58","slug":"keyboard-shortcut-restoring-shortcut-cut-short-when-localized","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2020\/04\/09\/keyboard-shortcut-restoring-shortcut-cut-short-when-localized\/","title":{"rendered":"Keyboard shortcut restoring shortcut cut short when localized"},"content":{"rendered":"<p>When trying to start a virtual machine with Gnome Boxes, I get a prompt about keyboard shortcuts. The prompt text is localized, but translated back to English (I think, based on [1]) it says:<\/p>\n<p>    Boxes wants to inhibit shortcuts<\/p>\n<p>    You can restore shortcuts by pressing Super+Escape.<\/p>\n<p>In my locale (Finnish), it says<\/p>\n<p>    Sovellus Boksit haluaa rajoittaa pikan\u00e4pp\u00e4inten toimintaa.<\/p>\n<p>    Voit palauttaa pikan\u00e4pp\u00e4inten toiminnan painamalla Super&#8230;<\/p>\n<p>(sic; see attached photo)<\/p>\n<p>So the actual key combination is truncated, defeating the point of that part of the text.<\/p>\n<p>This isn&#8217;t a localization error (AFAICT; see [2]). It&#8217;s caused by the text being forced to fit on a single line of an arbitrarily fixed width, instead of wrapping to span as many lines as needed.<\/p>\n<p>(I&#8217;m reporting this against gnome-shell as opposed gnome-boxes based on [3]. Feel free to reassign as necessary.)<\/p>\n<p>* [1] https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=874526#28<br \/>\n* [2] https:\/\/translations.launchpad.net\/ubuntu\/focal\/+source\/gnome-shell\/+pots\/gnome-shell\/fi\/+translate?batch=10&amp;show=all&amp;search=pikan%C3%A4pp%C3%A4inten<br \/>\n* [3] https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=1668036<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gnome Boxes&#8217; prompt about keyboard shortcuts inhibition is truncated, defeating the point of the prompt text. This isn&#8217;t a localization error.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[3406],"class_list":["post-6240","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-gnome","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=6240"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6240\/revisions"}],"predecessor-version":[{"id":6242,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6240\/revisions\/6242"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}