-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate use of CSS text-transform: uppercase
#1587
Comments
As a note, since SD is moving toward i18n, this might need to be closed and left unimplemented. I'm not sure if browsers are capitalization-aware in other languages. For example, in German there is no such thing as a capital ß, only SS. It would lead to less oddities and a more consistent user experience if the translators write the string as they would be displayed. Edit: Spoke too soon. Despite what most internet searches say about this being poorly supported and broken, Mozilla claims to support this quite correctly so long as the |
This should be a requirement for i18n because we don't want to break all the buttons If we ever switch cases. Also, we don't want to annoy our translators with tedious capitalization fixes. We'd also need to confirm support for this in Tor Browser. |
Depends on #2354 |
text-transform: uppercase
instead of all caps in HTMLtext-transform: uppercase
or use it consistently
We are using the
I've retitled the issue -- we should either deprecate the use of |
text-transform: uppercase
or use it consistentlytext-transform: uppercase
Stumbled on this during SI redesign work and confirmed that the only element left which uses securedrop/securedrop/journalist_templates/edit_account.html Lines 98 to 101 in 7b6c61a
There's a couple of languages which have |
Nice catch, @eaon. Are you referring to gettext entries like: securedrop/securedrop/translations/tr/LC_MESSAGES/messages.po Lines 1237 to 1238 in 22ed80b
I believe such entries will be reactivated in Weblate as part of the regular |
`text-transform: uppercase` is not compatible with some locales orthographic rules - we already do it right in almost all places except one in the JI and a couple other instances where it's actually dead code Fixes #1587
Pedantic fix to some ugliness I introduced in previous changes.
The text was updated successfully, but these errors were encountered: