Closed (duplicate)
Project:
Localization server
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2010 at 21:36 UTC
Updated:
26 Jun 2010 at 08:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyI'd love if you could help figure this out :) The markup is this:
So we have a progress wrapper with a translated and untranslated portion. The CSS looks like this:
So we have a radius on all corners of the background and a left radius on the translated and untranslated items. So unless you are close to 100% complete, this looks like a "pill" getting filled in. The right end of the translated one is not set with a radius, since that would end up looking like a rounded progress marker in a rounded box. Is that better?
Ps. agreed this is minor but since you've reported it... :)
Comment #2
gábor hojtsyOk, maybe this looks better (with radius on all borders of the translated string), agreed?
Comment #3
tstoecklerYeah, I had done that in Firebug as well.
Could you point me place the width gets dynamically set depending on the translation status? I would code a little patch which checks for "width = 100%" and adds the border-radius on the right side then conditionally. I think that still looks best.
Comment #4
gábor hojtsyWell, the reason I did not do that is if the completeness is 99%, the no-radius border would still cover most of the radius background. So its not really easy to tell when exactly it covers the end, unless we can define the exact length of the progress bar, which we cannot due to it being flexible in the table cell.
Comment #5
gábor hojtsyOk, I'd apply the border radius on all corners as in the above image. Including in #798192: l10n_community rtl css files, since it was related to RTL styles.
Comment #6
tstoecklerSince I started such a stupid issue, I felt obligated to contribute something useful. :)
Here's a patch, which rolls back the border radius on all corners from #798192: l10n_community rtl css files (but with RTL styling), and adds a CSS class 'l10n-community-progress-completed' for translations which have a translation percentage of 100%. This CSS class, is then styled to have border radius on all four corners.
Untested, because I had no data to try it out with, but the module installed without errors at least.
I don't really care if you set this back to duplicate if you don't care enough about this, but now I can sleep better :)
Comment #7
droplet commentedhow about 97% ~ 99% ?
Comment #8
gábor hojtsyYeah... As I've said, its a relative thing also depending on the length of the progress bar. I think the 'pill' looks of the #2 image are ok.