Skip to content

Commit

Permalink
Dev Updated texts
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 25, 2017
1 parent 012c942 commit b1864a3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/responses.php
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ function ($id) {
$allErrors = array_merge($allErrors, $errors);
}
} else {
$allErrors[] = sprintf(gT('Found no response with id %d'), $responseId);
$allErrors[] = sprintf(gT('Found no response with ID %d'), $responseId);
}
}

Expand All @@ -701,7 +701,7 @@ function ($id) {
);
} else {
// All is OK.
ls\ajax\AjaxHelper::outputSuccess(sprintf(gT('%d file(s) deleted.'), $allSuccess));
ls\ajax\AjaxHelper::outputSuccess(sprintf(ngT('%d file deleted.|%d files deleted.',$allSuccess), $allSuccess));
}
} else {
// No permission.
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/admin/tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public function editMultiple()

}else{
$aResults['global']['result'] = false;
$aResults['global']['message'] = gT('No token table found for that survey!');
$aResults['global']['message'] = gT('No participant table found for this survey!');
}
}else{
$aResults['global']['result'] = false;
Expand Down
2 changes: 1 addition & 1 deletion application/helpers/admin/statistics_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2574,7 +2574,7 @@ protected function displayResults($outputs, $results, $rt, $outputType, $surveyi
$row=Yii::app()->db->createCommand($query)->queryScalar();
} catch (Exception $ex) {
$row = 0;
Yii::app()->setFlashMessage(gT('Faulty query: ') . $query, 'error');
Yii::app()->setFlashMessage('Faulty query: ' . htmlspecialchars($query), 'error');
}

//store temporarily value of answer count of question type '5' and 'A'.
Expand Down
8 changes: 4 additions & 4 deletions application/views/admin/global_settings/_storage_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<table class='table table-striped table-bordered'>
<tfoot>
<tr>
<td style='width: 70%;'><?php eT('Total storage:'); ?></td>
<td style='width: 70%;'><?php eT('Total storage'); ?></td>
<td><?php echo $totalStorage; ?></td>
</tr>
</tfoot>
<tbody>
<tr>
<td><?php eT('Survey storage:'); ?></td>
<td><?php eT('Survey storage'); ?></td>
<td><?php echo $surveySize; ?></td>
</tr>
<tr>
<td><?php eT('Template storage:'); ?></td>
<td><?php eT('Template storage'); ?></td>
<td><?php echo $templateSize; ?></td>
</tr>
<tr>
<td><?php eT('Label set storage:'); ?></td>
<td><?php eT('Label set storage'); ?></td>
<td><?php echo $labelSize; ?></td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions application/views/admin/token/massive_actions/_selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'action' => 'edit',
'url' => App()->createUrl('/admin/tokens/sa/editMultiple/'),
'iconClasses' => 'fa fa-pencil text-success',
'text' => gT('Batch edit tokens'),
'text' => gT('Batch-edit participants'),
'grid-reload' => 'yes',

// modal
Expand All @@ -32,7 +32,7 @@
'yes' => gT('Apply'),
'no' => gT('Cancel'),
'keepopen' => 'yes',
'sModalTitle' => gT('Batch edit tokens'),
'sModalTitle' => gT('Batch-edit participants'),
'htmlModalBody' => $this->renderPartial('./token/massive_actions/_update', array('dateformatdetails' => getDateFormatData(Yii::app()->session['dateformat'])), true),
),

Expand Down

0 comments on commit b1864a3

Please sign in to comment.