gui: make accelerator keystrokes adapt to operating system
keystrokes with string 'command' will be translated to 'meta' on Mac OS X and 'ctrl' for everything else
This commit is contained in:
parent
23a569970a
commit
9f6ddb4b5f
2 changed files with 15 additions and 6 deletions
|
@ -88,13 +88,13 @@ menu.game = Game
|
|||
menu.game.key = G
|
||||
menu.game.new = New City...
|
||||
menu.game.new.key = N
|
||||
menu.game.new.shortcut = ctrl N
|
||||
menu.game.new.shortcut = command N
|
||||
menu.game.load = Load City...
|
||||
menu.game.load.key = L
|
||||
menu.game.load.shortcut = ctrl O
|
||||
menu.game.load.shortcut = command O
|
||||
menu.game.save = Save City
|
||||
menu.game.save.key = S
|
||||
menu.game.save.shortcut = ctrl S
|
||||
menu.game.save.shortcut = command S
|
||||
menu.game.save_as = Save City as...
|
||||
menu.game.save_as.key = A
|
||||
menu.game.exit = Exit
|
||||
|
|
Reference in a new issue