refactor: Improvements

* refactor: Update modal

* refactor: Update settings page

* feat: Add reset credentials

* feat: Add .nvmrc and lodash

* chore: Remove console.log

* chore: nmvrc -> .nvmrc

* chore: nmvrc -> .nvmrc
This commit is contained in:
Khaled Garbaya
2017-12-13 15:57:01 +01:00
committed by Khaled Garbaya
parent af9c453c52
commit b5d69d71e7
46 changed files with 731 additions and 63 deletions

View File

@@ -21,12 +21,27 @@
"footerDisclaimer": "Powered by Contentful. This website and the materials found on it are for demo purposes. You can use this to preview the content created on your Contentful account.",
"imprintLabel": "Imprint",
"contactUsLabel": "Contact us",
"modalTitle": "A reference for developers using Contentful",
"modalIntro": "This is \"The Example App\" in node.js. While building your own apps with Contentful, you can reference this app's code, found on",
"modalTitle": "A reference for Node.js developers using Contentful",
"modalTitleDotnet": "A reference for .NET developers using Contentful",
"modalTitleRuby": "A reference for Ruby developers using Contentful",
"modalTitlePhp": "A reference for PHP developers using Contentful",
"modalTitlePython": "A reference for Python developers using Contentful",
"modalTitleSwift": "A reference for Swift developers using Contentful",
"modalTitleAndroid": "A reference for Android developers using Contentful",
"modalTitleJava": "A reference for Java developers using Contentful",
"modalIntro": "This is \"The Node.js Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroDotnet": "This is \"The .NET Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroRuby": "This is \"The Ruby Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroPhp": "This is \"The PHP Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroPython": "This is \"The Python Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroSwift": "This is \"The Swift Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroAndroid": "This is \"The Android Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalIntroJava": "This is \"The Java Example App\". While building your own apps with Contentful, you can reference this app's code, found on",
"modalSpaceIntro": "You can also edit the content in the app by cloning the Contentful space to your own Contentful account by following the instructions",
"modalPlatforms": "This app is also available in the following platforms and languages:",
"modalSpaceLinkLabel": "here",
"modalCTALabel": "Ok, got it.",
"editorialFeaturesHint": "Edit this entry in our web app. You have to be logged in and have access to the connected space to use this feature.",
"editorialFeaturesHint": "Edit this entry in the Contentful web app. You have to be logged in and have access to the connected space to use this feature.",
"draftLabel": "draft",
"pendingChangesLabel": "pending changes",
"lessonModuleErrorTitle": "⚠️ Invalid lesson module",
@@ -64,12 +79,14 @@
"changesSavedLabel": "Changes saved successfully!",
"errorOcurredTitleLabel": "Error occurred",
"errorOcurredMessageLabel": "Some errors occurred. Please check the error messages next to the fields.",
"connectedToSpaceLabel": "Connected to space",
"connectedToSpaceLabel": "Connected space",
"spaceIdLabel": "Space ID",
"spaceIdHelpText": "The Space ID is a unique identifier for your space.",
"accessTokenLabel": "access token",
"contentDeliveryApiHelpText": "View published content using this API.",
"contentPreviewApiHelpText": "Preview unpublished content using this API (i.e. content with “Draft” status).",
"cdaAccessTokenLabel": "Content Delivery API access token",
"cpaAccessTokenLabel": "Content Preview API access token",
"contentDeliveryApiHelpText": "View published content using this token.",
"contentPreviewApiHelpText": "Preview unpublished content using this token (i.e. content with “Draft” status).",
"enableEditorialFeaturesLabel": "Enable editorial features",
"enableEditorialFeaturesHelpText": "Enable to display an edit link and other contextual helpers for authors. You need to have access to the connected space to make this work.",
"saveSettingsButtonLabel": "Save settings",
@@ -80,6 +97,22 @@
"beginnerLabel": "Beginner",
"intermediateLabel": "Intermediate",
"advancedLabel": "Advanced",
"editInTheWebAppLabel": "Edit in the web app",
"error404Route": "a non supported route"
}
"editInTheWebAppLabel": "Edit in the Contentful Web App",
"error404Route": "Verify that you are trying to reach a supported route",
"currentLocaleLabel": "English (United States)",
"hostedLabel": "Hosted",
"comingSoonLabel": "Coming soon",
"credentialSourceLabel": "Credentials source",
"readMoreLabel": "Read more",
"credentialsLocationLabel": "Your credentials are currently loaded from",
"overwriteCredentialsLabel": "They can be overwritten by changing them below or using query string parameters.",
"copyLinkLabel": "Copy session deeplink to clipboard",
"resetCredentialsLabel": "Reset credentials to default",
"resetAboveLabel": "You can reset to the default credentials above.",
"closeLabel": "Close",
"overrideConfigLabel": "This configuration can be overriden through the form below or by using query string parameters.",
"loadedFromLocalFileLabel": "Loaded from local file",
"usingServerCredentialsLabel": "The example app is currently using server side stored credentials to connect to a Contentful space.",
"usingSessionCredentialsLabel": "The example app is currently using application session stored credentials to connect to a Contentful space.",
"applicationCredentialsLabel": "Application session credentials"
}