Page MenuHomePhabricator

TUX should have try again button upon save failure
Closed, ResolvedPublic

Description

When internet connection breaks TUX fails to save translations and shows the respective message:

image.png (48×951 px, 6 KB)

Upon reconnecting I expect to have a "try again" button somewhere as messaging platforms usually have for instance.

In the reality I see no such thing and supposedly need to open each of the unit in the new tab to save each translation typed manually. The only thing that happens upon reopening failed to save unit is that the respective message in the list turns from yellow to grey:

image.png (99×202 px, 4 KB)

The save translation button also remains inactive at the moment, perhaps it is it that can turn into a "try again":

image.png (420×1 px, 55 KB)

Event Timeline

I have experienced this by noticing that my internet connection broke after a few messages translated so it is quite annoying:

image.png (487×251 px, 9 KB)

Now I have to save them one by one manually

Reedy renamed this task from TUX should have try again button upon save falure to TUX should have try again button upon save failure.Jan 24 2021, 2:29 AM

As a workaround, you can type and delete a character so that the save button becomes active (and saving actually works):

Screenshot_2021-01-24 Fordítás – translatewiki net.png (460×649 px, 40 KB)

You have to type and delete the character for each message one by one, but it’s still much faster than opening them in new tabs.

Nikerabbit added a subscriber: Nikerabbit.

Removing tag since this is more like a feature request.

Nikerabbit moved this task from Backlog to tux on the MediaWiki-extensions-Translate board.

Could also just re-enable the save button in the case.

Change 713234 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TUX: Enable publish translation button in case of failure

https://gerrit.wikimedia.org/r/713234

Change 713234 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TUX: Enable publish translation button in case of failure

https://gerrit.wikimedia.org/r/713234

This has been tested on translatewiki.net. See screenshot below,

image.png (427×1 px, 62 KB)