Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function idea: use_potools() for initial setup #306

Open
maelle opened this issue Oct 31, 2023 · 1 comment
Open

Function idea: use_potools() for initial setup #306

maelle opened this issue Oct 31, 2023 · 1 comment

Comments

@maelle
Copy link
Contributor

maelle commented Oct 31, 2023

When starting to use potools in a package, the first step is to register the potools usage style in DESCRIPTION.

Could there be a function for doing this, use_potools(style = "explicit") (so the explicit style would be the default one)?

And if the style is explicit, then the function would also create R/utils-potools.R with the definition of tr_().

Then the function would indicate the next steps: wrap text in tr_(), run po_extract() and po_create().

@MichaelChirico
Copy link
Owner

Related: #39

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

No branches or pull requests

2 participants