Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | aux/workflow/installcheck.sh: Add, call it from Makefile | EuAndreh | 2021-07-07 | 1 | -0/+60 | |
| | | | | Implements #task-0b034315-cbd2-6fd6-fd32-9e00a12b7594. | |||||
* | Put pofiles under po/, use one folder for each translated file. | EuAndreh | 2021-07-07 | 1 | -17/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Translate CHANGELOG.md adn README.md | EuAndreh | 2021-07-06 | 3 | -32/+56 | |
| | | | | | | | | | Partially implements #task-7c5cd2aa-6d92-0423-bfa7-81f2e8436586. As mentioned in the task, instead of making "README.md" as symlink to "README.en.md", "README.md" is kept as it is, as the translated file doesn't need to live in the repository. The same goes for the "CHANGELOG.md" file. | |||||
* | aux/workflow/*: Don't inherit global PROJECT_UC | EuAndreh | 2021-06-26 | 4 | -0/+4 | |
| | ||||||
* | aux/workflow/sign-tarballs.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 2 | -2/+22 | |
| | ||||||
* | aux/ci/report.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 1 | -1/+1 | |
| | ||||||
* | aux/workflow/commonmark.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 2 | -16/+48 | |
| | ||||||
* | aux/workflow/TODOs.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 2 | -5/+36 | |
| | ||||||
* | aux/workflow/public.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 1 | -4/+35 | |
| | ||||||
* | aux/workflow/dist.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 1 | -7/+41 | |
| | ||||||
* | aux/workflow/assert-manpages.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 1 | -6/+19 | |
| | ||||||
* | aux/workflow/assert-readme.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 1 | -4/+24 | |
| | ||||||
* | aux/workflow/assert-spelling.sh: Define assert_arg anyway | EuAndreh | 2021-06-26 | 1 | -4/+8 | |
| | ||||||
* | aux/workflow/assert-changelog.sh: Use getopts for arugments | EuAndreh | 2021-06-26 | 1 | -4/+27 | |
| | ||||||
* | aux/workflow/manpages.sh: s/assert/assert_arg/ | EuAndreh | 2021-06-26 | 1 | -6/+6 | |
| | ||||||
* | aux/workflow/assert-spelling.sh: Get files as arguments instead of assuming ↵ | EuAndreh | 2021-06-26 | 1 | -2/+3 | |
| | | | | they're under public/ | |||||
* | aux/workflow/l10n.sh: Mark WARNING message with yellow color | EuAndreh | 2021-06-26 | 1 | -1/+3 | |
| | ||||||
* | aux/workflow/l10n.sh: mkdir -p doc/po | EuAndreh | 2021-06-26 | 1 | -0/+1 | |
| | ||||||
* | aux/workflow/assert-manpages.sh: Skip when file is empy | EuAndreh | 2021-06-26 | 1 | -0/+4 | |
| | ||||||
* | Release v0.2.1v0.2.1 | EuAndreh | 2021-06-25 | 1 | -0/+10 | |
| | ||||||
* | git mv po/ doc/po/ | EuAndreh | 2021-06-25 | 1 | -2/+2 | |
| | ||||||
* | aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling | EuAndreh | 2021-06-25 | 3 | -16/+86 | |
| | | | | | | - aux/workflow/l10n.sh: fix handling of $@; - Makefile: remove circular dependency between dev-check and public by adding the "l10n-gen" target. | |||||
* | aux/workflow/manpages.sh: Add missing suffix to HTML files | EuAndreh | 2021-06-23 | 1 | -1/+1 | |
| | ||||||
* | README.md, aux/workflow/assert-readme.sh: Link to commit in the releases ↵ | EuAndreh | 2021-06-23 | 1 | -1/+1 | |
| | | | | section too | |||||
* | aux/workflow/{l10n,manpages}.sh: Fix ShellCheck offenses | EuAndreh | 2021-06-23 | 2 | -2/+2 | |
| | ||||||
* | aux/workflow/manpages.sh: Refactor how manpages and translations are made | EuAndreh | 2021-06-23 | 4 | -55/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | git mv doc/*.po po/ | EuAndreh | 2021-06-23 | 1 | -2/+2 | |
| | ||||||
* | aux/workflow/public.sh: Spell out .{svg,png} files (ShellCheck offense) | EuAndreh | 2021-06-23 | 1 | -1/+1 | |
| | ||||||
* | aux/: Explicitly pass "public/" as a parameter to scripts | EuAndreh | 2021-06-23 | 3 | -12/+13 | |
| | ||||||
* | aux/workflow/assert-readme.sh: No need to create the public/ directory | EuAndreh | 2021-06-23 | 1 | -2/+0 | |
| | ||||||
* | aux/workflow/public.sh: Selectively copy favicon files | EuAndreh | 2021-06-23 | 1 | -1/+1 | |
| | ||||||
* | aux/workflow/TODOs.sh: Use <pre> over <span> for visible ids | EuAndreh | 2021-06-22 | 1 | -1/+1 | |
| | ||||||
* | aux/workflow/manpages.sh: Suppress ShellCheck warnings | EuAndreh | 2021-06-19 | 1 | -0/+2 | |
| | ||||||
* | Add aux/workflow/manpages.sh to install, uninstall and generate HTML from ↵ | EuAndreh | 2021-06-19 | 2 | -16/+53 | |
| | | | | translated manpages | |||||
* | aux/workflow/assert-manpages.sh: Mark as executable | EuAndreh | 2021-06-19 | 1 | -0/+0 | |
| | ||||||
* | Leverage po4a to translate manpages | EuAndreh | 2021-06-19 | 2 | -3/+149 | |
| | ||||||
* | Update aux/workflow/assert-changelog.sh | EuAndreh | 2021-06-17 | 2 | -5/+8 | |
| | ||||||
* | aux/workflow/assert-manpages.sh: Fix link to mailing list | EuAndreh | 2021-06-16 | 1 | -1/+1 | |
| | ||||||
* | aux/workflow/assert-changelog.sh: Assert link exists in CHANGELOG | EuAndreh | 2021-06-16 | 1 | -0/+9 | |
| | ||||||
* | aux/workflow/preamble.md: Join first and second paragraphs | EuAndreh | 2021-06-16 | 1 | -3/+1 | |
| | ||||||
* | aux/workflow/preamble.md: Link only to homepage | EuAndreh | 2021-06-16 | 1 | -1/+1 | |
| | ||||||
* | s/Home page/Homepage/ | EuAndreh | 2021-06-16 | 2 | -2/+2 | |
| | ||||||
* | doc/git-permalink.1: Stop using ".P", use empty lines instead | EuAndreh | 2021-06-16 | 1 | -8/+11 | |
| | ||||||
* | aux/: Update | EuAndreh | 2021-06-14 | 5 | -23/+96 | |
| | ||||||
* | README.md: Point to copy of license in the source code repository itself | EuAndreh | 2021-06-13 | 1 | -1/+1 | |
| | ||||||
* | Makefile: Add aux/workflow/assert-manpages.sh | EuAndreh | 2021-06-12 | 1 | -0/+44 | |
| | ||||||
* | aux/: Update files | EuAndreh | 2021-06-12 | 1 | -43/+0 | |
| | ||||||
* | aux/: Update files | EuAndreh | 2021-06-11 | 12 | -90/+221 | |
| | ||||||
* | aux/workflow/public.sh: Mark as executable | EuAndreh | 2021-03-23 | 1 | -0/+0 | |
| | ||||||
* | Add base skeleton project files | EuAndreh | 2021-03-21 | 10 | -0/+283 | |