Skip to content

Commit

Permalink
Dev Small translation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Dec 11, 2015
1 parent 478a4e1 commit 20cd6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/tokens.php
Expand Up @@ -1131,7 +1131,7 @@ function updatetokenattributes($iSurveyId)
Yii::app()->db->schema->getTable('{{tokens_' . $iSurveyId . '}}', true); // Refresh schema cache just in case the table existed in the past
LimeExpressionManager::SetDirtyFlag(); // so that knows that token tables have changed

Yii::app()->session['flashmessage'] = sprintf(gT("%s field(s) were successfully added."), $number2add);
Yii::app()->session['flashmessage'] = sprintf(ngT("%s field was successfully added|%s fields were successfully added.",$number2add), $number2add);
Yii::app()->getController()->redirect(array("/admin/tokens/sa/managetokenattributes/surveyid/$iSurveyId"));

}
Expand Down
2 changes: 1 addition & 1 deletion application/views/admin/token/managetokenattributes.php
Expand Up @@ -115,7 +115,7 @@

<div class="row">
<div class="col-lg-12 content-right">
<p><?php echo sprintf(gT('There are %s user attribute fields in this token table'), $nrofattributes); ?></p>
<p><?php echo sprintf(ngT('There is %s user attribute field in this token table.|There are %s user attribute fields in this token table.', $nrofattributes), $nrofattributes); ?></p>
<?php echo CHtml::form(array("admin/tokens/sa/updatetokenattributes/surveyid/{$surveyid}"), 'post',array('id'=>'addattribute')); ?>
<p>
<label for="addnumber"><?php eT('Number of attribute fields to add:'); ?></label>
Expand Down

0 comments on commit 20cd6ba

Please sign in to comment.