Skip to content

Commit

Permalink
Use pluralization in $txt['package_bytes']
Browse files Browse the repository at this point in the history
Signed-off-by: Bugo <[email protected]>
  • Loading branch information
dragomano committed Feb 20, 2024
1 parent 129559d commit b9e77cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Languages/en_US/Packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@
// Don't use entities in the below string.
$txt['package_theme_failure_warning'] = 'At least one error was encountered during a test install of this theme. Are you sure you wish to attempt installation?';

$txt['package_bytes'] = '({size, number, integer} bytes)';
$txt['package_bytes'] = '({size, plural,
one {# byte}
other {# bytes}
})';

$txt['package_action_missing'] = 'File not found';
$txt['package_action_error'] = 'Modification parse error';
Expand Down

0 comments on commit b9e77cd

Please sign in to comment.