Skip to content

Commit

Permalink
Edit lang
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegEryomin committed May 23, 2023
1 parent 5f564f4 commit c0f1d3b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
15 changes: 7 additions & 8 deletions lang/en/bsuselection.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@

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

$string['pluginname'] = 'Selection level foreign language';
$string['modulename'] = 'Selection level foreign language';
$string['pluginadministration'] = 'Choice administration';
$string['bsuselectionname'] = 'Header';
$string['bsuselectionfieldset'] = 'Test on choice';
$string['allowupdate'] = 'Allow choice to be updated';
$string['namevalue'] = 'Name value';
$string['pluginname'] = 'Survey based on completed tests';
$string['modulename'] = 'Survey based on completed tests';
$string['pluginadministration'] = 'Survey Management';
$string['bsuselectionname'] = 'Survey title';
$string['bsuselectionfieldset'] = 'Variants';
$string['namevalue'] = 'Name of the response option';
$string['quiz'] = 'Test';
$string['maxball'] = 'Minimum ball';
$string['maxball'] = 'Minimum score for selection';
1 change: 0 additions & 1 deletion lang/ru/bsuselection.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
$string['pluginadministration'] = 'Управление опросом';
$string['bsuselectionname'] = 'Заголовок опроса';
$string['bsuselectionfieldset'] = 'Варианты';
$string['allowupdate'] = 'Разрешить изменение выбора';
$string['namevalue'] = 'Наименование варианта ответа';
$string['quiz'] = 'Тест';
$string['maxball'] = 'Минимальный балл для выбора';
Expand Down
4 changes: 3 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,12 @@ function bsuselection_cm_info_view(\cm_info $cm)

}

$header = $DB->get_field('bsuselection', 'name', ['id' => $cm->instance]);

$exist = !$DB->record_exists('bsuselection_attempts', ['bsuselectionid' => $cm->instance, 'userid' => $USER->id]);
$data =
[
'header' => 'Выберите уровень',
'header' => $header,
'action' => "$CFG->wwwroot/mod/bsuselection/index.php",
'courseid' => $cm->course,
'selectionid' => $cm->instance,
Expand Down

0 comments on commit c0f1d3b

Please sign in to comment.