Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Files/Strings/ru-RU/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -597,4 +597,7 @@
<data name="SettingsAboutOpenLogLocationButton.Content" xml:space="preserve">
<value>Открыть расположение Лог файла</value>
</data>
<data name="ItemSizeBytes" xml:space="preserve">
<value>байт</value>
</data>
</root>
3 changes: 3 additions & 0 deletions Files/Strings/uk-UA/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -591,4 +591,7 @@
<data name="SettingsAboutOpenLogLocationButton.Content" xml:space="preserve">
<value>Відкрити розташування Лог файлу</value>
</data>
<data name="ItemSizeBytes" xml:space="preserve">
<value>байт</value>
</data>
</root>
4 changes: 2 additions & 2 deletions Files/View Models/SelectedItemsPropertiesViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Files.DataModels;
using Files.DataModels;
using Files.Filesystem;
using GalaSoft.MvvmLight;
using Windows.UI.Xaml.Controls;
Expand Down Expand Up @@ -319,7 +319,7 @@ public async Task GetPropertiesAsync(CancellationTokenSource _tokenSource)
ItemCreatedTimestamp = ListedItem.GetFriendlyDate(file.DateCreated);
GetOtherPropeties(file.Properties);
ItemsSize = ByteSizeLib.ByteSize.FromBytes(Item.FileSizeBytes).ToBinaryString()
+ " (" + ByteSizeLib.ByteSize.FromBytes(Item.FileSizeBytes).Bytes.ToString("#,##0") + " " + ResourceController.GetTranslation("SizeBytes") + ")";
+ " (" + ByteSizeLib.ByteSize.FromBytes(Item.FileSizeBytes).Bytes.ToString("#,##0") + " " + ResourceController.GetTranslation("ItemSizeBytes") + ")";

// Get file MD5 hash
var hashAlgTypeName = HashAlgorithmNames.Md5;
Expand Down