Skip to content

Commit

Permalink
Use existing dimensions label
Browse files Browse the repository at this point in the history
  • Loading branch information
btomblinson committed Mar 18, 2024
1 parent d6c9a65 commit e5c0dd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/Files.App/Data/Items/ListedItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public string ItemTooltipText
if (!string.IsNullOrWhiteSpace(FileSize))
tooltipBuilder.Append($"{Environment.NewLine}{"SizeLabel".GetLocalizedResource()} {FileSize}");
if (IsImage)
tooltipBuilder.Append($"{Environment.NewLine}{"DimensionsLabel".GetLocalizedResource()} {DimensionsDisplay}");
tooltipBuilder.Append($"{Environment.NewLine}{"PropertyDimensions".GetLocalizedResource()}: {DimensionsDisplay}");
if (SyncStatusUI.LoadSyncStatus)
tooltipBuilder.Append($"{Environment.NewLine}{"syncStatusColumn/Header".GetLocalizedResource()}: {syncStatusUI.SyncStatusString}");

Expand Down
3 changes: 0 additions & 3 deletions src/Files.App/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@
<data name="SizeLabel" xml:space="preserve">
<value>Size:</value>
</data>
<data name="DimensionsLabel" xml:space="preserve">
<value>Dimensions:</value>
</data>
<data name="SizeOnDiskLabel" xml:space="preserve">
<value>Size on disk:</value>
</data>
Expand Down

0 comments on commit e5c0dd4

Please sign in to comment.