Commit Graph
13 Commits
Author SHA1 Message Date
Neko Ayaka 3240276e40 style: lint & build naming 2025-11-16 02:32:36 +08:00
Neko Ayaka a7a1302b99 chore(deps): bump dependencies 2025-11-01 16:03:45 +08:00
藍+85CD fbf2fbba8c chore(i18n): remove fixed extension 2025-10-17 20:18:57 +08:00
Neko Ayaka 372125fb89 chore(deps): bump dependencies
Notice: after bumping up to three 0.180.0 with @types/three 0.180.0,
  Argument of type 'Group<Object3DEventMap>' is not assignable to parameter of type 'Object3D<Object3DEventMap>'.
    Type 'Group<Object3DEventMap>' is missing the following properties from type 'Object3D<Object3DEventMap>': setPointerCapture, releasePointerCapture, hasPointerCapture

Currently, AFAIK, clearly, three, and @types/three doesn't have the setPointerCapture, releasePointerCapture, hasPointerCapture method / getters
The only place I found on GitHub, points out that https://github.com/pmndrs/xr/blob/456aa380206e93888cd3a5741a1534e672ae3106/packages/pointer-events/src/pointer.ts#L69-L100 declares

```js
declare module 'three' {
  interface Object3D {
    setPointerCapture(pointerId: number): void
    releasePointerCapture(pointerId: number): void
    hasPointerCapture(pointerId: number): boolean

    intersectChildren?: boolean
    interactableDescendants?: Array<Object3D>
    /**
     * @deprecated
     */
    ancestorsHaveListeners?: boolean
    ancestorsHavePointerListeners?: boolean
    ancestorsHaveWheelListeners?: boolean
  }
}
```

And in @tresjs/core v5, it uses the @pmndrs/pointer-events internally.
Somehow the Object3D from @types/three and the one augmented by @pmndrs/pointer-events are not compatible.

`new Object3D() as unknown as Object3D` works as workaround here but there should be no need to do such a thing since these two Object3D should be the same.
With no updates from `typescript`, I assume there is no breaking change or regression from `typescript` side.
2025-09-26 17:07:07 +08:00
Kthunda 0e39750586 feat(i18n): French translation (#540) 2025-09-21 13:50:33 +08:00
Neko Ayaka ab10782c65 chore(deps): bump dependencies 2025-09-03 13:25:12 +08:00
Neko Ayaka dc6dff5a6d chore(deps): bump dependencies 2025-08-29 01:38:04 +08:00
0995eb64e7 chore: add Vietnamese language (#491)
Co-authored-by: Typed SIGTERM <typed.sigterm@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-28 11:57:23 +08:00
6eb1a4d87f Russian language (#460)
- Docs, base translation aand tamagotchi are now in Russian
- Russian language remapping in i18n modules
- Fixed en\settings.yaml
🍰

---------

Co-authored-by: Typed SIGTERM <typed.sigterm@gmail.com>
Co-authored-by: Neko <neko@ayaka.moe>
2025-08-26 13:07:57 +08:00
Daniel Martín 713ff0c30d feat: Spanish Language (#372) 2025-08-21 14:03:07 +08:00
Neko Ayaka 50371c580a chore(deps): bump dependencies 2025-07-22 14:28:27 +08:00
Neko Ayaka 34b547047f chore(deps): bump dependencies 2025-07-06 19:06:59 +08:00
Neko eb6bcaed60 feat(i18n): new package for locales (#249)
* feat(i18n): new package for locales

We are renaming from zh-CN to zh-Hans with the naming regulation of BCP 47 language tags.
For future languages, suggesting to check & lookup on

- [Language subtag lookup app](https://r12a.github.io/app-subtags/)
- [iana.org/assignments/language-subtag-registry/language-subtag-registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)

to search on.

Additionally, use `en` for English is actually enforced instead of having `en-Latin`.

More resources and citations worth to check on:
- https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag
- https://en.wikipedia.org/wiki/IETF_language_tag
- https://en.wikipedia.org/wiki/ISO_15924
2025-06-30 18:48:23 +08:00