From: Vincent Vanwaelscappel Date: Tue, 25 Oct 2022 05:57:45 +0000 (+0200) Subject: wip #5225 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=752d7757507e8a1bcfbb40f5c8fe72182896d15d;p=sandvik-apps.git wip #5225 @0.25 --- diff --git a/CrushingChamber/_doc/data.xlsx b/CrushingChamber/_doc/data.xlsx index da66f11..8ee6c81 100644 Binary files a/CrushingChamber/_doc/data.xlsx and b/CrushingChamber/_doc/data.xlsx differ diff --git a/CrushingChamber/_doc/translations.xlsx b/CrushingChamber/_doc/translations.xlsx index 2521a44..ab7f1a8 100644 Binary files a/CrushingChamber/_doc/translations.xlsx and b/CrushingChamber/_doc/translations.xlsx differ diff --git a/CrushingChamber/tools/importtranslations.php b/CrushingChamber/tools/importtranslations.php index 0a604c9..8e875ee 100644 --- a/CrushingChamber/tools/importtranslations.php +++ b/CrushingChamber/tools/importtranslations.php @@ -4,7 +4,8 @@ require_once 'common.php'; $root = __DIR__ . '/../'; $js = $root . 'js/locales.js'; $xlsx = $root . '/_doc/translations.xlsx'; -$data = json_decode(postFiles('https://extranet.cubedesigners.com/tools/convertXlsxToJson', $xlsx, 'file'), true); +$req = postFiles('https://toolbox.fluidbook.com/opentools/doexcel2json', $xlsx, 'file', ['dataorg' => 'excelToArray', 'format' => 'json']); +$data = json_decode($req, true); $locales = []; foreach ($data as $sheet) {