Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Apr 2014 at 10:26 UTC
Updated:
9 Jun 2015 at 17:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottComment #2
Gaelan commented1: 2236553.1.patch queued for re-testing.
Comment #4
Gaelan commentedAmerican English: synchronisation → synchronization
Typo: synchronsaiotn → synchronization
Usability-wise, I would recommend something more like "Hey, that's not the same site!" instead of something about UUIDs.
Comment #5
Gaelan commentedRerolling.
Comment #6
Gaelan commentedRerolled.
Comment #7
alexpottComment #9
Gaelan commentedThis applies on HEAD (pulled about 5m ago).
Comment #10
xjmComment #12
gábor hojtsySo there is no translation here. Generally we don't translate exceptions because they are not front user facing. So now we are exposing these for users. Is using exceptions the right thing then? If we only translate the wrapping then this is not really resolved...
So we only translate the wrapping here.
Comment #13
gábor hojtsySee #2055851: Remove translation of exception messages where xjm is explaining why we don't translate exceptions :)
Comment #14
xjmA better approach might be to throw a different typed exception? Edit: @msonnabaum also suggested moving the translatability to a followup.
Comment #15
Gaelan commentedHave bigger problems, so will NW again after testbot passes.
Comment #17
alexpottFixed the patch
Comment #18
alexpottMixing a translated string with a exception message is not good.
Comment #19
gábor hojtsyLooks better. Mixing the untranslated messages in would be confusing...
Minor: Can this somehow fit on one line instead?
Typo in user facing message: "synchronsaiotn". Also it is simpler to not say "for the reason(s) below" and just list the reasons. People will understand those are the reasons, the whole "reason(s)" form where we admit we are lazy coders to handle the singular/plural case is not a good idea, its hard to translate also... :)
Minor: The list items need to be indented, no?
Comment #20
dags commentedAddresses issues in #19. It's hard creating an 80 character sentence when the class name takes up 39 itself ;)
Comment #22
alexpottRerolled and improved the docs - the class name is not required :)
Comment #23
xjmStill all British and stuff. Fixed in attached.
Comment #24
gábor hojtsyAll the changes look good. Thanks for resolving the patch so it fixes my concerns :)
Comment #25
alexpott@timplunkett point out that the inject was unnecessary since a trait is coming. I agree.
Comment #26
tim.plunkettJust remove these, and I think its good to go!
Please reRTBC once they're gone.
Comment #27
alexpottDoh - I thought I have removed them.
Comment #28
alexpottback to rtbc as per #26
Comment #29
webchickNice find!
Committed and pushed to 8.x. Thanks!
Comment #32
fgmThis appears not to be complete: validation errors actually ignore the messages. Followup in #2503263: Config import validation needs to provide error messages.