mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
po helpers: don't remove fuzzy flag in orig item if present in updated item, too
This commit is contained in:
parent
5839f25760
commit
1bf229372e
@ -171,6 +171,8 @@ def merge_po orig_items, updated_items
|
||||
update_meta_info = true
|
||||
orig_item[:msgstr] = updated_item[:msgstr]
|
||||
|
||||
next if (updated_item[:flags] || []).include?("fuzzy")
|
||||
|
||||
orig_item[:flags].reject! { |flag| flag == "fuzzy" } if orig_item[:flags]
|
||||
orig_item.delete(:suggestions)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user