translate / virtaal

Easy-to-use and powerful offline translation tool
https://virtaal.translatehouse.org
GNU General Public License v2.0
298 stars 58 forks source link

Launch mailer for Msgid-Bugs #404

Open dwaynebailey opened 16 years ago

dwaynebailey commented 16 years ago

Allow the translator to launch a URI set in the Report-Msgid-Bugs-To entry so that they can report bugs.

I would err on the easiest option which would do nothing but launch the app. It might be worth thinking about how to launch it for a specific unit. Or to allow errors to be collected and documented and then sent as a batch in an email.

By doing unit level reporting we could then str the unit and add the comments allow clear demarcation. It could present some problems in that a user might want to report each item separately to aid discussion.

friedelwolff commented 15 years ago

This is part of communication functionality that will be useful. For now I'm assigning to myself, unless you want to look into this, Wynand. This probably won't receive priority soon, but it shouldn't be hard to implement in a minimal way.

Some Menu -> Report bug in source text

There are different possible reactions here:

If the field contains an email address, Virtaal should launch an email with the To, Subject, and content fields filled in. We should probably str() the whole unit so as to have all references, etc. We could even complete some canned template mentioning the POT time, the language being translated into, the current time, the Project-Id-Version, etc.

I can't immediately think of a way to do this for anything except PO, but still useful. The closest thing for XLIFF might be the contact-email field in a phase: http://docs.oasis-open.org/xliff/xliff-core/xliff-core.html#contact-email

If it contains a URL, we should just launch the web browser. This is the case for GNOME "Report-Msgid-Bugs" that have the URL to add a new bug for the program in Bugzilla. We might want to special case if we detect the string "enter_bug.cgi" in the URL to assume Bugzilla and dump our template into the description on the new bug in Bugzilla. Definitely not required on the first attempt, but would be very cool for GNOME.

Of course, we can still just draft an email, launch the mailer, and not provide the To address, but that is less useful where people wouldn't know what to do.

dwaynebailey commented 14 years ago

* Bug #1652 has been marked as a duplicate of this bug. *