You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
We can jus write Texts.format(""), Pressing ctrl+space inside quotes, will show available texts. This just works on intelliJ IDEA, that supports this thanks to some custom annotations:
If we want to add a new text, we just write a new ID, which is UPPERCASED_SNAKE_CASE, and place arguments separated by commas like this "argument" to value:
Then you go to the quoted TEXT_ID and press, alt+return, then select the Create property quickfix:
This will open a dialog where you can put the text inside. Just ensure that arguments are referenced with %argument% like in the example:
Text should have added in all the Texts_*.Properties files.
You could check here:
Also you can edit them/compare easily within the bottom Resource Bundle tab.
When done, just upload it and make a PR with your favourite software.
And here it is the result after following these steps: 0afe5e1
The text was updated successfully, but these errors were encountered:
Having this text for example:
We can jus write
Texts.format("")
, Pressing ctrl+space inside quotes, will show available texts. This just works on intelliJ IDEA, that supports this thanks to some custom annotations:If we want to add a new text, we just write a new ID, which is
UPPERCASED_SNAKE_CASE
, and place arguments separated by commas like this"argument" to value
:Then you go to the quoted TEXT_ID and press,
alt+return
, then select theCreate property
quickfix:This will open a dialog where you can put the text inside. Just ensure that arguments are referenced with
%argument%
like in the example:Text should have added in all the
Texts_*.Properties
files.You could check here:
Also you can edit them/compare easily within the bottom
Resource Bundle
tab.When done, just upload it and make a PR with your favourite software.
And here it is the result after following these steps: 0afe5e1
The text was updated successfully, but these errors were encountered: