Merge pull request #2868 from nstapelbroek/feature/inf-to-asterisk

Replace Inf with asterisk when using pluralization in translations
This commit is contained in:
James Brooks 2018-01-16 07:57:26 +00:00 committed by GitHub
commit 5cbd9b8654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -53,9 +53,9 @@ return [
// Service Status // Service Status
'service' => [ 'service' => [
'good' => '[0,1]System operational|[2,Inf] All systems are operational', 'good' => '[0,1]System operational|[2,*] All systems are operational',
'bad' => '[0,1]The system is experiencing issues|[2,Inf]Some systems are experiencing issues', 'bad' => '[0,1]The system is experiencing issues|[2,*]Some systems are experiencing issues',
'major' => '[0,1]The system is experiencing major issues|[2,Inf]Some systems are experiencing major issues', 'major' => '[0,1]The system is experiencing major issues|[2,*]Some systems are experiencing major issues',
], ],
'api' => [ 'api' => [

View File

@ -18,7 +18,7 @@ return [
'incidents' => [ 'incidents' => [
'title' => 'Incidents & Maintenance', 'title' => 'Incidents & Maintenance',
'incidents' => 'Incidents', '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-create-template' => 'Create Template',
'incident-templates' => 'Incident Templates', 'incident-templates' => 'Incident Templates',
'updates' => [ 'updates' => [
@ -74,7 +74,7 @@ return [
// Incident Maintenance // Incident Maintenance
'schedule' => [ 'schedule' => [
'schedule' => 'Maintenance', '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', 'scheduled_at' => 'Scheduled at :timestamp',
'add' => [ 'add' => [
'title' => 'Add Maintenance', 'title' => 'Add Maintenance',