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 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
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.
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?
Regards, Matthew Brush
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?
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.
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
Em Mon, 5 Feb 2018 09:06:41 -0800 Colomban Wendling lists.ban@herbesfolles.org 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