Open mrkara opened 7 years ago
Created attachment 212532 Very simple po file to check this bug
This is a very single po file, based on libgweather locations, to test patches for this bug
Originally posted by Daniel Mustieles
Attachment: https://bugzilla.gnome.org/attachment.cgi?id=212532
Please describe the problem: For strings with same msgid but different msgctxt, when I want to copy the original text to the translation by using Ctrl+space it works for the first instance of the string but it does not work for the second or later instances of the string. Only way to do that is after using ctrl+space on string "X" you should translate/copy another string "Y" then try to use ctrl+space on another instance of string "X".
Steps to reproduce:
Choose a string with more than one instances which have same msgid for all but different msgctxt part.
Use ctrl+space for the first instance of the string. It works but after that use ctrl+space for the second instance of the string.
Then translate another string and turn back to the other instances of the initial string we deal with. It seems it works at this time, but the same situation repeats for the next instance of the string. The problem repeats itself.
Actual results:
Expected results:
Does this happen every time? Yes, I can reproduce this issue.
Other information: I am using gtranslator (by compiling the latest svn code) on Debian unstable. I realized this problem in the translation of libgweather - Weather Applet Locations, because it contains lots of string which cause this issue.
Originally reported by Deniz Koçak at https://bugzilla.gnome.org/show_bug.cgi?id=575803