Issue 71463 - "Info 1" etc. not translated in Document Properties window
Summary: "Info 1" etc. not translated in Document Properties window
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: ui (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: pb
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 11:12 UTC by clytie
Modified: 2013-08-07 15:01 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Screenshot of the Document Properties window with untranslated strings (104.50 KB, image/png)
2006-11-12 11:13 UTC, clytie
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description clytie 2006-11-12 11:12:28 UTC
Position: File > Properties > User defined

The strings:

Info 0
Info 1
Info 2
Info 3

which are field-names in this window, are not translated in the Vietnamese build, although they _are_ 
translated in the .sdf file submitted:
___
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO1			0	en-US	Info 0
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO1			0	vi	Thông tin 0
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO2			0	en-US	Info 1
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO2			0	vi	Thông tin 1
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO3			0	en-US	Info 2
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO3			0	vi	Thông tin 2
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO4			0	en-US	Info 3
				2002-02-02 02:02:02
sw	source\ui\utlui\initui.src	0	string	RID_SW_SHELLRES
	FLD_DOCINFO_INFO4			0	vi	Thông tin 3
				2002-02-02 02:02:02
___

This occurs in all kinds of documents.
Comment 1 clytie 2006-11-12 11:13:51 UTC
Created attachment 40528 [details]
Screenshot of the Document Properties window with untranslated strings
Comment 2 pavel 2006-11-12 15:07:40 UTC
Confirmed/Unconfired.

I do have Info 1 - Info 4 there all the time, but Info 0 - Info 3...

Unfortunately it looks like:

1. string "Info 0" and others are not used here.

2. they are even documented in the helpcontent2. Czech translators translated it as:

#: 04090004.xhp#par_id3148856.16.help.text
msgid "Info 0 - 3"
msgstr "Informace 1 až 4"

Which is a bit funny ;-) But in Czech UI, we really have Info 1 - Info 4 there...

3. string "Info %d" is hardcoded in sfx2:

sfx2/source/doc/docinf.cxx:

        const String aInf( DEFINE_CONST_UNICODE( "Info " ) );
        for( USHORT i = 0; i < MAXDOCUSERKEYS; ++i )    {
                aUserKeys[i].aTitle = aInf;
        aUserKeys[i].aTitle += String::CreateFromInt32(i+1);
        }

We want to be able to localize this string...
Comment 3 stefan.baltzer 2006-11-17 15:19:07 UTC
SBA->OS: Please proceed.
Comment 4 Oliver Specht 2006-11-20 08:54:15 UTC
Reassigned to PB
Comment 5 pb 2007-01-30 09:43:07 UTC
pb: accepted.
Comment 6 pb 2007-02-02 10:43:59 UTC
pb: fixed in cws fwk61.
Files changed:
/sfx2/source/doc/doc.hrc 1.19.182.1
/sfx2/source/doc/doc.src 1.86.182.1
/sfx2/source/doc/docinf.cxx 1.45.30.1
Comment 7 pb 2007-02-16 12:13:59 UTC
pb: verified by myself.
Comment 8 pb 2007-07-10 14:56:18 UTC
pb: already integrated (m207) -> closed.