react-code-dataset / wp-calypso /packages /i18n-calypso-cli /test /examples /i18n-test-example-second-file.jsx
react-code-dataset / wp-calypso /packages /i18n-calypso-cli /test /examples /i18n-test-example-second-file.jsx
Download wp-calypso/packages/i18n-calypso-cli/test/examples/i18n-test-example-second-file.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/i18n-calypso-cli/test/examples/i18n-test-example-second-file.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/i18n-calypso-cli/test/examples/i18n-test-example-second-file.jsx
-
curl -L -o i18n-test-example-second-file.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/i18n-calypso-cli/test/examples/i18n-test-example-second-file.jsx
305 Bytes
| // This file is just to test that i18n can compile strings from multiple js files | |
| // This file itself doesn't need to actually work. :-) | |
| /* global i18n */ | |
| function test() { | |
| // simplest case... just a translation, no special options | |
| i18n.translate( 'My test has two files.' ); | |
| } | |
| module.exports = test; | |