Skip to content

Commit f5fd393

Browse files
committed
Minor: Update language variable names
1 parent e786f79 commit f5fd393

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

main/common_cartridge/cc13_export.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
$course = CourseSelectForm::get_posted_course(null, 0, '', $course);
4848
$imsccFile = Cc13ExportConvert::export($course);
4949
if ($imsccFile !== false) {
50-
echo Display::return_message(get_lang('ImsccCreated'), 'confirm');
50+
echo Display::return_message(get_lang('IMSCCCreated'), 'confirm');
5151
echo '<br />';
5252
echo Display::toolbarButton(
5353
get_lang('Download'),

main/common_cartridge/cc13_import.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
];
2626

2727
$form = new FormValidator('cc_import', 'post', api_get_self().'?'.api_get_cidreq());
28-
$form->addFile('cc_file', get_lang('ImsccFile'));
28+
$form->addFile('cc_file', get_lang('IMSCCFile'));
2929
$form->addButtonImport(get_lang('Import'));
3030

3131
if ($form->validate()) {
@@ -59,14 +59,14 @@
5959
$detected = Imscc13Import::detectFormat($filepath);
6060
if ($detected) {
6161
Imscc13Import::execute($filepath);
62-
Display::addFlash(Display::return_message(get_lang('CcFileImported'), 'normal', false));
62+
Display::addFlash(Display::return_message(get_lang('IMSCCFileImported'), 'normal', false));
6363
}
6464
}
6565
}
6666
}
6767

6868
$template = new Template(get_lang('ImportCcVersion13'));
69-
Display::addFlash(Display::return_message(get_lang('ImportCcInstructions'), 'normal', false));
69+
Display::addFlash(Display::return_message(get_lang('IMSCCImportInstructions'), 'normal', false));
7070
$template->assign('form', $form->returnForm());
7171
$templateName = $template->get_template('common_cartridge/import_cc.tpl');
7272
$content = $template->fetch($templateName);

main/course_info/maintenance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<br>
6262
<div class="sectiontitle">
63-
<?php Display::display_icon('copy.gif', get_lang('CommonCartridge13')); ?>&nbsp;&nbsp;
63+
<?php Display::display_icon('copy.gif', get_lang('IMSCC13')); ?>&nbsp;&nbsp;
6464
<?php echo get_lang('CommonCartridge13'); ?>
6565
</div>
6666
<div class="sectioncomment">
@@ -69,13 +69,13 @@
6969
<a href="<?php echo api_get_path(WEB_CODE_PATH); ?>common_cartridge/cc13_export.php?<?php echo api_get_cidreq(); ?>">
7070
<?php echo get_lang('ExportCcVersion13'); ?></a>
7171
</a><br/>
72-
<?php echo get_lang('ExportInfo'); ?>
72+
<?php echo get_lang('ExportCcVersion13Info'); ?>
7373
</li>
7474
<li>
7575
<a href="<?php echo api_get_path(WEB_CODE_PATH); ?>common_cartridge/cc13_import.php?<?php echo api_get_cidreq(); ?>">
7676
<?php echo get_lang('ImportCcVersion13'); ?></a>
7777
</a><br/>
78-
<?php echo get_lang('ImportInfo'); ?>
78+
<?php echo get_lang('ImportCcVersion13Info'); ?>
7979
</li>
8080
</ul>
8181
</div>

0 commit comments

Comments
 (0)