Merge pull request #4329 from zeroadam/Strings

Eliminate double usage
This commit is contained in:
Michael Vogel 2018-01-25 15:21:37 +01:00 committed by GitHub
commit 6c8802b1dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@ function friendica_content(App $a)
} }
if (count($visible_addons)) { if (count($visible_addons)) {
$o .= '<p>' . L10n::t('Installed addons/addons/apps:') . '</p>' . PHP_EOL; $o .= '<p>' . L10n::t('Installed addons/apps:') . '</p>' . PHP_EOL;
$sorted = $visible_addons; $sorted = $visible_addons;
$s = ''; $s = '';
sort($sorted); sort($sorted);
@ -114,7 +114,7 @@ function friendica_content(App $a)
} }
$o .= '<div style="margin-left: 25px; margin-right: 25px;">' . $s . '</div>' . PHP_EOL; $o .= '<div style="margin-left: 25px; margin-right: 25px;">' . $s . '</div>' . PHP_EOL;
} else { } else {
$o .= '<p>' . L10n::t('No installed addons/addons/apps') . '</p>' . PHP_EOL; $o .= '<p>' . L10n::t('No installed addons/apps') . '</p>' . PHP_EOL;
} }
$blocklist = Config::get('system', 'blocklist'); $blocklist = Config::get('system', 'blocklist');

View File

@ -1128,8 +1128,8 @@ $a->strings["running at web location"] = "";
$a->strings["Please visit <a href=\"http://friendica.com\">Friendica.com</a> to learn more about the Friendica project."] = ""; $a->strings["Please visit <a href=\"http://friendica.com\">Friendica.com</a> to learn more about the Friendica project."] = "";
$a->strings["Bug reports and issues: please visit"] = ""; $a->strings["Bug reports and issues: please visit"] = "";
$a->strings["Suggestions, praise, donations, etc. - please email \"Info\" at Friendica - dot com"] = ""; $a->strings["Suggestions, praise, donations, etc. - please email \"Info\" at Friendica - dot com"] = "";
$a->strings["Installed addons/addons/apps:"] = ""; $a->strings["Installed addons/apps:"] = "";
$a->strings["No installed addons/addons/apps"] = ""; $a->strings["No installed addons/apps"] = "";
$a->strings["Authorize application connection"] = ""; $a->strings["Authorize application connection"] = "";
$a->strings["Return to your app and insert this Securty Code:"] = ""; $a->strings["Return to your app and insert this Securty Code:"] = "";
$a->strings["Please login to continue."] = ""; $a->strings["Please login to continue."] = "";