Commit graph

192 commits

Author SHA1 Message Date
Tom French
adbaf27859 fix: correct "_many" translations
Co-authored-by: Manuel Eduardo Cánepa Cihuelo <10290593+manuelcanepa@users.noreply.github.com>
2022-09-08 15:18:08 +01:00
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
Manuel Eduardo Cánepa Cihuelo
6fb497dec5
Adding translation to rule editor and transaction table (#224)
* #199 Adding translation to rule editor and transaction table

* Feature: Translation to discover schedule table

Fix: Some translation improvements

* fix: Fix minor after check

* Feature: More translation to account

Fix: Add *_old.json files to ignore

* Update packages/desktop-client/src/components/accounts/Account.js

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>

* fix: Workaround for know caveats

* lint: fix import order

* fix: t is not a function when empty transactions list

* Feature: Translate account filters

* Feature: Translation on transactions table

* Feature: Translate budget and the rest of bootstrap

* Update packages/desktop-client/src/locales/es-ES.json

Co-authored-by: Jed Fox <git@jedfox.com>

* fix: Using the new key for unknow error

* refactor: push useTranslation up above function definition, etc

* refactor: push useTranslation up above function definition

* refactor: set key for Trans component balanceType

* refactor: pass i18keys to Trans components explicitly

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2022-09-06 10:22:22 +01:00
Tom French
cbf1e18299 style: linting 2022-09-02 15:12:24 +01:00
Tom French
11186c9374 Merge branch 'master' into i18n
* master:
  Sort import in alphabetical order (#238)
  Separate external, monorepo and internal imports (#237)
  Allow `enter` to create new transaction when focused on `cleared` column (#234)
  Enforce linting in loot-design (#233)
  style: run linter (#232)
  refactor: create index.js for aql directory (#68)
  Revert "build: update yarn.lock" (#230)
  Fix handling of -0 in budget summary (#229)
  Update bug-report.yml (#228)
2022-09-02 15:10:56 +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
Ezekiel Elin
ecd91b8f8e
Allow enter to create new transaction when focused on cleared column (#234) 2022-09-01 14:11:31 +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
Tom French
01d0eb2f0a
style: run linter (#232) 2022-08-31 23:32:25 +01:00
Tom French
0fcfffea57
refactor: create index.js for aql directory (#68) 2022-08-31 22:46:28 +01:00
Tom French
4be86c3d42
Revert "build: update yarn.lock" (#230)
This reverts commit ae8ef2674f.

Revert "Merge pull request #204 from TomAFrench/yarn-workspace-dependencies"

This reverts commit b0ed8d5149, reversing
changes made to 5505a1439a.
2022-08-31 22:44:52 +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
Rich Howell
f09f2dfe7b
Update bug-report.yml (#228)
Added Mac OSX and updated description
2022-08-31 19:10:01 +01:00
Tom French
953846732c style: remove setting of indent size to 4 in i18n-parser config 2022-08-31 00:21:17 +01:00
Tom French
55049da705 refactor: use i18n-next style of plurals 2022-08-31 00:20:33 +01:00
Tom French
618dd0f27f Merge branch 'master' into i18n
* master:
  fix: use correct comment style
  build: remove patch-package dependency from loot-design
  Conditionally set MSYS
  build: update yarn.lock
  build: use workspace ranges for monorepo dependencies
  changes needed to build on windows
2022-08-30 23:24:43 +01:00
Manuel Eduardo Cánepa Cihuelo
e436c01430
#199 Adding translation to schedules list (#219)
* #199 Adding translation to schedules list

* #199 Complete translation on EditSchedule Form

* #199 Translation for status badge

* #199 Minor changes, suggested by @j-f1

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-30 23:22:43 +01:00
Tom French
89128faf3f
Merge pull request #164 from bdoherty/windows
build on windows
2022-08-30 21:52:16 +01:00
Tom French
ea2ab1428d
Merge pull request #222 from TomAFrench/remove-unused-patch-dependency
Remove patch-package dependency from loot-design
2022-08-30 21:51:20 +01:00
Tom French
e638cdf467
fix: use correct comment style 2022-08-30 20:35:57 +01:00
Tom French
d293613645 build: remove patch-package dependency from loot-design 2022-08-30 20:33:17 +01:00
bdoherty
18e6eac116
Conditionally set MSYS
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-31 07:31:03 +12:00
Tom French
ae8ef2674f build: update yarn.lock 2022-08-30 17:07:38 +01:00
Tom French
b0ed8d5149
Merge pull request #204 from TomAFrench/yarn-workspace-dependencies
Use workspace ranges for monorepo dependencies
2022-08-30 16:35:57 +01:00
Tom French
fecca411b0
Merge branch 'master' into windows 2022-08-30 15:07:32 +01:00
Tom French
304a384b6c style: format json with 2 space indents 2022-08-30 13:40:33 +01:00
Tom French
b0f0c4a71d ci: fix workspace name in i18n job 2022-08-30 11:19:27 +01:00
Tom French
1fd3234613 ci: correct i18n job name 2022-08-30 11:16:19 +01:00
Tom French
a4fe21927d feat: fallback to english rather than showing translation key 2022-08-30 11:14:00 +01:00
Tom French
5c56370920 feat: prevent translation keys which don't exist in locale files 2022-08-30 11:12:19 +01:00
Tom French
43740f18f1 Merge branch 'master' into i18n
* master: (24 commits)
  refactor: sort imports in desktop-client alphabetically
  chore: remove unused imports from desktop-client
  adm-zip to 0.5.6
  style: prettify .eslintrc.js
  build: make eslint-plugin-prettier a dependency of desktop-client
  ci: lint desktop-client in CI
  style: fix or silence linting errors in desktop-client
  chore: update remaining test scripts
  github fix indentation in issue template
  github: update issue template
  fix: correct some re-exports which were breaking things
  fix: stop trying to transform node_modules
  fix: stop the web tests from running in node environment
  fix: add ts-jest presets which are equivalent to the old `transform` properties
  fix: add esModuleInterop so that the default imports issue goes away
  fix: stop typechecking javascript files
  chore: allow mobile package to pass with no tests
  build: replace babel-jest with ts-jest
  Update bug-report.yml
  Addition: Issue template
  ...
2022-08-30 10:24:17 +01:00
Tom French
5505a1439a
Merge pull request #217 from TomAFrench/remove-unused-imports
Remove unused imports and sort imports in desktop-client
2022-08-30 10:19:04 +01:00
Tom French
b552929b29
Merge pull request #214 from trevdor/adm-zip-upgrade
Fix adm-zip install failure
2022-08-30 01:35:23 +01:00
Tom French
887df1e388 refactor: sort imports in desktop-client alphabetically 2022-08-30 01:27:10 +01:00
Tom French
8e41d8d2dd chore: remove unused imports from desktop-client 2022-08-30 01:24:32 +01:00
Trevor Farlow
3773ab9892
adm-zip to 0.5.6 2022-08-26 10:10:15 -06:00
Tom French
be6780f90b
Merge pull request #213 from TomAFrench/lint-desktop-client
Enforce linting in desktop-client
2022-08-25 16:44:32 +01:00
Tom French
1d0b2721db style: prettify .eslintrc.js 2022-08-25 16:36:02 +01:00
Tom French
677faa611d build: make eslint-plugin-prettier a dependency of desktop-client 2022-08-25 16:35:48 +01:00
Tom French
4f0bfe4a1f ci: lint desktop-client in CI 2022-08-25 16:21:26 +01:00
Tom French
3ee7ae16cc style: fix or silence linting errors in desktop-client 2022-08-25 16:20:09 +01:00
Tom French
01be80d562
Merge pull request #203 from TomAFrench/ts-jest
Replace babel-jest with ts-jest
2022-08-24 21:31:21 +01:00
Tom French
d61457716e chore: update remaining test scripts 2022-08-24 21:27:47 +01:00
Tom French
6f86bd77e8 github fix indentation in issue template 2022-08-24 21:25:48 +01:00
Tom French
d83c75d1ae github: update issue template 2022-08-24 21:24:13 +01:00
Tom French
40dbab3732
Merge pull request #208 from rich-howell/master
Bug Report Template & Issues Configuration
2022-08-24 21:19:13 +01:00
Tom French
203ab791f2 fix: correct some re-exports which were breaking things 2022-08-24 21:15:16 +01:00
Tom French
c77273742b fix: stop trying to transform node_modules 2022-08-24 21:15:00 +01:00
Tom French
0e0b46ed5e fix: stop the web tests from running in node environment 2022-08-24 21:14:16 +01:00