synacor / preact-i18n

Simple localization for Preact.
BSD 3-Clause "New" or "Revised" License
206 stars 18 forks source link

Add support for Preact X #32

Closed filoozom closed 5 years ago

filoozom commented 5 years ago

I'm not exactly sure if that's enough, but it seems to be working for now.

Eh, the tests seem to disagree 😛

billneff79 commented 5 years ago

It looks like you missed the children used in the localizer.js file.

billneff79 commented 5 years ago

It's possible that something might break in translate-mapping.jsas well with it's use of children of Text nodes on line 30.

filoozom commented 5 years ago

Closing in favour of #33