From b427788e04d8dab5698bb24d3afd38a9c84c7f36 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Mon, 3 Aug 2026 17:02:40 +0200 Subject: [PATCH] renamed tabulator presets-related phrases --- .../api/frontend/v1/TabulatorPresets.php | 8 +- public/js/components/filter/Filter.js | 2 +- system/phrasesupdate.php | 80 +++++++++---------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/application/controllers/api/frontend/v1/TabulatorPresets.php b/application/controllers/api/frontend/v1/TabulatorPresets.php index c38cce033..cb8e23ade 100644 --- a/application/controllers/api/frontend/v1/TabulatorPresets.php +++ b/application/controllers/api/frontend/v1/TabulatorPresets.php @@ -49,7 +49,7 @@ class TabulatorPresets extends FHCAPI_Controller { $tableName = $this->input->get("tableName"); if (!$tableName) { - $this->terminateWithError(error($this->p->t("global", "invalid_params_err_msg"))); + $this->terminateWithError(error($this->p->t("tabulator_presets", "invalid_params_err_msg"))); } $uid = getAuthUID(); @@ -66,7 +66,7 @@ class TabulatorPresets extends FHCAPI_Controller $preset = $this->input->post("preset"); if (!$tableName || !$presetName || !$preset) { - $this->terminateWithError($this->p->t("global", "invalid_params_err_msg"), "general", 400); + $this->terminateWithError($this->p->t("tabulator_presets", "invalid_params_err_msg"), "general", 400); } $uid = getAuthUID(); @@ -105,7 +105,7 @@ class TabulatorPresets extends FHCAPI_Controller $preset = $this->input->post("preset"); if (!$presetId || !$preset) { - $this->terminateWithError($this->p->t("global", "invalid_params_err_msg"), "general", 400); + $this->terminateWithError($this->p->t("tabulator_presets", "invalid_params_err_msg"), "general", 400); } $existingPresetData = $this->TabulatorPresetModel->getTabulatorPreset($presetId); @@ -136,7 +136,7 @@ class TabulatorPresets extends FHCAPI_Controller { $presetId = $this->input->post("presetId"); if (!$presetId) { - $this->terminateWithError($this->p->t("global", "invalid_params_err_msg"), "general", 400); + $this->terminateWithError($this->p->t("tabulator_presets", "invalid_params_err_msg"), "general", 400); } $presetData = $this->TabulatorPresetModel->getTabulatorPreset($presetId); diff --git a/public/js/components/filter/Filter.js b/public/js/components/filter/Filter.js index cf451db4e..22cf684e6 100644 --- a/public/js/components/filter/Filter.js +++ b/public/js/components/filter/Filter.js @@ -1123,7 +1123,7 @@ export const CoreFilterCmpt = { class="fw-bold" > {{ appliedPreset.name }} - {{ " [" + $p.t("global/modified") + "]" }} + {{ " [" + $p.t("tabulator_presets/modified") + "]" }} diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index bfdc27356..197f7d3ed 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -33374,26 +33374,6 @@ array( ) ) ), - array( - 'app' => 'anwesenheiten', - 'category' => 'global', - 'phrase' => 'invalid_params_err_msg', - 'insertvon' => 'system', - 'phrases' => array( - array( - 'sprache' => 'German', - 'text' => 'Ungültige Parameterübergabe!', - 'description' => '', - 'insertvon' => 'system' - ), - array( - 'sprache' => 'English', - 'text' => 'Invalid parameters!', - 'description' => '', - 'insertvon' => 'system' - ) - ) - ), array( 'app' => 'anwesenheiten', 'category' => 'global', @@ -59424,26 +59404,6 @@ I have been informed that I am under no obligation to consent to the transmissio ) ) ), - array( - 'app' => 'lvevaluierung', - 'category' => 'global', - 'phrase' => 'modified', - 'insertvon' => 'system', - 'phrases' => array( - array( - 'sprache' => 'German', - 'text' => 'modifiziert', - 'description' => '', - 'insertvon' => 'system' - ), - array( - 'sprache' => 'English', - 'text' => 'modified', - 'description' => '', - 'insertvon' => 'system' - ) - ) - ), // ### DOKUMENTE ERSTELLEN PHRASEN END ### // ### Personen zusammenlegen Phrasen BEGIN array( @@ -60761,6 +60721,46 @@ I have been informed that I am under no obligation to consent to the transmissio ) ) ), + array( + 'app' => 'core', + 'category' => 'tabulator_presets', + 'phrase' => 'invalid_params_err_msg', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Ungültige Parameterübergabe!', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Invalid parameters!', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'tabulator_presets', + 'phrase' => 'modified', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'modifiziert', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'modified', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), // tabulator presets section phrases END );