Skip to content

Commit

Permalink
Update displays.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxudo committed Mar 3, 2023
1 parent 72f3a7f commit 8793411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/displays.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ def main():
localization = FoundationPlist.readPlist('/System/Library/SystemProfiler/SPDisplaysReporter.spreporter/Contents/Resources/en.lproj/Localizable.strings')
elif os.path.isfile('/System/Library/SystemProfiler/SPDisplaysReporter.spreporter/Contents/Resources/English.lproj/Localizable.strings'):
localization = FoundationPlist.readPlist('/System/Library/SystemProfiler/SPDisplaysReporter.spreporter/Contents/Resources/English.lproj/Localizable.strings')
elif os.path.isfile('/System/Library/SystemProfiler/SPDisplaysReporter.spreporter/Contents/Resources/Localizable.loctable'):
localization = FoundationPlist.readPlist('/System/Library/SystemProfiler/SPDisplaysReporter.spreporter/Contents/Resources/Localizable.loctable')["en"]
else:
localization = {}

Expand Down

0 comments on commit 8793411

Please sign in to comment.