Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user interface text
Priority:
Normal
Category:
Bug report
Issue tags:
Reporter:
Created:
30 Aug 2015 at 14:23 UTC
Updated:
19 Oct 2015 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hass commentedIs there a tag for translation deadline?
Comment #3
hass commentedComment #4
hass commentedComment #5
hass commentedComment #6
hass commentedComment #7
hass commentedComment #8
cilefen commentedComment #9
hass commentedComment #10
chrisfree commentedPatch in comment #2 looked good to me, but I found two instances in the documentation for pager.html.twig that also needed to be updated for consistency. The attached patch fixes those as well.
Hat tip to @mortendk for getting me motivated during his DrupalCon Barcelona session to start helping out with Classy!
Comment #11
hass commentedComment #12
alexpottNeeds a reroll
Comment #13
hass commentedOk, one file has already been fixed in an other case, so just removed this stuff now. Waiting for green light.
Comment #14
hass commentedComment #15
cilefen commented#2573437: Paging links are lowercased by default
Comment #16
hass commentedPer https://www.drupal.org/node/2573437#comment-10402251 we also have these strings in Views installation files. Let's fix them with the patch, too.
Comment #17
hass commented@crissfree: in what files are these config strings?
Comment #18
chrisfree commentedLet me dig them up -- give me a few minutes.
Comment #19
chrisfree commentedThere are quite a few places that this would need to be updated. I've included a list of all occurrences of "previous:" within yaml files below for a clearer picture.
A quick example would be the front page view that is installed with the standard site profile. This file can be found at:
/core/modules/node/config/optional/views.view.frontpage.yml. The lines in question would be:which would become:
Here are all the instances of "previous: " within yaml files in D8 core:
I'll he happy to fix this up and patch this afternoon if this makes sense to move forward with.
Comment #20
hass commentedComment #21
hass commentedThanks chriss for noting this. A search yielded a lot of missing places with bugs. Please RTBC this patch asap. It's simple to review and it is RTBC from my side.
Comment #22
wim leersLooks great, with just one remaining problem/inconsistency.
Also: where is it documented that we require the first letter to be capitalized? I didn't realize this was a thing!
The Dutch translations here remain uncapitalized.
Yet here they became capitalized.
Which is correct?
Comment #23
hass commentedComment #24
hass commentedI guess the ucfirst is the right one. Damn oversight. The lowercase strings just create the same bugs in nl. We made the same faults in german as we don't know if lowercase is required.
Comment #25
hass commentedFixed the inconsistency.
Comment #28
hass commentedComment #29
gábor hojtsyThe patch makes the same changes very consistently. #421118: [Meta] Standardize capitalization on actions has all kinds of people looking into it, so it seems like this is indeed a movement agreed on :)
Comment #30
xjmAh, this makes me happy. :) It brings these strings in line with the other actions we made sentence-cased already. Nice work on this issue! Committed and pushed to 8.0.x.