• Resolved Alex Lion (阿力獅)

    (@alexclassroom)


    Hi Developer,

    This plugin slug is whp-hide-posts, but your Text Domain is whp. Change your Text Domain so it is equal to your slug and modify the text domain in all your source files. This change is needed because your “Requires at least” is below 4.6. (see https://developer.www.ads-software.com/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains)

    For my full localization testing, I modified all related source code. I cannot find any repository, this means I cannot submit PR to this plugin, so I list all modifications as the following:

    classes\admin\WHP_Admin_Dashboard.php
    Line 21, 22: Text Domain should be whp-hide-posts

    classes\admin\WHP_Post_Hide_Metabox.php
    Line 68, 92: Text Domain should be whp-hide-posts
    Line 127, 131, 135, 139, 143, 147, 151, 155, 159, 163, 167: Missing Text Domain whp-hide-posts

    views\admin\template-admin-dashboard.php
    Line 2, 9, 30: Text Domain should be whp-hide-posts
    Line 2: WordPress should be WordPress

    views\admin\template-admin-post-metabox.php
    Line 13, 19, 25, 31, 37, 43, 49, 55, 61, 62, 68, 72, 76, 82: Text Domain should be whp-hide-posts

    views\admin\template-quick-edit.php
    Line3: Text Domain should be whp-hide-posts

    README.md
    Line 1, 93, 106: WordPress should be WordPress

    whp-hide-posts.php
    Line 3, 10, 16: WordPress should be WordPress
    Line 8: Text Domain should be whp-hide-posts

    I believe these modifications will trigger to completion of this plugin’s GlotPress project.

    Regards,
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text Domain Issue’ is closed to new replies.