Skip to content

Commit

Permalink
A/V setting add full alias for hisi models
Browse files Browse the repository at this point in the history
  • Loading branch information
atvcaptain committed Feb 28, 2018
1 parent 74ce8a7 commit 3556bfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/python/Components/AVSwitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,9 @@ def InitAVSwitch():
if "scale" in policy2_choices_raw and not "auto" in policy2_choices_raw and not "bestfit" in policy2_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy2_choices.update({"scale": _("Stretch linear")})
if "full" in policy2_choices_raw and not "auto" in policy2_choices_raw and not "bestfit" in policy2_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy2_choices.update({"full": _("Stretch linear")})
if "auto" in policy2_choices_raw and not "bestfit" in policy2_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy2_choices.update({"auto": _("Stretch linear")})
Expand Down Expand Up @@ -569,6 +572,10 @@ def InitAVSwitch():
if "scale" in policy_choices_raw and not "auto" in policy_choices_raw and not "bestfit" in policy_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy_choices.update({"scale": _("Stretch linear")})
# "auto", "bestfit" and "scale" are aliasses for the same: Stretch linear
if "full" in policy_choices_raw and not "auto" in policy_choices_raw and not "bestfit" in policy_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy_choices.update({"full: _("Stretch linear")})
if "auto" in policy_choices_raw and not "bestfit" in policy_choices_raw:
# TRANSLATORS: (aspect ratio policy: display as fullscreen, with stretching all parts of the picture with the same factor (All parts lose aspect))
policy_choices.update({"auto": _("Stretch linear")})
Expand Down

0 comments on commit 3556bfb

Please sign in to comment.