Page MenuHomePhabricator

Wrong label for sorting criteria in German interface
Closed, ResolvedPublic0 Estimated Story PointsBUG REPORT

Description

In the German interface, the label for the sorting criteria isn't shown correctly - it doesn't show the actual criteria.

Bildschirmfoto 2019-09-02 um 19.55.24.png (362×1 px, 50 KB)

In the English interface, everything works as expected:

Bildschirmfoto 2019-09-02 um 20.23.11.png (412×1 px, 45 KB)

Acceptance criteria:

  • find out whether this is an actual bug or just a missing/wrong translation
  • if it's a bug, fix it, so that the German interface behaves correctly
  • if it's a wrong translation, notify/ping translators

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It should be there, so I guess there is a bug.

$ grep -r relevance i18n/de.json 
        "advancedsearch-sort-relevance": "Relevanz",
        "advancedsearch-sort-preview-relevance": "Relevanz",
awight changed the subtype of this task from "Task" to "Bug Report".Sep 4 2019, 12:22 PM

We should refactor the code, "Lego" messages do not work across languages.

We had a quick look and can confirm this is indeed a "lego message", made from https://de.wikipedia.org/wiki/MediaWiki:Advancedsearch-field-preview-sort and https://de.wikipedia.org/wiki/MediaWiki:Advancedsearch-sort-preview-relevance.

We could not reproduce the bug. @Tobi_WMDE_SW, do you remember how and where exactly this happened? Can you try again, and close this bug if it disappeared?

awight claimed this task.
awight changed the point value for this task from 3 to 0.