Babel Syncup logic [message #773715] |
Mon, 02 January 2012 11:09 |
Satoru Yoshida Messages: 17 Registered: November 2011 |
Junior Member |
|
|
Hello, I found old value and correct at follwing key:
key : MoveInstanceMethodPage_Method_name
file: org.eclipse.wst.jsdt.ui/org/eclipse/wst/jsdt/internal/ui/refactoring/refactoringui.properties
category : webtools 3.4
update date: 29th Dec. 2011 by Babel Syncup, 2nd Jan. 2012 by me.
But I have already corrected the following same data:
key : same as webtools 3.4
file: same as webtools 3.4
category : webtools.jsdt 3.3
update date: 23rd Aug. 2011 by me
Same issue is between eclipse 4.2 and 3.7 category.
key : Startup_Loading
file: org.eclipse.ui.workbench/org/eclipse/ui/internal/messages.properties
I will feel happy if anyone would tell me why Babel Syncup ignores my correction efforts.
Thanks.
[Updated on: Mon, 02 January 2012 11:32] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Babel Syncup logic [message #874783 is a reply to message #776041] |
Mon, 21 May 2012 14:36 |
Satoru Yoshida Messages: 17 Registered: November 2011 |
Junior Member |
|
|
(I will move this report to bugs.eclipse.org
from this newsgroup.
Sorry for inconvenience. at 22nd May
Cf: bugs.eclipse.org/bugs/show_bug.cgi?id=380524 )
I think following SQL may be related to this issue.
The SQLs are at line 62 and 69 in /server/classes/export/syncup.php .
SELECT s.string_id FROM strings AS s WHERE s.value = BINARY...
SELECT t.value from strings As s inner join translations AS t on s.string_id = t.string_id where s.string_id IN ($string_ids) ...
(Note: ... means omission)
I think there would be no problem if we assume relation between strings.value and translations.value was always one to one correspondence.
But in truth, the relation can be one to N correspondence,
so we often meet unexpected value in translations table, I think.
we can confirm there are multi kinds value in translations.value against strings.value.
SELECT s.string_id, s.value, t.value FROM strings s inner join translations t on s.string_id = t.string_id where s.name = 'application_errorStartDefault'
Possible solution:
(at line 62)
SELECT s.string_id FROM strings AS s WHERE s.is_active and s.non_translatable = 0 and s.value = BINARY...
(at line 69)
SELECT t.value from strings As s inner join translations AS t on s.string_id = t.string_id where s.value <> BINARY t.value and s.string_id IN ($string_ids) ... group by 1
(at line 70)
if (mysql_num_rows($possible_translations) = 1 and (($translation_row = mysql_fetch_assoc($possible_translations))
Thanks.
[Updated on: Fri, 22 June 2012 15:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03983 seconds