strong-testimonials icon indicating copy to clipboard operation
strong-testimonials copied to clipboard

Make "next/previous" slide translatable strings; right now, they are hard-coded

Open beatricelucaci opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. The “next” link slug is next-slide. Even though the plugin settings call it a slideshow, for Accessibility it should be next-testimonial. How to change this?

  1. https://wordpress.org/support/topic/change-name-of-next-slide-to-next-testimonial/
  2. https://github.dev/WPChill/strong-testimonials/blob/8a33806752e3fe3d1c97541a5942065b3d6b0903/public/js/lib/strongslider/jquery-strongslider.js#L1008
  3. https://github.dev/WPChill/strong-testimonials/blob/8a33806752e3fe3d1c97541a5942065b3d6b0903/public/js/lib/strongslider/jquery-strongslider.js#L1033-L1034

beatricelucaci avatar Jan 26 '24 12:01 beatricelucaci

@TeoAlex - use wp_localize_script to pass the strings to the JS script

cristianraiber avatar Jan 26 '24 12:01 cristianraiber

Works for me, please try again and click "Sync" before trying the search if usinc Loco Translate. image

TeoAlex avatar Aug 07 '24 12:08 TeoAlex