mirror of
https://github.com/friendica/friendica
synced 2024-12-22 13:20:15 +00:00
Fix linefeeds in "detected languages" popup
This commit is contained in:
parent
452cdadaa3
commit
53015140d9
2 changed files with 7 additions and 5 deletions
|
@ -2319,12 +2319,12 @@ class Item
|
|||
}
|
||||
|
||||
if ($native != $language) {
|
||||
$used_languages .= DI::l10n()->t('%s (%s - %s): %s', $native, $language, $code, number_format($reliability, 5)) . '\n';
|
||||
$used_languages .= DI::l10n()->t('%s (%s - %s): %s', $native, $language, $code, number_format($reliability, 5)) . "\n";
|
||||
} else {
|
||||
$used_languages .= DI::l10n()->t('%s (%s): %s', $native, $code, number_format($reliability, 5)) . '\n';
|
||||
$used_languages .= DI::l10n()->t('%s (%s): %s', $native, $code, number_format($reliability, 5)) . "\n";
|
||||
}
|
||||
}
|
||||
$used_languages = DI::l10n()->t('Detected languages in this post:\n%s', $used_languages);
|
||||
$used_languages = DI::l10n()->t("Detected languages in this post:\n%s", $used_languages);
|
||||
return $used_languages;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: 2024.09-dev\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-03 12:14+0200\n"
|
||||
"POT-Creation-Date: 2024-10-07 20:46+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -3382,7 +3382,9 @@ msgstr ""
|
|||
|
||||
#: src/Model/Item.php:2327
|
||||
#, php-format
|
||||
msgid "Detected languages in this post:\\n%s"
|
||||
msgid ""
|
||||
"Detected languages in this post:\n"
|
||||
"%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/Model/Item.php:3276
|
||||
|
|
Loading…
Reference in a new issue