From 0152e12172e8825b78370ed1eaca00dd18e6e72a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 30 Mar 2018 23:19:20 -0400 Subject: locale: sync from Crowdin --- models/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/admin.go b/models/admin.go index 4daf80f6..10dd61da 100644 --- a/models/admin.go +++ b/models/admin.go @@ -74,7 +74,7 @@ func CreateRepositoryNotice(desc string) error { // creates a system notice when error occurs. func RemoveAllWithNotice(title, path string) { var err error - // LEGACY [Go 1.7]: workaround for Go not being able to remove read-only files/folders: https://github.com/golang/go/issues/9606 + // LEGACY [Go 1.7, 0.12]: workaround for Go not being able to remove read-only files/folders: https://github.com/golang/go/issues/9606 // this bug should be fixed on Go 1.7, so the workaround should be removed when Gogs don't support Go 1.6 anymore: // https://github.com/golang/go/commit/2ffb3e5d905b5622204d199128dec06cefd57790 // Note: Windows complains when delete target does not exist, therefore we can skip deletion in such cases. -- cgit v1.2.3