Fix messages.po issue
This commit is contained in:
parent
f609386ca1
commit
bf39b5a948
4 changed files with 1283 additions and 1283 deletions
|
@ -43,7 +43,7 @@ function repair_ostatus_content(App $a) {
|
||||||
$total = DBA::count('contact', $condition);
|
$total = DBA::count('contact', $condition);
|
||||||
|
|
||||||
if (!$total) {
|
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]]);
|
$contact = Contact::selectToArray(['url'], $condition, ['order' => ['url'], 'limit' => [$counter++, 1]]);
|
||||||
|
|
|
@ -126,7 +126,7 @@ class ActivityPubConversion extends BaseModule
|
||||||
];
|
];
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
$results[] = [
|
$results[] = [
|
||||||
'title' => DI::l10n()->t('Error'),
|
'title' => DI::l10n()->tt('Error', 'Errors', 1),
|
||||||
'content' => $e->getMessage(),
|
'content' => $e->getMessage(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -290,7 +290,7 @@ class Babel extends BaseModule
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$results[] = [
|
$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.'),
|
'content' => DI::l10n()->t('Twitter addon is absent from the addon/ folder.'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue