Hopefully all t()

hopefully the last of the t()
This commit is contained in:
Adam Magness
2018-01-22 16:59:31 -05:00
parent 83f1149d04
commit f0725ae384
27 changed files with 124 additions and 117 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ function group_post(App $a) {
$name = notags(trim($_POST['groupname']));
$r = Group::create(local_user(), $name);
if ($r) {
info(t('Group created.') . EOL);
info(L10n::t('Group created.') . EOL);
$r = Group::getIdByName(local_user(), $name);
if ($r) {
goaway(System::baseUrl() . '/group/' . $r);
@@ -67,7 +67,7 @@ function group_post(App $a) {
);
if ($r) {
info(t('Group name changed.') . EOL);
info(L10n::t('Group name changed.') . EOL);
}
}
@@ -124,7 +124,7 @@ function group_content(App $a) {
}
if ($result) {
info(t('Group removed.') . EOL);
info(L10n::t('Group removed.') . EOL);
} else {
notice(L10n::t('Unable to remove group.') . EOL);
}