Skip to content

Commit 8da3e64

Browse files
committed
Updated language files to remove literal "1" values
This is to encourge the ":count" values to be used instead of 1s in the translated variants so that non-pluralised languages are hardcoded with "1"s in their content, even when not used in a singular context. For #4040
1 parent c1167f8 commit 8da3e64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lang/en/entities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'meta_updated' => 'Updated :timeLength',
2424
'meta_updated_name' => 'Updated :timeLength by :user',
2525
'meta_owned_name' => 'Owned by :user',
26-
'meta_reference_page_count' => 'Referenced on 1 page|Referenced on :count pages',
26+
'meta_reference_page_count' => 'Referenced on :count page|Referenced on :count pages',
2727
'entity_select' => 'Entity Select',
2828
'entity_select_lack_permission' => 'You don\'t have the required permissions to select this item',
2929
'images' => 'Images',

lang/en/settings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@
138138
'roles' => 'Roles',
139139
'role_user_roles' => 'User Roles',
140140
'roles_index_desc' => 'Roles are used to group users & provide system permission to their members. When a user is a member of multiple roles the privileges granted will stack and the user will inherit all abilities.',
141-
'roles_x_users_assigned' => '1 user assigned|:count users assigned',
142-
'roles_x_permissions_provided' => '1 permission|:count permissions',
141+
'roles_x_users_assigned' => ':count user assigned|:count users assigned',
142+
'roles_x_permissions_provided' => ':count permission|:count permissions',
143143
'roles_assigned_users' => 'Assigned Users',
144144
'roles_permissions_provided' => 'Provided Permissions',
145145
'role_create' => 'Create New Role',
@@ -249,7 +249,7 @@
249249
// Webhooks
250250
'webhooks' => 'Webhooks',
251251
'webhooks_index_desc' => 'Webhooks are a way to send data to external URLs when certain actions and events occur within the system which allows event-based integration with external platforms such as messaging or notification systems.',
252-
'webhooks_x_trigger_events' => '1 trigger event|:count trigger events',
252+
'webhooks_x_trigger_events' => ':count trigger event|:count trigger events',
253253
'webhooks_create' => 'Create New Webhook',
254254
'webhooks_none_created' => 'No webhooks have yet been created.',
255255
'webhooks_edit' => 'Edit Webhook',

0 commit comments

Comments
 (0)