From 998039b464eeaaa44d28a29cd475b4a3c281fc16 Mon Sep 17 00:00:00 2001 From: hadi Date: Tue, 25 Apr 2023 12:01:19 +0200 Subject: [PATCH] Do not translate category names --- admin/templates/default/categories.index.xet | 2 +- api/js/etemplate/Et2Select/Et2SelectCategory.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/templates/default/categories.index.xet b/admin/templates/default/categories.index.xet index 31746fd12a..fbe3111da3 100644 --- a/admin/templates/default/categories.index.xet +++ b/admin/templates/default/categories.index.xet @@ -31,7 +31,7 @@ - + diff --git a/api/js/etemplate/Et2Select/Et2SelectCategory.ts b/api/js/etemplate/Et2Select/Et2SelectCategory.ts index 12ba26265a..d614d383ce 100644 --- a/api/js/etemplate/Et2Select/Et2SelectCategory.ts +++ b/api/js/etemplate/Et2Select/Et2SelectCategory.ts @@ -58,6 +58,8 @@ export class Et2SelectCategory extends Et2StaticSelectMixin(Et2Select) constructor() { super(); + // we should not translate categories name + this.noLang = true; } async connectedCallback()