From 148bbb585010659d8a877b9d5b14bb6d267163df Mon Sep 17 00:00:00 2001 From: Thomas Gauges Date: Tue, 14 Nov 2023 20:56:57 +0100 Subject: [PATCH] update: upgrade messageformat to 4.0.0-5 --- package-lock.json | 6 ++--- .../recipe-file/edit/RecipeFileEdit.svelte | 8 ++----- .../recipe-file/list/RecipeFileList.svelte | 8 ++----- .../recipe-file/view/RecipeFileView.svelte | 3 +-- .../edit/RecipeIngredientEdit.svelte | 16 ++++--------- .../list/RecipeIngredientList.svelte | 8 ++----- .../AdditionalIngredientsForm.svelte | 11 ++++----- .../view/RecipeIngredientView.svelte | 12 +++++----- .../recipe-step/edit/RecipeStepEdit.svelte | 4 +--- .../recipe-step/list/RecipeStepList.svelte | 10 +++----- .../recipe-step/view/RecipeStepView.svelte | 10 ++++---- .../entity/recipe/list/RecipeList.svelte | 24 +++++++------------ .../entity/recipe/view/RecipeView.svelte | 2 +- src/components/element/ActionableList.svelte | 8 ++----- .../element/form/Autocomplete.svelte | 20 ++++------------ src/components/element/form/FileInput.svelte | 5 +--- .../element/form/SvelteSelect.svelte | 7 +++--- src/components/layout/ConfirmDialog.svelte | 12 +++------- src/components/layout/Editable.svelte | 8 +++---- 19 files changed, 58 insertions(+), 124 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0794ed0..a47349d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2979,9 +2979,9 @@ } }, "node_modules/messageformat": { - "version": "4.0.0-4", - "resolved": "https://registry.npmjs.org/messageformat/-/messageformat-4.0.0-4.tgz", - "integrity": "sha512-c79wT00C+wc7N1weftk3J3mAkS9MxLDQePuVxNqFK2325Wej/pRszAGnQvlQ8N9nSaVeFENFUpRMKkHwjXY7Qw==" + "version": "4.0.0-5", + "resolved": "https://registry.npmjs.org/messageformat/-/messageformat-4.0.0-5.tgz", + "integrity": "sha512-BIgTxbPadK/UOQ1Ne/DECLt+iJttuDeHXfh8fNIdEl3ooDzNIMNjeYqo+Wd6duowQPm+DqWoAuFzLBijaymZoA==" }, "node_modules/micromatch": { "version": "4.0.5", diff --git a/src/components/content/entity/recipe-file/edit/RecipeFileEdit.svelte b/src/components/content/entity/recipe-file/edit/RecipeFileEdit.svelte index 267926c..d940b2f 100644 --- a/src/components/content/entity/recipe-file/edit/RecipeFileEdit.svelte +++ b/src/components/content/entity/recipe-file/edit/RecipeFileEdit.svelte @@ -16,17 +16,13 @@ This component implements form fields for editing a recipe file. diff --git a/src/components/content/entity/recipe-file/list/RecipeFileList.svelte b/src/components/content/entity/recipe-file/list/RecipeFileList.svelte index aa9e05c..a02f4e5 100644 --- a/src/components/content/entity/recipe-file/list/RecipeFileList.svelte +++ b/src/components/content/entity/recipe-file/list/RecipeFileList.svelte @@ -44,9 +44,7 @@ This component display an ordered list of all recipe files of a recipe step. updateOrder(recipeFileRepository, $list, id); }}" confirmation="{true}" - >{messages.labels.actions.delete - .resolveMessage() - .toString()}{messages.labels.actions.delete.format()} {/each} @@ -64,9 +62,7 @@ This component display an ordered list of all recipe files of a recipe step. > {messages.labels.actions.create - .resolveMessage() - .toString()}{messages.labels.actions.create.format()} {/if} diff --git a/src/components/content/entity/recipe-file/view/RecipeFileView.svelte b/src/components/content/entity/recipe-file/view/RecipeFileView.svelte index 5a87adf..5048d00 100644 --- a/src/components/content/entity/recipe-file/view/RecipeFileView.svelte +++ b/src/components/content/entity/recipe-file/view/RecipeFileView.svelte @@ -57,8 +57,7 @@ It includes functionality to optically recognize characters in the recipe file. on:click="{() => void invoke(Command.OCR, { recipeFileId: id }).then((result) => { output = result; - })}" - >{messages.labels.actions.ocr.resolveMessage().toString()}{messages.labels.actions.ocr.format()}