summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/messages.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/ide/messages.js')
-rw-r--r--app/assets/javascripts/ide/messages.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/javascripts/ide/messages.js b/app/assets/javascripts/ide/messages.js
new file mode 100644
index 00000000000..4298d4c627c
--- /dev/null
+++ b/app/assets/javascripts/ide/messages.js
@@ -0,0 +1,17 @@
+import { s__ } from '~/locale';
+
+export const MSG_CANNOT_PUSH_CODE = s__(
+ 'WebIDE|You need permission to edit files directly in this project. Fork this project to make your changes and submit a merge request.',
+);
+
+export const MSG_CANNOT_PUSH_CODE_SHORT = s__(
+ 'WebIDE|You need permission to edit files directly in this project.',
+);
+
+export const MSG_CANNOT_PUSH_UNSIGNED = s__(
+ 'WebIDE|This project does not accept unsigned commits. You will not be able to commit your changes through the Web IDE.',
+);
+
+export const MSG_CANNOT_PUSH_UNSIGNED_SHORT = s__(
+ 'WebIDE|This project does not accept unsigned commits.',
+);