diff options
author | Tommy Nguyen <remyabel@gmail.com> | 2018-08-21 10:55:33 -0400 |
---|---|---|
committer | Tommy Nguyen <remyabel@gmail.com> | 2018-08-21 10:55:33 -0400 |
commit | 924a9bb2c98e6931ac4638ae42d79edbf2136756 (patch) | |
tree | cce49301d8fe39806335460f8d7a7d8508319124 /pkg | |
parent | 4d635cd1cd7ed1a32e516d3d93a0449d3c3a130e (diff) |
Fix typos causing tests to fail
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/i18n/dutch.go | 2 | ||||
-rw-r--r-- | pkg/i18n/i18n_test.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index a5bf897b5..68e7c82bd 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -134,7 +134,7 @@ func addDutch(i18nObject *i18n.Bundle) error { ID: "DeleteBranchMessage", Other: "Weet je zeker dat je branch {{.selectedBranchName}} wil verwijderen?", }, &i18n.Message{ - ID: "DeleteBranchMessage", + ID: "ForceDeleteBranchMessage", Other: "Weet je zeker dat je branch {{.selectedBranchName}} geforceerd wil verwijderen?", }, &i18n.Message{ ID: "CantMergeBranchIntoItself", diff --git a/pkg/i18n/i18n_test.go b/pkg/i18n/i18n_test.go index 481a40863..549b58077 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 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"})) }, }, { @@ -70,7 +70,7 @@ func TestLocalizer(t *testing.T) { }, })) assert.Equal(t, "Diff", l.SLocalize("DiffTitle")) - assert.Equal(t, "Weet je zeker dat je test branch wil verwijderen?", l.TemplateLocalize("DeleteBranchMessage", Teml{"selectedBranchName": "test"})) + assert.Equal(t, "Weet je zeker dat je branch test wil verwijderen?", l.TemplateLocalize("DeleteBranchMessage", Teml{"selectedBranchName": "test"})) }, }, } |