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

Loading…
Cancel
Save