From 23572ab37cd0e3e1755f6b244084ed635d936833 Mon Sep 17 00:00:00 2001 From: kamilpastuszka Date: Fri, 6 Aug 2021 16:30:19 +0200 Subject: [PATCH] fixing errors --- locale/defaultMessages.json | 38 ++++++++++---------- src/translations/views/TranslationsPages.tsx | 1 - 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index 31d21ebc760..d5297b37784 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -6673,6 +6673,25 @@ "src_dot_translations_dot_components_dot_TranslationFields_dot_3793796047": { "string": "No translation yet" }, + "src_dot_translations_dot_components_dot_TranslationsAttributesPage_dot_1567737068": { + "context": "attribute values", + "string": "Value {number}" + }, + "src_dot_translations_dot_components_dot_TranslationsAttributesPage_dot_2642976392": { + "string": "Attribute Name" + }, + "src_dot_translations_dot_components_dot_TranslationsAttributesPage_dot_3495336243": { + "context": "attribute richtext value", + "string": "Text" + }, + "src_dot_translations_dot_components_dot_TranslationsAttributesPage_dot_884093025": { + "context": "header", + "string": "Translation Attribute \"{attribute}\" - {languageCode}" + }, + "src_dot_translations_dot_components_dot_TranslationsAttributesPage_dot_values": { + "context": "section name", + "string": "Values" + }, "src_dot_translations_dot_components_dot_TranslationsCategoriesPage_dot_1214235329": { "string": "Category Name" }, @@ -6778,25 +6797,6 @@ "src_dot_translations_dot_components_dot_TranslationsPagesPage_dot_432157284": { "string": "Page Title" }, - "src_dot_translations_dot_components_dot_TranslationsProductTypesPage_dot_1567737068": { - "context": "attribute values", - "string": "Value {number}" - }, - "src_dot_translations_dot_components_dot_TranslationsProductTypesPage_dot_2642976392": { - "string": "Attribute Name" - }, - "src_dot_translations_dot_components_dot_TranslationsProductTypesPage_dot_3495336243": { - "context": "attribute richtext value", - "string": "Text" - }, - "src_dot_translations_dot_components_dot_TranslationsProductTypesPage_dot_884093025": { - "context": "header", - "string": "Translation Attribute \"{attribute}\" - {languageCode}" - }, - "src_dot_translations_dot_components_dot_TranslationsProductTypesPage_dot_values": { - "context": "section name", - "string": "Values" - }, "src_dot_translations_dot_components_dot_TranslationsProductsPage_dot_1406947243": { "string": "Search Engine Description" }, diff --git a/src/translations/views/TranslationsPages.tsx b/src/translations/views/TranslationsPages.tsx index 7b298dac8d3..8eb2ee01dc2 100644 --- a/src/translations/views/TranslationsPages.tsx +++ b/src/translations/views/TranslationsPages.tsx @@ -7,7 +7,6 @@ import { stringify as stringifyQs } from "qs"; import React from "react"; import { useIntl } from "react-intl"; -import { getMutationState, maybe } from "../../misc"; import { LanguageCodeEnum } from "../../types/globalTypes"; import TranslationsPagesPage from "../components/TranslationsPagesPage"; import {