-
Hello, I am using todo.txt cli with conky following this tutorial: https://github-wiki-see.page/m/todotxt/todo.txt-cli/wiki/Linux-with-Conky and I would like to change the following line (thats shows on my Linux Desktop) "TODO: 1 of 1 tasks shown" to the French language so that it read: "TODO: 1 de 1 taches montrées". In which file do I have to change that? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Unfortunately, there isn't yet a localization mechanism built into todo.txt-cli, so all messages are hard-coded inside the script itself. The output you're interested in is in function I wouldn't recommend editing that file, you'll have to redo that (or patch / rebase it) each time there's a new todo.txt-cli release. For Conky, I would simply omit the summary at the end by setting Apropos piping; Conky may interpret some characters ( |
Beta Was this translation helpful? Give feedback.
Unfortunately, there isn't yet a localization mechanism built into todo.txt-cli, so all messages are hard-coded inside the script itself.
The output you're interested in is in function
_list()
, here.I wouldn't recommend editing that file, you'll have to redo that (or patch / rebase it) each time there's a new todo.txt-cli release.
For Conky, I would simply omit the summary at the end by setting
TODOTXT_VERBOSE=0
; that'll also save you some valuable space. You may even want to limit the amount of tasks shown to a maximum (e.g. of 10); for that, you'll likely pipetodo.sh
's output intosed
orawk
, and you easily can do the counting there.Apropos piping; Conky may interpret some characters (
#