西門 正 Code Guy
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] about Translation textdomainThanks for your inspiration.
In addition, I found out the problem.
Because the translation of this text
'ERROR: Please enter your password twice.'is officially translated in admin-locale.po,
however, when plugin is being used, this text will be used in frontend, so, additional translation has to be put in plugin language file.I centralize all language file into WP_LANG folder in order to avoid file being deleted carelessly once the plugin update. Because it will clean whatever changes or files inside the plugin folder.
Also, I have found 1 translation bugs in custom-passwords.php:
<?php _e( 'Confirm Password', 'theme-my-login' ); ?>
in default language file, it is actually written as
msgid "Confirm Password:"I think author is intended to use the version without “:”.
So, at the moment, just delete the “:” and get it work.Did you check the typos?
The folder you have mentioned is paid-memberships-po/emails
make sure it is “/paid-memberships-pro/emails/”In addition to your translations, I am about to do the same and maybe I can share my experience to you after testing.
Do you know how to initiate the email test without actually going all checkout or purchase process?
Cheers.
Thanks for your reply, I have finished almost 50% translation by now.
And I have found more translation bugs, I will post here for everyone reference.Thanks again for making such a great tools.
another location is adminpages.php (line 24, 25)
Membership Levels => __( "Membership Levels", "pmpro" )so that it will not keep as “Membership Levels” while other words get tranlsated.
Forum: Plugins
In reply to: [Recent Posts Plus] Image size incorrect [Important!]I guess you have unchecked “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” in YOUR WORDPRESS->settings->Media which you may refer to Marg’s Explanation.
If checked -> crop the size exactly as stated
If unchecked -> crop the size proportionally based on the longest side.And after you update the settings, I suggest you to use plugin like Force Regenerate Thumbnails
You may refer to WordPress Image Size and Featured ImagesWordpress Image Size for Custom Image and Featured Images for more information which is being written.
Forum: Plugins
In reply to: [Manual Image Crop] Conflict with Attachment pluginThanks a lot.
I have found the source of problem, there is a bug in Attachment javascript. Because no error checking is put, undefined variable cause the Javascript halt.For details, you may visit solution to attachment conflict.