Quaternion icon indicating copy to clipboard operation
Quaternion copied to clipboard

Open external link: Missing link address

Open sdicke opened this issue 2 years ago • 1 comments

Description

When opening a Matrix-external link, there is a dialog displayed. At most in the German translation of the GUI, there is displayed „% 1“ instead of a URI.

Steps to reproduce

  • Click on a link addressing addressing a URI not associated with a Matrix resource.
  • A dialog request the permission to open the link in an external application which does not contain the link get displayed.

I would expect that such kind of dialogs would display the address of the resource to open in the external application.

The following was logged (the actual link is replaced with $$$):

QString::arg: Argument missing: Eine externe Anwendung wird geöffnet, um einen Nicht-Matrix-Link zu besuchen:

% 1

Ist das richtig?, $$$ quotient.jobs: 200 <- GET $$$

Version information

  • Quaternion version: v0.0.95.1
  • Qt version: 5.15.2.
  • Install method: zypper: packages matrix-quaternion and matrix-quaternion-lang
  • Platform: openSUSE Tumbleweed

sdicke avatar Mar 25 '22 07:03 sdicke

Thanks for reporting. Right, there's a typo in the German translation - it has an extra whitespace between % and 1, thereby breaking the %1 placeholder that would normally be replaced with the URL. It is already fixed in the translation management system and is pending an (overdue) export to the source code.

KitsuneRal avatar Mar 27 '22 11:03 KitsuneRal

This is fixed in 0.0.96 beta.

KitsuneRal avatar Apr 06 '23 15:04 KitsuneRal