There is a great mistake on Spanish Translation. When options for a file are offered, the option 3 is completely wrong. It doesn’t says it will be deleted the original and placed instead the new one, but says that it has been done so yet! That could make think that it will reverse that situation, so, the opposite of what is intended. Very dangerous… Also, pacnew|pacsave is not present as name in the 1st sentence, so that makes also ambiguous which file is to be deleted.
Proper translations into Spanish for that:
1.- Mantener el archivo original y eliminar el archivo [pacnew|pacsave]
2.- ver y fusionar con el archivo [pacnew|pacsave]
3.- Eliminar el archivo original y sustituir con el archivo [pacnew|pacsave]
4.- No hacer nada
There are some minor improvements that could be done in other strings, so, if you want me to help, or if you have any doubt, please, contact me and will be gald to help!
Yes, AI is very usefull for translations when enough context is given. But when single sentences are provided, it’s dangerous…
Let me know if some help is needed!
Thanks
In my opinion I would have made all PO files the same as the English template, and then update them from input of community users so we have rock solid translations. AI can be good but for bulk changes like these that we can’t verify as we don’t speak all languages, maybe we should not.
Also something I wonder since beginning, is why the msgid do not contain the whole sentence like in original code, maybe it is because of the tools you use. Currently it splits lines into multiple msgid lines.
#, fuzzy
msgid “”
msgstr “”
“Project-Id-Version: manjaro-pacnew-checker\n”
“Report-Msgid-Bugs-To: \n”
“Last-Translator: FULL NAME EMAIL@ADDRESS\n”
“Language-Team: LANGUAGE LL@li.org\n”
“Language: \n”
“MIME-Version: 1.0\n”
“Content-Type: text/plain; charset=utf-8\n”
“Content-Transfer-Encoding: 8bit\n”
“X-Generator: attranslate\n”
msgid “Now we will remove the $suffix file”
msgstr “Ahora eliminaremos el archivo $suffix .”
msgid “”
"This program is free software, you can redistribute it and/or modify it under the terms of the GNU "
“General Public License as published by the Free Software Foundation version 3 of the License.\n”
“\n”
"This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, without "
"even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
“General Public License for more details.\n”
“\n”
“Author: Stefano Capitani\n”
“stefano@manjaro.org”
msgstr “”
"Este programa es software libre, puede redistribuirlo y/o modificarlo bajo los términos de la "
“Licencia Pública General GNU publicada por la Free Software Foundation, versión 3 de la licencia.\n”
“\n”
"Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA GARANTÍA, "
"ni siquiera la garantía implícita MERCANTIL o ADECUACIÓN PARA UN PROPÓSITO PARTICULAR. "
“Consulte la Licencia Pública General GNU para más detalles.\n”
“\n”
“Autor: Stefano Capitani\n”
“Stefano@manjaro.org”
msgid “”
“New Pacnew/Pacsave files found:\n”
“\n”
“Keep in mind:\n”
“\n”
"You must be aware of your choices. If you are unsure please inquire using our social channels such "
“as our support forum.\n”
msgstr “”
“Se encontraron nuevos archivos pacnew/pacsave:\n”
“\n”
“Tenga en cuenta:\n”
“\n”
"Debe ser consciente de sus elecciones. Si no está seguro, pregunte usando nuestros canales "
“sociales, por ejemplo nuestro foro de soporte.\n”
msgid “What do you want to do with the file $basefile?\n”
msgstr “¿Qué quiere hacer con el archivo $basefile?\n”
msgid “Keep the original and remove the $suffix file”
msgstr “Mantener el archivo original y eliminar el archivo $suffix .”
msgid “View and merge the $suffix file”
msgstr "Ver y fusionar el archivo $suffix "
msgid “Replace the original with the $suffix file”
msgstr “Sustituir el archivo original por el archivo $suffix .”
msgid “Do nothing”
msgstr “No hacer nada”
msgid “Management of Pacnew/Pacsave complete”
msgstr “Gestión de Pacnew/Pacsave completa”
I’ve also checked the Portuguese pt.po file (I speak a little Portuguese), and it’s OK, no problems with thanslation nor arrays.
BTW: I kept the \n and \n , but checked them to be in proper places, and same line numbers as original.
No I didn’t. The chat has changed the content. Copy/past does not work in the forum, I can see, but I cannot upload the file. Perhaps I should have used the code formatting, I’ll try again:
es.po corrected new
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the manjaro-pacnew-checker package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: manjaro-pacnew-checker\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: attranslate\n"
msgid "Now we will <span foreground='red'>remove</span> the $suffix file"
msgstr "Ahora <span foreground='red'>eliminaremos</span> el archivo $suffix ."
msgid ""
"This program is free software, you can redistribute it and/or modify it under the terms of the GNU "
"General Public License as published by the Free Software Foundation version 3 of the License.\n"
"\n"
"This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, without "
"even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
"General Public License for more details.\n"
"\n"
"Author: Stefano Capitani\n"
"stefano@manjaro.org"
msgstr ""
"Este programa es software libre, puede redistribuirlo y/o modificarlo bajo los términos de la "
"Licencia Pública General GNU publicada por la Free Software Foundation, versión 3 de la licencia.\n"
"\n"
"Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA GARANTÍA, "
"ni siquiera la garantía implícita MERCANTIL o ADECUACIÓN PARA UN PROPÓSITO PARTICULAR. "
"Consulte la Licencia Pública General GNU para más detalles.\n"
"\n"
"Autor: Stefano Capitani\n"
"Stefano@manjaro.org"
msgid ""
"<span foreground='red'>New Pacnew/Pacsave files found:\\n"
"</span>\n"
"Keep in mind:\\n"
"\n"
"You must be aware of your choices. If you are unsure please inquire using our social channels such "
"as our support forum.\\n"
msgstr ""
"<span foreground='red'>Se encontraron nuevos archivos pacnew/pacsave:\\n"
"</span>\n"
"Tenga en cuenta:\n"
"\n"
"Debe ser consciente de sus elecciones. Si no está seguro, pregunte usando nuestros canales "
"sociales, por ejemplo nuestro foro de soporte.\\n"
msgid "What do you want to do with the file <span foreground='red'>$basefile</span>?\\n"
msgstr "¿Qué quiere hacer con el archivo <span foreground='red'>$basefile</span>?\\n"
msgid "Keep the original and remove the $suffix file"
msgstr "Mantener el archivo original y eliminar el archivo $suffix ."
msgid "View and merge the $suffix file"
msgstr "Ver y fusionar el archivo $suffix "
msgid "Replace the original with the $suffix file"
msgstr "Sustituir el archivo original por el archivo $suffix ."
msgid "Do nothing"
msgstr "No hacer nada"
msgid "Management of Pacnew/Pacsave complete"
msgstr "Gestión de Pacnew/Pacsave completa"
Yes, now it works properly.
BTW: I’ve tried to edit the file in codeberg repo, but I don’t now how to do that. I’ve created a fork, but I cannot find how to propose a merge… (I’m sorry, I’ve never user git or similar repos in a collaborative mode, just for my own projects).
Sorry to skip the hundred or so posts … but …
I feel I should mention that the manjaro-pacnew-checker package as it is now seems to have odd dependencies… kio-admin is an optional dep, while gvfs is a required dep.
Meaning even if kio is already installed, gvfs will be installed anyways …
I dont think this is the intended behavior.
I just sent a PR on Codeberg to revert the changes made to FR language which broke the consistency (it removed new lines), and made the translation consistent with the original regarding all the \n and \\n, and strings (like the <span> on a new line which was different from the original strings).
Overall I think the PO files are weirdly constructed, adding the new lines in that file was a mistake to begin with, the new lines should be only in the original code of the executable, and the text strings should just but that, text strings. It would make the PO files clearer.
I have a question that boggles my mind since the begining of this project.
There was an app pacnew-chaster, that did everything that this script intended to do, but simply better and in a more convenient way. It wasn’t perfect, but easier to use. It was abandoned, but worked well for years. Recently hooks started creating some errors, so I uninstalled it, but wouldn’t it be just better to fork it, or maybe ask the owner to take over the original project, and upgrade it, so it would work as seamlessly as before?
Not really dead (I reinstalled it on a new PC 6 months ago and I’m still using it). But pacnew-chaser.hook is disabled* (renamed to /etc/pacman.d/hooks/pacnew-chaser).
If I don’t have any issues on gitlab for the last 6 years, for me it’s all ok, no reason to go back to (old) code. And I regularly get feedback from people who still use it.
Note: I can’t connect to gitlab anymore, it sends a key to an old email. So I can’t even reply to an issue.
I’m thinking (since one year) of totally rewriting this application one day (in another language), but that may be in 6 months or 1 year.
EDIT: disabled hook, manually after install (popup during installation is not for me)
I still use pacnew-chaser (with meld for compare/edit), in fact since its creation several years ago. Happy with it and hoping it will last a long time more