i18n plurals fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83dce74554
commit
63c5ee4199
|
@ -9,7 +9,7 @@
|
||||||
.post-com-count {
|
.post-com-count {
|
||||||
background-image: url(../images/bubble_bg-rtl.gif);
|
background-image: url(../images/bubble_bg-rtl.gif);
|
||||||
}
|
}
|
||||||
#adminmenu li a #awaiting-mod {
|
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
||||||
background-image: url(../images/comment-stalk-rtl.gif);
|
background-image: url(../images/comment-stalk-rtl.gif);
|
||||||
}
|
}
|
||||||
#upload-menu li.current {
|
#upload-menu li.current {
|
||||||
|
|
|
@ -448,11 +448,12 @@ body.press-this .ui-tabs-selected a:hover {
|
||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod {
|
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
||||||
background-image: url(../images/comment-stalk-fresh.gif);
|
background-image: url(../images/comment-stalk-fresh.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span,
|
#adminmenu li a #awaiting-mod span,
|
||||||
|
#adminmenu li a #update-plugins span,
|
||||||
#sidemenu li a #update-plugins span,
|
#sidemenu li a #update-plugins span,
|
||||||
#rightnow .reallynow,
|
#rightnow .reallynow,
|
||||||
#plugin-information .action-button {
|
#plugin-information .action-button {
|
||||||
|
@ -461,6 +462,7 @@ body.press-this .ui-tabs-selected a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod span,
|
#adminmenu li a:hover #awaiting-mod span,
|
||||||
|
#adminmenu li a:hover #update-plugins span,
|
||||||
#sidemenu li a:hover #update-plugins span {
|
#sidemenu li a:hover #update-plugins span {
|
||||||
background-color: #264761;
|
background-color: #264761;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
background-image: url(../images/bubble_bg-rtl.gif);
|
background-image: url(../images/bubble_bg-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod {
|
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
||||||
background-image: url(../images/comment-stalk-rtl.gif);
|
background-image: url(../images/comment-stalk-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -461,11 +461,12 @@ body.press-this .ui-tabs-selected a:hover {
|
||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod {
|
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
||||||
background-image: url(../images/comment-stalk-fresh.gif);
|
background-image: url(../images/comment-stalk-fresh.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span,
|
#adminmenu li a #awaiting-mod span,
|
||||||
|
#adminmenu li a #update-plugins span,
|
||||||
#sidemenu li a #update-plugins span,
|
#sidemenu li a #update-plugins span,
|
||||||
#rightnow .reallynow,
|
#rightnow .reallynow,
|
||||||
#plugin-information .action-button {
|
#plugin-information .action-button {
|
||||||
|
@ -474,6 +475,7 @@ body.press-this .ui-tabs-selected a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod span,
|
#adminmenu li a:hover #awaiting-mod span,
|
||||||
|
#adminmenu li a:hover #update-plugins span,
|
||||||
#sidemenu li a:hover #update-plugins span {
|
#sidemenu li a:hover #update-plugins span {
|
||||||
background-color: #264761;
|
background-color: #264761;
|
||||||
}
|
}
|
||||||
|
|
|
@ -463,7 +463,7 @@ function install_plugin_information() {
|
||||||
<?php endif; if ( ! empty($api->tested) ) : ?>
|
<?php endif; if ( ! empty($api->tested) ) : ?>
|
||||||
<li><strong><?php _e('Compatible up to:') ?></strong> <?php echo $api->tested ?></li>
|
<li><strong><?php _e('Compatible up to:') ?></strong> <?php echo $api->tested ?></li>
|
||||||
<?php endif; if ( ! empty($api->downloaded) ) : ?>
|
<?php endif; if ( ! empty($api->downloaded) ) : ?>
|
||||||
<li><strong><?php _e('Downloaded:') ?></strong> <?php printf('%s times', number_format_i18n($api->downloaded)) ?></li>
|
<li><strong><?php _e('Downloaded:') ?></strong> <?php printf(__ngettext('%s time', '%s times', $api->downloaded), number_format_i18n($api->downloaded)) ?></li>
|
||||||
<?php endif; if ( ! empty($api->slug) ) : ?>
|
<?php endif; if ( ! empty($api->slug) ) : ?>
|
||||||
<li><a target="_blank" href="http://wordpress.org/extend/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page »') ?></a></li>
|
<li><a target="_blank" href="http://wordpress.org/extend/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page »') ?></a></li>
|
||||||
<?php endif; if ( ! empty($api->homepage) ) : ?>
|
<?php endif; if ( ! empty($api->homepage) ) : ?>
|
||||||
|
|
|
@ -272,8 +272,7 @@ if ( $links ) {
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#doaction, #doaction2').click(function(){
|
$('#doaction, #doaction2').click(function(){
|
||||||
if ( $('select[name^="action"]').val() == 'delete' ) {
|
if ( $('select[name^="action"]').val() == 'delete' ) {
|
||||||
var n = $('table.widefat input[type="checkbox"]:checked').length;
|
var m = '<?php echo js_escape(__("You are about to delete the selected links.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
||||||
var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected links.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected link.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
|
||||||
return showNotice.warn(m);
|
return showNotice.warn(m);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -171,13 +171,14 @@ ul#adminmenu li.write-new-button a {
|
||||||
/* 1000 - 1300
|
/* 1000 - 1300
|
||||||
=================================== */
|
=================================== */
|
||||||
#adminmenu a #awaiting-mod,
|
#adminmenu a #awaiting-mod,
|
||||||
|
#adminmenu a #update-plugins,
|
||||||
#sidemenu li a #update-plugins {
|
#sidemenu li a #update-plugins {
|
||||||
background-position: -240px top;
|
background-position: -240px top;
|
||||||
}
|
}
|
||||||
#adminmenu li a:hover #awaiting-mod, #sidemenu li a:hover #update-plugins {
|
#adminmenu li a:hover #awaiting-mod, #adminmenu li a:hover #update-plugins, #sidemenu li a:hover #update-plugins {
|
||||||
background-position: -160px top;
|
background-position: -160px top;
|
||||||
}
|
}
|
||||||
#adminmenu li a #awaiting-mod span, #sidemenu li a #update-plugins span {
|
#adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
|
||||||
right:auto;
|
right:auto;
|
||||||
left:0;
|
left:0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -451,8 +451,7 @@ endif; // posts;
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#doaction, #doaction2').click(function(e){
|
$('#doaction, #doaction2').click(function(e){
|
||||||
if ( $('select[name^="action"]').val() == 'delete' ) {
|
if ( $('select[name^="action"]').val() == 'delete' ) {
|
||||||
var n = $('#the-list input[type="checkbox"]:checked').length;
|
var m = '<?php echo js_escape(__("You are about to delete the selected attachments.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
||||||
var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected attachments.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected attachment.\n 'Cancel' to stop, 'OK' to delete.")); ?>';
|
|
||||||
return showNotice.warn(m);
|
return showNotice.warn(m);
|
||||||
} else if ( $('select[name^="action"]').val() == 'attach' ) {
|
} else if ( $('select[name^="action"]').val() == 'attach' ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
@ -1117,6 +1117,7 @@ ul#adminmenu li.write-new-button a {
|
||||||
|
|
||||||
/* 2.6 */
|
/* 2.6 */
|
||||||
#adminmenu a #awaiting-mod,
|
#adminmenu a #awaiting-mod,
|
||||||
|
#adminmenu a #update-plugins,
|
||||||
#sidemenu li a #update-plugins {
|
#sidemenu li a #update-plugins {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 0.2em;
|
margin-top: 0.2em;
|
||||||
|
@ -1168,11 +1169,11 @@ strong .post-com-count {
|
||||||
background-position: center -3px;
|
background-position: center -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod, #sidemenu li a:hover #update-plugins {
|
#adminmenu li a:hover #awaiting-mod, #adminmenu li a:hover #update-plugins, #sidemenu li a:hover #update-plugins {
|
||||||
background-position: -80px bottom;
|
background-position: -80px bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span, #sidemenu li a #update-plugins span {
|
#adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
|
||||||
top: -0.8em;
|
top: -0.8em;
|
||||||
right: 0;
|
right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue