WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 20 months ago

#16515 closed defect (bug) (duplicate)

Field names of QuickEdit and QuickPress don't fit in some languages

Reported by: settle Owned by: SergeyBiryukov
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

Default strings are used in QuickPress and QuickEdit, but there is enough space only for english words. In some languages we use much longer meanings which don't fit in their area (view picture).

We can use custom css to make that area larger, but it would be easier to use different translations so translator could choose other meanings ir just translate the word in a shorter form.

I've tried to create a diff for quickpress. The same could be done with quickedit.

Attachments (3)

quickpress.png (14.0 KB) - added by settle 3 years ago.
dashboard.diff (1.5 KB) - added by settle 3 years ago.
16515.diff (983 bytes) - added by settle 2 years ago.
Make fields wider

Download all attachments as: .zip

Change History (11)

settle3 years ago

settle3 years ago

comment:1 pavelevap3 years ago

  • Cc pavelevap@… added

comment:2 nacin2 years ago

  • Milestone changed from Awaiting Review to 3.4
  • Owner set to nacin
  • Status changed from new to accepted

comment:3 SergeyBiryukov2 years ago

We should also try to adjust CSS to allow longer words here, in case a shorter one is unavailable or would make less sense.

For ru_RU, this was a problem from 2.7 to 3.1. In 3.2, the font was switched to a more narrow one, and I could get rid of custom CSS adjustments. However, I had to restore them due to CSS merge in 3.3, because the elements were shifted a bit.

comment:4 nacin2 years ago

  • Owner changed from nacin to SergeyBiryukov
  • Status changed from accepted to assigned

Good points, Sergey. Can you run with this?

comment:5 settle2 years ago

What do you think about moving these words inside the box, the same way we have "Enter title post" in class-wp-editor.php (if it is possible)?

comment:6 settle2 years ago

  • Cc kaipgis@… added
  • Summary changed from Translate QuickPress strings using _ex instead of _e to Field names of QuickEdit and QuickPress don't fit in some languages
  • Type changed from enhancement to defect (bug)
  • Version changed from 3.1 to trunk

What do you think about making QuickEdit and QuickPress fields wider? It would fix long lithuanian words problem. Also you could remove some russian CSS from the core (same problem).

Otherwise I need some lithuanian CSS in the core.
See http://core.trac.wordpress.org/ticket/19603#comment:35

settle2 years ago

Make fields wider

comment:7 nacin2 years ago

  • Milestone changed from 3.4 to Future Release

[20692] for lt_LT CSS.

Punting this. Would like to tackle it in 3.5.

comment:8 SergeyBiryukov20 months ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Severity changed from trivial to normal
  • Status changed from assigned to closed

Closing in favor of #21754.

Note: See TracTickets for help on using tickets.