[wp-trac] [WordPress Trac] #45856: Link to Classic Editor plugin needs to be translatable
WordPress Trac
noreply at wordpress.org
Mon Jan 7 22:30:05 UTC 2019
#45856: Link to Classic Editor plugin needs to be translatable
--------------------------+------------------------------
Reporter: tobifjellner | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Old description:
> https://core.trac.wordpress.org/changeset/44437
> introduced a message to the user that JavaScript is needed to run the
> Block editor. And it nicely suggests using Classic Editor plugin as an
> alternative solution.
> BUT the link to the plugin page https://wordpress.org/plugins/classic-
> editor/
> needs to be translatable, since, for Swedish I'd like to point to
> https://sv.wordpress.org/plugins/classic-editor/ instead, where the
> description will be in Swedish.
New description:
[44437] introduced a message to the user that JavaScript is needed to run
the Block editor. And it nicely suggests using Classic Editor plugin as an
alternative solution.
BUT the link to the plugin page https://wordpress.org/plugins/classic-
editor/
needs to be translatable, since, for Swedish I'd like to point to
https://sv.wordpress.org/plugins/classic-editor/ instead, where the
description will be in Swedish.
--
Comment (by SergeyBiryukov):
Unless I'm missing something, the link is already translatable:
{{{
__( 'https://wordpress.org/plugins/classic-editor/' )
}}}
The translator comment might be confusing though:
{{{
/* translators: %s: https://wordpress.org/plugins/classic-editor/ */
}}}
It could be just `Classic Editor plugin URL` instead of the URL itself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45856#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list