| Commit message (Expand) | Author | Age | Files | Lines |
| * | Add trailing /en/ to all default URLs, and the equivalent for translations | EuAndreh | 2021-07-15 | 4 | -4/+4 |
| * | git mv doc/spelling/ po/ | EuAndreh | 2021-07-08 | 5 | -149/+0 |
| * | Put pofiles under po/, use one folder for each translated file.•••This is an improvement over 67f7c956239a7bc811a1d655d389666048e45fc3,
and a final step for #task-7c5cd2aa-6d92-0423-bfa7-81f2e8436586.
Now instead of trying to convince po4a and mdpo to work together, each
tools gets it own folder and a pofile for each language. This means
that if I want to translate files FOO.md and a-dir/BAR.txt to pt and
fr, the directory structure of po/ will be:
po/
FOO.md/
pt.po
fr.po
a-dir/
BAR.txt/
pt.po
fr.po
The po/ folder mirrors the directory structure of the input files, also
nesting down directories.
This way mdpo can do extration and update on its own way, and po4a can
do extraction and update on its on way.
The downside is that some translations will be duplicated, because
they can appear on more than one file.
| EuAndreh | 2021-07-07 | 3 | -1526/+0 |
| * | TODOs.md: spellcheck | EuAndreh | 2021-06-26 | 1 | -2/+4 |
| * | git mv po/ doc/po/ | EuAndreh | 2021-06-25 | 3 | -0/+1526 |
| * | aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling•••- aux/workflow/l10n.sh: fix handling of $@;
- Makefile: remove circular dependency between dev-check and public by
adding the "l10n-gen" target.
| EuAndreh | 2021-06-25 | 8 | -22/+169 |
| * | aux/workflow/manpages.sh: Refactor how manpages and translations are made•••I didn't like the previous version of aux/workflow/manpages.sh mainly for 2 reasons:
1. its CLI was terrible, ugly and fragile;
2. it mixed handling manpages and handling *translations*.
The first step was to split the translations part to a different file:
aux/workflow/l10n.sh. Now it has the base logic for running po4a, and
can apply it to manpages. It is useful for updating translated files
in other scenarios, such as catgets() message catalogs, markdown files,
etc.
After I used the venerable getopts to handle the command line
arguments, and give aux/workflow/manpages.sh a saner interface.
I disliked the fact that aux/workflow/manpages.sh still is being used
for the "install" and "uninstall" targets. Before this file, the
canonical workflow of "make && make install/uninstall" was 100%
embedded within the Makefile itself. But now the Makefile calls to an
external script for that. This isn't a real cost, other than how
obvious the behaviour is for someone looking at the Makefile for the
first time.
I still chose to do it anyway, because there was already too many
things in the Makefile itself, and it was getting worse with time. I
made sure to never cross the line of relying on an external tool for
the canonical "make && make install/uninstall", and even for
"make check". Those all work without requiring any extra tool outside
what POSIX defines, such as "sed", "awk", etc. Despite the cost of
adding this detour from the liner Makefile flow, I found it to be worth
it to call to the external script, as this script can now also be
shared across projects, and the customized Makefile be made simpler.
In other to remove the "-- $(do_subst)" horrendous hack, I chose to use
an inference rule for ".in" files, and remove the "$(do_subst)"
variable altogether. Now all the files that need to go through sed
should end in ".in", and the Makefile will take care of producing it.
The upside is that this model is much better integrater into make
itself.
Addresses #task-9ee2bbc8-295f-52b7-4104-483869bad017.
| EuAndreh | 2021-06-23 | 4 | -0/+0 |
| * | git mv doc/*.po po/ | EuAndreh | 2021-06-23 | 3 | -1526/+0 |
| * | doc/: s/SYNOPSYS/SYNOPSIS/ | EuAndreh | 2021-06-22 | 4 | -10/+10 |
| * | Add small example of using -- on manpage | EuAndreh | 2021-06-22 | 7 | -62/+135 |
| * | doc/git-permalink.*.1: Mark SUPPORTED REMOTES and OVERRIDES as .SS•••Make SUPPORTED REMOTES and OVERRIDES subsections (.SS) of a new
parent section: CONFIGURATIONS.
Also put SUPPORTED REMOTES before OVERRIDES on the order.
| EuAndreh | 2021-06-21 | 7 | -520/+542 |
| * | doc/git-permalink.*.1: Mark OPTIONS as to be replaced•••Also improve french translation: s/FICHIERS/FICHIER/.
| EuAndreh | 2021-06-21 | 7 | -16/+16 |
| * | doc/git-permalink.*.1: Add `EXIT STATUS` section; mention `STDOUT` in `-p` op... | EuAndreh | 2021-06-21 | 7 | -56/+256 |
| * | doc/pt.po: Fix typo s/OPÇÔES/OPÇÕES/ | EuAndreh | 2021-06-20 | 2 | -3/+3 |
| * | doc/: Add new supported forges to the manpages | EuAndreh | 2021-06-19 | 7 | -75/+196 |
| * | Leverage po4a to translate manpages | EuAndreh | 2021-06-19 | 7 | -9/+1783 |
| * | doc/git-permalink.1: Add period at the end of NAME | EuAndreh | 2021-06-16 | 1 | -1/+1 |
| * | aux/workflow/assert-manpages.sh: Fix link to mailing list | EuAndreh | 2021-06-16 | 1 | -1/+1 |
| * | Show -h and -V flags on usage text | EuAndreh | 2021-06-16 | 1 | -1/+1 |
| * | s/Home page/Homepage/ | EuAndreh | 2021-06-16 | 1 | -1/+1 |
| * | doc/git-permalink.1: Stop using ".P", use empty lines instead | EuAndreh | 2021-06-16 | 1 | -82/+78 |
| * | doc/git-permalink.1: Fix links at the bottom | EuAndreh | 2021-06-14 | 1 | -10/+12 |
| * | doc/git-permalink.1: Write initial version | EuAndreh | 2021-06-12 | 1 | -0/+157 |
| * | doc/git-permalink.1: Add empty file | EuAndreh | 2021-06-12 | 1 | -0/+0 |