]> git.mxchange.org Git - friendica.git/commitdiff
Networks are now protocols
authorMichael <heluecht@pirati.ca>
Sun, 18 Nov 2018 12:44:01 +0000 (12:44 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Nov 2018 12:44:01 +0000 (12:44 +0000)
src/Content/ContactSelector.php
src/Content/Feature.php
src/Content/Widget.php

index a23acecc553097aee9f17ca6d217f6f36f65b34a..5ba6528ed0561b6ebd1bc70759dcbcf4dcb6d3ab 100644 (file)
@@ -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'),
index fe961db7d346bd0d0c4f6e0f5a5dde9cc15c9e3b..f6d64803454950d290043de4fbdecc30389eff34 100644 (file)
@@ -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)],
                        ],
 
index 0ea539dec0d36740fceea9bc8e751ce42694e71d..ab9bb8882893f148868b490363c36eadc1ef8a3c 100644 (file)
@@ -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,
                ));