From 72cc35421403991200007f6f7f5608ac96d3c4e9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:08 -0400 Subject: [PATCH] spelling: community Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG | 2 +- src/Module/Conversation/Community.php | 2 +- src/Module/Conversation/Network.php | 2 +- view/theme/vier/templates/communityhome.tpl | 6 +++--- view/theme/vier/theme.php | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 260f62dfef..040bd89a2b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1477,7 +1477,7 @@ Version 3.6 (2018-03-23) Enhancements to the probing of pump.io profiles [annando] Enhancements to the handling of BBCode tags [MrPetovan] Enhancements to the OEmbed handling [MrPetovan] - Fixed a bug that triggered the display of activities on the cummunity page [annando] + Fixed a bug that triggered the display of activities on the community page [annando] Fixed a bug with personal notes [annando] Fixed a display issue of long postings when using the showmore option [annando] Fixed a bug that caused Twidere to crash on reload [annando] diff --git a/src/Module/Conversation/Community.php b/src/Module/Conversation/Community.php index 818943733a..ae6297e484 100644 --- a/src/Module/Conversation/Community.php +++ b/src/Module/Conversation/Community.php @@ -302,7 +302,7 @@ class Community extends BaseModule } /** - * Database query for the comunity page + * Database query for the community page * * @param $min_id * @param $max_id diff --git a/src/Module/Conversation/Network.php b/src/Module/Conversation/Network.php index 84d08ff9c2..5f8f925a36 100644 --- a/src/Module/Conversation/Network.php +++ b/src/Module/Conversation/Network.php @@ -120,7 +120,7 @@ class Network extends BaseModule $content = ''; if (self::$forumContactId) { - // If self::$forumContactId belongs to a communitity forum or a privat goup,.add a mention to the status editor + // If self::$forumContactId belongs to a community forum or a privat goup,.add a mention to the status editor $condition = ["`id` = ? AND `contact-type` = ?", self::$forumContactId, Contact::TYPE_COMMUNITY]; $contact = DBA::selectFirst('contact', ['addr'], $condition); if (!empty($contact['addr'])) { diff --git a/view/theme/vier/templates/communityhome.tpl b/view/theme/vier/templates/communityhome.tpl index 94c8abcd7b..24f2ac98ce 100644 --- a/view/theme/vier/templates/communityhome.tpl +++ b/view/theme/vier/templates/communityhome.tpl @@ -4,11 +4,11 @@ {{/if}} -{{if $comunity_profiles_title}} +{{if $community_profiles_title}}
-

{{$comunity_profiles_title}}

+

{{$community_profiles_title}}

-{{foreach $comunity_profiles_items as $i}} +{{foreach $community_profiles_items as $i}} {{$i nofilter}} {{/foreach}}
diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 9ddf7a4de0..91e050c667 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -140,14 +140,14 @@ function vier_community_info() $url = DI::baseUrl(); $aside['$url'] = $url; - // comunity_profiles + // community_profiles if ($show_profiles) { $contacts = Contact\Relation::getCachedSuggestions(DI::userSession()->getLocalUserId(), 0, 9); $tpl = Renderer::getMarkupTemplate('ch_directory_item.tpl'); if (DBA::isResult($contacts)) { - $aside['$comunity_profiles_title'] = DI::l10n()->t('Community Profiles'); - $aside['$comunity_profiles_items'] = []; + $aside['$community_profiles_title'] = DI::l10n()->t('Community Profiles'); + $aside['$community_profiles_items'] = []; foreach ($contacts as $contact) { $entry = Renderer::replaceMacros($tpl, [ @@ -156,7 +156,7 @@ function vier_community_info() '$photo' => Contact::getMicro($contact), '$alt_text' => $contact['name'], ]); - $aside['$comunity_profiles_items'][] = $entry; + $aside['$community_profiles_items'][] = $entry; } } }