Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen

Thanks.


Am 30.07.2017 um 19:01 schrieb Frank Lanitz:

On 30.07.2017 15:08, Lars Paulsen wrote:

Hi Frank, hi Lex,

thanks for the help so far.
My code is now available on github under
https://github.com/LarsGit223/geany-plugins, see branch "workbench".

See initial commit
https://github.com/LarsGit223/geany-plugins/commit/87b6d5c5019fd0786029e2efd28ce0f687721bac
for the files that I changed.
Aside from the plugin's source code in folder "workbench" I changed the
following files:

- configure.ac
- makefile.am
- po/POTFILES.in
- build/workbench.m4


Will have a look. On first view it looks okish. Need to have a closer look.



___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Frank Lanitz
On 30.07.2017 15:08, Lars Paulsen wrote:
> Hi Frank, hi Lex,
> 
> thanks for the help so far.
> My code is now available on github under
> https://github.com/LarsGit223/geany-plugins, see branch "workbench".
> 
> See initial commit
> https://github.com/LarsGit223/geany-plugins/commit/87b6d5c5019fd0786029e2efd28ce0f687721bac
> for the files that I changed.
> Aside from the plugin's source code in folder "workbench" I changed the
> following files:
> 
> - configure.ac
> - makefile.am
> - po/POTFILES.in
> - build/workbench.m4
> 

Will have a look. On first view it looks okish. Need to have a closer look.



signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen

Hi Frank, hi Lex,

thanks for the help so far.
My code is now available on github under 
https://github.com/LarsGit223/geany-plugins, see branch "workbench".


See initial commit 
https://github.com/LarsGit223/geany-plugins/commit/87b6d5c5019fd0786029e2efd28ce0f687721bac 
for the files that I changed.
Aside from the plugin's source code in folder "workbench" I changed the 
following files:


- configure.ac
- makefile.am
- po/POTFILES.in
- build/workbench.m4

Greetings,
Lars

Am 30.07.2017 um 10:08 schrieb Lars Paulsen:


Short update:
I quickly tried autogen but no difference. Cheers, Lars


Am 30.07.2017 um 09:59 schrieb Lars Paulsen:


Hi Frank,

I did not run autogen. Only configure.

No my source is not yet available online.
I am close to a first usable version but only wanted to upload it 
after the "householding" is done (like translation at least to german).


Greetings,
Lars


Am 30.07.2017 um 07:55 schrieb Frank Lanitz:

On 29.07.2017 16:07, Lars Paulsen wrote:

Hello All,

I solved my problem with running xgettext from the command line.
But I got one question left:

How can I update the language files using the geany-plugins makefile?

My own plugin is build and installed properly if I run "make" and "make
install". I also added my source files to "POTFILES.IN" which makes them
appear in "POTFILES" after buidling. I also ran "make update-po" inside
the "po" folder but my plugin's strings do not appear in any ".po" files.


Did you rerun autogen after adding the files? Is your source somewhere
available?

Cheers,
Frank



___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel




___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel




___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen

Short update:
I quickly tried autogen but no difference. Cheers, Lars


Am 30.07.2017 um 09:59 schrieb Lars Paulsen:


Hi Frank,

I did not run autogen. Only configure.

No my source is not yet available online.
I am close to a first usable version but only wanted to upload it 
after the "householding" is done (like translation at least to german).


Greetings,
Lars


Am 30.07.2017 um 07:55 schrieb Frank Lanitz:

On 29.07.2017 16:07, Lars Paulsen wrote:

Hello All,

I solved my problem with running xgettext from the command line.
But I got one question left:

How can I update the language files using the geany-plugins makefile?

My own plugin is build and installed properly if I run "make" and "make
install". I also added my source files to "POTFILES.IN" which makes them
appear in "POTFILES" after buidling. I also ran "make update-po" inside
the "po" folder but my plugin's strings do not appear in any ".po" files.


Did you rerun autogen after adding the files? Is your source somewhere
available?

Cheers,
Frank



___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel




___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen

Hi Frank,

I did not run autogen. Only configure.

No my source is not yet available online.
I am close to a first usable version but only wanted to upload it after 
the "householding" is done (like translation at least to german).


Greetings,
Lars


Am 30.07.2017 um 07:55 schrieb Frank Lanitz:

On 29.07.2017 16:07, Lars Paulsen wrote:

Hello All,

I solved my problem with running xgettext from the command line.
But I got one question left:

How can I update the language files using the geany-plugins makefile?

My own plugin is build and installed properly if I run "make" and "make
install". I also added my source files to "POTFILES.IN" which makes them
appear in "POTFILES" after buidling. I also ran "make update-po" inside
the "po" folder but my plugin's strings do not appear in any ".po" files.


Did you rerun autogen after adding the files? Is your source somewhere
available?

Cheers,
Frank



___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen

Hi Lex,

yes, e.g. _("Hello World!").
Strings get translated properly if I add them to the translation 
completely manually e.g. into "de.po".


After you mentioned the tool I thought that that should also be possible 
using the makefiles.

Or is the makefile only updating the strings and not adding new ones?
But I saw untranslated strings from other plugins so I assume the first 
is wrong and it should also add new strings.


Greetings,
Lars


Am 30.07.2017 um 00:35 schrieb Lex Trotman:

On 30 July 2017 at 00:07, Lars Paulsen  wrote:

Hello All,

I solved my problem with running xgettext from the command line.
But I got one question left:

How can I update the language files using the geany-plugins makefile?

My own plugin is build and installed properly if I run "make" and "make
install". I also added my source files to "POTFILES.IN" which makes them
appear in "POTFILES" after buidling. I also ran "make update-po" inside the
"po" folder but my plugin's strings do not appear in any ".po" files.

Have to ask the obvious question first, you have marked the strings as
translatable?

Cheers
Lex


Regards,
Lars


Am 29.07.2017 um 15:10 schrieb Lars Paulsen:

Hi Lex,

ignore it, found the solution on stackoverflow.com:

xgettext -k_ -D . -o - *.c

Greetings,
Lars



___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel