summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-12-10 08:04:22 +0100
committermjarkk <mkopenga@gmail.com>2018-12-10 08:04:22 +0100
commit8e3f5e19e0ad1b9ebfe6c19d47cc6538f3fa9085 (patch)
treed98ef340a3a59e944a7256afcd2232adb77bbbb0 /pkg
parent61c2778de1eaf288f40bc2b475644724a7b6988a (diff)
Changed some other names
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/commit_message_panel.go4
-rw-r--r--pkg/gui/gui.go2
-rw-r--r--pkg/i18n/dutch.go6
-rw-r--r--pkg/i18n/english.go4
-rw-r--r--pkg/i18n/polish.go4
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",