From c21ce208e315fa0eaa8937b815a2bb4e351dfd35 Mon Sep 17 00:00:00 2001 From: Volodymyr Hadomskyi Date: Wed, 31 Jan 2024 12:57:00 +0700 Subject: [PATCH] Change translations batch size ENG-13729 --- CHANGELOG.md | 6 +++++- composer.json | 2 +- src/assets/resources/job-translation-review.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c17f668..181f4d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## 4.4.3 - 2023-11-15 +## 4.4.4 - 2024-01-31 +### Changed +- Change translations batch size + +## 4.4.3 - 2024-01-30 ### Changed - Change translation limit for get translation request diff --git a/composer.json b/composer.json index 90b51abf..32f47c14 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "lilt/craft-lilt-plugin", "description": "The Lilt plugin makes it easy for you to send content to Lilt for translation right from within Craft CMS.", "type": "craft-plugin", - "version": "4.4.3", + "version": "4.4.4", "keywords": [ "craft", "cms", diff --git a/src/assets/resources/job-translation-review.js b/src/assets/resources/job-translation-review.js index bd34ebaf..7f1d478e 100644 --- a/src/assets/resources/job-translation-review.js +++ b/src/assets/resources/job-translation-review.js @@ -475,11 +475,11 @@ $(document).ready(function() { criteria: { jobId: jQuery('#create-job-form').data('job-id'), }, + batchSize: 1000, selectable: true, multiSelect: true, checkboxMode: true, onUpdateElements: function() { - const elements = CraftliltPlugin.elementIndexTranslation.view.getAllElements().get(); console.log(elements)