owncloud/core — pull request #1574 by jancborchardt (2013-02-09 16:27:59+00:00)
Title: Installation label overflow, fix #871

My overzealous and stupid 2 month younger self said:
»Yeah, the text size of overflowing labels should automatically be decreased in these cases so the label fits the input field. Probably doable via JS, maybe there’s even a library for that.«

Of course! Well, December 2012 Jan, instead of attempting wizardry or pulling in yet. another. JS. library, I just fixed the damn problem, which is the labels overflowing, which didn’t look good.

Now granted, this also cuts it off for languages such as French (as in the original issue) and Spanish (as I use myself), but that is the less important part (»database«) which gets cut off. And I’d say since there is a header called »Configure the database«, or »Configurar la base de datos« respectively, probably the labels in there should also just be translated as »Username« and »Password« in those languages where it overflows.

If there’s any objections to that, I would recommend thumbs downing this pull request, and opine that a little overflow of the labels in languages where these two expressions are long in a way which leads to aforementioned overflow, isn’t that bad. But an attempt to fix it anywhere else than in the translations will be either a hack, have edge-cases or just be damn hard to maintain because it probably requires a library which might already have been dropped by its creator long ago.

As a bonus, I fixed a small style issue which made that group of database input fields have 2 thicker dividers, which looked ugly.

Hold your votes @eMerzh @karlitschek @DeepDiver1975