Skip to content

Conversation

mierin12
Copy link
Contributor

@mierin12 mierin12 commented Sep 9, 2024

Hello,
This is a very small proposition to add a new label to be used when only 1 transaction from an investment plan is automatically created. Previously, only one label was available, therefore using plural even for 1 transaction.

Before
Capture d’écran 2024-09-09 230350

After
Capture d’écran 2024-09-09 230902

@buchen
Copy link
Member

buchen commented Sep 15, 2024

Hi @mierin12,

the Java MessageFormat supports such formatting - singular and plural. One can use the choice pattern to adapt the text accordingly.

Created {1,choice,1#1 transaction|1<{1} transactions} for investment plan ''{0}''.

I'll change the text accordingly.

buchen added a commit that referenced this pull request Sep 15, 2024
@buchen buchen closed this Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants