Merge pull request #12045 from nupplaphil/bug/messages_po

Fix messages.po issue
This commit is contained in:
Hypolite Petovan 2022-10-21 11:13:21 -04:00 committed by GitHub
commit c815bbab52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1283 additions and 1283 deletions

View file

@ -43,7 +43,7 @@ function repair_ostatus_content(App $a) {
$total = DBA::count('contact', $condition);
if (!$total) {
return ($o . DI::l10n()->t('Error'));
return ($o . DI::l10n()->tt('Error', 'Errors', 1));
}
$contact = Contact::selectToArray(['url'], $condition, ['order' => ['url'], 'limit' => [$counter++, 1]]);

View file

@ -126,7 +126,7 @@ class ActivityPubConversion extends BaseModule
];
} catch (\Throwable $e) {
$results[] = [
'title' => DI::l10n()->t('Error'),
'title' => DI::l10n()->tt('Error', 'Errors', 1),
'content' => $e->getMessage(),
];
}

View file

@ -290,7 +290,7 @@ class Babel extends BaseModule
];
} else {
$results[] = [
'title' => DI::l10n()->t('Error'),
'title' => DI::l10n()->tt('Error', 'Errors', 1),
'content' => DI::l10n()->t('Twitter addon is absent from the addon/ folder.'),
];
}

File diff suppressed because it is too large Load diff