Inside the tinymce_help() function, there is a minor syntax that prevents a message from being extracted for translation using the template extractor module (potx). The message inside t() should not be broken into portions and concatenated using the concatenation operator '.'. The patch fixes this minor issue, so that running php potx-cli.php from the command line generates general.pot including the specific message for translation.

I'm not sure if this a potx issue, but the Drupal API for t() (http://api.drupal.org/api/5/function/t) states:

When using t(), try to put entire sentences and strings in one t() call. This makes it easier for translators, as it provides context as to what each word refers to.

Thanks.

CommentFileSizeAuthor
tinymce-syntax.diff1.3 KBGoofyX

Comments

pomliane’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.