diff options
author | Tommy Nguyen <remyabel@gmail.com> | 2018-08-22 11:27:45 -0400 |
---|---|---|
committer | Tommy Nguyen <remyabel@gmail.com> | 2018-08-22 11:27:45 -0400 |
commit | 3e8ef0d12d394bdd2437ecb0084cea2985de01be (patch) | |
tree | 8783cf07237f101c13c2638093211baafdfb6adb /pkg | |
parent | 924a9bb2c98e6931ac4638ae42d79edbf2136756 (diff) |
Remove space before punctuation
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/i18n/english.go | 4 | ||||
-rw-r--r-- | pkg/i18n/i18n_test.go | 2 |
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"})) }, }, { |