summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorTommy Nguyen <remyabel@gmail.com>2018-08-22 11:27:45 -0400
committerTommy Nguyen <remyabel@gmail.com>2018-08-22 11:27:45 -0400
commit3e8ef0d12d394bdd2437ecb0084cea2985de01be (patch)
tree8783cf07237f101c13c2638093211baafdfb6adb /pkg
parent924a9bb2c98e6931ac4638ae42d79edbf2136756 (diff)
Remove space before punctuation
Diffstat (limited to 'pkg')
-rw-r--r--pkg/i18n/english.go4
-rw-r--r--pkg/i18n/i18n_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index 2269ffb9f..38fbac4cb 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -140,10 +140,10 @@ func addEnglish(i18nObject *i18n.Bundle) error {
Other: "Delete Branch",
}, &i18n.Message{
ID: "DeleteBranchMessage",
- Other: "Are you sure you want to delete the branch {{.selectedBranchName}} ?",
+ Other: "Are you sure you want to delete the branch {{.selectedBranchName}}?",
}, &i18n.Message{
ID: "ForceDeleteBranchMessage",
- Other: "Are you sure you want to force delete the branch {{.selectedBranchName}} ?",
+ Other: "Are you sure you want to force delete the branch {{.selectedBranchName}}?",
}, &i18n.Message{
ID: "CantMergeBranchIntoItself",
Other: "You cannot merge a branch into itself",
diff --git a/pkg/i18n/i18n_test.go b/pkg/i18n/i18n_test.go
index 549b58077..5c2ca6419 100644
--- a/pkg/i18n/i18n_test.go
+++ b/pkg/i18n/i18n_test.go
@@ -57,7 +57,7 @@ func TestLocalizer(t *testing.T) {
},
}))
assert.Equal(t, "Diff", l.SLocalize("DiffTitle"))
- assert.Equal(t, "Are you sure you want to delete the branch test ?", l.TemplateLocalize("DeleteBranchMessage", Teml{"selectedBranchName": "test"}))
+ assert.Equal(t, "Are you sure you want to delete the branch test?", l.TemplateLocalize("DeleteBranchMessage", Teml{"selectedBranchName": "test"}))
},
},
{