Changeset 2001785
- Timestamp:
- 12/26/2018 04:56:01 PM (7 years ago)
- Location:
- wp-group-subscriptions
- Files:
-
- 23 edited
-
tags/0.1.1/core/helpers/php/php-helpers-before-config.php (modified) (1 diff)
-
trunk/WPGroupSubs.php (modified) (1 diff)
-
trunk/admin/headings/settings/js/settings.js (modified) (1 diff)
-
trunk/common/js/wgs-common-form.js (modified) (1 diff)
-
trunk/config/config.ini (modified) (1 diff)
-
trunk/config/labels/back-end/labels.php (modified) (1 diff)
-
trunk/config/pages.xml (modified) (1 diff)
-
trunk/core/Config.php (modified) (2 diffs)
-
trunk/core/admin/features/form/css/admin-form-style.css (modified) (1 diff)
-
trunk/core/admin/features/log_reports/LogTemplate.php (modified) (1 diff)
-
trunk/core/admin/features/modal/js/admin-modal-plugin.js (modified) (3 diffs)
-
trunk/core/admin/features/page/settings/SettingsTemplate.php (modified) (2 diffs)
-
trunk/core/admin/features/page/template/css/admin-edit-item-template.css (modified) (3 diffs)
-
trunk/core/common/features/form/CommonForm.php (modified) (1 diff)
-
trunk/core/common/features/loader/js/common-loader-plugin.js (modified) (1 diff)
-
trunk/core/common/js/common-plugin.js (modified) (1 diff)
-
trunk/core/helpers/js/helpers.js (modified) (1 diff)
-
trunk/core/helpers/php/php-helpers-before-config.php (modified) (6 diffs)
-
trunk/front-end/shortcodes/activation/ActivationShortcode.php (modified) (1 diff)
-
trunk/front-end/shortcodes/restricted-content/RestrictedContentShortcode.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/translations/wp-group-subscriptions-fr_FR.mo (modified) (previous)
-
trunk/translations/wp-group-subscriptions-fr_FR.po (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-group-subscriptions/tags/0.1.1/core/helpers/php/php-helpers-before-config.php
r1993138 r2001785 700 700 function get_all_sub_dir_names( $dir_path ) { 701 701 $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 ){ 703 703 $a_name = explode( "/", $dir_path ); 704 704 $subject = $a_name[ count( $a_name ) - 1 ]; -
wp-group-subscriptions/trunk/WPGroupSubs.php
r1994175 r2001785 4 4 Plugin URI: https://wp-group-subscriptions.com 5 5 Description: Accepts paying group registrations. Gives access to restricted content for members or groups of members. 6 Version: 0.1. 46 Version: 0.1.5 7 7 Author: Hive 4 Apps 8 8 Author URI: http://www.hive-4-apps.org/ -
wp-group-subscriptions/trunk/admin/headings/settings/js/settings.js
r1994175 r2001785 19 19 } 20 20 } 21 } /*else if( !H4ACommonPlugin.inArray( tab, [ "currency", "paypal", "profile-page" ] ) ){21 }else if( !H4ACommonPlugin.inArray( tab, [ "currency", "paypal", "profile-page" ] ) ){ 22 22 showAddonsModal( tab ); 23 } */23 } 24 24 } 25 25 -
wp-group-subscriptions/trunk/common/js/wgs-common-form.js
r1993138 r2001785 51 51 }); 52 52 53 var url = window.location.href;53 var url = h4aCommon.getCurrentUrl(); 54 54 var a_url = url.split( '/' ); 55 55 var selectorSubmitBtn, selectorForm; -
wp-group-subscriptions/trunk/config/config.ini
r1994175 r2001785 2 2 title=WP Group Subscriptions 3 3 domain=wp-group-subscriptions 4 version=0.1. 44 version=0.1.5 5 5 initials=WGS 6 6 prefix=wgs_ -
wp-group-subscriptions/trunk/config/labels/back-end/labels.php
r1993138 r2001785 177 177 __( "License key activated", $current_plugin_domain ); 178 178 __( "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 82 82 <item ref="plan"/> 83 83 <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" /> 86 86 </wp_ajax> 87 87 </template> -
wp-group-subscriptions/trunk/core/Config.php
r1993146 r2001785 1156 1156 } 1157 1157 1158 public static function get_options_names( ){1158 public static function get_options_names( $only_slug = false ){ 1159 1159 $h4a_config = Config::getConfig(); 1160 1160 $options_names = array(); … … 1166 1166 $attr_child = $child['@attributes']; 1167 1167 $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 } 1169 1173 } 1170 1174 } -
wp-group-subscriptions/trunk/core/admin/features/form/css/admin-form-style.css
r1993138 r2001785 84 84 */ 85 85 86 [class^='h4a-col'], [class*='h4a-col'] > *, 87 [class^='h4a-col'], [class*='h4a-col'] > span > *{ 88 width: 100%; 89 } 90 86 91 .h4a-col-12, 87 92 .h4a-col-10, -
wp-group-subscriptions/trunk/core/admin/features/log_reports/LogTemplate.php
r1993138 r2001785 66 66 { 67 67 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" ); 68 70 wp_enqueue_style( "h4aadminlogtemplate", $this->current_plugin_dir_url . "core/admin/features/log_reports/css/admin-log-reports-style.css" ); 69 71 $this->set_additional_scripts(); -
wp-group-subscriptions/trunk/core/admin/features/modal/js/admin-modal-plugin.js
r1993138 r2001785 40 40 var modalFrameContent; 41 41 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 } ]; 43 44 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 } 65 69 var modalFrameContentRight = h4aCommon.makeHTMLItem( 'div', [ { 'classes' : [ 'h4a-modal-content-right' ] } ]); 66 70 modalFrameContentRight.append( saveButton ); … … 72 76 modalFrameContentRight.append( messageWrapper ); 73 77 } 74 78 console.dir( args ); 75 79 attrs = [ 76 80 { 'id' : 'h4a-modal-form' }, … … 79 83 { 'classes' : [ 'h4a-modal-frame-content' ] } 80 84 ]; 85 86 if ( !isStrNullUndefinedEmpty( args.enctype ) ) 87 attrs.push( { 'enctype' : args.enctype } ); 81 88 modalFrameContent = h4aCommon.makeHTMLItem( 'form', attrs); 82 89 modalFrameContent.append( modalFrameContentLeft ); -
wp-group-subscriptions/trunk/core/admin/features/page/settings/SettingsTemplate.php
r1993138 r2001785 4 4 use function H4APlugin\Core\addHTMLinDOMDocument; 5 5 use H4APlugin\Core\Config; 6 use function H4APlugin\Core\format_str_from_kebabcase; 6 7 use function H4APlugin\Core\format_str_to_kebabcase; 7 8 use function H4APlugin\Core\get_current_plugin_dir_url; … … 122 123 123 124 public static function getWGSSettingTranslation(){ 124 $options_names = Config::get_options_names( );125 $options_names = Config::get_options_names( true ); 125 126 $current_plugin_domain = get_current_plugin_domain(); 126 127 if( !empty( $options_names ) ){ 127 $tabs = array();128 $tabs = array(); 128 129 foreach ( $options_names as $options_name ){ 129 $tabs[ $options_name ] = __( "currency", $current_plugin_domain );130 $tabs[ $options_name ] = __( $options_name, $current_plugin_domain ); 130 131 } 131 132 return array( -
wp-group-subscriptions/trunk/core/admin/features/page/template/css/admin-edit-item-template.css
r1993138 r2001785 28 28 /* 1.2 - .form-table */ 29 29 30 table.form-table td{30 table.form-table > tbody > tr > td{ 31 31 display: inline-flex; 32 32 align-items: flex-end; … … 36 36 /* 1.3 - both ( .widefat, .form-table ) */ 37 37 38 table.form-table.widefat th{38 table.form-table.widefat > tbody > tr > th{ 39 39 padding-left: 5px; 40 40 } 41 41 42 table.form-table.widefat td{42 table.form-table.widefat > tbody > tr > td{ 43 43 align-items: stretch; 44 44 min-height: 28px; 45 45 } 46 46 47 table.form-table.widefat td > *{47 table.form-table.widefat > tbody > tr > td > *{ 48 48 margin : 0 2px; 49 49 display: inline-flex; … … 51 51 } 52 52 53 table.form-table.widefat td > label > *{53 table.form-table.widefat > tbody > tr > td > label > *{ 54 54 display: inline-flex; 55 55 align-items: center; 56 56 } 57 57 58 table.form-table.widefat td > label > input[type="checkbox"]{58 table.form-table.widefat > tbody > tr > td > label > input[type="checkbox"]{ 59 59 margin : 0; 60 60 } -
wp-group-subscriptions/trunk/core/common/features/form/CommonForm.php
r1993138 r2001785 509 509 $html .= "</th>"; 510 510 }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 ); 512 514 $html .= $this->add_form_field( $field ); 513 515 $html .= "</td>"; -
wp-group-subscriptions/trunk/core/common/features/loader/js/common-loader-plugin.js
r1993138 r2001785 10 10 var h4aCommon = new H4ACommonPlugin; 11 11 12 H4ACommonLoaderPlugin.makeSpinner = function( ){12 H4ACommonLoaderPlugin.makeSpinner = function( tag = "div" ){ 13 13 var attrs = [ { 'classes' : [ 'h4a-loader' ] } ]; 14 return h4aCommon.makeHTMLItem( 'div', attrs );14 return h4aCommon.makeHTMLItem( tag, attrs ); 15 15 }; 16 16 -
wp-group-subscriptions/trunk/core/common/js/common-plugin.js
r1993138 r2001785 9 9 } 10 10 return false; 11 }; 12 13 H4ACommonPlugin.getCurrentUrl = function(){ 14 return window.location.href; 11 15 }; 12 16 -
wp-group-subscriptions/trunk/core/helpers/js/helpers.js
r1993138 r2001785 9 9 function isStrNullUndefined( string ){ 10 10 return ( string === null || string === undefined ) 11 } 12 13 function isObjectEmpty(obj) { 14 for(var key in obj) { 15 if(obj.hasOwnProperty(key)) 16 return false; 17 } 18 return true; 11 19 } 12 20 -
wp-group-subscriptions/trunk/core/helpers/php/php-helpers-before-config.php
r1993138 r2001785 12 12 * 1.0 - Strings 13 13 * 2.0 - Numbers 14 * 3.0 - Arrays 14 * 3.0 - Arrays & Objects 15 15 * 4.0 - Date & time 16 16 * 5.0 - Urls & paths … … 85 85 function format_str_from_underscorecase( $str, $is_uc_first = true ) { 86 86 $str_replace = str_replace( "_", " ", $str ); 87 return ( $is_uc_first ) ? ucfirst( $str_replace ) : $str_replace; 88 } 89 } 90 91 if( !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 ); 87 94 return ( $is_uc_first ) ? ucfirst( $str_replace ) : $str_replace; 88 95 } … … 248 255 } 249 256 } 257 if( !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 } 250 298 251 299 if( !function_exists( "H4APlugin\Core\\format_attrs" ) ) { … … 342 390 343 391 /** 344 * 3.0 - Arrays 392 * 3.0 - Arrays & Objects 345 393 * ----------------------------------------------------------------------------- 346 394 */ … … 661 709 */ 662 710 function include_dir_r( $dir_path, $regex_filename_filter = "", $exclude_underscore = true ) { 663 664 711 if( is_dir_empty( $dir_path ) ) 665 712 return false; 666 667 $path = realpath( $dir_path );668 $directory = new \RecursiveDirectoryIterator( $path );669 713 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)$/"; 673 716 } 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 ); 676 721 if ( isset( $files ) ) { 677 722 foreach ( $files as $name => $object ) { … … 697 742 } 698 743 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; 744 if( !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 777 if( !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 804 if( !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; 717 820 } 718 821 } -
wp-group-subscriptions/trunk/front-end/shortcodes/activation/ActivationShortcode.php
r1993138 r2001785 35 35 36 36 public static function is_redirection() { 37 wp_debug_log(); 37 38 if( Member::isAccountAlreadyActive( $_GET['e'] ) ) { 38 39 $args = array( -
wp-group-subscriptions/trunk/front-end/shortcodes/restricted-content/RestrictedContentShortcode.php
r1993138 r2001785 3 3 namespace H4APlugin\WPGroupSubs\Shortcodes; 4 4 5 use function H4APlugin\Core\asBoolean; 5 6 use H4APlugin\WPGroupSubs\Common\Member; 6 7 … … 13 14 14 15 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 ); 17 18 }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 } 19 25 } 20 26 } -
wp-group-subscriptions/trunk/readme.txt
r1994175 r2001785 3 3 Contributors: Hive 4 Apps 4 4 Tags: members, paid members, subscribers, group subscription, subscription form 5 Tested up to: 4.9.65 Tested up to: 5.0.2 6 6 Requires PHP: 7.0.29 7 Stable tag: 0.1. 47 Stable tag: 0.1.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 85 == Changelog == 86 86 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 87 92 = 0.1.4 = 88 93 * BUG FIX: Repaired filter for forms working with the recaptcha addon -
wp-group-subscriptions/trunk/translations/wp-group-subscriptions-fr_FR.po
r1993138 r2001785 2 2 msgstr "" 3 3 "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" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 1181 1181 1182 1182 #: config/labels/back-end/labels.php:21 1183 #: core/helpers/php/php-helpers-before-config.php:1 2281183 #: core/helpers/php/php-helpers-before-config.php:1331 1184 1184 #, php-format 1185 1185 msgid "" … … 1710 1710 msgstr "La license a été désactivée pour ce domaine" 1711 1711 1712 #: config/labels/back-end/labels.php:180 1713 msgid "currency" 1714 msgstr "devise" 1715 1716 #: config/labels/back-end/labels.php:181 1717 msgid "paypal" 1718 msgstr "paypal" 1719 1720 #: config/labels/back-end/labels.php:182 1721 msgid "profile-page" 1722 msgstr "page-profile" 1723 1724 #: config/labels/back-end/labels.php:183 core/init.php:63 1725 msgid "premium" 1726 msgstr "premium" 1727 1728 #: config/labels/back-end/labels.php:184 1729 msgid "recaptcha" 1730 msgstr "recaptcha" 1731 1732 #: config/labels/back-end/labels.php:185 1733 msgid "plans" 1734 msgstr "abonnements" 1735 1736 #: config/labels/back-end/labels.php:186 1737 msgid "license-key" 1738 msgstr "cle-license" 1739 1712 1740 #: config/labels/front-end/labels.php:10 1713 1741 msgid "Single subscription" … … 1929 1957 "\" (options premium) avant." 1930 1958 1931 #: core/admin/H4AAdminPlugin.php:13 31959 #: core/admin/H4AAdminPlugin.php:134 1932 1960 msgid "Settings" 1933 1961 msgstr "Réglages" … … 1977 2005 msgstr "Supprimer tous les registres" 1978 2006 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 1984 2008 msgid "This option is not active yet." 1985 2009 msgstr "Cette option n'est pas encore active." 1986 2010 1987 #: core/admin/features/page/settings/SettingsTemplate.php:13 52011 #: core/admin/features/page/settings/SettingsTemplate.php:136 1988 2012 msgid "This option is a Premium version feature. It's included in ... " 1989 2013 msgstr "" … … 1991 2015 "dans ... " 1992 2016 1993 #: core/admin/features/page/settings/SettingsTemplate.php:13 62017 #: core/admin/features/page/settings/SettingsTemplate.php:137 1994 2018 msgid "addon" 1995 2019 msgstr "addon" 1996 2020 1997 #: core/admin/features/page/settings/SettingsTemplate.php:13 82021 #: core/admin/features/page/settings/SettingsTemplate.php:139 1998 2022 msgid "Get this option in a 3 steps" 1999 2023 msgstr "Obtenir cette option en 3 étapes" 2000 2024 2001 #: core/admin/features/page/settings/SettingsTemplate.php:1 392025 #: core/admin/features/page/settings/SettingsTemplate.php:140 2002 2026 msgid "Get the premium version" 2003 2027 msgstr "Obtenir la version Premium" 2004 2028 2005 #: core/admin/features/page/settings/SettingsTemplate.php:14 02029 #: core/admin/features/page/settings/SettingsTemplate.php:141 2006 2030 msgid "Insert your license key." 2007 2031 msgstr "Insérer votre clé de licence." 2008 2032 2009 #: core/admin/features/page/settings/SettingsTemplate.php:14 12033 #: core/admin/features/page/settings/SettingsTemplate.php:142 2010 2034 msgid "Enjoy with the new settings!" 2011 2035 msgstr "Profitez des nouveaux paramètres !" … … 2017 2041 2018 2042 #: core/admin/features/page/template/EditItemTemplate.php:133 2019 #: front-end/shortcodes/activation/ActivationShortcode.php:16 32043 #: front-end/shortcodes/activation/ActivationShortcode.php:164 2020 2044 #: front-end/shortcodes/my-profile/profile-account/ProfileAccountShortcode.php:61 2021 2045 #: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:585 … … 2152 2176 msgstr "Page précédente" 2153 2177 2178 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:396 2179 msgid "Check for updates" 2180 msgstr "Vérifier les mises à jour" 2181 2182 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:433 2183 msgid "View details" 2184 msgstr "Voir le détail" 2185 2186 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:456 2187 #, php-format 2188 msgid "More information about %s" 2189 msgstr "Plus d´information à propos de %s" 2190 2191 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:549 2192 #, php-format 2193 msgctxt "the plugin title" 2194 msgid "The %s plugin is up to date." 2195 msgstr "L´extension %s a été mise à jour. " 2196 2197 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:551 2198 #, php-format 2199 msgctxt "the plugin title" 2200 msgid "A new version of the %s plugin is available." 2201 msgstr "Une nouvelle version de l'extension %s est disponible." 2202 2203 #: core/admin/features/update/Puc/v4p4/Plugin/UpdateChecker.php:553 2204 #, php-format 2205 msgctxt "the plugin title" 2206 msgid "Could not determine if updates are available for %s." 2207 msgstr "" 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 2212 msgid "Unknown update checker status \"%s\"" 2213 msgstr "Statut inconnu du vérificateur de mise à jour \"%s\"" 2214 2215 #: core/admin/features/update/Puc/v4p4/Vcs/PluginUpdateChecker.php:99 2216 msgid "There is no changelog available." 2217 msgstr "Il n’y a aucun historique des mises à jour disponible." 2218 2154 2219 #: core/common/features/countries/Countries.php:29 2155 2220 msgid "Please select your country" … … 2160 2225 msgstr "Veuillez sélectionner votre devise" 2161 2226 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 2165 2229 #: core/common/features/form/CommonForm.php:906 2230 #: core/common/features/form/CommonForm.php:908 2166 2231 msgid "email" 2167 2232 msgstr "email" 2168 2233 2169 #: core/common/features/form/CommonForm.php: 8992234 #: core/common/features/form/CommonForm.php:901 2170 2235 #: core/common/features/paypal/Paypal.php:462 2171 2236 msgid "Email" 2172 2237 msgstr "Email" 2173 2238 2174 #: core/common/features/form/CommonForm.php:96 12239 #: core/common/features/form/CommonForm.php:963 2175 2240 msgid "group name" 2176 2241 msgstr "nom du groupe" 2177 2242 2178 #: core/common/features/form/CommonForm.php:9 882179 #: core/common/features/form/CommonForm.php:99 22243 #: core/common/features/form/CommonForm.php:990 2244 #: core/common/features/form/CommonForm.php:994 2180 2245 msgid "phone code" 2181 2246 msgstr "code téléphone" 2182 2247 2183 #: core/common/features/form/CommonForm.php:99 52248 #: core/common/features/form/CommonForm.php:997 2184 2249 msgid "phone number" 2185 2250 msgstr "numéro de téléphone" 2186 2251 2187 #: core/common/features/form/CommonForm.php:102 22252 #: core/common/features/form/CommonForm.php:1024 2188 2253 msgid "street number" 2189 2254 msgstr "numéro de voie" 2190 2255 2191 #: core/common/features/form/CommonForm.php:102 52256 #: core/common/features/form/CommonForm.php:1027 2192 2257 msgid "street name" 2193 2258 msgstr "nom de la rue" 2194 2259 2195 #: core/common/features/form/CommonForm.php:10 282260 #: core/common/features/form/CommonForm.php:1030 2196 2261 msgid "zip code" 2197 2262 msgstr "code postal" 2198 2263 2199 #: core/common/features/form/CommonForm.php:103 12264 #: core/common/features/form/CommonForm.php:1033 2200 2265 msgid "city" 2201 2266 msgstr "ville" 2202 2267 2203 #: core/common/features/form/CommonForm.php:103 52268 #: core/common/features/form/CommonForm.php:1037 2204 2269 msgid "country" 2205 2270 msgstr "pays" 2206 2271 2207 #: core/common/features/form/CommonForm.php:106 12208 #: core/common/features/form/CommonForm.php:106 52272 #: core/common/features/form/CommonForm.php:1063 2273 #: core/common/features/form/CommonForm.php:1067 2209 2274 msgid "password" 2210 2275 msgstr "mot de passe" 2211 2276 2212 #: core/common/features/form/CommonForm.php:110 32277 #: core/common/features/form/CommonForm.php:1105 2213 2278 #, php-format 2214 2279 msgid "Your %s is too short ( minimum %s characters )" 2215 2280 msgstr "Votre %s est trop court ( minimum %s caractères )" 2216 2281 2217 #: core/common/features/form/CommonForm.php:111 52282 #: core/common/features/form/CommonForm.php:1117 2218 2283 #, php-format 2219 2284 msgid "Your %s is too long" 2220 2285 msgstr "Votre %s est trop long" 2221 2286 2222 #: core/common/features/form/CommonForm.php:11 282223 #: core/common/features/form/CommonForm.php:113 22287 #: core/common/features/form/CommonForm.php:1130 2288 #: core/common/features/form/CommonForm.php:1134 2224 2289 #, php-format 2225 2290 msgid "Invalid %s format" 2226 2291 msgstr "Le format du champ '%s' n'est pas valide" 2227 2292 2228 #: core/common/features/form/CommonForm.php:11 582293 #: core/common/features/form/CommonForm.php:1160 2229 2294 #, php-format 2230 2295 msgid "The %s value is not a number format" 2231 2296 msgstr "La valeur %s n'est pas un format de type nombre" 2232 2297 2233 #: core/common/features/form/CommonForm.php:118 02298 #: core/common/features/form/CommonForm.php:1182 2234 2299 #, php-format 2235 2300 msgid "%s does not match" 2236 2301 msgstr "%s n'est pas identique" 2237 2302 2238 #: core/common/features/form/CommonForm.php:120 32303 #: core/common/features/form/CommonForm.php:1205 2239 2304 #, php-format 2240 2305 msgid "The member %s already exists!" 2241 2306 msgstr "Le membre %s existe déjà !" 2242 2307 2243 #: core/common/features/form/CommonForm.php:120 52308 #: core/common/features/form/CommonForm.php:1207 2244 2309 msgid "This account already exists!" 2245 2310 msgstr "Ce compte existe déjà !" 2246 2311 2247 #: core/common/features/form/CommonForm.php:12 082312 #: core/common/features/form/CommonForm.php:1210 2248 2313 #, php-format 2249 2314 msgid "This %s already exists!" … … 2311 2376 msgstr "Champ requis" 2312 2377 2313 #: core/helpers/php/php-helpers-before-config.php: 5792378 #: core/helpers/php/php-helpers-before-config.php:627 2314 2379 msgid "Year(s)" 2315 2380 msgstr "Année(s)" 2316 2381 2317 #: core/helpers/php/php-helpers-before-config.php: 5802382 #: core/helpers/php/php-helpers-before-config.php:628 2318 2383 msgid "Month(s)" 2319 2384 msgstr "Mois" 2320 2385 2321 #: core/helpers/php/php-helpers-before-config.php: 5812386 #: core/helpers/php/php-helpers-before-config.php:629 2322 2387 msgid "Day(s)" 2323 2388 msgstr "Jour(s)" 2324 2389 2325 #: core/helpers/php/php-helpers-before-config.php:1 1712390 #: core/helpers/php/php-helpers-before-config.php:1274 2326 2391 msgid "WP Group Subscription license activation error : " 2327 2392 msgstr "Erreur de l´activation de la license WP Group Subscription : " 2328 2393 2329 #: core/helpers/php/php-helpers-before-config.php:1 1782330 #: core/helpers/php/php-helpers-before-config.php:1 2822394 #: core/helpers/php/php-helpers-before-config.php:1281 2395 #: core/helpers/php/php-helpers-before-config.php:1385 2331 2396 msgid "Please complete correctly license login information." 2332 2397 msgstr "" 2333 2398 "Veuillez remplir correctement les informations de connexion de licence." 2334 2399 2335 #: core/helpers/php/php-helpers-before-config.php:1 2752400 #: core/helpers/php/php-helpers-before-config.php:1378 2336 2401 msgid "WP Group Subscription license deactivation error : " 2337 2402 msgstr "Erreur de la désactivation de la license WP Group Subscription : " … … 2405 2470 "l'administrateur" 2406 2471 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 2412 2473 #: front-end/shortcodes/payment-return/views/view-payment-return.php:11 2413 2474 #, php-format … … 2415 2476 msgstr "Bienvenu sur %s !" 2416 2477 2417 #: front-end/shortcodes/activation/ActivationShortcode.php:9 02478 #: front-end/shortcodes/activation/ActivationShortcode.php:91 2418 2479 msgid "" 2419 2480 "To access all documents, please activate your member account by filling in " … … 2423 2484 "remplissant les informations suivantes." 2424 2485 2425 #: front-end/shortcodes/activation/ActivationShortcode.php:14 32486 #: front-end/shortcodes/activation/ActivationShortcode.php:144 2426 2487 #: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:463 2427 2488 #, php-format … … 2429 2490 msgstr "Veuillez cocher la case \"%s\"" 2430 2491 2431 #: front-end/shortcodes/activation/ActivationShortcode.php:14 32492 #: front-end/shortcodes/activation/ActivationShortcode.php:144 2432 2493 #: front-end/shortcodes/plan-forms/PlanFormsShortcode.php:463 2433 2494 msgid "I am not a robot" … … 2658 2719 msgstr "S'inscrire" 2659 2720 2660 #: front-end/shortcodes/restricted-content/RestrictedContentShortcode.php: 162721 #: front-end/shortcodes/restricted-content/RestrictedContentShortcode.php:21 2661 2722 msgid "Content only for subscribed members." 2662 2723 msgstr "Contenu réservé uniquement pour les abonnés." 2663 2724 2664 2725 #. Plugin Name of the plugin/theme 2665 msgid " WGS - WP Group Subscriptions"2666 msgstr " WGS - WP Group Subscriptions"2726 msgid "@initials@ - @plugin_name@" 2727 msgstr "@initials@ - @plugin_name@" 2667 2728 2668 2729 #. Plugin URI of the plugin/theme 2669 msgid " http://wp-group-subscriptions.com"2670 msgstr " http://wp-group-subscriptions.com"2730 msgid "@plugin_uri@" 2731 msgstr "@plugin_uri@" 2671 2732 2672 2733 #. 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." 2734 msgid "@description@" 2735 msgstr "@description@" 2679 2736 2680 2737 #. Author of the plugin/theme 2681 msgid " Hive 4 Apps"2682 msgstr " Hive 4 Apps"2738 msgid "@author@" 2739 msgstr "@author@" 2683 2740 2684 2741 #. 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" 2742 msgid "@author_uri@" 2743 msgstr "@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/" 2690 2763 2691 2764 #~ msgid "Impossible to restore the plan '%s' from the trash!" … … 2769 2842 #~ msgid "Encoding" 2770 2843 #~ msgstr "Encodement" 2771 2772 #~ msgid "Description"2773 #~ msgstr "Description"2774 2775 #~ msgid "Author"2776 #~ msgstr "Auteur"2777 2844 2778 2845 #~ msgid "Advanced"
Note: See TracChangeset
for help on using the changeset viewer.