Re: [Geany-Users] po header changes to funny string

2018-02-05 Thread Pedro Albuquerque
Em Mon, 5 Feb 2018 09:06:41 -0800
Colomban Wendling  escreveu:

> Hi,
> 
> Le 04/02/2018 à 05:38, Pedro a écrit :
> > […]
> > No, that one has the correct data. I'll look some more later, but
> > I'm more or less sure it's a composed string. Maybe
> > username@hostname?  
> 
> PO Helper plugin uses the option set in Geany's template preferences
> to fill the Last-Translator field.  AFAIK, Geany's filling this with
> the system discovered names and addresses, which depend on the OS and
> environment, so if it's not properly filled Geany will likely use some
> defaults.  I could check for that "Unknown" value though, which likely
> PO-Helper should be using if it's easy enough not to.

I'd appreciate that. It's a bit odd having an untranslated string as
default when everything else is translated.

Regards,
Pedro
> 
> Regards,
> Colomban
> ___
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

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


Re: [Geany-Users] po header changes to funny string

2018-02-05 Thread Colomban Wendling
Hi,

Le 04/02/2018 à 05:38, Pedro a écrit :
> […]
> No, that one has the correct data. I'll look some more later, but I'm
> more or less sure it's a composed string. Maybe username@hostname?

PO Helper plugin uses the option set in Geany's template preferences to
fill the Last-Translator field.  AFAIK, Geany's filling this with the
system discovered names and addresses, which depend on the OS and
environment, so if it's not properly filled Geany will likely use some
defaults.  I could check for that "Unknown" value though, which likely
PO-Helper should be using if it's easy enough not to.

Regards,
Colomban
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Little Girl
Hey there,

Pedro wrote:

> Any way, I understood the template would be applied to programming
> projects, not a po file. Just needs to be properly filled and all
> is OK.

The only way I know to use templates is to click File, choose
New(with Template) from the drop-down menu, and then choose the
template from the drop-down sub-menu.

> >Could it be getting it from the ~/.ssh/id_rsa.pub file that you
> >probably use to communicate with the .po file's host?
  
> No, that one has the correct data. I'll look some more later, but
> I'm more or less sure it's a composed string. Maybe
> username@hostname? Thanks,

It could be. Hopefully someone who knows will jump in once the
weekend is over.

-- 
Little Girl

There is no spoon.
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Pedro
Hi again



>Interesting. Was the information in there the same as the information
>it was populated as before?

 

Yes, like you say, Geany found it somewhere. It's not bad, simply I don't use Geany for editing po files and got curious about it.
 


>I didn't either, but mine has some default information in it that
>Geany discovered on its own.

 

Any way, I understood the template would be applied to programming projects, not a po file. Just needs to be properly filled and all is OK.

>Could it be getting it from the ~/.ssh/id_rsa.pub file that you
>probably use to communicate with the .po file's host?

 

No, that one has the correct data. I'll look some more later, but I'm more or less sure it's a composed string. Maybe username@hostname?

 

Thanks,

Pedro



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


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Little Girl
Hey there,

Pedro wrote:

> Little Girl, you are partially right. If I remove that template, it
> disappears from the header on save. It then looks like this:
> "Last-Translator: Unknown <>n"

Interesting. Was the information in there the same as the information
it was populated as before?

> But I don't recall ever filling that!

I didn't either, but mine has some default information in it that
Geany discovered on its own.

> Mathew, yes. If I disable the option for auto-update (last checkbox
> on the menu), Last-Translator wont get updated, but time wont
> either. So, where does the "Unknown" comes from?

Could it be getting it from the ~/.ssh/id_rsa.pub file that you
probably use to communicate with the .po file's host?

-- 
Little Girl

There is no spoon.
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Pedro



Sent: Sunday, February 04, 2018 at 12:27 PM
From: "Matthew Brush" <mbr...@codebrainz.ca>
To: users@lists.geany.org
Subject: Re: [Geany-Users] po header changes to funny string

On 2018-02-04 03:54 AM, Pedro wrote:
> Hi
> I was trying to edit a po file with geany and a funny thing happened.
> Geany alters the header.
> First change is the time, OK, no problem.
> But then the "Last-Translator:" gets altered too.
> I'm **guessing** Geany fetches the username and adds the laptop's name,
> replacing the real info. Like this:
> "Last-Translator: Unknown <pedro@mx17>\n"
> Can someone tell me where is this setting? Or where does Geany gets it?
> Automatic time update is great but I need the rest to remain unchanged

Hi,

Do you have the PO Helper plugin[0] enabled?

 


Little Girl, you are partially right. If I remove that template, it
disappears from the header on save. It then looks like this:
"Last-Translator: Unknown <>\n"
But I don't recall ever filling that!

 

Mathew, yes. If I disable the option for auto-update (last checkbox on
the menu), Last-Translator wont get updated, but time wont either.
So, where does the "Unknown" comes from?

 

Regards,
Pedro
Regards,
Matthew Brush

[0]: https://plugins.geany.org/pohelper.html
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users



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


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Matthew Brush

On 2018-02-04 03:54 AM, Pedro wrote:

Hi
I was trying to edit a po file with geany and a funny thing happened.
Geany alters the header.
First change is the time, OK, no problem.
But then the "Last-Translator:" gets altered too.
I'm **guessing** Geany fetches the username and adds the laptop's name,
replacing the real info. Like this:
"Last-Translator: Unknown \n"
Can someone tell me where is this setting? Or where does Geany gets it?
Automatic time update is great but I need the rest to remain unchanged


Hi,

Do you have the PO Helper plugin[0] enabled?

Regards,
Matthew Brush

[0]: https://plugins.geany.org/pohelper.html
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] po header changes to funny string

2018-02-04 Thread Little Girl
Hey there,

Pedro wrote:

> I'm **guessing** Geany fetches the username and adds the laptop's
> name, replacing the real info. Like this:
> "Last-Translator: Unknown n"
  
> Can someone tell me where is this setting? Or where does Geany gets
> it? Automatic time update is great but I need the rest to remain
> unchanged 

It might be getting it from Edit --> Preferences --> Templates, but I
don't work with po files, so it could be from a configuration file or
files somewhere that relate(s) directly to those.

-- 
Little Girl

There is no spoon.
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


[Geany-Users] po header changes to funny string

2018-02-04 Thread Pedro

Hi

 

I was trying to edit a po file with geany and a funny thing happened.
Geany alters the header.

 

First change is the time, OK, no problem.
But then the "Last-Translator:" gets altered too.

 

I'm **guessing** Geany fetches the username and adds the laptop's name,
replacing the real info. Like this:
"Last-Translator: Unknown \n"

 

Can someone tell me where is this setting? Or where does Geany gets it?
Automatic time update is great but I need the rest to remain unchanged

 

Thanks in advance, regards,
Pedro

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