jamespdaily / pf2e-sheet-skill-actions

0 stars 14 forks source link

Full translations of all actions #43

Closed Glunty closed 2 years ago

Glunty commented 2 years ago

Full translations of all actions Fully fixes https://github.com/jamespdaily/pf2e-sheet-skill-actions/issues/40

To achieve that, we use IDs to access compendium items instead of slugs. Slugs are only used inside this module to match all maps. Babele, the module that manages translations, will then provide the translated compendium item. That way, everything is translated, even the text posted in the chat log.

Remove old translation key no longer necessary : we can directly use the label of the compendium item. Add a hook on babele.ready to reload actions when babele finished its translation work.

Also a bit of style : shirt is now aligned on the right :)

image

Glunty commented 2 years ago

Second commit just adds the translation for this title (module internal translation) image