Ariel,

Thanks!

Actually I'm looking for 'more' button. ( another new target! )  I
observed that in pivot table (calc), the translation of the more
button changed when I click it.
It shows one of the two translations when the options below are
hidden, and shows the other when the options below are shown.





2014-07-12 3:09 GMT+08:00 Ariel Constenla-Haile <arie...@apache.org>:
> On Sat, Jul 12, 2014 at 02:06:30AM +0800, Hung Mark wrote:
>> Hmm,
>>
>> Maybe it's too early to say that I understand how to find a target
>> through helpid.
>> For example, when I looked for RID_SCDLG_PIVOT_LAYOUT BTN_MORE, I
>> can't find corresponding code.
>
> This one is peculiar. Do you want to find the dialog with id
> RID_SCDLG_PIVOT_LAYOUT, or the button?
>
> The dialog can be found very easy on Pootle searching only by Locations:
> https://translate.apache.org/es/aoo40/translate/#search=RID_SCDLG_PIVOT_LAYOUT&sfields=locations
> but among these strings you won't find the one belonging to BTN_MORE.
>
> pivot.src#RID_SCDLG_PIVOT_LAYOUT.FT_COL.fixedtext.text inside
> sc/source/ui/dbgui.po belong to sc/source/ui/dbgui/pivot.src in the
> source:
>
> http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sc/source/ui/dbgui/pivot.src#184
>
> BTN_MORE has no "Text [ en-US ] = ..." (the to-be-localized string),
> because it is a special button, the string is always the same on all
> "More" buttons, so that there is no need to translate it in every
> dialog (the same applies to other common buttons, like "Help" and
> "Cancel").
>
> If you are looking for that "More" string, the location is
> vcl/source/src/btntext.src with id SV_BUTTONTEXT_MORE
>
> https://translate.apache.org/es/aoo40/translate/#search=SV_BUTTONTEXT_MORE&sfields=locations
>
>
>> And neither do I know how to search a uno command.
>
> An example with the command ".uno:ExportToPDF" from "File" - "Export as
> PDF":
>
> - To locate the file where the command is: in the UI, UNO command are
>   usually in configuration files inside
>   officecfg/registry/data/org/openoffice/Office/UI/
>   
> http://opengrok.adfinis-sygroup.org/source/search?q=%22.uno%3AExportToPDF%22&defs=&refs=&path=xcu&hist=&project=aoo-trunk
>   in this example in GenericCommands.xcu
>
> - UNO commands have the form ".uno:CommandName", in Pootle you find them
>   with the form uno_CommandName for the UI strings; in the example,
>   search for uno_ExportToPDF
>   
> https://translate.apache.org/es/aoo40/translate/#search=uno_ExportToPDF&sfields=locations
>   For Help strings, the commands are usually inside a bookmark, see
>   
> http://opengrok.adfinis-sygroup.org/source/search?q=%22.uno%3AExportToPDF%22&defs=&refs=&path=helpcontent2&hist=&project=aoo-trunk
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org
For additional commands, e-mail: l10n-h...@openoffice.apache.org

Reply via email to