1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-26 09:00:57 +02:00

Changed some other names

This commit is contained in:
mjarkk 2018-12-10 08:04:22 +01:00
parent 61c2778de1
commit 8e3f5e19e0
5 changed files with 10 additions and 10 deletions

View File

@ -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 {

View File

@ -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)

View File

@ -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",

View File

@ -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",

View File

@ -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",