diff options
| author | Michael Vogt <mvo@ubuntu.com> | 2017-02-07 13:12:56 +0100 |
|---|---|---|
| committer | Michael Vogt <mvo@ubuntu.com> | 2017-02-07 13:12:56 +0100 |
| commit | aa99d46eec82203088995115e96ef4b2f8ab1d0c (patch) | |
| tree | a199672dcb3936494e5dcadd5d6c6445c2754f11 | |
| parent | dd3adef0c973d6dba34a8eb208a7d9cf98e2dd48 (diff) | |
show "$snapname (delta)" in progressnicer-delta-names
| -rw-r--r-- | store/store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go index cf88dc7ff5..4b4fcffcb3 100644 --- a/store/store.go +++ b/store/store.go @@ -43,6 +43,7 @@ import ( "github.com/snapcore/snapd/asserts" "github.com/snapcore/snapd/dirs" "github.com/snapcore/snapd/httputil" + "github.com/snapcore/snapd/i18n" "github.com/snapcore/snapd/logger" "github.com/snapcore/snapd/osutil" "github.com/snapcore/snapd/overlord/auth" @@ -1479,7 +1480,7 @@ func (s *Store) downloadAndApplyDelta(name, targetPath string, downloadInfo *sna deltaInfo := &downloadInfo.Deltas[0] deltaPath := fmt.Sprintf("%s.%s-%d-to-%d.partial", targetPath, deltaInfo.Format, deltaInfo.FromRevision, deltaInfo.ToRevision) - deltaName := filepath.Base(deltaPath) + deltaName := fmt.Sprintf(i18n.G("%s (delta)"), name) w, err := os.Create(deltaPath) if err != nil { |
