Opened 15 years ago
Closed 14 years ago
#17431 closed defect (bug) (fixed)
"show on screen" appears twice
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.4 | Priority: | normal |
| Severity: | normal | Version: | 3.1 |
| Component: | UI | Keywords: | has-patch |
| Focuses: | Cc: |
Description
see images attached
Attachments (7)
Change History (29)
#1
@
15 years ago
- Keywords needs-patch added; ui-feedback removed
- Milestone changed from Awaiting Review to 3.2
#3
@
15 years ago
It also affects the comments and the plugins screens. The text is the same, but it is given context for translation:
<h5><?php _ex('Show on screen', 'Metaboxes') ?></h5>
...
<h5><?php _ex('Show on screen', 'Screen Options') ?></h5>
I'm honestly not sure if this one is valid. I suppose we could come up with different text like "Number per page", but I'm not sure it's really a problem the way it is.
#4
@
15 years ago
If the text is the same in both cases, then it's not descriptive enough.
We either make it more descriptive or only show it once.
#5
follow-up:
↓ 9
@
15 years ago
I'm sure we have fixed a similar bug in the past.
Maybe something has returned :(
#8
@
15 years ago
If you take a closer look at the patch, you will see that there's a different string for columns.
#10
@
15 years ago
Oh yeah now I remember.
This code is so ghetto and fragile and just needs a rewrite from scratch with a proper api so it doesn't do wierd stuff :(
#13
@
15 years ago
Re 17431.2.diff: what typo?
#15
@
15 years ago
Ah, finally managed to see it, on line 1793.
Note that the new patch, on line 1766, has an extra space after : and another one at EOL.
#18
@
15 years ago
Best would be to gather all the output HTML in a var and if not empty output "Show on screen" followed by the rest of the HTML.
Confirmed.