From kde-i18n-doc Fri Oct 30 11:36:26 2009 From: Yukiko Bando Date: Fri, 30 Oct 2009 11:36:26 +0000 To: kde-i18n-doc Subject: Re: How to represent variable-length messages Message-Id: <200910302036.26351.ybando () k6 ! dion ! ne ! jp> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=125690241530804 Hello, Chusslove Illich wrote: > Since recently Qt has the capability to dynamically choose a widget > text _from a set of strings of different lengths, so that it best fits > the current UI width. For example, if the default label is "Drop the > file here" and the shorter variant "Drop here", as soon as the user > squeezes UI such that "Drop the file here" doesn't fit any more, > engine will switch to "Drop here". It sounds interesting but I have a concern: What will happen if the default label is translated but the shorter version is not, or vice versa, especially if you go for multiple messages? Is Qt clever enough to keep the translated one in such cases? :) Yukiko