mirror of
https://github.com/friendica/friendica
synced 2024-11-17 20:23:40 +00:00
Merge pull request #14456 from annando/linefeeds
Fix linefeeds in "detected languages" popup
This commit is contained in:
commit
342eb53a41
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