diff --git a/admin/class-courses.php b/admin/class-courses.php index bb61ce0..74df417 100644 --- a/admin/class-courses.php +++ b/admin/class-courses.php @@ -110,7 +110,7 @@ public static function header_columns( $columns ) { /** * Paid column is needed? */ - if ( ! BrainPress_Helper_Integration_PSeCommerce::$is_active && ! BrainPress_Helper_Integration_WooCommerce::$is_active ) { + if ( ! BrainPress_Helper_Integration_MarketPress::$is_active && ! BrainPress_Helper_Integration_WooCommerce::$is_active ) { unset( $columns['paid'] ); } diff --git a/admin/class-edit.php b/admin/class-edit.php index 8d0ea0f..a7fdde7 100644 --- a/admin/class-edit.php +++ b/admin/class-edit.php @@ -583,14 +583,14 @@ public static function step_6() { */ $is_payment_available = false; $filters_to_check = array( - 'brainpress_is_psecommerce_active', + 'brainpress_is_marketpress_active', 'brainpress_is_woocommerce_active', ); foreach ( $filters_to_check as $filter ) { if ( $is_payment_available ) { continue; } - $is_payment_available = apply_filters( 'brainpress_is_psecommerce_active', $is_payment_available ); + $is_payment_available = apply_filters( 'brainpress_is_marketpress_active', $is_payment_available ); } if ( ! $is_payment_available ) { $disable_payment = false; @@ -600,7 +600,7 @@ public static function step_6() { $is_paid_course = ! empty( self::$settings['payment_paid_course'] ); //$data_course = new BrainPress_Data_Course(); $data_instructor = new BrainPress_Data_Instructor(); - $mp_class = new Brainpress_Helper_Extension_PSeCommerce(); + $mp_class = new Brainpress_Helper_Extension_MarketPress(); $utility_class = new BrainPress_Helper_Utility(); $install_url = add_query_arg( @@ -615,25 +615,25 @@ public static function step_6() { array( 'post_type' => self::$post_type, 'page' => 'brainpress_settings', - 'tab' => 'psecommerce', + 'tab' => 'marketpress', ), admin_url( 'edit.php' ) ); - $install_message = __( 'Bitte wende Dich an Deinen Administrator, um PSeCommerce für Deine Seite zu aktivieren.', 'brainpress' ); + $install_message = __( 'Bitte wende Dich an Deinen Administrator, um MarketPress für Deine Seite zu aktivieren.', 'brainpress' ); $install_message2 = ''; $installed = $mp_class->installed(); if ( current_user_can( 'install_plugins' ) || current_user_can( 'activate_plugins ' ) ) { - $install_message = __( 'Um mit dem Verkauf Deines Kurses zu beginnen, bitte Installiere und aktiviere PSeCommerce.', 'brainpress' ); + $install_message = __( 'Um mit dem Verkauf Deines Kurses zu beginnen, bitte Installiere und aktiviere MarketPress.', 'brainpress' ); if ( $installed && $mp_class->activated() ) { - $install_message = __( 'Um mit dem Verkauf Deines Kurses zu beginnen, bitte Setup komplettieren für PSeCommerce.', 'brainpress' ); + $install_message = __( 'Um mit dem Verkauf Deines Kurses zu beginnen, bitte Setup komplettieren für MarketPress.', 'brainpress' ); $install_url = $mp_url; } if ( false === $installed ) { - $install_message2 = __( 'Die Vollversion von PSeCommerce wurde mit BrainPress gebündelt.', 'brainpress' ); + $install_message2 = __( 'Die Vollversion von MarketPress wurde mit BrainPress gebündelt.', 'brainpress' ); } } $install_message = sprintf( $install_message, esc_url_raw( $install_url ) ); @@ -644,7 +644,7 @@ public static function step_6() { $payment_message = sprintf( '
', esc_attr( $is_paid_course ? '' : 'hidden' ), - __( 'Verkaufe Deine Kurse online mit PSeCommerce.', 'brainpress' ), + __( 'Verkaufe Deine Kurse online mit MarketPress.', 'brainpress' ), ! empty( $install_message2 ) ? sprintf( '%s
', $install_message2 ) : '', ! empty( $install_message ) ? sprintf( '%s
', $install_message ) : '', __( 'Andere unterstützte Plugins', 'brainpress' ) diff --git a/admin/class-settings.php b/admin/class-settings.php index f11e087..c86877d 100644 --- a/admin/class-settings.php +++ b/admin/class-settings.php @@ -11,7 +11,7 @@ class BrainPress_Admin_Settings extends BrainPress_Admin_Controller_Menu { 'BasicCertificate', 'Shortcodes', 'Extensions', - 'PSeCommerce', + 'MarketPress', 'WooCommerce', 'Setup', ); diff --git a/asset/js/brainpress-front.js b/asset/js/brainpress-front.js index 41ec865..51bda62 100644 --- a/asset/js/brainpress-front.js +++ b/asset/js/brainpress-front.js @@ -828,7 +828,7 @@ var BrainPress = BrainPress || {}; //$( '.view-response' ).link_popup( { link_text: '' }); $( '.workbook-table .view-response' ).link_popup( { link_text: '', offset_x: -160 }); $( '.workbook-table .feedback' ).link_popup( { link_text: '' }); - bind_psecommerce_add_to_cart_button(); + bind_marketpress_add_to_cart_button(); /** * close message @@ -1020,8 +1020,8 @@ var BrainPress = BrainPress || {}; /** * MP add to cart */ - function bind_psecommerce_add_to_cart_button() { - if ( undefined === _brainpress.psecommerce_is_used || 'no' === _brainpress.psecommerce_is_used ) { + function bind_marketpress_add_to_cart_button() { + if ( undefined === _brainpress.marketpress_is_used || 'no' === _brainpress.marketpress_is_used ) { return; } $('body.single-course button.mp_button-addcart').on( 'click', function() { @@ -1034,8 +1034,8 @@ var BrainPress = BrainPress || {}; cart_action: 'add_item' } }).done( function(data) { - if ( data.success && undefined !== _brainpress.psecommerce_cart_url ) { - window.location.assign( _brainpress.psecommerce_cart_url ); + if ( data.success && undefined !== _brainpress.marketpress_cart_url ) { + window.location.assign( _brainpress.marketpress_cart_url ); } }); return false; diff --git a/asset/js/brainpress-front.min.js b/asset/js/brainpress-front.min.js index 424b031..6511638 100644 --- a/asset/js/brainpress-front.min.js +++ b/asset/js/brainpress-front.min.js @@ -1,4 +1,4 @@ /*! BrainPress - v2.2.2 * https://github.com/cp-psourcepiestingtal_source/ps-brainpress-classicpress-lms-online-akademie-plugin/ * Copyright (c) 2019; * Licensed GPLv2+ */ -var BrainPress=BrainPress||{};!function(a){function b(){var b=a('[data-type="modal-step"]');void 0!==b&&b.length&&(BrainPress.Enrollment.Modal=Backbone.Modal.extend({template:_.template(a("#modal-template").html()),viewContainer:".enrollment-modal-container",submitEl:".done",cancelEl:".cancel",options:"meh",views:function(){var c={};return a.each(b,function(b,d){var e=b+1,f=a(d).attr("id");void 0!==f&&(c["click #step"+e]={view:_.template(a("#"+f).html()),onActive:"setActive"})}),c}(),events:{"click .previous":"previousStep","click .next":"nextStep","click .cancel-link":"closeDialog"},previousStep:function(a){a.preventDefault(),this.previous(),"function"==typeof this.onPrevious&&this.onPrevious()},nextStep:function(a){a.preventDefault(),this.next(),"function"==typeof this.onNext&&this.onNext()},closeDialog:function(){a(".enrolment-container-div").detach()},setActive:function(a){this.trigger("modal:updated",{view:this,options:a})},cancel:function(){a(".enrolment-container-div").detach()}}),BrainPress.Enrollment.dialog=new BrainPress.Enrollment.Modal,BrainPress.Enrollment.dialog.beforeSubmit=function(){var b=this.currentIndex;return d(b),b===BrainPress.Enrollment.dialog.views.length-1&&a(".enrolment-container-div").addClass("hidden"),!1},BrainPress.Enrollment.dialog.openAtAction=function(b){var c=a('[data-type="modal-step"]');a.each(c,function(c,d){var e=a(d).attr("data-modal-action");void 0!==e&&b===e&&BrainPress.Enrollment.dialog.openAt(c)})},BrainPress.Enrollment.dialog.on("modal:updated",function(){}),BrainPress.Enrollment.dialog.handle_signup_return=function(b){var c=b.signup_errors,d=a('[data-type="modal-step"]');if(0===c.length&&!0===b.user_data.logged_in)_brainpress.invitation_data?BrainPress.Enrollment.dialog.add_instructor(b):a.each(d,function(c,d){var e=a(d).attr("data-modal-action");"yes"===_brainpress.current_course_is_paid&&"paid_enrollment"===e?BrainPress.Enrollment.dialog.openAt(c):"enrolled"===e&&(b.already_enrolled?location.href=_brainpress.course_url:BrainPress.Enrollment.dialog.attempt_enroll(b))});else if(c.length>0){a(".bbm-wrapper #error-messages").html("");var e="' . esc_html__( 'Dein Kurs wird ein neues Produkt in PSeCommerce sein. Gib unten die Zahlungseinstellungen Deines Kurses ein.', 'brainpress' ) . '
+' . esc_html__( 'Dein Kurs wird ein neues Produkt in MarketPress sein. Gib unten die Zahlungseinstellungen Deines Kurses ein.', 'brainpress' ) . '
Please contact your administrator to enable PSeCommerce for your site.
" +"Please contact your administrator to enable MarketPress for your site.
" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:963 msgid "" -"The full version of PSeCommerce has been bundled with BrainPress.
" +"The full version of MarketPress has been bundled with BrainPress.
" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:956 #, php-format msgid "" -"To start selling your course, please install and activate PSeCommerce " +"
To start selling your course, please install and activate MarketPress " "here:
\n" -"\t\t\t\t\t\t\t\tActivate PSeCommerce" +"\t\t\t\t\t\t\t\tActivate MarketPress" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:965 msgid "" -"You can use the free or premium version of PSeCommerce to sell your " +"
You can use the free or premium version of MarketPress to sell your " "courses.
" msgstr "" @@ -634,12 +634,12 @@ msgstr "" msgid "Aktionen" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:134 +#: include/brainpress/helper/extension/class-marketpress.php:134 #, php-format msgid "Aktiviere %s um mit den Verkauf von Kursen zu beginnen." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:387 +#: include/brainpress/helper/integration/class-marketpress.php:387 #: include/brainpress/helper/integration/class-woocommerce.php:203 msgid "Aktiviere Angebotspreis" msgstr "" @@ -851,7 +851,7 @@ msgstr "" msgid "Anfangsdatum" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:381 +#: include/brainpress/helper/integration/class-marketpress.php:381 #: include/brainpress/helper/integration/class-woocommerce.php:197 msgid "Angebotspreis" msgstr "" @@ -1189,7 +1189,7 @@ msgstr "" msgid "Auswählbare Auswahl" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:396 +#: include/brainpress/helper/integration/class-marketpress.php:396 msgid "Automatisch generierte Lagerbestandseinheiten (SKUs)" msgstr "" @@ -1625,7 +1625,7 @@ msgstr "" msgid "bestehen" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:875 +#: include/brainpress/helper/integration/class-marketpress.php:875 #: include/brainpress/helper/setting/class-email.php:71 msgid "Bestellbestätigung" msgstr "" @@ -1941,7 +1941,7 @@ msgstr "" #: admin/class-edit.php:623 msgid "" -"Bitte wende Dich an Deinen Administrator, um PSeCommerce für Deine Seite zu " +"Bitte wende Dich an Deinen Administrator, um MarketPress für Deine Seite zu " "aktivieren." msgstr "" @@ -2343,7 +2343,7 @@ msgid "Das Upgrade ist abgeschlossen." msgstr "" #: include/brainpress/helper/class-utility.php:1406 -#: include/brainpress/helper/integration/class-psecommerce.php:1105 +#: include/brainpress/helper/integration/class-marketpress.php:1105 #: include/brainpress/helper/setting/class-email.php:384 #: include/brainpress/helper/setting/class-email.php:545 #: include/brainpress/view/front/class-general.php:59 @@ -2438,9 +2438,9 @@ msgid "" "Dein Feedback wird nach der Einreichung per E-Mail an den Studenten gesendet." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:372 +#: include/brainpress/helper/integration/class-marketpress.php:372 msgid "" -"Dein Kurs wird ein neues Produkt in PSeCommerce sein. Gib unten die " +"Dein Kurs wird ein neues Produkt in MarketPress sein. Gib unten die " "Zahlungseinstellungen Deines Kurses ein." msgstr "" @@ -2852,7 +2852,7 @@ msgid "Die Videoeinstellungen des Kurses wurden aktualisiert." msgstr "" #: admin/class-edit.php:636 -msgid "Die Vollversion von PSeCommerce wurde mit BrainPress gebündelt." +msgid "Die Vollversion von MarketPress wurde mit BrainPress gebündelt." msgstr "" #: admin/view/steps/step-2.php:60 @@ -3374,7 +3374,7 @@ msgstr "" msgid "Du kannst diese Mindestpunktzahl in den Kurseinstellungen ändern." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1052 +#: include/brainpress/helper/integration/class-marketpress.php:1052 #: include/brainpress/helper/integration/class-woocommerce.php:711 msgid "Du kannst diesen Kurs jetzt in den Warenkorb legen." msgstr "" @@ -4277,8 +4277,8 @@ msgstr "" msgid "Erledigt" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:44 -msgid "Ermögliche die Integration von PSeCommerce, um Kurse zu verkaufen ..." +#: include/brainpress/view/admin/setting/class-marketpress.php:44 +msgid "Ermögliche die Integration von MarketPress, um Kurse zu verkaufen ..." msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:41 @@ -5405,12 +5405,12 @@ msgstr "" msgid "insgesamt erworbene bewertbare Note % Gesamtzahl der bewertbaren Module" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:130 -msgid "Installiere das PSeCommerce-Plugin, um Kurse zu verkaufen." +#: include/brainpress/helper/extension/class-marketpress.php:130 +msgid "Installiere das MarketPress-Plugin, um Kurse zu verkaufen." msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:131 -msgid "Installiere PSeCommerce" +#: include/brainpress/helper/extension/class-marketpress.php:131 +msgid "Installiere MarketPress" msgstr "" #: include/brainpress/helper/class-extension.php:97 @@ -5864,7 +5864,7 @@ msgstr "" msgid "Kurs Setup" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:391 +#: include/brainpress/helper/integration/class-marketpress.php:391 #: include/brainpress/helper/integration/class-woocommerce.php:207 msgid "Kurs SKU:" msgstr "" @@ -5892,7 +5892,7 @@ msgstr "" msgid "Kurs wählen" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1048 +#: include/brainpress/helper/integration/class-marketpress.php:1048 #: include/brainpress/helper/integration/class-woocommerce.php:706 msgid "Kurs zum Warenkorb hinzufügen." msgstr "" @@ -6450,9 +6450,9 @@ msgstr "" msgid "Leider hast Du COURSE_NAME nicht bestanden." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:85 +#: include/brainpress/view/admin/setting/class-marketpress.php:85 msgid "" -"Leite den PSeCommerce-Produktbeitrag zu einem übergeordneten Kursbeitrag um" +"Leite den MarketPress-Produktbeitrag zu einem übergeordneten Kursbeitrag um" msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:82 @@ -6599,9 +6599,9 @@ msgstr "" msgid "Lösche “%s” unwiederruflich" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:103 -#: include/brainpress/view/admin/setting/class-psecommerce.php:120 -msgid "Lösche das zugehörige PSeCommerce-Produkt." +#: include/brainpress/view/admin/setting/class-marketpress.php:103 +#: include/brainpress/view/admin/setting/class-marketpress.php:120 +msgid "Lösche das zugehörige MarketPress-Produkt." msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:100 @@ -7655,21 +7655,21 @@ msgstr "" msgid "Prozent der Einheit fertiggestellt" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:133 -#: include/brainpress/view/admin/setting/class-psecommerce.php:43 -msgid "PSeCommerce" +#: include/brainpress/helper/extension/class-marketpress.php:133 +#: include/brainpress/view/admin/setting/class-marketpress.php:43 +msgid "MarketPress" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:370 -msgid "PSeCommerce Produkt Einstellungen" +#: include/brainpress/helper/integration/class-marketpress.php:370 +msgid "MarketPress Produkt Einstellungen" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:404 +#: include/brainpress/helper/integration/class-marketpress.php:404 #, php-format -msgid "PSeCommerce Produkt ID: %d" +msgid "MarketPress Produkt ID: %d" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:26 +#: include/brainpress/helper/extension/class-marketpress.php:26 msgid "PSource Server" msgstr "" @@ -7956,7 +7956,7 @@ msgid "Seite zum Abschluss des Kurses" msgstr "" #: include/brainpress/view/admin/setting/class-capabilities.php:270 -msgid "Seiten bearbeiten (erforderlich für PSeCommerce)" +msgid "Seiten bearbeiten (erforderlich für MarketPress)" msgstr "" #: include/brainpress/view/admin/setting/class-capabilities.php:273 @@ -8033,7 +8033,7 @@ msgid "Select the limitations on accessing and enrolling in this course." msgstr "" #: include/brainpress/view/admin/course/class-edit.php:975 -msgid "Sell your courses online with PSeCommerce." +msgid "Sell your courses online with MarketPress." msgstr "" #: include/brainpress/view/admin/assessment/class-list.php:794 @@ -9038,14 +9038,14 @@ msgstr "" #, php-format msgid "" "Um mit dem Verkauf Deines Kurses zu beginnen, bitte " -"Installiere und aktiviere PSeCommerce." +"Installiere und aktiviere MarketPress." msgstr "" #: admin/class-edit.php:631 #, php-format msgid "" "Um mit dem Verkauf Deines Kurses zu beginnen, bitte Setup " -"komplettieren für PSeCommerce." +"komplettieren für MarketPress." msgstr "" #: include/brainpress/view/front/class-instructor.php:97 @@ -9354,7 +9354,7 @@ msgid "Vergangene Kurse" msgstr "" #: admin/class-edit.php:647 -msgid "Verkaufe Deine Kurse online mit PSeCommerce." +msgid "Verkaufe Deine Kurse online mit MarketPress." msgstr "" #: include/brainpress/helper/ui/class-module.php:581 @@ -9464,8 +9464,8 @@ msgstr "" msgid "Verwende für diesen Kurs ein benutzerdefiniertes Zertifikat." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:73 -msgid "Verwende PSeCommerce, um Kurse zu verkaufen" +#: include/brainpress/view/admin/setting/class-marketpress.php:73 +msgid "Verwende MarketPress, um Kurse zu verkaufen" msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:70 @@ -9548,7 +9548,7 @@ msgid "" "Das %5$s Team" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1096 +#: include/brainpress/helper/integration/class-marketpress.php:1096 #, php-format msgid "" "Vielen Dank für Deine Bestellung %1$s,\n" @@ -9588,7 +9588,7 @@ msgstr "" msgid "Visuell" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:375 +#: include/brainpress/helper/integration/class-marketpress.php:375 #: include/brainpress/helper/integration/class-woocommerce.php:191 msgid "Voller Preis" msgstr "" @@ -9696,9 +9696,9 @@ msgstr "" msgid "Warten auf Überprüfung" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:98 -#: include/brainpress/view/admin/setting/class-psecommerce.php:115 -msgid "Wechsle auf Entwurf des zugehörigen PSeCommerce-Produkts." +#: include/brainpress/view/admin/setting/class-marketpress.php:98 +#: include/brainpress/view/admin/setting/class-marketpress.php:115 +msgid "Wechsle auf Entwurf des zugehörigen MarketPress-Produkts." msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:95 @@ -9809,12 +9809,12 @@ msgstr "" msgid "Wenn außerhalb der ClassicPress-Schleife." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:109 +#: include/brainpress/view/admin/setting/class-marketpress.php:109 #: include/brainpress/view/admin/setting/class-woocommerce.php:106 msgid "Wenn der Kurs gelöscht ist, dann:" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:92 +#: include/brainpress/view/admin/setting/class-marketpress.php:92 #: include/brainpress/view/admin/setting/class-woocommerce.php:89 msgid "Wenn der Kurs unbezahlt ist, dann:" msgstr "" @@ -9873,10 +9873,10 @@ msgid "" "Bewertungen sehen." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:87 +#: include/brainpress/view/admin/setting/class-marketpress.php:87 msgid "" "Wenn diese Option aktiviert ist, werden Besucher, die versuchen, auf einen " -"einzelnen Beitrag von PSeCommerce zuzugreifen, automatisch auf einen " +"einzelnen Beitrag von MarketPress zuzugreifen, automatisch auf einen " "einzelnen Beitrag eines übergeordneten Kurses umgeleitet." msgstr "" @@ -9893,19 +9893,19 @@ msgid "" "der URL angezeigt. Andernfalls wird die Hash-Version (MD5) angezeigt." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:75 +#: include/brainpress/view/admin/setting/class-marketpress.php:75 msgid "" -"Wenn diese Option aktiviert ist, wird PSeCommerce für den Verkauf von Kursen " +"Wenn diese Option aktiviert ist, wird MarketPress für den Verkauf von Kursen " "verwendet" msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:72 msgid "" -"Wenn diese Option aktiviert ist, wird WooCommerce anstelle von PSeCommerce " +"Wenn diese Option aktiviert ist, wird WooCommerce anstelle von MarketPress " "für den Verkauf von Kursen verwendet" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:142 +#: include/brainpress/helper/extension/class-marketpress.php:142 #, php-format msgid "" "Wenn Du eine ältere Version des %s-Plugins verwendest, benötigst Du aus " @@ -10180,7 +10180,7 @@ msgstr "" msgid "You do not have sufficient permission to add instructor!" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:393 +#: include/brainpress/helper/integration/class-marketpress.php:393 #: include/brainpress/helper/integration/class-woocommerce.php:209 #, php-format msgid "z.B. %s0001" @@ -10238,7 +10238,7 @@ msgstr "" msgid "Zeige Gratiskurse." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1057 +#: include/brainpress/helper/integration/class-marketpress.php:1057 #, php-format msgid "Zeige Kurs: %s" msgstr "" diff --git a/languages/brainpress.pot b/languages/brainpress.pot index 4613d6c..f6f392d 100644 --- a/languages/brainpress.pot +++ b/languages/brainpress.pot @@ -503,7 +503,7 @@ msgstr "" #: admin/class-edit.php:623 msgid "" -"Bitte wende Dich an Deinen Administrator, um PSeCommerce für Deine Seite zu " +"Bitte wende Dich an Deinen Administrator, um MarketPress für Deine Seite zu " "aktivieren." msgstr "" @@ -511,22 +511,22 @@ msgstr "" #, php-format msgid "" "Um mit dem Verkauf Deines Kurses zu beginnen, bitte Installiere und aktiviere PSeCommerce." +"href=\"%s\">Installiere und aktiviere MarketPress." msgstr "" #: admin/class-edit.php:631 #, php-format msgid "" "Um mit dem Verkauf Deines Kurses zu beginnen, bitte Setup " -"komplettieren für PSeCommerce." +"komplettieren für MarketPress." msgstr "" #: admin/class-edit.php:636 -msgid "Die Vollversion von PSeCommerce wurde mit BrainPress gebündelt." +msgid "Die Vollversion von MarketPress wurde mit BrainPress gebündelt." msgstr "" #: admin/class-edit.php:647 -msgid "Verkaufe Deine Kurse online mit PSeCommerce." +msgid "Verkaufe Deine Kurse online mit MarketPress." msgstr "" #: admin/class-edit.php:650 @@ -4786,7 +4786,7 @@ msgid "Anmelden/Abmelden" msgstr "" #: include/brainpress/helper/class-utility.php:1406 -#: include/brainpress/helper/integration/class-psecommerce.php:1105 +#: include/brainpress/helper/integration/class-marketpress.php:1105 #: include/brainpress/helper/setting/class-email.php:384 #: include/brainpress/helper/setting/class-email.php:545 #: include/brainpress/view/front/class-general.php:59 @@ -4811,36 +4811,36 @@ msgstr "" msgid "Zum Menü hinzufügen" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:26 +#: include/brainpress/helper/extension/class-marketpress.php:26 msgid "PSource Server" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:130 -msgid "Installiere das PSeCommerce-Plugin, um Kurse zu verkaufen." +#: include/brainpress/helper/extension/class-marketpress.php:130 +msgid "Installiere das MarketPress-Plugin, um Kurse zu verkaufen." msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:131 -msgid "Installiere PSeCommerce" +#: include/brainpress/helper/extension/class-marketpress.php:131 +msgid "Installiere MarketPress" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:133 -#: include/brainpress/view/admin/setting/class-psecommerce.php:43 -msgid "PSeCommerce" +#: include/brainpress/helper/extension/class-marketpress.php:133 +#: include/brainpress/view/admin/setting/class-marketpress.php:43 +msgid "MarketPress" msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:134 +#: include/brainpress/helper/extension/class-marketpress.php:134 #, php-format msgid "Aktiviere %s um mit den Verkauf von Kursen zu beginnen." msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:142 +#: include/brainpress/helper/extension/class-marketpress.php:142 #, php-format msgid "" "Wenn Du eine ältere Version des %s-Plugins verwendest, benötigst Du aus " "Kompatibilitätsgründen die neueste Version." msgstr "" -#: include/brainpress/helper/extension/class-psecommerce.php:143 +#: include/brainpress/helper/extension/class-marketpress.php:143 #, php-format msgid " Aktualisiere jetzt Dein %s!" msgstr "" @@ -4850,72 +4850,72 @@ msgid "" "Komplette TCPDF-Bibliothek mit zusätzlichen Schriftarten (ClassicPress.org)" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:370 -msgid "PSeCommerce Produkt Einstellungen" +#: include/brainpress/helper/integration/class-marketpress.php:370 +msgid "MarketPress Produkt Einstellungen" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:372 +#: include/brainpress/helper/integration/class-marketpress.php:372 msgid "" -"Dein Kurs wird ein neues Produkt in PSeCommerce sein. Gib unten die " +"Dein Kurs wird ein neues Produkt in MarketPress sein. Gib unten die " "Zahlungseinstellungen Deines Kurses ein." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:375 +#: include/brainpress/helper/integration/class-marketpress.php:375 #: include/brainpress/helper/integration/class-woocommerce.php:191 msgid "Voller Preis" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:381 +#: include/brainpress/helper/integration/class-marketpress.php:381 #: include/brainpress/helper/integration/class-woocommerce.php:197 msgid "Angebotspreis" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:387 +#: include/brainpress/helper/integration/class-marketpress.php:387 #: include/brainpress/helper/integration/class-woocommerce.php:203 msgid "Aktiviere Angebotspreis" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:391 +#: include/brainpress/helper/integration/class-marketpress.php:391 #: include/brainpress/helper/integration/class-woocommerce.php:207 msgid "Kurs SKU:" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:393 +#: include/brainpress/helper/integration/class-marketpress.php:393 #: include/brainpress/helper/integration/class-woocommerce.php:209 #, php-format msgid "z.B. %s0001" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:396 +#: include/brainpress/helper/integration/class-marketpress.php:396 msgid "Automatisch generierte Lagerbestandseinheiten (SKUs)" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:404 +#: include/brainpress/helper/integration/class-marketpress.php:404 #, php-format -msgid "PSeCommerce Produkt ID: %d" +msgid "MarketPress Produkt ID: %d" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:875 +#: include/brainpress/helper/integration/class-marketpress.php:875 #: include/brainpress/helper/setting/class-email.php:71 msgid "Bestellbestätigung" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1048 +#: include/brainpress/helper/integration/class-marketpress.php:1048 #: include/brainpress/helper/integration/class-woocommerce.php:706 msgid "Kurs zum Warenkorb hinzufügen." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1052 +#: include/brainpress/helper/integration/class-marketpress.php:1052 #: include/brainpress/helper/integration/class-woocommerce.php:711 msgid "Du kannst diesen Kurs jetzt in den Warenkorb legen." msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1057 +#: include/brainpress/helper/integration/class-marketpress.php:1057 #, php-format msgid "Zeige Kurs: %s" msgstr "" -#: include/brainpress/helper/integration/class-psecommerce.php:1096 +#: include/brainpress/helper/integration/class-marketpress.php:1096 #, php-format msgid "" "Vielen Dank für Deine Bestellung %1$s,\n" @@ -6878,29 +6878,29 @@ msgstr "" #: include/brainpress/view/admin/course/class-edit.php:956 #, php-format msgid "" -"To start selling your course, please install and activate PSeCommerce " +"
To start selling your course, please install and activate MarketPress " "here:
\n" -"\t\t\t\t\t\t\t\tActivate PSeCommerce" +"\t\t\t\t\t\t\t\tActivate MarketPress" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:959 msgid "" -"Please contact your administrator to enable PSeCommerce for your site.
" +"Please contact your administrator to enable MarketPress for your site.
" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:963 msgid "" -"The full version of PSeCommerce has been bundled with BrainPress.
" +"The full version of MarketPress has been bundled with BrainPress.
" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:965 msgid "" -"You can use the free or premium version of PSeCommerce to sell your " +"
You can use the free or premium version of MarketPress to sell your " "courses.
" msgstr "" #: include/brainpress/view/admin/course/class-edit.php:975 -msgid "Sell your courses online with PSeCommerce." +msgid "Sell your courses online with MarketPress." msgstr "" #: include/brainpress/view/admin/course/class-edit.php:976 @@ -7639,7 +7639,7 @@ msgid "Ändert den Status jeder Diskussion" msgstr "" #: include/brainpress/view/admin/setting/class-capabilities.php:270 -msgid "Seiten bearbeiten (erforderlich für PSeCommerce)" +msgid "Seiten bearbeiten (erforderlich für MarketPress)" msgstr "" #: include/brainpress/view/admin/setting/class-capabilities.php:271 @@ -8126,48 +8126,48 @@ msgstr "" msgid "Wähle eine Seite aus, auf der der Registrierungsprozess angezeigt wird." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:44 -msgid "Ermögliche die Integration von PSeCommerce, um Kurse zu verkaufen ..." +#: include/brainpress/view/admin/setting/class-marketpress.php:44 +msgid "Ermögliche die Integration von MarketPress, um Kurse zu verkaufen ..." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:73 -msgid "Verwende PSeCommerce, um Kurse zu verkaufen" +#: include/brainpress/view/admin/setting/class-marketpress.php:73 +msgid "Verwende MarketPress, um Kurse zu verkaufen" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:75 +#: include/brainpress/view/admin/setting/class-marketpress.php:75 msgid "" -"Wenn diese Option aktiviert ist, wird PSeCommerce für den Verkauf von Kursen " +"Wenn diese Option aktiviert ist, wird MarketPress für den Verkauf von Kursen " "verwendet" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:85 +#: include/brainpress/view/admin/setting/class-marketpress.php:85 msgid "" -"Leite den PSeCommerce-Produktbeitrag zu einem übergeordneten Kursbeitrag um" +"Leite den MarketPress-Produktbeitrag zu einem übergeordneten Kursbeitrag um" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:87 +#: include/brainpress/view/admin/setting/class-marketpress.php:87 msgid "" "Wenn diese Option aktiviert ist, werden Besucher, die versuchen, auf einen " -"einzelnen Beitrag von PSeCommerce zuzugreifen, automatisch auf einen " +"einzelnen Beitrag von MarketPress zuzugreifen, automatisch auf einen " "einzelnen Beitrag eines übergeordneten Kurses umgeleitet." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:92 +#: include/brainpress/view/admin/setting/class-marketpress.php:92 #: include/brainpress/view/admin/setting/class-woocommerce.php:89 msgid "Wenn der Kurs unbezahlt ist, dann:" msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:98 -#: include/brainpress/view/admin/setting/class-psecommerce.php:115 -msgid "Wechsle auf Entwurf des zugehörigen PSeCommerce-Produkts." +#: include/brainpress/view/admin/setting/class-marketpress.php:98 +#: include/brainpress/view/admin/setting/class-marketpress.php:115 +msgid "Wechsle auf Entwurf des zugehörigen MarketPress-Produkts." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:103 -#: include/brainpress/view/admin/setting/class-psecommerce.php:120 -msgid "Lösche das zugehörige PSeCommerce-Produkt." +#: include/brainpress/view/admin/setting/class-marketpress.php:103 +#: include/brainpress/view/admin/setting/class-marketpress.php:120 +msgid "Lösche das zugehörige MarketPress-Produkt." msgstr "" -#: include/brainpress/view/admin/setting/class-psecommerce.php:109 +#: include/brainpress/view/admin/setting/class-marketpress.php:109 #: include/brainpress/view/admin/setting/class-woocommerce.php:106 msgid "Wenn der Kurs gelöscht ist, dann:" msgstr "" @@ -8201,7 +8201,7 @@ msgstr "" #: include/brainpress/view/admin/setting/class-setup.php:70 #, php-format msgid "" -"%s hat auch PSeCommerce mit dabei - Falls Du Kurse verkaufen möchtest, dann " +"%s hat auch MarketPress mit dabei - Falls Du Kurse verkaufen möchtest, dann " "installiere es einfach über das BrainPress Dashboard." msgstr "" @@ -9564,7 +9564,7 @@ msgstr "" #: include/brainpress/view/admin/setting/class-woocommerce.php:72 msgid "" -"Wenn diese Option aktiviert ist, wird WooCommerce anstelle von PSeCommerce " +"Wenn diese Option aktiviert ist, wird WooCommerce anstelle von MarketPress " "für den Verkauf von Kursen verwendet" msgstr "" diff --git a/readme.txt b/readme.txt index 7cd8ddb..c645929 100644 --- a/readme.txt +++ b/readme.txt @@ -98,7 +98,7 @@ Make a [donation by bank transfer or PayPal](https://github.com/cp-psourcespende = 2.3.5 = * DSGVO neu integriert -* Anpassungen PSeCommerce +* Anpassungen MarketPress * Text Overhaul * PSource Updater v1.1 integriert diff --git a/themes/brainpress-theme/style.css b/themes/brainpress-theme/style.css index 5181d11..840bfe4 100644 --- a/themes/brainpress-theme/style.css +++ b/themes/brainpress-theme/style.css @@ -1324,7 +1324,7 @@ a.rsswidget { } -body.psecommerce-course .entry-content-excerpt { +body.marketpress-course .entry-content-excerpt { min-height: 360px; }