l10n: Update wp_get_installed_translations() to support variants of a language.
* A variant of a language has its own locale, for example the locale of the formal variant of German is `de_DE_formal`. * Update `remove_accents()` and some CSS rules to support `de_DE_formal`. * Add tests for `get_bloginfo( 'language' )`. * API changes will be deployed over the next few days. see #28303. Built from https://develop.svn.wordpress.org/trunk@33027 git-svn-id: http://core.svn.wordpress.org/trunk@32998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -58,16 +58,20 @@ body.locale-he-il .press-this a.wp-switch-editor {
|
||||
.locale-zh-cn #sort-buttons { font-size: 1em !important; }
|
||||
|
||||
/* de_DE: Text needs more space for translation */
|
||||
.locale-de-de .inline-edit-row fieldset label span.title {
|
||||
.locale-de-de .inline-edit-row fieldset label span.title,
|
||||
.locale-de-de-formal .inline-edit-row fieldset label span.title {
|
||||
width: 7em; /* default 5em */
|
||||
}
|
||||
.locale-de-de .inline-edit-row fieldset label span.input-text-wrap {
|
||||
.locale-de-de .inline-edit-row fieldset label span.input-text-wrap,
|
||||
.locale-de-de-formal .inline-edit-row fieldset label span.input-text-wrap {
|
||||
margin-left: 7em; /* default 5em */
|
||||
}
|
||||
.locale-de-de #customize-header-actions .button {
|
||||
.locale-de-de #customize-header-actions .button,
|
||||
.locale-de-de-formal #customize-header-actions .button {
|
||||
padding: 0 5px 1px; /* default 0 10px 1px */
|
||||
}
|
||||
.locale-de-de #customize-header-actions .spinner {
|
||||
.locale-de-de #customize-header-actions .spinner,
|
||||
.locale-de-de-formal #customize-header-actions .spinner {
|
||||
margin: 16px 3px 0; /* default 16px 4px 0 5px */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user