Skip to content

Commit

Permalink
Modification texte fr-FR + affichage statut-text sur Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFavre committed Feb 16, 2022
1 parent daf61a4 commit 8e38dd8
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.5.1-2
v2.5.1-3
6 changes: 3 additions & 3 deletions resources/lang/fr-FR/cachet.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
// Incidents
'incidents' => [
'none' => 'Aucun incident signalé',
'past' => 'Incidents',
'stickied' => 'Incidents épinglés',
'past' => 'Historique d\'incidents',
'stickied' => 'Incidents récents',
'scheduled' => 'Maintenance Planifiée',
'scheduled_at' => ', planifé à :timestamp',
'posted' => 'Posted :timestamp by :username',
Expand Down Expand Up @@ -145,5 +145,5 @@
'rss-feed' => 'RSS',
'atom-feed' => 'Atom',
'feed' => 'Flux des statuts',

'thanks' => 'Cordialement',
];
8 changes: 4 additions & 4 deletions resources/lang/fr-FR/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
'incident' => [
'new' => [
'mail' => [
'subject' => 'Nouvel incident signalé',
'greeting' => 'Un nouvel incident a été signalé pour :app_name.',
'subject' => '[AVM Up] - Incident production',
'greeting' => 'Un incident a été signalé pour :app_name.',
'content' => 'L\'incident :name a été signalé',
'action' => 'Voir',
],
Expand Down Expand Up @@ -62,9 +62,9 @@
'schedule' => [
'new' => [
'mail' => [
'subject' => 'Nouvel événement planifié !',
'subject' => '[AVM Up] - Maintenance planifiée !',
'content' => ':name a été planifié pour le :date',
'title' => 'Une nouvelle maintenance est planifiée.',
'title' => 'Une maintenance est planifiée.',
'action' => 'Voir',
],
'slack' => [
Expand Down
1 change: 0 additions & 1 deletion resources/lang/fr/cachet.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
'html' => '<p>Le statut du composant :component_name a été mis à jour. Il est maintenant en l\'état: \'<b>:component_human_status</b>\'.</p><p>Merci, :app_name</p>',
'tooltip-title' => 'S\'abonner aux notifications pour :component_name.',
],
'statuspage' => 'Page de statut', ],
],
],

Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/component/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{{ $content }}

@lang('Thanks,')<br>
{{ trans('cachet.thanks') }}<br>
{{ Config::get('setting.app_name') }}

@include('notifications.partials.subscription')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/incident/new.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ $actionText }}
@endcomponent

@lang('Thanks,')<br>
{{ trans('cachet.thanks') }}<br>
{{ Config::get('setting.app_name') }}

@include('notifications.partials.subscription')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/incident/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ $actionText }}
@endcomponent

@lang('Thanks,')<br>
{{ trans('cachet.thanks') }}<br>
{{ Config::get('setting.app_name') }}

@include('notifications.partials.subscription')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/schedule/new.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{{ $content }}

@lang('Thanks,')<br>
{{ trans('cachet.thanks') }},<br>
{{ Config::get('setting.app_name') }}

@include('notifications.partials.subscription')
Expand Down
2 changes: 2 additions & 0 deletions resources/views/partials/incidents.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<small class="date">
<a href="{{ cachet_route('incident', ['id' => $incident->id]) }}" class="links"><abbr class="timeago" data-toggle="tooltip" data-placement="right" title="{{ $incident->timestamp_formatted }}" data-timeago="{{ $incident->timestamp_iso }}"></abbr></a>
</small>
<p><i class="{{ $incident->latest_icon }}"><b style="color:grey">&nbsp&nbsp{{ $incident->latest_human_status }}</i></b></p>

</div>
<div class="panel-body markdown-body">
{!! $incident->formatted_message !!}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/vendor/notifications/email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@if (! empty($salutation))
{{ $salutation }}
@else
@lang('Cordialement'),<br>{{ setting('app_name', config('app.name')) }}
{{ trans('cachet.thanks') }},<br>{{ setting('app_name', config('app.name')) }}
@endif

{{-- Subcopy --}}
Expand Down

0 comments on commit 8e38dd8

Please sign in to comment.