Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lighthouse-core/lib/i18n/README.md
Co-Authored-By: Patrick Hulce <[email protected]>
  • Loading branch information
paulirish and patrickhulce authored Jul 13, 2019
commit 5a08e6c20e34ea360d2afbae741cf0adf5df5b3d
2 changes: 1 addition & 1 deletion lighthouse-core/lib/i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const UIStrings = {

#### Complex ICU replacement

`{timeInMs, number, milliseconds}` is called _Complex ICU_ since the replacement is for complex numbers and uses the custom formatters in Lighthouse. The supported complex ICU formats are: `milliseconds`, `seconds`, `bytes`, `percent`, and `extendedPercent`.
`{timeInMs, number, milliseconds}` is called _Complex ICU_ since the replacement is for numbers and other complex replacements that use the custom formatters in Lighthouse. The supported complex ICU formats are: `milliseconds`, `seconds`, `bytes`, `percent`, and `extendedPercent`.

These complex ICU formats are automatically given @example values during `yarn i18n`. Therefore, a normal description string can be used:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ dope!


Expand Down