Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Dec 21, 2022
1 parent 9e48023 commit cf9a357
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 286 deletions.
263 changes: 34 additions & 229 deletions src/Files.App/Resources/PreviewPanePropertiesInformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,40 +20,19 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyHorizontalSize",
"SectionResource": "PropertySectionImage",
"Property": "System.Image.HorizontalSize",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyVerticalSize",
"SectionResource": "PropertySectionImage",
"Property": "System.Image.VerticalSize",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyHorizontalResolution",
"SectionResource": "PropertySectionImage",
"Property": "System.Image.HorizontalResolution",
"IsReadOnly": true,
"ID": null,
"DisplayFunctionName": "RoundDouble"
"DisplayFunctionName": "RoundDouble",
"ID": null
},
{
"NameResource": "PropertyVerticalResolution",
"SectionResource": "PropertySectionImage",
"Property": "System.Image.VerticalResolution",
"IsReadOnly": true,
"DisplayFunctionName": "RoundDouble",
"ID": null
},
{
"NameResource": "Compression",
"SectionResource": "PropertySectionImage",
"Property": "System.Image.CompressionText",
"IsReadOnly": true,
"ID": null
},
Expand Down Expand Up @@ -89,13 +68,6 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyDateTaken",
"SectionResource": "PropertySectionPhoto",
"Property": "System.Photo.DateTaken",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyCameraManufacturer",
"SectionResource": "PropertySectionPhoto",
Expand All @@ -115,7 +87,8 @@
"SectionResource": "PropertySectionPhoto",
"Property": "System.Photo.ExposureTime",
"IsReadOnly": true,
"ID": null
"ID": null,
"DisplayFunctionName": "Fraction"
},
{
"NameResource": "PropertyFocalLength",
Expand Down Expand Up @@ -148,48 +121,6 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyChannelCount",
"SectionResource": "PropertySectionAudio",
"Property": "System.Audio.ChannelCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyEncodingBitrate",
"SectionResource": "PropertySectionAudio",
"Property": "System.Audio.EncodingBitrate",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "Compression",
"SectionResource": "PropertySectionAudio",
"Property": "System.Audio.Compression",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyFormat",
"SectionResource": "PropertySectionAudio",
"Property": "System.Audio.Format",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertySampleRate",
"SectionResource": "PropertySectionAudio",
"Property": "System.Audio.SampleRate",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "Artist",
"SectionResource": "PropertySectionMusic",
"Property": "System.Music.DisplayArtist",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyAlbumArtist",
"SectionResource": "PropertySectionMusic",
Expand All @@ -211,13 +142,6 @@
"IsReadOnly": false,
"ID": null
},
{
"NameResource": "PropertyBeatsPerMinute",
"SectionResource": "PropertySectionMusic",
"Property": "System.Music.BeatsPerMinute",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyComposer",
"SectionResource": "PropertySectionMusic",
Expand Down Expand Up @@ -268,13 +192,6 @@
"DisplayFunctionName": "FormatDuration",
"ID": null
},
{
"NameResource": "PropertyFrameCount",
"SectionResource": "PropertySectionMedia",
"Property": "System.Media.FrameCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyProtectionType",
"SectionResource": "PropertySectionMedia",
Expand Down Expand Up @@ -352,34 +269,6 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyThumbnailLargePath",
"SectionResource": "PropertySectionMedia",
"Property": "System.Media.ThumbnailLargePath",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyThumbnailLargeUri",
"SectionResource": "PropertySectionMedia",
"Property": "System.Media.ThumbnailLargeUri",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyThumbnailSmallPath",
"SectionResource": "PropertySectionMedia",
"Property": "System.Media.ThumbnailSmallPath",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyThumbnailSmallUri",
"SectionResource": "PropertySectionMedia",
"Property": "System.Media.ThumbnailSmallUri",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyUserWebUrl",
"SectionResource": "PropertySectionMedia",
Expand Down Expand Up @@ -422,13 +311,6 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyVersion",
"SectionResource": "Document",
"Property": "System.Document.Version",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyTotalEditingTime",
"SectionResource": "Document",
Expand All @@ -443,48 +325,6 @@
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyWordCount",
"SectionResource": "Document",
"Property": "System.Document.WordCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyCharacterCount",
"SectionResource": "Document",
"Property": "System.Document.CharacterCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyLineCount",
"SectionResource": "Document",
"Property": "System.Document.LineCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyParagraphCount",
"SectionResource": "Document",
"Property": "System.Document.ParagraphCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyPageCount",
"SectionResource": "Document",
"Property": "System.Document.PageCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertySlideCount",
"SectionResource": "Document",
"Property": "System.Document.SlideCount",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyFrameRate",
"SectionResource": "PropertySectionVideo",
Expand All @@ -494,87 +334,73 @@
"DisplayFunctionName": "DivideBy1000"
},
{
"NameResource": "PropertyEncodingBitrate",
"SectionResource": "PropertySectionVideo",
"Property": "System.Video.EncodingBitrate",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "Compression",
"SectionResource": "PropertySectionVideo",
"Property": "System.Video.Compression",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyFrameWidth",
"SectionResource": "PropertySectionVideo",
"Property": "System.Video.FrameWidth",
"NameResource": "PropertyRatingText",
"SectionResource": "PropertySectionCore",
"Property": "System.RatingText",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyFrameHeight",
"SectionResource": "PropertySectionVideo",
"Property": "System.Video.FrameHeight",
"NameResource": "PropertyItemPathDisplay",
"SectionResource": "PropertySectionCore",
"Property": "System.ItemPathDisplay",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyOrientation",
"SectionResource": "PropertySectionVideo",
"Property": "System.Video.Orientation",
"NameResource": "PropertyTitle",
"SectionResource": "PropertySectionCore",
"Property": "System.Title",
"IsReadOnly": false,
"ID": null
},
{
"NameResource": "PropertyItemName",
"NameResource": "PropertySubject",
"SectionResource": "PropertySectionCore",
"Property": "System.ItemNameDisplay",
"IsReadOnly": true,
"Property": "System.Subject",
"IsReadOnly": false,
"ID": null
},
{
"NameResource": "PropertyRatingText",
"NameResource": "PropertyFileDescription",
"SectionResource": "PropertySectionCore",
"Property": "System.RatingText",
"IsReadOnly": true,
"Property": "System.FileDescription",
"IsReadOnly": false,
"ID": null
},
{
"NameResource": "PropertyItemPathDisplay",
"NameResource": "PropertyComment",
"SectionResource": "PropertySectionCore",
"Property": "System.ItemPathDisplay",
"IsReadOnly": true,
"Property": "System.Comment",
"IsReadOnly": false,
"ID": null
},
{
"NameResource": "PropertyItemTypeText",
"NameResource": "PropertyDateCreated",
"SectionResource": "PropertySectionCore",
"Property": "System.ItemTypeText",
"Property": "System.DateCreated",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyTitle",
"SectionResource": "PropertySectionCore",
"Property": "System.Title",
"IsReadOnly": false,
"NameResource": "PropertyDateTaken",
"SectionResource": "PropertySectionPhoto",
"Property": "System.Photo.DateTaken",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertySubject",
"NameResource": "PropertyDateModified",
"SectionResource": "PropertySectionCore",
"Property": "System.Subject",
"IsReadOnly": false,
"Property": "System.DateModified",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyComment",
"NameResource": "PropertyCompany",
"SectionResource": "PropertySectionCore",
"Property": "System.Comment",
"IsReadOnly": false,
"Property": "System.Company",
"IsReadOnly": true,
"ID": null
},
{
Expand Down Expand Up @@ -629,26 +455,5 @@
"SectionResource": "PropertySectionCore",
"IsReadOnly": true,
"ID": "filetag"
},
{
"NameResource": "PropertyDateCreated",
"SectionResource": "PropertySectionCore",
"Property": "System.DateCreated",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyDateModified",
"SectionResource": "PropertySectionCore",
"Property": "System.DateModified",
"IsReadOnly": true,
"ID": null
},
{
"NameResource": "PropertyFileOwner",
"SectionResource": "PropertySectionCore",
"Property": "System.FileOwner",
"IsReadOnly": true,
"ID": null
}
]
Loading

0 comments on commit cf9a357

Please sign in to comment.