I went through all the English source files and handpicked the 579 different strings of references to Glossary (the words in triple-parentheses). It was a huge help for feeding the Translation Memory (TM), but I think it can be useful for anyone in the future. As the entire file is only 18 kB in total, so I think we could store in our repository somewhere.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2847633-list-of-glossary-references-2.patch | 18.72 KB | baluertl |
Comments
Comment #2
baluertlMy first guess was to put it under
/assets, so the patch provided.Comment #3
jhodgdonOh, you mean Table of Contents entries, not Glossary.
Needs a different file name. :)
Hm. Did you use a script to extract them? If so, maybe we should put that (I realize it's probably one line) in the scripts folder? Or maybe just put the one-line command in a README file, or maybe at the top of this file in a comment that the translation memory would ignore (start with a # sign or something)?
Comment #4
jhodgdonComment #5
jhodgdonOh, I see you said you hand-picked them. Let's see... Here's a Linux/Unix command line that you can run to generate the list, run from the source/en directory:
grep -h "(((" *.txt | sort -u > ../../assets/toc-entries.txt
Comment #6
jhodgdonI think that we should probably combine this with #2828137: Add section about using Translation Memory to contributor guide, and rather than adding this file to the Git repository, we should put that command line from #5 into the section that needs to be written (in the Contributor Guide) about using translation memory.
Comment #7
jhodgdonActually, these are index entries. Doh!
Comment #8
jhodgdonI added a note to #2828137-14: Add section about using Translation Memory to contributor guide so let's deal with this there. I don't think we want to add the output of this command to the Git repo, as it would get out of date pretty easily.
Comment #9
baluertlI tried and confirm that your grep command shared in #5 does the job nicely even on Mac's Terminal. Probably we should leave this issue as Closed and use it as a reference for the future if anyone else would need an up-to-date list of ToC entries for any purpose.