diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-10 08:04:22 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-10 08:04:22 +0100 |
commit | 8e3f5e19e0ad1b9ebfe6c19d47cc6538f3fa9085 (patch) | |
tree | d98ef340a3a59e944a7256afcd2232adb77bbbb0 /pkg | |
parent | 61c2778de1eaf288f40bc2b475644724a7b6988a (diff) |
Changed some other names
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 4 | ||||
-rw-r--r-- | pkg/gui/gui.go | 2 | ||||
-rw-r--r-- | pkg/i18n/dutch.go | 6 | ||||
-rw-r--r-- | pkg/i18n/english.go | 4 | ||||
-rw-r--r-- | pkg/i18n/polish.go | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index 7468ec941..4ba9a3d97 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -58,10 +58,10 @@ func (gui *Gui) waitForPassUname(g *gocui.Gui, currentView *gocui.View, passOrUn gui.credentials = make(chan string) credentialsView, _ := g.View("credentials") if passOrUname == "username" { - credentialsView.Title = gui.Tr.SLocalize("PushUsername") + credentialsView.Title = gui.Tr.SLocalize("CredentialsUsername") credentialsView.Mask = 0 } else { - credentialsView.Title = gui.Tr.SLocalize("PushPassword") + credentialsView.Title = gui.Tr.SLocalize("CredentialsPassword") credentialsView.Mask = '*' } g.Update(func(g *gocui.Gui) error { diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 33a8cdc43..a8a393620 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -351,7 +351,7 @@ func (gui *Gui) layout(g *gocui.Gui) error { if err != nil { return err } - credentialsView.Title = gui.Tr.SLocalize("PushUsername") + credentialsView.Title = gui.Tr.SLocalize("CredentialsUsername") credentialsView.FgColor = gocui.ColorWhite credentialsView.Editable = true credentialsView.Editor = gocui.EditorFunc(gui.simpleEditor) diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index bd5a30e6e..352f29698 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -32,10 +32,10 @@ func addDutch(i18nObject *i18n.Bundle) error { ID: "CommitMessage", Other: "Commit bericht", }, &i18n.Message{ - ID: "PushUsername", - Other: "Gebruikers naam", + ID: "CredentialsUsername", + Other: "Gebruikersnaam", }, &i18n.Message{ - ID: "PushPassword", + ID: "CredentialsPassword", Other: "Wachtwoord", }, &i18n.Message{ ID: "PassUnameWrong", diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 5806c8c03..26186c6d9 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -40,10 +40,10 @@ func addEnglish(i18nObject *i18n.Bundle) error { ID: "CommitMessage", Other: "Commit message", }, &i18n.Message{ - ID: "PushUsername", + ID: "CredentialsUsername", Other: "Username", }, &i18n.Message{ - ID: "PushPassword", + ID: "CredentialsPassword", Other: "Password", }, &i18n.Message{ ID: "PassUnameWrong", diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index c8ff0c186..d08ffc170 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -30,10 +30,10 @@ func addPolish(i18nObject *i18n.Bundle) error { ID: "CommitMessage", Other: "Wiadomość commita", }, &i18n.Message{ - ID: "PushUsername", + ID: "CredentialsUsername", Other: "Username", }, &i18n.Message{ - ID: "PushPassword", + ID: "CredentialsPassword", Other: "Password", }, &i18n.Message{ ID: "PassUnameWrong", |