mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #18638 from Snuffleupagus/PDFDocumentProperties-l10n-functions
Utilize Fluent to format numbers and dates in `PDFDocumentProperties`/`AnnotationLayer`
This commit is contained in:
commit
cd99be0aa5
3 changed files with 22 additions and 42 deletions
|
@ -113,14 +113,14 @@ pdfjs-document-properties-file-name = File name:
|
|||
pdfjs-document-properties-file-size = File size:
|
||||
|
||||
# Variables:
|
||||
# $size_kb (Number) - the PDF file size in kilobytes
|
||||
# $size_b (Number) - the PDF file size in bytes
|
||||
pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes)
|
||||
# $kb (Number) - the PDF file size in kilobytes
|
||||
# $b (Number) - the PDF file size in bytes
|
||||
pdfjs-document-properties-size-kb = { NUMBER($kb, maximumSignificantDigits: 3) } KB ({ $b } bytes)
|
||||
|
||||
# Variables:
|
||||
# $size_mb (Number) - the PDF file size in megabytes
|
||||
# $size_b (Number) - the PDF file size in bytes
|
||||
pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes)
|
||||
# $mb (Number) - the PDF file size in megabytes
|
||||
# $b (Number) - the PDF file size in bytes
|
||||
pdfjs-document-properties-size-mb = { NUMBER($mb, maximumSignificantDigits: 3) } MB ({ $b } bytes)
|
||||
|
||||
pdfjs-document-properties-title = Title:
|
||||
pdfjs-document-properties-author = Author:
|
||||
|
@ -130,9 +130,8 @@ pdfjs-document-properties-creation-date = Creation Date:
|
|||
pdfjs-document-properties-modification-date = Modification Date:
|
||||
|
||||
# Variables:
|
||||
# $date (Date) - the creation/modification date of the PDF file
|
||||
# $time (Time) - the creation/modification time of the PDF file
|
||||
pdfjs-document-properties-date-string = { $date }, { $time }
|
||||
# $dateObj (Date) - the creation/modification date and time of the PDF file
|
||||
pdfjs-document-properties-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }
|
||||
|
||||
pdfjs-document-properties-creator = Creator:
|
||||
pdfjs-document-properties-producer = PDF Producer:
|
||||
|
@ -284,9 +283,8 @@ pdfjs-rendering-error = An error occurred while rendering the page.
|
|||
## Annotations
|
||||
|
||||
# Variables:
|
||||
# $date (Date) - the modification date of the annotation
|
||||
# $time (Time) - the modification time of the annotation
|
||||
pdfjs-annotation-date-string = { $date }, { $time }
|
||||
# $dateObj (Date) - the modification date and time of the annotation
|
||||
pdfjs-annotation-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }
|
||||
|
||||
# .alt: This is used as a tooltip.
|
||||
# Variables:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue