Open mattwang44 opened 2 years ago
I like this idea. In the meantime, I thought potodo --only-fuzzy
is not the same as make fuzzy
.
Copy from my markdown comment, https://hackmd.io/iwuK9RNcSdyGmfKLxx748w?view#Agenda Actually, a fuzzy string is a string marked as "#, fuzzy" and "make fuzzy" is to find out a subset of fuzzy strings whose msgstr is not empty. In other words, it is to find out ever translated fuzzy strings. "#, fuzzy" is appended by some script.
I found a tool named
potodo
that provides same functionalities with part of our current Makefile commands but has better format. We can consider adopting this tool in our Makefile (or even storing the output as a file and updating it whenever a PR is merged).Listing untranslated files
make todo
potodo
Listing fuzzy entries
make fuzzy
potodo --only-fuzzy
Get overall progress
make progress
potodo | tail -n2 | head -n1 | cut -c 10- | sed 's/[%].*$/%/g'