From 9ff656089498fc165d55a9550dbada56261e5cf6 Mon Sep 17 00:00:00 2001 From: John Andrews Date: Thu, 15 Aug 2024 05:58:44 +1200 Subject: [PATCH] FF-1726: Renamed Directory Date Compare to Folder Date Compare --- .../File/{DirectoryDateCompare.cs => FolderDateCompare.cs} | 4 ++-- BasicNodes/i18n/en.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename BasicNodes/File/{DirectoryDateCompare.cs => FolderDateCompare.cs} (97%) diff --git a/BasicNodes/File/DirectoryDateCompare.cs b/BasicNodes/File/FolderDateCompare.cs similarity index 97% rename from BasicNodes/File/DirectoryDateCompare.cs rename to BasicNodes/File/FolderDateCompare.cs index 3c5e0e93..9ed4af7a 100644 --- a/BasicNodes/File/DirectoryDateCompare.cs +++ b/BasicNodes/File/FolderDateCompare.cs @@ -6,9 +6,9 @@ using FileFlows.Plugin.Models; namespace FileFlows.BasicNodes.File; /// -/// Flow element that compares if a Directory is older than the given period +/// Flow element that compares if a Folder is older than the given period /// -public class DirectoryDateCompare : Node +public class FolderDateCompare : Node { /// public override int Inputs => 1; diff --git a/BasicNodes/i18n/en.json b/BasicNodes/i18n/en.json index 0aed2389..dcfd35ec 100644 --- a/BasicNodes/i18n/en.json +++ b/BasicNodes/i18n/en.json @@ -161,16 +161,16 @@ "OutputErrorVariable-Help": "An optional variable name to store the process error output into" } }, - "DirectoryDateCompare": { + "FolderDateCompare": { "Label": "Folder Date Compare", - "Description": "Checks if the directory creation or last write time matches the specified date constraint.", + "Description": "Checks if the folder creation or last write time matches the specified date constraint.", "Outputs": { "1": "Matches the date constraint.", "2": "Does not match the date constraint." }, "Fields": { "Path": "Path", - "Path-Help": "The path to the folder to check. Leave empty to check the current working file.\nIf a file is specified the directory containing the file will be checked.", + "Path-Help": "The path to the folder to check. Leave empty to check the current working file.\nIf a file is specified the folder containing the file will be checked.", "Date": "Date", "DateComparision": "Comparision" }