Transity icon indicating copy to clipboard operation
Transity copied to clipboard

Simplify exported IDs of a transaction

Open mordax7 opened this issue 4 years ago • 4 comments

Description Since https://github.com/feramhq/transity/blob/master/scripts/helpers.js#L104 function is responsible to simplify the id of the transactions. I was wondering if the idea is that each person extends the mappings by himself or is it worth to create a pull request? This question came up because I noticed in my transactions.yml had many ids were not readable, duplicates, etc.

mordax7 avatar Sep 12 '20 21:09 mordax7

The plan was to have the most common ones already included in Transity, and to provide a file for more local ones (like the barber next door or similar). The feature to provide a file is however not yet implmented.

I'm currently using

npx subf translations.tsv transactions.yaml > fixed.yaml

in my projects.

ad-si avatar Sep 13 '20 18:09 ad-si

So feel free to create a PR if there are some bigger companies you'd like to add!

ad-si avatar Sep 13 '20 18:09 ad-si

I installed your https://github.com/ad-si/subf and it does not recognize my tabs as separators. Do you know what the issue could be? I am using Arch.

mordax7 avatar Sep 14 '20 05:09 mordax7

@mordax7 That sounds weird. subf is a quite simple tool, so it should work basically anywhere. Can you give me an example file which does not work for you? Then I can try it out in an arch docker container.

ad-si avatar Dec 18 '21 16:12 ad-si