Skip to content

Commit

Permalink
do not translate snapshot description (bsc#1092757)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Sep 11, 2018
1 parent 6f60f40 commit 313affc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 11 15:29:22 CEST 2018 - aschnell@suse.com

- do not translate snapshot description (bsc#1092757)
- 4.1.14

-------------------------------------------------------------------
Tue Sep 4 13:34:17 UTC 2018 - dgonzalez@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.1.13
Version: 4.1.14
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
8 changes: 4 additions & 4 deletions src/lib/installation/snapshots_finish.rb
Expand Up @@ -48,15 +48,15 @@ def title

def create_post_snapshot
pre_number = Yast2::FsSnapshotStore.load("update")
# TRANSLATORS: label for filesystem snapshot taken after system update
Yast2::FsSnapshot.create_post(_("after update"), pre_number, cleanup: :number, important: true)
# as of bsc #1092757 snapshot descriptions are not translated
Yast2::FsSnapshot.create_post("after update", pre_number, cleanup: :number, important: true)
Yast2::FsSnapshotStore.clean("update")
true
end

def create_single_snapshot
# TRANSLATORS: label for filesystem snapshot taken after system installation
Yast2::FsSnapshot.create_single(_("after installation"), cleanup: :number, important: true)
# as of bsc #1092757 snapshot descriptions are not translated
Yast2::FsSnapshot.create_single("after installation", cleanup: :number, important: true)
true
end

Expand Down

0 comments on commit 313affc

Please sign in to comment.