Opened 12 years ago
Closed 10 years ago
#27756 closed defect (bug) (fixed)
Some similar strings in TinyMCE
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.6 | Priority: | normal |
| Severity: | normal | Version: | 3.9 |
| Component: | I18N | Keywords: | has-patch |
| Focuses: | Cc: |
Description
"Align left" x "Align Left"
"Align right" x "Align Right"
"Align center" x "Align Center"
"Justify" x "Justify Text"
"Words: %s" (never used) x "Word count: %s"
I can create patch if there is not any reason to preserve all these strings.
Attachments (1)
Change History (13)
#3
@
11 years ago
I am not sure when it happened, but most of these issues are gone.
Only similar strings are "Words: %s" and "Word count: %s". And I am not sure if both are used or for the same reason...
#4
@
11 years ago
OK, I found that several duplicities were "fixed" as a side effect in [32951] (file wp-mce-help.php removed).
#6
@
11 years ago
Words: %s - Not used in WordPress, only in original TinyMCE. I am not sure if this can be somehow used by any plugin? I tried for example TinyMCE Advanced plugin and there is still only original WP string.
Word count: %s - Used in bottom line of editor (we should preserve).
And I found another duplicate. String Code is used twice (once with context) for the same purpose (button in editor). We can remove version with context or we should add context (or translators comment) for all other strings in editor. Same approach is used for "Bold", "Bulleted list", etc. in class-wp-editor.php and script-loader.php. See attached patch.
#8
@
11 years ago
Strikethrough and Deleted text (strikethrough) could be also same for same buttons for consistency.
There are also some other duplicates:
"Bold" x "Bold (Ctrl + B)", etc.
We used shortcuts for both editor and DFW before 3.9.
Related: #18125