Skip to content

Commit 2b4cbda

Browse files
committed
fix: include application name in intent phrases
1 parent 56363c9 commit 2b4cbda

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Sushitrain/Intents.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -661,61 +661,61 @@ struct AppShortcuts: AppShortcutsProvider {
661661
return [
662662
AppShortcut(
663663
intent: SynchronizePhotosIntent(),
664-
phrases: ["Copy new photos"],
664+
phrases: ["Copy new photos using ${applicationName}"],
665665
shortTitle: "Copy new photos",
666666
systemImageName: "photo.badge.arrow.down.fill"
667667
),
668668
AppShortcut(
669669
intent: SynchronizeIntent(),
670-
phrases: ["Synchronize files"],
670+
phrases: ["Synchronize ${applicationName} files"],
671671
shortTitle: "Synchronize",
672672
systemImageName: "bolt.horizontal"
673673
),
674674
AppShortcut(
675675
intent: RescanIntent(),
676-
phrases: ["Rescan folder"],
676+
phrases: ["Rescan folder in ${applicationName}"],
677677
shortTitle: "Rescan",
678678
systemImageName: "arrow.clockwise.square"
679679
),
680680
AppShortcut(
681681
intent: ConfigureFolderIntent(),
682-
phrases: ["Change folder settings"],
682+
phrases: ["Change ${applicationName} folder settings"],
683683
shortTitle: "Configure folder",
684684
systemImageName: "folder.fill.badge.gearshape"
685685
),
686686
AppShortcut(
687687
intent: ConfigureDeviceIntent(),
688-
phrases: ["Change device settings"],
688+
phrases: ["Change ${applicationName} device settings"],
689689
shortTitle: "Configure device",
690690
systemImageName: "externaldrive.fill.badge.plus"
691691
),
692692
AppShortcut(
693693
intent: GetFolderIntent(),
694-
phrases: ["Get folder directory"],
694+
phrases: ["Get ${applicationName} folder directory"],
695695
shortTitle: "Get folder directory",
696696
systemImageName: "externaldrive.fill"
697697
),
698698
AppShortcut(
699699
intent: SearchInAppIntent(),
700-
phrases: ["Search files"],
700+
phrases: ["Search ${applicationName} files"],
701701
shortTitle: "Search for files",
702702
systemImageName: "magnifyingglass"
703703
),
704704
AppShortcut(
705705
intent: GetDeviceIDIntent(),
706-
phrases: ["Get device ID"],
706+
phrases: ["Get ${applicationName} device ID"],
707707
shortTitle: "Get device ID",
708708
systemImageName: "qrcode"
709709
),
710710
AppShortcut(
711711
intent: GetExtraneousFilesIntent(),
712-
phrases: ["List new files"],
712+
phrases: ["List new files in ${applicationName}"],
713713
shortTitle: "List new files",
714714
systemImageName: "document.badge.plus.fill"
715715
),
716716
AppShortcut(
717717
intent: DownloadFilesIntent(),
718-
phrases: ["Download files"],
718+
phrases: ["Download ${applicationName} files"],
719719
shortTitle: "Download files",
720720
systemImageName: "arrow.down.circle.fill"
721721
),

0 commit comments

Comments
 (0)