Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added German Language #399

Merged
merged 15 commits into from
Jun 15, 2020
8 changes: 5 additions & 3 deletions cmd/hypervisor/statik/statik.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mainnet_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This article represents the central source of information for the Skywire mainne
* Read this information thoroughly and ask in the [Skywire](https://t.me/skywire) Telegram channel if some things appear to not be covered.
* Please join [SkywirePSA](https://t.me/SkywirePSA) as well to get structured public service announcements (PSA) about the Skywire project.
* In case you bought an official Skyminer in the [Skycoin hardware store](https://store.skycoin.com/) please read [the Official Skyminer Guide](https://github.com/skycoinproject/skywire-mainnet/wiki/Skyminer-Official-Guide) if you haven't done that already.
* Participants will contacted at the beginning of every month via the so called *Skywire Status Update Emails* including details of their last month's Skywire mainnet participation.
* Participants will be contacted at the beginning of every month via the so-called *Skywire Status Update Emails* including details of their last month's Skywire mainnet participation.
* You can contact support at store.skycoin.com/pages/support

***
Expand Down
3 changes: 2 additions & 1 deletion pkg/util/rename/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"io"
"log"
"os"
"strings"
)

const crossDeviceError = "invalid cross-device link"
Expand All @@ -13,7 +14,7 @@ const crossDeviceError = "invalid cross-device link"
// If paths are located on different drives or filesystems, os.Rename fails.
// In that case, Rename uses a workaround by copying oldPath to newPath and removing oldPath thereafter.
func Rename(oldPath, newPath string) error {
if err := os.Rename(oldPath, newPath); err == nil || err.Error() != crossDeviceError {
if err := os.Rename(oldPath, newPath); err == nil || !strings.Contains(err.Error(), crossDeviceError) {
return err
}

Expand Down
1 change: 1 addition & 0 deletions static/skywire-manager-src/dist/5.08e9d7e6b1716285e014.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading