Hi,
the “Ads”, “Profile” and “Contact” tabs are not marked for translation correctly i am afraid, this will be fixed in next release.
In the meantime you would need to translate them directly in file wpadverts-authors/includes/class-wpadverts-authors.php on line about 855 to 870.
The messages however seem to be marked correctly and you should be able to translate them.
The full phrases to translate are
Your message has been sent.
and
This Author do not agree to contact him using contact form.
If the phrase you are translating has a different interpunction letter casing or if differes from the phrase to translate in any way then it will not be replaced.
If you are using Loco Translate you can make sure your phrases list is up to date by clicking “Sync” button when translating the Authors.
Hi, using the “sync” button worked! Thank you!!
Another translation question, for the Mark as sold add-on,
– how do you translate the words in the buttons for “sold” and “for sale”?
– how can I change the color of the background of the notification text (white on yellow is not very easy to read)
– also when I put an ‘ aprostrophe symbol in the top and bottom notification text it ads \in the final text… any ideas?
Screenshot here: https://prnt.sc/pemby3
Thanks!
Hi,
1. the words “Sold” and “For Sale” are marked for translation correctly so you should be able to translate them using Loco Translate (when translating Mark as Sold extension) or using Say What? plugin.
2. to change the background and text color go to wp-admin / Appearance / Customize / Additional CSS panel and add there the code below
body div.adverts-flash-messages.adverts-flash-warn {
background-color: orange !important;
}
body div.adverts-flash-messages.adverts-flash-warn .adverts-flash-message-icon:before,
body div.adverts-flash-messages.adverts-flash-warn .adverts-flash-message-text {
color: black;
}
3. this seems to be a bug in the MAS extension we will fix that in next release, in the meantime you can resolve it by opening file wpadverts-mark-as-sold/includes/class-wpadverts-mas-admin.php go to line about 197 and replace
$form->bind( $_POST );
with
$form->bind( stripslashes_deep( $_POST ) );
Thanks Greg! All your fixes work perfectly! I updated to 1.0.2 and Loco translate worked 😀
Ok great, i am glad you have it fixed :).
I am marking this thread as resolved then.