Commit graph

25 commits

Author SHA1 Message Date
Jed Fox
5217835c55
Implement localization for schedule descriptions (#225)
* monthUtils.{format → nonLocalizedFormat}

* Implement localization for schedule descriptions

* Remove outdated comment

* Add general.ordinal in Spanish

Co-Authored-By: Manuel Eduardo Cánepa Cihuelo <10290593+manuelcanepa@users.noreply.github.com>

* yay time zones?

* fix: re-add missing keys

* fix: fix broken i18n imports/initialisation

* style: linting

* fix: re-add english ordinal keys

* fix: add remaining english ordinal keys

* fix: correct dates in schedules.js

* refactor: store translations keys for loot-core in loot-core

* fix: add ns to i18n.t calls directly so parser can find them

* feat: add spanish translation from manuelcanepa

* fix: add comments to help i18n-parser to find contexts

* fix: add "many" context to spanish translations

Co-authored-by: Manuel Eduardo Cánepa Cihuelo <10290593+manuelcanepa@users.noreply.github.com>
Co-authored-by: Tom French <tom@tomfren.ch>
2022-09-08 14:37:45 +01:00
Tom French
9c0df36e16
Sort import in alphabetical order (#238)
* style: enforce sorting of imports

* style: alphabetize imports

* style: merge duplicated imports
2022-09-02 15:07:24 +01:00
Tom French
dc53a74459
Separate external, monorepo and internal imports (#237)
* style: enforce ordering of imports

* style: sort imports in loot-core

* style: sort imports in desktop-client

* style: sort imports in loot-design

* style: manual fixes
2022-09-02 12:43:37 +01:00
Tom French
4c0bd80f24
Enforce linting in loot-design (#233)
* build: add linter to loot-design package

* style: automated fixes

* style: manual linter fixes
2022-09-01 12:47:34 +01:00
Jed Fox
9e7f94a237
Fix handling of -0 in budget summary (#229)
* Fix handling of -0 in budget summary

* Update based on review

Co-Authored-By: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-31 22:38:16 +01:00
Tom French
d293613645 build: remove patch-package dependency from loot-design 2022-08-30 20:33:17 +01:00
Tom French
9be15eaee1 build: replace babel-jest with ts-jest 2022-08-24 20:21:35 +01:00
Tom French
3f0addc78e chore: remove unused rollup config and dependencies 2022-08-23 16:19:29 +01:00
Tom French
fc4f120487 revert: revert pruning of svg imports 2022-08-22 22:51:01 -04:00
Tom French
88590dccaa style: nicer re-exporting syntax 2022-08-22 22:51:01 -04:00
Tom French
d705cd351b refactor: remove unused imports 2022-08-22 22:51:01 -04:00
Tom French
aa4d05ece6 fix: move downshift patch to monorepo root 2022-08-22 22:35:07 -04:00
Trevor Farlow
3273b2723d refactor: currency-formatter -> Intl.NumberFormat 2022-07-19 23:31:42 -04:00
Arthur E. Jones
2c9ecee464 refactor: split groups with slice 2022-07-11 01:13:12 -04:00
Arthur E. Jones
70b99c451c test: add invalid length date test cases 2022-07-11 01:13:12 -04:00
Arthur E. Jones
e32a916bd2 test: add impossible date test cases
Tests impossible dates eg
- months outside 1-12 range
- days outside valid range for a given month
2022-07-11 01:13:12 -04:00
Arthur E. Jones
5756ef6f98 docs: update documentation/comments 2022-07-11 01:13:12 -04:00
Arthur E. Jones
face6c254d style: apply prettier 2022-07-11 01:13:12 -04:00
Arthur E. Jones
dcf5379f49 test: add parseDate tests 2022-07-11 01:13:12 -04:00
Arthur E. Jones
2897b647a1 fix: use more versatile date regex
Previous implementation could not parse dates that are lacking delimiters.

Fix issue #116
2022-07-11 01:13:12 -04:00
Tom French
de81e2cf76 build: update downshift patch to match installed version 2022-06-29 13:31:10 -04:00
Tom French
9d7dedeb2f build: update react-modal in loot-design to 3.4.4 2022-06-29 10:27:42 -04:00
Tom French
c431ccf74a build: lock packages to the versions for which patches have been made 2022-06-29 10:27:42 -04:00
James Long
8b392c40ba Add ability to import Actual files; enable export on desktop 2022-05-27 15:56:21 -04:00
James Long
4d9fdfc590 Initial (open-source) 2022-04-28 22:44:38 -04:00