Translation not saved, but without explanation

Bug #598959 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

On a c-format tagged message, if it's erroneously translated, we display a message about the error.

However, if someone does a translation on a page resulting from search (and/or through filters) they end up without explanation and the translation is silently discarded. We should fix this so explanation is shown and translator is offered an option to correct her mistake.

Revision history for this message
Ferdinand (office-chricar) wrote :

Entering this correct text with %d worked
"Verbindung mit dem Server wurde getrennt. Nächster Versuch in %d Sekunden."

Revision history for this message
Adi Roiban (adiroiban) wrote :

This is a feature, not a bug.

For more info please read about `gettext c-format"
http://www.gnu.org/software/hello/manual/gettext/c_002dformat-Flag.html

Changed in rosetta:
status: New → Invalid
Revision history for this message
Ferdinand (office-chricar) wrote :

Yes I finally realized this too, but it would be helpful to get an appropriate error message along with the filed to translate it again

Revision history for this message
Adi Roiban (adiroiban) wrote :

Hm... you should have seen an error message:

I am trying this on translations.staging.launchpad.net (our testing server):
https://translations.staging.launchpad.net/openobject-client-kde/5.0/+pots/koo/de/46/+translate

And I got:

„Error in Translation: number of format specifications in 'msgid' and 'msgstr' does not match”

This is the same message that you get by using „gettext”.

In case this message is not user friendly, feel free to open it again the gettext package.

If you did not see a similar message to the one from the attached screen, that we should investigate this problem.

Revision history for this message
Ferdinand (office-chricar) wrote :

I do not get the error message on production rosetta -

https://translations.launchpad.net/openobject-client-kde/5.0/+pots/koo/de/+translate?batch=10&show=all&search=server

Example if I try to remove the %d from the translation #46 - it simply does not get saved

Changed in rosetta:
status: Invalid → New
Revision history for this message
Данило Шеган (danilo) wrote :

I've seen this before: basically, error message is not shown on "search" and/or filtered pages (i.e. "untranslated" and similar).

I'll modify the description and summary to reflect the actual bug.

Changed in rosetta:
importance: Undecided → High
status: New → Triaged
summary: - translation not saved
+ Translation not saved without explanation
description: updated
summary: - Translation not saved without explanation
+ Translation not saved, but without explanation
description: updated
Changed in launchpad:
importance: High → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.