You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2019/06/11 11:37:45 UTC

[Issue 128128] New: Lost translations in database wizard

https://bz.apache.org/ooo/show_bug.cgi?id=128128

          Issue ID: 128128
        Issue Type: DEFECT
           Summary: Lost translations in database wizard
           Product: Internationalization
           Version: 4.2.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: mseidel@apache.org
  Target Milestone: ---

Created attachment 86698
  --> https://bz.apache.org/ooo/attachment.cgi?id=86698&action=edit
German database wizard showing English text

Some parts of the database wizard have lost their translation.
The strings are all localized and in Pootle/SDF.

It seems only one file is affected:
http://svn.apache.org/repos/asf/openoffice/trunk/main/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc

This is a regression, 4.1.x shows localized text.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #2 from oooforum (fr) <oo...@free.fr> ---
Hallo Matthias,

I don't understand how this file is linked with Pootle translation.
I see that english strings are tagged by Text[ en-US ]  = "";

Did we added other language like:
Text[ fr-FR ] or Text [ de-DE ]

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #6 from Matthias Seidel <ms...@apache.org> ---
Even with corrected slash the path to the sdf is not correct.

The code looks for:
extras/l10n/wntmsci12.pro/misc/sdf/dbaccess/inc/localize.sdf

But the translations for AutoControls_tmpl.hrc are in:
extras/l10n/wntmsci12.pro/misc/sdf/dbaccess/source/ui/dlg/localize.sdf

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #13 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86705
  --> https://bz.apache.org/ooo/attachment.cgi?id=86705&action=edit
German database wizard now showing translated text

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #8 from Matthias Seidel <ms...@apache.org> ---
The same for toolbox_tmpl.hrc, the code looks for:
extras/l10n/wntmsci12.pro/misc/sdf/dbaccess/inc/localize.sdf

But the translations are in:
extras/l10n/wntmsci12.pro/misc/sdf/dbaccess/source/ui/inc/localize.sdf

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #86701|0                           |1
        is obsolete|                            |

--- Comment #11 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86703
  --> https://bz.apache.org/ooo/attachment.cgi?id=86703&action=edit
Proposed patch for path to localize.sdf

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #5 from Matthias Seidel <ms...@apache.org> ---
In:

https://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/solenv/gbuild/AllLangResTarget.mk

gb_SrsPartMergeTarget_SDFLOCATION is defined with a trailing slash:

gb_SrsPartMergeTarget_SDFLOCATION := $(LOCDIR)/l10n/$(INPATH)/misc/sdf/

which then results in double slashes in:

https://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/dbaccess/AllLangResTarget_dbui.mk

I will provide a patch if my test build is successful.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #4 from Matthias Seidel <ms...@apache.org> ---
Some lines from the log file:

R=e:/slave14/aoo-w741x/build && O=$R/main/solver/420/wntmsci12.pro &&
W=$R/main/solver/420/wntmsci12.pro/workdir && S=$R/main && 
PATH="${PATH}:$O/bin" $O/bin/transex3.exe -p svx -i
$S/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc -o
$W/inc/dbaccess/AutoControls.hrc -m
$R/extras/l10n/wntmsci12.pro/misc/sdf//dbaccess/inc/localize.sdf -l all
Warning : Can't open
e:/slave14/aoo-w741x/build/extras/l10n/wntmsci12.pro/misc/sdf//dbaccess/inc/localize.sdf

It seems the path to sdf is wrong. I wonder, where the double slashes come
from?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #7 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86700
  --> https://bz.apache.org/ooo/attachment.cgi?id=86700&action=edit
Proposed patch for double slashes

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #86700|0                           |1
        is obsolete|                            |

--- Comment #10 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86702
  --> https://bz.apache.org/ooo/attachment.cgi?id=86702&action=edit
Proposed patch for double slashes

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0
         Issue Type|DEFECT                      |PATCH

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #1 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86699
  --> https://bz.apache.org/ooo/attachment.cgi?id=86699&action=edit
French database wizard showing English text

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #12 from Matthias Seidel <ms...@apache.org> ---
Patches committed with r1861567 to trunk and merged with r1861568 to AOO42x.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #9 from Matthias Seidel <ms...@apache.org> ---
Created attachment 86701
  --> https://bz.apache.org/ooo/attachment.cgi?id=86701&action=edit
Proposed patch for path to localize.sdf

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #14 from Matthias Seidel <ms...@apache.org> ---
Fixed (see attachment).

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128128] Lost translations in database wizard

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128128

--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
(In reply to oooforum (fr) from comment #2)
> Hallo Matthias,
> 
> I don't understand how this file is linked with Pootle translation.
> I see that english strings are tagged by Text[ en-US ]  = "";
> 
> Did we added other language like:
> Text[ fr-FR ] or Text [ de-DE ]

No, the source code contains only en-US strings.

See also (a bit outdated):
https://wiki.openoffice.org/wiki/Translation:General_Information

All strings are localized in Pootle and in SDF, the problem is that they don't
get in this specific file during build.

-- 
You are receiving this mail because:
You are the assignee for the issue.