- This topic has 38 replies, 8 voices, and was last updated Nov 28-6:13 pm by Wallon.
- AuthorPosts
- November 20, 2023 at 8:32 pm #124049Member
blur13
::If you make a “Proposal for updated Ad Block” post on a public forum you are bound to get suggestions that you may or may not agree with. It doesnt mean that you have to take them into consideration. Its your script, do what you like with it. If others like it, they can use it. If you like it, you can use it. Open source, its win win.
November 20, 2023 at 9:01 pm #124050ModeratorBrian Masinick
::@blur13 I agree; contributions are just that. The person creating the script can choose to receive and apply suggestions, or keep things as is, and even request to remove the contribution in the case that it receives no love or support; it IS freely available software.
An individual can, since it’s typically provided under a GNU Public License, grab the code, modify it, and use it in a modified state, contribute it back either as an update, a fork, or NOT share it, and use the modifications ONLY for personal use. Of course, since it’s a GNU contribution, one cannot grab it, reuse it and then attempt to sell it unless they credit others preceding them, in which case that is also permissible.
So for anyone who wants to alter this or any other script, grab it and play with it; I do that every so often for my own personal use, and nobody even knows unless I chat or talk about it.
--
Brian MasinickNovember 28, 2023 at 1:54 pm #124673MemberWallon
::Dear anticapitalista, Dear PPC,
I saw that GitLab had been updated for the block-advert.sh script.
I extracted a *.pot file from the new script. I compared this *.pot file with the *.mo file at Transifex. The window titles, for example, can no longer be translated. There’s also the underscore that appears in several strings.
It would be nice to update the *.pot file at GitLab and update the *.pot file at Transifex.Here is the new *.pot file with 2 comments to help translators.
While checking the translations of other languages, I noticed that some new members at Transifex were translating variables, for example.Thanks to both of you,
Kind regards,
WallonAttachments:
November 28, 2023 at 2:41 pm #124678MemberPPC
::@Wallon – I think anticapitalista has not yet updated the script in gitlab.
@anticapitalista – the latest version of the script in attached to https://www.antixforum.com/forums/topic/proposal-for-updated-ad-block/#post-123806 if you want to use it, please update the file (sorry, but git seems to really not like me).
P.
November 28, 2023 at 3:09 pm #124687MemberPPC
::Dear anticapitalista
I noticed you just updated some git projects, including the Ad Block one- you updated Wallon’s language file, but not the script itself – was that by choice?P.
November 28, 2023 at 3:33 pm #124692Forum Adminanticapitalista
::Not by choice but through confusion.
Unless the latest versions of scripts, pot files, translations etc are updated to Gitlab, we will get confused.
I’ll update the one I think is the latest and we’ll se if it matches the translations as well.
I have no idea.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 28, 2023 at 3:57 pm #124693MemberPPC
::@anticapitalista – I just checked – you uploaded the most current (and last) version of the updated script.
I’m not sure about the localization file- I think Wallon assumed that the script that was on the git project was the latest version and created the localization file based on that script…
Hey, localization is important, but it’s more important to have the latest, bug free version of the script. Previous localizations still work perfectly with the script. The only problem is that if the new string is not on the localization file, the string won’t be translated (case in point, basically, the names of the kinds of web pages that will be blocked, the name of the script on the title bar, etc).@Wallon, if I’m right in what I told anticapitalista, please update your localization file, as soon as you can.
November 28, 2023 at 5:57 pm #124700MemberWallon
::Dear anticapitalista, Dear PPC,
Sorry, I can’t be everywhere at once as anticapitalista. I don’t know how he does it?
I checked the last script and pulled up a new *.pot file. The translations in Transifex are fine, so nothing needs to be changed!
MX Linux always requests that you correct the “charset” in *.pot files to avoid problems with foreign languages.
The correct code should be “charset=UTF-8” and it has not been modified in the *.pot file on GitLab.You’ll find the correct *.pot file to put on Gitlab in the appendix to my message.
I think anticapitalista can edit the *.pot file directly on GitLab and replace the words charset=CHARSET on line 17 with the words charset=UTF-8. It will go even faster for him.Thanks to both of you,
Kind regards,
WallonAttachments:
November 28, 2023 at 6:13 pm #124706MemberWallon
- AuthorPosts
- You must be logged in to reply to this topic.