X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Fvalues%2Farrays.xml;h=ded168533667f9b0ce81cdb77b1b99dad0c40d19;hp=17b632966ff87c85744dcbed46f00a8f3d6bc949;hb=HEAD;hpb=685885185ce21d286a1eb6dadeb86829ece75250 diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 17b63296..ded16853 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -1,5 +1,5 @@ + + Edit + Duplicate + Delete + + + Templates are like pre-filled transactions. Some of the transaction parameters are defined by the template, and others can be deduced from external source. + For example, when adding a new transaction, you could scan the QR code of a receipt and get the transaction description filled from the template, and date and amounts filled from the data in the QR code. + Templates describe which transaction parameters are fixed and which come from the external source. + Currently, scanning QR codes is the only available source. Support for pasting from the clipboard and reading/intercepting text messages (SMS) is planned for the future. + + + The pattern is a Regular expression ([Wikipedia↗](https://en.wikipedia.org/wiki/Regular_expression#Syntax)). It must match the input from the external source, or the template won\'t be considered when looking for templates corresponding to the input from the external source. + Capture groups may be used for filling some transaction parameters. + \ No newline at end of file