From 2e8ede68311b4420aef1ff2d8ca7b4da943cae25 Mon Sep 17 00:00:00 2001 From: Kaio Donadelli <100872772+kaio-donadelli@users.noreply.github.com> Date: Mon, 3 Apr 2023 09:44:24 -0300 Subject: [PATCH] Add German translations to make it available across Admin. (#176) #### What problem is this solving? This is part of a series of PRs in several apps to make German available accross the Admin. Tracked in task [LOC-9843](https://vtex-dev.atlassian.net/browse/LOC-9843). #### How to test it? A test store with DE in the language switcher is [available here](https://localizationqa--obidev.myvtex.com/admin/). [LOC-9843]: https://vtex-dev.atlassian.net/browse/LOC-9843?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- CHANGELOG.md | 6 +++++ messages/de-DE.json | 54 +++++++++++++++++++++++++++++++++++++++ store/contentSchemas.json | 2 +- 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 messages/de-DE.json diff --git a/CHANGELOG.md b/CHANGELOG.md index ec10555..859ca3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added +- German translation. + +### Fixed +- I18n issue in Menu Items content schema. + ## [2.34.26] - 2022-12-06 ### Fixed - Fix submenu stays open if mouse leaves menu. diff --git a/messages/de-DE.json b/messages/de-DE.json new file mode 100644 index 0000000..bb66160 --- /dev/null +++ b/messages/de-DE.json @@ -0,0 +1,54 @@ +{ + "admin/editor.menu-link": "Menü", + "admin/editor.menu-link.title": "Titel", + "admin/editor.menu-link.description": "Eine Menüleiste von Links", + "admin/editor.menu-link.links": "Links", + "admin/editor.menu-link.links.link": "Link", + "admin/editor.menu-link.links.link.text": "Link-Text", + "admin/editor.menu-link.links.link.internalPage": "Zielseite", + "admin/editor.menu-link.links.link.internalPage.description": "Wenn intern", + "admin/editor.menu-link.links.link.params": "Parameter", + "admin/editor.menu-link.links.link.params.description": "Durch Komma getrennte Parameter, z. B.: key=value,a=b,c=d", + "admin/editor.menu-link.links.link.externalPage": "URL (sollte mit https oder http) beginnen", + "admin/editor.menu-link.links.link.externalPage.description": "Wenn extern", + "admin/editor.menu-link.links.link.typeOfRoute": "Art der Route", + "admin/editor.menu-link.links.link.typeOfRoute.internal": "Intern", + "admin/editor.menu-link.links.link.typeOfRoute.external": "Extern", + "admin/editor.menu-link.links.link.position": "Position", + "admin/editor.menu-link.links.link.position.left": "Links", + "admin/editor.menu-link.links.link.position.middle": "Mitte", + "admin/editor.menu-link.links.link.position.right": "Rechts", + "admin/editor.future-menu.title": "Menü", + "admin/editor.future-menu.description": "Die VTEX-Menü-App", + "admin/editor.menu.typography.title": "Typografie", + "admin/editor.menu.typography.description": "Erlaubt Benutzern auszuwählen, welche Typografieklasse in den Menüeinträgen verwendet werden soll", + "admin/editor.menu.orientation.title": "Ausrichtung", + "admin/editor.menu.orientation.vertical.label": "vertikal", + "admin/editor.menu.orientation.horizontal.label": "horizontal", + "admin/editor.menu.items.title": "Menüpunkt", + "admin/editor.menu.item.id.title": "ID", + "admin/editor.menu.item.type.title": "Typ", + "admin/editor.menu.item.category.title": "Kategorie", + "admin/editor.menu.item.custom.title": "Benutzerdefiniert", + "admin/editor.menu.item.iconProps.id.title": "Symbol-ID", + "admin/editor.menu.item.onMountBehavior.title": "Untermenü ist bei Mausverschiebung geöffnet", + "admin/editor.menu.item.editorItemTitle.title": "Name des Menüpunkts", + "admin/editor.menu.item.editorItemTitle.description": "Dies wird nur im Site-Editor sichtbar sein", + "admin/editor.menu.item.highlight.title": "Hervorhebung", + "admin/editor.menu.item.submenuWidth.title": "Untermenü-Breite", + "admin/editor.menu.item.params.title": "Parameter", + "admin/editor.menu.item.params.categoryId.title": "Kategorie-ID", + "admin/editor.menu.item.params.text.title": "Text", + "admin/editor.menu.item.params.type.title": "Typ", + "admin/editor.menu.item.params.internal.title": "Intern", + "admin/editor.menu.item.params.external.title": "Extern", + "admin/editor.menu.item.params.href.title": "href", + "admin/editor.menu.item.params.noFollow.title": "nofollow Attribut", + "admin/editor.menu.item.params.tagTitle.title": "title Attribut", + "admin/editor.menu.submenu.title": "Untermenü", + "admin/editor.menu.additionalDef.title": "Zusätzliche Definition", + "admin/editor.menu.def.none": "Keine", + "admin/editor.menu.def.title": "Titel", + "admin/editor.menu.def.category": "Kategorie", + "admin/editor.menu.categoryId.title": "Kategorie-ID" +} diff --git a/store/contentSchemas.json b/store/contentSchemas.json index 38cf885..482de6c 100644 --- a/store/contentSchemas.json +++ b/store/contentSchemas.json @@ -101,7 +101,7 @@ "items": { "minItems": 0, "type": "array", - "title": "Menu Items", + "title": "admin/editor.menu.items.title", "items": { "$ref": "app:vtex.menu#/definitions/MenuItem" }