Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add TRANSLATIONS_MORE_ACTIONS app extension mount point (#18402)

Lukasz Ostrowskib093a2100da9
diff --git a/saleor/app/migrations/0034_alter_appextension_mount.py b/saleor/app/migrations/0034_alter_appextension_mount.py
new file mode 100644
index 0000000000..da18efc567
--- /dev/null
+++ b/saleor/app/migrations/0034_alter_appextension_mount.py
@@ -0,0 +1,104 @@
+# Generated by Django 5.2.5 on 2025-11-03 15:06
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("app", "0033_appextension_settings"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="appextension",
+ name="mount",
+ field=models.CharField(
+ choices=[
+ ("category_overview_create", "category_overview_create"),
+ (
+ "category_overview_more_actions",
+ "category_overview_more_actions",
+ ),
+ ("category_details_more_actions", "category_details_more_actions"),
+ ("collection_overview_create", "collection_overview_create"),
+ (
+ "collection_overview_more_actions",
+ "collection_overview_more_actions",
+ ),
+ (
+ "collection_details_more_actions",
+ "collection_details_more_actions",
+ ),
+ ("collection_details_widgets", "collection_details_widgets"),
+ ("gift_card_overview_create", "gift_card_overview_create"),
+ (
+ "gift_card_overview_more_actions",
+ "gift_card_overview_more_actions",
+ ),
+ (
+ "gift_card_details_more_actions",
+ "gift_card_details_more_actions",
+ ),
+ ("gift_card_details_widgets", "gift_card_details_widgets"),
+ ("customer_overview_create", "customer_overview_create"),
+ (
+ "customer_overview_more_actions",
+ "customer_overview_more_actions",
+ ),
+ ("customer_details_more_actions", "customer_details_more_actions"),
+ ("customer_details_widgets", "customer_details_widgets"),
+ ("product_overview_create", "product_overview_create"),
+ ("product_overview_more_actions", "product_overview_more_actions"),
+ ("product_details_more_actions", "product_details_more_actions"),
+ ("product_details_widgets", "product_details_widgets"),
+ ("navigation_catalog", "navigation_catalog"),
+ ("navigation_orders", "navigation_orders"),
+ ("navigation_customers", "navigation_customers"),
+ ("navigation_discounts", "navigation_discounts"),
+ ("navigation_translations", "navigation_translations"),
+ ("navigation_pages", "navigation_pages"),
+ ("order_details_more_actions", "order_details_more_actions"),
+ ("order_overview_create", "order_overview_create"),
+ ("order_overview_more_actions", "order_overview_more_actions"),
+ ("order_details_widgets", "order_details_widgets"),
+ (
+ "draft_order_details_more_actions",
+ "draft_order_details_more_actions",
+ ),
+ ("draft_order_overview_create", "draft_order_overview_create"),
+ (
+ "draft_order_overview_more_actions",
+ "draft_order_overview_more_actions",
+ ),
+ ("draft_order_details_widgets", "draft_order_details_widgets"),
+ ("discount_details_more_actions", "discount_details_more_actions"),
+ ("discount_overview_create", "discount_overview_create"),
+ (
+ "discount_overview_more_actions",
+ "discount_overview_more_actions",
+ ),
+ ("voucher_details_more_actions", "voucher_details_more_actions"),
+ ("voucher_overview_create", "voucher_overview_create"),
+ ("voucher_overview_more_actions", "voucher_overview_more_actions"),
+ ("voucher_details_widgets", "voucher_details_widgets"),
+ ("page_details_more_actions", "page_details_more_actions"),
+ ("page_overview_create", "page_overview_create"),
+ ("page_overview_more_actions", "page_overview_more_actions"),
+ ("page_type_overview_create", "page_type_overview_create"),
+ (
+ "page_type_overview_more_actions",
+ "page_type_overview_more_actions",
+ ),
+ (
+ "page_type_details_more_actions",
+ "page_type_details_more_actions",
+ ),
+ ("menu_overview_create", "menu_overview_create"),
+ ("menu_overview_more_actions", "menu_overview_more_actions"),
+ ("menu_details_more_actions", "menu_details_more_actions"),
+ ("translations_more_actions", "translations_more_actions"),
+ ],
+ max_length=256,
+ ),
+ ),
+ ]
diff --git a/saleor/app/types.py b/saleor/app/types.py
index 8311c2c7ee..921ec98c71 100644
--- a/saleor/app/types.py
+++ b/saleor/app/types.py
@@ -70,6 +70,8 @@ class AppExtensionMount:
MENU_OVERVIEW_MORE_ACTIONS = "menu_overview_more_actions"
MENU_DETAILS_MORE_ACTIONS = "menu_details_more_actions"
+ TRANSLATIONS_MORE_ACTIONS = "translations_more_actions"
+
CHOICES = [
(CATEGORY_OVERVIEW_CREATE, "category_overview_create"),
(CATEGORY_OVERVIEW_MORE_ACTIONS, "category_overview_more_actions"),
@@ -120,6 +122,7 @@ class AppExtensionMount:
(MENU_OVERVIEW_CREATE, "menu_overview_create"),
(MENU_OVERVIEW_MORE_ACTIONS, "menu_overview_more_actions"),
(MENU_DETAILS_MORE_ACTIONS, "menu_details_more_actions"),
+ (TRANSLATIONS_MORE_ACTIONS, "translations_more_actions"),
]
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 6881fa0933..fcd7bb4dbf 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -3117,6 +3117,7 @@ enum AppExtensionMountEnum @doc(category: "Apps") {
MENU_OVERVIEW_CREATE
MENU_OVERVIEW_MORE_ACTIONS
MENU_DETAILS_MORE_ACTIONS
+ TRANSLATIONS_MORE_ACTIONS
}
"""