@if($type === 'local_newsletter') {{ __('Sent to users based on their location preferences') }} @elseif($type === 'general_newsletter') {{ __('Sent to all subscribed users and organizations') }} @elseif($type === 'general_newsletter_only') {{ __('Sent to profiles subscribed to the General Newsletter but not to the Local Newsletter') }} @elseif($type === 'system_message') {{ __('System announcements and important notices') }} @else {{ __('Please select a mailing type to continue') }} @endif
{{ __('No posts selected yet') }}
Post ID: {{ $post['post_id'] }}
@if (in_array($post['post_id'], $limitedPollPostIds ?? [])){{ __('This poll is only for some members. Recipients outside its audience will see it in the mailing but cannot take part.') }}
@endif{{ __('Enter subject lines for each language based on your selected posts') }}
{{ __('Select which profile types should receive this mailing. You can select multiple types.') }}
{{ __('Tip: Hold Ctrl (Windows/Linux) or Cmd (Mac) while clicking to select multiple profile types') }}
{{ __('Filtering by :count profile type(s)', ['count' => count($selectedProfileTypes)]) }}
{{ __('Only send to profiles that have transactions with the selected profile(s). The selected contacts will also be included.') }}
{{ __('Select a location to filter recipients. Only profiles with their primary location in the selected area will receive this mailing.') }}
{{ __('Estimated recipients with location filter: :count', ['count' => number_format($locationFilteredCount)]) }}
{{ __('Select posts first to see available fallback languages.') }}
@else
{{ __('messages.mailings.recipients_info.' . $type) }}
@if($filterByLocation && (count($selectedCountryIds) > 0 || count($selectedDivisionIds) > 0 || count($selectedCityIds) > 0 || count($selectedDistrictIds) > 0))
{{ __('messages.mailings.recipients_info.location_filtering_active') }}
@endif
{{ __('messages.mailings.recipients_info.no_type_selected') }}
@endif @if($type) @php $currentRecipientCount = collect($this->getCurrentRecipientCountsByLocale())->where('has_content', true)->sum('count'); @endphp @if($currentRecipientCount > 0){{ __('Current estimated recipients: :count', ['count' => number_format($currentRecipientCount)]) }}
{{ __('Current estimated recipients: 0') }}
{{ __('Recipients by Language & Content') }}
@php $rowsByLocaleLocation = $this->getCurrentRecipientCountsByLocaleAndLocation(); @endphp @if(count($rowsByLocaleLocation) > 0)| {{ __('Language') }} | {{ __('Posts') }} | {{ __('Location') }} | {{ __('Recipients') }} |
|---|---|---|---|
| @if($isFirstForLocale) {{ $flag }} {{ $languageName }} @endif | {{-- Col 2: Posts — only on first row for this locale --}}@if($isFirstForLocale) @if($nativePosts > 0) {{ $nativePosts }} {{ __('native') }} @endif @if($fallbackPosts > 0) {{ $fallbackPosts }} {{ __('fallback in') }} {{ $fallbackLanguageName }} @endif @if($missingPosts > 0) {{ $missingPosts }} {{ __('skipped') }} @endif @if($nativePosts === 0 && $fallbackPosts === 0) {{ __('No content') }} @endif @endif | {{-- Col 3: Location --}}{{ $row['location'] ?: __('Unknown') }} | {{-- Col 4: Recipients --}}{{ number_format($row['count']) }} |
{{ __('Some recipients will not receive the mailing because no content exists in their language or the fallback language.') }}
@else{{ __(':count recipient(s) will be skipped — no content in their language.', ['count' => number_format($skippedRecipients)]) }}
{{ __('Set a fallback language above to include them.') }}
{{ __(':count recipient(s) will not receive all posts — some are missing a translation in their language.', ['count' => number_format($incompleteRecipients)]) }}
{{ __('Set a fallback language above to include the missing posts.') }}
{{ __('No recipients found for this mailing type.') }}
@endif