[wp-trac] [WordPress Trac] #24183: MediaElement.js i18n issues
WordPress Trac
noreply at wordpress.org
Fri Jul 12 23:22:13 UTC 2013
#24183: MediaElement.js i18n issues
----------------------------+--------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.6
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+--------------------
Comment (by SergeyBiryukov):
So, the problem is that when MEjs tries to use `mejs.i18n.locale.strings`,
the `mejs.i18n` object is already overwritten above with the one that
doesn't contain the strings we're trying to add. It also doesn't detect
the language we're trying to pass.
[attachment:24183.me.2.patch] is a patch for upstream that makes the most
sense to me. It consults a separate `mejsL10n` object, which follows the
pattern we have in `script-loader.php`.
[attachment:24183.4.patch] complements it on our side.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24183#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list