Skip to content

Commit

Permalink
Dev Some text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 24, 2022
1 parent 7a5b2b5 commit 5714ab1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/Authentication.php
Expand Up @@ -429,7 +429,7 @@ private static function createNewFailedEmailsNotification()
$uniqueNotification = new UniqueNotification(
array(
'user_id' => App()->user->id,
'title' => gT('Failed e-mail notifications'),
'title' => gT('Failed email notifications'),
'markAsNew' => false,
'importance' => Notification::NORMAL_IMPORTANCE,
'message' => Yii::app()->getController()->renderPartial('//failedEmail/notification_message/_notification_message', [
Expand Down
2 changes: 1 addition & 1 deletion application/libraries/Save.php
Expand Up @@ -215,7 +215,7 @@ function saveSurvey()
$mailer->emailType = 'savesurveydetails';
$mailer->isHTML(false);
$mailer->Subject = gT("Saved Survey Details") . " - " . $thissurvey['name'];
$message = gT("Thank you for saving your survey in progress. The following details can be used to return to this survey and continue where you left off. Please keep this e-mail for your reference - we cannot retrieve the password for you.");
$message = gT("Thank you for saving your survey in progress. The following details can be used to return to this survey and continue where you left off. Please keep this email for your reference - we cannot retrieve the password for you.");
$message .= "\n\n" . $thissurvey['name'] . "\n\n";
$message .= gT("Name") . ": " . Yii::app()->getRequest()->getPost('savename') . "\n";
$message .= gT("Password") . ": ***************\n\n";
Expand Down
4 changes: 2 additions & 2 deletions application/views/failedEmail/partials/buttons.php
Expand Up @@ -5,14 +5,14 @@
*/
?>
<div class="icon-btn-row">
<button data-toggle="tooltip" title="<?= gT("Resend E-mail") ?>"
<button data-toggle="tooltip" title="<?= gT("Resend email") ?>"
class="btn btn-default btn-sm <?= !$permissions['update'] ? "" : "failedemail-action-modal-open" ?>"
data-href="<?= App()->createUrl('/failedEmail/modalcontent', ['id' => $id]) ?>"
data-contentFile="resend_form"
<?= !$permissions['update'] ? "disabled='disabled'" : "" ?>>
<i class="fa fa-envelope-square"></i>
</button>
<button data-toggle="tooltip" title="<?= gT("E-mail content") ?>"
<button data-toggle="tooltip" title="<?= gT("Email content") ?>"
class="btn btn-default btn-sm failedemail-action-modal-open"
data-href="<?= App()->createUrl('/failedEmail/modalcontent', ['id' => $id]) ?>"
data-contentFile="email_content">
Expand Down
Expand Up @@ -6,7 +6,7 @@
*/
?>

<?= App()->getController()->renderPartial('/layouts/partial_modals/modal_header', ['modalTitle' => gT('Delete failed e-mail notifications')]) ?>
<?= App()->getController()->renderPartial('/layouts/partial_modals/modal_header', ['modalTitle' => gT('Delete failed email notifications')]) ?>
<?= CHtml::form(['/failedEmail/delete/', 'surveyid' => $surveyId, 'item' => $id], 'post', ['id' => 'failedemail-action-modal--form']) ?>
<div class="modal-body">
<p><?= gT('Are you sure you want to delete the selected notifications?') ?></p>
Expand Down
Expand Up @@ -3,7 +3,7 @@
**/ ?>
<div class="modal-header">
<div class="modal-title h4">
<?= gT('Deleted e-mail notifications') ?>
<?= gT('Deleted email notifications') ?>
</div>
</div>
<div class="modal-body">
Expand Down
@@ -1,6 +1,6 @@
<?php
?>
<label class="control-label" for="preserveResend"><?= gT('Preserve Successfull e-mails?') ?></label>
<label class="control-label" for="preserveResend"><?= gT('Preserve successful emails?') ?></label>
<div>
<input class="custom-data" type="checkbox" name="preserveResend" id="preserveResend"/>
</div>
Expand Up @@ -6,7 +6,7 @@
*/
?>

<?= App()->getController()->renderPartial('/layouts/partial_modals/modal_header', ['modalTitle' => gT('Resend e-mail')]) ?>
<?= App()->getController()->renderPartial('/layouts/partial_modals/modal_header', ['modalTitle' => gT('Resend email')]) ?>
<?= CHtml::form(['/failedEmail/resend/', 'surveyid' => $surveyId, 'item' => $id], 'post', ['id' => 'failedemail-action-modal--form']) ?>
<div class="modal-body">
<?= $this->renderPartial('./partials/modal/resend_body', [], false) ?>
Expand Down

0 comments on commit 5714ab1

Please sign in to comment.