Skip to content
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

Spring 2022 license updates #2921

Merged
merged 83 commits into from
Apr 28, 2022
Merged

Spring 2022 license updates #2921

merged 83 commits into from
Apr 28, 2022

Conversation

pombredanne
Copy link
Member

@pombredanne pombredanne commented Apr 25, 2022

This is a batch of new and improved licenses and license detection rules

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

jacobian and others added 30 commits July 13, 2005 16:56
discussion with Jacob). This is a formality, since it was always true, just not
noted.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
…ing (dates and numbers) and form processing.

Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!

Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
…ntti Kaihola and Ramiro Morales for the initial patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
…slations az, es-mx and ur. Thanks, lasko.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
Thanks to Xwybylty Soslan for the translation work.
Thanks to Yhal Htet Aung for the translation work.
Added 'name_local' translation for Albanian in LANG_INFO
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional).
Added support for browsers that still send the deprecated language codes.

Thanks to Olli Wang for the report.
Fixed #18149 -- Changed language codes for Chinese
Adds Australian English (en_AU) to locale conf, which differs from
American English in date formatting and spelling, and continues
to diverge from British English in spelling (and first-day-of-week
according to the current en_GB locale format.py).

The transifex language project to match this patch has been requested.
Reference: #2873
Reported-by: Sebastian Schuberth <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne pombredanne force-pushed the spring-2022-license-updates branch from ed614c6 to ea344dd Compare April 26, 2022 05:43
Signed-off-by: Philippe Ombredanne <[email protected]>
Contributed-by: Dennis Clark <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
* updates were not working

Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne pombredanne force-pushed the spring-2022-license-updates branch from 8dabd05 to 64cffb6 Compare April 27, 2022 21:21
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
* Use Django's language codes mapping, extracted and vendored
* Also load an validate validate in license rules.
* Fix language codes where needed

Signed-off-by: Philippe Ombredanne <[email protected]>
This way we have a more obvious way to spot these license rules.

Signed-off-by: Philippe Ombredanne <[email protected]>
As they are not included in the standard indexing, they cannot be
detected unless we reindex.

Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne pombredanne force-pushed the spring-2022-license-updates branch from 321cb74 to 4870314 Compare April 28, 2022 20:52
* Exclude from License.to_dict() fields that are strings made only of
  spaces.
* Also simplify language handling and format code.

Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne pombredanne force-pushed the spring-2022-license-updates branch from 4870314 to 3cec169 Compare April 28, 2022 20:53
@pombredanne
Copy link
Member Author

All green now... merging!

@pombredanne pombredanne merged commit b5fa441 into develop Apr 28, 2022
@pombredanne pombredanne deleted the spring-2022-license-updates branch April 28, 2022 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.