Eliminate double usage

addons/addons is incorrect
This commit is contained in:
Adam Magness 2018-01-25 08:05:23 -05:00
parent 66fe4cc5d6
commit e5d020ff7c
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."] = "";