Add translation for edit in the web app (#64)

This commit is contained in:
Robert Linde
2017-11-13 21:04:55 +01:00
committed by GitHub
parent adf92b4c07
commit 9b76e5a74b
3 changed files with 5 additions and 3 deletions

View File

@@ -79,5 +79,6 @@
"previewKeyInvalidLabel": "Ihr Preview API Zugangsschlüssel ist ungültig.",
"beginnerLabel": "Anfänger",
"intermediateLabel": "Fortgeschrittener",
"advancedLabel": "Experte"
"advancedLabel": "Experte",
"editInTheWebAppLabel": "In der web app bearbeiten"
}

View File

@@ -79,5 +79,6 @@
"previewKeyInvalidLabel": "Your Preview API key is invalid.",
"beginnerLabel": "Beginner",
"intermediateLabel": "Intermediate",
"advancedLabel": "Advanced"
"advancedLabel": "Advanced",
"editInTheWebAppLabel": "Edit in the web app"
}

View File

@@ -11,7 +11,7 @@ mixin editorialFeatures(entry)
href=`https://app.contentful.com/spaces/${settings.spaceId}/entries/${entry.sys.id}`
target='_blank'
rel='noopener'
) Edit in the web app
) #{translate('editInTheWebAppLabel', currentLocale.code)}
.editorial-features__hint-wrapper
svg.editorial-features__hint-icon
use(xlink:href='/icons/icons.svg#info')