Commit graph

11 commits

Author SHA1 Message Date
Paul Schaub c32ef9830b
Properly throw CannotDecrypt exception with error message 2022-11-06 14:41:37 +01:00
Paul Schaub e75dde1637
Remove colons from error message 2022-11-06 14:40:53 +01:00
Paul Schaub e17d4d2efb
Add shared resources to all subcommand bundles 2022-08-04 13:14:21 +02:00
Paul Schaub dcb44f96c8
Fix wrongly named resource entries 2022-08-04 12:48:32 +02:00
Paul Schaub dc5f11469f
Rename resource bundles and name resources after options/parameters 2022-08-04 12:15:53 +02:00
Paul Schaub 7de94f1815
Set resource bundle for help command 2022-07-27 14:30:48 +02:00
Paul Schaub fa52df385e
Split message resources into separate per-command resource files.
Since picocli 4.7.0, subcommands inherit resources from their
parent commands, so we can store shared stuff like error msgs
etc. in the parent (sop) resources file.

This enables us to rename the parent command downstream (e.g. in
pgpainless-cli).

Only the help command breaks when renaming the parent command.
TODO: Fix
2022-07-25 19:15:47 +02:00
Paul Schaub 86e39809ae
Fix sop.properties sop command header 2022-07-23 01:11:40 +02:00
Paul Schaub 55673b52a7 Fix typos in i18n 2022-06-19 18:19:23 +02:00
Paul Schaub 6d5005660c
Fix format strings 2022-06-09 00:46:25 +02:00
Paul Schaub 4934e472e2
Wip: Refactor command implementation and enable i18n for CLI 2022-06-06 20:06:14 +02:00