aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-18 11:40:47 -0300
committerEuAndreh <eu@euandre.org>2022-01-18 14:02:59 -0300
commit47bfd2ed8c3219e79f8974a8fc2ac9265ed91bd2 (patch)
tree3d162596d874b4f775da12c843ad3918b593f713
parentInitial empty commit (diff)
downloadtd-47bfd2ed8c3219e79f8974a8fc2ac9265ed91bd2.tar.gz
td-47bfd2ed8c3219e79f8974a8fc2ac9265ed91bd2.tar.xz
First commit, now with a clean history
-rw-r--r--.gitignore10
-rw-r--r--.tdrc1
-rw-r--r--CHANGELOG.md27
-rw-r--r--COPYING661
-rw-r--r--Makefile150
-rw-r--r--README.md238
-rw-r--r--TODOs.md76
-rwxr-xr-xaux/80-columns.sh12
-rwxr-xr-xaux/assert-shellcheck.sh6
-rwxr-xr-xaux/ci/ci-build.sh60
-rwxr-xr-xaux/ci/git-post-receive.sh22
-rwxr-xr-xaux/ci/git-pre-push.sh22
-rwxr-xr-xaux/ci/report.sh109
-rw-r--r--aux/containers/guix/manifest.scm23
-rwxr-xr-xaux/containers/guix/with-container.sh19
-rwxr-xr-xaux/lib.sh30
-rw-r--r--aux/tld.txt1
l---------aux/with-container1
-rwxr-xr-xaux/workflow/TODOs.sh64
-rwxr-xr-xaux/workflow/assert-changelog.sh66
-rwxr-xr-xaux/workflow/assert-readme.sh108
-rwxr-xr-xaux/workflow/assert-todos.sh58
-rwxr-xr-xaux/workflow/commonmark.sh48
-rwxr-xr-xaux/workflow/dist.sh112
-rw-r--r--aux/workflow/favicon.html1
-rw-r--r--aux/workflow/favicon.svg62
-rwxr-xr-xaux/workflow/l10n.sh109
-rw-r--r--aux/workflow/preamble.md16
-rwxr-xr-xaux/workflow/public.sh83
-rwxr-xr-xaux/workflow/sign-tarballs.sh38
-rw-r--r--aux/workflow/style.css62
-rw-r--r--description1
-rwxr-xr-xdoc/manpages.sh76
-rw-r--r--doc/td.en.1.in0
-rw-r--r--doc/td.en.5.in0
-rw-r--r--doc/td.eo.1.in0
-rw-r--r--doc/td.eo.5.in0
-rw-r--r--doc/td.es.1.in0
-rw-r--r--doc/td.fr.1.in0
-rw-r--r--doc/td.fr.5.in0
-rw-r--r--doc/td.pt.1.in0
-rw-r--r--doc/td.pt.5.in0
-rw-r--r--doc/td.recipes.en.5.in0
-rw-r--r--doc/td.recipes.en.7.in0
-rw-r--r--doc/td.recipes.eo.5.in0
-rw-r--r--doc/td.recipes.eo.7.in0
-rw-r--r--doc/td.recipes.es.7.in0
-rw-r--r--doc/td.recipes.fr.5.in0
-rw-r--r--doc/td.recipes.fr.7.in0
-rw-r--r--doc/td.recipes.pt.5.in0
-rw-r--r--doc/td.recipes.pt.7.in0
-rw-r--r--doc/td.tutorial.en.5.in0
-rw-r--r--doc/td.tutorial.en.7.in0
-rw-r--r--doc/td.tutorial.eo.5.in0
-rw-r--r--doc/td.tutorial.eo.7.in0
-rw-r--r--doc/td.tutorial.es.7.in0
-rw-r--r--doc/td.tutorial.fr.5.in0
-rw-r--r--doc/td.tutorial.fr.7.in0
-rw-r--r--doc/td.tutorial.pt.5.in0
-rw-r--r--doc/td.tutorial.pt.7.in0
-rw-r--r--doc/td.why.en.5.in0
-rw-r--r--doc/td.why.en.7.in0
-rw-r--r--doc/td.why.eo.5.in0
-rw-r--r--doc/td.why.eo.7.in0
-rw-r--r--doc/td.why.es.7.in0
-rw-r--r--doc/td.why.fr.5.in0
-rw-r--r--doc/td.why.fr.7.in0
-rw-r--r--doc/td.why.pt.5.in0
-rw-r--r--doc/td.why.pt.7.in0
-rw-r--r--doc/tdrc.en.5.in0
-rw-r--r--doc/tdrc.eo.5.in0
-rw-r--r--doc/tdrc.es.5.in0
-rw-r--r--doc/tdrc.fr.5.in0
-rw-r--r--doc/tdrc.pt.5.in0
-rw-r--r--long-description4
-rw-r--r--po/LC_MESSAGES/CHANGELOG.en.md/eo.po40
-rw-r--r--po/LC_MESSAGES/CHANGELOG.en.md/es.po41
-rw-r--r--po/LC_MESSAGES/CHANGELOG.en.md/fr.po41
-rw-r--r--po/LC_MESSAGES/CHANGELOG.en.md/pt.po41
-rw-r--r--po/LC_MESSAGES/README.en.md/eo.po599
-rw-r--r--po/LC_MESSAGES/README.en.md/es.po599
-rw-r--r--po/LC_MESSAGES/README.en.md/fr.po599
-rw-r--r--po/LC_MESSAGES/README.en.md/pt.po599
-rw-r--r--po/LC_MESSAGES/doc/td.en.1.in/eo.po18
-rw-r--r--po/LC_MESSAGES/doc/td.en.1.in/es.po18
-rw-r--r--po/LC_MESSAGES/doc/td.en.1.in/fr.po18
-rw-r--r--po/LC_MESSAGES/doc/td.en.1.in/pt.po18
-rw-r--r--po/LC_MESSAGES/doc/td.recipes.en.7.in/eo.po18
-rw-r--r--po/LC_MESSAGES/doc/td.recipes.en.7.in/es.po18
-rw-r--r--po/LC_MESSAGES/doc/td.recipes.en.7.in/fr.po18
-rw-r--r--po/LC_MESSAGES/doc/td.recipes.en.7.in/pt.po18
-rw-r--r--po/LC_MESSAGES/doc/td.tutorial.en.7.in/eo.po18
-rw-r--r--po/LC_MESSAGES/doc/td.tutorial.en.7.in/es.po18
-rw-r--r--po/LC_MESSAGES/doc/td.tutorial.en.7.in/fr.po18
-rw-r--r--po/LC_MESSAGES/doc/td.tutorial.en.7.in/pt.po18
-rw-r--r--po/LC_MESSAGES/doc/td.why.en.7.in/eo.po18
-rw-r--r--po/LC_MESSAGES/doc/td.why.en.7.in/es.po18
-rw-r--r--po/LC_MESSAGES/doc/td.why.en.7.in/fr.po18
-rw-r--r--po/LC_MESSAGES/doc/td.why.en.7.in/pt.po18
-rw-r--r--po/LC_MESSAGES/doc/tdrc.en.5.in/eo.po18
-rw-r--r--po/LC_MESSAGES/doc/tdrc.en.5.in/es.po18
-rw-r--r--po/LC_MESSAGES/doc/tdrc.en.5.in/fr.po18
-rw-r--r--po/LC_MESSAGES/doc/tdrc.en.5.in/pt.po18
-rw-r--r--po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP1.en.txt/eo.po56
-rw-r--r--po/LC_MESSAGES/src/locale/HELP1.en.txt/es.po56
-rw-r--r--po/LC_MESSAGES/src/locale/HELP1.en.txt/fr.po56
-rw-r--r--po/LC_MESSAGES/src/locale/HELP1.en.txt/pt.po56
-rw-r--r--po/LC_MESSAGES/src/locale/HELP2.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP2.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP2.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP2.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP3.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP3.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP3.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/HELP3.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/eo.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/es.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/fr.po22
-rw-r--r--po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/pt.po22
-rw-r--r--po/LC_MESSAGES/src/locale/USAGE.en.txt/eo.po27
-rw-r--r--po/LC_MESSAGES/src/locale/USAGE.en.txt/es.po27
-rw-r--r--po/LC_MESSAGES/src/locale/USAGE.en.txt/fr.po27
-rw-r--r--po/LC_MESSAGES/src/locale/USAGE.en.txt/pt.po27
-rw-r--r--src/locale/ADDED_LOG.en.txt1
-rw-r--r--src/locale/ADDED_LOG.eo.txt1
-rw-r--r--src/locale/ADDED_LOG.es.txt1
-rw-r--r--src/locale/ADDED_LOG.fr.txt1
-rw-r--r--src/locale/ADDED_LOG.pt.txt1
-rw-r--r--src/locale/COMMIT_MSG.en.txt1
-rw-r--r--src/locale/COMMIT_MSG.eo.txt1
-rw-r--r--src/locale/COMMIT_MSG.es.txt1
-rw-r--r--src/locale/COMMIT_MSG.fr.txt1
-rw-r--r--src/locale/COMMIT_MSG.pt.txt1
-rw-r--r--src/locale/FILE_DOESNT_EXIST_CREATING.en.txt1
-rw-r--r--src/locale/FILE_DOESNT_EXIST_CREATING.eo.txt1
-rw-r--r--src/locale/FILE_DOESNT_EXIST_CREATING.es.txt1
-rw-r--r--src/locale/FILE_DOESNT_EXIST_CREATING.fr.txt1
-rw-r--r--src/locale/FILE_DOESNT_EXIST_CREATING.pt.txt1
-rw-r--r--src/locale/HELP1.en.txt21
-rw-r--r--src/locale/HELP1.eo.txt21
-rw-r--r--src/locale/HELP1.es.txt21
-rw-r--r--src/locale/HELP1.fr.txt21
-rw-r--r--src/locale/HELP1.pt.txt21
-rw-r--r--src/locale/HELP2.en.txt1
-rw-r--r--src/locale/HELP2.eo.txt1
-rw-r--r--src/locale/HELP2.es.txt1
-rw-r--r--src/locale/HELP2.fr.txt1
-rw-r--r--src/locale/HELP2.pt.txt1
-rw-r--r--src/locale/HELP3.en.txt1
-rw-r--r--src/locale/HELP3.eo.txt1
-rw-r--r--src/locale/HELP3.es.txt1
-rw-r--r--src/locale/HELP3.fr.txt1
-rw-r--r--src/locale/HELP3.pt.txt1
-rw-r--r--src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt1
-rw-r--r--src/locale/TYPE_DOESNT_EXIST_CREATING.eo.txt1
-rw-r--r--src/locale/TYPE_DOESNT_EXIST_CREATING.es.txt1
-rw-r--r--src/locale/TYPE_DOESNT_EXIST_CREATING.fr.txt1
-rw-r--r--src/locale/TYPE_DOESNT_EXIST_CREATING.pt.txt1
-rw-r--r--src/locale/UNEDITED_ENTRY.en.txt1
-rw-r--r--src/locale/UNEDITED_ENTRY.eo.txt1
-rw-r--r--src/locale/UNEDITED_ENTRY.es.txt1
-rw-r--r--src/locale/UNEDITED_ENTRY.fr.txt1
-rw-r--r--src/locale/UNEDITED_ENTRY.pt.txt1
-rw-r--r--src/locale/UNREGISTERED_TYPE.en.txt1
-rw-r--r--src/locale/UNREGISTERED_TYPE.eo.txt1
-rw-r--r--src/locale/UNREGISTERED_TYPE.es.txt1
-rw-r--r--src/locale/UNREGISTERED_TYPE.fr.txt1
-rw-r--r--src/locale/UNREGISTERED_TYPE.pt.txt1
-rw-r--r--src/locale/USAGE.en.txt4
-rw-r--r--src/locale/USAGE.eo.txt4
-rw-r--r--src/locale/USAGE.es.txt4
-rw-r--r--src/locale/USAGE.fr.txt4
-rw-r--r--src/locale/USAGE.pt.txt4
-rw-r--r--src/locale/load-messages.sh.in35
-rwxr-xr-xsrc/td.in540
-rwxr-xr-xtests/cli-opts.sh0
-rwxr-xr-xtests/config.sh0
-rwxr-xr-xtests/lib.sh144
-rwxr-xr-xtests/workflow.sh0
199 files changed, 7215 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ede1373
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+/public/
+/README.*.md
+/CHANGELOG.*.md
+*.mo
+*.po~
+/doc/*.1
+/doc/*.5
+/doc/*.7
+/src/td
+/src/locale/*.sh
diff --git a/.tdrc b/.tdrc
new file mode 100644
index 0000000..c30c6ee
--- /dev/null
+++ b/.tdrc
@@ -0,0 +1 @@
+TD_USE_BUILTIN_HOOKS='git'
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..1e90852
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,27 @@
+<!-- Entry template: -->
+
+<!--
+# Unreleased
+## Added
+## Changed
+## Deprecated
+## Removed
+## Fixed
+## Security
+-->
+
+Changelog for [td](https://euandreh.xyz/td/en/).
+
+[pt] | [fr] | [eo] | [es]
+
+[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html
+[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html
+[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html
+[es]: https://euandreh.xyz/td/es/CHANGELOG.html
+
+
+# Unreleased
+
+## Added
+
+Initial public release.
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..be3f7b2
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,661 @@
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU Affero General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<https://www.gnu.org/licenses/>.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a3a0627
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,150 @@
+.POSIX:
+DATE = 1970-01-01
+VERSION = 0.1.0
+NAME = td
+MAILING_LIST = public-inbox
+TRANSLATIONS = pt fr eo es
+CONTRIBLANGS =
+PREFIX = /usr/local
+BINDIR = $(PREFIX)/bin
+LIBEXECDIR = $(PREFIX)/libexec
+SHAREDIR = $(PREFIX)/share
+LOCALEDIR = $(SHAREDIR)/locale
+MANDIR = $(SHAREDIR)/man
+
+
+.SUFFIXES:
+.SUFFIXES: .in
+
+.in:
+ sed \
+ -e 's:@VERSION@:$(VERSION):g' \
+ -e 's:@DATE@:$(DATE):g' \
+ -e 's:@NAME@:$(NAME):g' \
+ -e 's:@LIBEXECDIR@:$(LIBEXECDIR):g' \
+ -e 's:@LOCALEDIR@:$(LOCALEDIR):g' \
+ < $< > $@
+ if [ -x $< ]; then chmod +x $@; fi
+
+
+manpages.en.in = \
+ doc/td.en.1.in \
+ doc/tdrc.en.5.in \
+ doc/td.tutorial.en.7.in \
+ doc/td.recipes.en.7.in \
+ doc/td.why.en.7.in
+manpages.in = $(manpages.en.in) \
+ doc/td.pt.1.in \
+ doc/td.fr.1.in \
+ doc/td.eo.1.in \
+ doc/td.es.1.in \
+ doc/tdrc.pt.5.in \
+ doc/tdrc.fr.5.in \
+ doc/tdrc.eo.5.in \
+ doc/tdrc.es.5.in \
+ doc/td.tutorial.pt.7.in \
+ doc/td.tutorial.fr.7.in \
+ doc/td.tutorial.eo.7.in \
+ doc/td.tutorial.es.7.in \
+ doc/td.recipes.pt.7.in \
+ doc/td.recipes.fr.7.in \
+ doc/td.recipes.eo.7.in \
+ doc/td.recipes.es.7.in \
+ doc/td.why.pt.7.in \
+ doc/td.why.fr.7.in \
+ doc/td.why.eo.7.in \
+ doc/td.why.es.7.in
+manpages = $(manpages.in:.in=)
+
+locale-files.sh = \
+ src/locale/en.sh \
+ src/locale/pt.sh \
+ src/locale/fr.sh \
+ src/locale/eo.sh \
+ src/locale/es.sh
+
+
+all: src/td src/locale/load-messages.sh $(locale-files.sh) $(manpages)
+
+
+src/locale/template.sh: src/td
+ env TD_DUMP_TRANSLATABLE_STRINGS=1 ./src/td > $@
+
+$(locale-files.sh): src/locale/template.sh
+ sed "s/@LANG@/`basename $@ .sh`/g" < src/locale/template.sh > $@
+
+
+check: all
+ sh tests/cli-opts.sh
+ sh tests/config.sh
+ sh tests/workflow.sh
+
+clean:
+ rm -rf \
+ public/ $(manpages) README.*.md CHANGELOG.*.md messages.mo \
+ src/td src/locale/load-messages.sh \
+ src/locale/template.sh $(locale-files.sh)
+
+
+install: all
+ mkdir -p \
+ $(DESTDIR)$(BINDIR) \
+ $(DESTDIR)$(LIBEXECDIR)/$(NAME) \
+ $(DESTDIR)$(LOCALEDIR)
+ cp src/$(NAME) $(DESTDIR)$(BINDIR)
+ cp src/locale/load-messages.sh $(DESTDIR)$(LIBEXECDIR)/$(NAME)
+ for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \
+ mkdir -p $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME); \
+ cp \
+ src/locale/$$l.sh src/locale/*.$$l.txt \
+ $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME); \
+ done
+ sh doc/manpages.sh -ip $(DESTDIR)$(MANDIR) $(manpages)
+
+uninstall:
+ rm -f \
+ $(DESTDIR)$(BINDIR)/$(NAME) \
+ $(DESTDIR)$(LIBEXECDIR)/$(NAME)/load-messages.sh
+ for l in $(TRANSLATIONS) en $(CONTRIBLANGS); do \
+ rm -f $(DESTDIR)$(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME)/*; \
+ done
+ sh doc/manpages.sh -up $(DESTDIR)$(MANDIR) $(manpages)
+
+
+#
+# Personal workflow targets
+#
+
+dev-check: check public
+ echo FIXME shellcheck
+ sh aux/assert-shellcheck.sh
+ sh aux/workflow/assert-todos.sh
+ sh aux/workflow/assert-changelog.sh -n '$(NAME)' $(EXTRA_VERSION)
+ sh aux/workflow/assert-readme.sh -n '$(NAME)' -m '$(MAILING_LIST)' \
+ $(EXTRA_VERSION)
+ sh aux/workflow/assert-manpages.sh -n '$(NAME)' -m '$(MAILING_LIST)' \
+ -l '$(TRANSLATIONS) en' $(manpages.en.in)
+ env ASSERT_NO_MISSING_TRANSLATIONS=1 sh aux/workflow/repocheck.sh
+
+dist:
+ sh aux/workflow/dist.sh -d '$(DATE)' -V '$(VERSION)' \
+ -n '$(NAME)' -m '$(MAILING_LIST)'
+
+README.en.md: README.md
+ ln -fs $? $@
+
+CHANGELOG.en.md: CHANGELOG.md
+ ln -fs $? $@
+
+l10n-gen: README.en.md CHANGELOG.en.md $(manpages.en.in)
+ sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' -L '$(CONTRIBLANGS)' $? \
+ src/locale/*.en.txt
+
+public: l10n-gen TODOs.md $(manpages)
+ sh aux/workflow/public.sh -l '$(TRANSLATIONS) $(CONTRIBLANGS) en' \
+ -n '$(NAME)' -m '$(MAILING_LIST)' -o public
+ sh doc/manpages.sh -Ho public $(manpages)
+
+spellcheck: public
+ sh aux/workflow/assert-spelling.sh -l '$(TRANSLATIONS) en' \
+ $$(find public -type f -name '*.html')
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f5aacaf
--- /dev/null
+++ b/README.md
@@ -0,0 +1,238 @@
+# td
+
+[pt][pt1] | [fr][fr1] | [eo][eo1] | [es][es1]
+
+[pt1]: https://euandreh.xyz/td/pt/
+[fr1]: https://euandreh.xyz/td/fr/
+[eo1]: https://euandreh.xyz/td/eo/
+[es1]: https://euandreh.xyz/td/es/
+
+Minimalistic bug tracker CLI.
+
+Create and maintain a `TODOs.md` file for bug tracking.
+
+It is a tool for distributed, offline issue tracking, reified as a simple text
+file in the repository.
+
+
+
+## Usage
+
+```shell
+# inside a Git repository
+# create the basic configuration
+
+$ echo 'TD_USE_BUILTIN_HOOKS=git' > .tdrc
+
+
+
+# create a sample task
+
+$ td -cm 'Implement feature A'
+File "TODOs.md" doesn't exist yet, creating a brand new one.
+[main 9d854ac] TODOs.md: Add #td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b
+ 1 file changed, 4 insertions(+)
+ create mode 100644 TODOs.md
+#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b added to TODOs.md.
+
+
+
+# register a bug, and edit its content with $VISUAL
+
+$ td -t bug -m 'Fix B'
+Type "bug" doesn't exist yet, creating new section with it.
+[main 0f79796] TODOs.md: Add #td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77
+ 1 file changed, 10 insertions(+)
+#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77 added to TODOs.md.
+
+
+
+# add new task, with its initial state as DOING
+
+$ td -cm 'Work on C' -s DOING
+[main 1be9c00] TODOs.md: Add #td-1bbc2775-49b4-6112-5a9b-8f7fa466997c
+ 1 file changed, 3 insertions(+)
+#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c added to TODOs.md.
+
+
+
+# create custom task type, and use it to # register a new task
+
+$ cat <<'EOF' >> .tdrc
+export TD_TYPES='
+task:Tasks
+issue:Issues
+idea:Ideas
+'
+EOF
+$ td -cm 'Fix D' -t issue
+Type "issue" doesn't exist yet, creating new section with it.
+[main 7b888e3] TODOs.md: Add #td-231e1472-d32f-69d0-6c62-b924b70a5b7f
+ 1 file changed, 6 insertions(+)
+#td-231e1472-d32f-69d0-6c62-b924b70a5b7f added to TODOs.md.
+```
+
+---
+
+
+The final `TODOs.md` file is:
+
+```commonmark
+# Tasks
+
+## DOING Work on C {#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c}
+- DOING in 2022-01-16
+
+## TODO Implement feature A {#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b}
+- TODO in 2022-01-16
+
+
+# Bugs
+
+## TODO Fix B {#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77}
+- TODO in 2022-01-16
+
+---
+
+B must be fixed.
+
+
+# Issues
+
+## TODO Fix D {#td-231e1472-d32f-69d0-6c62-b924b70a5b7f}
+- TODO in 2022-01-16
+```
+
+
+
+## Installation
+
+```shell
+$ make
+$ make check
+# make install
+```
+
+You can pass `PREFIX` or `DESTDIR` to `make` if you'd like:
+
+```shell
+$ make PREFIX=$HOME/.local
+$ make check
+$ make install PREFIX=$HOME/.local
+```
+
+There are no dependencies or requirements, only standard tools such as
+POSIX sed, POSIX make, etc.
+
+
+## Documentation
+
+### Manuals
+
+The documentation is available via installed manpages or online.
+Start with
+[`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], [es][es4]), and see the rest
+afterwards:
+
+- [`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]): CLI usage
+ reference;
+- [`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]): `.tdrc` file
+ format reference;
+- [`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], [es][es4]): getting
+ started and tutorial for starting to use td;
+- [`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], [es][es5]): common HOWTOs
+ and usage recipes;
+- [`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6]): motivation and
+ explanation of why create this tool.
+
+[`td.1`]: https://euandreh.xyz/td/en/td.1.html
+[pt2]: https://euandreh.xyz/td/pt/td.1.html
+[fr2]: https://euandreh.xyz/td/fr/td.1.html
+[eo2]: https://euandreh.xyz/td/eo/td.1.html
+[es2]: https://euandreh.xyz/td/es/td.1.html
+[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html
+[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html
+[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html
+[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html
+[es3]: https://euandreh.xyz/td/es/tdrc.5.html
+[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html
+[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html
+[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html
+[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html
+[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html
+[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html
+[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html
+[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html
+[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html
+[es5]: https://euandreh.xyz/td/es/td.recipes.7.html
+[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html
+[pt6]: https://euandreh.xyz/td/pt/td.why.7.html
+[fr6]: https://euandreh.xyz/td/fr/td.why.7.html
+[eo6]: https://euandreh.xyz/td/eo/td.why.7.html
+[es6]: https://euandreh.xyz/td/es/td.why.7.html
+
+### Directory structure
+
+The directory structure of the repository is:
+- `aux/`: personal scripts and helpers I've vendored in to ensure the
+ repository is self contained, feel free to ignore it;
+- `doc/`: manpages, with their translated versions;
+- `po/`: gettext `.po` files for the translated languages and hunspell
+ dictionaries for spell checking;
+- `src/`: main source code for the project;
+- `tests/`: integration tests for the project.
+
+
+## Contributing
+
+Extra tools used for development are:
+- [ShellCheck] for validating scripts;
+- [po4a], [mdpo] and [gettext] for i18n and l10n support;
+- [pandoc] for generating the documentation HTML and website.
+
+[ShellCheck]: https://www.shellcheck.net/
+[po4a]: https://po4a.org/index.php.en
+[gettext]: https://www.gnu.org/software/gettext/
+[pandoc]: https://pandoc.org/
+[mdpo]: https://mdpo.readthedocs.io/en/master/
+
+For running the extra development-only checks, run:
+
+```shell
+$ make dev-check
+```
+
+and for generating the documentation HTML and website, run:
+
+```shell
+$ make public
+```
+
+Send contributions to the [mailing list] via
+[`git send-email`](https://git-send-email.io/).
+
+
+## Links
+
+- [homepage](https://euandreh.xyz/td/en/)
+- [source code](https://euandreh.xyz/td.git/)
+- [bug tracking](https://euandreh.xyz/td/TODOs.html)
+- [mailing list]
+- [CI logs](https://euandreh.xyz/td/ci.html)
+- [CHANGELOG](https://euandreh.xyz/td/en/CHANGELOG.html)
+
+[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D
+
+
+## Releases
+
+- [v0.1.0](https://euandreh.xyz/td.git/commit/?id=v0.1.0) [td-v0.1.0.tar.gz](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz) ([sig](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz.asc)) - 2021-06-13
+
+
+## License
+
+The code is licensed under
+[GNU Affero General Public License v3.0 or later][AGPL-3.0-or-later]
+(AGPL-3.0-or-later).
+
+[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING
diff --git a/TODOs.md b/TODOs.md
new file mode 100644
index 0000000..06bd99a
--- /dev/null
+++ b/TODOs.md
@@ -0,0 +1,76 @@
+# Tasks
+
+## TODO Implement linting rules {#td-d956bbb5-91d1-2056-ccdc-05dbd0f018d5}
+- TODO in 2022-01-16
+
+---
+
+- [ ] enforce no duplicate `#td-deadbeef-...` ids;
+- [ ] inconsistency between the latest state and the heading state;
+- [ ] order mismatch between entries and `TD_TYPES`;
+- [ ] date order of state;
+- [ ] duplicate type name.
+
+## DONE Create HTML pre-processor {#td-1986eade-226a-297d-c62e-05b2d6f13d6a}
+- DONE in 2022-01-17
+- TODO in 2022-01-16
+
+---
+
+Implement the `td -H` functionality, where `TODOs.md` files become CommonMark
+and HTML.
+
+## TODO Write documentation {#td-3f86f085-76da-022c-7dd4-0d2ebfdbc256}
+- TODO in 2022-01-16
+
+---
+
+Write manpages, `README.md` and `CHANGELOG.md`.
+
+## TODO More VCS hooks {#td-ee47565c-786a-bfcb-14b8-302e6478741a}
+- TODO in 2022-01-16
+
+---
+
+- [x] Git
+- [ ] Fossil
+- [ ] BitKeeper
+- [ ] Mercurial
+- [ ] Darcs
+- [ ] Pijul
+- [ ] Monotone
+- [ ] Arch
+- [ ] Bazaar
+
+## TODO Add tests {#td-cacdc2c8-b4b3-81b6-3ff8-62cf1beadb84}
+- TODO in 2022-01-16
+
+
+# Bugs
+
+## TODO New types get inserted in the beginning of the files instead of its correct position {#td-05580844-40db-0db6-b11e-9f041a08c0a7}
+- TODO in 2022-01-16
+
+
+# Improvements
+
+## TODO Web UI à la NetlifyCMS? {#td-feb0fd57-02fe-5fb6-31a4-d31116e40f42}
+- TODO in 2022-01-16
+
+
+# Questions
+
+
+# Decisions
+
+
+# Ideas
+
+
+# Proposals
+
+
+# Resources
+
+
+# Scratch
diff --git a/aux/80-columns.sh b/aux/80-columns.sh
new file mode 100755
index 0000000..ae4660e
--- /dev/null
+++ b/aux/80-columns.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -eu
+
+# shellcheck disable=2068
+for f in ${@:-$(cat -)}; do
+ if [ "$(file -i "$f" | cut -d' ' -f2 | cut -d/ -f1)" = 'text' ]; then
+ sed 's/\t/ /g' "$f" |
+ awk -v FNAME="$f" 'length > 80 {
+ printf "%s:%s:%s\n", FNAME, NR, $0
+ }'
+ fi
+done
diff --git a/aux/assert-shellcheck.sh b/aux/assert-shellcheck.sh
new file mode 100755
index 0000000..40fd364
--- /dev/null
+++ b/aux/assert-shellcheck.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+find . -name '*.sh' -print0 |
+ xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' |
+ xargs shellcheck
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
new file mode 100755
index 0000000..34233b7
--- /dev/null
+++ b/aux/ci/ci-build.sh
@@ -0,0 +1,60 @@
+#!/bin/sh
+set -eux
+
+PROJECT="$1"
+LOGS_DIR="$2"
+SHA="$3"
+FILENAME="$(date -Is)-$SHA.log"
+LOGFILE="$LOGS_DIR/$FILENAME"
+
+mkdtemp() {
+ name="$(echo 'mkstemp(template)' |
+ m4 -D template="${TMPDIR:-/tmp}/m4-tmpname.")"
+ rm -f "$name"
+ mkdir "$name"
+ echo "$name"
+}
+
+{
+ echo "Starting CI job at: $(date -Is)"
+
+ finish() {
+ STATUS="$?"
+ printf "\n\n>>> exit status was %s\n" "$STATUS"
+ echo "Finishing CI job at: $(date -Is)"
+ cd -
+ NOTE=$(cat <<EOF
+See CI logs with:
+ git notes --ref=refs/notes/ci-logs show $SHA
+ git notes --ref=refs/notes/ci-data show $SHA
+EOF
+)
+ git notes --ref=refs/notes/ci-data add -f -m "$STATUS $FILENAME"
+ git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE"
+ git notes append -m "$NOTE"
+
+ cd -
+ git fetch origin refs/notes/*:refs/notes/*
+ sh aux/ci/report.sh -n "$PROJECT" -o public
+ rsync -av public/ "/srv/http/$PROJECT/" --delete
+
+ printf '\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s\n>>>\n\n' \
+ "$STATUS"
+ }
+ trap finish EXIT
+
+ unset GIT_DIR
+ REMOTE="$PWD"
+ cd "$(mkdtemp)"
+ git clone "$REMOTE" .
+ git config --global user.email git@euandre.org
+ git config --global user.name 'EuAndreh CI'
+
+ if [ -e aux/with-container ]; then
+ RUNNER='sh aux/with-container'
+ else
+ RUNNER='sh -c'
+ fi
+
+ $RUNNER 'make clean public dev-check'
+} 2>&1 | tee "$LOGFILE"
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh
new file mode 100755
index 0000000..92bba73
--- /dev/null
+++ b/aux/ci/git-post-receive.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -eu
+
+for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do
+ opt="$(eval "echo \$GIT_PUSH_OPTION_$n")"
+ if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then
+ printf "\n'%s' option detected, not running ci-build.sh\n\n" \
+ "$opt"
+ exit 0
+ fi
+done
+
+# shellcheck disable=2034
+read -r _oldrev SHA _refname
+
+PROJECT="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix
+LOGS_DIR="/opt/ci/$PROJECT/logs"
+sh "/opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA" ||:
+
+echo 'To retrigger the build, run:'
+echo "cd /srv/http/$PROJECT.git/"
+echo "sh /opt/ci/$PROJECT/ci-build.sh" "$PROJECT" "$LOGS_DIR" "$SHA"
diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh
new file mode 100755
index 0000000..eaaa7bd
--- /dev/null
+++ b/aux/ci/git-pre-push.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -eux
+
+TLD="$(cat aux/tld.txt)"
+. aux/lib.sh
+
+PROJECT="$(basename "$PWD")"
+LOGS_DIR="/opt/ci/$PROJECT/logs"
+REMOTE_GIT_DIR="/srv/http/$PROJECT.git"
+
+DESCRIPTION="$(mkstemp)"
+if [ -f description ]
+then
+ cp description "$DESCRIPTION"
+else
+ git config euandreh.description > "$DESCRIPTION"
+fi
+
+scp "$DESCRIPTION" "$TLD:$REMOTE_GIT_DIR/description"
+ssh "$TLD" mkdir -p "$LOGS_DIR"
+scp aux/ci/ci-build.sh "$TLD:$(dirname "$LOGS_DIR")/ci-build.sh"
+scp aux/ci/git-post-receive.sh "$TLD:$REMOTE_GIT_DIR/hooks/post-receive"
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
new file mode 100755
index 0000000..e900e26
--- /dev/null
+++ b/aux/ci/report.sh
@@ -0,0 +1,109 @@
+#!/bin/sh
+set -eu
+
+TLD="$(cat aux/tld.txt)"
+. aux/lib.sh
+
+while getopts 'n:o:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ o)
+ OUTDIR="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+assert_arg "${OUTDIR:-}" '-o OUTDIR'
+
+PASS='✅'
+FAIL='❌'
+
+mkdir -p "$OUTDIR/ci-logs" "$OUTDIR/ci-data"
+
+OUT="$(mkstemp)"
+chmod 644 "$OUT"
+
+for c in $(git notes list | cut -d\ -f2); do
+ DATA="$(git notes --ref=refs/notes/ci-data show "$c")"
+ FILENAME="$(echo "$DATA" | cut -d\ -f2)"
+ echo "$DATA" > "$OUTDIR/ci-data/$FILENAME"
+ git notes --ref=refs/notes/ci-logs show "$c" \
+ > "$OUTDIR/ci-logs/$FILENAME"
+done
+
+{
+ cat <<EOF
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="description" content="CI logs for $PROJECT" />
+ <link rel="icon" type="image/svg+xml" href="favicon.svg" />
+ <title>$PROJECT - CI logs</title>
+
+EOF
+
+ cat aux/workflow/style.css
+
+ cat <<EOF
+
+ <style>
+ pre {
+ display: inline;
+ }
+ ol {
+ list-style-type: disc;
+ }
+ </style>
+ </head>
+ <body>
+ <main>
+ <h1>
+ CI logs for
+ <a href="https://$TLD/$PROJECT/en/">$PROJECT</a>
+ </h1>
+ <ol>
+EOF
+} > "$OUT"
+
+for f in $(find "$OUTDIR/ci-data/" -type f | LANG=C.UTF-8 sort -r); do
+ DATA="$(cat "$f")"
+ STATUS="$(echo "$DATA" | cut -d\ -f1)"
+ FILENAME="$(echo "$DATA" | cut -d\ -f2)"
+
+ if [ "$STATUS" = 0 ]; then
+ STATUS_MARKER="$PASS"
+ else
+ STATUS_MARKER="$FAIL"
+ fi
+
+ cat <<EOF >> "$OUT"
+ <li>
+ <a href="ci-logs/$FILENAME">$STATUS_MARKER <pre>$FILENAME</pre></a>
+ </li>
+EOF
+done
+
+cat <<EOF >> "$OUT"
+ </ol>
+ </main>
+ </body>
+</html>
+EOF
+
+mv "$OUT" "$OUTDIR/ci.html"
diff --git a/aux/containers/guix/manifest.scm b/aux/containers/guix/manifest.scm
new file mode 100644
index 0000000..7d07345
--- /dev/null
+++ b/aux/containers/guix/manifest.scm
@@ -0,0 +1,23 @@
+(specifications->manifest
+ (map symbol->string
+ '(bash
+ coreutils
+ findutils
+ diffutils
+ grep
+ sed
+ m4
+ git
+ gawk
+ make
+ graphviz
+ shellcheck
+ pandoc
+ gettext
+ po4a-text
+ mdpo-patched
+ hunspell
+ hunspell-dict-en-utf8
+ hunspell-dict-pt-utf8
+ hunspell-dict-fr-utf8
+ hunspell-dict-eo-utf8)))
diff --git a/aux/containers/guix/with-container.sh b/aux/containers/guix/with-container.sh
new file mode 100755
index 0000000..fcbb8b5
--- /dev/null
+++ b/aux/containers/guix/with-container.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -eu
+
+CHANNEL_REMOTE='https://euandreh.xyz/package-repository.git'
+CHANNEL_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/euandreh-guix-channel"
+
+if [ ! -d "$CHANNEL_DIR" ]; then
+ git clone "$CHANNEL_REMOTE" "$CHANNEL_DIR"
+fi
+
+git -C "$CHANNEL_DIR" pull
+
+ENV_CMD="guix environment -L $CHANNEL_DIR/src/ -m aux/containers/guix/manifest.scm"
+
+if [ -z "${1:-}" ]; then
+ $ENV_CMD
+else
+ $ENV_CMD --pure -C -- sh -c "$@"
+fi
diff --git a/aux/lib.sh b/aux/lib.sh
new file mode 100755
index 0000000..b47812d
--- /dev/null
+++ b/aux/lib.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+#
+# Generally, utilities that I expected to exist in POSIX, but don't.
+#
+
+uuid() {
+ # Taken from:
+ # https://serverfault.com/a/799198
+ od -xN20 /dev/urandom |
+ head -n1 |
+ awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
+}
+
+tmpname() {
+ echo 'mkstemp(template)' | m4 -D template="${TMPDIR:-/tmp}/m4-tmpname."
+}
+
+mkstemp() {
+ name="$(tmpname)"
+ touch "$name"
+ echo "$name"
+}
+
+mkdtemp() {
+ name="$(tmpname)"
+ rm -f "$name"
+ mkdir "$name"
+ echo "$name"
+}
diff --git a/aux/tld.txt b/aux/tld.txt
new file mode 100644
index 0000000..0cb8b8b
--- /dev/null
+++ b/aux/tld.txt
@@ -0,0 +1 @@
+euandreh.xyz
diff --git a/aux/with-container b/aux/with-container
new file mode 120000
index 0000000..b96cf67
--- /dev/null
+++ b/aux/with-container
@@ -0,0 +1 @@
+containers/guix/with-container.sh \ No newline at end of file
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
new file mode 100755
index 0000000..b7cbae1
--- /dev/null
+++ b/aux/workflow/TODOs.sh
@@ -0,0 +1,64 @@
+#!/bin/sh
+set -eu
+
+TLD="$(cat aux/tld.txt)"
+PROJECT_UC=
+while getopts 'n:N:m:o:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ N)
+ PROJECT_UC="$OPTARG"
+ ;;
+ m)
+ MAILING_LIST="$OPTARG"
+ ;;
+ o)
+ OUTDIR="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+assert_arg "${MAILING_LIST:-}" '-m MAILING_LIST'
+assert_arg "${OUTDIR:-}" '-o OUTDIR'
+
+if [ -z "${PROJECT_UC:-}" ]; then
+ PROJECT_UC="$PROJECT"
+fi
+
+
+cat aux/workflow/preamble.md TODOs.md |
+ td -H |
+ sed \
+ -e "s:@PROJECT_UC@:$PROJECT_UC:g" \
+ -e "s:@PROJECT@:$PROJECT:g" \
+ -e "s:@MAILING_LIST@:$MAILING_LIST:g" \
+ -e "s:@TLD@:$TLD:g" |
+ pandoc \
+ --toc \
+ --highlight-style pygments \
+ --toc-depth=2 \
+ -s \
+ --metadata title="$PROJECT_UC - TODOs" \
+ --metadata lang=en \
+ -r commonmark \
+ -w html \
+ -H aux/workflow/favicon.html \
+ -H aux/workflow/style.css |
+ sed \
+ -e 's:<a><a:<a:g' \
+ -e 's:</a></a>:</a>:g' \
+ > "$OUTDIR/TODOs.html"
diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh
new file mode 100755
index 0000000..c58a600
--- /dev/null
+++ b/aux/workflow/assert-changelog.sh
@@ -0,0 +1,66 @@
+#!/bin/sh
+set -eu
+
+TLD="$(cat aux/tld.txt)"
+PROJECT_UC=
+while getopts 'n:N:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ N)
+ PROJECT_UC="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+
+if [ -z "${PROJECT_UC:-}" ]; then
+ PROJECT_UC="$PROJECT"
+fi
+
+HOMEPAGE_LINK="Changelog for [$PROJECT_UC](https://$TLD/$PROJECT/en/)."
+
+if ! grep -qF "$HOMEPAGE_LINK" CHANGELOG.md; then
+ echo "Missing link to homepage in CHANGELOG.md:" >&2
+ echo "$HOMEPAGE_LINK"
+ exit 1
+fi
+
+assert() {
+ DATE="$1"
+ VVERSION="$2"
+ VERSION="${2#v}"
+ CHANGELOG_ENTRY="$(printf \
+ '# [%s](https://euandreh.xyz/%s.git/commit/?id=%s) - %s' \
+ "$VERSION" "$PROJECT" "$VVERSION" "$DATE")"
+ if ! grep -qF "$CHANGELOG_ENTRY" CHANGELOG.md; then
+ echo "Missing '$CHANGELOG_ENTRY' entry from CHANGELOG.md" >&2
+ exit 1
+ fi
+}
+
+if [ -e .git ]; then
+ for VVERSION in $(git tag); do
+ DATE="$(git log -1 --format=%cd --date=short "$VVERSION")"
+ assert "$DATE" "$VVERSION"
+ done
+fi
+
+# "$@" represents a list of tags to be also included in the verification.
+for VVERSION in "$@"; do
+ DATE="$(date '+%Y-%m-%d')"
+ assert "$DATE" "$VVERSION"
+done
diff --git a/aux/workflow/assert-readme.sh b/aux/workflow/assert-readme.sh
new file mode 100755
index 0000000..0a85221
--- /dev/null
+++ b/aux/workflow/assert-readme.sh
@@ -0,0 +1,108 @@
+#!/bin/sh
+set -eu
+
+if [ ! -e .git ]; then
+ exit
+fi
+
+TLD="$(cat aux/tld.txt)"
+. aux/lib.sh
+
+while getopts 'n:m:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ m)
+ MAILING_LIST="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+assert_arg "${MAILING_LIST:-}" '-m MAILING_LIST'
+
+EXPECTED="$(mkstemp)"
+cat <<EOF >> "$EXPECTED"
+
+For running the extra development-only checks, run:
+
+\`\`\`shell
+$ make dev-check
+\`\`\`
+
+and for generating the documentation HTML and website, run:
+
+\`\`\`shell
+$ make public
+\`\`\`
+
+Send contributions to the [mailing list] via
+[\`git send-email\`](https://git-send-email.io/).
+
+
+## Links
+
+- [homepage](https://$TLD/$PROJECT/en/)
+- [source code](https://euandreh.xyz/$PROJECT.git/)
+- [bug tracking](https://$TLD/$PROJECT/TODOs.html)
+- [mailing list]
+- [CI logs](https://$TLD/$PROJECT/ci.html)
+- [CHANGELOG](https://$TLD/$PROJECT/en/CHANGELOG.html)
+
+[mailing list]: https://lists.sr.ht/~euandreh/$MAILING_LIST?search=%5B$PROJECT%5D
+EOF
+
+RELEASES_LIST="$(mkstemp)"
+add_release() {
+ DATE="$1"
+ VVERSION="$2"
+ echo "- [$VVERSION](https://euandreh.xyz/$PROJECT.git/commit/?id=$VVERSION) [$PROJECT-$VVERSION.tar.gz](https://euandreh.xyz/$PROJECT.git/snapshot/$PROJECT-$VVERSION.tar.gz) ([sig](https://euandreh.xyz/$PROJECT.git/snapshot/$PROJECT-$VVERSION.tar.gz.asc)) - $DATE" >> "$RELEASES_LIST"
+}
+
+for VVERSION in $(git tag); do
+ DATE="$(git log -1 --format=%cd --date=short "$VVERSION")"
+ add_release "$DATE" "$VVERSION"
+done
+
+# "$@" represents a list of tags to be also included in the verification.
+for VVERSION in "$@"; do
+ if ! git tag | grep -qF "$VVERSION"; then
+ DATE="$(date '+%Y-%m-%d')"
+ add_release "$DATE" "$VVERSION"
+ fi
+done
+
+if [ -s "$RELEASES_LIST" ]; then
+ printf '\n\n## Releases\n\n' >> "$EXPECTED"
+ sort -r "$RELEASES_LIST" >> "$EXPECTED"
+fi
+
+cat <<EOF >> "$EXPECTED"
+
+
+## License
+
+The code is licensed under
+[GNU Affero General Public License v3.0 or later][AGPL-3.0-or-later]
+(AGPL-3.0-or-later).
+
+[AGPL-3.0-or-later]: https://euandreh.xyz/$PROJECT.git/tree/COPYING
+EOF
+
+if ! tail -n "$(wc -l < "$EXPECTED")" README.md | diff - "$EXPECTED"; then
+ echo 'Wrong metadata at the end of README.md file'
+ echo "See expected content at: $EXPECTED"
+ exit 1
+fi
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh
new file mode 100755
index 0000000..bc4907d
--- /dev/null
+++ b/aux/workflow/assert-todos.sh
@@ -0,0 +1,58 @@
+#!/bin/sh
+set -eu
+
+if [ -e .git ] && git grep FIXME | grep -v '^TODOs.md' |
+ grep -v '^aux/workflow/assert-todos.sh'; then
+ echo "Found dangling FIXME markers on the project."
+ echo "You should write them down properly on TODOs.md."
+ exit 1
+fi
+
+awk -F'{#' '
+BEGIN {
+ exitstatus = 0
+ h2flag = 0
+ h2status = ""
+ prevline = ""
+ idx = 0
+ delete ids[0]
+}
+h2flag == 1 {
+ split($0, l, " ")
+ timelinestatus = l[2]
+ if (h2status != timelinestatus) {
+ print "h2/timeline status mismatch for line " NR-1
+ print prevline
+ print $0
+ exitstatus = 1
+ }
+ h2status = ""
+ h2flag = 0
+}
+
+/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE|WONTFIX)/ {
+ if (match($0, / \{#.*?\}.*$/) == 0) {
+ print "Missing ID for line " NR ":\n" $0
+ exitstatus = 1
+ }
+ id_with_prefix = substr($2, 0, length($2) - 1)
+ match(id_with_prefix, /^\w+-/)
+ id = substr(id_with_prefix, RLENGTH + 1)
+ if (id in arr) {
+ print "Duplicate ID: " id
+ exitstatus = 1
+ } else {
+ arr[id] = 1
+ }
+
+ split($0, l, " ")
+ h2status = l[2]
+ h2flag = 1
+ prevline = $0
+}
+
+
+/^# Scratch$/ {
+ exit exitstatus
+}
+' TODOs.md
diff --git a/aux/workflow/commonmark.sh b/aux/workflow/commonmark.sh
new file mode 100755
index 0000000..088d447
--- /dev/null
+++ b/aux/workflow/commonmark.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+set -eu
+
+while getopts 'N:t:l:H:' flag; do
+ case "$flag" in
+ N)
+ PROJECT_UC="$OPTARG"
+ ;;
+ t)
+ TITLE="$OPTARG"
+ ;;
+ l)
+ THE_LANG="$OPTARG"
+ ;;
+ H)
+ ALTERNATES="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT_UC:-}" '-N PROJECT_UC'
+assert_arg "${TITLE:-}" '-t TITLE'
+assert_arg "${THE_LANG:-}" '-l THE_LANG'
+assert_arg "${ALTERNATES:-}" '-H ALTERNATES'
+
+pandoc \
+ --toc \
+ --highlight-style pygments \
+ --toc-depth=2 \
+ -s \
+ --metadata title="$PROJECT_UC - $TITLE" \
+ --metadata "lang=$THE_LANG" \
+ -r commonmark \
+ -w html \
+ -H aux/workflow/favicon.html \
+ -H aux/workflow/style.css \
+ -H "$ALTERNATES"
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh
new file mode 100755
index 0000000..48a9d57
--- /dev/null
+++ b/aux/workflow/dist.sh
@@ -0,0 +1,112 @@
+#!/bin/sh
+set -eu
+
+PROJECT_UC=
+while getopts 'd:V:n:N:m:' flag; do
+ case "$flag" in
+ d)
+ DATE="$OPTARG"
+ ;;
+ V)
+ VVERSION="v$OPTARG"
+ ;;
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ N)
+ PROJECT_UC="$OPTARG"
+ ;;
+ m)
+ MAILING_LIST="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${DATE:-}" '-d DATE'
+assert_arg "${VVERSION:-}" '-V VERSION'
+assert_arg "${PROJECT:-}" '-n PROJECT'
+assert_arg "${MAILING_LIST:-}" '-m MAILING_LIST'
+
+if [ -z "${PROJECT_UC:-}" ]; then
+ PROJECT_UC="$PROJECT"
+fi
+
+
+if [ "$(git rev-parse --abbrev-ref HEAD)" != 'main' ]; then
+ echo 'Not on branch "main".' >&2
+ exit 1
+fi
+
+if git show "$VVERSION" 1>/dev/null 2>/dev/null; then
+ echo "Version '$VVERSION' already exists." >&2
+ exit 1
+fi
+
+if [ "v$(awk '/^VERSION *=/{print $3; exit}' Makefile)" != "$VVERSION" ]; then
+ echo "Version '$VVERSION' mismatch with \$(VERSION) in Makefile." >&2
+ echo 'Make sure to invoke this script with "make dist".' >&2
+ exit 1
+fi
+
+if ! printf '%s\n%s\n' "$(git tag)" "$VVERSION" | sort -nct. -k1 -k2 -k3; then
+ echo 'New tag is not bigger than existing ones.' >&2
+ exit 1
+fi
+
+if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then
+ echo "Date '$DATE' is not up-to-date." >&2
+ exit 1
+fi
+
+if [ "$(awk '/^DATE *=/{print $3; exit}' Makefile)" != "$DATE" ]; then
+ echo "Date '$DATE' mismatch with \$(DATE) in Makefile." >&2
+ echo 'Make sure to invoke this script with "make dist".' >&2
+ exit 1
+fi
+
+if [ "Release $VVERSION" != "$(git log --format=%B -1 HEAD | head -n1)" ]; then
+ echo "Commit message isn't 'Release $VVERSION'." >&2
+ exit 1
+fi
+
+make clean
+make dev-check EXTRA_VERSION="$VVERSION"
+
+if ! (git diff --quiet && git diff --quiet --staged); then
+ echo 'Dirty repository.'
+ exit 1
+fi
+
+
+git tag "$VVERSION"
+sh aux/workflow/sign-tarballs.sh -n "$PROJECT"
+
+
+printf 'Publish version? [Y/n]: ' >&2
+read -r publish
+
+if [ "$publish" = 'n' ]; then
+ cat <<EOF >&2
+Now push the tag and the signature before pushing the commit:
+
+git push origin refs/notes/signatures/tar.gz -o skip-ci --no-verify
+git push --tags -o skip-ci --no-verify
+git push
+
+EOF
+else
+ git push origin refs/notes/signatures/tar.gz -o skip-ci --no-verify
+ git push --tags -o skip-ci --no-verify
+ git push
+fi
diff --git a/aux/workflow/favicon.html b/aux/workflow/favicon.html
new file mode 100644
index 0000000..8f9327c
--- /dev/null
+++ b/aux/workflow/favicon.html
@@ -0,0 +1 @@
+<link rel="icon" type="image/svg+xml" href="favicon.svg" />
diff --git a/aux/workflow/favicon.svg b/aux/workflow/favicon.svg
new file mode 100644
index 0000000..ce566b2
--- /dev/null
+++ b/aux/workflow/favicon.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
+ <path d="M 0 8 L 1 8 L 1 9 L 0 9 L 0 8 Z" />
+ <path d="M 0 13 L 1 13 L 1 14 L 0 14 L 0 13 Z" />
+ <path d="M 1 8 L 2 8 L 2 9 L 1 9 L 1 8 Z" />
+ <path d="M 1 13 L 2 13 L 2 14 L 1 14 L 1 13 Z" />
+ <path d="M 2 8 L 3 8 L 3 9 L 2 9 L 2 8 Z" />
+ <path d="M 2 13 L 3 13 L 3 14 L 2 14 L 2 13 Z" />
+ <path d="M 3 8 L 4 8 L 4 9 L 3 9 L 3 8 Z" />
+ <path d="M 3 13 L 4 13 L 4 14 L 3 14 L 3 13 Z" />
+ <path d="M 4 7 L 5 7 L 5 8 L 4 8 L 4 7 Z" />
+ <path d="M 4 8 L 5 8 L 5 9 L 4 9 L 4 8 Z" />
+ <path d="M 4 13 L 5 13 L 5 14 L 4 14 L 4 13 Z" />
+ <path d="M 5 6 L 6 6 L 6 7 L 5 7 L 5 6 Z" />
+ <path d="M 5 7 L 6 7 L 6 8 L 5 8 L 5 7 Z" />
+ <path d="M 5 13 L 6 13 L 6 14 L 5 14 L 5 13 Z" />
+ <path d="M 6 5 L 7 5 L 7 6 L 6 6 L 6 5 Z" />
+ <path d="M 6 6 L 7 6 L 7 7 L 6 7 L 6 6 Z" />
+ <path d="M 6 14 L 7 14 L 7 15 L 6 15 L 6 14 Z" />
+ <path d="M 7 1 L 8 1 L 8 2 L 7 2 L 7 1 Z" />
+ <path d="M 7 14 L 8 14 L 8 15 L 7 15 L 7 14 Z" />
+ <path d="M 7 15 L 8 15 L 8 16 L 7 16 L 7 15 Z" />
+ <path d="M 7 2 L 8 2 L 8 3 L 7 3 L 7 2 Z" />
+ <path d="M 7 3 L 8 3 L 8 4 L 7 4 L 7 3 Z" />
+ <path d="M 7 4 L 8 4 L 8 5 L 7 5 L 7 4 Z" />
+ <path d="M 7 5 L 8 5 L 8 6 L 7 6 L 7 5 Z" />
+ <path d="M 8 1 L 9 1 L 9 2 L 8 2 L 8 1 Z" />
+ <path d="M 8 15 L 9 15 L 9 16 L 8 16 L 8 15 Z" />
+ <path d="M 9 1 L 10 1 L 10 2 L 9 2 L 9 1 Z" />
+ <path d="M 9 2 L 10 2 L 10 3 L 9 3 L 9 2 Z" />
+ <path d="M 9 6 L 10 6 L 10 7 L 9 7 L 9 6 Z" />
+ <path d="M 9 15 L 10 15 L 10 16 L 9 16 L 9 15 Z" />
+ <path d="M 10 2 L 11 2 L 11 3 L 10 3 L 10 2 Z" />
+ <path d="M 10 3 L 11 3 L 11 4 L 10 4 L 10 3 Z" />
+ <path d="M 10 4 L 11 4 L 11 5 L 10 5 L 10 4 Z" />
+ <path d="M 10 5 L 11 5 L 11 6 L 10 6 L 10 5 Z" />
+ <path d="M 10 6 L 11 6 L 11 7 L 10 7 L 10 6 Z" />
+ <path d="M 11 6 L 12 6 L 12 7 L 11 7 L 11 6 Z" />
+ <path d="M 11 8 L 12 8 L 12 9 L 11 9 L 11 8 Z" />
+ <path d="M 10 15 L 11 15 L 11 16 L 10 16 L 10 15 Z" />
+ <path d="M 11 10 L 12 10 L 12 11 L 11 11 L 11 10 Z" />
+ <path d="M 11 12 L 12 12 L 12 13 L 11 13 L 11 12 Z" />
+ <path d="M 11 14 L 12 14 L 12 15 L 11 15 L 11 14 Z" />
+ <path d="M 11 15 L 12 15 L 12 16 L 11 16 L 11 15 Z" />
+ <path d="M 12 6 L 13 6 L 13 7 L 12 7 L 12 6 Z" />
+ <path d="M 12 8 L 13 8 L 13 9 L 12 9 L 12 8 Z" />
+ <path d="M 12 10 L 13 10 L 13 11 L 12 11 L 12 10 Z" />
+ <path d="M 12 12 L 13 12 L 13 13 L 12 13 L 12 12 Z" />
+ <path d="M 12 14 L 13 14 L 13 15 L 12 15 L 12 14 Z" />
+ <path d="M 13 6 L 14 6 L 14 7 L 13 7 L 13 6 Z" />
+ <path d="M 13 8 L 14 8 L 14 9 L 13 9 L 13 8 Z" />
+ <path d="M 13 10 L 14 10 L 14 11 L 13 11 L 13 10 Z" />
+ <path d="M 13 12 L 14 12 L 14 13 L 13 13 L 13 12 Z" />
+ <path d="M 13 13 L 14 13 L 14 14 L 13 14 L 13 13 Z" />
+ <path d="M 13 14 L 14 14 L 14 15 L 13 15 L 13 14 Z" />
+ <path d="M 14 7 L 15 7 L 15 8 L 14 8 L 14 7 Z" />
+ <path d="M 14 8 L 15 8 L 15 9 L 14 9 L 14 8 Z" />
+ <path d="M 14 9 L 15 9 L 15 10 L 14 10 L 14 9 Z" />
+ <path d="M 14 10 L 15 10 L 15 11 L 14 11 L 14 10 Z" />
+ <path d="M 14 11 L 15 11 L 15 12 L 14 12 L 14 11 Z" />
+ <path d="M 14 12 L 15 12 L 15 13 L 14 13 L 14 12 Z" />
+</svg>
diff --git a/aux/workflow/l10n.sh b/aux/workflow/l10n.sh
new file mode 100755
index 0000000..cb132a3
--- /dev/null
+++ b/aux/workflow/l10n.sh
@@ -0,0 +1,109 @@
+#!/bin/sh
+set -eu
+
+LANGS=
+MAX_JOBS=64
+while getopts 'l:L:j:' flag; do
+ case "$flag" in
+ l)
+ LANGS="$OPTARG"
+ ;;
+ L)
+ CONTRIBLANGS="$OPTARG"
+ ;;
+ j)
+ MAX_JOBS="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${LANGS:-}" '-l LANGS'
+
+PARALLEL_N=0
+parallel_run() {
+ {
+ "$@"
+ } &
+ PARALLEL_N=$((PARALLEL_N + 1))
+ if [ "$PARALLEL_N" = "$MAX_JOBS" ]; then
+ wait
+ PARALLEL_N=0
+ fi
+}
+
+po_run() {
+ from_f="$1"
+ lang="$2"
+ to_f="$(echo "$from_f" | sed "s/en\./$lang./")"
+ printf 'Generating %s...\n' "$to_f" >&2
+ pofile="po/LC_MESSAGES/$from_f/$lang.po"
+ mkdir -p "$(dirname "$pofile")"
+
+ case "$from_f" in
+ *.en.[1-9].in)
+ po4a-updatepo -f man -m "$from_f" -p "$pofile"
+ po4a-translate -f man -m "$from_f" \
+ -p "$pofile" -l "$to_f" -k 0 -v >&2
+ ;;
+ *.en.html)
+ po4a-updatepo -f xhtml -m "$from_f" -p "$pofile"
+ po4a-translate -f xhtml -m "$from_f" \
+ -p "$pofile" -l "$to_f" -k 0 -v >&2
+ ;;
+ *.en.md)
+ touch "$pofile"
+ md2po --include-codeblocks --quiet --save \
+ --po-filepath "$pofile" < "$from_f"
+ po2md --pofiles "$pofile" --save "$to_f" \
+ --quiet --wrapwidth 999 < "$from_f"
+ ;;
+ *.en.msg|*.en.txt)
+ po4a-updatepo -f text -m "$from_f" -p "$pofile"
+ po4a-translate -f text -m "$from_f" \
+ -p "$pofile" -l "$to_f" -k 0 -v >&2
+ ;;
+ *)
+ echo "Unsupported file format: $from_f" >&2
+ exit 2
+ ;;
+ esac
+}
+
+for from_f in "$@"; do
+ for lang in $LANGS ${CONTRIBLANGS:-}; do
+ parallel_run po_run "$from_f" "$lang"
+ done
+done
+
+EXIT_CODE=0
+
+end="\033[0m"
+yellowb="\033[1;33m"
+for lang in $LANGS; do
+ # shellcheck disable=2044
+ for pofile in $(find po/ -type f -name "$lang.po"); do
+ if ! LANG=POSIX msgfmt --statistics "$pofile" 2>&1 |
+ grep untranslated; then
+ continue
+ fi
+ # shellcheck disable=2059
+ printf "\n ${yellowb}WARNING${end}!" >&2
+ printf "\n Missing translations for %s\n\n" "$pofile" >&2
+ EXIT_CODE=1
+ done
+done
+
+if [ -n "${ASSERT_NO_MISSING_TRANSLATIONS:-}" ]; then
+ exit "$EXIT_CODE"
+fi
diff --git a/aux/workflow/preamble.md b/aux/workflow/preamble.md
new file mode 100644
index 0000000..a699d04
--- /dev/null
+++ b/aux/workflow/preamble.md
@@ -0,0 +1,16 @@
+# About
+
+TODOs for [@PROJECT_UC@](https://@TLD@/@PROJECT@/en/).
+
+Register a new one at
+<span id="new">[~euandreh/@MAILING_LIST@@lists.sr.ht](mailto:~euandreh/@MAILING_LIST@@lists.sr.ht?subject=%5B@PROJECT@%5D%20BUG%20or%20TASK%3A%20%3Cdescription%3E)</span>
+and see [existing discussions](https://lists.sr.ht/~euandreh/@MAILING_LIST@?search=%5B@PROJECT@%5D).
+
+*Você também pode escrever em português*.
+
+*Vous pouvez aussi écrire en français*.
+
+*Vi povas ankaŭ skribi esperante*.
+
+*Tu también puedes escribir en español*.
+
diff --git a/aux/workflow/public.sh b/aux/workflow/public.sh
new file mode 100755
index 0000000..2c8c36a
--- /dev/null
+++ b/aux/workflow/public.sh
@@ -0,0 +1,83 @@
+#!/bin/sh
+set -eu
+
+TLD="$(cat aux/tld.txt)"
+. aux/lib.sh
+
+PROJECT_UC=
+while getopts 'n:N:m:o:l:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ N)
+ PROJECT_UC="$OPTARG"
+ ;;
+ m)
+ MAILING_LIST="$OPTARG"
+ ;;
+ o)
+ OUTDIR="$OPTARG"
+ ;;
+ l)
+ LANGS="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+assert_arg "${MAILING_LIST:-}" '-m MAILING_LIST'
+assert_arg "${OUTDIR:-}" '-o OUTDIR'
+assert_arg "${LANGS:-}" '-l LANGS'
+PROJECT_UC="${PROJECT_UC:-$PROJECT}"
+
+
+alternates_for() {
+ ALTERNATES="$(mkstemp)"
+ lang="$1"
+ OUTNAME="$2"
+ for l in $LANGS; do
+ if [ "$l" = "$lang" ]; then
+ continue
+ fi
+ cat <<EOF >> "$ALTERNATES"
+<link rel="alternate" href="https://$TLD/$PROJECT/$l/$OUTNAME" hreflang="$l" />
+EOF
+ done
+ echo "$ALTERNATES"
+}
+
+
+mkdir -p "$OUTDIR"
+
+sh aux/workflow/TODOs.sh \
+ -N "$PROJECT_UC" -n "$PROJECT" -m "$MAILING_LIST" -o "$OUTDIR"
+
+for lang in $LANGS; do
+ mkdir -p "$OUTDIR/$lang/"
+ sh aux/workflow/commonmark.sh \
+ -N "$PROJECT" -l "$lang" -t README \
+ -H "$(alternates_for "$lang" '')" \
+ < "README.$lang.md" > "$OUTDIR/$lang/index.html"
+ sh aux/workflow/commonmark.sh \
+ -N "$PROJECT" -l "$lang" -t CHANGELOG \
+ -H "$(alternates_for "$lang" 'CHANGELOG.html')" \
+ < "CHANGELOG.$lang.md" > "$OUTDIR/$lang/CHANGELOG.html"
+ ln -fs ../favicon.svg "$OUTDIR/$lang"
+done
+
+ln -fs en/index.html "$OUTDIR/index.html"
+cp aux/workflow/favicon.svg "$OUTDIR"
+
+sh aux/ci/report.sh -n "$PROJECT" -o "$OUTDIR"
diff --git a/aux/workflow/sign-tarballs.sh b/aux/workflow/sign-tarballs.sh
new file mode 100755
index 0000000..3ab2bb8
--- /dev/null
+++ b/aux/workflow/sign-tarballs.sh
@@ -0,0 +1,38 @@
+#!/bin/sh
+set -eu
+
+while getopts 'n:' flag; do
+ case "$flag" in
+ n)
+ PROJECT="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND -1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${PROJECT:-}" '-n PROJECT'
+
+
+SIGNATURES="$(git notes --ref=refs/notes/signatures/tar.gz list | cut -d\ -f2)"
+for tag in $(git tag); do
+ COMMIT="$(git rev-list -n1 "$tag")"
+ if echo "$SIGNATURES" | grep -qF "$COMMIT"; then
+ continue
+ fi
+ echo "Adding missing signature to $tag" >&2
+ git notes --ref=refs/notes/signatures/tar.gz add -C "$(
+ git archive --format tar.gz --prefix "$PROJECT-$tag/" "$tag" |
+ gpg --output - --armor --detach-sign |
+ git hash-object -w --stdin
+ )" "$tag"
+done
diff --git a/aux/workflow/style.css b/aux/workflow/style.css
new file mode 100644
index 0000000..56e4712
--- /dev/null
+++ b/aux/workflow/style.css
@@ -0,0 +1,62 @@
+<style>
+ @media(prefers-color-scheme: dark) {
+ :root {
+ color: white;
+ background-color: black;
+ }
+
+ a {
+ color: hsl(211, 100%, 60%);
+ }
+
+ a:visited {
+ color: hsl(242, 100%, 80%);
+ }
+ }
+
+ body {
+ max-width: 800px;
+ margin: 0 auto 0 auto;
+ }
+
+ hr {
+ background-color: #ccc;
+ }
+
+ .header-anchor {
+ opacity: 0.5;
+ }
+
+ .tag {
+ font-family: monospace;
+ font-size: 70%;
+ background-color: lightgray;
+ color: black;
+ padding: 3px;
+ border-radius: 5px;
+ }
+
+ .TODO {
+ color: brown;
+ }
+
+ .DOING {
+ color: yellowgreen;
+ }
+
+ .WAITING, .MEETING {
+ color: orange;
+ }
+
+ .INACTIVE {
+ color: gray;
+ }
+
+ .NEXT {
+ color: red;
+ }
+
+ .CANCELLED, .DONE, .WONTFIX {
+ color: green;
+ }
+</style>
diff --git a/description b/description
new file mode 100644
index 0000000..04cdf5d
--- /dev/null
+++ b/description
@@ -0,0 +1 @@
+Minimalistic bug tracker CLI
diff --git a/doc/manpages.sh b/doc/manpages.sh
new file mode 100755
index 0000000..983a83a
--- /dev/null
+++ b/doc/manpages.sh
@@ -0,0 +1,76 @@
+#!/bin/sh
+set -eu
+
+while getopts 'iuHo:p:' flag; do
+ case "$flag" in
+ i)
+ ACTION=install
+ ;;
+ u)
+ ACTION=uninstall
+ ;;
+ H)
+ ACTION=html
+ ;;
+ o)
+ OUTDIR="$OPTARG"
+ ;;
+ p)
+ MANPREFIX="$OPTARG"
+ ;;
+ *)
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+assert_arg() {
+ if [ -z "$1" ]; then
+ echo "Missing $2" >&2
+ exit 2
+ fi
+}
+
+assert_arg "${ACTION:-}" '-[iuH] for choosing action'
+
+for f in "$@"; do
+ l="$(echo "$f" | awk -F. '{print $(NF-1)}')"
+ n="$(echo "$f" | awk -F. '{print $NF}')"
+ case "$ACTION" in
+ html)
+ assert_arg "${OUTDIR:-}" '-o OUTDIR'
+ to_name="$(basename "${f%."$l"."$n"}.$n.html")"
+ mkdir -p "$OUTDIR/$l"
+ pandoc \
+ --toc \
+ --toc-depth=2 \
+ -s \
+ -r man \
+ -w html \
+ -H aux/workflow/favicon.html \
+ -H aux/workflow/style.css \
+ --metadata "lang=$l" \
+ < "$f" > "$OUTDIR/$l/$to_name"
+ ;;
+ install)
+ assert_arg "${MANPREFIX:-}" '-p MANPREFIX'
+ to_name="$(basename "${f%."$l"."$n"}.$n")"
+ mkdir -p "$MANPREFIX/$l/man$n" "$MANPREFIX/man$n"
+ cp "$f" "$MANPREFIX/$l/man$n/$to_name"
+ ln -fs "../en/man$n/$to_name" \
+ "$MANPREFIX/man$n/$to_name"
+ ;;
+ uninstall)
+ assert_arg "${MANPREFIX:-}" '-p MANPREFIX'
+ to_name="$(basename "${f%."$l"."$n"}.$n")"
+ rm -f \
+ "$MANPREFIX/$l/man$n/$to_name" \
+ "$MANPREFIX/man$n/$to_name"
+ ;;
+ *)
+ echo "Bad ACTION: $ACTION"
+ exit 1
+ ;;
+ esac
+done
diff --git a/doc/td.en.1.in b/doc/td.en.1.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.en.1.in
diff --git a/doc/td.en.5.in b/doc/td.en.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.en.5.in
diff --git a/doc/td.eo.1.in b/doc/td.eo.1.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.eo.1.in
diff --git a/doc/td.eo.5.in b/doc/td.eo.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.eo.5.in
diff --git a/doc/td.es.1.in b/doc/td.es.1.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.es.1.in
diff --git a/doc/td.fr.1.in b/doc/td.fr.1.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.fr.1.in
diff --git a/doc/td.fr.5.in b/doc/td.fr.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.fr.5.in
diff --git a/doc/td.pt.1.in b/doc/td.pt.1.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.pt.1.in
diff --git a/doc/td.pt.5.in b/doc/td.pt.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.pt.5.in
diff --git a/doc/td.recipes.en.5.in b/doc/td.recipes.en.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.en.5.in
diff --git a/doc/td.recipes.en.7.in b/doc/td.recipes.en.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.en.7.in
diff --git a/doc/td.recipes.eo.5.in b/doc/td.recipes.eo.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.eo.5.in
diff --git a/doc/td.recipes.eo.7.in b/doc/td.recipes.eo.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.eo.7.in
diff --git a/doc/td.recipes.es.7.in b/doc/td.recipes.es.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.es.7.in
diff --git a/doc/td.recipes.fr.5.in b/doc/td.recipes.fr.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.fr.5.in
diff --git a/doc/td.recipes.fr.7.in b/doc/td.recipes.fr.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.fr.7.in
diff --git a/doc/td.recipes.pt.5.in b/doc/td.recipes.pt.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.pt.5.in
diff --git a/doc/td.recipes.pt.7.in b/doc/td.recipes.pt.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.recipes.pt.7.in
diff --git a/doc/td.tutorial.en.5.in b/doc/td.tutorial.en.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.en.5.in
diff --git a/doc/td.tutorial.en.7.in b/doc/td.tutorial.en.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.en.7.in
diff --git a/doc/td.tutorial.eo.5.in b/doc/td.tutorial.eo.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.eo.5.in
diff --git a/doc/td.tutorial.eo.7.in b/doc/td.tutorial.eo.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.eo.7.in
diff --git a/doc/td.tutorial.es.7.in b/doc/td.tutorial.es.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.es.7.in
diff --git a/doc/td.tutorial.fr.5.in b/doc/td.tutorial.fr.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.fr.5.in
diff --git a/doc/td.tutorial.fr.7.in b/doc/td.tutorial.fr.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.fr.7.in
diff --git a/doc/td.tutorial.pt.5.in b/doc/td.tutorial.pt.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.pt.5.in
diff --git a/doc/td.tutorial.pt.7.in b/doc/td.tutorial.pt.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.tutorial.pt.7.in
diff --git a/doc/td.why.en.5.in b/doc/td.why.en.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.en.5.in
diff --git a/doc/td.why.en.7.in b/doc/td.why.en.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.en.7.in
diff --git a/doc/td.why.eo.5.in b/doc/td.why.eo.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.eo.5.in
diff --git a/doc/td.why.eo.7.in b/doc/td.why.eo.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.eo.7.in
diff --git a/doc/td.why.es.7.in b/doc/td.why.es.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.es.7.in
diff --git a/doc/td.why.fr.5.in b/doc/td.why.fr.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.fr.5.in
diff --git a/doc/td.why.fr.7.in b/doc/td.why.fr.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.fr.7.in
diff --git a/doc/td.why.pt.5.in b/doc/td.why.pt.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.pt.5.in
diff --git a/doc/td.why.pt.7.in b/doc/td.why.pt.7.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/td.why.pt.7.in
diff --git a/doc/tdrc.en.5.in b/doc/tdrc.en.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/tdrc.en.5.in
diff --git a/doc/tdrc.eo.5.in b/doc/tdrc.eo.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/tdrc.eo.5.in
diff --git a/doc/tdrc.es.5.in b/doc/tdrc.es.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/tdrc.es.5.in
diff --git a/doc/tdrc.fr.5.in b/doc/tdrc.fr.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/tdrc.fr.5.in
diff --git a/doc/tdrc.pt.5.in b/doc/tdrc.pt.5.in
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/tdrc.pt.5.in
diff --git a/long-description b/long-description
new file mode 100644
index 0000000..74b605f
--- /dev/null
+++ b/long-description
@@ -0,0 +1,4 @@
+Create and maintain a TODOs.md files as a bug database.
+
+It is a tool for distributed, offline issue tracking, reified as a simple text
+file in the repository.
diff --git a/po/LC_MESSAGES/CHANGELOG.en.md/eo.po b/po/LC_MESSAGES/CHANGELOG.en.md/eo.po
new file mode 100644
index 0000000..dc3d224
--- /dev/null
+++ b/po/LC_MESSAGES/CHANGELOG.en.md/eo.po
@@ -0,0 +1,40 @@
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.0.1\n"
+
+msgid "Changelog for [td](https://euandreh.xyz/td/en/)."
+msgstr "Ŝanĝlisto (changelog) por [td](https://euandreh.xyz/td/eo/)."
+
+msgid "[pt][pt] | [fr][fr] | [eo][eo] | [es][es]"
+msgstr "[en][en] | [pt][pt] | [fr][fr] | [es][es]"
+
+msgid "Unreleased"
+msgstr "Neeldonita"
+
+msgid "Added"
+msgstr "Aldonita"
+
+msgid "Initial public release."
+msgstr "Unua eldono publika."
+
+msgid "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+msgstr "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+
+msgid "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+msgstr "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+
+msgid "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+msgstr "[en]: https://euandreh.xyz/td/en/CHANGELOG.html"
+
+msgid "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
+msgstr "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
diff --git a/po/LC_MESSAGES/CHANGELOG.en.md/es.po b/po/LC_MESSAGES/CHANGELOG.en.md/es.po
new file mode 100644
index 0000000..6755f2d
--- /dev/null
+++ b/po/LC_MESSAGES/CHANGELOG.en.md/es.po
@@ -0,0 +1,41 @@
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.0.1\n"
+
+msgid "Changelog for [td](https://euandreh.xyz/td/en/)."
+msgstr ""
+"Registro de cambios (changelog) para [td](https://euandreh.xyz/td/es/)."
+
+msgid "[pt][pt] | [fr][fr] | [eo][eo] | [es][es]"
+msgstr "[en][en] | [pt][pt] | [fr][fr] | [eo][eo]"
+
+msgid "Unreleased"
+msgstr "No lançado"
+
+msgid "Added"
+msgstr "Agregado"
+
+msgid "Initial public release."
+msgstr "Lanzamiento público inicial."
+
+msgid "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+msgstr "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+
+msgid "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+msgstr "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+
+msgid "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+msgstr "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+
+msgid "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
+msgstr "[en]: https://euandreh.xyz/td/en/CHANGELOG.html"
diff --git a/po/LC_MESSAGES/CHANGELOG.en.md/fr.po b/po/LC_MESSAGES/CHANGELOG.en.md/fr.po
new file mode 100644
index 0000000..129ca8e
--- /dev/null
+++ b/po/LC_MESSAGES/CHANGELOG.en.md/fr.po
@@ -0,0 +1,41 @@
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.0.1\n"
+
+msgid "Changelog for [td](https://euandreh.xyz/td/en/)."
+msgstr ""
+"Journal de modifications (changelog) pour [td](https://euandreh.xyz/td/fr/)."
+
+msgid "[pt][pt] | [fr][fr] | [eo][eo] | [es][es]"
+msgstr "[en][en] | [pt][pt] | [eo][eo] | [es][es]"
+
+msgid "Unreleased"
+msgstr "Non publié"
+
+msgid "Added"
+msgstr "Ajouté"
+
+msgid "Initial public release."
+msgstr "Première version publique."
+
+msgid "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+msgstr "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+
+msgid "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+msgstr "[en]: https://euandreh.xyz/td/en/CHANGELOG.html"
+
+msgid "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+msgstr "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+
+msgid "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
+msgstr "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
diff --git a/po/LC_MESSAGES/CHANGELOG.en.md/pt.po b/po/LC_MESSAGES/CHANGELOG.en.md/pt.po
new file mode 100644
index 0000000..f489ba6
--- /dev/null
+++ b/po/LC_MESSAGES/CHANGELOG.en.md/pt.po
@@ -0,0 +1,41 @@
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.0.1\n"
+
+msgid "Changelog for [td](https://euandreh.xyz/td/en/)."
+msgstr ""
+"Registro de mudanças (changelog) de [td](https://euandreh.xyz/td/pt/)."
+
+msgid "[pt][pt] | [fr][fr] | [eo][eo] | [es][es]"
+msgstr "[en][en] | [fr][fr] | [eo][eo] | [es][es]"
+
+msgid "Unreleased"
+msgstr "Não lançado"
+
+msgid "Added"
+msgstr "Adicionado"
+
+msgid "Initial public release."
+msgstr "Lançamento públic inicial."
+
+msgid "[pt]: https://euandreh.xyz/td/pt/CHANGELOG.html"
+msgstr "[en]: https://euandreh.xyz/td/en/CHANGELOG.html"
+
+msgid "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+msgstr "[fr]: https://euandreh.xyz/td/fr/CHANGELOG.html"
+
+msgid "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+msgstr "[eo]: https://euandreh.xyz/td/eo/CHANGELOG.html"
+
+msgid "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
+msgstr "[es]: https://euandreh.xyz/td/es/CHANGELOG.html"
diff --git a/po/LC_MESSAGES/README.en.md/eo.po b/po/LC_MESSAGES/README.en.md/eo.po
new file mode 100644
index 0000000..6eb2d32
--- /dev/null
+++ b/po/LC_MESSAGES/README.en.md/eo.po
@@ -0,0 +1,599 @@
+#
+msgid ""
+msgstr ""
+
+msgid "Usage"
+msgstr ""
+
+msgid "Installation"
+msgstr ""
+
+msgid ""
+"$ make\n"
+"$ make check\n"
+"# make install\n"
+msgstr ""
+
+msgid "You can pass `PREFIX` or `DESTDIR` to `make` if you'd like:"
+msgstr ""
+
+msgid ""
+"$ make PREFIX=$HOME/.local\n"
+"$ make check\n"
+"$ make install PREFIX=$HOME/.local\n"
+msgstr ""
+
+msgid ""
+"There are no dependencies or requirements, only standard tools such as POSIX"
+" sed, POSIX make, etc."
+msgstr ""
+
+msgid "Documentation"
+msgstr ""
+
+msgid "Manuals"
+msgstr ""
+
+msgid "Directory structure"
+msgstr ""
+
+msgid "The directory structure of the repository is:"
+msgstr ""
+
+msgid ""
+"`aux/`: personal scripts and helpers I've vendored in to ensure the "
+"repository is self contained, feel free to ignore it;"
+msgstr ""
+
+msgid "`doc/`: manpages, with their translated versions;"
+msgstr ""
+
+msgid ""
+"`po/`: gettext `.po` files for the translated languages and hunspell "
+"dictionaries for spell checking;"
+msgstr ""
+
+msgid "`src/`: main source code for the project;"
+msgstr ""
+
+msgid "`tests/`: integration tests for the project."
+msgstr ""
+
+msgid "Contributing"
+msgstr ""
+
+msgid "Extra tools used for development are:"
+msgstr ""
+
+msgid "[ShellCheck][ShellCheck] for validating scripts;"
+msgstr ""
+
+msgid ""
+"[po4a][po4a], [mdpo][mdpo] and [gettext][gettext] for i18n and l10n support;"
+msgstr ""
+
+msgid "[pandoc][pandoc] for generating the documentation HTML and website."
+msgstr ""
+
+msgid "For running the extra development-only checks, run:"
+msgstr ""
+
+msgid "$ make dev-check\n"
+msgstr ""
+
+msgid "and for generating the documentation HTML and website, run:"
+msgstr ""
+
+msgid "$ make public\n"
+msgstr ""
+
+msgid ""
+"Send contributions to the [mailing list][mailing list] via [`git send-"
+"email`](https://git-send-email.io/)."
+msgstr ""
+
+msgid "Links"
+msgstr ""
+
+msgid "[mailing list][mailing list]"
+msgstr ""
+
+msgid "Releases"
+msgstr ""
+
+msgid "License"
+msgstr ""
+
+msgid ""
+"The code is licensed under [GNU Affero General Public License v3.0 or "
+"later][AGPL-3.0-or-later] (AGPL-3.0-or-later)."
+msgstr ""
+
+#, fuzzy
+msgid "[ShellCheck]: https://www.shellcheck.net/"
+msgstr "[ShellCheck]: https://www.shellcheck.net/"
+
+#, fuzzy
+msgid "[po4a]: https://po4a.org/index.php.en"
+msgstr "[po4a]: https://po4a.org/index.php.en"
+
+#, fuzzy
+msgid "[gettext]: https://www.gnu.org/software/gettext/"
+msgstr "[gettext]: https://www.gnu.org/software/gettext/"
+
+#, fuzzy
+msgid "[pandoc]: https://pandoc.org/"
+msgstr "[pandoc]: https://pandoc.org/"
+
+#, fuzzy
+msgid "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+msgstr "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+
+msgid "td"
+msgstr ""
+
+msgid "[pt][pt1] | [fr][fr1] | [eo][eo1] | [es][es1]"
+msgstr ""
+
+msgid "Minimalistic bug tracker CLI."
+msgstr ""
+
+msgid "Create and maintain a `TODOs.md` file for bug tracking."
+msgstr ""
+
+msgid ""
+"It is a tool for distributed, offline issue tracking, reified as a simple "
+"text file in the repository."
+msgstr ""
+
+msgid ""
+"# inside a Git repository\n"
+"# create the basic configuration\n"
+"\n"
+"$ echo 'TD_USE_BUILTIN_HOOKS=git' > .tdrc\n"
+"\n"
+"\n"
+"\n"
+"# create a sample task\n"
+"\n"
+"$ td -cm 'Implement feature A'\n"
+"File \"TODOs.md\" doesn't exist yet, creating a brand new one.\n"
+"[main 9d854ac] TODOs.md: Add #td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b\n"
+" 1 file changed, 4 insertions(+)\n"
+" create mode 100644 TODOs.md\n"
+"#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# register a bug, and edit its content with $VISUAL\n"
+"\n"
+"$ td -t bug -m 'Fix B'\n"
+"Type \"bug\" doesn't exist yet, creating new section with it.\n"
+"[main 0f79796] TODOs.md: Add #td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77\n"
+" 1 file changed, 10 insertions(+)\n"
+"#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77 added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# add new task, with its initial state as DOING\n"
+"\n"
+"$ td -cm 'Work on C' -s DOING\n"
+"[main 1be9c00] TODOs.md: Add #td-1bbc2775-49b4-6112-5a9b-8f7fa466997c\n"
+" 1 file changed, 3 insertions(+)\n"
+"#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# create custom task type, and use it to # register a new task\n"
+"\n"
+"$ cat <<'EOF' >> .tdrc\n"
+"export TD_TYPES='\n"
+"task:Tasks\n"
+"issue:Issues\n"
+"idea:Ideas\n"
+"'\n"
+"EOF\n"
+"$ td -cm 'Fix D' -t issue\n"
+"Type \"issue\" doesn't exist yet, creating new section with it.\n"
+"[main 7b888e3] TODOs.md: Add #td-231e1472-d32f-69d0-6c62-b924b70a5b7f\n"
+" 1 file changed, 6 insertions(+)\n"
+"#td-231e1472-d32f-69d0-6c62-b924b70a5b7f added to TODOs.md.\n"
+msgstr ""
+
+msgid "The final `TODOs.md` file is:"
+msgstr ""
+
+msgid ""
+"# Tasks\n"
+"\n"
+"## DOING Work on C {#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c}\n"
+"- DOING in 2022-01-16\n"
+"\n"
+"## TODO Implement feature A {#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"\n"
+"# Bugs\n"
+"\n"
+"## TODO Fix B {#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"---\n"
+"\n"
+"B must be fixed.\n"
+"\n"
+"\n"
+"# Issues\n"
+"\n"
+"## TODO Fix D {#td-231e1472-d32f-69d0-6c62-b924b70a5b7f}\n"
+"- TODO in 2022-01-16\n"
+msgstr ""
+
+msgid "[homepage](https://euandreh.xyz/td/en/)"
+msgstr ""
+
+msgid "[source code](https://euandreh.xyz/td.git/)"
+msgstr ""
+
+msgid "[bug tracking](https://euandreh.xyz/td/TODOs.html)"
+msgstr ""
+
+msgid "[CI logs](https://euandreh.xyz/td/ci.html)"
+msgstr ""
+
+msgid "[CHANGELOG](https://euandreh.xyz/td/en/CHANGELOG.html)"
+msgstr ""
+
+msgid ""
+"[v0.1.0](https://euandreh.xyz/td.git/commit/?id=v0.1.0) "
+"[td-v0.1.0.tar.gz](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz) "
+"([sig](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz.asc)) - "
+"2021-06-13"
+msgstr ""
+
+#, fuzzy
+msgid "[pt1]: https://euandreh.xyz/td/pt/"
+msgstr "[pt1]: https://euandreh.xyz/td/pt/"
+
+#, fuzzy
+msgid "[fr1]: https://euandreh.xyz/td/fr/"
+msgstr "[fr1]: https://euandreh.xyz/td/fr/"
+
+#, fuzzy
+msgid "[eo1]: https://euandreh.xyz/td/eo/"
+msgstr "[eo1]: https://euandreh.xyz/td/eo/"
+
+#, fuzzy
+msgid "[es1]: https://euandreh.xyz/td/es/"
+msgstr "[es1]: https://euandreh.xyz/td/es/"
+
+#, fuzzy
+msgid "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+msgstr "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+
+#, fuzzy
+msgid "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+msgstr "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+
+#, fuzzy
+msgid "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+msgstr "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+
+#, fuzzy
+msgid "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+msgstr "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+
+#, fuzzy
+msgid "[es2]: https://euandreh.xyz/td/es/td.1.html"
+msgstr "[es2]: https://euandreh.xyz/td/es/td.1.html"
+
+#, fuzzy
+msgid "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+msgstr "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+
+#, fuzzy
+msgid "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+msgstr "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+
+#, fuzzy
+msgid "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+msgstr "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+
+#, fuzzy
+msgid "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+msgstr "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+
+#, fuzzy
+msgid "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+msgstr "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+
+#, fuzzy
+msgid "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+msgstr "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+msgstr "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+msgstr "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+msgstr "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+msgstr "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+msgstr "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+
+#, fuzzy
+msgid "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+msgstr "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+
+#, fuzzy
+msgid "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+msgstr "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+
+#, fuzzy
+msgid "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+msgstr "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+
+#, fuzzy
+msgid "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+msgstr "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+
+#, fuzzy
+msgid "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+msgstr "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+
+#, fuzzy
+msgid "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+msgstr "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+
+#, fuzzy
+msgid "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+msgstr "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+
+#, fuzzy
+msgid "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+msgstr "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+
+#, fuzzy
+msgid "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+msgstr "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+
+#, fuzzy
+msgid ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+msgstr ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+
+#, fuzzy
+msgid "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+msgstr "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+
+msgid ""
+"The documentation is available via installed manpages or online. Start with "
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]), and see the rest afterwards:"
+msgstr ""
+
+msgid ""
+"[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]): CLI usage "
+"reference;"
+msgstr ""
+
+msgid ""
+"[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]): `.tdrc` "
+"file format reference;"
+msgstr ""
+
+msgid ""
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]): getting started and tutorial for starting to use td;"
+msgstr ""
+
+msgid ""
+"[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+"[es][es5]): common HOWTOs and usage recipes;"
+msgstr ""
+
+msgid ""
+"[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6]): "
+"motivation and explanation of why create this tool."
+msgstr ""
+
+#~ msgid "The documentation is available via installed manpages or online:"
+#~ msgstr ""
+
+#~ msgid "[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]);"
+#~ msgstr ""
+
+#~ msgid "[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+#~ "[es][es4]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+#~ "[es][es5]);"
+#~ msgstr ""
+
+#~ msgid "[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6])."
+#~ msgstr ""
+
+#~ msgid "git-permalink"
+#~ msgstr ""
+
+#~ msgid "[pt][pt1] | [fr][fr1] | [eo][eo1]"
+#~ msgstr ""
+
+#~ msgid "Git extension to generate web permalinks of files in a repository."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "It knows about many of the existing code forges, but allows for URL template"
+#~ " overrides to be used on custom domains or deployments via git config."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "# setup example \"remembering\" repository\n"
+#~ "$ git clone https://euandreh.xyz/remembering.git\n"
+#~ "$ cd remembering/\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Now inside the repository folder, running `git permalink` will try building "
+#~ "the web URL of the given file and use `xdg-open` to launch the browser (or "
+#~ "whatever is configured):"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink tests/ranking.sh\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e\n"
+#~ "$ git permalink tests/ranking.sh 23\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Or if you just want to output the link without invoking `xdg-open`, you can "
+#~ "use the `-p` flag:"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink -p tests/ranking.sh 23\n"
+#~ "https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`git-permalink.1`][`git-permalink.1`] ([pt][pt2], [fr][fr2], [eo][eo2])."
+#~ msgstr ""
+
+#~ msgid "[homepage](https://euandreh.xyz/git-permalink/en/)"
+#~ msgstr ""
+
+#~ msgid "[source code](https://euandreh.xyz/git-permalink.git/)"
+#~ msgstr ""
+
+#~ msgid "[bug tracking](https://euandreh.xyz/git-permalink/TODOs.html)"
+#~ msgstr ""
+
+#~ msgid "[CI logs](https://euandreh.xyz/git-permalink/ci.html)"
+#~ msgstr ""
+
+#~ msgid "[CHANGELOG](https://euandreh.xyz/git-permalink/en/CHANGELOG.html)"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.1) [git-"
+#~ "permalink-v0.3.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.1.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.0) [git-"
+#~ "permalink-v0.3.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.0.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.3](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.3) [git-"
+#~ "permalink-v0.2.3.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.3.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.3.tar.gz.asc)) - 2021-07-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.2](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.2) [git-"
+#~ "permalink-v0.2.2.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.2.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.2.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.1) [git-"
+#~ "permalink-v0.2.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.1.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.0) [git-"
+#~ "permalink-v0.2.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.0.tar.gz.asc)) - 2021-06-19"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.1.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.1.0) [git-"
+#~ "permalink-v0.1.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.1.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.1.0.tar.gz.asc)) - 2021-06-13"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+#~ msgstr "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+
+#, fuzzy
+#~ msgid "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+#~ msgstr "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+
+#, fuzzy
+#~ msgid "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+#~ msgstr "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+#~ msgstr ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+
+#, fuzzy
+#~ msgid "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+#~ msgstr "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+#~ msgstr "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+#~ msgstr "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[graphviz]: https://graphviz.org/"
+#~ msgstr "[graphviz]: https://graphviz.org/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+#~ msgstr ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+
+#, fuzzy
+#~ msgid ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
+#~ msgstr ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
diff --git a/po/LC_MESSAGES/README.en.md/es.po b/po/LC_MESSAGES/README.en.md/es.po
new file mode 100644
index 0000000..6eb2d32
--- /dev/null
+++ b/po/LC_MESSAGES/README.en.md/es.po
@@ -0,0 +1,599 @@
+#
+msgid ""
+msgstr ""
+
+msgid "Usage"
+msgstr ""
+
+msgid "Installation"
+msgstr ""
+
+msgid ""
+"$ make\n"
+"$ make check\n"
+"# make install\n"
+msgstr ""
+
+msgid "You can pass `PREFIX` or `DESTDIR` to `make` if you'd like:"
+msgstr ""
+
+msgid ""
+"$ make PREFIX=$HOME/.local\n"
+"$ make check\n"
+"$ make install PREFIX=$HOME/.local\n"
+msgstr ""
+
+msgid ""
+"There are no dependencies or requirements, only standard tools such as POSIX"
+" sed, POSIX make, etc."
+msgstr ""
+
+msgid "Documentation"
+msgstr ""
+
+msgid "Manuals"
+msgstr ""
+
+msgid "Directory structure"
+msgstr ""
+
+msgid "The directory structure of the repository is:"
+msgstr ""
+
+msgid ""
+"`aux/`: personal scripts and helpers I've vendored in to ensure the "
+"repository is self contained, feel free to ignore it;"
+msgstr ""
+
+msgid "`doc/`: manpages, with their translated versions;"
+msgstr ""
+
+msgid ""
+"`po/`: gettext `.po` files for the translated languages and hunspell "
+"dictionaries for spell checking;"
+msgstr ""
+
+msgid "`src/`: main source code for the project;"
+msgstr ""
+
+msgid "`tests/`: integration tests for the project."
+msgstr ""
+
+msgid "Contributing"
+msgstr ""
+
+msgid "Extra tools used for development are:"
+msgstr ""
+
+msgid "[ShellCheck][ShellCheck] for validating scripts;"
+msgstr ""
+
+msgid ""
+"[po4a][po4a], [mdpo][mdpo] and [gettext][gettext] for i18n and l10n support;"
+msgstr ""
+
+msgid "[pandoc][pandoc] for generating the documentation HTML and website."
+msgstr ""
+
+msgid "For running the extra development-only checks, run:"
+msgstr ""
+
+msgid "$ make dev-check\n"
+msgstr ""
+
+msgid "and for generating the documentation HTML and website, run:"
+msgstr ""
+
+msgid "$ make public\n"
+msgstr ""
+
+msgid ""
+"Send contributions to the [mailing list][mailing list] via [`git send-"
+"email`](https://git-send-email.io/)."
+msgstr ""
+
+msgid "Links"
+msgstr ""
+
+msgid "[mailing list][mailing list]"
+msgstr ""
+
+msgid "Releases"
+msgstr ""
+
+msgid "License"
+msgstr ""
+
+msgid ""
+"The code is licensed under [GNU Affero General Public License v3.0 or "
+"later][AGPL-3.0-or-later] (AGPL-3.0-or-later)."
+msgstr ""
+
+#, fuzzy
+msgid "[ShellCheck]: https://www.shellcheck.net/"
+msgstr "[ShellCheck]: https://www.shellcheck.net/"
+
+#, fuzzy
+msgid "[po4a]: https://po4a.org/index.php.en"
+msgstr "[po4a]: https://po4a.org/index.php.en"
+
+#, fuzzy
+msgid "[gettext]: https://www.gnu.org/software/gettext/"
+msgstr "[gettext]: https://www.gnu.org/software/gettext/"
+
+#, fuzzy
+msgid "[pandoc]: https://pandoc.org/"
+msgstr "[pandoc]: https://pandoc.org/"
+
+#, fuzzy
+msgid "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+msgstr "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+
+msgid "td"
+msgstr ""
+
+msgid "[pt][pt1] | [fr][fr1] | [eo][eo1] | [es][es1]"
+msgstr ""
+
+msgid "Minimalistic bug tracker CLI."
+msgstr ""
+
+msgid "Create and maintain a `TODOs.md` file for bug tracking."
+msgstr ""
+
+msgid ""
+"It is a tool for distributed, offline issue tracking, reified as a simple "
+"text file in the repository."
+msgstr ""
+
+msgid ""
+"# inside a Git repository\n"
+"# create the basic configuration\n"
+"\n"
+"$ echo 'TD_USE_BUILTIN_HOOKS=git' > .tdrc\n"
+"\n"
+"\n"
+"\n"
+"# create a sample task\n"
+"\n"
+"$ td -cm 'Implement feature A'\n"
+"File \"TODOs.md\" doesn't exist yet, creating a brand new one.\n"
+"[main 9d854ac] TODOs.md: Add #td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b\n"
+" 1 file changed, 4 insertions(+)\n"
+" create mode 100644 TODOs.md\n"
+"#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# register a bug, and edit its content with $VISUAL\n"
+"\n"
+"$ td -t bug -m 'Fix B'\n"
+"Type \"bug\" doesn't exist yet, creating new section with it.\n"
+"[main 0f79796] TODOs.md: Add #td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77\n"
+" 1 file changed, 10 insertions(+)\n"
+"#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77 added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# add new task, with its initial state as DOING\n"
+"\n"
+"$ td -cm 'Work on C' -s DOING\n"
+"[main 1be9c00] TODOs.md: Add #td-1bbc2775-49b4-6112-5a9b-8f7fa466997c\n"
+" 1 file changed, 3 insertions(+)\n"
+"#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# create custom task type, and use it to # register a new task\n"
+"\n"
+"$ cat <<'EOF' >> .tdrc\n"
+"export TD_TYPES='\n"
+"task:Tasks\n"
+"issue:Issues\n"
+"idea:Ideas\n"
+"'\n"
+"EOF\n"
+"$ td -cm 'Fix D' -t issue\n"
+"Type \"issue\" doesn't exist yet, creating new section with it.\n"
+"[main 7b888e3] TODOs.md: Add #td-231e1472-d32f-69d0-6c62-b924b70a5b7f\n"
+" 1 file changed, 6 insertions(+)\n"
+"#td-231e1472-d32f-69d0-6c62-b924b70a5b7f added to TODOs.md.\n"
+msgstr ""
+
+msgid "The final `TODOs.md` file is:"
+msgstr ""
+
+msgid ""
+"# Tasks\n"
+"\n"
+"## DOING Work on C {#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c}\n"
+"- DOING in 2022-01-16\n"
+"\n"
+"## TODO Implement feature A {#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"\n"
+"# Bugs\n"
+"\n"
+"## TODO Fix B {#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"---\n"
+"\n"
+"B must be fixed.\n"
+"\n"
+"\n"
+"# Issues\n"
+"\n"
+"## TODO Fix D {#td-231e1472-d32f-69d0-6c62-b924b70a5b7f}\n"
+"- TODO in 2022-01-16\n"
+msgstr ""
+
+msgid "[homepage](https://euandreh.xyz/td/en/)"
+msgstr ""
+
+msgid "[source code](https://euandreh.xyz/td.git/)"
+msgstr ""
+
+msgid "[bug tracking](https://euandreh.xyz/td/TODOs.html)"
+msgstr ""
+
+msgid "[CI logs](https://euandreh.xyz/td/ci.html)"
+msgstr ""
+
+msgid "[CHANGELOG](https://euandreh.xyz/td/en/CHANGELOG.html)"
+msgstr ""
+
+msgid ""
+"[v0.1.0](https://euandreh.xyz/td.git/commit/?id=v0.1.0) "
+"[td-v0.1.0.tar.gz](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz) "
+"([sig](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz.asc)) - "
+"2021-06-13"
+msgstr ""
+
+#, fuzzy
+msgid "[pt1]: https://euandreh.xyz/td/pt/"
+msgstr "[pt1]: https://euandreh.xyz/td/pt/"
+
+#, fuzzy
+msgid "[fr1]: https://euandreh.xyz/td/fr/"
+msgstr "[fr1]: https://euandreh.xyz/td/fr/"
+
+#, fuzzy
+msgid "[eo1]: https://euandreh.xyz/td/eo/"
+msgstr "[eo1]: https://euandreh.xyz/td/eo/"
+
+#, fuzzy
+msgid "[es1]: https://euandreh.xyz/td/es/"
+msgstr "[es1]: https://euandreh.xyz/td/es/"
+
+#, fuzzy
+msgid "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+msgstr "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+
+#, fuzzy
+msgid "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+msgstr "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+
+#, fuzzy
+msgid "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+msgstr "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+
+#, fuzzy
+msgid "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+msgstr "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+
+#, fuzzy
+msgid "[es2]: https://euandreh.xyz/td/es/td.1.html"
+msgstr "[es2]: https://euandreh.xyz/td/es/td.1.html"
+
+#, fuzzy
+msgid "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+msgstr "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+
+#, fuzzy
+msgid "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+msgstr "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+
+#, fuzzy
+msgid "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+msgstr "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+
+#, fuzzy
+msgid "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+msgstr "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+
+#, fuzzy
+msgid "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+msgstr "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+
+#, fuzzy
+msgid "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+msgstr "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+msgstr "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+msgstr "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+msgstr "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+msgstr "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+msgstr "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+
+#, fuzzy
+msgid "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+msgstr "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+
+#, fuzzy
+msgid "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+msgstr "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+
+#, fuzzy
+msgid "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+msgstr "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+
+#, fuzzy
+msgid "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+msgstr "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+
+#, fuzzy
+msgid "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+msgstr "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+
+#, fuzzy
+msgid "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+msgstr "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+
+#, fuzzy
+msgid "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+msgstr "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+
+#, fuzzy
+msgid "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+msgstr "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+
+#, fuzzy
+msgid "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+msgstr "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+
+#, fuzzy
+msgid ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+msgstr ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+
+#, fuzzy
+msgid "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+msgstr "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+
+msgid ""
+"The documentation is available via installed manpages or online. Start with "
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]), and see the rest afterwards:"
+msgstr ""
+
+msgid ""
+"[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]): CLI usage "
+"reference;"
+msgstr ""
+
+msgid ""
+"[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]): `.tdrc` "
+"file format reference;"
+msgstr ""
+
+msgid ""
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]): getting started and tutorial for starting to use td;"
+msgstr ""
+
+msgid ""
+"[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+"[es][es5]): common HOWTOs and usage recipes;"
+msgstr ""
+
+msgid ""
+"[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6]): "
+"motivation and explanation of why create this tool."
+msgstr ""
+
+#~ msgid "The documentation is available via installed manpages or online:"
+#~ msgstr ""
+
+#~ msgid "[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]);"
+#~ msgstr ""
+
+#~ msgid "[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+#~ "[es][es4]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+#~ "[es][es5]);"
+#~ msgstr ""
+
+#~ msgid "[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6])."
+#~ msgstr ""
+
+#~ msgid "git-permalink"
+#~ msgstr ""
+
+#~ msgid "[pt][pt1] | [fr][fr1] | [eo][eo1]"
+#~ msgstr ""
+
+#~ msgid "Git extension to generate web permalinks of files in a repository."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "It knows about many of the existing code forges, but allows for URL template"
+#~ " overrides to be used on custom domains or deployments via git config."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "# setup example \"remembering\" repository\n"
+#~ "$ git clone https://euandreh.xyz/remembering.git\n"
+#~ "$ cd remembering/\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Now inside the repository folder, running `git permalink` will try building "
+#~ "the web URL of the given file and use `xdg-open` to launch the browser (or "
+#~ "whatever is configured):"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink tests/ranking.sh\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e\n"
+#~ "$ git permalink tests/ranking.sh 23\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Or if you just want to output the link without invoking `xdg-open`, you can "
+#~ "use the `-p` flag:"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink -p tests/ranking.sh 23\n"
+#~ "https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`git-permalink.1`][`git-permalink.1`] ([pt][pt2], [fr][fr2], [eo][eo2])."
+#~ msgstr ""
+
+#~ msgid "[homepage](https://euandreh.xyz/git-permalink/en/)"
+#~ msgstr ""
+
+#~ msgid "[source code](https://euandreh.xyz/git-permalink.git/)"
+#~ msgstr ""
+
+#~ msgid "[bug tracking](https://euandreh.xyz/git-permalink/TODOs.html)"
+#~ msgstr ""
+
+#~ msgid "[CI logs](https://euandreh.xyz/git-permalink/ci.html)"
+#~ msgstr ""
+
+#~ msgid "[CHANGELOG](https://euandreh.xyz/git-permalink/en/CHANGELOG.html)"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.1) [git-"
+#~ "permalink-v0.3.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.1.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.0) [git-"
+#~ "permalink-v0.3.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.0.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.3](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.3) [git-"
+#~ "permalink-v0.2.3.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.3.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.3.tar.gz.asc)) - 2021-07-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.2](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.2) [git-"
+#~ "permalink-v0.2.2.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.2.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.2.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.1) [git-"
+#~ "permalink-v0.2.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.1.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.0) [git-"
+#~ "permalink-v0.2.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.0.tar.gz.asc)) - 2021-06-19"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.1.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.1.0) [git-"
+#~ "permalink-v0.1.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.1.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.1.0.tar.gz.asc)) - 2021-06-13"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+#~ msgstr "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+
+#, fuzzy
+#~ msgid "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+#~ msgstr "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+
+#, fuzzy
+#~ msgid "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+#~ msgstr "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+#~ msgstr ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+
+#, fuzzy
+#~ msgid "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+#~ msgstr "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+#~ msgstr "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+#~ msgstr "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[graphviz]: https://graphviz.org/"
+#~ msgstr "[graphviz]: https://graphviz.org/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+#~ msgstr ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+
+#, fuzzy
+#~ msgid ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
+#~ msgstr ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
diff --git a/po/LC_MESSAGES/README.en.md/fr.po b/po/LC_MESSAGES/README.en.md/fr.po
new file mode 100644
index 0000000..6eb2d32
--- /dev/null
+++ b/po/LC_MESSAGES/README.en.md/fr.po
@@ -0,0 +1,599 @@
+#
+msgid ""
+msgstr ""
+
+msgid "Usage"
+msgstr ""
+
+msgid "Installation"
+msgstr ""
+
+msgid ""
+"$ make\n"
+"$ make check\n"
+"# make install\n"
+msgstr ""
+
+msgid "You can pass `PREFIX` or `DESTDIR` to `make` if you'd like:"
+msgstr ""
+
+msgid ""
+"$ make PREFIX=$HOME/.local\n"
+"$ make check\n"
+"$ make install PREFIX=$HOME/.local\n"
+msgstr ""
+
+msgid ""
+"There are no dependencies or requirements, only standard tools such as POSIX"
+" sed, POSIX make, etc."
+msgstr ""
+
+msgid "Documentation"
+msgstr ""
+
+msgid "Manuals"
+msgstr ""
+
+msgid "Directory structure"
+msgstr ""
+
+msgid "The directory structure of the repository is:"
+msgstr ""
+
+msgid ""
+"`aux/`: personal scripts and helpers I've vendored in to ensure the "
+"repository is self contained, feel free to ignore it;"
+msgstr ""
+
+msgid "`doc/`: manpages, with their translated versions;"
+msgstr ""
+
+msgid ""
+"`po/`: gettext `.po` files for the translated languages and hunspell "
+"dictionaries for spell checking;"
+msgstr ""
+
+msgid "`src/`: main source code for the project;"
+msgstr ""
+
+msgid "`tests/`: integration tests for the project."
+msgstr ""
+
+msgid "Contributing"
+msgstr ""
+
+msgid "Extra tools used for development are:"
+msgstr ""
+
+msgid "[ShellCheck][ShellCheck] for validating scripts;"
+msgstr ""
+
+msgid ""
+"[po4a][po4a], [mdpo][mdpo] and [gettext][gettext] for i18n and l10n support;"
+msgstr ""
+
+msgid "[pandoc][pandoc] for generating the documentation HTML and website."
+msgstr ""
+
+msgid "For running the extra development-only checks, run:"
+msgstr ""
+
+msgid "$ make dev-check\n"
+msgstr ""
+
+msgid "and for generating the documentation HTML and website, run:"
+msgstr ""
+
+msgid "$ make public\n"
+msgstr ""
+
+msgid ""
+"Send contributions to the [mailing list][mailing list] via [`git send-"
+"email`](https://git-send-email.io/)."
+msgstr ""
+
+msgid "Links"
+msgstr ""
+
+msgid "[mailing list][mailing list]"
+msgstr ""
+
+msgid "Releases"
+msgstr ""
+
+msgid "License"
+msgstr ""
+
+msgid ""
+"The code is licensed under [GNU Affero General Public License v3.0 or "
+"later][AGPL-3.0-or-later] (AGPL-3.0-or-later)."
+msgstr ""
+
+#, fuzzy
+msgid "[ShellCheck]: https://www.shellcheck.net/"
+msgstr "[ShellCheck]: https://www.shellcheck.net/"
+
+#, fuzzy
+msgid "[po4a]: https://po4a.org/index.php.en"
+msgstr "[po4a]: https://po4a.org/index.php.en"
+
+#, fuzzy
+msgid "[gettext]: https://www.gnu.org/software/gettext/"
+msgstr "[gettext]: https://www.gnu.org/software/gettext/"
+
+#, fuzzy
+msgid "[pandoc]: https://pandoc.org/"
+msgstr "[pandoc]: https://pandoc.org/"
+
+#, fuzzy
+msgid "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+msgstr "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+
+msgid "td"
+msgstr ""
+
+msgid "[pt][pt1] | [fr][fr1] | [eo][eo1] | [es][es1]"
+msgstr ""
+
+msgid "Minimalistic bug tracker CLI."
+msgstr ""
+
+msgid "Create and maintain a `TODOs.md` file for bug tracking."
+msgstr ""
+
+msgid ""
+"It is a tool for distributed, offline issue tracking, reified as a simple "
+"text file in the repository."
+msgstr ""
+
+msgid ""
+"# inside a Git repository\n"
+"# create the basic configuration\n"
+"\n"
+"$ echo 'TD_USE_BUILTIN_HOOKS=git' > .tdrc\n"
+"\n"
+"\n"
+"\n"
+"# create a sample task\n"
+"\n"
+"$ td -cm 'Implement feature A'\n"
+"File \"TODOs.md\" doesn't exist yet, creating a brand new one.\n"
+"[main 9d854ac] TODOs.md: Add #td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b\n"
+" 1 file changed, 4 insertions(+)\n"
+" create mode 100644 TODOs.md\n"
+"#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# register a bug, and edit its content with $VISUAL\n"
+"\n"
+"$ td -t bug -m 'Fix B'\n"
+"Type \"bug\" doesn't exist yet, creating new section with it.\n"
+"[main 0f79796] TODOs.md: Add #td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77\n"
+" 1 file changed, 10 insertions(+)\n"
+"#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77 added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# add new task, with its initial state as DOING\n"
+"\n"
+"$ td -cm 'Work on C' -s DOING\n"
+"[main 1be9c00] TODOs.md: Add #td-1bbc2775-49b4-6112-5a9b-8f7fa466997c\n"
+" 1 file changed, 3 insertions(+)\n"
+"#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# create custom task type, and use it to # register a new task\n"
+"\n"
+"$ cat <<'EOF' >> .tdrc\n"
+"export TD_TYPES='\n"
+"task:Tasks\n"
+"issue:Issues\n"
+"idea:Ideas\n"
+"'\n"
+"EOF\n"
+"$ td -cm 'Fix D' -t issue\n"
+"Type \"issue\" doesn't exist yet, creating new section with it.\n"
+"[main 7b888e3] TODOs.md: Add #td-231e1472-d32f-69d0-6c62-b924b70a5b7f\n"
+" 1 file changed, 6 insertions(+)\n"
+"#td-231e1472-d32f-69d0-6c62-b924b70a5b7f added to TODOs.md.\n"
+msgstr ""
+
+msgid "The final `TODOs.md` file is:"
+msgstr ""
+
+msgid ""
+"# Tasks\n"
+"\n"
+"## DOING Work on C {#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c}\n"
+"- DOING in 2022-01-16\n"
+"\n"
+"## TODO Implement feature A {#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"\n"
+"# Bugs\n"
+"\n"
+"## TODO Fix B {#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"---\n"
+"\n"
+"B must be fixed.\n"
+"\n"
+"\n"
+"# Issues\n"
+"\n"
+"## TODO Fix D {#td-231e1472-d32f-69d0-6c62-b924b70a5b7f}\n"
+"- TODO in 2022-01-16\n"
+msgstr ""
+
+msgid "[homepage](https://euandreh.xyz/td/en/)"
+msgstr ""
+
+msgid "[source code](https://euandreh.xyz/td.git/)"
+msgstr ""
+
+msgid "[bug tracking](https://euandreh.xyz/td/TODOs.html)"
+msgstr ""
+
+msgid "[CI logs](https://euandreh.xyz/td/ci.html)"
+msgstr ""
+
+msgid "[CHANGELOG](https://euandreh.xyz/td/en/CHANGELOG.html)"
+msgstr ""
+
+msgid ""
+"[v0.1.0](https://euandreh.xyz/td.git/commit/?id=v0.1.0) "
+"[td-v0.1.0.tar.gz](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz) "
+"([sig](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz.asc)) - "
+"2021-06-13"
+msgstr ""
+
+#, fuzzy
+msgid "[pt1]: https://euandreh.xyz/td/pt/"
+msgstr "[pt1]: https://euandreh.xyz/td/pt/"
+
+#, fuzzy
+msgid "[fr1]: https://euandreh.xyz/td/fr/"
+msgstr "[fr1]: https://euandreh.xyz/td/fr/"
+
+#, fuzzy
+msgid "[eo1]: https://euandreh.xyz/td/eo/"
+msgstr "[eo1]: https://euandreh.xyz/td/eo/"
+
+#, fuzzy
+msgid "[es1]: https://euandreh.xyz/td/es/"
+msgstr "[es1]: https://euandreh.xyz/td/es/"
+
+#, fuzzy
+msgid "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+msgstr "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+
+#, fuzzy
+msgid "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+msgstr "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+
+#, fuzzy
+msgid "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+msgstr "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+
+#, fuzzy
+msgid "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+msgstr "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+
+#, fuzzy
+msgid "[es2]: https://euandreh.xyz/td/es/td.1.html"
+msgstr "[es2]: https://euandreh.xyz/td/es/td.1.html"
+
+#, fuzzy
+msgid "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+msgstr "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+
+#, fuzzy
+msgid "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+msgstr "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+
+#, fuzzy
+msgid "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+msgstr "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+
+#, fuzzy
+msgid "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+msgstr "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+
+#, fuzzy
+msgid "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+msgstr "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+
+#, fuzzy
+msgid "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+msgstr "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+msgstr "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+msgstr "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+msgstr "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+msgstr "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+msgstr "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+
+#, fuzzy
+msgid "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+msgstr "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+
+#, fuzzy
+msgid "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+msgstr "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+
+#, fuzzy
+msgid "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+msgstr "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+
+#, fuzzy
+msgid "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+msgstr "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+
+#, fuzzy
+msgid "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+msgstr "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+
+#, fuzzy
+msgid "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+msgstr "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+
+#, fuzzy
+msgid "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+msgstr "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+
+#, fuzzy
+msgid "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+msgstr "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+
+#, fuzzy
+msgid "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+msgstr "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+
+#, fuzzy
+msgid ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+msgstr ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+
+#, fuzzy
+msgid "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+msgstr "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+
+msgid ""
+"The documentation is available via installed manpages or online. Start with "
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]), and see the rest afterwards:"
+msgstr ""
+
+msgid ""
+"[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]): CLI usage "
+"reference;"
+msgstr ""
+
+msgid ""
+"[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]): `.tdrc` "
+"file format reference;"
+msgstr ""
+
+msgid ""
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]): getting started and tutorial for starting to use td;"
+msgstr ""
+
+msgid ""
+"[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+"[es][es5]): common HOWTOs and usage recipes;"
+msgstr ""
+
+msgid ""
+"[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6]): "
+"motivation and explanation of why create this tool."
+msgstr ""
+
+#~ msgid "The documentation is available via installed manpages or online:"
+#~ msgstr ""
+
+#~ msgid "[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]);"
+#~ msgstr ""
+
+#~ msgid "[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+#~ "[es][es4]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+#~ "[es][es5]);"
+#~ msgstr ""
+
+#~ msgid "[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6])."
+#~ msgstr ""
+
+#~ msgid "git-permalink"
+#~ msgstr ""
+
+#~ msgid "[pt][pt1] | [fr][fr1] | [eo][eo1]"
+#~ msgstr ""
+
+#~ msgid "Git extension to generate web permalinks of files in a repository."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "It knows about many of the existing code forges, but allows for URL template"
+#~ " overrides to be used on custom domains or deployments via git config."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "# setup example \"remembering\" repository\n"
+#~ "$ git clone https://euandreh.xyz/remembering.git\n"
+#~ "$ cd remembering/\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Now inside the repository folder, running `git permalink` will try building "
+#~ "the web URL of the given file and use `xdg-open` to launch the browser (or "
+#~ "whatever is configured):"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink tests/ranking.sh\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e\n"
+#~ "$ git permalink tests/ranking.sh 23\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Or if you just want to output the link without invoking `xdg-open`, you can "
+#~ "use the `-p` flag:"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink -p tests/ranking.sh 23\n"
+#~ "https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`git-permalink.1`][`git-permalink.1`] ([pt][pt2], [fr][fr2], [eo][eo2])."
+#~ msgstr ""
+
+#~ msgid "[homepage](https://euandreh.xyz/git-permalink/en/)"
+#~ msgstr ""
+
+#~ msgid "[source code](https://euandreh.xyz/git-permalink.git/)"
+#~ msgstr ""
+
+#~ msgid "[bug tracking](https://euandreh.xyz/git-permalink/TODOs.html)"
+#~ msgstr ""
+
+#~ msgid "[CI logs](https://euandreh.xyz/git-permalink/ci.html)"
+#~ msgstr ""
+
+#~ msgid "[CHANGELOG](https://euandreh.xyz/git-permalink/en/CHANGELOG.html)"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.1) [git-"
+#~ "permalink-v0.3.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.1.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.0) [git-"
+#~ "permalink-v0.3.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.0.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.3](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.3) [git-"
+#~ "permalink-v0.2.3.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.3.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.3.tar.gz.asc)) - 2021-07-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.2](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.2) [git-"
+#~ "permalink-v0.2.2.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.2.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.2.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.1) [git-"
+#~ "permalink-v0.2.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.1.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.0) [git-"
+#~ "permalink-v0.2.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.0.tar.gz.asc)) - 2021-06-19"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.1.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.1.0) [git-"
+#~ "permalink-v0.1.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.1.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.1.0.tar.gz.asc)) - 2021-06-13"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+#~ msgstr "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+
+#, fuzzy
+#~ msgid "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+#~ msgstr "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+
+#, fuzzy
+#~ msgid "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+#~ msgstr "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+#~ msgstr ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+
+#, fuzzy
+#~ msgid "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+#~ msgstr "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+#~ msgstr "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+#~ msgstr "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[graphviz]: https://graphviz.org/"
+#~ msgstr "[graphviz]: https://graphviz.org/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+#~ msgstr ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+
+#, fuzzy
+#~ msgid ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
+#~ msgstr ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
diff --git a/po/LC_MESSAGES/README.en.md/pt.po b/po/LC_MESSAGES/README.en.md/pt.po
new file mode 100644
index 0000000..6eb2d32
--- /dev/null
+++ b/po/LC_MESSAGES/README.en.md/pt.po
@@ -0,0 +1,599 @@
+#
+msgid ""
+msgstr ""
+
+msgid "Usage"
+msgstr ""
+
+msgid "Installation"
+msgstr ""
+
+msgid ""
+"$ make\n"
+"$ make check\n"
+"# make install\n"
+msgstr ""
+
+msgid "You can pass `PREFIX` or `DESTDIR` to `make` if you'd like:"
+msgstr ""
+
+msgid ""
+"$ make PREFIX=$HOME/.local\n"
+"$ make check\n"
+"$ make install PREFIX=$HOME/.local\n"
+msgstr ""
+
+msgid ""
+"There are no dependencies or requirements, only standard tools such as POSIX"
+" sed, POSIX make, etc."
+msgstr ""
+
+msgid "Documentation"
+msgstr ""
+
+msgid "Manuals"
+msgstr ""
+
+msgid "Directory structure"
+msgstr ""
+
+msgid "The directory structure of the repository is:"
+msgstr ""
+
+msgid ""
+"`aux/`: personal scripts and helpers I've vendored in to ensure the "
+"repository is self contained, feel free to ignore it;"
+msgstr ""
+
+msgid "`doc/`: manpages, with their translated versions;"
+msgstr ""
+
+msgid ""
+"`po/`: gettext `.po` files for the translated languages and hunspell "
+"dictionaries for spell checking;"
+msgstr ""
+
+msgid "`src/`: main source code for the project;"
+msgstr ""
+
+msgid "`tests/`: integration tests for the project."
+msgstr ""
+
+msgid "Contributing"
+msgstr ""
+
+msgid "Extra tools used for development are:"
+msgstr ""
+
+msgid "[ShellCheck][ShellCheck] for validating scripts;"
+msgstr ""
+
+msgid ""
+"[po4a][po4a], [mdpo][mdpo] and [gettext][gettext] for i18n and l10n support;"
+msgstr ""
+
+msgid "[pandoc][pandoc] for generating the documentation HTML and website."
+msgstr ""
+
+msgid "For running the extra development-only checks, run:"
+msgstr ""
+
+msgid "$ make dev-check\n"
+msgstr ""
+
+msgid "and for generating the documentation HTML and website, run:"
+msgstr ""
+
+msgid "$ make public\n"
+msgstr ""
+
+msgid ""
+"Send contributions to the [mailing list][mailing list] via [`git send-"
+"email`](https://git-send-email.io/)."
+msgstr ""
+
+msgid "Links"
+msgstr ""
+
+msgid "[mailing list][mailing list]"
+msgstr ""
+
+msgid "Releases"
+msgstr ""
+
+msgid "License"
+msgstr ""
+
+msgid ""
+"The code is licensed under [GNU Affero General Public License v3.0 or "
+"later][AGPL-3.0-or-later] (AGPL-3.0-or-later)."
+msgstr ""
+
+#, fuzzy
+msgid "[ShellCheck]: https://www.shellcheck.net/"
+msgstr "[ShellCheck]: https://www.shellcheck.net/"
+
+#, fuzzy
+msgid "[po4a]: https://po4a.org/index.php.en"
+msgstr "[po4a]: https://po4a.org/index.php.en"
+
+#, fuzzy
+msgid "[gettext]: https://www.gnu.org/software/gettext/"
+msgstr "[gettext]: https://www.gnu.org/software/gettext/"
+
+#, fuzzy
+msgid "[pandoc]: https://pandoc.org/"
+msgstr "[pandoc]: https://pandoc.org/"
+
+#, fuzzy
+msgid "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+msgstr "[mdpo]: https://mdpo.readthedocs.io/en/master/"
+
+msgid "td"
+msgstr ""
+
+msgid "[pt][pt1] | [fr][fr1] | [eo][eo1] | [es][es1]"
+msgstr ""
+
+msgid "Minimalistic bug tracker CLI."
+msgstr ""
+
+msgid "Create and maintain a `TODOs.md` file for bug tracking."
+msgstr ""
+
+msgid ""
+"It is a tool for distributed, offline issue tracking, reified as a simple "
+"text file in the repository."
+msgstr ""
+
+msgid ""
+"# inside a Git repository\n"
+"# create the basic configuration\n"
+"\n"
+"$ echo 'TD_USE_BUILTIN_HOOKS=git' > .tdrc\n"
+"\n"
+"\n"
+"\n"
+"# create a sample task\n"
+"\n"
+"$ td -cm 'Implement feature A'\n"
+"File \"TODOs.md\" doesn't exist yet, creating a brand new one.\n"
+"[main 9d854ac] TODOs.md: Add #td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b\n"
+" 1 file changed, 4 insertions(+)\n"
+" create mode 100644 TODOs.md\n"
+"#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# register a bug, and edit its content with $VISUAL\n"
+"\n"
+"$ td -t bug -m 'Fix B'\n"
+"Type \"bug\" doesn't exist yet, creating new section with it.\n"
+"[main 0f79796] TODOs.md: Add #td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77\n"
+" 1 file changed, 10 insertions(+)\n"
+"#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77 added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# add new task, with its initial state as DOING\n"
+"\n"
+"$ td -cm 'Work on C' -s DOING\n"
+"[main 1be9c00] TODOs.md: Add #td-1bbc2775-49b4-6112-5a9b-8f7fa466997c\n"
+" 1 file changed, 3 insertions(+)\n"
+"#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c added to TODOs.md.\n"
+"\n"
+"\n"
+"\n"
+"# create custom task type, and use it to # register a new task\n"
+"\n"
+"$ cat <<'EOF' >> .tdrc\n"
+"export TD_TYPES='\n"
+"task:Tasks\n"
+"issue:Issues\n"
+"idea:Ideas\n"
+"'\n"
+"EOF\n"
+"$ td -cm 'Fix D' -t issue\n"
+"Type \"issue\" doesn't exist yet, creating new section with it.\n"
+"[main 7b888e3] TODOs.md: Add #td-231e1472-d32f-69d0-6c62-b924b70a5b7f\n"
+" 1 file changed, 6 insertions(+)\n"
+"#td-231e1472-d32f-69d0-6c62-b924b70a5b7f added to TODOs.md.\n"
+msgstr ""
+
+msgid "The final `TODOs.md` file is:"
+msgstr ""
+
+msgid ""
+"# Tasks\n"
+"\n"
+"## DOING Work on C {#td-1bbc2775-49b4-6112-5a9b-8f7fa466997c}\n"
+"- DOING in 2022-01-16\n"
+"\n"
+"## TODO Implement feature A {#td-1c1e8f92-ed60-1a5b-89d9-cb2b140e498b}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"\n"
+"# Bugs\n"
+"\n"
+"## TODO Fix B {#td-1794611e-bfd7-9de5-3e71-cd0dcb3a1d77}\n"
+"- TODO in 2022-01-16\n"
+"\n"
+"---\n"
+"\n"
+"B must be fixed.\n"
+"\n"
+"\n"
+"# Issues\n"
+"\n"
+"## TODO Fix D {#td-231e1472-d32f-69d0-6c62-b924b70a5b7f}\n"
+"- TODO in 2022-01-16\n"
+msgstr ""
+
+msgid "[homepage](https://euandreh.xyz/td/en/)"
+msgstr ""
+
+msgid "[source code](https://euandreh.xyz/td.git/)"
+msgstr ""
+
+msgid "[bug tracking](https://euandreh.xyz/td/TODOs.html)"
+msgstr ""
+
+msgid "[CI logs](https://euandreh.xyz/td/ci.html)"
+msgstr ""
+
+msgid "[CHANGELOG](https://euandreh.xyz/td/en/CHANGELOG.html)"
+msgstr ""
+
+msgid ""
+"[v0.1.0](https://euandreh.xyz/td.git/commit/?id=v0.1.0) "
+"[td-v0.1.0.tar.gz](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz) "
+"([sig](https://euandreh.xyz/td.git/snapshot/td-v0.1.0.tar.gz.asc)) - "
+"2021-06-13"
+msgstr ""
+
+#, fuzzy
+msgid "[pt1]: https://euandreh.xyz/td/pt/"
+msgstr "[pt1]: https://euandreh.xyz/td/pt/"
+
+#, fuzzy
+msgid "[fr1]: https://euandreh.xyz/td/fr/"
+msgstr "[fr1]: https://euandreh.xyz/td/fr/"
+
+#, fuzzy
+msgid "[eo1]: https://euandreh.xyz/td/eo/"
+msgstr "[eo1]: https://euandreh.xyz/td/eo/"
+
+#, fuzzy
+msgid "[es1]: https://euandreh.xyz/td/es/"
+msgstr "[es1]: https://euandreh.xyz/td/es/"
+
+#, fuzzy
+msgid "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+msgstr "[`td.1`]: https://euandreh.xyz/td/en/td.1.html"
+
+#, fuzzy
+msgid "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+msgstr "[pt2]: https://euandreh.xyz/td/pt/td.1.html"
+
+#, fuzzy
+msgid "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+msgstr "[fr2]: https://euandreh.xyz/td/fr/td.1.html"
+
+#, fuzzy
+msgid "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+msgstr "[eo2]: https://euandreh.xyz/td/eo/td.1.html"
+
+#, fuzzy
+msgid "[es2]: https://euandreh.xyz/td/es/td.1.html"
+msgstr "[es2]: https://euandreh.xyz/td/es/td.1.html"
+
+#, fuzzy
+msgid "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+msgstr "[`tdrc.5`]: https://euandreh.xyz/td/en/tdrc.5.html"
+
+#, fuzzy
+msgid "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+msgstr "[pt3]: https://euandreh.xyz/td/pt/tdrc.5.html"
+
+#, fuzzy
+msgid "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+msgstr "[fr3]: https://euandreh.xyz/td/fr/tdrc.5.html"
+
+#, fuzzy
+msgid "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+msgstr "[eo3]: https://euandreh.xyz/td/eo/tdrc.5.html"
+
+#, fuzzy
+msgid "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+msgstr "[es3]: https://euandreh.xyz/td/es/tdrc.5.html"
+
+#, fuzzy
+msgid "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+msgstr "[`td.tutorial.7`]: https://euandreh.xyz/td/en/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+msgstr "[pt4]: https://euandreh.xyz/td/pt/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+msgstr "[fr4]: https://euandreh.xyz/td/fr/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+msgstr "[eo4]: https://euandreh.xyz/td/eo/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+msgstr "[es4]: https://euandreh.xyz/td/es/td.tutorial.7.html"
+
+#, fuzzy
+msgid "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+msgstr "[`td.recipes.7`]: https://euandreh.xyz/td/en/td.recipes.7.html"
+
+#, fuzzy
+msgid "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+msgstr "[pt5]: https://euandreh.xyz/td/pt/td.recipes.7.html"
+
+#, fuzzy
+msgid "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+msgstr "[fr5]: https://euandreh.xyz/td/fr/td.recipes.7.html"
+
+#, fuzzy
+msgid "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+msgstr "[eo5]: https://euandreh.xyz/td/eo/td.recipes.7.html"
+
+#, fuzzy
+msgid "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+msgstr "[es5]: https://euandreh.xyz/td/es/td.recipes.7.html"
+
+#, fuzzy
+msgid "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+msgstr "[`td.why.7`]: https://euandreh.xyz/td/en/td.why.7.html"
+
+#, fuzzy
+msgid "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+msgstr "[pt6]: https://euandreh.xyz/td/pt/td.why.7.html"
+
+#, fuzzy
+msgid "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+msgstr "[fr6]: https://euandreh.xyz/td/fr/td.why.7.html"
+
+#, fuzzy
+msgid "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+msgstr "[eo6]: https://euandreh.xyz/td/eo/td.why.7.html"
+
+#, fuzzy
+msgid "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+msgstr "[es6]: https://euandreh.xyz/td/es/td.why.7.html"
+
+#, fuzzy
+msgid ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+msgstr ""
+"[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Btd%5D"
+
+#, fuzzy
+msgid "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+msgstr "[AGPL-3.0-or-later]: https://euandreh.xyz/td.git/tree/COPYING"
+
+msgid ""
+"The documentation is available via installed manpages or online. Start with "
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]), and see the rest afterwards:"
+msgstr ""
+
+msgid ""
+"[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]): CLI usage "
+"reference;"
+msgstr ""
+
+msgid ""
+"[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]): `.tdrc` "
+"file format reference;"
+msgstr ""
+
+msgid ""
+"[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+"[es][es4]): getting started and tutorial for starting to use td;"
+msgstr ""
+
+msgid ""
+"[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+"[es][es5]): common HOWTOs and usage recipes;"
+msgstr ""
+
+msgid ""
+"[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6]): "
+"motivation and explanation of why create this tool."
+msgstr ""
+
+#~ msgid "The documentation is available via installed manpages or online:"
+#~ msgstr ""
+
+#~ msgid "[`td.1`][`td.1`] ([pt][pt2], [fr][fr2], [eo][eo2], [es][es2]);"
+#~ msgstr ""
+
+#~ msgid "[`tdrc.5`][`tdrc.5`] ([pt][pt3], [fr][fr3], [eo][eo3], [es][es3]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.tutorial.7`][`td.tutorial.7`] ([pt][pt4], [fr][fr4], [eo][eo4], "
+#~ "[es][es4]);"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`td.recipes.7`][`td.recipes.7`] ([pt][pt5], [fr][fr5], [eo][eo5], "
+#~ "[es][es5]);"
+#~ msgstr ""
+
+#~ msgid "[`td.why.7`][`td.why.7`] ([pt][pt6], [fr][fr6], [eo][eo6], [es][es6])."
+#~ msgstr ""
+
+#~ msgid "git-permalink"
+#~ msgstr ""
+
+#~ msgid "[pt][pt1] | [fr][fr1] | [eo][eo1]"
+#~ msgstr ""
+
+#~ msgid "Git extension to generate web permalinks of files in a repository."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "It knows about many of the existing code forges, but allows for URL template"
+#~ " overrides to be used on custom domains or deployments via git config."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "# setup example \"remembering\" repository\n"
+#~ "$ git clone https://euandreh.xyz/remembering.git\n"
+#~ "$ cd remembering/\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Now inside the repository folder, running `git permalink` will try building "
+#~ "the web URL of the given file and use `xdg-open` to launch the browser (or "
+#~ "whatever is configured):"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink tests/ranking.sh\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e\n"
+#~ "$ git permalink tests/ranking.sh 23\n"
+#~ "Opening https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Or if you just want to output the link without invoking `xdg-open`, you can "
+#~ "use the `-p` flag:"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "$ git permalink -p tests/ranking.sh 23\n"
+#~ "https://euandreh.xyz/remembering.git/tree/tests/ranking.sh?id=44533e2df144e7749a382e298aea53ca11a2239e#n23\n"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[`git-permalink.1`][`git-permalink.1`] ([pt][pt2], [fr][fr2], [eo][eo2])."
+#~ msgstr ""
+
+#~ msgid "[homepage](https://euandreh.xyz/git-permalink/en/)"
+#~ msgstr ""
+
+#~ msgid "[source code](https://euandreh.xyz/git-permalink.git/)"
+#~ msgstr ""
+
+#~ msgid "[bug tracking](https://euandreh.xyz/git-permalink/TODOs.html)"
+#~ msgstr ""
+
+#~ msgid "[CI logs](https://euandreh.xyz/git-permalink/ci.html)"
+#~ msgstr ""
+
+#~ msgid "[CHANGELOG](https://euandreh.xyz/git-permalink/en/CHANGELOG.html)"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.1) [git-"
+#~ "permalink-v0.3.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.1.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.3.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.0) [git-"
+#~ "permalink-v0.3.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.3.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.3.0.tar.gz.asc)) - 2022-01-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.3](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.3) [git-"
+#~ "permalink-v0.2.3.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.3.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.3.tar.gz.asc)) - 2021-07-16"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.2](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.2) [git-"
+#~ "permalink-v0.2.2.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.2.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.2.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.1) [git-"
+#~ "permalink-v0.2.1.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.1.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.1.tar.gz.asc)) - 2021-06-25"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.2.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.0) [git-"
+#~ "permalink-v0.2.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.2.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.2.0.tar.gz.asc)) - 2021-06-19"
+#~ msgstr ""
+
+#~ msgid ""
+#~ "[v0.1.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.1.0) [git-"
+#~ "permalink-v0.1.0.tar.gz](https://euandreh.xyz/git-"
+#~ "permalink.git/snapshot/git-permalink-v0.1.0.tar.gz) "
+#~ "([sig](https://euandreh.xyz/git-permalink.git/snapshot/git-"
+#~ "permalink-v0.1.0.tar.gz.asc)) - 2021-06-13"
+#~ msgstr ""
+
+#, fuzzy
+#~ msgid "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+#~ msgstr "[pt1]: https://euandreh.xyz/git-permalink/pt/"
+
+#, fuzzy
+#~ msgid "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+#~ msgstr "[fr1]: https://euandreh.xyz/git-permalink/fr/"
+
+#, fuzzy
+#~ msgid "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+#~ msgstr "[eo1]: https://euandreh.xyz/git-permalink/eo/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+#~ msgstr ""
+#~ "[`git-permalink.1`]: https://euandreh.xyz/git-permalink/en/git-"
+#~ "permalink.1.html"
+
+#, fuzzy
+#~ msgid "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+#~ msgstr "[pt2]: https://euandreh.xyz/git-permalink/pt/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+#~ msgstr "[fr2]: https://euandreh.xyz/git-permalink/fr/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+#~ msgstr "[eo2]: https://euandreh.xyz/git-permalink/eo/git-permalink.1.html"
+
+#, fuzzy
+#~ msgid "[graphviz]: https://graphviz.org/"
+#~ msgstr "[graphviz]: https://graphviz.org/"
+
+#, fuzzy
+#~ msgid ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+#~ msgstr ""
+#~ "[mailing list]: https://lists.sr.ht/~euandreh/public-inbox?search=%5Bgit-"
+#~ "permalink%5D"
+
+#, fuzzy
+#~ msgid ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
+#~ msgstr ""
+#~ "[AGPL-3.0-or-later]: https://euandreh.xyz/git-permalink.git/tree/COPYING"
diff --git a/po/LC_MESSAGES/doc/td.en.1.in/eo.po b/po/LC_MESSAGES/doc/td.en.1.in/eo.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.en.1.in/eo.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.en.1.in/es.po b/po/LC_MESSAGES/doc/td.en.1.in/es.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.en.1.in/es.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.en.1.in/fr.po b/po/LC_MESSAGES/doc/td.en.1.in/fr.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.en.1.in/fr.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.en.1.in/pt.po b/po/LC_MESSAGES/doc/td.en.1.in/pt.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.en.1.in/pt.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.recipes.en.7.in/eo.po b/po/LC_MESSAGES/doc/td.recipes.en.7.in/eo.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.recipes.en.7.in/eo.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.recipes.en.7.in/es.po b/po/LC_MESSAGES/doc/td.recipes.en.7.in/es.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.recipes.en.7.in/es.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.recipes.en.7.in/fr.po b/po/LC_MESSAGES/doc/td.recipes.en.7.in/fr.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.recipes.en.7.in/fr.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.recipes.en.7.in/pt.po b/po/LC_MESSAGES/doc/td.recipes.en.7.in/pt.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.recipes.en.7.in/pt.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.tutorial.en.7.in/eo.po b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/eo.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/eo.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.tutorial.en.7.in/es.po b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/es.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/es.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.tutorial.en.7.in/fr.po b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/fr.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/fr.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.tutorial.en.7.in/pt.po b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/pt.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.tutorial.en.7.in/pt.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.why.en.7.in/eo.po b/po/LC_MESSAGES/doc/td.why.en.7.in/eo.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.why.en.7.in/eo.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.why.en.7.in/es.po b/po/LC_MESSAGES/doc/td.why.en.7.in/es.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.why.en.7.in/es.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.why.en.7.in/fr.po b/po/LC_MESSAGES/doc/td.why.en.7.in/fr.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.why.en.7.in/fr.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/td.why.en.7.in/pt.po b/po/LC_MESSAGES/doc/td.why.en.7.in/pt.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/td.why.en.7.in/pt.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/tdrc.en.5.in/eo.po b/po/LC_MESSAGES/doc/tdrc.en.5.in/eo.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/tdrc.en.5.in/eo.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/tdrc.en.5.in/es.po b/po/LC_MESSAGES/doc/tdrc.en.5.in/es.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/tdrc.en.5.in/es.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/tdrc.en.5.in/fr.po b/po/LC_MESSAGES/doc/tdrc.en.5.in/fr.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/tdrc.en.5.in/fr.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/doc/tdrc.en.5.in/pt.po b/po/LC_MESSAGES/doc/tdrc.en.5.in/pt.po
new file mode 100644
index 0000000..65aadd5
--- /dev/null
+++ b/po/LC_MESSAGES/doc/tdrc.en.5.in/pt.po
@@ -0,0 +1,18 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
diff --git a/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/eo.po b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/eo.po
new file mode 100644
index 0000000..d8044bc
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/ADDED_LOG.en.txt:1
+msgid "%s added to %s."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/es.po b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/es.po
new file mode 100644
index 0000000..d8044bc
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/ADDED_LOG.en.txt:1
+msgid "%s added to %s."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/fr.po b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/fr.po
new file mode 100644
index 0000000..77777dc
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/ADDED_LOG.en.txt:1
+msgid "%s added to %s."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/pt.po b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/pt.po
new file mode 100644
index 0000000..77777dc
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/ADDED_LOG.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/ADDED_LOG.en.txt:1
+msgid "%s added to %s."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/eo.po b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/eo.po
new file mode 100644
index 0000000..0989264
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/COMMIT_MSG.en.txt:1
+msgid "$TD_FILE: Add $TD_IDREF"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/es.po b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/es.po
new file mode 100644
index 0000000..0989264
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/COMMIT_MSG.en.txt:1
+msgid "$TD_FILE: Add $TD_IDREF"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/fr.po b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/fr.po
new file mode 100644
index 0000000..0989264
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/COMMIT_MSG.en.txt:1
+msgid "$TD_FILE: Add $TD_IDREF"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/pt.po b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/pt.po
new file mode 100644
index 0000000..0989264
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/COMMIT_MSG.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/COMMIT_MSG.en.txt:1
+msgid "$TD_FILE: Add $TD_IDREF"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/eo.po b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/eo.po
new file mode 100644
index 0000000..26ed50d
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/FILE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "File \"%s\" doesn't exist yet, creating a brand new one."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/es.po b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/es.po
new file mode 100644
index 0000000..26ed50d
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/FILE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "File \"%s\" doesn't exist yet, creating a brand new one."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/fr.po b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/fr.po
new file mode 100644
index 0000000..26ed50d
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/FILE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "File \"%s\" doesn't exist yet, creating a brand new one."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/pt.po b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/pt.po
new file mode 100644
index 0000000..26ed50d
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/FILE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "File \"%s\" doesn't exist yet, creating a brand new one."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP1.en.txt/eo.po b/po/LC_MESSAGES/src/locale/HELP1.en.txt/eo.po
new file mode 100644
index 0000000..a93aae5
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP1.en.txt/eo.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-17 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:13
+#, no-wrap
+msgid ""
+"Options:\n"
+" -c commit directly only with the title, without\n"
+" adding a description. Assumes -m\n"
+" -m MESSAGE_TITLE the title message of the entry\n"
+" -t TYPE the type of entry to be added (default: |TYPE|)\n"
+" -s STATE the state of entry to be added (default: |STATE|)\n"
+" -H pre-process issues file before generating HTML\n"
+" -l list the supported values for $TD_USE_BUILTIN_HOOKS\n"
+" -L lint the issues file\n"
+" -h, --help show this help message\n"
+" -V, --version print the version number\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:17
+#, no-wrap
+msgid ""
+"Examples:\n"
+" Create a new entry with the default type with a custom title:\n"
+" $ td -cm 'An entry title'\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:20
+#, no-wrap
+msgid ""
+" Create a new entry with a custom type and state:\n"
+" $ td -cm 'Another title' -t bug -s DONE\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:21
+msgid "States of an entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP1.en.txt/es.po b/po/LC_MESSAGES/src/locale/HELP1.en.txt/es.po
new file mode 100644
index 0000000..a93aae5
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP1.en.txt/es.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-17 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:13
+#, no-wrap
+msgid ""
+"Options:\n"
+" -c commit directly only with the title, without\n"
+" adding a description. Assumes -m\n"
+" -m MESSAGE_TITLE the title message of the entry\n"
+" -t TYPE the type of entry to be added (default: |TYPE|)\n"
+" -s STATE the state of entry to be added (default: |STATE|)\n"
+" -H pre-process issues file before generating HTML\n"
+" -l list the supported values for $TD_USE_BUILTIN_HOOKS\n"
+" -L lint the issues file\n"
+" -h, --help show this help message\n"
+" -V, --version print the version number\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:17
+#, no-wrap
+msgid ""
+"Examples:\n"
+" Create a new entry with the default type with a custom title:\n"
+" $ td -cm 'An entry title'\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:20
+#, no-wrap
+msgid ""
+" Create a new entry with a custom type and state:\n"
+" $ td -cm 'Another title' -t bug -s DONE\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:21
+msgid "States of an entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP1.en.txt/fr.po b/po/LC_MESSAGES/src/locale/HELP1.en.txt/fr.po
new file mode 100644
index 0000000..a93aae5
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP1.en.txt/fr.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-17 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:13
+#, no-wrap
+msgid ""
+"Options:\n"
+" -c commit directly only with the title, without\n"
+" adding a description. Assumes -m\n"
+" -m MESSAGE_TITLE the title message of the entry\n"
+" -t TYPE the type of entry to be added (default: |TYPE|)\n"
+" -s STATE the state of entry to be added (default: |STATE|)\n"
+" -H pre-process issues file before generating HTML\n"
+" -l list the supported values for $TD_USE_BUILTIN_HOOKS\n"
+" -L lint the issues file\n"
+" -h, --help show this help message\n"
+" -V, --version print the version number\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:17
+#, no-wrap
+msgid ""
+"Examples:\n"
+" Create a new entry with the default type with a custom title:\n"
+" $ td -cm 'An entry title'\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:20
+#, no-wrap
+msgid ""
+" Create a new entry with a custom type and state:\n"
+" $ td -cm 'Another title' -t bug -s DONE\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:21
+msgid "States of an entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP1.en.txt/pt.po b/po/LC_MESSAGES/src/locale/HELP1.en.txt/pt.po
new file mode 100644
index 0000000..a93aae5
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP1.en.txt/pt.po
@@ -0,0 +1,56 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-17 09:11-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:13
+#, no-wrap
+msgid ""
+"Options:\n"
+" -c commit directly only with the title, without\n"
+" adding a description. Assumes -m\n"
+" -m MESSAGE_TITLE the title message of the entry\n"
+" -t TYPE the type of entry to be added (default: |TYPE|)\n"
+" -s STATE the state of entry to be added (default: |STATE|)\n"
+" -H pre-process issues file before generating HTML\n"
+" -l list the supported values for $TD_USE_BUILTIN_HOOKS\n"
+" -L lint the issues file\n"
+" -h, --help show this help message\n"
+" -V, --version print the version number\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:17
+#, no-wrap
+msgid ""
+"Examples:\n"
+" Create a new entry with the default type with a custom title:\n"
+" $ td -cm 'An entry title'\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:20
+#, no-wrap
+msgid ""
+" Create a new entry with a custom type and state:\n"
+" $ td -cm 'Another title' -t bug -s DONE\n"
+msgstr ""
+
+#. type: Plain text
+#: src/locale/HELP1.en.txt:21
+msgid "States of an entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP2.en.txt/eo.po b/po/LC_MESSAGES/src/locale/HELP2.en.txt/eo.po
new file mode 100644
index 0000000..96e95ef
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP2.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP2.en.txt:1
+msgid "Types of entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP2.en.txt/es.po b/po/LC_MESSAGES/src/locale/HELP2.en.txt/es.po
new file mode 100644
index 0000000..96e95ef
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP2.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP2.en.txt:1
+msgid "Types of entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP2.en.txt/fr.po b/po/LC_MESSAGES/src/locale/HELP2.en.txt/fr.po
new file mode 100644
index 0000000..96e95ef
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP2.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP2.en.txt:1
+msgid "Types of entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP2.en.txt/pt.po b/po/LC_MESSAGES/src/locale/HELP2.en.txt/pt.po
new file mode 100644
index 0000000..96e95ef
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP2.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP2.en.txt:1
+msgid "Types of entry:"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP3.en.txt/eo.po b/po/LC_MESSAGES/src/locale/HELP3.en.txt/eo.po
new file mode 100644
index 0000000..e990451
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP3.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP3.en.txt:1
+msgid "See \"man td.tutorial\" for getting started."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP3.en.txt/es.po b/po/LC_MESSAGES/src/locale/HELP3.en.txt/es.po
new file mode 100644
index 0000000..e990451
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP3.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP3.en.txt:1
+msgid "See \"man td.tutorial\" for getting started."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP3.en.txt/fr.po b/po/LC_MESSAGES/src/locale/HELP3.en.txt/fr.po
new file mode 100644
index 0000000..e990451
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP3.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP3.en.txt:1
+msgid "See \"man td.tutorial\" for getting started."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/HELP3.en.txt/pt.po b/po/LC_MESSAGES/src/locale/HELP3.en.txt/pt.po
new file mode 100644
index 0000000..e990451
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/HELP3.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/HELP3.en.txt:1
+msgid "See \"man td.tutorial\" for getting started."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/eo.po b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/eo.po
new file mode 100644
index 0000000..4e5e482
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "Type \"%s\" doesn't exist yet, creating new section with it."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/es.po b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/es.po
new file mode 100644
index 0000000..4e5e482
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "Type \"%s\" doesn't exist yet, creating new section with it."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/fr.po b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/fr.po
new file mode 100644
index 0000000..4e5e482
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "Type \"%s\" doesn't exist yet, creating new section with it."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/pt.po b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/pt.po
new file mode 100644
index 0000000..4e5e482
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt:1
+msgid "Type \"%s\" doesn't exist yet, creating new section with it."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/eo.po b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/eo.po
new file mode 100644
index 0000000..a781cf9
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNEDITED_ENTRY.en.txt:1
+msgid "Abandoning unedited entry."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/es.po b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/es.po
new file mode 100644
index 0000000..a781cf9
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNEDITED_ENTRY.en.txt:1
+msgid "Abandoning unedited entry."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/fr.po b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/fr.po
new file mode 100644
index 0000000..a781cf9
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNEDITED_ENTRY.en.txt:1
+msgid "Abandoning unedited entry."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/pt.po b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/pt.po
new file mode 100644
index 0000000..a781cf9
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNEDITED_ENTRY.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNEDITED_ENTRY.en.txt:1
+msgid "Abandoning unedited entry."
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/eo.po b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/eo.po
new file mode 100644
index 0000000..bb4f9ec
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/eo.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNREGISTERED_TYPE.en.txt:1
+msgid "Unregistered type: %s"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/es.po b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/es.po
new file mode 100644
index 0000000..bb4f9ec
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/es.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNREGISTERED_TYPE.en.txt:1
+msgid "Unregistered type: %s"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/fr.po b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/fr.po
new file mode 100644
index 0000000..bb4f9ec
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/fr.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNREGISTERED_TYPE.en.txt:1
+msgid "Unregistered type: %s"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/pt.po b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/pt.po
new file mode 100644
index 0000000..bb4f9ec
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/UNREGISTERED_TYPE.en.txt/pt.po
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/UNREGISTERED_TYPE.en.txt:1
+msgid "Unregistered type: %s"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/USAGE.en.txt/eo.po b/po/LC_MESSAGES/src/locale/USAGE.en.txt/eo.po
new file mode 100644
index 0000000..683adde
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/USAGE.en.txt/eo.po
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/USAGE.en.txt:4
+#, no-wrap
+msgid ""
+"Usage:\n"
+" td [-c] [-t TYPE] [-m MESSAGE]\n"
+" td [-HlL]\n"
+" td [-hV]\n"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/USAGE.en.txt/es.po b/po/LC_MESSAGES/src/locale/USAGE.en.txt/es.po
new file mode 100644
index 0000000..683adde
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/USAGE.en.txt/es.po
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/USAGE.en.txt:4
+#, no-wrap
+msgid ""
+"Usage:\n"
+" td [-c] [-t TYPE] [-m MESSAGE]\n"
+" td [-HlL]\n"
+" td [-hV]\n"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/USAGE.en.txt/fr.po b/po/LC_MESSAGES/src/locale/USAGE.en.txt/fr.po
new file mode 100644
index 0000000..683adde
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/USAGE.en.txt/fr.po
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/USAGE.en.txt:4
+#, no-wrap
+msgid ""
+"Usage:\n"
+" td [-c] [-t TYPE] [-m MESSAGE]\n"
+" td [-HlL]\n"
+" td [-hV]\n"
+msgstr ""
diff --git a/po/LC_MESSAGES/src/locale/USAGE.en.txt/pt.po b/po/LC_MESSAGES/src/locale/USAGE.en.txt/pt.po
new file mode 100644
index 0000000..683adde
--- /dev/null
+++ b/po/LC_MESSAGES/src/locale/USAGE.en.txt/pt.po
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-01-16 09:12-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#: src/locale/USAGE.en.txt:4
+#, no-wrap
+msgid ""
+"Usage:\n"
+" td [-c] [-t TYPE] [-m MESSAGE]\n"
+" td [-HlL]\n"
+" td [-hV]\n"
+msgstr ""
diff --git a/src/locale/ADDED_LOG.en.txt b/src/locale/ADDED_LOG.en.txt
new file mode 100644
index 0000000..1d49c77
--- /dev/null
+++ b/src/locale/ADDED_LOG.en.txt
@@ -0,0 +1 @@
+%s added to %s.
diff --git a/src/locale/ADDED_LOG.eo.txt b/src/locale/ADDED_LOG.eo.txt
new file mode 100644
index 0000000..1d49c77
--- /dev/null
+++ b/src/locale/ADDED_LOG.eo.txt
@@ -0,0 +1 @@
+%s added to %s.
diff --git a/src/locale/ADDED_LOG.es.txt b/src/locale/ADDED_LOG.es.txt
new file mode 100644
index 0000000..1d49c77
--- /dev/null
+++ b/src/locale/ADDED_LOG.es.txt
@@ -0,0 +1 @@
+%s added to %s.
diff --git a/src/locale/ADDED_LOG.fr.txt b/src/locale/ADDED_LOG.fr.txt
new file mode 100644
index 0000000..1d49c77
--- /dev/null
+++ b/src/locale/ADDED_LOG.fr.txt
@@ -0,0 +1 @@
+%s added to %s.
diff --git a/src/locale/ADDED_LOG.pt.txt b/src/locale/ADDED_LOG.pt.txt
new file mode 100644
index 0000000..1d49c77
--- /dev/null
+++ b/src/locale/ADDED_LOG.pt.txt
@@ -0,0 +1 @@
+%s added to %s.
diff --git a/src/locale/COMMIT_MSG.en.txt b/src/locale/COMMIT_MSG.en.txt
new file mode 100644
index 0000000..062e0f2
--- /dev/null
+++ b/src/locale/COMMIT_MSG.en.txt
@@ -0,0 +1 @@
+$TD_FILE: Add $TD_IDREF
diff --git a/src/locale/COMMIT_MSG.eo.txt b/src/locale/COMMIT_MSG.eo.txt
new file mode 100644
index 0000000..062e0f2
--- /dev/null
+++ b/src/locale/COMMIT_MSG.eo.txt
@@ -0,0 +1 @@
+$TD_FILE: Add $TD_IDREF
diff --git a/src/locale/COMMIT_MSG.es.txt b/src/locale/COMMIT_MSG.es.txt
new file mode 100644
index 0000000..062e0f2
--- /dev/null
+++ b/src/locale/COMMIT_MSG.es.txt
@@ -0,0 +1 @@
+$TD_FILE: Add $TD_IDREF
diff --git a/src/locale/COMMIT_MSG.fr.txt b/src/locale/COMMIT_MSG.fr.txt
new file mode 100644
index 0000000..062e0f2
--- /dev/null
+++ b/src/locale/COMMIT_MSG.fr.txt
@@ -0,0 +1 @@
+$TD_FILE: Add $TD_IDREF
diff --git a/src/locale/COMMIT_MSG.pt.txt b/src/locale/COMMIT_MSG.pt.txt
new file mode 100644
index 0000000..062e0f2
--- /dev/null
+++ b/src/locale/COMMIT_MSG.pt.txt
@@ -0,0 +1 @@
+$TD_FILE: Add $TD_IDREF
diff --git a/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt b/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt
new file mode 100644
index 0000000..f76b7d2
--- /dev/null
+++ b/src/locale/FILE_DOESNT_EXIST_CREATING.en.txt
@@ -0,0 +1 @@
+File "%s" doesn't exist yet, creating a brand new one.
diff --git a/src/locale/FILE_DOESNT_EXIST_CREATING.eo.txt b/src/locale/FILE_DOESNT_EXIST_CREATING.eo.txt
new file mode 100644
index 0000000..f76b7d2
--- /dev/null
+++ b/src/locale/FILE_DOESNT_EXIST_CREATING.eo.txt
@@ -0,0 +1 @@
+File "%s" doesn't exist yet, creating a brand new one.
diff --git a/src/locale/FILE_DOESNT_EXIST_CREATING.es.txt b/src/locale/FILE_DOESNT_EXIST_CREATING.es.txt
new file mode 100644
index 0000000..f76b7d2
--- /dev/null
+++ b/src/locale/FILE_DOESNT_EXIST_CREATING.es.txt
@@ -0,0 +1 @@
+File "%s" doesn't exist yet, creating a brand new one.
diff --git a/src/locale/FILE_DOESNT_EXIST_CREATING.fr.txt b/src/locale/FILE_DOESNT_EXIST_CREATING.fr.txt
new file mode 100644
index 0000000..f76b7d2
--- /dev/null
+++ b/src/locale/FILE_DOESNT_EXIST_CREATING.fr.txt
@@ -0,0 +1 @@
+File "%s" doesn't exist yet, creating a brand new one.
diff --git a/src/locale/FILE_DOESNT_EXIST_CREATING.pt.txt b/src/locale/FILE_DOESNT_EXIST_CREATING.pt.txt
new file mode 100644
index 0000000..f76b7d2
--- /dev/null
+++ b/src/locale/FILE_DOESNT_EXIST_CREATING.pt.txt
@@ -0,0 +1 @@
+File "%s" doesn't exist yet, creating a brand new one.
diff --git a/src/locale/HELP1.en.txt b/src/locale/HELP1.en.txt
new file mode 100644
index 0000000..f443055
--- /dev/null
+++ b/src/locale/HELP1.en.txt
@@ -0,0 +1,21 @@
+
+Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+States of an entry:
diff --git a/src/locale/HELP1.eo.txt b/src/locale/HELP1.eo.txt
new file mode 100644
index 0000000..f443055
--- /dev/null
+++ b/src/locale/HELP1.eo.txt
@@ -0,0 +1,21 @@
+
+Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+States of an entry:
diff --git a/src/locale/HELP1.es.txt b/src/locale/HELP1.es.txt
new file mode 100644
index 0000000..f443055
--- /dev/null
+++ b/src/locale/HELP1.es.txt
@@ -0,0 +1,21 @@
+
+Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+States of an entry:
diff --git a/src/locale/HELP1.fr.txt b/src/locale/HELP1.fr.txt
new file mode 100644
index 0000000..f443055
--- /dev/null
+++ b/src/locale/HELP1.fr.txt
@@ -0,0 +1,21 @@
+
+Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+States of an entry:
diff --git a/src/locale/HELP1.pt.txt b/src/locale/HELP1.pt.txt
new file mode 100644
index 0000000..f443055
--- /dev/null
+++ b/src/locale/HELP1.pt.txt
@@ -0,0 +1,21 @@
+
+Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+States of an entry:
diff --git a/src/locale/HELP2.en.txt b/src/locale/HELP2.en.txt
new file mode 100644
index 0000000..a050854
--- /dev/null
+++ b/src/locale/HELP2.en.txt
@@ -0,0 +1 @@
+Types of entry:
diff --git a/src/locale/HELP2.eo.txt b/src/locale/HELP2.eo.txt
new file mode 100644
index 0000000..a050854
--- /dev/null
+++ b/src/locale/HELP2.eo.txt
@@ -0,0 +1 @@
+Types of entry:
diff --git a/src/locale/HELP2.es.txt b/src/locale/HELP2.es.txt
new file mode 100644
index 0000000..a050854
--- /dev/null
+++ b/src/locale/HELP2.es.txt
@@ -0,0 +1 @@
+Types of entry:
diff --git a/src/locale/HELP2.fr.txt b/src/locale/HELP2.fr.txt
new file mode 100644
index 0000000..a050854
--- /dev/null
+++ b/src/locale/HELP2.fr.txt
@@ -0,0 +1 @@
+Types of entry:
diff --git a/src/locale/HELP2.pt.txt b/src/locale/HELP2.pt.txt
new file mode 100644
index 0000000..a050854
--- /dev/null
+++ b/src/locale/HELP2.pt.txt
@@ -0,0 +1 @@
+Types of entry:
diff --git a/src/locale/HELP3.en.txt b/src/locale/HELP3.en.txt
new file mode 100644
index 0000000..b3ff327
--- /dev/null
+++ b/src/locale/HELP3.en.txt
@@ -0,0 +1 @@
+See "man td.tutorial" for getting started.
diff --git a/src/locale/HELP3.eo.txt b/src/locale/HELP3.eo.txt
new file mode 100644
index 0000000..b3ff327
--- /dev/null
+++ b/src/locale/HELP3.eo.txt
@@ -0,0 +1 @@
+See "man td.tutorial" for getting started.
diff --git a/src/locale/HELP3.es.txt b/src/locale/HELP3.es.txt
new file mode 100644
index 0000000..b3ff327
--- /dev/null
+++ b/src/locale/HELP3.es.txt
@@ -0,0 +1 @@
+See "man td.tutorial" for getting started.
diff --git a/src/locale/HELP3.fr.txt b/src/locale/HELP3.fr.txt
new file mode 100644
index 0000000..b3ff327
--- /dev/null
+++ b/src/locale/HELP3.fr.txt
@@ -0,0 +1 @@
+See "man td.tutorial" for getting started.
diff --git a/src/locale/HELP3.pt.txt b/src/locale/HELP3.pt.txt
new file mode 100644
index 0000000..b3ff327
--- /dev/null
+++ b/src/locale/HELP3.pt.txt
@@ -0,0 +1 @@
+See "man td.tutorial" for getting started.
diff --git a/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt b/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt
new file mode 100644
index 0000000..d7eb7d0
--- /dev/null
+++ b/src/locale/TYPE_DOESNT_EXIST_CREATING.en.txt
@@ -0,0 +1 @@
+Type "%s" doesn't exist yet, creating new section with it.
diff --git a/src/locale/TYPE_DOESNT_EXIST_CREATING.eo.txt b/src/locale/TYPE_DOESNT_EXIST_CREATING.eo.txt
new file mode 100644
index 0000000..d7eb7d0
--- /dev/null
+++ b/src/locale/TYPE_DOESNT_EXIST_CREATING.eo.txt
@@ -0,0 +1 @@
+Type "%s" doesn't exist yet, creating new section with it.
diff --git a/src/locale/TYPE_DOESNT_EXIST_CREATING.es.txt b/src/locale/TYPE_DOESNT_EXIST_CREATING.es.txt
new file mode 100644
index 0000000..d7eb7d0
--- /dev/null
+++ b/src/locale/TYPE_DOESNT_EXIST_CREATING.es.txt
@@ -0,0 +1 @@
+Type "%s" doesn't exist yet, creating new section with it.
diff --git a/src/locale/TYPE_DOESNT_EXIST_CREATING.fr.txt b/src/locale/TYPE_DOESNT_EXIST_CREATING.fr.txt
new file mode 100644
index 0000000..d7eb7d0
--- /dev/null
+++ b/src/locale/TYPE_DOESNT_EXIST_CREATING.fr.txt
@@ -0,0 +1 @@
+Type "%s" doesn't exist yet, creating new section with it.
diff --git a/src/locale/TYPE_DOESNT_EXIST_CREATING.pt.txt b/src/locale/TYPE_DOESNT_EXIST_CREATING.pt.txt
new file mode 100644
index 0000000..d7eb7d0
--- /dev/null
+++ b/src/locale/TYPE_DOESNT_EXIST_CREATING.pt.txt
@@ -0,0 +1 @@
+Type "%s" doesn't exist yet, creating new section with it.
diff --git a/src/locale/UNEDITED_ENTRY.en.txt b/src/locale/UNEDITED_ENTRY.en.txt
new file mode 100644
index 0000000..ed413d0
--- /dev/null
+++ b/src/locale/UNEDITED_ENTRY.en.txt
@@ -0,0 +1 @@
+Abandoning unedited entry.
diff --git a/src/locale/UNEDITED_ENTRY.eo.txt b/src/locale/UNEDITED_ENTRY.eo.txt
new file mode 100644
index 0000000..ed413d0
--- /dev/null
+++ b/src/locale/UNEDITED_ENTRY.eo.txt
@@ -0,0 +1 @@
+Abandoning unedited entry.
diff --git a/src/locale/UNEDITED_ENTRY.es.txt b/src/locale/UNEDITED_ENTRY.es.txt
new file mode 100644
index 0000000..ed413d0
--- /dev/null
+++ b/src/locale/UNEDITED_ENTRY.es.txt
@@ -0,0 +1 @@
+Abandoning unedited entry.
diff --git a/src/locale/UNEDITED_ENTRY.fr.txt b/src/locale/UNEDITED_ENTRY.fr.txt
new file mode 100644
index 0000000..ed413d0
--- /dev/null
+++ b/src/locale/UNEDITED_ENTRY.fr.txt
@@ -0,0 +1 @@
+Abandoning unedited entry.
diff --git a/src/locale/UNEDITED_ENTRY.pt.txt b/src/locale/UNEDITED_ENTRY.pt.txt
new file mode 100644
index 0000000..ed413d0
--- /dev/null
+++ b/src/locale/UNEDITED_ENTRY.pt.txt
@@ -0,0 +1 @@
+Abandoning unedited entry.
diff --git a/src/locale/UNREGISTERED_TYPE.en.txt b/src/locale/UNREGISTERED_TYPE.en.txt
new file mode 100644
index 0000000..8c12971
--- /dev/null
+++ b/src/locale/UNREGISTERED_TYPE.en.txt
@@ -0,0 +1 @@
+Unregistered type: %s
diff --git a/src/locale/UNREGISTERED_TYPE.eo.txt b/src/locale/UNREGISTERED_TYPE.eo.txt
new file mode 100644
index 0000000..8c12971
--- /dev/null
+++ b/src/locale/UNREGISTERED_TYPE.eo.txt
@@ -0,0 +1 @@
+Unregistered type: %s
diff --git a/src/locale/UNREGISTERED_TYPE.es.txt b/src/locale/UNREGISTERED_TYPE.es.txt
new file mode 100644
index 0000000..8c12971
--- /dev/null
+++ b/src/locale/UNREGISTERED_TYPE.es.txt
@@ -0,0 +1 @@
+Unregistered type: %s
diff --git a/src/locale/UNREGISTERED_TYPE.fr.txt b/src/locale/UNREGISTERED_TYPE.fr.txt
new file mode 100644
index 0000000..8c12971
--- /dev/null
+++ b/src/locale/UNREGISTERED_TYPE.fr.txt
@@ -0,0 +1 @@
+Unregistered type: %s
diff --git a/src/locale/UNREGISTERED_TYPE.pt.txt b/src/locale/UNREGISTERED_TYPE.pt.txt
new file mode 100644
index 0000000..8c12971
--- /dev/null
+++ b/src/locale/UNREGISTERED_TYPE.pt.txt
@@ -0,0 +1 @@
+Unregistered type: %s
diff --git a/src/locale/USAGE.en.txt b/src/locale/USAGE.en.txt
new file mode 100644
index 0000000..fad86bd
--- /dev/null
+++ b/src/locale/USAGE.en.txt
@@ -0,0 +1,4 @@
+Usage:
+ td [-c] [-t TYPE] [-m MESSAGE]
+ td [-HlL]
+ td [-hV]
diff --git a/src/locale/USAGE.eo.txt b/src/locale/USAGE.eo.txt
new file mode 100644
index 0000000..fad86bd
--- /dev/null
+++ b/src/locale/USAGE.eo.txt
@@ -0,0 +1,4 @@
+Usage:
+ td [-c] [-t TYPE] [-m MESSAGE]
+ td [-HlL]
+ td [-hV]
diff --git a/src/locale/USAGE.es.txt b/src/locale/USAGE.es.txt
new file mode 100644
index 0000000..fad86bd
--- /dev/null
+++ b/src/locale/USAGE.es.txt
@@ -0,0 +1,4 @@
+Usage:
+ td [-c] [-t TYPE] [-m MESSAGE]
+ td [-HlL]
+ td [-hV]
diff --git a/src/locale/USAGE.fr.txt b/src/locale/USAGE.fr.txt
new file mode 100644
index 0000000..fad86bd
--- /dev/null
+++ b/src/locale/USAGE.fr.txt
@@ -0,0 +1,4 @@
+Usage:
+ td [-c] [-t TYPE] [-m MESSAGE]
+ td [-HlL]
+ td [-hV]
diff --git a/src/locale/USAGE.pt.txt b/src/locale/USAGE.pt.txt
new file mode 100644
index 0000000..fad86bd
--- /dev/null
+++ b/src/locale/USAGE.pt.txt
@@ -0,0 +1,4 @@
+Usage:
+ td [-c] [-t TYPE] [-m MESSAGE]
+ td [-HlL]
+ td [-hV]
diff --git a/src/locale/load-messages.sh.in b/src/locale/load-messages.sh.in
new file mode 100644
index 0000000..6a3ffef
--- /dev/null
+++ b/src/locale/load-messages.sh.in
@@ -0,0 +1,35 @@
+#!/bin/sh
+set -eu
+
+get_lang() {
+ # LC_MESSAGES="ll_CC.CODESET@modifier" -> ll_CC, where quotes are
+ # optional
+ locale 2>/dev/null |
+ grep ^LC_MESSAGES |
+ cut -d. -f1 |
+ cut -d\" -f2 |
+ cut -d= -f2
+}
+
+locpath() {
+ lang="$1"
+ printf '@LOCALEDIR@/%s/LC_MESSAGES/@NAME@/%s.sh' "$lang" "$lang"
+}
+
+ll_CC="$(get_lang)"
+ll="$(echo "$ll_CC" | cut -d_ -f1)"
+
+if [ -r "$(locpath "$ll")" ]; then
+ # shellcheck source=/dev/null
+ . "$(locpath "$ll")"
+fi
+
+if [ -r "$(locpath "$ll_CC")" ]; then
+ # shellcheck source=/dev/null
+ . "$(locpath "$ll_CC")"
+fi
+
+# locale hierarchy:
+# 1. the language+country specific message
+# 2. the language specific message
+# 3. the default fallback value
diff --git a/src/td.in b/src/td.in
new file mode 100755
index 0000000..6f1c516
--- /dev/null
+++ b/src/td.in
@@ -0,0 +1,540 @@
+#!/bin/sh
+set -eu
+
+MSGS=''
+add_msg() {
+ MSGS="$MSGS $1"
+}
+
+
+MSG_USAGE="$(cat <<-'EOF'
+ Usage:
+ @NAME@ [-c] [-t TYPE] [-m MESSAGE]
+ @NAME@ [-HlL]
+ @NAME@ [-hV]
+EOF
+)"
+add_msg USAGE
+
+MSG_HELP1="$(cat <<-'EOF'
+
+ Options:
+ -c commit directly only with the title, without
+ adding a description. Assumes -m
+ -m MESSAGE_TITLE the title message of the entry
+ -t TYPE the type of entry to be added (default: |TYPE|)
+ -s STATE the state of entry to be added (default: |STATE|)
+ -H pre-process issues file before generating HTML
+ -l list the supported values for $TD_USE_BUILTIN_HOOKS
+ -L lint the issues file
+ -h, --help show this help message
+ -V, --version print the version number
+
+ Examples:
+ Create a new entry with the default type with a custom title:
+ $ td -cm 'An entry title'
+
+ Create a new entry with a custom type and state:
+ $ td -cm 'Another title' -t bug -s DONE
+
+ States of an entry:
+EOF
+)"
+add_msg HELP1
+
+MSG_HELP2="$(cat <<-'EOF'
+ Types of entry:
+EOF
+)"
+add_msg HELP2
+
+MSG_HELP3="$(cat <<-'EOF'
+ See "man @NAME@.tutorial" for getting started.
+EOF
+)"
+add_msg HELP3
+
+MSG_UNEDITED_ENTRY="$(cat <<-'EOF'
+ Abandoning unedited entry.
+EOF
+)"
+add_msg UNEDITED_ENTRY
+
+MSG_UNREGISTERED_TYPE="$(cat <<-'EOF'
+ Unregistered type: %s
+EOF
+)"
+add_msg UNREGISTERED_TYPE
+
+MSG_UNREGISTERED_STATE="$(cat <<-'EOF'
+ Unregistered state: %s
+EOF
+)"
+add_msg UNREGISTERED_TYPE
+
+MSG_ADDED_LOG="$(cat <<-'EOF'
+ %s added to %s.
+EOF
+)"
+add_msg ADDED_LOG
+
+MSG_COMMIT_MSG="$(cat <<-'EOF'
+ $TD_FILE: Add $TD_IDREF
+EOF
+)"
+add_msg COMMIT_MSG
+
+MSG_TYPE_DOESNT_EXIST_CREATING="$(cat <<-'EOF'
+ Type "%s" doesn't exist yet, creating new section with it.
+EOF
+)"
+add_msg TYPE_DOESNT_EXIST_CREATING
+
+MSG_FILE_DOESNT_EXIST_CREATING="$(cat <<-'EOF'
+ File "%s" doesn't exist yet, creating a brand new one.
+EOF
+)"
+add_msg FILE_DOESNT_EXIST_CREATING
+
+#
+# End translatable strings
+#
+
+
+
+dump_translatable_strings() {
+ for msg in $MSGS; do
+ eval "echo \"\$MSG_$msg\"" > src/locale/"$msg".en.txt
+ done
+
+ cat <<-'EOF'
+ #!/bin/sh
+ # shellcheck disable=2034
+ set -eu
+
+ EOF
+ for msg in $MSGS; do
+ printf 'MSG_%s="$(cat @LOCALEDIR@/@LANG@/LC_MESSAGES/@NAME@/%s.@LANG@.txt)"\n' \
+ "$msg" "$msg"
+ done
+}
+
+if [ -n "${TD_DUMP_TRANSLATABLE_STRINGS:-}" ]; then
+ dump_translatable_strings
+ exit
+fi
+
+if [ -r '@LIBEXECDIR@/@NAME@/load-messages.sh' ]; then
+ . '@LIBEXECDIR@/@NAME@/load-messages.sh'
+fi
+
+
+
+#
+# Documentation functions
+#
+
+usage() {
+ printf '%s\n' "$MSG_USAGE"
+}
+
+help() {
+ printf '%s\n' "$MSG_HELP1" |
+ sed -e "s/|TYPE|/$DEFAULT_TYPE/" \
+ -e "s/|STATE|/$DEFAULT_STATE/"
+ echo "$TD_STATES" | sed -e 's/^/ /'
+
+ printf '\n%s\n' "$MSG_HELP2"
+ echo "$TD_TYPES" | awk -F: '{ printf " %s\n", $1 }'
+
+ printf '\n%s\n' "$MSG_HELP3"
+}
+
+version() {
+ printf '@NAME@-@VERSION@ @DATE@\n'
+}
+
+
+#
+# Utilities
+#
+
+uuid() {
+ # Taken from:
+ # https://serverfault.com/a/799198
+ od -xN20 /dev/urandom |
+ head -n 1 |
+ awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
+}
+
+mkstemp() {
+ F="${TMPDIR:-/tmp}/td-${1:-$(uuid)}"
+ touch "$F"
+ echo "$F"
+}
+
+mkdtemp() {
+ F="${TMPDIR:-/tmp}/td-${1:-$(uuid)}"
+ mkdir -p "$F"
+ echo "$F"
+}
+
+
+#
+# Core functions
+#
+
+insert_at_line() {
+ N="$1"
+ F="$2"
+ TYPE="$3"
+ TMPF="$(mkstemp)"
+
+ if [ ! -e "$F" ]; then
+ printf "$MSG_FILE_DOESNT_EXIST_CREATING\n" "$TD_FILE" >&2
+ cat - > "$TMPF"
+ elif [ "$N" = 0 ]; then
+ printf "$MSG_TYPE_DOESNT_EXIST_CREATING\n" "$TYPE" >&2
+ printf '%s\n\n\n%s\n' \
+ "$(cat -)" \
+ "$(cat "$F")" \
+ > "$TMPF"
+ else
+ printf '%s\n\n%s\n\n%s\n' \
+ "$(head "-n$N" "$F")" \
+ "$(cat -)" \
+ "$(tail "-n+$((N+1))" "$F")" \
+ > "$TMPF"
+ fi
+
+ cp "$TMPF" "$F"
+}
+
+name_for_type() {
+ TYPE="$1"
+ echo "$TD_TYPES" | awk -F: "/^$TYPE:/ { print \$2; exit }"
+}
+
+linenumber_for_type() {
+ TYPE="$1"
+ if [ ! -e "$TD_FILE" ]; then
+ echo ''
+ else
+ NAME="$(name_for_type "$TYPE")"
+ awk -F: "/^# $NAME\$/ {print NR; exit}" "$TD_FILE"
+ fi
+}
+
+
+GIT_BUILTIN_PRE_ADD_HOOK="$(cat <<-EOF
+ if ! git diff --exit-code --quiet -- "\$TD_FILE" ||
+ ! git diff --exit-code --quiet --staged -- "\$TD_FILE"
+ then
+ git stash push --quiet -- "\$TD_FILE"
+ touch "\$TD_HOOKS_DIR/has-diff"
+ fi
+EOF
+)"
+GIT_BUILTIN_POST_ADD_HOOK="$(cat <<-EOF
+ git add "\$TD_FILE"
+ git commit -m "$MSG_COMMIT_MSG"
+ if [ -e "\$TD_HOOKS_DIR/has-diff" ]; then
+ git stash pop --quiet
+ fi
+EOF
+)"
+load_hooks() {
+ case "${TD_USE_BUILTIN_HOOKS:-}" in
+ git)
+ export TD_PRE_ADD_HOOK="${TD_PRE_ADD_HOOK:-$GIT_BUILTIN_PRE_ADD_HOOK}"
+ export TD_POST_ADD_HOOK="${TD_POST_ADD_HOOK:-$GIT_BUILTIN_POST_ADD_HOOK}"
+ ;;
+ *)
+ ;;
+ esac
+}
+
+list_hooks() {
+ for t in git; do
+ TD_USE_BUILTIN_HOOKS="$t"
+ load_hooks
+ printf '%s:\n' "$t"
+ printf ' TD_PRE_ADD_HOOK:\n'
+ printf '%s\n' "$TD_PRE_ADD_HOOK" | sed 's/^/ /'
+ printf ' TD_POST_ADD_HOOK:\n'
+ printf '%s\n' "$TD_POST_ADD_HOOK" | sed 's/^/ /'
+ done
+}
+
+pre_add_hook() {
+ sh -c "${TD_PRE_ADD_HOOK:-}"
+}
+
+post_add_hook() {
+ sh -c "${TD_POST_ADD_HOOK:-}"
+}
+
+
+
+#
+# HTML pre-processing
+#
+
+html_inject_checkboxes() {
+ awk '{
+ if (match($0, /^(-|[0-9]*.) \[( |x)\] /)) {
+ printf \
+ "%s <input type=\"checkbox\" disabled %s/> %s\n",
+ $1,
+ substr($2, 2, 1) == "x" ? "checked " : "",
+ substr($0, 1 + length($1) + length(" [ ] "))
+ } else {
+ print
+ }
+ }'
+}
+
+html_process_tags() {
+ sed 's|tag:\([^ ]*\)|<span class="tag">\1</span>|g'
+}
+
+html_process_ids() {
+ STATES_REGEX="$(
+ echo "$TD_STATES" |
+ grep . |
+ paste -sd '|' |
+ sed 's/|/\\|/g' |
+ printf '\(%s\)' "$(cat -)"
+ )"
+
+ sed 's:^## '"$STATES_REGEX"' \(.*\) {#\(.*\)}\(.*\)$:## <a href="#\3"><span class="\1">\1</span> \2</a>\4\
+<pre class="header-anchor" id="\3">#\3</pre>\
+:g'
+}
+
+html_pre_process() {
+ html_inject_checkboxes |
+ html_process_tags |
+ html_process_ids
+}
+
+
+
+#
+# Linting
+#
+
+lint_assert_order() {
+ GREP_FLAGS="$(echo "$TD_TYPES" | cut -d: -f2- | sed 's/\(.*\)/-e "\1"/' | tr '\n' ' ')"
+ echo eval "grep -F $GREP_FLAGS $TD_FILE"
+}
+
+known_heading() {
+ line="$1"
+ TYPE_HEADINGS="$2"
+ while read -r heading; do
+ if [ "$heading" = "$line" ]; then
+ return 0
+ fi
+ done < "$TYPE_HEADINGS"
+ return 1
+}
+
+warning() {
+ echo "$1" "$2" "$3"
+}
+
+lint() {
+ TYPE_HEADINGS="$(mkstemp)"
+ echo "$TD_TYPES" | cut -d: -f2- | sed 's/^/# /' > "$TYPE_HEADINGS"
+ IN_TD_SECTION=false
+ IN_TD_ENTRY=false
+ LINE_NUMBER=0
+ while read -r line; do
+ LINE_NUMBER=$((LINE_NUMBER + 1))
+ if [ "$IN_TD_SECTION" = false ]; then
+ if known_heading "$line" "$TYPE_HEADINGS"; then
+ IN_TD_SECTION=true
+ fi
+ fi
+
+ if [ "$IN_TD_SECTION" = false ]; then
+ continue
+ fi
+
+ if echo "$line" | grep -q '^# .*' &&
+ ! known_heading "$line" "$TYPE_HEADINGS"; then
+ break
+ else
+ IN_TD_ENTRY=false
+ echo "$line" | grep -q '^#.*'
+ # continue
+ fi
+
+ if echo "$line" | grep -q '^## .*'; then
+ IN_TD_ENTRY=true
+ fi
+
+ if [ "$IN_TD_ENTRY" = false ] && [ "$line" != '' ]; then
+ warning "$TD_FILE" "$LINE_NUMBER" \
+ 'Content outside of td entry'
+ fi
+ done < "$TD_FILE"
+}
+
+
+
+#
+# Default values, config "run commands" file and derived values
+#
+
+ID="$(uuid)"
+export TD_IDREF="#td-$ID"
+export TD_FILE='TODOs.md'
+export TD_TYPES="$(cat <<-'EOF'
+ task:Tasks
+ bug:Bugs
+ improvement:Improvements
+ question:Questions
+ decision:Decisions
+ idea:Ideas
+ proposal:Proposals
+EOF
+)"
+export TD_STATES="$(cat <<-'EOF'
+ TODO
+ DOING
+ WAITING
+ INACTIVE
+ NEXT
+ CANCELLED
+ DONE
+ WONTFIX
+EOF
+)"
+export TD_HOOKS_DIR="$(mkdtemp)"
+
+if [ -r "$PWD/.tdrc" ]; then
+ . "$PWD/.tdrc"
+fi
+
+DEFAULT_TYPE="$(echo "$TD_TYPES" | awk -F: '{ print $1; exit }')"
+DEFAULT_STATE="$(echo "$TD_STATES" | awk -F: '{ print $1; exit }')"
+TYPE="$DEFAULT_TYPE"
+STATE="$DEFAULT_STATE"
+NAME="$(name_for_type "$TYPE")"
+
+load_hooks
+
+
+
+#
+# Main
+#
+
+for flag in "$@"; do
+ case "$flag" in
+ --)
+ break
+ ;;
+ --help)
+ usage
+ help
+ exit
+ ;;
+ --version)
+ version
+ exit
+ ;;
+ *)
+ ;;
+ esac
+done
+
+SHORT=false
+MESSAGE=FIXME
+while getopts 'ct:s:m:lLHhV' flag; do
+ case "$flag" in
+ c)
+ SHORT=true
+ ;;
+ t)
+ TYPE="$OPTARG"
+ NAME="$(name_for_type "$TYPE")"
+ if [ -z "$NAME" ]; then
+ printf "$MSG_UNREGISTERED_TYPE\n" "$TYPE" >&2
+ exit 1
+ fi
+ ;;
+ s)
+ STATE="$OPTARG"
+ if ! echo "$TD_STATES" | grep -q "$STATE"; then
+ printf "$MSG_UNREGISTERED_STATE\n" "$STATE" >&2
+ exit 1
+ fi
+ ;;
+ m)
+ MESSAGE="$OPTARG"
+ ;;
+ l)
+ list_hooks
+ exit
+ ;;
+ L)
+ lint
+ exit
+ ;;
+ H)
+ html_pre_process < "$TD_FILE"
+ exit
+ ;;
+ h)
+ usage
+ help
+ exit
+ ;;
+ V)
+ version
+ exit
+ ;;
+ *)
+ usage >&2
+ exit 2
+ ;;
+ esac
+done
+shift $((OPTIND - 1))
+
+
+TYPE_LINE="$(linenumber_for_type "$TYPE")"
+if [ -z "$TYPE_LINE" ]; then
+ TYPE_LINE=-1
+ PREAMBLE="# $(name_for_type "$TYPE")"'
+
+'
+fi
+INSERT_LINE=$((TYPE_LINE + 1))
+TITLE_LINE="${PREAMBLE:-}$(printf '## %s %s {%s}\n- %s in %s\n' "$STATE" "$MESSAGE" "$TD_IDREF" "$STATE" "$(date -I)")"
+
+if [ "$SHORT" = 'true' ] && [ "$MESSAGE" != 'FIXME' ]; then
+ pre_add_hook
+ echo "$TITLE_LINE" | insert_at_line "$INSERT_LINE" "$TD_FILE" "$TYPE"
+ post_add_hook
+else
+ TMPFILE_ORIG="$(mkstemp)"
+ TMPFILE_COPY="$(mkstemp)"
+ printf '%s\n\n---\n\nFIXME\n' "$TITLE_LINE" > "$TMPFILE_ORIG"
+ cp "$TMPFILE_ORIG" "$TMPFILE_COPY"
+ CMD="${VISUAL:-${EDITOR:-vi}}"
+ $CMD "$TMPFILE_ORIG"
+ if diff "$TMPFILE_ORIG" "$TMPFILE_COPY" > /dev/null; then
+ echo "$MSG_UNEDITED_ENTRY" >&2
+ exit 1
+ fi
+
+ pre_add_hook
+ insert_at_line "$INSERT_LINE" "$TD_FILE" "$TYPE" < "$TMPFILE_ORIG"
+ post_add_hook
+fi
+
+printf "$MSG_ADDED_LOG\n" "$TD_IDREF" "$TD_FILE" >&2
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/tests/cli-opts.sh
diff --git a/tests/config.sh b/tests/config.sh
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/tests/config.sh
diff --git a/tests/lib.sh b/tests/lib.sh
new file mode 100755
index 0000000..f2d5555
--- /dev/null
+++ b/tests/lib.sh
@@ -0,0 +1,144 @@
+#!/bin/sh
+
+end="\033[0m"
+red="\033[0;31m"
+green="\033[0;32m"
+yellow="\033[0;33m"
+
+N=
+OUT=
+ERR=
+STATUS=
+
+ERROR() {
+ # shellcheck disable=2059
+ printf "${red}ERROR${end}"
+}
+
+print_debug_info() {
+ # shellcheck disable=2016
+ printf 'LINENO: %s\n$OUT: %s\n$ERR: %s\n' \
+ "$N" "$OUT" "$ERR" >&2
+}
+
+assert_status() {
+ if [ "$STATUS" != "$1" ]; then
+ printf '\n%s: Bad status.\n\nexpected: %s\ngot: %s\n' \
+ "$(ERROR)" "$1" "$STATUS" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_usage() {
+ if ! grep -Fq 'Usage' "$1"; then
+ echo 'Expected to find "Usage" text, it was missing:' >&2
+ cat "$1" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_empty_stream() {
+ if [ -s "$2" ]; then
+ FMT='\n%s: Expected %s (%s) to be empty, but has content:\n%s\n'
+ # shellcheck disable=2059
+ printf "$FMT" \
+ "$(ERROR)" "$1" "$2" "$(cat "$2")" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_empty_stdout() {
+ assert_empty_stream STDOUT "$OUT"
+}
+
+assert_empty_stderr() {
+ assert_empty_stream STDERR "$ERR"
+}
+
+assert_stream() {
+ if [ "$(cat "$2")" != "$3" ]; then
+ printf '\n%s: Bad %s (%s)\n\nexpected: %s\ngot: %s\n' \
+ "$(ERROR)" "$1" "$2" "$3" "$(cat "$2")" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_stdout() {
+ assert_stream STDOUT "$OUT" "$1"
+}
+
+assert_stderr() {
+ assert_stream STDERR "$ERR" "$1"
+}
+
+assert_grep_stream() {
+ if ! grep -qE "$3" "$2"; then
+ printf '\n%s: Bad %s (%s)\n\ngrepping: %s\nin:\n%s\n' \
+ "$(ERROR)" "$1" "$2" "$3" "$(cat "$2")" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_grep_stdout() {
+ assert_grep_stream STDOUT "$OUT" "$1"
+}
+
+assert_grep_stderr() {
+ assert_grep_stream STDERR "$ERR" "$1"
+}
+
+assert_fgrep_stream() {
+ if ! grep -Fq -- "$3" "$2"; then
+ printf '\n%s: Bad %s (%s)\n\ngrepping: %s\nin:\n%s\n' \
+ "$(ERROR)" "$1" "$2" "$3" "$(cat "$2")" >&2
+ print_debug_info
+ exit 1
+ fi
+}
+
+assert_fgrep_stdout() {
+ assert_fgrep_stream STDOUT "$OUT" "$1"
+}
+
+assert_fgrep_stderr() {
+ assert_fgrep_stream STDERR "$ERR" "$1"
+}
+
+testing() {
+ printf "${yellow}testing${end}: %s..." "$1" >&2
+}
+
+test_ok() {
+ # shellcheck disable=2059
+ printf " ${green}OK${end}.\n" >&2
+}
+
+uuid() {
+ # Taken from:
+ # https://serverfault.com/a/799198
+ od -xN20 /dev/urandom |
+ head -n1 |
+ awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
+}
+
+tmpname() {
+ echo 'mkstemp(template)' | m4 -D template="${TMPDIR:-/tmp}/m4-tmpname."
+}
+
+mkstemp() {
+ name="$(tmpname)"
+ touch "$name"
+ echo "$name"
+}
+
+mkdtemp() {
+ name="$(tmpname)"
+ rm -f "$name"
+ mkdir "$name"
+ echo "$name"
+}
diff --git a/tests/workflow.sh b/tests/workflow.sh
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/tests/workflow.sh