Plugin Directory

Changeset 3159591


Ignore:
Timestamp:
09/30/2024 02:04:26 AM (6 months ago)
Author:
mvpis
Message:

Updates with improvements and bug fixes

Location:
fluentc-translation
Files:
364 added
5 edited

Legend:

Unmodified
Added
Removed
  • fluentc-translation/trunk/fluentc_wordpress_plugin.php

    r3159574 r3159591  
    77 * Plugin URI: https://github.com/fluentc/wordpress-plugin
    88 * Description: A plugin that enables website owners to easily install the FluentC Translation on their WordPress site.
    9  * Version: 1.9.3
     9 * Version: 1.9.4
    1010 * Author: FluentC
    1111 * Author URI: https://www.fluentc.ai
     
    1717define( 'FLUENTC_DIR', __DIR__ );
    1818define( 'FLUENTC_SLUG', 'fluentc_translation' );
    19 define( 'FLUENTC_TRANSLATION_VERSION', "1.9.3" );
     19define( 'FLUENTC_TRANSLATION_VERSION', "1.9.4" );
    2020define( 'FLUENTC_TRANSLATION_PLUGIN_DIR', plugin_dir_path(__FILE__) );
    2121define( 'FLUENTC_TRANSLATION_PLUGIN_URL', plugin_dir_url(__FILE__) );
  • fluentc-translation/trunk/readme.txt

    r3159574 r3159591  
    55Requires at least: 4.6
    66Tested up to: 6.6.2
    7 Stable tag: 1.9.3
     7Stable tag: 1.9.4
    88Requires PHP: 7.3
    99License: GPLv2 or later
  • fluentc-translation/trunk/src/actions/class-wordpress.php

    r3159410 r3159591  
    143143 
    144144    if (!$this->should_process_content($block_content)) {
    145        do_action('qm/info', 'Content not processed: language code missing or content empty');
    146145        return $block_content;
    147146    }
     
    155154    if (!empty($texts_to_translate)) {
    156155        $this->process_translations($texts_to_translate, $entry_map, $entry_skip_map);
    157         do_action('qm/info', 'Translations processed');
    158     } else {
    159         do_action('qm/info', 'No texts to translate');
    160156    }
    161157   
     
    244240     */
    245241    public function filter_content( $content ) {
    246         do_action('qm/info', 'Starting filter_block');
    247242       
    248243        if (!$this->should_process_content($content)) {
     
    261256        $html = $this->get_processed_html($dom);
    262257       
    263         do_action('qm/info', 'Finished filter_block');
    264258        return $html ?: $content;
    265259    }
     
    276270    public function fluentcFilterTitle($title, $id = null)
    277271    {
    278         do_action('qm/info', 'Starting fluentcFilterTitle');
    279272       
    280273        if (!$this->language_code) {
     
    322315    public function fluentcFilterWidgetText( $text, $instance ) {
    323316        {
    324             do_action('qm/info', 'Starting filter_block');
    325317           
    326318            if (!$this->should_process_content($text)) {
     
    339331            $html = $this->get_processed_html($dom);
    340332           
    341             do_action('qm/info', 'Finished filter_block');
    342333            return $html ?: $text;
    343334        }
     
    353344    public function fluentc_woocommerce_checkout_shortcode_filter( $output, $tag, $attr ){
    354345        {
    355             do_action('qm/info', 'Starting filter_block');
    356346           
    357347            if (!$this->should_process_content($output)) {
     
    370360            $html = $this->get_processed_html($dom);
    371361           
    372             do_action('qm/info', 'Finished filter_block');
    373362            return $html ?: $output;
    374363        }
  • fluentc-translation/trunk/src/models/class-fluentc-links-model.php

    r3159410 r3159591  
    2424        // Example options initialization:
    2525        return array(
    26             'force_lang' => '2',
     26            'force_lang' => '1',
    2727            'hide_default' => true
    2828            // Add more options as needed.
  • fluentc-translation/trunk/src/services/class-connect.php

    r3153653 r3159591  
    162162        // Re-index the array.
    163163        $languages = array_values( $languages );
    164    
     164        $this->heartbeat($widgetapikey);
    165165        // Return the requested fields or the full language objects.
    166166        return empty( $args['fields'] ) ? $languages : wp_list_pluck( $languages, $args['fields'] );
Note: See TracChangeset for help on using the changeset viewer.