The quantity 'one' matches more than one specific number in this locale
(1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, à), but the message did not
include a formatting argument (such as %d).
This is usually an internationalization error.
See full issue explanation for more. [ImpliedQuantity]
Renamed reschedule_cards_dialog_title to reschedule_cards_dialog_title_new
* removed reschedule_cards_dialog_title as lint warnings occurred
Issue 10481 - also needs a translation sync
* feat(prettier-check): added .prettierrc + workflow
* feat(prettier-check): ran prettier + .prettierignore
* feat(prettier-check): check if npx is installed
pre-commit now skips Prettier check if `npx` is not present.
For use in conflict management in scoped storage. Once we have a relative path,
we can move it to "/conflict/" + path and properly handle the creation of
directories.
It was confusing to have both `createDirectory` and
`createTransientDirectory`. Plus, we almost never really need a `Directory` but
its underlying `File`.
This remove confusion in which method to use, what are the difference between
them, and it remove even some `.direction`, at the cost of two helpers methods
that encapsulate File in Direction when required
Simply for the sake of consistency. It will ensure that when searching for a
method, function or variable name, I have a single word to look for
This was done by a simple search and replace in .java and .kt files, preserving
case.
The only exception being org.junit.rules.TemporaryFolder and its method
`newFolder`, which obviously was not renamed.
Note that `folder` can't be entirely renamed to `directory` either because of
the class `DirectoryStream`. It seems even Java is not consistent between Folder
and directory
- In DeckPickerNoSpaceToDowngradeDialogRemoving: removing collection's nullability was a minimal necessary change in order achieve compilation.
- In BackupManagerTest: replaced empty string by collection's default path to avoid test failure caused by NPEs. The affected method should have not be called with an empty string describing the path beforehand.
If DeleteEmptyDirectory fails, we want to perform
the MoveDirectory that spawned it
This could happen for many reasons, such as a failed file
move, or adding a file to `AnkiDroid` during the process
A future commit will want to handle accessing the queue
while the executor is executing. executeAll() did not allow this
So provide an executor which has the list of operations public
The general design is TBC, but the functionality will be used in prod