Merge pull request #18741 from flodolo/fluent_number

Fluent: use explicit NUMBER() in plural variants
This commit is contained in:
calixteman 2024-09-12 17:03:17 +02:00 committed by GitHub
commit b915a9c3a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,7 +239,7 @@ pdfjs-find-reached-bottom = Reached end of document, continued from top
# $current (Number) - the index of the currently active find result # $current (Number) - the index of the currently active find result
# $total (Number) - the total number of matches in the document # $total (Number) - the total number of matches in the document
pdfjs-find-match-count = pdfjs-find-match-count =
{ $total -> { NUMBER($total) ->
[one] { $current } of { $total } match [one] { $current } of { $total } match
*[other] { $current } of { $total } matches *[other] { $current } of { $total } matches
} }
@ -247,7 +247,7 @@ pdfjs-find-match-count =
# Variables: # Variables:
# $limit (Number) - the maximum number of matches # $limit (Number) - the maximum number of matches
pdfjs-find-match-count-limit = pdfjs-find-match-count-limit =
{ $limit -> { NUMBER($limit) ->
[one] More than { $limit } match [one] More than { $limit } match
*[other] More than { $limit } matches *[other] More than { $limit } matches
} }