-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Localization Implementation #2
Conversation
- Removed unnecessary semi-colon - Type conversions through unknown
Optimize d20Roll Return
Start Player Actions Translations
Subsequent i18n path fixes in relevant files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of things that I didn't personally touch, due to linting it looks like. Primary files were
- rollup.config.js (Included src/lang and src/fonts in copy)
- src/system.json (Added languages section)
- src/index.ts (Localization of Sheet Labels)
- src/templates/*.hbs (Converted to {{ localize }} for labels)
- src/system/config.ts (Labels to i18n path)
- src/system/types/cosmere.ts (enum values to 18n paths were relevant)
- src/system/dict/plot-die.ts (localization of Complication and Opportunity)
remove duplicate code
# Conflicts: # package-lock.json
I apologize for dumping another merge on you, but after this everything should match as per lint and prettier config. Can you change the base to release-0.1.0? Will review ASAP |
# Conflicts: # .github/workflows/lint.yml # eslint.config.mjs # rollup.config.js # src/declarations/foundry/client/config.d.ts # src/declarations/foundry/client/data/abstract/client-document.d.ts # src/declarations/foundry/client/data/documents/actor.d.ts # src/declarations/foundry/client/data/documents/item.d.ts # src/declarations/foundry/client/dice/roll.d.ts # src/declarations/foundry/common/abstract/data.d.ts # src/declarations/foundry/common/documents/actor.d.ts # src/declarations/foundry/common/documents/chat-message.d.ts # src/declarations/foundry/common/documents/item.d.ts # src/index.ts # src/style.scss # src/style/sheets/actor/character.scss # src/style/sheets/module.scss # src/style/sheets/sheet.scss # src/system.json # src/system/applications/actor/base-sheet.ts # src/system/applications/actor/character-sheet.ts # src/system/applications/actor/index.ts # src/system/applications/index.ts # src/system/config.ts # src/system/data/actor/common.ts # src/system/data/actor/index.ts # src/system/data/index.ts # src/system/data/item/action.ts # src/system/data/item/ancestry.ts # src/system/data/item/equipment.ts # src/system/data/item/fabrial.ts # src/system/data/item/index.ts # src/system/data/item/mixins/damaging.ts # src/system/data/item/mixins/description.ts # src/system/data/item/mixins/equippable.ts # src/system/data/item/mixins/id.ts # src/system/data/item/mixins/physical.ts # src/system/data/item/mixins/typed.ts # src/system/data/item/path.ts # src/system/data/item/talent.ts # src/system/data/item/weapon.ts # src/system/dice/d20-roll.ts # src/system/dice/index.ts # src/system/dice/plot-die.ts # src/system/dice/types.ts # src/system/documents/actor.ts # src/system/documents/index.ts # src/system/types/config.ts # src/system/types/roll.ts
@stanavdb Changed base to release-0.1.0, resolved merge conflicts, and retested to ensure functionality! Should be good for review |
Description
Implemented the Foundry Localization system.
Type of change
How Has This Been Tested?
Verified that all implemented sections of the Player Character Sheet were properly pulling from the localization files.
Test Configuration:
Checklist:
fixes #3