[wp-trac] [WordPress Trac] #30603: Twenty Fifteen: Translators comments missing from GlotPress
WordPress Trac
noreply at wordpress.org
Sun Dec 7 21:37:39 UTC 2014
#30603: Twenty Fifteen: Translators comments missing from GlotPress
-------------------------------------+--------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: i18n-change needs-patch | Focuses: docs
-------------------------------------+--------------------
Changes (by DrewAPicture):
* keywords: has-patch => i18n-change needs-patch
* focuses: => docs
Comment:
In the i18n tools it seems to me that there isn't a mechanism for handling
inner-comment lines only beginning with a space and an asterisk: ' *'.
That could be the issue with the comments not getting matched up.
FWIW, in my search I could only find five instances where translator
comments were multi-line, four of them in TwentyFifteen and one of them in
TwentyFourteen. I'd suggest lowercasing the 'T' for consistency and moving
to single-long comments as a precaution.
Adversely, we could update the RegEx in `find_function_calls()` to handle
multi-line comments. I'm thinking that would be a good later-addition at
this juncture.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30603#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list