Skip to content

Commit

Permalink
Dev Some translation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 1, 2021
1 parent 5423d57 commit 409b20d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -276,7 +276,7 @@ public function actionViewUser($id, $to)
throw new CHttpException(403, gT("You do not have permission to this user."));
}
if ($to == App()->user->getId()) {
throw new CHttpException(403, gT("You do not set your own permission."));
throw new CHttpException(403, gT("You cannot modify your own permissions."));
}
$this->viewUserOrUserGroup($id, $to, 'user');
}
Expand Down
2 changes: 1 addition & 1 deletion application/core/LsDefaultDataSets.php
Expand Up @@ -2876,7 +2876,7 @@ public static function getDefaultUserAdministrationSettings()
$template .= "<p>" . gT("Thank you") . "!</p>";

$default['sendadmincreationemail'] = 1;
$default['admincreationemailsubject'] = gT("User registration at") . " {SITENAME}";
$default['admincreationemailsubject'] = sprintf(gT("User registration at '%s'", "unescaped"), "{SITENAME}");
$default['admincreationemailtemplate'] = $template;

return $default;
Expand Down
Expand Up @@ -29,7 +29,7 @@
<?php /* @see https://bugs.limesurvey.org/view.php?id=16792 */ ?>
<a
data-target='#confirmation-modal' data-toggle='modal'
data-message='<?= gT("Are you sure to remove all permissions for this user") ?>'
data-message='<?= gT("Are you sure to remove all permissions for this user?") ?>'
data-href='<?= $deleteUrl ?>'
><span class="fa fa-trash text-warning" aria-hidden="true" title="<?= gT("Delete") ?>"><span>
<span class="sr-only"><?= gT("Delete") ?></span>
Expand Down

0 comments on commit 409b20d

Please sign in to comment.