How to generate .POT?

2014-03-13 Thread Jeff Cai
Hello All,

I'v followed the process of *Adding new language* (
https://wiki.documentfoundation.org/LibreOffice_Localization_Guide/Adding_a_New_Language_or_Locale)
to add one new language and it worked.

It:s the time to localise the new language string.

Is there any guide online i can follow to regenerate the PO file?
I known there is some l10ntools to extract string from src to POT, but i
fail to figure out how to get it work.

I am now working on the approach of adding new entry manually and want to
know the more automatically way to do so.

PS. I am on windows platform.

Thanks!

-- 
yours sincerely,
 Jeff
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Need help with add a customised button to top toolbar.

2014-01-14 Thread Jeff Cai
Hello All,

I am working on a project to add a customised button to top toolbar of
Writer.
I've built the source and had some other modification done.

However, i found myself lost in the large code of framework/sfx2, and don't
know where to start.

Is there any good example i can get clear idea of the whole thing from the
current source code or and external material that can help? Can someone
figure it out?

Thanks!

-- 
yours sincerely,
 Jeff
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


My Windows build is much slower than Linux build. Any way to speed up?

2013-12-23 Thread Jeff Cai
Hello,

I am new to LibreOffice. Recently, I downloaded the code and started my
build.
At first, I built under Linux, which simply git, apt-get those library,
autogen and make.
It worked like a charm.

Then I switched to Windows build. I noticed that it builds more things than
Linux build does(Like unit test). And it's much SLOWER!

Is there any way to speed up windows build? I used precompiled header in my
autogen.sh, I also use the correct make(3.82) from libreoffice build
tool, and set parallels parameter to 4(make -j 4).

Any way to disable the build of unit tests? I've searched through the help
to autgen, and found nothing.

-- 
yours sincerely,
 Jeff
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice