[wp-hackers] WP 2.7 Screens and translations

Ozh ozh at planetozh.com
Mon Nov 3 09:17:26 GMT 2008


Or, within <head> of admin pages:

<?php echo "
<style>
#adminmenu li.wp-has-submenu{
   width: ".__('135px').";
}
</style>
"; ?>

(might confuse some translators, though :)

On Mon, Nov 3, 2008 at 3:49 AM, Stephen Rider <wp-hackers at striderweb.com> wrote:
>
> In the admin, these areas have a CSS class equal to the current language
> code, e.g. class="en_US"
>
> If a particular language needs a bigger width, they are easily added to the
> existing stylesheet in core.
>
> Stephen


-- 
http://planetOzh.com ~ Blog and WordPress Stuff
http://FrenchFragFactory.net ~ Daily Quake News


More information about the wp-hackers mailing list