WordPress.org

Make WordPress Core

Ticket #10005: entities-in-visualEditor.diff

File entities-in-visualEditor.diff, 784 bytes (added by xibe, 5 years ago)

Translator comments; warning about use of HTML entities in Visual Editor

  • wp-langs.php

     
    418418}); 
    419419 
    420420tinyMCE.addI18n("' . $language . '.wpeditimage",{ 
    421 edit_img:"' . mce_escape( __('Edit Image') )  . '", 
    422 del_img:"' . mce_escape( __('Delete Image') )  . '", 
     421edit_img:"' /* translators: do not use HTML entities ( , etc.): string is used in Visual Editor */ . mce_escape( __('Edit Image') )  . '", 
     422del_img:"' /* translators: do not use HTML entities ( , etc.): string is used in Visual Editor */ . mce_escape( __('Delete Image') )  . '", 
    423423adv_settings:"' . mce_escape( __('Advanced Settings') )  . '", 
    424424none:"' . mce_escape( __('None') )  . '", 
    425425size:"' . mce_escape( __('Size') ) . '",