mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
I18N: Add a language icon next to language selectors.
This change means that users who can't read the site's current language can more easily identify controls that allow them to change either the site language or their own admin area language. Props janak007, atlasmahesh, afercia, birgire, JoshuaWold Fixes #43144 Built from https://develop.svn.wordpress.org/trunk@45402 git-svn-id: http://core.svn.wordpress.org/trunk@45213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53794e9719
commit
01917b9f74
@ -645,6 +645,12 @@ code {
|
|||||||
color: #124964;
|
color: #124964;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Dashicon for language options on General Settings and Profile screens */
|
||||||
|
.form-table th label[for="locale"] .dashicons,
|
||||||
|
.form-table th label[for="WPLANG"] .dashicons {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.wrap .page-title-action:focus {
|
.wrap .page-title-action:focus {
|
||||||
border-color: #5b9dd9;
|
border-color: #5b9dd9;
|
||||||
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
|
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
|
||||||
|
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -645,6 +645,12 @@ code {
|
|||||||
color: #124964;
|
color: #124964;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Dashicon for language options on General Settings and Profile screens */
|
||||||
|
.form-table th label[for="locale"] .dashicons,
|
||||||
|
.form-table th label[for="WPLANG"] .dashicons {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.wrap .page-title-action:focus {
|
.wrap .page-title-action:focus {
|
||||||
border-color: #5b9dd9;
|
border-color: #5b9dd9;
|
||||||
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
|
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
|
||||||
|
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@ -162,7 +162,7 @@ if ( ! is_multisite() && defined( 'WPLANG' ) && '' !== WPLANG && 'en_US' !== WPL
|
|||||||
if ( ! empty( $languages ) || ! empty( $translations ) ) {
|
if ( ! empty( $languages ) || ! empty( $translations ) ) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th>
|
<th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$locale = get_locale();
|
$locale = get_locale();
|
||||||
|
@ -327,7 +327,7 @@ endif; // $_wp_admin_css_colors
|
|||||||
<tr class="user-language-wrap">
|
<tr class="user-language-wrap">
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<?php /* translators: The user language selection field label */ ?>
|
<?php /* translators: The user language selection field label */ ?>
|
||||||
<label for="locale"><?php _e( 'Language' ); ?></label>
|
<label for="locale"><?php _e( 'Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45401';
|
$wp_version = '5.3-alpha-45402';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user