Replace Inf with asterisk when using pluralization in translations
Since Laravel 5.4 the "Inf" has been replaced with * @see https://laravel.com/docs/5.4/upgrade#upgrade-5.4.0
This commit is contained in:
committed by
Nico Stapelbroek
parent
81f144d106
commit
06efafc3ae
@@ -53,9 +53,9 @@ return [
|
||||
|
||||
// Service Status
|
||||
'service' => [
|
||||
'good' => '[0,1]System operational|[2,Inf] All systems are operational',
|
||||
'bad' => '[0,1]The system is experiencing issues|[2,Inf]Some systems are experiencing issues',
|
||||
'major' => '[0,1]The system is experiencing major issues|[2,Inf]Some systems are experiencing major issues',
|
||||
'good' => '[0,1]System operational|[2,*] All systems are operational',
|
||||
'bad' => '[0,1]The system is experiencing issues|[2,*]Some systems are experiencing issues',
|
||||
'major' => '[0,1]The system is experiencing major issues|[2,*]Some systems are experiencing major issues',
|
||||
],
|
||||
|
||||
'api' => [
|
||||
|
||||
@@ -18,7 +18,7 @@ return [
|
||||
'incidents' => [
|
||||
'title' => 'Incidents & Maintenance',
|
||||
'incidents' => 'Incidents',
|
||||
'logged' => '{0} There are no incidents, good work.|[1] You have logged one incident.|[2, Inf] You have reported <strong>:count</strong> incidents.',
|
||||
'logged' => '{0} There are no incidents, good work.|[1] You have logged one incident.|[2,*] You have reported <strong>:count</strong> incidents.',
|
||||
'incident-create-template' => 'Create Template',
|
||||
'incident-templates' => 'Incident Templates',
|
||||
'updates' => [
|
||||
@@ -74,7 +74,7 @@ return [
|
||||
// Incident Maintenance
|
||||
'schedule' => [
|
||||
'schedule' => 'Maintenance',
|
||||
'logged' => '{0} There has been no Maintenance, good work.|[1] You have logged one schedule.|[2,Inf] You have reported <strong>:count</strong> schedules.',
|
||||
'logged' => '{0} There has been no Maintenance, good work.|[1] You have logged one schedule.|[2,*] You have reported <strong>:count</strong> schedules.',
|
||||
'scheduled_at' => 'Scheduled at :timestamp',
|
||||
'add' => [
|
||||
'title' => 'Add Maintenance',
|
||||
|
||||
Reference in New Issue
Block a user