Recent

Author Topic: objinspstrconsts  (Read 16150 times)

Aburayama

  • New member
  • *
  • Posts: 7
    • http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/PE1ginaPrincipal
objinspstrconsts
« on: March 19, 2004, 09:41:53 am »
Hello,

I'm translating now the file lazarus/languages/objinspstrconsts.po, but I can't find in wich part of the IDE the strings of this file are used (to better translate the strings I need to know precisely what they are meant to represent). I looked into the menus of the IDE, but could't find it. Can someone help me?

Antonio

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
objinspstrconsts
« Reply #1 on: March 19, 2004, 10:41:20 am »
I would guess that is part oof the object inspector
lazarus/ideintf/objectinspector.pp
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Aburayama

  • New member
  • *
  • Posts: 7
    • http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/PE1ginaPrincipal
objinspstrconsts
« Reply #2 on: March 19, 2004, 12:31:28 pm »
But where are these msg in the ide? I didn't find them. I'm a complete newbie to lazarus, so reading the source to discover where they are displayed would very time-expensive :(

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
objinspstrconsts
« Reply #3 on: March 19, 2004, 04:29:01 pm »
Can you give an example? Maybe you are right when you say you  need to read the source (or search the source)  to find out where they are used.

How else can it be done? Enlighten me, please.

Aburayama

  • New member
  • *
  • Posts: 7
    • http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/PE1ginaPrincipal
objinspstrconsts
« Reply #4 on: March 19, 2004, 05:28:21 pm »
For example this text:

#: objinspstrconsts:sccslvedtgrprcaption
msgid " Item property "
msgstr ""

I want to know what kind of thing is such an item. The word "ítem" exists in Spanish, but the meaning is more restricted than in English; probably I should translate it as "elemento" (element), "objeto" (object), or another. Also the translation is longer than the original (propiedad del elemento). I want to know whether this is a problem.

Antonio

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
objinspstrconsts
« Reply #5 on: March 19, 2004, 05:53:14 pm »
This how I would do this:

In Lazarus choose Edit, Search in files and search sccslvedtgrprcaption in the directory lazarus/ideintf.

then I see it is assigned to a caption in line 371 of listviewpropedit.pp

By inspection of the method name I conclude it is part of the ListViewItemsPropertyEditor.

But if you have suggestion, how it can be done better / quicker, please tell.

HTH,
Vincent.

Aburayama

  • New member
  • *
  • Posts: 7
    • http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/PE1ginaPrincipal
objinspstrconsts
« Reply #6 on: March 21, 2004, 04:08:03 am »
Thanks. OK, I'll look into the code...

Antonio

 

TinyPortal © 2005-2018