Cheton Wu

Results 123 comments of Cheton Wu

We decided to use `pointer-events: none` to make disabled components ignore pointer events. But we need to confirm with visual designers to check whether the cursor should appear as `not-allowed`...

Hi @jamuhl and @karellm Although the i18next-scanner package was not actively maintained, it was widely used within our corporation (over 50 projects) and in worldwide for years, so far there're...

This is probably made by this line: https://github.com/i18next/i18next-scanner/blob/ee0535/src/nodes-to-string.js#L58 ```js memo += `{{${expression.properties[0].key.name}}}`; ``` The above code will add extra nodeIndex for `{{var}}`. Can someone help confirm if removing element key...

In react-i18next [v7.13.0](https://github.com/i18next/react-i18next/blob/v7.13.0/src/Trans.js#L28-L37), an element key was added as element tag to wrap the child in object type: ```js // https://github.com/i18next/react-i18next/blob/v7.13.0/src/Trans.js#L28-L37 } else if (typeof child === 'object') { const...

Hi @jamuhl, In the [CHANGELOG](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md#800), it stated that: --- ``` 'Hello {{name}}, you have {{count}} message. Open hear.' ``` can be written as: ``` 'Hello {{name}}, you have {{count}} message....

@beheh I think it might be useful if we can provide built-in support for transpiling TypeScript to ES5 if the file extension is `.ts` or `.tsx`.

@Tsury @beheh I can confirm it is a missing test in v2.6.4, I will re-open https://github.com/i18next/i18next-scanner/issues/90. You can update your examples there to help increase the coverage. Thank you.

@Tsury You can try v2.6.5 to check if it works for you.

This feature is currently not implemented in i18next-scanner. Plural forms support is not hard to implement, you can refer to the code of i18next's pluralResolver: https://github.com/i18next/i18next/blob/master/src/PluralResolver.js I would appreciate it...

@bryan-opslock @jgerigmeyer @yanickrochon This might work for some people: 1. Upgrade npm to the latest version. ```sh $ npm i -g npm ``` 2. Remove node_modules and package-lock.json, then do...