Download wp-calypso/packages/i18n-calypso-cli/extras/date.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/i18n-calypso-cli/extras/date.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/i18n-calypso-cli/extras/date.js
-
curl -L -o date.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/i18n-calypso-cli/extras/date.js
690 Bytes
| /* global i18n */ | |
| // Date/time strings for localisation | |
| i18n.translate( 'in %s', { context: 'future time' } ); | |
| i18n.translate( 'a few seconds' ); | |
| i18n.translate( 'a minute' ); | |
| i18n.translate( '%d minutes' ); | |
| i18n.translate( '%d hours' ); | |
| i18n.translate( '%d days' ); | |
| i18n.translate( 'a month' ); | |
| i18n.translate( '%d months' ); | |
| i18n.translate( 'a year' ); | |
| i18n.translate( '%d years' ); | |
| // Number formatting strings | |
| /* translators: $thousands_sep argument for http://php.net/number_format, default is , */ | |
| i18n.translate( 'number_format_thousands_sep' ); | |
| /* translators: $dec_point argument for http://php.net/number_format, default is . */ | |
| i18n.translate( 'number_format_decimal_point' ); | |