sysadmin issueshttps://gitlab.tails.boum.org/tails/sysadmin/-/issues2022-02-18T10:36:24Zhttps://gitlab.tails.boum.org/tails/sysadmin/-/issues/17859Improve coverage of Translation Platform tests to account for non-latin scrip...2022-02-18T10:36:24ZZen FuImprove coverage of Translation Platform tests to account for non-latin script and RTL languagesRef: https://gitlab.tails.boum.org/tails/puppet-tails/-/merge_requests/58#note_173727
Implementing this could allow to catch problems that current used languages might not expose.Ref: https://gitlab.tails.boum.org/tails/puppet-tails/-/merge_requests/58#note_173727
Implementing this could allow to catch problems that current used languages might not expose.https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17826Some not-yet-published languages have lingering strings (updates broken?)2022-02-18T10:39:18ZemmapeelSome not-yet-published languages have lingering strings (updates broken?)A new reviewer for Russian found a this bug:
The ['wiki/src/index.*.po' weblate component](https://translate.tails.boum.org/projects/tails/index/) has 44 strings for Russian, Polish, Indonesian, Chinese, Chinese TW, Turkish but only 37 ...A new reviewer for Russian found a this bug:
The ['wiki/src/index.*.po' weblate component](https://translate.tails.boum.org/projects/tails/index/) has 44 strings for Russian, Polish, Indonesian, Chinese, Chinese TW, Turkish but only 37 strings for Spanish, French, Arabic, German, Portuguese.
When passing from the string https://translate.tails.boum.org/translate/tails/index/ru/?&offset=37 to the next, users receive the 'Internal error message'. In the maintainers mailing list we receive an email saying:
```Internal Server Error: /translate/tails/index/ru/
DoesNotExist at /translate/tails/index/ru/
Unit matching query does not exist.
```
I am not sure why some of the strings are still there. Maybe weblate could not delete them from the database because they had suggestions pending? I cannot look at the strings (I get the aforementioned error) but the other strings of the component have suggestions, so I think it is possible that the contributors did suggestions on all strings of the component.https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17809Prevent translations that fail the automated tests from being merged into tai...2022-12-15T14:23:05ZemmapeelPrevent translations that fail the automated tests from being merged into tails/masterSince a while there are [several automated tests triggered by merges from the translation platform](https://gitlab.tails.boum.org/tails/tails/-/pipelines?page=1&scope=all&username=role-weblate-gatekeeper).
It is very nice to receive an ...Since a while there are [several automated tests triggered by merges from the translation platform](https://gitlab.tails.boum.org/tails/tails/-/pipelines?page=1&scope=all&username=role-weblate-gatekeeper).
It is very nice to receive an alert when these checks fail. But you know what would be better? To not merge those [commits that fail the tests](https://gitlab.tails.boum.org/tails/tails/-/pipelines?page=1&scope=all&username=role-weblate-gatekeeper&status=failed)!https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17807Make weblate reviewers aware of accepted translations breaking the production...2022-12-15T14:23:04ZemmapeelMake weblate reviewers aware of accepted translations breaking the production websiteIn the weblate maintainers mailing list we receive an alert when [the pipelines triggered by role-weblate-gatekeeper](https://gitlab.tails.boum.org/tails/tails/-/pipelines?page=1&scope=all&username=role-weblate-gatekeeper) fail. Unless g...In the weblate maintainers mailing list we receive an alert when [the pipelines triggered by role-weblate-gatekeeper](https://gitlab.tails.boum.org/tails/tails/-/pipelines?page=1&scope=all&username=role-weblate-gatekeeper) fail. Unless gitlabCI gives a false positive, this means that a faulty translation made it to the Tails website.
The tests that are related to translation are: check-po-meta-date , check-po-msgfmt, check-translatable-live-website-urls , lint-po (please correct if wrong).
This are **not suggestions**, this are strings that have been accepted by a reviewer and are already on the website.
This information does not belong on the tails-weblate mailing list: it should reach translators, and especially **reviewers**, as sometimes translators may not be able to fix the errors by themselves because they lack the technical expertise to find the error, and at least one reviewer has approved the string that is triggering the error.
As the commits arrive to gitlabCI in batches, it is hard to know which especific commit from the batch has triggered the fail. But we can get the failing string on the tests.
The reviewers are divided in language groups, and there are some 'superreviewers' that can review string in many languages. We could have an alias with all the reviewers emails extracted from the weblate database, or different alias depending on the language. But it will be much more work to decide which language the error is in to send to those reviewers especially. I propose we add all reviewers to one mailing list and let them know about the failures.https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17801Weblate Permission: Automatic Group Assignment not covered2022-02-18T10:39:32ZhefeeWeblate Permission: Automatic Group Assignment not coveredThe Automatic Group Assignment are not covered/checked by weblate-permissions. This is not that important, because next run of weblate-permissions will sort things out. But in terms of having complete control over permissions this should...The Automatic Group Assignment are not covered/checked by weblate-permissions. This is not that important, because next run of weblate-permissions will sort things out. But in terms of having complete control over permissions this should be checked too.
```
from weblate.auth.models import AutoGroup
g = Group.objects.filter(name="Users").first()
for a in g.autogroup_set.all():
print(a.match)
```
output: "^.*$"https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17767Allow translators to use Automatic translation2022-02-18T10:40:22ZemmapeelAllow translators to use Automatic translationAutomatic translation in weblate translates strings that have been already translated in other components.
This is very useful specially on common titles or XML tags. I have been translating automatically for a while, for example when t...Automatic translation in weblate translates strings that have been already translated in other components.
This is very useful specially on common titles or XML tags. I have been translating automatically for a while, for example when there is a new release all the titles for the post get translated in most of our languages (except 'Tails x.x is out', because the number for the release changes, so it does not get automatically translated, although the suggestion appears on the Machine translation tab for translators to copy and edit).
I think it would be interesting for translators (not reviewers, but plain translators) to have the posibility of doing such automatic translation, as this will prevent wasting their time on repetitive translations and prevent inconsistencies.https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17274Inform Weblate reviewers about suggestions that don't pass our checks (check_...2022-02-18T10:47:53ZhefeeInform Weblate reviewers about suggestions that don't pass our checks (check_PO, sanity-check-website)_Originally created by @hefee on [#17274 (Redmine)](https://public-redmine-archive.tails.boum.org/code/issues/17274)_
At the moment only tails-translators get informed when the sanity check
of the the staging website breaks.
But these..._Originally created by @hefee on [#17274 (Redmine)](https://public-redmine-archive.tails.boum.org/code/issues/17274)_
At the moment only tails-translators get informed when the sanity check
of the the staging website breaks.
But these failures needs normally interaction by the langue teams,
that’s why tails-l10n should also be informed about those failures.
Additionally tails-l10n leans about those checks.
Blocked by tails/sysadmin#17793