summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-13 17:06:35 +0100
committerPhil Hughes <me@iamphill.com>2018-08-07 14:45:55 +0100
commit7b4b9e1cc453c2620502daceb94d3e2248b58dcb (patch)
tree96f79cdace962466a0a27d31c91dbdbc82d4bd88 /locale
parentf3b36ac1171f6d170d008c52a0a324a438f3e886 (diff)
downloadgitlab-ce-7b4b9e1cc453c2620502daceb94d3e2248b58dcb.tar.gz
Web IDE & CodeSandbox
This enables JavaScripts projects to have live previews straight in the browser without requiring any local configuration. This uses the CodeSandbox package `sandpack` to compile it all inside of an iframe. This feature is off by default and can be toggled on in the admin settings. Only projects with a `package.json` and a `main` key are supported. Updates happen in real-time with hot-reloading. We just watch for changes to files and then send them to `sandpack` to allow it to reload the iframe. The iframe includes a very simple navigation bar, the text bar is `readonly` to stop users navigating away from the preview and the back and forward buttons just pop/splice the navigation stack which is tracked by a listener on `sandpack` There is a button inside the iframe which allows the user to open the projects inside of CodeSandbox. This button is only visible on **public** projects. On private or internal projects this button get hidden to protect private code being leaked into an external public URL. Closes #47268
Diffstat (limited to 'locale')
-rw-r--r--locale/gitlab.pot27
1 files changed, 27 insertions, 0 deletions
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 7d1a8b527f4..6c89186beaa 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -2905,18 +2905,39 @@ msgstr ""
msgid "ID"
msgstr ""
+msgid "IDE|Allow live previews of JavaScript projects in the Web IDE using CodeSandbox client side evaluation."
+msgstr ""
+
+msgid "IDE|Back"
+msgstr ""
+
+msgid "IDE|Client side evaluation"
+msgstr ""
+
msgid "IDE|Commit"
msgstr ""
msgid "IDE|Edit"
msgstr ""
+msgid "IDE|Get started with Live Preview"
+msgstr ""
+
msgid "IDE|Go to project"
msgstr ""
+msgid "IDE|Live Preview"
+msgstr ""
+
msgid "IDE|Open in file view"
msgstr ""
+msgid "IDE|Preview your web application using Web IDE client-side evaluation."
+msgstr ""
+
+msgid "IDE|Refresh preview"
+msgstr ""
+
msgid "IDE|Review"
msgstr ""
@@ -3234,6 +3255,9 @@ msgstr ""
msgid "List your GitHub repositories"
msgstr ""
+msgid "Live preview"
+msgstr ""
+
msgid "Loading the GitLab IDE..."
msgstr ""
@@ -3267,6 +3291,9 @@ msgstr ""
msgid "Manage Git repositories with fine-grained access controls that keep your code secure. Perform code reviews and enhance collaboration with merge requests. Each project can also have an issue tracker and a wiki."
msgstr ""
+msgid "Manage Web IDE features"
+msgstr ""
+
msgid "Manage access"
msgstr ""