[wp-polyglots] bbPress Repository for Uighur
Milan Dinić
liste at srpski.biz
Tue Aug 11 11:43:18 UTC 2009
>
> There is also a usage on WordPress blogs, in admin-header.php, from line 41
> to 46:
>
> http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php
>
I think that you should use wp_enqueue_script function (
http://codex.wordpress.org/Function_Reference/wp_enqueue_script ) in
ug_CN.php instead of hard coding in admin-header.php.
Function should look like
function load_bedit_script () {
wp_enqueue_script('bedit', WP_CONTENT_URL .
'/themes/default/bedit.js');
return;
}
add_action('admin_init','load_bedit_script');
This will include bedit.js file on admin pages.
2009/8/11 Nikolay Bachiyski <nb at nikolay.bg>
> On Tue, Aug 11, 2009 at 06:10, Yidayet. Z. Begzad<begzad0826 at yahoo.co.jp>
> wrote:
> > Hello Nikolay,
> >
> > Thanks again for all you have done for us.
> >
> > You can find the JavaScript for Uyghur input on http://ug.wordpress.org
> > here:
> > http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/bedit.js
> >
> > and its usage is:
> > http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/b_config.js
> > There is also a usage on WordPress blogs, in admin-header.php, from line
> 41
> > to 46:
> >
> http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php
> >
> > Description:
> > It is necessary to specify the text input area for use this script. In
> above
> > case, it is set to attach all input area except in Laten text input area
> > such as e-mail address.
> >
> > I was imported this script in ug_CN.css for rosetta, but it is not
> working
> > any more.
> >
> > The Uyghur text input problem is the most difficult thing for a user who
> > still using Windwos XP and Mac/Linux. However, it is solved in Windows
> Vista
> > and Windows 7.
> >
> >
> > You can find the CSS here:
> > http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/ug_CN.css
> > The font name "UKIJ Tuz Tom" at line 10, is the must used fonts on the
> web
> > for Uyghur. But it has a problem that, the small text shows terrible
> (this
> > problem also appear on wordpress.com). So, recently I think about the
> WEFT
> > and I try to make the embedded Arial and Tahoma fonts for
> ug.wordpress.org.
> >
>
> I will try to integrate these scripts for you.
>
> N.
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-polyglots/attachments/20090811/ed5148ec/attachment-0001.htm>
More information about the wp-polyglots
mailing list