New salix-update-notifier, please test (and translate)

User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

ibka, can you point me where exactly it is not translated? I'm running it here with LANG=sv_SE.utf8 and everything seems to be translated.
Image
Image
User avatar
ibka
Posts: 168
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: New salix-update-notifier, please test (and translate)

Post by ibka »

Hi gapan

This is the content of the de-compiled salix-update-notifier.mo from the salix-update-notifier-20251024-x86_64-1gv.txz package:

Image

it is missing a lot of translations and this is the po file from Transifex:

Image
Image
User avatar
laplume
Donor
Posts: 351
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: New salix-update-notifier, please test (and translate)

Post by laplume »

ImageHello,
Same here. I installed salix-update-notifier-20251024-x86_64-1gv.txz but no translations are showing (except the 'Annulla' button on bottom left side).
Here are the screenshots:
Image

Regards,
Antonio
Last edited by laplume on 24. Oct 2025, 21:38, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Ah, that was by fault. I forgot to sync the git repo on the machine I'm using to build the packages. So, I thought I had included the updated translations in the latest package, but I hadn't. New packages are up now, they should be OK, thanks again!
Image
Image
User avatar
laplume
Donor
Posts: 351
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: New salix-update-notifier, please test (and translate)

Post by laplume »

Hello gapan,
YES, now it's working correctly. All is duly shown in correct localisation. :D Thumbs up and thanks for your work, much appreciated.
Sample screenshot here :
https://imgur.com/a/vFtTDiG

Regards,
Antonio
User avatar
ibka
Posts: 168
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: New salix-update-notifier, please test (and translate)

Post by ibka »

Hi gapan

Yes it is OK now.

I have a Salix installation in VirtualBox for experimenting and i was running salix-update-manager in a terminal and it shows the following:

Code: Select all

$ sudo salix-update-manager
DEBUG: Reading Package Lists...Done
DEBUG: The following packages have been EXCLUDED:
DEBUG: glibc glibc-i18n glibc-zoneinfo icewm idesk salix-update-notifier xfe yad
DEBUG: zzz-settings
DEBUG: The following packages will be upgraded:
DEBUG: pcre2
DEBUG: 1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 9 not upgraded.
DEBUG: Need to get 1.2MB of archives.
DEBUG: 1/1 Get http://www.mirrorservice.org/sites/download.salixos.org/x86_64/slackware-15.0/ pcre2 10.47-x86_64-1 [1.2MB]...Done
DEBUG: 
DEBUG: Done
DEBUG: Reading Package Lists...Done
DEBUG: The following packages have been EXCLUDED:
DEBUG: glibc glibc-i18n glibc-zoneinfo icewm idesk salix-update-notifier xfe yad
DEBUG: zzz-settings
DEBUG: The following packages will be upgraded:
DEBUG: pcre2
DEBUG: 1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 9 not upgraded.
DEBUG: Need to get 2.0kB/1.2MB of archives.
DEBUG: After unpacking 816.0kB of additional disk space will be used.
DEBUG: 
DEBUG: Preparing to replace pcre2-10.39-x86_64-1 with pcre2-10.47-x86_64-1
DEBUG: Upgrading package pcre2-10.39-x86_64-1 -> pcre2-10.47-x86_64-1...
DEBUG: | pcre2 (Perl-compatible regular expression library v2)
DEBUG: |
DEBUG: | PCRE2 is a re-working of the original PCRE library to provide a
DEBUG: | new and improved API.
DEBUG: |
DEBUG: | Homepage: http://www.pcre.org/
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: |
DEBUG: Done
Notice the "DEBUG:" part
I took a look at the source of salix-update-manager and there is more than one of this line:

Code: Select all

print("DEBUG:", line)
When i do something like this i put a variable in the beginning of the code and then check if the variable is true do the print part, this makes it easier if i have a lot of debug prints in the code.
Just a tip.

And again thanks for your work, i have used Salix for about 15 years now.
Image
User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Hi ibka, yes, I know :)

I just wanted it to always print those during testing.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6403
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Well, updated packages are up. There are no debug messages now by default, but you can show them if you run it from the command line with --debug.
Image
Image
Post Reply