ファイル整理用ツールのPrism+WPFサンプル実装
Révision | c66f5412f39217c46a0ccef4cd7cea23b1848b32 (tree) |
---|---|
l'heure | 2022-11-29 23:46:18 |
Auteur | yoshy <yoshy.org.bitbucket@gz.j...> |
Commiter | yoshy |
[MOD] ファイル操作時の確認系ダイアログのキャプション・メッセージをリソース化
@@ -54,7 +54,7 @@ namespace FolderCategorizer2.UseCase.FileSystemOperation.Interactor | ||
54 | 54 | IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries = |
55 | 55 | FileSystemSourceFilesTargetFolder.Join(targetFolders, sourceFilesList); |
56 | 56 | |
57 | - if (!this.dialog.ConfirmCopyFiles(sourceTargetEntries)) | |
57 | + if (!this.dialog.ConfirmCopyFile(sourceTargetEntries)) | |
58 | 58 | { |
59 | 59 | // don't show abort dialog. |
60 | 60 | return new(); |
@@ -1,32 +1,41 @@ | ||
1 | 1 | using CleanAuLait.Adaptor.Boundary.Gateway.UI.Dialog; |
2 | 2 | using FolderCategorizer2.Domain.Service.Dto; |
3 | +using FolderCategorizer2.Infra.Boundary.Resource; | |
3 | 4 | using FolderCategorizer2.UseCase.Boundary.ViewProxy; |
4 | 5 | using Prism.Services.Dialogs; |
5 | -using System; | |
6 | 6 | using System.Collections.Generic; |
7 | -using System.Linq; | |
8 | -using System.Text; | |
9 | -using System.Threading.Tasks; | |
10 | 7 | using System.Windows; |
11 | 8 | |
12 | 9 | namespace FolderCategorizer2.UseCase.Internal |
13 | 10 | { |
14 | 11 | internal class FileSystemDialogLogic : IFileSystemDialogLogic |
15 | 12 | { |
13 | + private const string CONFIRM_DIALOG_KEY_COPY_FILE = "CopyFile"; | |
14 | + private const string CONFIRM_DIALOG_KEY_MOVE_FILE = "MoveFile"; | |
15 | + private const string CONFIRM_DIALOG_KEY_DELETE_FILE = "DeleteFile"; | |
16 | + private const string CONFIRM_DIALOG_KEY_RENAME_FILE = "RenameFile"; | |
17 | + private const string CONFIRM_DIALOG_KEY_OVERWRITE_CREATION_TIME = "OverwriteCreationTime"; | |
18 | + private const string CONFIRM_DIALOG_KEY_OVERWRITE_LAST_WRITE_TIME = "OverwriteLastWriteTime"; | |
19 | + private const string CONFIRM_DIALOG_KEY_EXCHANGE_TIMESTAMP = "ExchangeTimestamp"; | |
20 | + private const string CONFIRM_DIALOG_KEY_AUTOFIX_FOLDER_TIMESTAMP = "AutoFixFolderTimestamp"; | |
21 | + | |
16 | 22 | private readonly INewFilePromptViewProxy newFilePrompt; |
17 | 23 | private readonly INewFolderPromptViewProxy newFolderPrompt; |
18 | 24 | private readonly IRenamePromptViewProxy renamePrompt; |
25 | + private readonly IAppCaptionFormatter caption; | |
19 | 26 | private readonly IUniversalDialogProxy dialog; |
20 | 27 | |
21 | 28 | public FileSystemDialogLogic( |
22 | 29 | INewFilePromptViewProxy newFilePrompt, |
23 | 30 | INewFolderPromptViewProxy newFolderPrompt, |
24 | 31 | IRenamePromptViewProxy renamePrompt, |
32 | + IAppCaptionFormatter caption, | |
25 | 33 | IUniversalDialogProxy dialog) |
26 | 34 | { |
27 | 35 | this.newFilePrompt = newFilePrompt; |
28 | 36 | this.newFolderPrompt = newFolderPrompt; |
29 | 37 | this.renamePrompt = renamePrompt; |
38 | + this.caption = caption; | |
30 | 39 | this.dialog = dialog; |
31 | 40 | } |
32 | 41 |
@@ -66,18 +75,19 @@ namespace FolderCategorizer2.UseCase.Internal | ||
66 | 75 | return targetName; |
67 | 76 | } |
68 | 77 | |
69 | - public bool ConfirmCopyFiles(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
78 | + public bool ConfirmCopyFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
70 | 79 | { |
71 | - string msg = CreateConfirmMessageCopyFiles(sourceTargetEntries); | |
80 | + string msg = CreateConfirmMessageCopyFile(sourceTargetEntries); | |
81 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_COPY_FILE); | |
72 | 82 | |
73 | - IDialogResult result = this.dialog.ShowYesNoDialog("ファイルのコピー - 確認", msg, MessageBoxImage.Question); | |
83 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
74 | 84 | |
75 | 85 | return result.Result == ButtonResult.Yes; |
76 | 86 | } |
77 | 87 | |
78 | - private static string CreateConfirmMessageCopyFiles(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
88 | + private string CreateConfirmMessageCopyFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
79 | 89 | { |
80 | - string msg = "【仮】コピーしてもよろしいですか"; | |
90 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_COPY_FILE); | |
81 | 91 | |
82 | 92 | foreach (FileSystemSourceFilesTargetFolder sourceTargetEntry in sourceTargetEntries) |
83 | 93 | { |
@@ -95,15 +105,17 @@ namespace FolderCategorizer2.UseCase.Internal | ||
95 | 105 | public bool ConfirmMoveFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) |
96 | 106 | { |
97 | 107 | string msg = CreateConfirmMessageMoveFile(sourceTargetEntries); |
108 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_MOVE_FILE); | |
98 | 109 | |
99 | - IDialogResult result = this.dialog.ShowYesNoDialog("ファイルの移動 - 確認", msg, MessageBoxImage.Question); | |
110 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
100 | 111 | |
101 | 112 | return result.Result == ButtonResult.Yes; |
102 | 113 | } |
103 | 114 | |
104 | - private static string CreateConfirmMessageMoveFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
115 | + private string CreateConfirmMessageMoveFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries) | |
105 | 116 | { |
106 | - string msg = "【仮】移動してもよろしいですか"; | |
117 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_MOVE_FILE); | |
118 | + | |
107 | 119 | foreach (FileSystemSourceFilesTargetFolder sourceTargetEntry in sourceTargetEntries) |
108 | 120 | { |
109 | 121 | msg += "\n\n移動元:" + sourceTargetEntry.SourceFiles.AbsolutePath; |
@@ -120,15 +132,17 @@ namespace FolderCategorizer2.UseCase.Internal | ||
120 | 132 | public bool ConfirmDeleteFile(IEnumerable<FileSystemSourceFiles> sourceFilesList) |
121 | 133 | { |
122 | 134 | string msg = CreateConfirmMessageDeleteFile(sourceFilesList); |
135 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_DELETE_FILE); | |
123 | 136 | |
124 | - IDialogResult result = this.dialog.ShowYesNoDialog("ファイルの削除 - 確認", msg, MessageBoxImage.Question); | |
137 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
125 | 138 | |
126 | 139 | return result.Result == ButtonResult.Yes; |
127 | 140 | } |
128 | 141 | |
129 | - private static string CreateConfirmMessageDeleteFile(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
142 | + private string CreateConfirmMessageDeleteFile(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
130 | 143 | { |
131 | - string msg = "【仮】削除してもよろしいですか"; | |
144 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_DELETE_FILE); | |
145 | + | |
132 | 146 | foreach (FileSystemSourceFiles sourceFiles in sourceFilesList) |
133 | 147 | { |
134 | 148 | msg += "\n\n削除元:" + sourceFiles.AbsolutePath; |
@@ -144,15 +158,16 @@ namespace FolderCategorizer2.UseCase.Internal | ||
144 | 158 | public bool ConfirmRenameFile(IEnumerable<FileSystemSourceFile> sourceFileList, string targetName) |
145 | 159 | { |
146 | 160 | string msg = CreateConfirmMessageRenameFile(sourceFileList, targetName); |
161 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_RENAME_FILE); | |
147 | 162 | |
148 | - IDialogResult result = this.dialog.ShowYesNoDialog("ファイル名の変更 - 確認", msg, MessageBoxImage.Question); | |
163 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
149 | 164 | |
150 | 165 | return result.Result == ButtonResult.Yes; |
151 | 166 | } |
152 | 167 | |
153 | - private static string CreateConfirmMessageRenameFile(IEnumerable<FileSystemSourceFile> sourceFileList, string targetName) | |
168 | + private string CreateConfirmMessageRenameFile(IEnumerable<FileSystemSourceFile> sourceFileList, string targetName) | |
154 | 169 | { |
155 | - string msg = "【仮】名前を変更してもよろしいですか"; | |
170 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_RENAME_FILE); | |
156 | 171 | |
157 | 172 | foreach (FileSystemSourceFile sourceFile in sourceFileList) |
158 | 173 | { |
@@ -167,15 +182,17 @@ namespace FolderCategorizer2.UseCase.Internal | ||
167 | 182 | public bool ConfirmOverwriteCreationTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) |
168 | 183 | { |
169 | 184 | string msg = CreateConfirmMessageOverwriteCreationTime(sourceFilesList); |
185 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_OVERWRITE_CREATION_TIME); | |
170 | 186 | |
171 | - IDialogResult result = this.dialog.ShowYesNoDialog("作成日時を更新日時で上書き - 確認", msg, MessageBoxImage.Question); | |
187 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
172 | 188 | |
173 | 189 | return result.Result == ButtonResult.Yes; |
174 | 190 | } |
175 | 191 | |
176 | - private static string CreateConfirmMessageOverwriteCreationTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
192 | + private string CreateConfirmMessageOverwriteCreationTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
177 | 193 | { |
178 | - string msg = "【仮】作成日時を更新日時で上書きしてもよろしいですか"; | |
194 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_OVERWRITE_CREATION_TIME); | |
195 | + | |
179 | 196 | foreach (FileSystemSourceFiles sourceFiles in sourceFilesList) |
180 | 197 | { |
181 | 198 | msg += "\n\n対象:" + sourceFiles.AbsolutePath; |
@@ -191,15 +208,17 @@ namespace FolderCategorizer2.UseCase.Internal | ||
191 | 208 | public bool ConfirmOverwriteLastWriteTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) |
192 | 209 | { |
193 | 210 | string msg = CreateConfirmMessageOverwriteLastWriteTime(sourceFilesList); |
211 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_OVERWRITE_LAST_WRITE_TIME); | |
194 | 212 | |
195 | - IDialogResult result = this.dialog.ShowYesNoDialog("更新日時を作成日時で上書き - 確認", msg, MessageBoxImage.Question); | |
213 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
196 | 214 | |
197 | 215 | return result.Result == ButtonResult.Yes; |
198 | 216 | } |
199 | 217 | |
200 | - private static string CreateConfirmMessageOverwriteLastWriteTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
218 | + private string CreateConfirmMessageOverwriteLastWriteTime(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
201 | 219 | { |
202 | - string msg = "【仮】更新日時を作成日時で上書きしてもよろしいですか"; | |
220 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_OVERWRITE_LAST_WRITE_TIME); | |
221 | + | |
203 | 222 | foreach (FileSystemSourceFiles sourceFiles in sourceFilesList) |
204 | 223 | { |
205 | 224 | msg += "\n\n対象:" + sourceFiles.AbsolutePath; |
@@ -215,15 +234,16 @@ namespace FolderCategorizer2.UseCase.Internal | ||
215 | 234 | public bool ConfirmExchangeTimestamp(IEnumerable<FileSystemSourceFiles> sourceFilesList) |
216 | 235 | { |
217 | 236 | string msg = CreateConfirmMessageExchangeTimestamp(sourceFilesList); |
237 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_EXCHANGE_TIMESTAMP); | |
218 | 238 | |
219 | - IDialogResult result = this.dialog.ShowYesNoDialog("作成日時と更新日時を入れ替え - 確認", msg, MessageBoxImage.Question); | |
239 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
220 | 240 | |
221 | 241 | return result.Result == ButtonResult.Yes; |
222 | 242 | } |
223 | 243 | |
224 | - private static string CreateConfirmMessageExchangeTimestamp(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
244 | + private string CreateConfirmMessageExchangeTimestamp(IEnumerable<FileSystemSourceFiles> sourceFilesList) | |
225 | 245 | { |
226 | - string msg = "【仮】作成日時と更新日時を入れ替えてもよろしいですか"; | |
246 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_EXCHANGE_TIMESTAMP); | |
227 | 247 | |
228 | 248 | foreach (FileSystemSourceFiles sourceFiles in sourceFilesList) |
229 | 249 | { |
@@ -240,15 +260,16 @@ namespace FolderCategorizer2.UseCase.Internal | ||
240 | 260 | public bool ConfirmAutoFixFolderTimestamp(IEnumerable<FileSystemSourceFile> SourceFileList) |
241 | 261 | { |
242 | 262 | string msg = CreateConfirmMessageAutoFixFolderTimestamp(SourceFileList); |
263 | + string caption = this.caption.GetAppConfirmCaption(CONFIRM_DIALOG_KEY_AUTOFIX_FOLDER_TIMESTAMP); | |
243 | 264 | |
244 | - IDialogResult result = this.dialog.ShowYesNoDialog("フォルダのタイムスタンプを自動修正 - 確認", msg, MessageBoxImage.Question); | |
265 | + IDialogResult result = this.dialog.ShowYesNoDialog(caption, msg, MessageBoxImage.Question); | |
245 | 266 | |
246 | 267 | return result.Result == ButtonResult.Yes; |
247 | 268 | } |
248 | 269 | |
249 | - private static string CreateConfirmMessageAutoFixFolderTimestamp(IEnumerable<FileSystemSourceFile> SourceFileList) | |
270 | + private string CreateConfirmMessageAutoFixFolderTimestamp(IEnumerable<FileSystemSourceFile> SourceFileList) | |
250 | 271 | { |
251 | - string msg = "【仮】フォルダのタイムスタンプを自動修正してもよろしいですか"; | |
272 | + string msg = this.caption.GetAppConfirmMessage(CONFIRM_DIALOG_KEY_AUTOFIX_FOLDER_TIMESTAMP); | |
252 | 273 | |
253 | 274 | foreach (FileSystemSourceFile sourceFile in SourceFileList) |
254 | 275 | { |
@@ -8,7 +8,7 @@ namespace FolderCategorizer2.UseCase.Internal | ||
8 | 8 | string AskNewFileName(string targetName); |
9 | 9 | string AskNewFolderName(string targetName); |
10 | 10 | string AskRenameFileName(string targetName); |
11 | - bool ConfirmCopyFiles(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries); | |
11 | + bool ConfirmCopyFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries); | |
12 | 12 | bool ConfirmMoveFile(IEnumerable<FileSystemSourceFilesTargetFolder> sourceTargetEntries); |
13 | 13 | bool ConfirmDeleteFile(IEnumerable<FileSystemSourceFiles> sourceFilesList); |
14 | 14 | bool ConfirmRenameFile(IEnumerable<FileSystemSourceFile> sourceFileList, string targetName); |
@@ -50,7 +50,7 @@ namespace FolderCategorizer2.Adaptor.Gateway.ViewModel | ||
50 | 50 | this.rm = rm; |
51 | 51 | this.wc = wc; |
52 | 52 | |
53 | - this.Title = new ReactivePropertySlim<string>(caption.GetCaption()).AddTo(disposables); | |
53 | + this.Title = new ReactivePropertySlim<string>(caption.GetDefaultCaption()).AddTo(disposables); | |
54 | 54 | this.StatusText = sbVm.StatusText.ToReadOnlyReactivePropertySlim().AddTo(disposables); |
55 | 55 | |
56 | 56 |
@@ -7,11 +7,13 @@ namespace FolderCategorizer2.Infra.Boundary.Resource | ||
7 | 7 | string GetAppCommonPromptOKButtonCaption(); |
8 | 8 | string GetAppCommonPromptCancelButtonCaption(); |
9 | 9 | |
10 | + string GetAppConfirmCaption(string key); | |
11 | + string FormatAppDefaultCaption(string key); | |
10 | 12 | string GetAppCaption(string key); |
11 | - string GetAppCaption(string key, string caption); | |
12 | 13 | |
14 | + string GetAppConfirmMessage(string key); | |
13 | 15 | string GetAppMessage(string key); |
14 | - string GetAppMessage(string key, params string[] args); | |
16 | + string FormatAppMessage(string key, params string[] args); | |
15 | 17 | |
16 | 18 | string GetAppLabel(string key); |
17 | 19 | string GetAppLabel(string key, string subKey); |
@@ -11,6 +11,8 @@ namespace FolderCategorizer2.Infra.Core.Resource | ||
11 | 11 | private const string MSG_KEY_PREFIX_MESSAGE = "Message."; |
12 | 12 | private const string MSG_KEY_PREFIX_LABEL = "Label."; |
13 | 13 | |
14 | + private const string MSG_KEY_PREFIX_CONFIRM_DIALOG = "ConfirmDialog."; | |
15 | + | |
14 | 16 | private const string APP_LABEL_KEY_COMMON_PROMPT = "CommonPrompt"; |
15 | 17 | |
16 | 18 | private const string APP_LABEL_SUBKEY_OK_BUTTON = "Ok"; |
@@ -31,41 +33,52 @@ namespace FolderCategorizer2.Infra.Core.Resource | ||
31 | 33 | return GetAppLabel(APP_LABEL_KEY_COMMON_PROMPT, APP_LABEL_SUBKEY_CANCEL_BUTTON); |
32 | 34 | } |
33 | 35 | |
36 | + public string GetAppConfirmCaption(string key) | |
37 | + { | |
38 | + return FormatConfirmCaption( | |
39 | + MSG_KEY_PREFIX_CAPTION + MSG_KEY_PREFIX_CONFIRM_DIALOG + key); | |
40 | + } | |
41 | + | |
42 | + public string FormatAppDefaultCaption(string key) | |
43 | + { | |
44 | + return FormatDefaultCaption(MSG_KEY_PREFIX_CAPTION_FORMAT + key); | |
45 | + } | |
46 | + | |
34 | 47 | public string GetAppCaption(string key) |
35 | 48 | { |
36 | 49 | return GetCaption(MSG_KEY_PREFIX_CAPTION + key); |
37 | 50 | } |
38 | 51 | |
39 | - public string GetAppCaption(string key, string caption) | |
52 | + public string GetAppConfirmMessage(string key) | |
40 | 53 | { |
41 | - return GetCaption(MSG_KEY_PREFIX_CAPTION + key, caption); | |
54 | + return GetMessage(MSG_KEY_PREFIX_MESSAGE + MSG_KEY_PREFIX_CONFIRM_DIALOG + key); | |
42 | 55 | } |
43 | 56 | |
44 | 57 | public string GetAppMessage(string key) |
45 | 58 | { |
46 | - return Get(MSG_KEY_PREFIX_MESSAGE + key); | |
59 | + return GetMessage(MSG_KEY_PREFIX_MESSAGE + key); | |
47 | 60 | } |
48 | 61 | |
49 | - public string GetAppMessage(string key, params string[] args) | |
62 | + public string FormatAppMessage(string key, params string[] args) | |
50 | 63 | { |
51 | - return Get(MSG_KEY_PREFIX_MESSAGE + key, args); | |
64 | + return FormatMessage(MSG_KEY_PREFIX_MESSAGE + key, args); | |
52 | 65 | } |
53 | 66 | |
54 | 67 | public string GetAppLabel(string key) |
55 | 68 | { |
56 | - return Get(MSG_KEY_PREFIX_LABEL + key); | |
69 | + return GetMessage(MSG_KEY_PREFIX_LABEL + key); | |
57 | 70 | } |
58 | 71 | |
59 | 72 | public string GetAppLabel(string key, string subKey) |
60 | 73 | { |
61 | - return Get(MSG_KEY_PREFIX_LABEL + key + MSG_KEY_SEPARATOR + subKey); | |
74 | + return GetMessage(MSG_KEY_PREFIX_LABEL + key + MSG_KEY_SEPARATOR + subKey); | |
62 | 75 | } |
63 | 76 | |
64 | - private string Get(string key) | |
77 | + private string GetMessage(string key) | |
65 | 78 | { |
66 | 79 | return this.repo.Get(key); |
67 | 80 | } |
68 | - private string Get(string key, params string[] args) | |
81 | + private string FormatMessage(string key, params string[] args) | |
69 | 82 | { |
70 | 83 | return this.repo.Get(key, args); |
71 | 84 | } |
@@ -1,9 +1,10 @@ | ||
1 | 1 | Caption = FolderCategorizer2 |
2 | -Caption.Info = {0} - 通知 | |
3 | -Caption.Warn = {0} - 警告 | |
4 | -Caption.Error = {0} - エラー | |
5 | -Caption.Settings = {0} - 設定 | |
6 | -Caption.Exception = {0} - {1} | |
2 | +Caption.Format.Info = {0} - 通知 | |
3 | +Caption.Format.Warn = {0} - 警告 | |
4 | +Caption.Format.Error = {0} - エラー | |
5 | +Caption.Format.Confirm = {0} - 確認 | |
6 | +Caption.Format.Settings = {0} - 設定 | |
7 | +Caption.Format.Exception = {0} - {1} | |
7 | 8 | Label.CommonPrompt.Ok = OK (_C) |
8 | 9 | Label.CommonPrompt.Cancel = Cancel (_C) |
9 | 10 | Caption.RenamePromptView = ファイル名の変更 |
@@ -18,3 +19,19 @@ Label.CategorizePromptView.FolderName = フォルダ名 | ||
18 | 19 | Label.CategorizePromptView.Timestamp = 日時属性 |
19 | 20 | Label.CategorizePromptView.CreatedAt = 作成日時 |
20 | 21 | Label.CategorizePromptView.LastWriteAt = 更新日時 |
22 | +Caption.ConfirmDialog.CopyFile = ファイルのコピー | |
23 | +Message.ConfirmDialog.CopyFile = 【仮】コピーしてもよろしいですか | |
24 | +Caption.ConfirmDialog.MoveFile = ファイルの移動 | |
25 | +Message.ConfirmDialog.MoveFile = 【仮】移動してもよろしいですか | |
26 | +Caption.ConfirmDialog.DeleteFile = ファイルの削除 | |
27 | +Message.ConfirmDialog.DeleteFile = 【仮】削除してもよろしいですか | |
28 | +Caption.ConfirmDialog.RenameFile = ファイル名の変更 | |
29 | +Message.ConfirmDialog.RenameFile = 【仮】名前を変更してもよろしいですか" | |
30 | +Caption.ConfirmDialog.OverwriteCreationTime = 作成日時を更新日時で上書き | |
31 | +Message.ConfirmDialog.OverwriteCreationTime = 【仮】作成日時を更新日時で上書きしてもよろしいですか | |
32 | +Caption.ConfirmDialog.OverwriteLastWriteTime = 更新日時を作成日時で上書き | |
33 | +Message.ConfirmDialog.OverwriteLastWriteTime = 【仮】更新日時を作成日時で上書きしてもよろしいですか | |
34 | +Caption.ConfirmDialog.ExchangeTimestamp = 作成日時と更新日時を入れ替え | |
35 | +Message.ConfirmDialog.ExchangeTimestamp = 【仮】作成日時と更新日時を入れ替えてもよろしいですか | |
36 | +Caption.ConfirmDialog.AutoFixFolderTimestamp = フォルダのタイムスタンプを自動修正 | |
37 | +Message.ConfirmDialog.AutoFixFolderTimestamp = 【仮】フォルダのタイムスタンプを自動修正してもよろしいですか |