Merge pull request #6164 from annando/network-protocols
Networks are now protocols
This commit is contained in:
commit
75398b96d5
|
@ -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'),
|
||||
|
|
|
@ -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)],
|
||||
],
|
||||
|
||||
|
|
|
@ -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,
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue