summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editservice.php2
-rw-r--r--lang/en/local_webhooks.php1
-rw-r--r--lang/ru/local_webhooks.php26
-rw-r--r--managerservice.php2
-rw-r--r--settings.php2
5 files changed, 3 insertions, 30 deletions
diff --git a/editservice.php b/editservice.php
index c4f68ff..9474ad9 100644
--- a/editservice.php
+++ b/editservice.php
@@ -83,7 +83,7 @@ $PAGE->set_title($titlepage);
/* The page title */
$PAGE->navbar->add(new lang_string("pluginname", "local_webhooks"), new moodle_url("/admin/settings.php", array("section" => "local_webhooks")));
-$PAGE->navbar->add(new lang_string("managerservice", "local_webhooks"), $managerservice);
+$PAGE->navbar->add(new lang_string("externalservices", "webservice"), $managerservice);
$PAGE->navbar->add($titlepage);
echo $OUTPUT->header();
diff --git a/lang/en/local_webhooks.php b/lang/en/local_webhooks.php
index 041233f..d945f65 100644
--- a/lang/en/local_webhooks.php
+++ b/lang/en/local_webhooks.php
@@ -22,5 +22,4 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-$string["managerservice"] = "Service management manager";
$string["pluginname"] = "WebHooks"; \ No newline at end of file
diff --git a/lang/ru/local_webhooks.php b/lang/ru/local_webhooks.php
deleted file mode 100644
index 73db595..0000000
--- a/lang/ru/local_webhooks.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-// This file is part of Moodle - http://moodle.org/
-//
-// Moodle is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Moodle is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
-
-/**
- * Strings for component "local_webhooks", language "ru".
- *
- * @package local_webhooks
- * @copyright 2017 "Valentin Popov" <info@valentineus.link>
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- */
-
-$string["managerservice"] = "Менеджер управления службами";
-$string["pluginname"] = "WebHooks"; \ No newline at end of file
diff --git a/managerservice.php b/managerservice.php
index 7865f28..ccdb7bc 100644
--- a/managerservice.php
+++ b/managerservice.php
@@ -64,7 +64,7 @@ if (boolval($hideshowid) && confirm_sesskey()) {
}
/* Page template */
-$titlepage = new lang_string("managerservice", "local_webhooks");
+$titlepage = new lang_string("externalservices", "webservice");
$PAGE->set_pagelayout("admin");
$PAGE->set_title($titlepage);
$PAGE->set_heading($titlepage);
diff --git a/settings.php b/settings.php
index b83ad3d..5092974 100644
--- a/settings.php
+++ b/settings.php
@@ -33,7 +33,7 @@ if ($hassiteconfig) {
$settings->add(new admin_setting_configcheckbox("local_webhooks/enable", new lang_string("enable", "moodle"), new lang_string("enablews", "webservice"), false));
/* Link to the service manager */
- $linktext = new lang_string("managerservice", "local_webhooks");
+ $linktext = new lang_string("externalservices", "webservice");
$linkurl = new moodle_url("/local/webhooks/managerservice.php");
$settings->add(new admin_setting_heading("local_webhooks_managerservice", null, html_writer::link($linkurl, $linktext)));
} \ No newline at end of file