Update remaining hardcoded strings to support translation
This commit is contained in:
@@ -23,6 +23,8 @@ return [
|
|||||||
'group' => [
|
'group' => [
|
||||||
'other' => 'Other Components',
|
'other' => 'Other Components',
|
||||||
],
|
],
|
||||||
|
'select_all' => 'Select All',
|
||||||
|
'deselect_all' => 'Deselect All',
|
||||||
],
|
],
|
||||||
|
|
||||||
// Incidents
|
// Incidents
|
||||||
@@ -80,9 +82,12 @@ return [
|
|||||||
'button' => 'Subscribe',
|
'button' => 'Subscribe',
|
||||||
'manage_subscription' => 'Manage subscription',
|
'manage_subscription' => 'Manage subscription',
|
||||||
'manage' => [
|
'manage' => [
|
||||||
'no_subscriptions' => 'You\'re currently subscribed to all updates.',
|
'notifications' => 'Notifications',
|
||||||
'my_subscriptions' => 'You\'re currently subscribed to the following updates.',
|
'notifications_for' => 'Manage notifications for',
|
||||||
'manage_at_link' => 'Manage your subscriptions at :link',
|
'no_subscriptions' => 'You\'re currently subscribed to all updates.',
|
||||||
|
'update_subscription' => 'Update Subscription',
|
||||||
|
'my_subscriptions' => 'You\'re currently subscribed to the following updates.',
|
||||||
|
'manage_at_link' => 'Manage your subscriptions at :link',
|
||||||
],
|
],
|
||||||
'email' => [
|
'email' => [
|
||||||
'subscribe' => 'Subscribe to email updates.',
|
'subscribe' => 'Subscribe to email updates.',
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ return [
|
|||||||
'group' => [
|
'group' => [
|
||||||
'other' => 'Other Components',
|
'other' => 'Other Components',
|
||||||
],
|
],
|
||||||
|
'select_all' => 'Select All',
|
||||||
|
'deselect_all' => 'Deselect All',
|
||||||
],
|
],
|
||||||
|
|
||||||
// Incidents
|
// Incidents
|
||||||
@@ -80,9 +82,12 @@ return [
|
|||||||
'button' => 'Subscribe',
|
'button' => 'Subscribe',
|
||||||
'manage_subscription' => 'Manage subscription',
|
'manage_subscription' => 'Manage subscription',
|
||||||
'manage' => [
|
'manage' => [
|
||||||
'no_subscriptions' => 'You\'re currently subscribed to all updates.',
|
'notifications' => 'Notifications',
|
||||||
'my_subscriptions' => 'You\'re currently subscribed to the following updates.',
|
'notifications_for' => 'Manage notifications for',
|
||||||
'manage_at_link' => 'Manage your subscriptions at :link',
|
'no_subscriptions' => 'You\'re currently subscribed to all updates.',
|
||||||
|
'update_subscription' => 'Update Subscription',
|
||||||
|
'my_subscriptions' => 'You\'re currently subscribed to the following updates.',
|
||||||
|
'manage_at_link' => 'Manage your subscriptions at :link',
|
||||||
],
|
],
|
||||||
'email' => [
|
'email' => [
|
||||||
'subscribe' => 'Subscribe to email updates.',
|
'subscribe' => 'Subscribe to email updates.',
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
|
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
|
||||||
<div class="text-center margin-bottom">
|
<div class="text-center margin-bottom">
|
||||||
<h1>{{ $appName }} Notifications</h1>
|
<h1>{{ $appName }} {{ trans('cachet.subscriber.manage.notifications') }}</h1>
|
||||||
<p>Manage notifications for <strong>{{ $subscriber->email }}</strong></p>
|
<p>{{ trans('cachet.subscriber.manage.notifications_for') }} <strong>{{ $subscriber->email }}</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<form action="{{ cachet_route('subscribe.manage', [$subscriber->verify_code], 'post') }}" method="post">
|
<form action="{{ cachet_route('subscribe.manage', [$subscriber->verify_code], 'post') }}" method="post">
|
||||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
<i class="{{ $componentGroup->collapse_class_with_subscriptions($subscriptions) }} group-toggle"></i>
|
<i class="{{ $componentGroup->collapse_class_with_subscriptions($subscriptions) }} group-toggle"></i>
|
||||||
<strong>{{ $componentGroup->name }}</strong>
|
<strong>{{ $componentGroup->name }}</strong>
|
||||||
<div class="pull-right text-muted small">
|
<div class="pull-right text-muted small">
|
||||||
<a href="javascript: void(0);" class="select-group" id="select-all-{{$componentGroup->id}}">Select All</a>
|
<a href="javascript: void(0);" class="select-group" id="select-all-{{$componentGroup->id}}">{{ trans('cachet.components.select_all') }}</a>
|
||||||
|
|
|
|
||||||
<a href="javascript: void(0);" class="deselect-group" id="deselect-all-{{$componentGroup->id}}">Deselect All</a>
|
<a href="javascript: void(0);" class="deselect-group" id="deselect-all-{{$componentGroup->id}}">{{ trans('cachet.components.deselect_all') }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@foreach($componentGroup->enabled_components()->orderBy('order')->get() as $component)
|
@foreach($componentGroup->enabled_components()->orderBy('order')->get() as $component)
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<button type="submit" class="btn btn-success">Update Subscription</button>
|
<button type="submit" class="btn btn-success">{{ trans('cachet.subscriber.manage.update_subscription') }}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user