Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-18 00:44:28 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-18 00:44:28 +0300
commite26d1b47575646f15f1ab3a91878bbb695d3bc65 (patch)
treeaf27b88b7f57306796305f7de8f23a4c262fbd96 /app/assets/javascripts/new_branch_form.js.coffee
parent1757e6ef65a1cedbfe5d5b5da894d6d0d3d5ef16 (diff)
Remove extra spaces in the error messages
Diffstat (limited to 'app/assets/javascripts/new_branch_form.js.coffee')
-rw-r--r--app/assets/javascripts/new_branch_form.js.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/new_branch_form.js.coffee b/app/assets/javascripts/new_branch_form.js.coffee
index af531b3bf9f..6b01bb0ce21 100644
--- a/app/assets/javascripts/new_branch_form.js.coffee
+++ b/app/assets/javascripts/new_branch_form.js.coffee
@@ -24,19 +24,19 @@ class @NewBranchForm
setupRestrictions: ->
startsWith = {
pattern: /^(\/|\.)/g,
- prefix: "can't start with ",
+ prefix: "can't start with",
conjunction: "or"
}
endsWith = {
pattern: /(\/|\.|\.lock)$/g,
- prefix: "can't end in ",
+ prefix: "can't end in",
conjunction: "or"
}
characters = {
pattern: /(\s|~|\^|:|\?|\*|\[|\\|\.\.|@\{|\/{2,}){1}/g
- prefix: "can't contains ",
+ prefix: "can't contains",
conjunction: ", "
}