Open maelle opened 10 months ago
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)?
use_potools(style = "explicit")
And if the style is explicit, then the function would also create R/utils-potools.R with the definition of tr_().
R/utils-potools.R
tr_()
Then the function would indicate the next steps: wrap text in tr_(), run po_extract() and po_create().
po_extract()
po_create()
Related: #39
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 oftr_()
.Then the function would indicate the next steps: wrap text in
tr_()
, runpo_extract()
andpo_create()
.