mrprainx
Forum Replies Created
-
Ok now I get what happened.
We were trying to translate a “wrong text”.
The correct text is:
Would you like to prevent your name and image from being displayed publicly?
We were using
Would you like to prevent this donation from being displayed publicly?
instead.
Thank you Matt.
This is so weird.
If I take out the period from the first one, it doesn’t work. Because the original text has the period, actually.
And still the second sentence doesn’t get translated.
I don’t know how to get around this to be honest.
Hello Matt. Thank you for your assistance.
Unfortunately, it doesn’t work for me.
I’m using My Custom Function plugin.
Here’s what I have in it:
/** * Require Last Name Snippet. * * Adds asterisk and error validation to the last name field of all Give forms. * * @param $required_fields * @param $form_id * * @return mixed */ function give_require_last_name( $required_fields, $form_id ) { $required_fields['give_last'] = array( 'error_id' => 'invalid_last_name', 'error_message' => __( 'Inserisci il tuo cognome', 'give' ) ); //If restricting by gateway: $stripe = give_is_gateway_active( 'give-stripe' ); if ($stripe) { $required_fields['card_state'] = array( 'error_id' => 'invalid_card_state', 'error_message' => __( 'Please enter your Credit Cards billing State.', 'give-stripe' ) ); } return $required_fields; } add_filter( 'give_donation_form_required_fields', 'give_require_last_name', 10, 2 ); /** * traduco alcune stringhe del modulo donazione */ function ussov_give_text_switcher( $translation, $text, $domain ) { if ( 'give' === $domain && 'Make this an anonymous donation.' === $text ) { $translation = __( 'Voglio fare una donazione anonima.', 'give' ); } if ( 'give' === $domain && 'Would you like to prevent this donation from being displayed publicly?' === $text ) { $translation = __( 'Vuoi evitare che il tuo nome sia mostrato pubblicamente?', 'give' ); } return $translation; } add_filter( 'gettext', 'ussov_give_text_switcher', 10, 3 );
The “Require Last Name Snippet” and the first translation (Make this an anonymous donation.) work fine. The other one doesn’t.
Forum: Plugins
In reply to: [Dynamic Widgets] “A variable mismatch has been detected.” errorP.S. The widgets I’m working with are standard “HTML widget”.
Forum: Plugins
In reply to: [Dynamic Widgets] “A variable mismatch has been detected.” errorI guess it has something to do with WPML. Because if I deactivate it…there is no such error.
I’ll write them and let you know.
Thank you.
Forum: Plugins
In reply to: [Modula Image Gallery] Can’t add images to the galleryOk. Ignore my last comment. It was a caching issue.
Now everything is working fine.
Thank you.
Have a nice day.
Forum: Plugins
In reply to: [Modula Image Gallery] Can’t add images to the galleryHello Mihaela.
Unfortunately the update didn’t fix the issue.
Looking at the console I still see this:
Uncaught TypeError: $ is not a function at n.initialize (wp-modula-conditions.js:7) at n.e.Model (backbone.min.js:1) at new n (backbone.min.js:1) at HTMLDocument.<anonymous> (wp-modula.js:17) at i (load-scripts.php:2) at Object.fireWith [as resolveWith] (load-scripts.php:2) at Function.ready (load-scripts.php:2) at HTMLDocument.K (load-scripts.php:2)
Forum: Plugins
In reply to: [Search and Navigation Popup] Place this into a menuOk thank you.
And what about adding that icon in a already existing menu? I mean, like it is a menu item.
For example here:
- https://www.cies.it/
We have a menu with items. Just add the icon as the first/last/whatever.
Thank you.
Forum: Plugins
In reply to: [Modula Image Gallery] How to clone/duplicate a galleryOk. Done. Fast and simple.
Thak you Mihaela.
Forum: Plugins
In reply to: [Modula Image Gallery] Avoid “double caption”Hello Cristian. Thank you for your answer.
No problem, I will keep it.
Thank you again
Forum: Plugins
In reply to: [Custom Permalinks] Permalink “resets” after every page updateYes of course. I’m only worried that if we enable the plugin again the permalinks will all change again…and that would be a semi-disaster for us! ??
Is this likely going to happen?
Anyway, where can I send you the credentials?
Forum: Plugins
In reply to: [Custom Permalinks] Permalink “resets” after every page updateHello Sami.
Thank you for your answer.
No, I’m not using any other permalink plugin.
At the moment, I’ve disabled Custom Permalink plugin because it was hampering our work on the website.
It seemed to happen with any page whose permalink has been changed.
How can I help you to further investigate the issue?
Forum: Plugins
In reply to: [Timeline and History slider] Drag to scroll the timelineExactly.
In some of the examples in the page you linked, dragging still works for one post at a time. In some others it works better.
Maybe it’s easier to make the timeline itself, and non the post, draggable in free mode? Just wondering. In this way the user could move through time and choose the year to see the post.
Thank you for your interest.
Forum: Plugins
In reply to: [Timeline and History slider] Drag to scroll the timelineOk. Good to know. Thank you.
I was thinking about a solution that allows users to move easier and faster between “distant” years.
If you have a timeline with let’s say 40 years, it’s not so fast and easy to move around those years.
Thank you.
Forum: Plugins
In reply to: [Timeline and History slider] Drag to scroll the timelineOk. Thank you.