tour: use better wording to explain run/format keyboard shortcuts

Fixes golang/tour#526

Change-Id: I2338cf6d06dd8756dcb81a88453558c5b2de2257
Reviewed-on: https://go-review.googlesource.com/122097
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
Alberto Donizetti 2018-07-04 10:13:00 +02:00
Родитель cc4a29fada
Коммит 48b81741b6
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -24,8 +24,8 @@ You can navigate through them using
- [[javascript:highlight(".next-page")]["next"]] or `PageDown` to go to the next page. - [[javascript:highlight(".next-page")]["next"]] or `PageDown` to go to the next page.
The tour is interactive. Click the The tour is interactive. Click the
[[javascript:highlightAndClick("#run")][Run]] button now [[javascript:highlightAndClick("#run")][Run]] button now
(or type `shift-enter`) to compile and run the program on (or press `Shift` + `Enter`) to compile and run the program on
#appengine: a remote server. #appengine: a remote server.
your computer. your computer.
The result is displayed below the code. The result is displayed below the code.
@ -34,8 +34,8 @@ These example programs demonstrate different aspects of Go. The programs in the
Edit the program and run it again. Edit the program and run it again.
Note that when you click on [[javascript:highlightAndClick("#format")][Format]] or `ctrl-enter` When you click on [[javascript:highlightAndClick("#format")][Format]]
the text in the editor is formatted using the (shortcut: `Ctrl` + `Enter`), the text in the editor is formatted using the
[[https://golang.org/cmd/gofmt/][gofmt]] tool. You can switch syntax highlighting on and off [[https://golang.org/cmd/gofmt/][gofmt]] tool. You can switch syntax highlighting on and off
by clicking on the [[javascript:highlightAndClick(".syntax-checkbox")][syntax]] button. by clicking on the [[javascript:highlightAndClick(".syntax-checkbox")][syntax]] button.