From 0ad71ebbbc7d3ed4b0cb1973c07f7175d5f81bee Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 18 Nov 2018 12:44:01 +0000 Subject: [PATCH] Networks are now protocols --- src/Content/ContactSelector.php | 2 +- src/Content/Feature.php | 2 +- src/Content/Widget.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index a23acecc55..5ba6528ed0 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -78,7 +78,7 @@ class ContactSelector public static function networkToName($network, $profile = "") { $nets = [ - Protocol::DFRN => L10n::t('Friendica'), + Protocol::DFRN => L10n::t('DFRN'), Protocol::OSTATUS => L10n::t('OStatus'), Protocol::FEED => L10n::t('RSS/Atom'), Protocol::MAIL => L10n::t('Email'), diff --git a/src/Content/Feature.php b/src/Content/Feature.php index fe961db7d3..f6d6480345 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -96,7 +96,7 @@ class Feature ['archives', L10n::t('Archives'), L10n::t('Ability to select posts by date ranges'), false, Config::get('feature_lock', 'archives', false)], ['forumlist_widget', L10n::t('List Forums'), L10n::t('Enable widget to display the forums your are connected with'), true, Config::get('feature_lock', 'forumlist_widget', false)], ['groups', L10n::t('Group Filter'), L10n::t('Enable widget to display Network posts only from selected group'), false, Config::get('feature_lock', 'groups', false)], - ['networks', L10n::t('Network Filter'), L10n::t('Enable widget to display Network posts only from selected network'), false, Config::get('feature_lock', 'networks', false)], + ['networks', L10n::t('Protocol Filter'), L10n::t('Enable widget to display Network posts only from selected protocols'), false, Config::get('feature_lock', 'networks', false)], ['savedsearch', L10n::t('Saved Searches'), L10n::t('Save search terms for re-use'), false, Config::get('feature_lock', 'savedsearch', false)], ], diff --git a/src/Content/Widget.php b/src/Content/Widget.php index 0ea539dec0..ab9bb88828 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -155,10 +155,10 @@ class Widget } return Renderer::replaceMacros(Renderer::getMarkupTemplate('nets.tpl'), array( - '$title' => L10n::t('Networks'), + '$title' => L10n::t('Protocols'), '$desc' => '', '$sel_all' => (($selected == '') ? 'selected' : ''), - '$all' => L10n::t('All Networks'), + '$all' => L10n::t('All Protocols'), '$nets' => $nets, '$base' => $baseurl, ));