Hi,
I'm using l10n server for Brazilian Portuguese translation. Sometimes, I have to change a string that is translated correctly, but in the wrong case. For instance:
Og: Grupo: Número de Inscritos
I want it to read:
OG: Grupo: Número de inscritos
(think of a more extreme case: somebody mistakenly wrote something like "LOCAlization serVer")
The problem is when I try to save the corrected translation it says it's duplicated. But it's not really duplicated.
My request is to remove case-insensitiveness from duplicated translations checker.
Comments
Comment #1
gábor hojtsyGood idea, agreed.
Comment #2
meba commentedThe search and code itself IS case-sensitive. It's made insensitive in MySQL. I need to investigate if the problem is in the table definition/db definition or it's just safe to change the query to "WHERE xyz = BINARY 'xyZ'"
Comment #3
meba commentedOK, I have seen few BINARY occurences in current code. This patch should fix it.
Comment #4
tobiasbTHX. That's works.
Comment #5
gábor hojtsyAlso added a line of comment to make it more clear, and committed this one.
Comment #6
gábor hojtsyComment #8
SebCorbin commentedThe corresponding query has not been translated correctly in 7.x-1.x http://drupalcode.org/project/l10n_server.git/blob/refs/heads/7.x-1.x:/l...
Comment #9
anemes commentedComment #10
anemes commentedComment #12
anemes commentedComment #13
anemes commentedComment #15
anemes commentedWe cannot use condition() method for the where clause because it would include the BINARY operator as part of the string, this is why we use the where() method.
Comment #16
SebCorbin commentedCould anyone give an exhaustive configuration description of collations, engines and such, because I cannot reproduce this behavior.