Change lobby button labels
This commit is contained in:
parent
67d62502ec
commit
f54aa6543c
4 changed files with 21 additions and 18 deletions
|
@ -1,3 +1,6 @@
|
|||
1.2.1:
|
||||
- Change lobby button labels
|
||||
|
||||
1.2.0:
|
||||
- Support viewing replays
|
||||
|
||||
|
|
|
@ -910,7 +910,7 @@ func NewGame() *Game {
|
|||
}
|
||||
|
||||
{
|
||||
headerLabel := newCenteredText(gotext.Get("Create match"))
|
||||
headerLabel := newCenteredText(gotext.Get("Create new match"))
|
||||
nameLabel := newCenteredText(gotext.Get("Name"))
|
||||
pointsLabel := newCenteredText(gotext.Get("Points"))
|
||||
passwordLabel := newCenteredText(gotext.Get("Password"))
|
||||
|
@ -1085,7 +1085,7 @@ func NewGame() *Game {
|
|||
pointsLabel := newCenteredText(gotext.Get("Points"))
|
||||
pointsLabel.SetFollow(false)
|
||||
pointsLabel.SetScrollBarVisible(false)
|
||||
nameLabel := newCenteredText(gotext.Get("Name"))
|
||||
nameLabel := newCenteredText(gotext.Get("Match Name"))
|
||||
nameLabel.SetFollow(false)
|
||||
nameLabel.SetScrollBarVisible(false)
|
||||
|
||||
|
@ -1098,7 +1098,7 @@ func NewGame() *Game {
|
|||
g.lobby.historyButton.SetVisible(false)
|
||||
|
||||
headerGrid := etk.NewGrid()
|
||||
headerGrid.SetColumnSizes(indentA, indentB-indentA, -1, 400)
|
||||
headerGrid.SetColumnSizes(indentA, indentB-indentA, -1, 300)
|
||||
headerGrid.AddChildAt(statusLabel, 0, 0, 1, 1)
|
||||
headerGrid.AddChildAt(pointsLabel, 1, 0, 1, 1)
|
||||
headerGrid.AddChildAt(nameLabel, 2, 0, 1, 1)
|
||||
|
|
|
@ -90,25 +90,25 @@ type lobby struct {
|
|||
|
||||
func NewLobby() *lobby {
|
||||
mainButtons = []*lobbyButton{
|
||||
{gotext.Get("Refresh")},
|
||||
{gotext.Get("Create")},
|
||||
{gotext.Get("Join")},
|
||||
{gotext.Get("Refresh matches")},
|
||||
{gotext.Get("Create new match")},
|
||||
{gotext.Get("Join match")},
|
||||
}
|
||||
|
||||
createButtons = []*lobbyButton{
|
||||
{gotext.Get("Cancel")},
|
||||
{gotext.Get("Create")},
|
||||
{gotext.Get("Create match")},
|
||||
}
|
||||
|
||||
cancelJoinButtons = []*lobbyButton{
|
||||
{gotext.Get("Cancel")},
|
||||
{gotext.Get("Join")},
|
||||
{gotext.Get("Join match")},
|
||||
}
|
||||
|
||||
historyButtons = []*lobbyButton{
|
||||
{gotext.Get("Return")},
|
||||
{gotext.Get("Download")},
|
||||
{gotext.Get("View")},
|
||||
{gotext.Get("Download replay")},
|
||||
{gotext.Get("View replay")},
|
||||
}
|
||||
|
||||
itemHeight := 48
|
||||
|
|
|
@ -55,10 +55,10 @@ msgstr ""
|
|||
msgid "Connecting..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Create"
|
||||
msgid "Create match"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create match"
|
||||
msgid "Create new match"
|
||||
msgstr ""
|
||||
|
||||
msgid "Current"
|
||||
|
@ -70,7 +70,7 @@ msgstr ""
|
|||
msgid "Double"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download"
|
||||
msgid "Download replay"
|
||||
msgstr ""
|
||||
|
||||
msgid "Downloaded replay"
|
||||
|
@ -109,9 +109,6 @@ msgstr ""
|
|||
msgid "History"
|
||||
msgstr ""
|
||||
|
||||
msgid "Join"
|
||||
msgstr ""
|
||||
|
||||
msgid "Join match"
|
||||
msgstr ""
|
||||
|
||||
|
@ -136,6 +133,9 @@ msgstr ""
|
|||
msgid "Logged in as guest"
|
||||
msgstr ""
|
||||
|
||||
msgid "Match Name"
|
||||
msgstr ""
|
||||
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
|
@ -178,7 +178,7 @@ msgstr ""
|
|||
msgid "Reconnecting"
|
||||
msgstr ""
|
||||
|
||||
msgid "Refresh"
|
||||
msgid "Refresh matches"
|
||||
msgstr ""
|
||||
|
||||
msgid "Register"
|
||||
|
@ -253,7 +253,7 @@ msgstr ""
|
|||
msgid "Variant"
|
||||
msgstr ""
|
||||
|
||||
msgid "View"
|
||||
msgid "View replay"
|
||||
msgstr ""
|
||||
|
||||
msgid "Waiting"
|
||||
|
|
Loading…
Reference in a new issue