Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
editor.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Aug 2013 at 14:14 UTC
Updated:
29 Jul 2014 at 22:46 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
webchickWhile I realize our general standard is to "Capitalize" all strings in the interface, in this case I actually think it would add too much visual emphasis. Not sure. Tagging for the UX team to weigh in on.
Comment #2
gábor hojtsy"Needs usability review" would be the right tag I guess.
Comment #3
wim leersIssue summary updated to refer to the issue where this was introduced: #1879120: Use Drupal-specific image and link plugins — use core dialogs rather than CKEditor dialogs, containing alterable Drupal forms.
Comment #4
wim leers#1932652: Add image uploading to WYSIWYGs through editor.module landed, now let's get this fixed.
Comment #5
Bojhan commentedI have no particular preference, how do we lead in general with placeholder text capitalization?
Comment #6
wim leers#5 can you rephrase that? I don't understand the usage of the verb "lead" in that phrase.
Comment #7
Bojhan commentedAs in, what do we commonly use with or without capital?
Comment #8
longwaveThe only core uses of #placeholder at present are:
So we do not have any existing one-word examples other than this and a test module.
I agree with webchick that lowercase seems more aesthetically pleasing and less visually prominent here.
Comment #9
Bojhan commentedOk, then I think we have a decision, no uppercase.
Comment #10
tstoecklerOK, thanks!
Now we now what to do: Simply add a t() around the existing strings.
Comment #11
pameeela commentedPatch attached, should the field suffix 'pixels' also get translated?
As well should there be another issue to add it to these, based on #8:
Comment #12
pameeela commentedComment #14
wim leers#11: translate-placeholder-2067119-11.patch queued for re-testing.
Comment #15
wim leersYes, the "pixels" suffix should also be translated.
Thanks so much pameeela for pushing this forward!
(Queued for retesting because it was probably a random failure.)
Comment #16
longwaveLet's translate editor.admin.inc at the same time, as the code is almost identical. This patch adds that and also translates the 'pixels' suffix.
Comment #17
pameeela commentedShould it be $this->t() or does t() suffice? May not make a difference but thought I'd check.
If no difference then this is good for RTBC.
Comment #18
longwaveeditor.admin.inc is a procedural file and $this is not available, so we use plain old t() there.
Comment #19
wim leersYay, thanks :)
Comment #20
wim leers#16: 2067119-translate-image-placeholders-16.patch queued for re-testing.
Comment #21
webchickCommitted and pushed to 8.x. Thanks!
Comment #22.0
(not verified) commentedUpdated issue summary.