Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed issue : don't translate mandatory column at token upload

Dev: mandatory column must be in english
  • Loading branch information...
commit 0c3967689452374828f609bf3163f5a76b8b4603 1 parent 20f57be
@Shnoulle Shnoulle authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/views/admin/token/csvpost.php
View
4 application/views/admin/token/csvpost.php
@@ -4,7 +4,7 @@
<div class='warningheader'><?php $clang->eT("Failed to open the uploaded file!"); ?></div><br />
<?php } ?>
<?php if (!in_array('firstname', $firstline) || !in_array('lastname', $firstline) || !in_array('email', $firstline)) { ?>
- <div class='warningheader'><?php $clang->eT("Error: Your uploaded file is missing one or more of the mandatory columns: 'firstname', 'lastname' or 'email'"); ?></div><br />
+ <div class='warningheader'><?php printf($clang->gT("Error: Your uploaded file is missing one or more of the mandatory columns (%s)"),"firstname, lastname, email"); ?></div><br />
<?php } ?>
<?php if ($xz != 0) { ?>
<div class='successheader'><?php $clang->eT("Successfully created token entries"); ?></div><br />
@@ -68,4 +68,4 @@
<?php } ?>
<br />
-</div>
+</div>
Please sign in to comment.
Something went wrong with that request. Please try again.