Skip to content

Commit

Permalink
Updated language files to remove literal "1" values
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ssddanbrown committed Feb 20, 2023
1 parent c1167f8 commit 8da3e64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lang/en/entities.php
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Updated :timeLength',
'meta_updated_name' => 'Updated :timeLength by :user',
'meta_owned_name' => 'Owned by :user',
'meta_reference_page_count' => 'Referenced on 1 page|Referenced on :count pages',
'meta_reference_page_count' => 'Referenced on :count page|Referenced on :count pages',
'entity_select' => 'Entity Select',
'entity_select_lack_permission' => 'You don\'t have the required permissions to select this item',
'images' => 'Images',
Expand Down
6 changes: 3 additions & 3 deletions lang/en/settings.php
Expand Up @@ -138,8 +138,8 @@
'roles' => 'Roles',
'role_user_roles' => 'User Roles',
'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.',
'roles_x_users_assigned' => '1 user assigned|:count users assigned',
'roles_x_permissions_provided' => '1 permission|:count permissions',
'roles_x_users_assigned' => ':count user assigned|:count users assigned',
'roles_x_permissions_provided' => ':count permission|:count permissions',
'roles_assigned_users' => 'Assigned Users',
'roles_permissions_provided' => 'Provided Permissions',
'role_create' => 'Create New Role',
Expand Down Expand Up @@ -249,7 +249,7 @@
// Webhooks
'webhooks' => 'Webhooks',
'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.',
'webhooks_x_trigger_events' => '1 trigger event|:count trigger events',
'webhooks_x_trigger_events' => ':count trigger event|:count trigger events',
'webhooks_create' => 'Create New Webhook',
'webhooks_none_created' => 'No webhooks have yet been created.',
'webhooks_edit' => 'Edit Webhook',
Expand Down

0 comments on commit 8da3e64

Please sign in to comment.