mrkara / gtranslator

A fork of the original 2-91 branch of Gtranslator from http://projects.gnome.org/gtranslator
GNU General Public License v3.0
1 stars 0 forks source link

[bgo#554403] Reach messages using file line number #54

Open mrkara opened 7 years ago

mrkara commented 7 years ago

When checking translation files with msgfmt, error messages associated with po file line number is norm.

Gtranslator can accept line numbers at command line and bring the message that corresponds to that place.

For example, if gtranslator called from console with 'gtranslator po_file.po:21' gtranslator should look for 21st line of po_file.po and select the message appears around that line once file is opened.

Also adding search by line number can also be implemented and would be pretty usable.

Those would ease checking messages msgfmt reported as invalid.

Originally reported by Baris Cicek at https://bugzilla.gnome.org/show_bug.cgi?id=554403

mrkara commented 7 years ago

As we talked in the chat instead of opening a specific line from console would be great having a next/prev error menuitems.

Originally posted by Ignacio Casal Quinteiro (nacho)