Update cheatsheets

This commit is contained in:
ivuorinen
2025-02-08 00:16:54 +00:00
parent c8986586ce
commit e8c2c9b263
3 changed files with 79 additions and 0 deletions

21
tldr/pocount Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pocount
> Translate Toolkit utility to get translation progress from file, supporting several formats.
> More information: <https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pocount.html>.
- Print a colorful table with the translation progress of a file:
`pocount {{path/to/file/file.po}}`
- Print translation progress of various files, one line per file:
`pocount --short {{translation_*.ts}}`
- Generate a CSV file with the translation progress of various files:
`pocount --csv {{translation_*.ts}} > {{path/to/translation_progress.csv}}`