Skip to content

Commit 1f81ae1

Browse files
authored
v0.7.4 (#510)
1 parent d8e841b commit 1f81ae1

23 files changed

+632
-705
lines changed

Files.Package/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" IgnorableNamespaces="uap uap5 mp rescap desktop4 desktop">
3-
<Identity Name="FilesUWP" Publisher="CN=Luke Blevins" Version="0.7.3.0" />
3+
<Identity Name="FilesUWP" Publisher="CN=Luke Blevins" Version="0.7.4.0" />
44
<Properties>
55
<DisplayName>Files UWP - Preview</DisplayName>
66
<PublisherDisplayName>FilesUWP</PublisherDisplayName>

Files/App.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
194194
{
195195
var dialog = new ContentDialog()
196196
{
197-
Title = "What's new in v0.7.3",
198-
Content = "• We are starting to test a brand new design, this is still in the early stages so make sure to send us any feedback on GitHub. \n• We fixed an issue where a swipe gesture was having unexpected side effects. \n• We started work on layout modes, it is not fully functional yet and we will improve it in future updates.",
197+
Title = "What's new in v0.7.4",
198+
Content = "• Fixed a crash when opening the preferences page in settings.",
199199
PrimaryButtonText = "Lets go!"
200200
};
201201

Files/Dialogs/PropertiesDialog.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
mc:Ignorable="d"
99
xmlns:Windows10version1903="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 8)"
10-
PrimaryButtonText="OK" CornerRadius="4" DefaultButton="Primary" CloseButtonText="Cancel" x:Name="PropertiesDialogMarkup" Title="Properties" >
10+
CornerRadius="4" x:Name="PropertiesDialogMarkup" Title="Properties" >
1111

1212
<Frame Width="375" Height="425" x:FieldModifier="public" x:Name="propertiesFrame" />
1313
</ContentDialog>

Files/Files.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -561,11 +561,6 @@
561561
<Version>4.7.0</Version>
562562
</PackageReference>
563563
</ItemGroup>
564-
<ItemGroup>
565-
<SDKReference Include="WindowsDesktop, Version=10.0.18362.0">
566-
<Name>Windows Desktop Extensions for the UWP</Name>
567-
</SDKReference>
568-
</ItemGroup>
569564
<ItemGroup>
570565
<AppxManifest Include="..\Files.Package\Package.appxmanifest">
571566
<SubType>Designer</SubType>
@@ -579,6 +574,11 @@
579574
<XliffResource Include="MultilingualResources\Files.pl-PL.xlf" />
580575
<XliffResource Include="MultilingualResources\Files.zh-Hans.xlf" />
581576
</ItemGroup>
577+
<ItemGroup>
578+
<SDKReference Include="WindowsDesktop, Version=10.0.18362.0">
579+
<Name>Windows Desktop Extensions for the UWP</Name>
580+
</SDKReference>
581+
</ItemGroup>
582582
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
583583
<VisualStudioVersion>14.0</VisualStudioVersion>
584584
</PropertyGroup>

Files/Interacts/Interaction.cs

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
using Windows.ApplicationModel.Core;
3232
using Windows.UI.Core;
3333
using Files.Views.Pages;
34+
using Windows.Foundation.Metadata;
35+
using Windows.UI.WindowManagement;
36+
using Windows.UI.Xaml.Hosting;
37+
using Windows.UI.WindowManagement.Preview;
38+
using Windows.UI;
3439

3540
namespace Files.Interacts
3641
{
@@ -430,11 +435,38 @@ public void ShareItem_Click(object sender, RoutedEventArgs e)
430435
DataTransferManager.ShowShareUI();
431436
}
432437

438+
public static Dictionary<UIContext, AppWindow> AppWindows { get; set; }
439+
= new Dictionary<UIContext, AppWindow>();
440+
433441
public async void ShowPropertiesButton_Click(object sender, RoutedEventArgs e)
434442
{
435-
App.propertiesDialog.propertiesFrame.Tag = App.propertiesDialog;
436-
App.propertiesDialog.propertiesFrame.Navigate(typeof(Properties), (App.CurrentInstance.ContentPage as BaseLayout).SelectedItem, new SuppressNavigationTransitionInfo());
437-
await App.propertiesDialog.ShowAsync(ContentDialogPlacement.Popup);
443+
if (ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 8))
444+
{
445+
AppWindow appWindow = await AppWindow.TryCreateAsync();
446+
Frame frame = new Frame();
447+
frame.Navigate(typeof(Properties), null, new SuppressNavigationTransitionInfo());
448+
WindowManagementPreview.SetPreferredMinSize(appWindow, new Size(400, 475));
449+
appWindow.RequestSize(new Size(400, 475));
450+
appWindow.Title = "Properties";
451+
452+
ElementCompositionPreview.SetAppWindowContent(appWindow, frame);
453+
AppWindows.Add(frame.UIContext, appWindow);
454+
455+
appWindow.Closed += delegate
456+
{
457+
Interaction.AppWindows.Remove(frame.UIContext);
458+
frame.Content = null;
459+
appWindow = null;
460+
};
461+
462+
await appWindow.TryShowAsync();
463+
}
464+
else
465+
{
466+
App.propertiesDialog.propertiesFrame.Tag = App.propertiesDialog;
467+
App.propertiesDialog.propertiesFrame.Navigate(typeof(Properties), (App.CurrentInstance.ContentPage as BaseLayout).SelectedItem, new SuppressNavigationTransitionInfo());
468+
await App.propertiesDialog.ShowAsync(ContentDialogPlacement.Popup);
469+
}
438470
}
439471

440472
public async void ShowFolderPropertiesButton_Click(object sender, RoutedEventArgs e)

Files/MultilingualResources/Files.de-DE.xlf

Lines changed: 42 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,6 @@
174174
<source>Preferences</source>
175175
<target state="translated">Voreinstellungen</target>
176176
</trans-unit>
177-
<trans-unit id="SettingsPreferencesVideo.Text" translate="yes" xml:space="preserve">
178-
<source>Video</source>
179-
<target state="translated">Video</target>
180-
</trans-unit>
181-
<trans-unit id="SettingsPreferencesVideoLocation.PlaceholderText" translate="yes" xml:space="preserve">
182-
<source>Set custom video location</source>
183-
<target state="translated">Benutzerdefinierten Pfad zum Videoordner festlegen</target>
184-
</trans-unit>
185177
<trans-unit id="SideBarUnpinFromSideBar.Text" translate="yes" xml:space="preserve">
186178
<source>Unpin from Sidebar</source>
187179
<target state="translated">Von Seitenleiste entfernen</target>
@@ -269,167 +261,168 @@
269261
</trans-unit>
270262
<trans-unit id="BaseLayoutContextFlyoutSortBy.Text" translate="yes" xml:space="preserve">
271263
<source>Sort by</source>
272-
<target state="new">Sort by</target>
264+
<target state="translated">Sortieren nach</target>
273265
</trans-unit>
274266
<trans-unit id="BaseLayoutContextFlyoutSortByName.Text" translate="yes" xml:space="preserve">
275267
<source>Name</source>
276-
<target state="new">Name</target>
268+
<target state="translated">Name</target>
277269
</trans-unit>
278270
<trans-unit id="BaseLayoutContextFlyoutSortByDate.Text" translate="yes" xml:space="preserve">
279271
<source>Date modified</source>
280-
<target state="new">Date modified</target>
272+
<target state="translated">Änderungsdatum</target>
281273
</trans-unit>
282274
<trans-unit id="BaseLayoutContextFlyoutSortByType.Text" translate="yes" xml:space="preserve">
283275
<source>Type</source>
284-
<target state="new">Type</target>
276+
<target state="translated">Typ</target>
285277
</trans-unit>
286278
<trans-unit id="BaseLayoutContextFlyoutSortBySize.Text" translate="yes" xml:space="preserve">
287279
<source>Size</source>
288-
<target state="new">Size</target>
280+
<target state="translated">Größe</target>
289281
</trans-unit>
290282
<trans-unit id="BaseLayoutContextFlyoutSortByAscending.Text" translate="yes" xml:space="preserve">
291283
<source>Ascending</source>
292-
<target state="new">Ascending</target>
284+
<target state="translated">Aufsteigend</target>
293285
</trans-unit>
294286
<trans-unit id="BaseLayoutContextFlyoutSortByDescending.Text" translate="yes" xml:space="preserve">
295287
<source>Descending</source>
296-
<target state="new">Descending</target>
288+
<target state="translated">Absteigend</target>
297289
</trans-unit>
298290
<trans-unit id="BaseLayoutContextFlyoutRefresh.Text" translate="yes" xml:space="preserve">
299291
<source>Refresh</source>
300-
<target state="new">Refresh</target>
292+
<target state="translated">Aktualisieren</target>
301293
</trans-unit>
302294
<trans-unit id="BaseLayoutContextFlyoutPaste.Text" translate="yes" xml:space="preserve">
303295
<source>Paste</source>
304-
<target state="new">Paste</target>
296+
<target state="translated">Einfügen</target>
305297
</trans-unit>
306298
<trans-unit id="BaseLayoutContextFlyoutOpenInTerminal.Text" translate="yes" xml:space="preserve">
307299
<source>Open in Terminal...</source>
308-
<target state="new">Open in Terminal...</target>
300+
<target state="translated">Mit Terminal öffnen...</target>
309301
</trans-unit>
310302
<trans-unit id="BaseLayoutContextFlyoutNew.Text" translate="yes" xml:space="preserve">
311303
<source>New</source>
312-
<target state="new">New</target>
304+
<target state="translated">Neu</target>
313305
</trans-unit>
314306
<trans-unit id="BaseLayoutContextFlyoutNewFolder.Text" translate="yes" xml:space="preserve">
315307
<source>Folder</source>
316-
<target state="new">Folder</target>
308+
<target state="translated">Ordner</target>
317309
</trans-unit>
318310
<trans-unit id="BaseLayoutContextFlyoutNewBitmapImage.Text" translate="yes" xml:space="preserve">
319311
<source>Bitmap Image</source>
320-
<target state="new">Bitmap Image</target>
312+
<target state="translated">Bitmap Bild</target>
321313
</trans-unit>
322314
<trans-unit id="BaseLayoutContextFlyoutNewTextDocument.Text" translate="yes" xml:space="preserve">
323315
<source>Text Document</source>
324-
<target state="new">Text Document</target>
316+
<target state="translated">Textdatei</target>
325317
</trans-unit>
326318
<trans-unit id="BaseLayoutContextFlyoutPropertiesFolder.Text" translate="yes" xml:space="preserve">
327319
<source>Properties</source>
328-
<target state="new">Properties</target>
320+
<target state="translated">Eigenschaften</target>
329321
</trans-unit>
330322
<trans-unit id="BaseLayoutItemContextFlyoutExtract.Text" translate="yes" xml:space="preserve">
331323
<source>Extract</source>
332-
<target state="new">Extract</target>
324+
<target state="translated">Entpacken</target>
333325
</trans-unit>
334326
<trans-unit id="BaseLayoutItemContextFlyoutOpenWith.Text" translate="yes" xml:space="preserve">
335327
<source>Open with...</source>
336-
<target state="new">Open with...</target>
328+
<target state="translated">Öffnen mit...</target>
337329
</trans-unit>
338330
<trans-unit id="BaseLayoutItemContextFlyoutOpenInNewTab.Text" translate="yes" xml:space="preserve">
339331
<source>Open in new tab</source>
340-
<target state="new">Open in new tab</target>
332+
<target state="translated">In neuem Tab öffnen</target>
341333
</trans-unit>
342334
<trans-unit id="BaseLayoutItemContextFlyoutOpenInNewWindow.Text" translate="yes" xml:space="preserve">
343335
<source>Open in new window</source>
344-
<target state="new">Open in new window</target>
336+
<target state="translated">In neuem Fenster öffnen</target>
345337
</trans-unit>
346338
<trans-unit id="BaseLayoutItemContextFlyoutSetAsDesktopBackground.Text" translate="yes" xml:space="preserve">
347339
<source>Set as desktop background</source>
348-
<target state="new">Set as desktop background</target>
340+
<target state="translated">Als Desktophintergrund festlegen</target>
349341
</trans-unit>
350342
<trans-unit id="BaseLayoutItemContextFlyoutShare.Text" translate="yes" xml:space="preserve">
351343
<source>Share</source>
352-
<target state="new">Share</target>
344+
<target state="translated">Teilen</target>
353345
</trans-unit>
354346
<trans-unit id="BaseLayoutItemContextFlyoutCut.Text" translate="yes" xml:space="preserve">
355347
<source>Cut</source>
356-
<target state="new">Cut</target>
348+
<target state="translated">Ausschneiden</target>
357349
</trans-unit>
358350
<trans-unit id="BaseLayoutItemContextFlyoutCopy.Text" translate="yes" xml:space="preserve">
359351
<source>Copy</source>
360-
<target state="new">Copy</target>
352+
<target state="translated">Kopieren</target>
361353
</trans-unit>
362354
<trans-unit id="BaseLayoutItemContextFlyoutDelete.Text" translate="yes" xml:space="preserve">
363355
<source>Delete</source>
364-
<target state="new">Delete</target>
356+
<target state="translated">Löschen</target>
365357
</trans-unit>
366358
<trans-unit id="BaseLayoutItemContextFlyoutRename.Text" translate="yes" xml:space="preserve">
367359
<source>Rename</source>
368-
<target state="new">Rename</target>
360+
<target state="translated">Umbenennen</target>
369361
</trans-unit>
370362
<trans-unit id="BaseLayoutItemContextFlyoutPinToSidebar.Text" translate="yes" xml:space="preserve">
371363
<source>Pin to sidebar</source>
372-
<target state="new">Pin to sidebar</target>
364+
<target state="translated">An Seitenleiste anheften</target>
373365
</trans-unit>
374366
<trans-unit id="BaseLayoutItemContextFlyoutProperties.Text" translate="yes" xml:space="preserve">
375367
<source>Properties</source>
376-
<target state="new">Properties</target>
368+
<target state="translated">Eigenscaften</target>
377369
</trans-unit>
378370
<trans-unit id="BaseLayoutItemContextFlyoutQuickLook.Text" translate="yes" xml:space="preserve">
379371
<source>QuickLook</source>
380-
<target state="new">QuickLook</target>
372+
<target state="translated">QuickLook</target>
381373
</trans-unit>
382374
<trans-unit id="NavigationToolbarNewWindow.Text" translate="yes" xml:space="preserve">
383375
<source>New Window</source>
384-
<target state="new">New Window</target>
376+
<target state="translated">Neues Fenster</target>
385377
</trans-unit>
386378
<trans-unit id="NavigationToolbarCopyPath.Text" translate="yes" xml:space="preserve">
387379
<source>Copy Path</source>
388-
<target state="new">Copy Path</target>
380+
<target state="translated">Pfad kopieren</target>
389381
</trans-unit>
390382
<trans-unit id="NavigationToolbarPaste.Text" translate="yes" xml:space="preserve">
391383
<source>Paste</source>
392-
<target state="new">Paste</target>
384+
<target state="translated">Einfügen</target>
393385
</trans-unit>
394386
<trans-unit id="NavigationToolbarOpenInTerminal.Text" translate="yes" xml:space="preserve">
395387
<source>Open in Terminal...</source>
396-
<target state="new">Open in Terminal...</target>
388+
<target state="translated">In Terminal öffnen...</target>
397389
</trans-unit>
398390
<trans-unit id="NavigationToolbarVisiblePath.PlaceholderText" translate="yes" xml:space="preserve">
399391
<source>Enter a path</source>
400-
<target state="new">Enter a path</target>
392+
<target state="translated">Pfad einfügen</target>
401393
</trans-unit>
402394
<trans-unit id="NavigationToolbarSearchReigon.PlaceholderText" translate="yes" xml:space="preserve">
403395
<source>Search</source>
404-
<target state="new">Search</target>
396+
<target state="translated">Suchen</target>
405397
</trans-unit>
406398
<trans-unit id="StatusBarControlSelectAll.Text" translate="yes" xml:space="preserve">
407399
<source>Select All</source>
408-
<target state="new">Select All</target>
400+
<target state="translated">Alles auswählen</target>
409401
</trans-unit>
410402
<trans-unit id="StatusBarControlClearSelection.Text" translate="yes" xml:space="preserve">
411403
<source>Clear Selection</source>
412-
<target state="new">Clear Selection</target>
404+
<target state="translated">Auswahl aufheben</target>
413405
</trans-unit>
414406
<trans-unit id="ModernNavigationToolbaNewFolder.Text" translate="yes" xml:space="preserve">
415407
<source>Folder</source>
416-
<target state="new">Folder</target>
408+
<target state="translated">Ordner</target>
417409
</trans-unit>
418410
<trans-unit id="ModernNavigationToolbaNewBitmapImage.Text" translate="yes" xml:space="preserve">
419411
<source>Bitmap Image</source>
420-
<target state="new">Bitmap Image</target>
412+
<target state="translated">Bitmap Bild</target>
421413
</trans-unit>
422414
<trans-unit id="ModernNavigationToolbaNewTextDocument.Text" translate="yes" xml:space="preserve">
423415
<source>Text Documnet</source>
424-
<target state="new">Text Documnet</target>
416+
<target state="needs-review-translation">Textdokument</target>
417+
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
425418
</trans-unit>
426419
<trans-unit id="StatusBarControlListView.Text" translate="yes" xml:space="preserve">
427420
<source>List View</source>
428-
<target state="new">List View</target>
421+
<target state="translated">Listenansicht</target>
429422
</trans-unit>
430423
<trans-unit id="StatusBarControlGridView.Text" translate="yes" xml:space="preserve">
431424
<source>Grid View</source>
432-
<target state="new">Grid View</target>
425+
<target state="translated">Rasteransicht</target>
433426
</trans-unit>
434427
</group>
435428
</body>

Files/MultilingualResources/Files.es-ES.xlf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,6 @@
174174
<source>Preferences</source>
175175
<target state="translated">Preferencias</target>
176176
</trans-unit>
177-
<trans-unit id="SettingsPreferencesVideo.Text" translate="yes" xml:space="preserve">
178-
<source>Video</source>
179-
<target state="translated">Vídeos</target>
180-
</trans-unit>
181-
<trans-unit id="SettingsPreferencesVideoLocation.PlaceholderText" translate="yes" xml:space="preserve">
182-
<source>Set custom video location</source>
183-
<target state="translated">Establecer nueva dirección de vídeos</target>
184-
</trans-unit>
185177
<trans-unit id="SideBarUnpinFromSideBar.Text" translate="yes" xml:space="preserve">
186178
<source>Unpin from Sidebar</source>
187179
<target state="translated">Desanclar de la barra lateral</target>

0 commit comments

Comments
 (0)