Skip to content

Commit d9ec491

Browse files
committed
Hello World
1 parent ad0aad5 commit d9ec491

File tree

8 files changed

+42
-42
lines changed

8 files changed

+42
-42
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##WeePay Payment Moodle Plugin Change Log
1+
##weePay Payment Moodle Plugin Change Log
22

33
1.0 (2021030101)
44
* This plugin cloned from stripepayment plugin (by Dualcube Team) and implemented WeePay

callback.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function message_weepaypayment_error_to_admin($subject, $data)
5151
$message .= s($key) . " => " . s($value) . "\n";
5252
}
5353

54-
$subject = "Weepay PAYMENT ERROR: " . $subject;
54+
$subject = "weepay PAYMENT ERROR: " . $subject;
5555
$fullmessage = $message;
5656
$fullmessagehtml = html_to_text('<p>' . $message . '</p>');
5757

@@ -64,7 +64,7 @@ function message_weepaypayment_error_to_admin($subject, $data)
6464

6565
$data = [];
6666

67-
// Weepay START
67+
// weepay START
6868
$plugin = enrol_get_plugin('weepaypayment');
6969

7070
require_once "weepay/weepayBootstrap.php";

db/access.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

1717
/**
18-
* Capabilities for Weepay enrolment plugin.
18+
* Capabilities for weepay enrolment plugin.
1919
*
2020
* @package enrol_weepaypayment
2121
* @copyright 2019 Dualcube Team

db/install.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<XMLDB PATH="enrol/weepaypayment/db" VERSION="20120122" COMMENT="XMLDB file for Moodle enrol/weepaypayment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
33
<TABLES>
4-
<TABLE NAME="enrol_weepaypayment" COMMENT="Holds all known information about Weepay transactions">
4+
<TABLE NAME="enrol_weepaypayment" COMMENT="Holds all known information about weepay transactions">
55
<FIELDS>
66
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
77
<FIELD NAME="payment_id" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>

db/messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

1717
/**
18-
* Defines message providers (types of message sent) for the Weepay enrolment plugin.
18+
* Defines message providers (types of message sent) for the weepay enrolment plugin.
1919
*
2020
* @package enrol_weepaypayment
2121
* @copyright 2019 Dualcube Team

lang/en/enrol_weepaypayment.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@
2424
*/
2525

2626
$string['assignrole'] = 'Assign role';
27-
$string['merchantid'] = 'Weepay Merchant ID';
28-
$string['merchantid_desc'] = 'The Merchant ID of Weepay account';
29-
$string['secretkey'] = 'Weepay Secret Key';
30-
$string['publishablekey'] = 'Weepay API Key';
31-
$string['sandboxmode'] = 'Weepay Sandbox Mode';
32-
$string['sandboxmode_desc'] = 'Use Weepay Sandbox Mode for debugging';
33-
$string['secretkey_desc'] = 'The API Secret Key of Weepay account';
34-
$string['publishablekey_desc'] = 'The API Key of Weepay account';
27+
$string['merchantid'] = 'weepay Merchant ID';
28+
$string['merchantid_desc'] = 'The Merchant ID of weepay account';
29+
$string['secretkey'] = 'weepay Secret Key';
30+
$string['publishablekey'] = 'weepay API Key';
31+
$string['sandboxmode'] = 'weepay Sandbox Mode';
32+
$string['sandboxmode_desc'] = 'Use weepay Sandbox Mode for debugging';
33+
$string['secretkey_desc'] = 'The API Secret Key of weepay account';
34+
$string['publishablekey_desc'] = 'The API Key of weepay account';
3535
$string['cost'] = 'Enrol cost';
3636
$string['costerror'] = 'The enrolment cost is not numeric';
3737
$string['costorkey'] = 'Please choose one of the following methods of enrolment.';
3838
$string['currency'] = 'Currency';
3939
$string['defaultrole'] = 'Default role assignment';
40-
$string['defaultrole_desc'] = 'Select role which should be assigned to users during Weepay enrolments';
40+
$string['defaultrole_desc'] = 'Select role which should be assigned to users during weepay enrolments';
4141
$string['enrolenddate'] = 'End date';
4242
$string['enrolenddate_help'] = 'If enabled, users can be enrolled until this date only.';
4343
$string['enrolenddaterror'] = 'Enrolment end date cannot be earlier than start date';
@@ -51,18 +51,18 @@
5151
$string['mailadmins'] = 'Notify admin';
5252
$string['mailstudents'] = 'Notify students';
5353
$string['mailteachers'] = 'Notify teachers';
54-
$string['messageprovider:weepay_enrolment'] = 'Weepay enrolment messages';
54+
$string['messageprovider:weepay_enrolment'] = 'weepay enrolment messages';
5555
$string['nocost'] = 'There is no cost associated with enrolling in this course!';
56-
$string['weepay:config'] = 'Configure Weepay enrol instances';
56+
$string['weepay:config'] = 'Configure weepay enrol instances';
5757
$string['weepay:manage'] = 'Manage enrolled users';
5858
$string['weepay:unenrol'] = 'Unenrol users from course';
5959
$string['weepay:unenrolself'] = 'Unenrol self from the course';
60-
$string['weepayaccepted'] = 'Weepay payments accepted';
61-
$string['pluginname'] = 'Weepay Payment';
60+
$string['weepayaccepted'] = 'weepay payments accepted';
61+
$string['pluginname'] = 'weepay Payment';
6262
$string['pluginname_desc'] = 'The iyzipay module allows you to set up paid courses. If the cost for any course is zero, then students are not asked to pay for entry. There is a site-wide cost that you set here as a default for the whole site and then a course setting that you can set for each course individually. The course cost overrides the site cost.';
63-
$string['sendpaymentbutton'] = 'Send payment via Weepay';
64-
$string['status'] = 'Allow Weepay enrolments';
65-
$string['status_desc'] = 'Allow users to use Weepay to enrol into a course by default.';
63+
$string['sendpaymentbutton'] = 'Send payment via weepay';
64+
$string['status'] = 'Allow weepay enrolments';
65+
$string['status_desc'] = 'Allow users to use weepay to enrol into a course by default.';
6666
$string['unenrolselfconfirm'] = 'Do you really want to unenrol yourself from course "{$a}"?';
6767
$string['messageprovider:weepaypayment_enrolment'] = 'Message Provider';
6868

lang/tr/enrol_weepaypayment.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
defined('MOODLE_INTERNAL') || die();
2727

28-
$string['merchantid'] = 'Weepay Bayi ID';
29-
$string['merchantid_desc'] = 'Weepay tarafından verilen Bayi numarası';
28+
$string['merchantid'] = 'weepay Bayi ID';
29+
$string['merchantid_desc'] = 'weepay tarafından verilen Bayi numarası';
3030
$string['applycode'] = 'Kodu girin';
3131
$string['assignrole'] = 'Rol belirle';
3232
$string['canntenrol'] = 'Kayıt devredışı veya etkin değil';
@@ -55,31 +55,31 @@
5555
$string['weepay:manage'] = 'Kayıtlı kullanıcıları yönetin';
5656
$string['weepay:unenrol'] = 'Dersten kullanıcı kayıtlarını silin';
5757
$string['weepay:unenrolself'] = 'Kendi kaydını dersten sil';
58-
$string['weepayaccepted'] = 'Weepay ödemesi kabul edildi';
59-
$string['weepaypayment:config'] = 'Weepay ödeme yapılandırması';
60-
$string['weepaypayment:manage'] = 'Weepay ödeme yönetimi';
61-
$string['weepaypayment:unenrol'] = 'Weepay ödeme kaydını sil';
62-
$string['weepaypayment:unenrolself'] = 'Kendi Weepay ödeme kaydını sil';
58+
$string['weepayaccepted'] = 'weepay ödemesi kabul edildi';
59+
$string['weepaypayment:config'] = 'weepay ödeme yapılandırması';
60+
$string['weepaypayment:manage'] = 'weepay ödeme yönetimi';
61+
$string['weepaypayment:unenrol'] = 'weepay ödeme kaydını sil';
62+
$string['weepaypayment:unenrolself'] = 'Kendi weepay ödeme kaydını sil';
6363
$string['weepay_sorry'] = 'Üzgünüz, betiği bu şekilde kullanamazsınız.';
6464
$string['mailadmins'] = 'Yöneticiye haber ver';
6565
$string['mailstudents'] = 'Öğrencilere haber ver';
6666
$string['mailteachers'] = 'Öğretmenlere haber ver';
6767
$string['maxenrolled'] = 'Azami kayıtlı kullanıcı';
6868
$string['maxenrolledreached'] = 'İzin verilen azami kayıt sayısına ulaşıldı.';
69-
$string['maxenrolled_help'] = 'Weepay ile kursa kaydı alınacak kullanıcı sayısını girin. 0 sınırsız anlamına gelir.';
69+
$string['maxenrolled_help'] = 'weepay ile kursa kaydı alınacak kullanıcı sayısını girin. 0 sınırsız anlamına gelir.';
7070
$string['messageprovider:weepaypayment_enrolment'] = 'Mesaj sağlayıcı';
71-
$string['messageprovider:weepay_enrolment'] = 'Weepay kayıt mesajları';
71+
$string['messageprovider:weepay_enrolment'] = 'weepay kayıt mesajları';
7272
$string['newcost'] = 'Yeni ücret';
7373
$string['nocost'] = 'Bu derse kaydolmak için belirlenmiş bir ücret yok.';
74-
$string['pluginname'] = 'Weepay Ödeme';
74+
$string['pluginname'] = 'weepay Ödeme';
7575
$string['pluginname_desc'] = 'iyzipay modülü ücretli dersler sunmanızı sağlar. Eğer herhangi bir ders ücretsiz ise, öğrencilerden giriş için ödeme talep edilmez. Tüm site çapında varsayılan olarak belirleyebileceğiniz bir ücret ayarı olduğu gibi her ders için tek tek ücret belirleyebileceğiniz bir ayar da mevcuttur. Ders ücreti site çapındaki ücreti devre dışı bırakır.';
7676
$string['publishablekey'] = 'İyzico API Anahtarı';
77-
$string['publishablekey_desc'] = 'Weepay tarafından verilen API anahtarı';
78-
$string['sandboxmode'] = 'Weepay deneme modu';
79-
$string['sandboxmode_desc'] = 'Hata ayıklama ve test için Weepay deneme modunu kullanın';
80-
$string['secretkey'] = 'Weepay Gizli Anahtarı';
81-
$string['secretkey_desc'] = 'Weepay tarafından verilen API Gizli Anahtarı';
82-
$string['sendpaymentbutton'] = 'iyWeepayzico ile ödeme yap';
83-
$string['status'] = 'iyzWeepayico kayıtlarına izin ver';
84-
$string['status_desc'] = 'Kullanıcıların varsayılan olarak Weepay ile kayıt olmasına izin ver.';
77+
$string['publishablekey_desc'] = 'weepay tarafından verilen API anahtarı';
78+
$string['sandboxmode'] = 'weepay deneme modu';
79+
$string['sandboxmode_desc'] = 'Hata ayıklama ve test için weepay deneme modunu kullanın';
80+
$string['secretkey'] = 'weepay Gizli Anahtarı';
81+
$string['secretkey_desc'] = 'weepay tarafından verilen API Gizli Anahtarı';
82+
$string['sendpaymentbutton'] = 'iyweepayzico ile ödeme yap';
83+
$string['status'] = 'iyzweepayico kayıtlarına izin ver';
84+
$string['status_desc'] = 'Kullanıcıların varsayılan olarak weepay ile kayıt olmasına izin ver.';
8585
$string['unenrolselfconfirm'] = '"{$a}" dersinden kaydınızı silmek istediğinize emin misiniz?';

lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616

1717
/**
18-
* Weepay enrolment plugin.
18+
* weepay enrolment plugin.
1919
*
2020
* This plugin allows you to set up paid courses.
2121
* @package enrol_weepaypayment
@@ -27,7 +27,7 @@
2727
defined('MOODLE_INTERNAL') || die();
2828

2929
/**
30-
* Weepay enrolment plugin implementation.
30+
* weepay enrolment plugin implementation.
3131
* @copyright 2019 Dualcube Team
3232
* @copyright 2021 WebTech Bilişim
3333
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

0 commit comments

Comments
 (0)