Page MenuHomePhabricator

[TUX] Potentially confusing message in navigation away warning
Open, MediumPublic

Description

"All translation have not been saved" [OK] [Cancel]

It is is not obviously clear what OK and Cancel does here.


Version: unspecified
Severity: minor

Details

Reference
bz46832

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:38 AM
bzimport set Reference to bz46832.
bzimport added a subscriber: Unknown Object (MLST).

This is missing steps to reproduce.

  1. Open your computer
  2. Navigate to Special:Translate
  3. Make edits, dont's ave
  4. Use language selector

Created attachment 12028
Screeshot of observed behavior which differs from what is reported with the given steps to reproduce

Following the steps you provide, for me the message is: title: "Weet u het zeker", message: "Deze pagina vraagt te bevestigen dat u deze wilt verlaten - gegevens die u hebt ingevoerd worden mogelijk niet opgeslagen." I've attached a screenshot.

This appears to be a browser specific message, which differs from the one you provided. I do wonder how your browser knows you were translating, though...

Attached:

Schermafbeelding_2013-04-03_om_11.38.34.png (272×944 px, 57 KB)

There are two different variants of the message. One happens which you click a link and other happens when you change group, filter or language (unless Firefox behaves differently). The latter just says "There are unsaved translations" (or similar) while the other also asks whether you want to navigate away.

Now it says "You have unsaved translations" when

(sorry, saved too early)

Now it says "You have unsaved translations" when I try to reproduce, but it's still unclear what do the buttons do. The message should be clarified.

The warning displayed nowadays is this on Firefox:

Screenshot-2023-04-03_02.png (381×687 px, 11 KB)

Feels pretty informative to me. Roughly translated es-en it says: This page is asking you to confirm that you want to leave it. Any information you entered may be lost. [Leave page] [Remain in the page]

As @Nikerabbit wrote, there are two variations:

  • When changing something within the interface, e.g. when choosing another tab. This is confusing. (And even broken: if I select “Cancel”, the message list remains unchanged – including keeping the unsaved translation –, but the tab I selected gets highlighted instead of the previous one.)
    Screenshot from 2023-04-04 14-57-44.png (175×449 px, 16 KB)
  • When leaving the page, e.g. closing a tab or clicking a link that leads to another page. This is clear; in older browsers, it says “You have unpublished translations”, in modern ones, a browser-dependent message. (As far as I remember, IE11 – which is still supported in MW 1.39 and 1.40, so should be supported in Translate as well – counts as an older browser.)
    Screenshot from 2023-04-04 14-59-17.png (170×435 px, 20 KB)