New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve meson build system #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great contribution, I'm merging it now and will apply similar changes to my other projects. 🎉
The second commit I will ommit it for now as I would like to keep the translation files around.
Thanks again!
@casasfernando do not hesitate to create a PR on your other projects and ask me for review if you want me to check 😄 Regarding translation files. It's better not to add them for untranslated languages. Translators have to add their language code themselves into You could add a translator contributing guide inside the translations folder and link it to the appdata "Translate" link. Note: The polish translation files are not properly formatted |
Great explanation again. I will merge the second commit as well. |
You're right I didn't noticed that the charset was affected when I regenerated the file 👀 |
Just made the fix 😉 |
Cool will proceed with the merge. |
There was a mismatch between the Usually when you add a language as a translator you can add the language code to the In this case the translator didn't use this method so the file header was altered (See ee458ca). Here is the difference after regenerating the file: Before msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: POEditor.com\n"
"Project-Id-Version: Wingpanel Weather\n"
"Language: pl\n" After # Polish translations for com.github.casasfernando.wingpanel-indicator-weather package.
# Copyright (C) 2021 THE com.github.casasfernando.wingpanel-indicator-weather'S COPYRIGHT HOLDER
# This file is distributed under the same license as the com.github.casasfernando.wingpanel-indicator-weather package.
# Automatically generated, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: com.github.casasfernando.wingpanel-indicator-weather\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-01 22:54+0100\n"
"PO-Revision-Date: 2021-12-01 22:54+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n" Translators can also manually copy the content of the translation template file but it's easiest to use the automated way which completes the file headers automatically. Usually translators just have to replace Hope I have answered to your concerns. |
I assume this can be closed now right? |
Brilliant, got it now! Thanks. |
Hi @casasfernando I made some cleanup to your project structure, especially with meson files.
Let me know if you have any questions.