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 17, 2021
1 parent 169ed36 commit cdf1872
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions application/models/ParticipantShare.php
Expand Up @@ -167,10 +167,10 @@ public function getButtons()
return "<a href='#'
data-toggle='modal'
data-target='#confirmation-modal'
data-title='". gt('Delete sharing')."'
data-title='". gt('Unshare this participant')."'
data-btnclass='btn-danger'
data-btntext='". gt('Delete') ."'
data-message='" . gT('Do you really want to delete the sharing of this participant?') . "'
data-btntext='". gt('Unshare') ."'
data-message='" . gT('Do you really want to unshare this participant?') . "'
data-onclick='(function() { LS.CPDB.deleteSingleParticipantShare(\"" . $url . "\"); })'>"
. "<button class='btn btn-xs btn-default action_delete_shareParticipant'><i class='fa fa-trash text-danger'></i></button>"
. "</a>";
Expand Down
8 changes: 4 additions & 4 deletions application/models/Permissiontemplates.php
Expand Up @@ -160,7 +160,7 @@ public function getButtons(): string
class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action--userdetail'
data-toggle='tooltip'
data-placement='top'
title='" . gT('View Role Details') . "'
title='" . gT('View role details') . "'
data-href='" . $detailUrl . "'><i class='fa fa-search'></i></button>";

// Edit Permission
Expand All @@ -169,7 +169,7 @@ class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action
class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action--permissions'
data-toggle='tooltip'
data-placement='top'
title='" . gT('Edit Permission') . "'
title='" . gT('Edit permission') . "'
data-href='" . $setPermissionsUrl . "'
data-modalsize='modal-lg'>
<i class='fa fa-lock'></i>
Expand All @@ -181,7 +181,7 @@ class='btn btn-sm btn-default RoleControl--action--openmodal RoleControl--action
class='btn btn-sm btn-default green-border RoleControl--action--openmodal RoleControl--action--edituser'
data-toggle='tooltip'
data-placement='top'
title='" . gT('Edit Role') . "'
title='" . gT('Edit role') . "'
data-href='" . $editUrl . "'>
<i class='fa fa-pencil'></i>
</button>";
Expand All @@ -191,7 +191,7 @@ class='btn btn-sm btn-default green-border RoleControl--action--openmodal RoleCo
. "<a class='btn btn-sm btn-default RoleControl--action--link'
data-toggle='tooltip'
data-placement='top'
title='" . gT('Export Role') . "'
title='" . gT('Export role') . "'
href='" . $exportRoleUrl . "'
role='button'>
<i class='fa fa-download'></i>
Expand Down
Expand Up @@ -114,7 +114,7 @@
<div class='form-group'>
<label for='anonymized' class='control-label col-sm-7'>
<?php eT("Anonymized responses"); ?>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, reponses will be anonymized - there will be no way to connect answers and participants."); ?>"></i>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, reponses will be anonymized - there will be no way to connect responses and participants."); ?>"></i>
<script type="text/javascript">
<!--
function alertPrivacy()
Expand Down Expand Up @@ -149,7 +149,7 @@ function alertPrivacy()
<div class='form-group'>
<label for='datestamp' class='control-label col-sm-7'>
<?php eT("Date stamp"); ?>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the time when the answers were submitted can be seen."); ?>"></i>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the submission time of a response will be recorded."); ?>"></i>
</label>
<div class='col-sm-5'>
<select id='datestamp' class='form-control' name='datestamp' onchange='alertDateStampAnonymization();'>
Expand All @@ -171,7 +171,7 @@ function alertPrivacy()
<div class='form-group'>
<label for='ipaddr' class='control-label col-sm-7'>
<?php eT("Save IP address"); ?>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the IP address of the survey respondent will be stored together with his or her answers."); ?>"></i>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the IP address of the survey respondent will be stored together with the response."); ?>"></i>
</label>

<div class='col-sm-5'>
Expand Down Expand Up @@ -233,7 +233,7 @@ function alertPrivacy()
<div class='form-group'>
<label class='control-label col-sm-7' for='refurl'>
<?php eT("Save referrer URL"); ?>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the referrer URL will be stored together with the answers."); ?>"></i>
<i class="fa fa-question-circle text-success" data-toggle="tooltip" title="<?= gT("If enabled, the referrer URL will be stored together with the response."); ?>"></i>
</label>
<div class='col-sm-5'>
<select class='form-control' name='refurl' id='refurl'>
Expand Down

0 comments on commit cdf1872

Please sign in to comment.