Minor: Update language terms in Compilatio code to match code conventions

pull/3419/head
Yannick Warnier 5 years ago
parent b7226cd2cf
commit a97cc0eff2
  1. 26
      main/plagiarism/compilatio/compiladmin.php

@ -12,16 +12,16 @@ $compilatio = new Compilatio();
$use_space = number_format($quotas->usedSpace / 1000000, 2);
$total_space = $quotas->space / 1000000;
echo "<h3>".get_lang('compilatioDescription')."</h3>";
echo "<h3>".get_lang('CompilatioDescription')."</h3>";
echo "<b>"
.get_lang('compilatioQuota')
.get_lang('CompilatioQuota')
.":"
." </b><br>"
.get_lang('compilatioCredit')
.get_lang('CompilatioCredit')
.": "
.$quotas->usedCredits
.get_lang('compilatioOn')
.get_lang('CompilatioOn')
.$quotas->credits;
?>
@ -35,13 +35,13 @@ if (!isset($_GET['action'])) {
</form>
<?php
} else {
echo get_lang('compilatioConnectionTestSoap')."<br>";
echo "1) ".get_lang('compilatioServerConnection')."<br>";
echo get_lang('CompilatioConnectionTestSoap')."<br>";
echo "1) ".get_lang('CompilatioServerConnection')."<br>";
$compilatio = new Compilatio();
if ($compilatio) {
echo get_lang('compilatioConnectionAccomplished')."<br>";
echo "2) ".get_lang('compilatioSendTextToServer')."<br>";
$text = get_lang('compilatioTestSendText').$compilatio->getKey();
echo get_lang('CompilatioConnectionAccomplished')."<br>";
echo "2) ".get_lang('CompilatioSendTextToServer')."<br>";
$text = get_lang('CompilatioTestSendText').$compilatio->getKey();
$id_compi = $compilatio->SendDoc(
'Doc de test',
'test',
@ -50,13 +50,13 @@ if (!isset($_GET['action'])) {
$text
);
if (Compilatio::isMd5($id_compi)) {
echo get_lang('compilatioSuccessfulTransfer')."<br>";
echo get_lang('CompilatioSuccessfulTransfer')."<br>";
} else {
echo get_lang('compilatioFailedTransfer')."<br>";
echo get_lang('CompilatioFailedTransfer')."<br>";
}
} else {
echo get_lang('compilatioNotConnection')."<br>";
echo get_lang('compilatioParamVerification')."<br>";
echo get_lang('CompilatioNotConnection')."<br>";
echo get_lang('CompilatioParamVerification')."<br>";
}
}
?>

Loading…
Cancel
Save