Commit Graph
56 Commits
Author SHA1 Message Date
c4b26e5a75 l10n(de): revise and update German translations (#1457)
* l10n(de): revise and update German translations

Improve strings for clarity and naturalness, update Wikipedia link to German version.

Signed-off-by: Michael <[email protected]>

* test(localization): fix tests

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Michael <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2026-03-21 20:02:49 +00:00
1342539a41 chore: update vi.json (#1459)
* Update vi.json

Signed-off-by: Duy <[email protected]>

* test(localization): fix tests

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Duy <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2026-03-21 20:01:21 +00:00
bd6f654e1f feat(i18n): add Bulgarian language translation (#1394)
* feat(localization): add bulgarian language translation

* fix(locales/bg): make tests pass

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2026-03-21 19:56:27 +00:00
BALLOON | FU-SENandGitHub edbfd180b8 locales/ja: Change the position of the バージョン (version) (#1527)
When displayed in Japanese, the `バージョン` (version) is in the middle, but the version number is at the end, so it is displayed strangely. Improve this.

**"version_info":**
```
このウェブサイトはAnubisバージョンで動作しています
```
to
```
このウェブサイトはAnubisで動作しています バージョン
```

Signed-off-by: BALLOON | FU-SEN <[email protected]>
2026-03-21 06:36:40 +00:00
Léane GRASSERandGitHub 27c994d3ce chore(l10n): update French translation (#1496)
Replaces translations from MT engines or AI with better, human-made ones
:)

Signed-off-by: Léane GRASSER <[email protected]>
2026-03-16 06:43:05 -04:00
Xe IasoandGitHub bf5d66222c chore: set up commitlint, husky, and prettier (#1451)
* chore: add prettier configuration

Signed-off-by: Xe Iaso <[email protected]>

* format: run prettier tree-wide

Signed-off-by: Xe Iaso <[email protected]>

* chore(prettier): ignore intentionally ungrammatical files

Signed-off-by: Xe Iaso <[email protected]>

* ci: add PR title lint rule

Signed-off-by: Xe Iaso <[email protected]>

* ci: add DCO check

Signed-off-by: Xe Iaso <[email protected]>

* chore: add commitlint and husky

Signed-off-by: Xe Iaso <[email protected]>

* chore: add CONTRIBUTING guidelines

Signed-off-by: Xe Iaso <[email protected]>

* chore: set SKIP_INTEGRATION in precommit tests

Signed-off-by: Xe Iaso <[email protected]>

* chore: update spelling

Signed-off-by: Xe Iaso <[email protected]>

* ci(dco): remove reopened trigger

Signed-off-by: Xe Iaso <[email protected]>

* chore: remove dead file

Signed-off-by: Xe Iaso <[email protected]>

* chore(prettier): don't format nginx includes

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
2026-02-15 08:19:12 -05:00
005750903d Improve Dutch translations (#1446)
* Improve horrible machine translated Dutch translations

Signed-off-by: Bart Louwers <[email protected]>

* Apply suggestion from @louwers

Signed-off-by: Bart Louwers <[email protected]>

* Apply suggestion from @louwers

Signed-off-by: Bart Louwers <[email protected]>

* Apply suggestion from @louwers

Signed-off-by: Bart Louwers <[email protected]>

* Apply suggestion from @louwers

Signed-off-by: Bart Louwers <[email protected]>

* Update check-spelling metadata

---------

Signed-off-by: Bart Louwers <[email protected]>
Co-authored-by: Jason Cameron <[email protected]>
2026-02-14 21:08:34 +00:00
lifandGitHub 71147b4857 fix: respect Accept-Language quality factors in language detection (#1380)
The Accept-Language header parsing was not correctly handling quality
factors. When a browser sends "en-GB,de-DE;q=0.5", the expected behavior
is to prefer English (q=1.0 by default) over German (q=0.5).

The fix uses golang.org/x/text/language.ParseAcceptLanguage to properly
parse and sort language preferences by quality factor. It also adds base
language fallbacks (e.g., "en" for "en-GB") to ensure regional variants
match their parent languages when no exact match exists.

Fixes #1022

Signed-off-by: majiayu000 <[email protected]>
2026-01-02 08:01:43 -05:00
e084e5011e feat(localization): add Polish language translation (#1363)
(cherry picked from commit 1f9c2272e6)

Co-authored-by: bplajzer <[email protected]>
2025-12-25 15:14:04 -05:00
MichaelandGitHub 535ed74b17 i18n(de): improve consistency and wording (#1348)
- Use consistent informal address (fix simplified_explanation)
- Translate "protected_from" ("From" → "Von")
- Standardize "Webseite" → "Website"
- Use more natural phrasing:
  - "Berechnung wird durchgeführt" → "Berechnung läuft"
  - "Zur Hauptseite" → "Zur Startseite"
  - Replace awkward "sozialen Vertrag" phrasing
- "Fingerabdruckerkennung" → "Browser-Fingerprinting" (more common)
- Improve sentence structure and punctuation

Signed-off-by: Michael <[email protected]>
2025-12-19 00:29:49 +00:00
00fa939acf Implement FCrDNS and other DNS features (#1308)
* Implement FCrDNS and other DNS features

* Redesign DNS cache and methods

* Fix DNS cache

* Rename regexSafe arg

* Alter verifyFCrDNS(addr) behaviour

* Remove unused dnsCache field from Server struct

* Upd expressions docs

* Update docs/docs/CHANGELOG.md

Signed-off-by: Xe Iaso <[email protected]>

* refactor(dns): simplify FCrDNS logging

* docs: clarify verifyFCrDNS behavior

Add a note to the documentation for `verifyFCrDNS` to clarify that it returns true when no PTR records are found for the given IP address.

* fix(dns): Improve FCrDNS error handling and tests

The `VerifyFCrDNS` function previously ignored errors returned from reverse DNS lookups. This could lead to incorrect passes when a DNS failure (other than a simple 'not found') occurred. This change ensures that any error from a reverse lookup will cause the FCrDNS check to fail.

The test suite for FCrDNS has been updated to reflect this change. The mock DNS lookups now simulate both 'not found' errors and other generic DNS errors. The test cases have been updated to ensure that the function behaves correctly in both scenarios, resolving a situation where two test cases were effectively duplicates.

* docs: Update FCrDNS documentation and spelling

Corrected a typo in the `verifyFCrDNS` function documentation.

Additionally, updated the spelling exception list to include new terms and remove redundant entries.

* chore: update spelling

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-11-26 22:24:45 -05:00
bplajzerandGitHub 1f9c2272e6 add Polish language translation (#1309)
* feat(localization): add Polish language translation

* feat(localization): add Polish language translation
2025-11-24 11:55:47 -05:00
Jason CameronandGitHub 97ba84e26d Fix challenge validation panic when follow-up hits ALLOW (#1278)
* fix(localization): correct formatting of Swedish loading message

* fix(main): correct formatting and improve readability in main.go

* fix(challenge): add difficulty and policy rule hash to challenge metadata

* docs(challenge): fix panic when validating challenges in privacy-mode browsers
2025-11-14 19:51:48 -05:00
Denys NykulaandGitHub 4f50d3245e feat(localization): Add Ukrainian language translation (#1044) 2025-11-08 18:46:20 +00:00
Sveinn í FelliandGitHub 3f81076743 Update is.json (#1241)
Minor spelling and grammar adjustments for Icelandic

Signed-off-by: Sveinn í Felli <[email protected]>
2025-11-08 10:42:03 -05:00
KarorogunsoandGitHub 115f24c33d Add thai language. (#900)
Signed-off-by: Karorogunso <[email protected]>
2025-11-08 10:41:46 -05:00
Sunniva LøvstadandGitHub ec2981bf6f locale: Update Nynorsk translation (#1204)
* Update nn.json

Signed-off-by: Sunniva Løvstad <[email protected]>

* Update nn.json (2)

Signed-off-by: Sunniva Løvstad <[email protected]>

* Change awkward wording

Proof of Work → work-proof, that is confirmation that someone is real through work (the computer works)

Signed-off-by: Sunniva Løvstad <[email protected]>

---------

Signed-off-by: Sunniva Løvstad <[email protected]>
2025-10-22 12:46:46 +00:00
Sunniva LøvstadandGitHub c3ed405dbc Update Nynorsk translation (#1143)
* chore: fix capitalisation in bokmål and nynorsk

* stadfest → e-verb

Signed-off-by: Sunniva Løvstad <[email protected]>

---------

Signed-off-by: Sunniva Løvstad <[email protected]>
2025-09-25 04:01:02 -04:00
Jan Pieter WaagmeesterandGitHub b2d525bba4 Update nl.json removeing literal translated 'cookie' (koekje) with 'cookie' (#1126)
Signed-off-by: Jan Pieter Waagmeester <[email protected]>
2025-09-16 07:53:30 -04:00
8ed89a6c6e feat(lib): Add option for adding difficulty field to JWT claims (#1063)
* Add option for difficulty JWT field

* Add DIFFICULTY_IN_JWT option to docs

* Add missing_required_forwarded_headers to lt translation via Google Translate

* docs(CHANGELOG): move CHANGELOG entry to the top

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-09-11 13:50:33 +00:00
Rimas KudelisandGitHub fd011d19e2 Updates to lt.json (#1075)
Minor improvements to Lithuanian strings

Signed-off-by: Rimas Kudelis <[email protected]>
2025-09-03 20:07:46 -04:00
Xe IasoandGitHub f0bcbe43af ci: fix tests (#1069)
* fix(locailization): fix ci

Signed-off-by: Xe Iaso <[email protected]>

* fix(test): fix CI

Signed-off-by: Xe Iaso <[email protected]>

* fix(test): fix CI?

Signed-off-by: Xe Iaso <[email protected]>

* fix(test): fix CI??

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
2025-08-31 08:13:00 -04:00
/har/perandGitHub 2704ba95d0 feat(localization): Add Vietnamese translation (#926)
* feat(localization): Add Vietnamese translation

* feat(localization): Add Vietnamese language translation

* feat(localization): Add record to CHANGELOG.md

* feat(localization): Add test case for Vietnamese
2025-08-30 00:23:02 -04:00
Rimas KudelisandGitHub d5cdd21631 feat(localizaton): add Lithuanian locale (#998) 2025-08-29 16:29:57 -04:00
phovalandGitHub 9ddc1eb840 fix: middleware traefik redirect url (#1040) 2025-08-28 07:24:29 -04:00
29d038835f feat(web): Add option for customizable explanation text (#747)
* Add option for customizable explanation text

* Add changes to CHANGELOG.md

* Replace custom explanation text in favor of static simplified text

Also includes translations for the simple_explanation using Google
Translate as a placeholder so tests pass.

---------

Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-08-14 11:12:55 -04:00
Xe IasoandGitHub 39215457e4 fix(locales): remove the word "hack" from the description of Anubis (#973)
This was causing confusion and less technical users were thinking that
websites had been intruded upon, causing them to send me horrible things
over email.

All non-English strings were amended using Google Translate. Please fix
the localization as appropriate.
2025-08-14 01:15:28 +00:00
Medvidek77andGitHub 0a68415c2e fix(localization): Improve Czech language translation (#895)
* fix(localization): Improve Czech language translation

Improved naturalness and flow of several phrases. Corrected typos and punctuation. Completed one previously unfinished sentence.

Signed-off-by: Medvidek77 <[email protected]>

* Update cs.json

Signed-off-by: Medvidek77 <[email protected]>

---------

Signed-off-by: Medvidek77 <[email protected]>
2025-08-08 12:50:23 -04:00
b3886752a1 Added Dutch translation (#937)
* Added Dutch translation

Signed-off-by: SecularSteve <[email protected]>

* Added Dutch translation

Signed-off-by: SecularSteve <[email protected]>

* Added Dutch translation

Signed-off-by: SecularSteve <[email protected]>

* Update lib/localization/locales/nl.json

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: SecularSteve <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-08-08 12:49:49 -04:00
Sunniva LøvstadandGitHub 0e9f831201 chore: fix capitalisation in bokmål and nynorsk (#959) 2025-08-08 12:48:07 -04:00
axellGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>David MarbyJonathan Herlin
2d8e942377 Add swedish local (#913)
* add swedish local

* added to changelog

* add to TestLocalizationService

* build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /docs (#909)

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add local (signed this time hopefully)

* Update sv.json

Co-authored-by: David Marby <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

Co-authored-by: David Marby <[email protected]>
Signed-off-by: axel <[email protected]>

* Update localization_test.go

Co-authored-by: Jonathan Herlin <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

Co-authored-by: Jonathan Herlin <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

Co-authored-by: Jonathan Herlin <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

Co-authored-by: Jonathan Herlin <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

Co-authored-by: Jonathan Herlin <[email protected]>
Signed-off-by: axel <[email protected]>

* Update sv.json

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: axel <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Marby <[email protected]>
Co-authored-by: Jonathan Herlin <[email protected]>
2025-08-02 22:17:31 -04:00
6ae386a11a fix: polish Turkish translations (#897)
* Polish Turkish translations

* Update tr.json

Co-authored-by: Xe Iaso <[email protected]>
Signed-off-by: Emir SARI <[email protected]>

* Update tr.json

Co-authored-by: Xe Iaso <[email protected]>
Signed-off-by: Emir SARI <[email protected]>

* Update tr.json

Co-authored-by: Xe Iaso <[email protected]>
Signed-off-by: Emir SARI <[email protected]>

* Try to make “From” sound better

Signed-off-by: Emir SARI <[email protected]>

---------

Signed-off-by: Emir SARI <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-07-31 07:33:16 -04:00
Sveinn í FelliandGitHub 963527fb60 Update is.json (#935)
Just one new string.

Signed-off-by: Sveinn í Felli <[email protected]>
2025-07-30 12:08:27 -04:00
25af5a232f feat(localization): Add in Bokmål and Nynorsk translations (#855)
* feat(localization): add bokmål and nynorsk translations

* feat(localization): update tests for Bokmål and Nynorsk

* docs(localization): document bokmål and nynorsk locales

* fix(locales/nb,nn): remove unicode ellipsis to make tests pass

Signed-off-by: Xe Iaso <[email protected]>

* style(localization): sort languages to make test output stable

Signed-off-by: Xe Iaso <[email protected]>

* chore: spelling

check-spelling run (pull_request) for main

Signed-off-by: check-spelling-bot <[email protected]>
on-behalf-of: @check-spelling <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Signed-off-by: check-spelling-bot <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-07-21 22:37:49 -04:00
24d2501187 feat: Russian localization for Anubis (#882)
* feat(localization): Add Russian language translation

* test(localization): ensure Russian translations are tested

Signed-off-by: Xe Iaso <[email protected]>

* docs(changelog): update with Russian translation

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: MichaelAgarkov <[email protected]>
2025-07-21 23:14:51 +00:00
ZerionSevenandGitHub 1dc9525427 Add Finnish localization (#863)
* add Finnish localization

* add fi to supportedLanguages

* add entry for Finnish to CHANGELOG
2025-07-21 18:56:16 -04:00
31184ccd5f Update pt-BR.json (#878)
* Update pt-BR.json

While current version is good enough as a machine translation, it is not natural enough for what a reader would like to read while browsing sites made by native devs - including the subtle nuances from the original English version, now incorporated to the translation instead of plain, literal translations with questionable meanings.

Signed-off-by: HQuest <[email protected]>

* fix(locales/pt-BR): anubis is from Canada

CA is the ISO country code for Canada, but also the US state code for California.

Co-authored-by: Victor Fernandes  <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: HQuest <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
Co-authored-by: Victor Fernandes <[email protected]>
2025-07-21 22:21:47 +00:00
searingmoonlightandGitHub 3e1aaa6273 Remove duplicated string in Filipino language file (#875)
Signed-off-by: searingmoonlight <[email protected]>
2025-07-20 23:17:48 -04:00
Josef MoravecandGitHub 6b639cd911 feat(localization): Add Czech language translation (#849)
* feat(localization): Add Czech language translation

* feat(localization): Add record to CHANGELOG.md
2025-07-18 17:23:19 -04:00
hankskyjames777andGitHub b485499125 fix untranslated string (#850)
Signed-off-by: hankskyjames777 <[email protected]>
2025-07-18 13:52:38 -04:00
CXMandGitHub 509a4f3ce8 fix(localization): fix missing string in template (#835)
* fix(localization): fix missing string in template

* chore: temp place locale
2025-07-16 19:40:27 -04:00
searingmoonlightandGitHub cc56baa5c7 feat(localization): Add Filipino language (#775)
* feat(localization): Add Filipino language

* Add tests

* remove duplicated string

* Minor fixes in translation

Signed-off-by: searingmoonlight <[email protected]>

---------

Signed-off-by: searingmoonlight <[email protected]>
2025-07-09 12:07:26 +00:00
giombaandGitHub 053d29e0b6 feat(localization): Add Italian language translation (#778)
Signed-off-by: Giovan Battista Rolandi <[email protected]>
2025-07-09 11:49:19 +00:00
a668095c22 Create is.json (#780)
* Create is.json

Adding Icelandic translation

Signed-off-by: Sveinn í Felli <[email protected]>

* fix(localization): add Icelandic to manifest.json

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Sveinn í Felli <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-07-09 11:29:40 +00:00
Henri VassermanandGitHub 1c4a1aec4a feat(i18n): add Estonian locale (#783)
* feat(i18n): add et locale

* chore: update changelog

* wording

* "feature"
2025-07-09 11:18:11 +00:00
5b8b6d1c94 feat(localization): add Japanese language translation (#772)
* feat(localization): add Japanese language translation

* fix(locales): add Japanese to the manifest

Signed-off-by: Xe Iaso <[email protected]>

* fix(locales): fix manifest

Signed-off-by: Xe Iaso <[email protected]>

---------

Signed-off-by: Xe Iaso <[email protected]>
Signed-off-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
Co-authored-by: Xe Iaso <[email protected]>
2025-07-09 07:08:34 -04:00
Henri VassermanandGitHub a900e98b8b fix(localization): HTML language header and forced-language (#787)
* fix: HTML language header and forced-language

* style(changelog): added a couple headers

* add test
2025-07-09 07:04:42 -04:00
CXMandGitHub d17fc6a174 feat(localization): add Simplified Chinese (#774) 2025-07-09 06:53:08 -04:00
XLionandGitHub 289c802a0b feat(localization): Add Traditional Chinese language translation (#759)
* Add translation for Traditional Chinese

* Add translation for Traditional Chinese: test

* Add translation for Traditional Chinese: Add PR number to CHANGELOG

* Add translation for Traditional Chinese: test: remove empty lines

* Add translation for Traditional Chinese: test: remove empty lines
2025-07-06 19:59:00 +00:00
Lothar Serra MariandGitHub edbe1dcfd6 feat(localization): Update German language translation (#764) 2025-07-06 11:25:05 -04:00