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

Prep the 1.9 release #795

Merged
merged 6 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.9] - 2024-04-03

### Added

- Full Wagtail 6.0 support ([#776](https://github.com/wagtail/wagtail-localize/pull/776), [#782](https://github.com/wagtail/wagtail-localize/pull/782), [#795](https://github.com/wagtail/wagtail-localize/pull/795))

### Fixed

- Fix case insensitivity issue with some databases when using `Translation.import_po` ([#781](https://github.com/wagtail/wagtail-localize/pull/781)) @Nigel2392
- Fix temporary file permissions in Windows when reading PO files ([#781](https://github.com/wagtail/wagtail-localize/pull/781)) @Nigel2392
- Fix the publish action in Wagtail 6.0+ ([#782](https://github.com/wagtail/wagtail-localize/pull/782)) @zerolab
- Fix snippet chooser blocks ([#795](https://github.com/wagtail/wagtail-localize/pull/795)) @zerolab

### Removed

- Support for Wagtail < 5.2

## [1.9alpha3] - 2024-03-02

### Fixed

- Publishing translations in Wagtail 6.0+

## [1.9alpha2] - 2024-02-20

### Fixed
Expand All @@ -19,7 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- formal Wagtail 6.0 support ([#776](https://github.com/wagtail/wagtail-localize/pull/776)) @laymonage and @zerolab
- Formal Wagtail 6.0 support ([#776](https://github.com/wagtail/wagtail-localize/pull/776)) @laymonage and @zerolab

## [1.8] - 2024-02-10

Expand Down Expand Up @@ -316,6 +339,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Make sure field level validation runs when translating snippets](https://github.com/wagtail/wagtail-localize/pull/427)

[unreleased]: https://github.com/wagtail/wagtail-localize/compare/v1.9-alpha.2...HEAD
[1.9]: https://github.com/wagtail/wagtail-localize/compare/v1.8...v1.9
[1.9alpha3]: https://github.com/wagtail/wagtail-localize/compare/v1.9-alpha.2...v1.9-alpha.3
[1.9alpha2]: https://github.com/wagtail/wagtail-localize/compare/v1.9-alpha.1...v1.9-alpha.2
[1.9alpha1]: https://github.com/wagtail/wagtail-localize/compare/v1.8...v1.9-alpha.1
[1.8]: https://github.com/wagtail/wagtail-localize/compare/v1.7...v1.8
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wagtail-localize-admin",
"version": "1.9.0-alpha.3",
"version": "1.9.0",
"description": "",
"main": "src/main.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ testing = [
"django-rq>=2.5,<3.0",
"google-cloud-translate>=3.0.0",
"wagtail-modeladmin>=2.0,<3.0",
"coverage>=7.0,<8.0"
]
linting = [
"pre-commit>=3.4,<4"
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ setenv =
extras = testing

deps =
coverage>=7.0,<8.0

django3.2: Django>=3.2,<3.3
django4.2: Django>=4.2,<5.0
django5.0: Django>=5.0,<5.1
Expand Down Expand Up @@ -69,10 +67,15 @@ base_python = python3.12
deps =
wagtailmain: git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail

commands =
python -Im testmanage.py test --deprecation all {posargs: -v 2}


[testenv:interactive]
description = An interactive environment for local testing purposes
basepython = python3.11
deps =
wagtail>=5.2,<6.0

commands_pre =
python {toxinidir}/testmanage.py makemigrations
Expand Down
2 changes: 1 addition & 1 deletion wagtail_localize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@


# release must be one of alpha, beta, rc, or final
VERSION = (1, 9, 0, "alpha", 3)
VERSION = (1, 9, 0, "final", 0)

__version__ = get_version(VERSION)
17 changes: 0 additions & 17 deletions wagtail_localize/locale/af/LC_MESSAGES/django.po

This file was deleted.

Binary file modified wagtail_localize/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
21 changes: 2 additions & 19 deletions wagtail_localize/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,37 +1,20 @@
#
# Translators:
# abdulaziz alfuhigi <abajall@gmail.com>, 2021
# ROGER MICHAEL ASHLEY ALLEN <rogermaallen@gmail.com>, 2021
# abdulaziz alfuhigi <abajall@gmail.com>, 2022
# Ahmad Kiswani <kiswani.ahmad@gmail.com>, 2022
# ultraify media <ultraify@gmail.com>, 2022
# Younes Oumakhou, 2023
#
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Younes Oumakhou, 2023\n"
"Language-Team: Arabic (https://app.transifex.com/torchbox/teams/8009/ar/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

msgid "Saving…"
msgstr "يتم الحفظ…"

msgid "Save"
msgstr "حفظ"

msgid "Delete"
msgstr "حذف"

msgid "Download XLSX"
msgstr "تنزيل XLSX"

msgid "Download CSV"
msgstr "تنزيل ملف CSV"

msgid "Go back"
msgstr "رجوع"

Expand Down
Binary file modified wagtail_localize/locale/ar/LC_MESSAGES/djangojs.mo
Binary file not shown.
7 changes: 5 additions & 2 deletions wagtail_localize/locale/ar/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
# Translators:
# ROGER MICHAEL ASHLEY ALLEN <rogermaallen@gmail.com>, 2021
# Ahmad Kiswani <kiswani.ahmad@gmail.com>, 2021
# Ahmed Miske Sidi Med <boutien321@gmail.com>, 2021
# abdulaziz alfuhigi <abajall@gmail.com>, 2021
# Ahmed Miske Sidi Med <boutien321@gmail.com>, 2024
#
msgid ""
msgstr ""
"Last-Translator: abdulaziz alfuhigi <abajall@gmail.com>, 2021\n"
"Last-Translator: Ahmed Miske Sidi Med <boutien321@gmail.com>, 2024\n"
"Language-Team: Arabic (https://app.transifex.com/torchbox/teams/8009/ar/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

msgid "Actions"
msgstr "النشاطات"

msgid "Change image"
msgstr "تغير الصورة"

Expand Down
Binary file modified wagtail_localize/locale/az_AZ/LC_MESSAGES/django.mo
Binary file not shown.
15 changes: 3 additions & 12 deletions wagtail_localize/locale/az_AZ/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
#
# Translators:
# Mirza Iskandarov <mirza.iskandarov@gmail.com>, 2022
# Mirza Iskandarov <mirza.iskandarov@gmail.com>, 2021
#
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"Last-Translator: Mirza Iskandarov <mirza.iskandarov@gmail.com>, 2022\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Mirza Iskandarov <mirza.iskandarov@gmail.com>, 2021\n"
"Language-Team: Azerbaijani (Azerbaijan) (https://app.transifex.com/torchbox/"
"teams/8009/az_AZ/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: az_AZ\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Saving…"
msgstr "Yadda saxlanılır..."

msgid "Save"
msgstr "Yadda saxla"

msgid "Delete"
msgstr "Silmək"

msgid "Content"
msgstr "Məzmun"
Binary file modified wagtail_localize/locale/be/LC_MESSAGES/django.mo
Binary file not shown.
21 changes: 3 additions & 18 deletions wagtail_localize/locale/be/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Andrei Satsevich, 2023\n"
"Language-Team: Belarusian (https://app.transifex.com/torchbox/teams/8009/"
"be/)\n"
Expand All @@ -29,24 +29,9 @@ msgstr "Перавесці"
msgid "Sync translated %(model_name)s"
msgstr "Перакладзена %(model_name)s"

msgid "Saving…"
msgstr "Захаваць..."

msgid "Save"
msgstr "Захаваць"

msgid "Start Synced translation"
msgstr "Пачаць сінхранізаваны пераклад"

msgid "Delete"
msgstr "Выдаліць"

msgid "Download XLSX"
msgstr "Спампаваць XLSX"

msgid "Download CSV"
msgstr "Спампаваць CSV"

#, python-brace-format
msgid "Translate {model_name}"
msgstr "Перакласці {model_name}"
Expand Down Expand Up @@ -129,8 +114,8 @@ msgid ""
"'%(source_page_title)s' (%(source_page_locale)s)"
msgstr ""
"Вы ўпэўнены, што хочаце пераўтварыць гэтую старонку ў псеўданім? Гэта "
"перазапіша змесціва старонкі змесцівам "
"'%(source_page_title)s' (%(source_page_locale)s)"
"перазапіша змесціва старонкі змесцівам '%(source_page_title)s' "
"(%(source_page_locale)s)"

msgid "Yes, convert it"
msgstr "Так, канвертаваць гэта"
Expand Down
Binary file modified wagtail_localize/locale/be/LC_MESSAGES/djangojs.mo
Binary file not shown.
7 changes: 5 additions & 2 deletions wagtail_localize/locale/be/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# Translators:
# Stas Rudakou <stas@garage22.net>, 2021
# Tatsiana Tsygan <art.tatsiana@gmail.com>, 2021
# Andrei Satsevich, 2023
# Tatsiana Tsygan <art.tatsiana@gmail.com>, 2024
#
msgid ""
msgstr ""
"Last-Translator: Andrei Satsevich, 2023\n"
"Last-Translator: Tatsiana Tsygan <art.tatsiana@gmail.com>, 2024\n"
"Language-Team: Belarusian (https://app.transifex.com/torchbox/teams/8009/"
"be/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -18,6 +18,9 @@ msgstr ""
msgid "[DELETED]"
msgstr "[ВЫДАЛЕНЫ]"

msgid "Actions"
msgstr "Дзеянні"

msgid "Apply editor lock"
msgstr "Заблакаваць рэдактар"

Expand Down
Binary file modified wagtail_localize/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
11 changes: 2 additions & 9 deletions wagtail_localize/locale/bg/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
#
# Translators:
# Lyuboslav Petrov <petrov.lyuboslav@gmail.com>, 2021
# Karl Hobley <karl@torchbox.com>, 2022
#
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"Last-Translator: Karl Hobley <karl@torchbox.com>, 2022\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Lyuboslav Petrov <petrov.lyuboslav@gmail.com>, 2021\n"
"Language-Team: Bulgarian (https://app.transifex.com/torchbox/teams/8009/"
"bg/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Save"
msgstr "Запази"

msgid "Delete"
msgstr "Изтрий"

msgid "Status"
msgstr "Статус"
Binary file modified wagtail_localize/locale/bn/LC_MESSAGES/django.mo
Binary file not shown.
12 changes: 1 addition & 11 deletions wagtail_localize/locale/bn/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
#
# Translators:
# MA Rahman <ugikot@gmail.com>, 2022
# Mahmud Abdur Rahman <clanlord.ikot@gmail.com>, 2023
#
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Mahmud Abdur Rahman <clanlord.ikot@gmail.com>, 2023\n"
"Language-Team: Bengali (https://app.transifex.com/torchbox/teams/8009/bn/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: bn\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Saving…"
msgstr "সংরক্ষিত হচ্ছে..."

msgid "Save"
msgstr "সংরক্ষণ"

msgid "Delete"
msgstr "মুছে ফেলুন "

msgid "Content"
msgstr "বিষয়বস্তু"

Expand Down
Binary file modified wagtail_localize/locale/ca/LC_MESSAGES/django.mo
Binary file not shown.
21 changes: 3 additions & 18 deletions wagtail_localize/locale/ca/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 12:47+0000\n"
"POT-Creation-Date: 2024-02-25 14:51+0000\n"
"Last-Translator: Roger Pons <rogerpons@gmail.com>, 2023\n"
"Language-Team: Catalan (https://app.transifex.com/torchbox/teams/8009/ca/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -26,24 +26,9 @@ msgstr "Traduir"
msgid "Sync translated %(model_name)s"
msgstr "La sincronització ha traduït %(model_name)s"

msgid "Saving…"
msgstr "Desant..."

msgid "Save"
msgstr "Desar"

msgid "Start Synced translation"
msgstr "S'ha iniciat la traducció sincronitzada"

msgid "Delete"
msgstr "Esborrar"

msgid "Download XLSX"
msgstr "Baixa XLSX"

msgid "Download CSV"
msgstr "Baixa CSV"

#, python-brace-format
msgid "Translate {model_name}"
msgstr "Traduir {model_name}"
Expand Down Expand Up @@ -127,8 +112,8 @@ msgid ""
"'%(source_page_title)s' (%(source_page_locale)s)"
msgstr ""
"Segur que voleu convertir aquesta pàgina en un àlies? Això sobreescriurà el "
"contingut de la pàgina amb el contingut de "
"'%(source_page_title)s' (%(source_page_locale)s)"
"contingut de la pàgina amb el contingut de '%(source_page_title)s' "
"(%(source_page_locale)s)"

msgid "Yes, convert it"
msgstr "Sí, convertir"
Expand Down
Binary file modified wagtail_localize/locale/ca/LC_MESSAGES/djangojs.mo
Binary file not shown.
Loading
Loading