Plugin Directory

Changeset 2001785


Ignore:
Timestamp:
12/26/2018 04:56:01 PM (7 years ago)
Author:
hive4apps
Message:

bugs fix related to addons

Location:
wp-group-subscriptions
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • wp-group-subscriptions/tags/0.1.1/core/helpers/php/php-helpers-before-config.php

    r1993138 r2001785  
    700700    function get_all_sub_dir_names( $dir_path ) {
    701701        $dir_names   = array();
    702         $a_dir_paths = array_filter( glob( $dir_path . "/*" ), function ( $dir_path, $k ){
     702        $a_dir_paths = array_filter( glob( $dir_path . "/*", GLOB_ONLYDIR ), function ( $dir_path, $k ){
    703703            $a_name  = explode( "/", $dir_path );
    704704            $subject = $a_name[ count( $a_name ) - 1 ];
  • wp-group-subscriptions/trunk/WPGroupSubs.php

    r1994175 r2001785  
    44Plugin URI: https://wp-group-subscriptions.com
    55Description: Accepts paying group registrations. Gives access to restricted content for members or groups of members.
    6 Version: 0.1.4
     6Version: 0.1.5
    77Author: Hive 4 Apps
    88Author URI: http://www.hive-4-apps.org/
  • wp-group-subscriptions/trunk/admin/headings/settings/js/settings.js

    r1994175 r2001785  
    1919                    }
    2020                }
    21             }/*else if( !H4ACommonPlugin.inArray( tab, [ "currency", "paypal", "profile-page" ] ) ){
     21            }else if( !H4ACommonPlugin.inArray( tab, [ "currency", "paypal", "profile-page" ] ) ){
    2222                showAddonsModal( tab );
    23             }*/
     23            }
    2424        }
    2525       
  • wp-group-subscriptions/trunk/common/js/wgs-common-form.js

    r1993138 r2001785  
    5151        });
    5252
    53         var url = window.location.href;
     53        var url = h4aCommon.getCurrentUrl();
    5454        var a_url = url.split( '/' );
    5555        var selectorSubmitBtn, selectorForm;
  • wp-group-subscriptions/trunk/config/config.ini

    r1994175 r2001785  
    22title=WP Group Subscriptions
    33domain=wp-group-subscriptions
    4 version=0.1.4
     4version=0.1.5
    55initials=WGS
    66prefix=wgs_
  • wp-group-subscriptions/trunk/config/labels/back-end/labels.php

    r1993138 r2001785  
    177177__( "License key activated", $current_plugin_domain );
    178178__( "The license key has been deactivated for this domain", $current_plugin_domain );
     179
     180__( "currency", $current_plugin_domain );
     181__( "paypal", $current_plugin_domain );
     182__( "profile-page", $current_plugin_domain );
     183__( "premium", $current_plugin_domain );
     184__( "recaptcha", $current_plugin_domain );
     185__( "plans", $current_plugin_domain );
     186__( "license-key", $current_plugin_domain );
  • wp-group-subscriptions/trunk/config/pages.xml

    r1993138 r2001785  
    8282            <item ref="plan"/>
    8383            <wp_ajax>
    84                 <function file="wp-group-subscriptions/common/classes/PlanForms.php" class="H4APlugin\WPGroupSubs\Common\PlanForms" name="getAllPlanFormsAsOptionsByAjax" />
    85                 <function file="wp-group-subscriptions/common/classes/Plan.php" class="H4APlugin\WPGroupSubs\Common\Plan" name="getIntervalByPlanTypeByAjax" />
     84                <function file="wp-group-subscriptions/common/classes/units/PlanForms.php" class="H4APlugin\WPGroupSubs\Common\PlanForms" name="getAllPlanFormsAsOptionsByAjax" />
     85                <function file="wp-group-subscriptions/common/classes/units/Plan.php" class="H4APlugin\WPGroupSubs\Common\Plan" name="getIntervalByPlanTypeByAjax" />
    8686            </wp_ajax>
    8787        </template>
  • wp-group-subscriptions/trunk/core/Config.php

    r1993146 r2001785  
    11561156    }
    11571157
    1158     public static function get_options_names(){
     1158    public static function get_options_names( $only_slug = false ){
    11591159        $h4a_config = Config::getConfig();
    11601160        $options_names = array();
     
    11661166                    $attr_child = $child['@attributes'];
    11671167                    $slug = $attr_child['slug'];
    1168                     $options_names[] = Config::gen_options_name( $slug );
     1168                    if( $only_slug ){
     1169                        $options_names[] = $slug;
     1170                    }else{
     1171                        $options_names[] = Config::gen_options_name( $slug );
     1172                    }
    11691173                }
    11701174            }
  • wp-group-subscriptions/trunk/core/admin/features/form/css/admin-form-style.css

    r1993138 r2001785  
    8484 */
    8585
     86[class^='h4a-col'], [class*='h4a-col'] > *,
     87[class^='h4a-col'], [class*='h4a-col'] > span > *{
     88    width: 100%;
     89}
     90
    8691.h4a-col-12,
    8792.h4a-col-10,
  • wp-group-subscriptions/trunk/core/admin/features/log_reports/LogTemplate.php

    r1993138 r2001785  
    6666    {
    6767        wp_debug_log();
     68        wp_enqueue_script( "h4aadmintabsscript", $this->current_plugin_dir_url . "core/admin/features/tabs/js/admin-tabs.js" );
     69        wp_enqueue_style( "h4aadmintabsstyle", $this->current_plugin_dir_url . "core/admin/features/tabs/css/admin-tabs-style.css"  );
    6870        wp_enqueue_style( "h4aadminlogtemplate", $this->current_plugin_dir_url . "core/admin/features/log_reports/css/admin-log-reports-style.css" );
    6971        $this->set_additional_scripts();
  • wp-group-subscriptions/trunk/core/admin/features/modal/js/admin-modal-plugin.js

    r1993138 r2001785  
    4040            var modalFrameContent;
    4141            if( !isStrNullUndefinedEmpty( args.save ) ){
    42                 attrs = [ { 'type' : 'button' }, { 'classes' : [ 'button', 'button-primary', 'button-large' ] }, { 'value' : args.save.label_save } ];
     42                const is_ajax = isStrNullUndefinedEmpty( args.save.ajax ) || args.save.ajax;
     43                attrs = [ { 'type' : ( is_ajax ) ? 'button' : 'submit' }, { 'classes' : [ 'button', 'button-primary', 'button-large' ] }, { 'value' : args.save.label_save } ];
    4344                var saveButton = h4aCommon.makeHTMLItem( 'input', attrs);
    44                 saveButton.on( 'click', function(e) {
    45                     e.preventDefault();
    46                     $(this).attr("disabled", "disabled");
    47                     var $h4aModalForm = $('#h4a-modal-form');
    48                     if( $h4aModalForm[0].checkValidity() ) {
    49 
    50                         var $spinner = h4aCommonLoader.makeSpinner();
    51                         $(this).after( $spinner );
    52                         var data = {
    53                             'action': args.save.action,
    54                             'data': $h4aModalForm.serialize()
    55                         };
    56                         $.post( ajaxurl, data, function( response ) {
    57                             args.save['callback']( JSON.parse( response ) );
    58                             $spinner.remove();
    59                         });
    60                     }else{
    61                         $h4aModalForm[0].reportValidity();
    62                     }
    63                     $(this).attr("disabled", false);
    64                 });
     45                if( is_ajax ){
     46                    saveButton.on( 'click', function(e) {
     47                        e.preventDefault();
     48                        $(this).attr("disabled", "disabled");
     49                        var $h4aModalForm = $('#h4a-modal-form');
     50                        if( $h4aModalForm[0].checkValidity() ) {
     51                            var $spinner = h4aCommonLoader.makeSpinner();
     52                            $(this).after( $spinner );
     53                            var data = {
     54                                'action': args.save.action,
     55                                'data': $h4aModalForm.serialize()
     56                            };
     57                            $.post( ajaxurl, data, function( response ) {
     58                                args.save['callback']( JSON.parse( response ) );
     59                                $spinner.remove();
     60                            });
     61                        }else{
     62                            $h4aModalForm[0].reportValidity();
     63                        }
     64                        $(this).attr("disabled", false);
     65                    });
     66                }else{
     67                    args.url = h4aCommon.getCurrentUrl() + "&noheader=true";
     68                }
    6569                var modalFrameContentRight = h4aCommon.makeHTMLItem( 'div', [ { 'classes' : [ 'h4a-modal-content-right' ] } ]);
    6670                modalFrameContentRight.append( saveButton );
     
    7276                    modalFrameContentRight.append( messageWrapper );
    7377                }
    74 
     78                console.dir( args );
    7579                attrs = [
    7680                    { 'id' : 'h4a-modal-form' },
     
    7983                    { 'classes' : [ 'h4a-modal-frame-content' ] }
    8084                ];
     85
     86                if ( !isStrNullUndefinedEmpty( args.enctype ) )
     87                    attrs.push( { 'enctype' : args.enctype } );
    8188                modalFrameContent = h4aCommon.makeHTMLItem( 'form', attrs);
    8289                modalFrameContent.append( modalFrameContentLeft );
  • wp-group-subscriptions/trunk/core/admin/features/page/settings/SettingsTemplate.php

    r1993138 r2001785  
    44use function H4APlugin\Core\addHTMLinDOMDocument;
    55use H4APlugin\Core\Config;
     6use function H4APlugin\Core\format_str_from_kebabcase;
    67use function H4APlugin\Core\format_str_to_kebabcase;
    78use function H4APlugin\Core\get_current_plugin_dir_url;
     
    122123
    123124    public static function getWGSSettingTranslation(){
    124         $options_names =  Config::get_options_names();
     125        $options_names =  Config::get_options_names( true );
    125126        $current_plugin_domain = get_current_plugin_domain();
    126127        if( !empty( $options_names ) ){
    127             $tabs = array();
     128            $tabs = array();
    128129            foreach ( $options_names as $options_name ){
    129                 $tabs[ $options_name ] = __( "currency", $current_plugin_domain );
     130                $tabs[ $options_name ] = __( $options_name, $current_plugin_domain );
    130131            }
    131132            return array(
  • wp-group-subscriptions/trunk/core/admin/features/page/template/css/admin-edit-item-template.css

    r1993138 r2001785  
    2828/* 1.2 - .form-table */
    2929
    30 table.form-table td{
     30table.form-table > tbody > tr > td{
    3131    display: inline-flex;
    3232    align-items: flex-end;
     
    3636/* 1.3 - both ( .widefat, .form-table ) */
    3737
    38 table.form-table.widefat th{
     38table.form-table.widefat > tbody > tr > th{
    3939    padding-left: 5px;
    4040}
    4141
    42 table.form-table.widefat td{
     42table.form-table.widefat > tbody > tr > td{
    4343    align-items: stretch;
    4444    min-height: 28px;
    4545}
    4646
    47 table.form-table.widefat td > *{
     47table.form-table.widefat > tbody > tr > td > *{
    4848    margin : 0 2px;
    4949    display: inline-flex;
     
    5151}
    5252
    53 table.form-table.widefat td > label > *{
     53table.form-table.widefat > tbody > tr > td > label > *{
    5454    display: inline-flex;
    5555    align-items: center;
    5656}
    5757
    58 table.form-table.widefat td > label > input[type="checkbox"]{
     58table.form-table.widefat > tbody > tr > td > label > input[type="checkbox"]{
    5959    margin : 0;
    6060}
  • wp-group-subscriptions/trunk/core/common/features/form/CommonForm.php

    r1993138 r2001785  
    509509                                $html .= "</th>";
    510510                            }else{
    511                                 $html .=    ( $field['type'] === "textarea" ) ? '<td width="90%" style="display:flex; flex-direction:column;">' : "<td>";
     511                                $html .= sprintf('<td class="%s">',
     512                                    ( !empty( $field['col_size'] ) ) ? "h4a-col-".$field['col_size'] : "h4a-col-6"
     513                                    );
    512514                                $html .= $this->add_form_field( $field );
    513515                                $html .= "</td>";
  • wp-group-subscriptions/trunk/core/common/features/loader/js/common-loader-plugin.js

    r1993138 r2001785  
    1010        var h4aCommon = new H4ACommonPlugin;
    1111       
    12         H4ACommonLoaderPlugin.makeSpinner = function(){
     12        H4ACommonLoaderPlugin.makeSpinner = function( tag = "div" ){
    1313            var attrs = [ { 'classes' : [ 'h4a-loader' ] } ];
    14             return h4aCommon.makeHTMLItem( 'div', attrs );
     14            return h4aCommon.makeHTMLItem( tag, attrs );
    1515        };
    1616       
  • wp-group-subscriptions/trunk/core/common/js/common-plugin.js

    r1993138 r2001785  
    99            }
    1010            return false;
     11        };
     12
     13        H4ACommonPlugin.getCurrentUrl = function(){
     14            return window.location.href;
    1115        };
    1216
  • wp-group-subscriptions/trunk/core/helpers/js/helpers.js

    r1993138 r2001785  
    99function isStrNullUndefined( string ){
    1010    return ( string === null || string === undefined )
     11}
     12
     13function isObjectEmpty(obj) {
     14    for(var key in obj) {
     15        if(obj.hasOwnProperty(key))
     16            return false;
     17    }
     18    return true;
    1119}
    1220
  • wp-group-subscriptions/trunk/core/helpers/php/php-helpers-before-config.php

    r1993138 r2001785  
    1212 * 1.0  - Strings
    1313 * 2.0  - Numbers
    14  * 3.0  - Arrays
     14 * 3.0  - Arrays & Objects
    1515 * 4.0  - Date & time
    1616 * 5.0  - Urls & paths
     
    8585    function format_str_from_underscorecase( $str, $is_uc_first = true ) {
    8686        $str_replace = str_replace( "_", " ", $str );
     87        return ( $is_uc_first ) ? ucfirst( $str_replace ) : $str_replace;
     88    }
     89}
     90
     91if( !function_exists( "H4APlugin\Core\\format_str_from_kebabcase" ) ) {
     92    function format_str_from_kebabcase( $str, $is_uc_first = true ) {
     93        $str_replace = str_replace( "-", " ", $str );
    8794        return ( $is_uc_first ) ? ucfirst( $str_replace ) : $str_replace;
    8895    }
     
    248255    }
    249256}
     257if( !function_exists( "H4APlugin\Core\\backward_explode" ) ) {
     258    function backward_explode($delimiter, $string, $limit = null, $keep_order = true) {
     259        if ((string)$delimiter === "") {
     260            return false;
     261        }
     262
     263        if ($limit === 0 || $limit === 1) {
     264            return array($string);
     265        }
     266
     267        $explode = explode($delimiter, $string);
     268
     269        if ($limit === null || $limit === count($explode)) {
     270            return $keep_order? $explode : array_reverse($explode);
     271        }
     272
     273        $parts = array();
     274
     275        if ($limit > 0) {
     276            for ($i = 1; $i < $limit; $i++) {
     277                $parts[] = array_pop($explode);
     278            }
     279            $remainder = implode($delimiter, $explode);
     280            $parts[] = $remainder;
     281            if ($keep_order) {
     282                $parts = array_reverse($parts);
     283            }
     284        } else {
     285            if (strpos($string, $delimiter) === false) {
     286                return array();
     287            }
     288            $parts = $explode;
     289            array_splice($parts, 0, abs($limit));
     290            if (!$keep_order) {
     291                $parts = array_reverse($parts);
     292            }
     293        }
     294
     295        return $parts;
     296    }
     297}
    250298
    251299if( !function_exists( "H4APlugin\Core\\format_attrs" ) ) {
     
    342390
    343391/**
    344  * 3.0 - Arrays
     392 * 3.0 - Arrays & Objects
    345393 * -----------------------------------------------------------------------------
    346394 */
     
    661709     */
    662710    function include_dir_r( $dir_path, $regex_filename_filter = "", $exclude_underscore = true ) {
    663 
    664711        if( is_dir_empty( $dir_path ) )
    665712            return false;
    666 
    667         $path      = realpath( $dir_path );
    668         $directory = new \RecursiveDirectoryIterator( $path );
    669713        if ( $exclude_underscore ) {
    670             $underscrore_filter = new DirnameFilter( $directory, "/^(?!_)/" );
    671             $underscrore_filter = new FilenameFilter( $underscrore_filter, "/^(?!_).*(\.php)$/" );
    672             $files           = new \RecursiveIteratorIterator( $underscrore_filter );
     714            $dir_filter = "/^(?!_)/";
     715            $file_filter = "/^(?!_).*(\.php)$/";
    673716        } else {
    674             $files = new \RecursiveIteratorIterator( $directory );
    675         }
     717            $dir_filter = null;
     718            $file_filter = null;
     719        }
     720        $files = get_subdir_filtered( $dir_path, $dir_filter, $file_filter );
    676721        if ( isset( $files ) ) {
    677722            foreach ( $files as $name => $object ) {
     
    697742}
    698743
    699 if( !function_exists( "H4APlugin\Core\get_all_sub_dir_names" ) ) {
    700     function get_all_sub_dir_names( $dir_path ) {
    701         $dir_names   = array();
    702         $a_dir_paths = array_filter( glob( $dir_path . "/*" ), function ( $dir_path, $k ){
    703             $a_name  = explode( "/", $dir_path );
    704             $subject = $a_name[ count( $a_name ) - 1 ];
    705             if ( is_dir( $dir_path ) && preg_match( "/^(?!_)/", $subject ) ) {
    706                 return $k = $dir_path;
    707             }
    708             return $k;
    709         }, ARRAY_FILTER_USE_BOTH );
    710         foreach ( $a_dir_paths as $dir_path ) {
    711             $a_name      = explode( "/", $dir_path );
    712             $dir_name    = $a_name[ count( $a_name ) - 1 ];
    713             $dir_names[] = $dir_name;
    714         }
    715 
    716         return $dir_names;
     744if( !function_exists( "H4APlugin\Core\get_dir_content_to_array" ) ) {
     745    function get_dir_content_to_array( string $dir_path, string $dir_filter = null, string $file_filter = null ) {
     746        if( is_dir_empty( $dir_path ) )
     747            return false;
     748        $output = array();
     749        $files = get_subdir_filtered( $dir_path, $dir_filter, $file_filter );
     750        if ( isset( $files ) ) {
     751            $paths = [];
     752            $f = 1;
     753            foreach ( $files as $name => $object ) {
     754                if ( $object->getFilename() !== "." && $object->getFilename() !== ".." ) {
     755                    // Split by the delimiter.
     756                    $delimiter       = "/";
     757                    $name            = str_replace( "\\", $delimiter, $name );
     758                    $relative_path   = str_replace( $dir_path, "", $name );
     759                    $a_relative_path = explode( $delimiter, $relative_path );
     760                    $path = array_pop($a_relative_path);
     761                    foreach ( array_reverse( $a_relative_path ) as $pathPart ) {
     762                        $path = [ "_" . $pathPart => $path ];
     763                    }
     764                    // Add it to a temp list.
     765                    //wp_debug_log( serialize( $path ) );
     766                    $paths[] = (array) $path;
     767                    $f++;
     768                }
     769                //$output = array_merge( $paths[0], $paths[1], $paths[2] );
     770                $output = call_user_func_array( 'array_merge_recursive', $paths );
     771            }
     772        }
     773        return $output;
     774    }
     775}
     776
     777if( !function_exists( "H4APlugin\Core\get_subdir_filtered" ) ) {
     778    /**
     779     * @param $dir_path
     780     * @param $dir_filter
     781     * @param $file_filter
     782     *
     783     * @return \RecursiveIteratorIterator|null
     784     */
     785    function get_subdir_filtered( $dir_path, $dir_filter, $file_filter ) {
     786        $path      = realpath( $dir_path );
     787        $directory = new \RecursiveDirectoryIterator( $path );
     788        $files = null;
     789        if ( ! empty( $dir_filter ) || ! empty( $file_filter ) ) {
     790            if ( ! empty( $dir_filter ) ) {
     791                $filter = new DirnameFilter( $directory, $dir_filter );
     792            }
     793            if ( ! empty( $file_filter ) ) {
     794                $filter = new FilenameFilter( $filter, $file_filter );
     795            }
     796            $files = new \RecursiveIteratorIterator( $filter );
     797        } else {
     798            $files = new \RecursiveIteratorIterator( $directory );
     799        }
     800        return $files;
     801    }
     802}
     803
     804if( !function_exists( "H4APlugin\Core\go_back_path" ) ) {
     805    /**
     806     * @param $path
     807     *
     808     * @return string
     809     */
     810    function go_back_path( &$path ): string {
     811        $path = rtrim( $path, "/");
     812        $a_path = explode( "/", $path );
     813        unset( $a_path[ count( $a_path ) - 1 ] );
     814        $path = "";
     815        foreach ( $a_path as $partPath ) {
     816            $path .= $partPath . "/";
     817        }
     818
     819        return $path;
    717820    }
    718821}
  • wp-group-subscriptions/trunk/front-end/shortcodes/activation/ActivationShortcode.php

    r1993138 r2001785  
    3535
    3636    public static function is_redirection() {
     37        wp_debug_log();
    3738        if( Member::isAccountAlreadyActive( $_GET['e'] ) ) {
    3839            $args = array(
  • wp-group-subscriptions/trunk/front-end/shortcodes/restricted-content/RestrictedContentShortcode.php

    r1993138 r2001785  
    33namespace H4APlugin\WPGroupSubs\Shortcodes;
    44
     5use function H4APlugin\Core\asBoolean;
    56use H4APlugin\WPGroupSubs\Common\Member;
    67
     
    1314
    1415    public static function getCallBack( $atts = null, $content = null ){
    15         if( !Member::isLoggedIn() ){
    16             return sprintf( '<p class="h4a-alert h4a-alert-warning"><span class="dashicons dashicons-lock"></span>%s</p>', __("Content only for subscribed members."));
     16        if( Member::isLoggedIn() ){
     17            return do_shortcode( $content );
    1718        }else{
    18             return do_shortcode( $content );
     19            if( ( !isset( $atts['message'] ) || asBoolean( $atts['message'] ) )
     20            ){
     21                return sprintf( '<p class="h4a-alert h4a-alert-warning"><span class="dashicons dashicons-lock"></span>%s</p>', __("Content only for subscribed members."));
     22            }else{
     23                return null;
     24            }
    1925        }
    2026    }
  • wp-group-subscriptions/trunk/readme.txt

    r1994175 r2001785  
    33Contributors: Hive 4 Apps
    44Tags: members, paid members, subscribers, group subscription, subscription form
    5 Tested up to: 4.9.6
     5Tested up to: 5.0.2
    66Requires PHP: 7.0.29
    7 Stable tag: 0.1.4
     7Stable tag: 0.1.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8585== Changelog ==
    8686
     87= 0.1.5 =
     88* BUG FIX: Replaced some file paths in ajax function config.
     89* FEATURE: Options to display the message or not for restricted content if the member is not logged in.
     90* BUG FIX: Display modal for premium features in settings.
     91
    8792= 0.1.4 =
    8893* BUG FIX: Repaired filter for forms working with the recaptcha addon
  • wp-group-subscriptions/trunk/translations/wp-group-subscriptions-fr_FR.po

    r1993138 r2001785  
    22msgstr ""
    33"Project-Id-Version: My Plugin\n"
    4 "POT-Creation-Date: 2018-12-03 16:37-0200\n"
    5 "PO-Revision-Date: 2018-12-03 16:39-0200\n"
     4"POT-Creation-Date: 2018-12-20 18:15-0200\n"
     5"PO-Revision-Date: 2018-12-20 18:20-0200\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    11811181
    11821182#: config/labels/back-end/labels.php:21
    1183 #: core/helpers/php/php-helpers-before-config.php:1228
     1183#: core/helpers/php/php-helpers-before-config.php:1331
    11841184#, php-format
    11851185msgid ""
     
    17101710msgstr "La license a été désactivée pour ce domaine"
    17111711
     1712#: config/labels/back-end/labels.php:180
     1713msgid "currency"
     1714msgstr "devise"
     1715
     1716#: config/labels/back-end/labels.php:181
     1717msgid "paypal"
     1718msgstr "paypal"
     1719
     1720#: config/labels/back-end/labels.php:182
     1721msgid "profile-page"
     1722msgstr "page-profile"
     1723
     1724#: config/labels/back-end/labels.php:183 core/init.php:63
     1725msgid "premium"
     1726msgstr "premium"
     1727
     1728#: config/labels/back-end/labels.php:184
     1729msgid "recaptcha"
     1730msgstr "recaptcha"
     1731
     1732#: config/labels/back-end/labels.php:185
     1733msgid "plans"
     1734msgstr "abonnements"
     1735
     1736#: config/labels/back-end/labels.php:186
     1737msgid "license-key"
     1738msgstr "cle-license"
     1739
    17121740#: config/labels/front-end/labels.php:10
    17131741msgid "Single subscription"
     
    19291957"\" (options premium) avant."
    19301958
    1931 #: core/admin/H4AAdminPlugin.php:133
     1959#: core/admin/H4AAdminPlugin.php:134
    19321960msgid "Settings"
    19331961msgstr "Réglages"
     
    19772005msgstr "Supprimer tous les registres"
    19782006
    1979 #: core/admin/features/page/settings/SettingsTemplate.php:129
    1980 msgid "currency"
    1981 msgstr "devise"
    1982 
    1983 #: core/admin/features/page/settings/SettingsTemplate.php:134
     2007#: core/admin/features/page/settings/SettingsTemplate.php:135
    19842008msgid "This option is not active yet."
    19852009msgstr "Cette option n'est pas encore active."
    19862010
    1987 #: core/admin/features/page/settings/SettingsTemplate.php:135
     2011#: core/admin/features/page/settings/SettingsTemplate.php:136
    19882012msgid "This option is a Premium version feature. It's included in ... "
    19892013msgstr ""
     
    19912015"dans ... "
    19922016
    1993 #: core/admin/features/page/settings/SettingsTemplate.php:136
     2017#: core/admin/features/page/settings/SettingsTemplate.php:137
    19942018msgid "addon"
    19952019msgstr "addon"
    19962020
    1997 #: core/admin/features/page/settings/SettingsTemplate.php:138
     2021#: core/admin/features/page/settings/SettingsTemplate.php:139
    19982022msgid "Get this option in a 3 steps"
    19992023msgstr "Obtenir cette option en 3 étapes"
    20002024
    2001 #: core/admin/features/page/settings/SettingsTemplate.php:139
     2025#: core/admin/features/page/settings/SettingsTemplate.php:140
    20022026msgid "Get the premium version"
    20032027msgstr "Obtenir la version Premium"
    20042028
    2005 #: core/admin/features/page/settings/SettingsTemplate.php:140
     2029#: core/admin/features/page/settings/SettingsTemplate.php:141
    20062030msgid "Insert your license key."
    20072031msgstr "Insérer votre clé de licence."
    20082032
    2009 #: core/admin/features/page/settings/SettingsTemplate.php:141
     2033#: core/admin/features/page/settings/SettingsTemplate.php:142
    20102034msgid "Enjoy with the new settings!"
    20112035msgstr "Profitez des nouveaux paramètres !"
     
    20172041
    20182042#: core/admin/features/page/template/EditItemTemplate.php:133
    2019 #: front-end/shortcodes/activation/ActivationShortcode.php:163
     2043#: front-end/shortcodes/activation/ActivationShortcode.php:164
    20202044#: front-end/shortcodes/my-profile/profile-account/ProfileAccountShortcode.php:61
    20212045#: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:585
     
    21522176msgstr "Page précédente"
    21532177
     2178#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:396
     2179msgid "Check for updates"
     2180msgstr "Vérifier les mises à jour"
     2181
     2182#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:433
     2183msgid "View details"
     2184msgstr "Voir le détail"
     2185
     2186#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:456
     2187#, php-format
     2188msgid "More information about %s"
     2189msgstr "Plus d´information à propos de %s"
     2190
     2191#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:549
     2192#, php-format
     2193msgctxt "the plugin title"
     2194msgid "The %s plugin is up to date."
     2195msgstr "L´extension %s a été mise à jour. "
     2196
     2197#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:551
     2198#, php-format
     2199msgctxt "the plugin title"
     2200msgid "A new version of the %s plugin is available."
     2201msgstr "Une nouvelle version de l'extension %s est disponible."
     2202
     2203#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:553
     2204#, php-format
     2205msgctxt "the plugin title"
     2206msgid "Could not determine if updates are available for %s."
     2207msgstr ""
     2208"Il est impossible de déterminer si des mises à jour sont disponibles pour %s."
     2209
     2210#: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:559
     2211#, php-format
     2212msgid "Unknown update checker status \"%s\""
     2213msgstr "Statut inconnu du vérificateur de mise à jour \"%s\""
     2214
     2215#: core/admin/features/update/Puc/v4p4/Vcs/PluginUpdateChecker.php:99
     2216msgid "There is no changelog available."
     2217msgstr "Il n’y a aucun historique des mises à jour disponible."
     2218
    21542219#: core/common/features/countries/Countries.php:29
    21552220msgid "Please select your country"
     
    21602225msgstr "Veuillez sélectionner votre devise"
    21612226
    2162 #: core/common/features/form/CommonForm.php:892
    2163 #: core/common/features/form/CommonForm.php:895
    2164 #: core/common/features/form/CommonForm.php:904
     2227#: core/common/features/form/CommonForm.php:894
     2228#: core/common/features/form/CommonForm.php:897
    21652229#: core/common/features/form/CommonForm.php:906
     2230#: core/common/features/form/CommonForm.php:908
    21662231msgid "email"
    21672232msgstr "email"
    21682233
    2169 #: core/common/features/form/CommonForm.php:899
     2234#: core/common/features/form/CommonForm.php:901
    21702235#: core/common/features/paypal/Paypal.php:462
    21712236msgid "Email"
    21722237msgstr "Email"
    21732238
    2174 #: core/common/features/form/CommonForm.php:961
     2239#: core/common/features/form/CommonForm.php:963
    21752240msgid "group name"
    21762241msgstr "nom du groupe"
    21772242
    2178 #: core/common/features/form/CommonForm.php:988
    2179 #: core/common/features/form/CommonForm.php:992
     2243#: core/common/features/form/CommonForm.php:990
     2244#: core/common/features/form/CommonForm.php:994
    21802245msgid "phone code"
    21812246msgstr "code téléphone"
    21822247
    2183 #: core/common/features/form/CommonForm.php:995
     2248#: core/common/features/form/CommonForm.php:997
    21842249msgid "phone number"
    21852250msgstr "numéro de téléphone"
    21862251
    2187 #: core/common/features/form/CommonForm.php:1022
     2252#: core/common/features/form/CommonForm.php:1024
    21882253msgid "street number"
    21892254msgstr "numéro de voie"
    21902255
    2191 #: core/common/features/form/CommonForm.php:1025
     2256#: core/common/features/form/CommonForm.php:1027
    21922257msgid "street name"
    21932258msgstr "nom de la rue"
    21942259
    2195 #: core/common/features/form/CommonForm.php:1028
     2260#: core/common/features/form/CommonForm.php:1030
    21962261msgid "zip code"
    21972262msgstr "code postal"
    21982263
    2199 #: core/common/features/form/CommonForm.php:1031
     2264#: core/common/features/form/CommonForm.php:1033
    22002265msgid "city"
    22012266msgstr "ville"
    22022267
    2203 #: core/common/features/form/CommonForm.php:1035
     2268#: core/common/features/form/CommonForm.php:1037
    22042269msgid "country"
    22052270msgstr "pays"
    22062271
    2207 #: core/common/features/form/CommonForm.php:1061
    2208 #: core/common/features/form/CommonForm.php:1065
     2272#: core/common/features/form/CommonForm.php:1063
     2273#: core/common/features/form/CommonForm.php:1067
    22092274msgid "password"
    22102275msgstr "mot de passe"
    22112276
    2212 #: core/common/features/form/CommonForm.php:1103
     2277#: core/common/features/form/CommonForm.php:1105
    22132278#, php-format
    22142279msgid "Your %s is too short ( minimum %s characters )"
    22152280msgstr "Votre %s est trop court ( minimum %s caractères )"
    22162281
    2217 #: core/common/features/form/CommonForm.php:1115
     2282#: core/common/features/form/CommonForm.php:1117
    22182283#, php-format
    22192284msgid "Your %s is too long"
    22202285msgstr "Votre %s est trop long"
    22212286
    2222 #: core/common/features/form/CommonForm.php:1128
    2223 #: core/common/features/form/CommonForm.php:1132
     2287#: core/common/features/form/CommonForm.php:1130
     2288#: core/common/features/form/CommonForm.php:1134
    22242289#, php-format
    22252290msgid "Invalid %s format"
    22262291msgstr "Le format du champ '%s' n'est pas valide"
    22272292
    2228 #: core/common/features/form/CommonForm.php:1158
     2293#: core/common/features/form/CommonForm.php:1160
    22292294#, php-format
    22302295msgid "The %s value is not a number format"
    22312296msgstr "La valeur %s n'est pas un format de type nombre"
    22322297
    2233 #: core/common/features/form/CommonForm.php:1180
     2298#: core/common/features/form/CommonForm.php:1182
    22342299#, php-format
    22352300msgid "%s does not match"
    22362301msgstr "%s n'est pas identique"
    22372302
    2238 #: core/common/features/form/CommonForm.php:1203
     2303#: core/common/features/form/CommonForm.php:1205
    22392304#, php-format
    22402305msgid "The member %s already exists!"
    22412306msgstr "Le membre %s existe déjà !"
    22422307
    2243 #: core/common/features/form/CommonForm.php:1205
     2308#: core/common/features/form/CommonForm.php:1207
    22442309msgid "This account already exists!"
    22452310msgstr "Ce compte existe déjà !"
    22462311
    2247 #: core/common/features/form/CommonForm.php:1208
     2312#: core/common/features/form/CommonForm.php:1210
    22482313#, php-format
    22492314msgid "This %s already exists!"
     
    23112376msgstr "Champ requis"
    23122377
    2313 #: core/helpers/php/php-helpers-before-config.php:579
     2378#: core/helpers/php/php-helpers-before-config.php:627
    23142379msgid "Year(s)"
    23152380msgstr "Année(s)"
    23162381
    2317 #: core/helpers/php/php-helpers-before-config.php:580
     2382#: core/helpers/php/php-helpers-before-config.php:628
    23182383msgid "Month(s)"
    23192384msgstr "Mois"
    23202385
    2321 #: core/helpers/php/php-helpers-before-config.php:581
     2386#: core/helpers/php/php-helpers-before-config.php:629
    23222387msgid "Day(s)"
    23232388msgstr "Jour(s)"
    23242389
    2325 #: core/helpers/php/php-helpers-before-config.php:1171
     2390#: core/helpers/php/php-helpers-before-config.php:1274
    23262391msgid "WP Group Subscription license activation error : "
    23272392msgstr "Erreur de l´activation de la license WP Group Subscription : "
    23282393
    2329 #: core/helpers/php/php-helpers-before-config.php:1178
    2330 #: core/helpers/php/php-helpers-before-config.php:1282
     2394#: core/helpers/php/php-helpers-before-config.php:1281
     2395#: core/helpers/php/php-helpers-before-config.php:1385
    23312396msgid "Please complete correctly license login information."
    23322397msgstr ""
    23332398"Veuillez remplir correctement les informations de connexion de licence."
    23342399
    2335 #: core/helpers/php/php-helpers-before-config.php:1275
     2400#: core/helpers/php/php-helpers-before-config.php:1378
    23362401msgid "WP Group Subscription license deactivation error : "
    23372402msgstr "Erreur de la désactivation de la license WP Group Subscription : "
     
    24052470"l'administrateur"
    24062471
    2407 #: core/init.php:63
    2408 msgid "premium"
    2409 msgstr "premium"
    2410 
    2411 #: front-end/shortcodes/activation/ActivationShortcode.php:89
     2472#: front-end/shortcodes/activation/ActivationShortcode.php:90
    24122473#: front-end/shortcodes/payment-return/views/view-payment-return.php:11
    24132474#, php-format
     
    24152476msgstr "Bienvenu sur %s !"
    24162477
    2417 #: front-end/shortcodes/activation/ActivationShortcode.php:90
     2478#: front-end/shortcodes/activation/ActivationShortcode.php:91
    24182479msgid ""
    24192480"To access all documents, please activate your member account by filling in "
     
    24232484"remplissant les informations suivantes."
    24242485
    2425 #: front-end/shortcodes/activation/ActivationShortcode.php:143
     2486#: front-end/shortcodes/activation/ActivationShortcode.php:144
    24262487#: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:463
    24272488#, php-format
     
    24292490msgstr "Veuillez cocher la case \"%s\""
    24302491
    2431 #: front-end/shortcodes/activation/ActivationShortcode.php:143
     2492#: front-end/shortcodes/activation/ActivationShortcode.php:144
    24322493#: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:463
    24332494msgid "I am not a robot"
     
    26582719msgstr "S'inscrire"
    26592720
    2660 #: front-end/shortcodes/restricted-content/RestrictedContentShortcode.php:16
     2721#: front-end/shortcodes/restricted-content/RestrictedContentShortcode.php:21
    26612722msgid "Content only for subscribed members."
    26622723msgstr "Contenu réservé uniquement pour les abonnés."
    26632724
    26642725#. Plugin Name of the plugin/theme
    2665 msgid "WGS - WP Group Subscriptions"
    2666 msgstr "WGS - WP Group Subscriptions"
     2726msgid "@initials@ - @plugin_name@"
     2727msgstr "@initials@ - @plugin_name@"
    26672728
    26682729#. Plugin URI of the plugin/theme
    2669 msgid "http://wp-group-subscriptions.com"
    2670 msgstr "http://wp-group-subscriptions.com"
     2730msgid "@plugin_uri@"
     2731msgstr "@plugin_uri@"
    26712732
    26722733#. Description of the plugin/theme
    2673 msgid ""
    2674 "Accepts paying group registrations. Gives access to restricted content for "
    2675 "members or groups of members."
    2676 msgstr ""
    2677 "Accepte les inscriptions payantes de groupes. Donne l'accès à du contenu "
    2678 "restreint pour des membres ou groupe de membres."
     2734msgid "@description@"
     2735msgstr "@description@"
    26792736
    26802737#. Author of the plugin/theme
    2681 msgid "Hive 4 Apps"
    2682 msgstr "Hive 4 Apps"
     2738msgid "@author@"
     2739msgstr "@author@"
    26832740
    26842741#. Author URI of the plugin/theme
    2685 msgid "http://www.hive-4-apps.org/"
    2686 msgstr "http://www.hive-4-apps.org/"
    2687 
    2688 #~ msgid "profile-page"
    2689 #~ msgstr "page-profile"
     2742msgid "@author_uri@"
     2743msgstr "@author_uri@"
     2744
     2745#~ msgid "WGS - WP Group Subscriptions"
     2746#~ msgstr "WGS - WP Group Subscriptions"
     2747
     2748#~ msgid "http://wp-group-subscriptions.com"
     2749#~ msgstr "http://wp-group-subscriptions.com"
     2750
     2751#~ msgid ""
     2752#~ "Accepts paying group registrations. Gives access to restricted content "
     2753#~ "for members or groups of members."
     2754#~ msgstr ""
     2755#~ "Accepte les inscriptions payantes de groupes. Donne l'accès à du contenu "
     2756#~ "restreint pour des membres ou groupe de membres."
     2757
     2758#~ msgid "Hive 4 Apps"
     2759#~ msgstr "Hive 4 Apps"
     2760
     2761#~ msgid "http://www.hive-4-apps.org/"
     2762#~ msgstr "http://www.hive-4-apps.org/"
    26902763
    26912764#~ msgid "Impossible to restore the plan '%s' from the trash!"
     
    27692842#~ msgid "Encoding"
    27702843#~ msgstr "Encodement"
    2771 
    2772 #~ msgid "Description"
    2773 #~ msgstr "Description"
    2774 
    2775 #~ msgid "Author"
    2776 #~ msgstr "Auteur"
    27772844
    27782845#~ msgid "Advanced"
Note: See TracChangeset for help on using the changeset viewer.