Skip to content

Commit 4b21f0d

Browse files
committed
We need your help with translations into your native language.
Instructions can be found at: #796 written by @speedwheel
1 parent 1fc11ec commit 4b21f0d

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ We need your help with translations into your native language.
3939

4040
Iris needs your help, please think about contributing to the translation of the [README](README.md) and https://iris-go.com, you will be rewarded.
4141

42-
Chinese: https://github.com/kataras/iris/issues/796
42+
Instructions can be found at: https://github.com/kataras/iris/issues/796
4343

4444
## Share
4545

HISTORY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Not any new features or fixes (all reported bugs are fixed) in this version, jus
3333

3434
Iris needs your help, please think about contributing to the translation of the [README](README.md) and https://iris-go.com, you will be rewarded.
3535

36-
For Chinese Gophers: https://github.com/kataras/iris/issues/796
36+
Instructions can be found at: https://github.com/kataras/iris/issues/796
3737

3838
# Su, 22 October 2017 | v8.5.3
3939

_examples/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Structuring depends on your own needs. We can't tell you how to design your own
2626

2727
- [Bootstrapper](structuring/bootstrap)
2828
- [MVC with Repository and Service layer Overview](structuring/mvc-plus-repository-and-service-layers)
29-
- [Login (MVC with Single Responsibility package)](structuring/login-mvc-single-responsible-package)
29+
- [Login (MVC with Single Responsibility package)](structuring/login-mvc-single-responsibility-package)
3030
- [Login (MVC with Datamodels, Datasource, Repository and Service layer)](structuring/login-mvc)
3131

3232
### HTTP Listening

version.go

+2-14
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type versionInfo struct {
3434
}
3535

3636
func checkVersion() {
37-
client := netutil.Client(30 * time.Second)
37+
client := netutil.Client(25 * time.Second)
3838
r, err := client.PostForm("https://iris-go.com/version", url.Values{"current_version": {Version}})
3939

4040
if err != nil {
@@ -60,18 +60,6 @@ func checkVersion() {
6060
return
6161
}
6262

63-
if !v.UpdateAvailable {
64-
return
65-
}
66-
67-
// shouldUpdate := false
68-
// prompt := &survey.Confirm{
69-
// Message: shouldUpdateNowMsg,
70-
// }
71-
72-
// if err := survey.AskOne(prompt, &shouldUpdate, nil); err != nil {
73-
// return
74-
// }
7563
var qs []*survey.Question
7664

7765
// on help? when asking for installing the new update
@@ -157,7 +145,7 @@ func checkVersion() {
157145
}
158146

159147
golog.Infof("Update process finished.\nManual rebuild and restart is required to apply the changes...\n")
160-
} else {
148+
} else if v.UpdateAvailable { // if update was available but choosen not to update.
161149
golog.Infof(ignoreUpdatesMsg)
162150
}
163151
}

0 commit comments

Comments
 (0)