Cory Francis Myers
Cory Francis Myers
@eloquence and I discussed this as a candidate for a future sprint, to determine whether this is a bug, a process glitch in the [internationalization procedures](https://docs.securedrop.org/en/stable/development/i18n.html#i18n-tool-py), or merely an unintended...
@deeplow [reports](https://forum.securedrop.org/t/need-help-moving-translations-to-correct-language/1445/5?u=cfm) that this is blocking translation of `PT_pt`, now that we've disambiguated it from `PT`. [`PT_br` is a `supported_language`](https://github.com/freedomofpress/securedrop/blob/f8aecebfc0836fe1bb4fa633ff83e539cf83a686/securedrop/i18n_tool.py#L53); `PT_pt` is not. I'll nominate this for attention in the...
**Tl;dr:** We need to, and unless I'm missing something we do not, distinguish between: 1. languages open for translation in Weblate; and 2. languages supported for selection in `securedrop-admin sdconfig`....
This procedure worked well enough to sync `pt_PT` in `weblate-sandbox` and then in `weblate`. I've updated to reflect that the [**Replace existing translation file**](https://docs.weblate.org/en/weblate-4.11.2/user/files.html#import-methods) option is the way to get...
This did the trick to include `pt_PT` in v2.4.0. Now that we've proven the hypothesis with a specific real-world case, I'm bumping this ticket to v2.5.0, where together with #6387...
Dropping from the v2.5.0 milestone, since this will be completed _during_ that release and localization cycle with #6557.
Re: HTML/CSS standardization: The [modal confirmation dialog](https://github.com/freedomofpress/securedrop/blob/c5d7766d886b6bf3c9fdc297e4bb21b960e58447/securedrop/journalist_templates/_confirmation_modal.html) used in the Journalist Interface offers an example of using parameterized Jinja templates as reusable UI components rendered (that is, to HTML) entirely...
#6368 and #6465 both offer evidence for the value of this linting.
Why are these omissions so difficult to catch during manual testing in the [string-freeze process](https://docs.securedrop.org/en/stable/development/i18n.html#two-weeks-before-the-release-string-freeze)? At that point in the localization cycle, _strings not (or incorrectly) marked for translation_ are...
Time-boxed a cranky stab at this using 38c97bb4f6e1fe863b7c078784200a69c693e78f as my tricky target case. As I expected, regex is Semgrep's only view into our `.html` Jinja templates, and it's a challenging...