Skip to content

Commit

Permalink
File Manager - Directory Chooser dialog text change (#11732)
Browse files Browse the repository at this point in the history
* Draft

* Next iteration

* Implement dialogManager and add localizations constants

* Remove redundant code

* Fix up test

* Add confirmation dialog draft and move dialog inits to ctor
  • Loading branch information
Staziz authored Jan 28, 2020
1 parent ff10a3b commit b56479c
Show file tree
Hide file tree
Showing 9 changed files with 262 additions and 202 deletions.
12 changes: 7 additions & 5 deletions js/localization/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@
"dxFileManager-errorMaxFileSizeExceeded": "Die Dateigröße übersteigt die maximal erlaubte Größe.",
"dxFileManager-errorInvalidSymbols": "Der Dateiname enthält ungültige Zeichen.",
"dxFileManager-errorDefault": "Unbekannter Fehler",

"dxFileManager-commandCreate": "Neues Verzeichnis",
"dxFileManager-commandRename": "Umbenennen",
"dxFileManager-commandMove": "Verschieben",
"dxFileManager-commandCopy": "Kopieren",
"dxFileManager-commandMove": "TODO",
"dxFileManager-commandCopy": "TODO",
"dxFileManager-commandDelete": "Löschen",
"dxFileManager-commandDownload": "Herunterladen",
"dxFileManager-commandUpload": "Dateien hochladen",
Expand All @@ -283,8 +283,10 @@
"dxFileManager-commandDetails": "Detailansicht",
"dxFileManager-commandClear": "Auswahl aufheben",

"dxFileManager-dialogDirectoryChooserTitle": "Zielverzeichnis auswählen",
"dxFileManager-dialogDirectoryChooserButtonText": "Auswählen",
"dxFileManager-dialogDirectoryChooserMoveTitle": "TODO",
"dxFileManager-dialogDirectoryChooserMoveButtonText": "Verschieben",
"dxFileManager-dialogDirectoryChooserCopyTitle": "TODO",
"dxFileManager-dialogDirectoryChooserCopyButtonText": "Kopieren",
"dxFileManager-dialogRenameItemTitle": "Umbenennen",
"dxFileManager-dialogRenameItemButtonText": "Speichern",
"dxFileManager-dialogCreateDirectoryTitle": "Neues Verzeichnis",
Expand Down
144 changes: 73 additions & 71 deletions js/localization/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,77 +303,79 @@
"dxFileManager-errorInvalidSymbols": "This name contains invalid characters.",
"dxFileManager-errorDefault": "Unspecified error.",

"dxFileManager-commandCreate": "New directory",
"dxFileManager-commandRename": "Rename",
"dxFileManager-commandMove": "Move",
"dxFileManager-commandCopy": "Copy",
"dxFileManager-commandDelete": "Delete",
"dxFileManager-commandDownload": "Download",
"dxFileManager-commandUpload": "Upload files",
"dxFileManager-commandRefresh": "Refresh",
"dxFileManager-commandThumbnails": "Thumbnails View",
"dxFileManager-commandDetails": "Details View",
"dxFileManager-commandClear": "Clear selection",

"dxFileManager-dialogDirectoryChooserTitle": "Select Destination Directory",
"dxFileManager-dialogDirectoryChooserButtonText": "Select",
"dxFileManager-dialogRenameItemTitle": "Rename",
"dxFileManager-dialogRenameItemButtonText": "Save",
"dxFileManager-dialogCreateDirectoryTitle": "New directory",
"dxFileManager-dialogCreateDirectoryButtonText": "Create",

"dxFileManager-editingCreateSingleItemProcessingMessage": "Creating a directory inside {0}",
"dxFileManager-editingCreateSingleItemSuccessMessage": "Created a directory inside {0}",
"dxFileManager-editingCreateSingleItemErrorMessage": "Directory wasn't created",
"dxFileManager-editingCreateCommonErrorMessage": "Directory wasn't created",

"dxFileManager-editingRenameSingleItemProcessingMessage": "Renaming an item inside {0}",
"dxFileManager-editingRenameSingleItemSuccessMessage": "Renamed an item inside {0}",
"dxFileManager-editingRenameSingleItemErrorMessage": "Item wasn't renamed",
"dxFileManager-editingRenameCommonErrorMessage": "Item wasn't renamed",

"dxFileManager-editingDeleteSingleItemProcessingMessage": "Deleting an item from {0}",
"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "Deleting {0} items from {1}",
"dxFileManager-editingDeleteSingleItemSuccessMessage": "Deleted an item from {0}",
"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "Deleted {0} items from {1}",
"dxFileManager-editingDeleteSingleItemErrorMessage": "Item wasn't deleted",
"dxFileManager-editingDeleteMultipleItemsErrorMessage": "{0} items weren't deleted",
"dxFileManager-editingDeleteCommonErrorMessage": "Some items weren't deleted",

"dxFileManager-editingMoveSingleItemProcessingMessage": "Moving an item to {0}",
"dxFileManager-editingMoveMultipleItemsProcessingMessage": "Moving {0} items to {1}",
"dxFileManager-editingMoveSingleItemSuccessMessage": "Moved an item to {0}",
"dxFileManager-editingMoveMultipleItemsSuccessMessage": "Moved {0} items to {1}",
"dxFileManager-editingMoveSingleItemErrorMessage": "Item wasn't moved",
"dxFileManager-editingMoveMultipleItemsErrorMessage": "{0} items weren't moved",
"dxFileManager-editingMoveCommonErrorMessage": "Some items weren't moved",

"dxFileManager-editingCopySingleItemProcessingMessage": "Copying an item to {0}",
"dxFileManager-editingCopyMultipleItemsProcessingMessage": "Copying {0} items to {1}",
"dxFileManager-editingCopySingleItemSuccessMessage": "Copied an item to {0}",
"dxFileManager-editingCopyMultipleItemsSuccessMessage": "Copied {0} items to {1}",
"dxFileManager-editingCopySingleItemErrorMessage": "Item wasn't copied",
"dxFileManager-editingCopyMultipleItemsErrorMessage": "{0} items weren't copied",
"dxFileManager-editingCopyCommonErrorMessage": "Some items weren't copied",

"dxFileManager-editingUploadSingleItemProcessingMessage": "Uploading an item to {0}",
"dxFileManager-editingUploadMultipleItemsProcessingMessage": "Uploading {0} items to {1}",
"dxFileManager-editingUploadSingleItemSuccessMessage": "Uploaded an item to {0}",
"dxFileManager-editingUploadMultipleItemsSuccessMessage": "Uploaded {0} items to {1}",
"dxFileManager-editingUploadSingleItemErrorMessage": "Item wasn't uploaded",
"dxFileManager-editingUploadMultipleItemsErrorMessage": "{0} items weren't uploaded",
"dxFileManager-editingUploadCanceledMessage": "Canceled",

"dxFileManager-listDetailsColumnCaptionName": "Name",
"dxFileManager-listDetailsColumnCaptionDateModified": "Date Modified",
"dxFileManager-listDetailsColumnCaptionFileSize": "File Size",

"dxFileManager-listThumbnailsTooltipTextSize": "Size",
"dxFileManager-listThumbnailsTooltipTextDateModified": "Date Modified",

"dxFileManager-notificationProgressPanelTitle": "Progress",
"dxFileManager-notificationProgressPanelEmptyListText": "No operations",
"dxFileManager-notificationProgressPanelOperationCanceled": "Canceled",
"dxFileManager-commandCreate": "New directory",
"dxFileManager-commandRename": "Rename",
"dxFileManager-commandMove": "Move to",
"dxFileManager-commandCopy": "Copy to",
"dxFileManager-commandDelete": "Delete",
"dxFileManager-commandDownload": "Download",
"dxFileManager-commandUpload": "Upload files",
"dxFileManager-commandRefresh": "Refresh",
"dxFileManager-commandThumbnails": "Thumbnails View",
"dxFileManager-commandDetails": "Details View",
"dxFileManager-commandClear": "Clear selection",

"dxFileManager-dialogDirectoryChooserMoveTitle": "Move to",
"dxFileManager-dialogDirectoryChooserMoveButtonText": "Move",
"dxFileManager-dialogDirectoryChooserCopyTitle": "Copy to",
"dxFileManager-dialogDirectoryChooserCopyButtonText": "Copy",
"dxFileManager-dialogRenameItemTitle": "Rename",
"dxFileManager-dialogRenameItemButtonText": "Save",
"dxFileManager-dialogCreateDirectoryTitle": "New directory",
"dxFileManager-dialogCreateDirectoryButtonText": "Create",

"dxFileManager-editingCreateSingleItemProcessingMessage": "Creating a directory inside {0}",
"dxFileManager-editingCreateSingleItemSuccessMessage": "Created a directory inside {0}",
"dxFileManager-editingCreateSingleItemErrorMessage": "Directory wasn't created",
"dxFileManager-editingCreateCommonErrorMessage": "Directory wasn't created",

"dxFileManager-editingRenameSingleItemProcessingMessage": "Renaming an item inside {0}",
"dxFileManager-editingRenameSingleItemSuccessMessage": "Renamed an item inside {0}",
"dxFileManager-editingRenameSingleItemErrorMessage": "Item wasn't renamed",
"dxFileManager-editingRenameCommonErrorMessage": "Item wasn't renamed",

"dxFileManager-editingDeleteSingleItemProcessingMessage": "Deleting an item from {0}",
"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "Deleting {0} items from {1}",
"dxFileManager-editingDeleteSingleItemSuccessMessage": "Deleted an item from {0}",
"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "Deleted {0} items from {1}",
"dxFileManager-editingDeleteSingleItemErrorMessage": "Item wasn't deleted",
"dxFileManager-editingDeleteMultipleItemsErrorMessage": "{0} items weren't deleted",
"dxFileManager-editingDeleteCommonErrorMessage": "Some items weren't deleted",

"dxFileManager-editingMoveSingleItemProcessingMessage": "Moving an item to {0}",
"dxFileManager-editingMoveMultipleItemsProcessingMessage": "Moving {0} items to {1}",
"dxFileManager-editingMoveSingleItemSuccessMessage": "Moved an item to {0}",
"dxFileManager-editingMoveMultipleItemsSuccessMessage": "Moved {0} items to {1}",
"dxFileManager-editingMoveSingleItemErrorMessage": "Item wasn't moved",
"dxFileManager-editingMoveMultipleItemsErrorMessage": "{0} items weren't moved",
"dxFileManager-editingMoveCommonErrorMessage": "Some items weren't moved",

"dxFileManager-editingCopySingleItemProcessingMessage": "Copying an item to {0}",
"dxFileManager-editingCopyMultipleItemsProcessingMessage": "Copying {0} items to {1}",
"dxFileManager-editingCopySingleItemSuccessMessage": "Copied an item to {0}",
"dxFileManager-editingCopyMultipleItemsSuccessMessage": "Copied {0} items to {1}",
"dxFileManager-editingCopySingleItemErrorMessage": "Item wasn't copied",
"dxFileManager-editingCopyMultipleItemsErrorMessage": "{0} items weren't copied",
"dxFileManager-editingCopyCommonErrorMessage": "Some items weren't copied",

"dxFileManager-editingUploadSingleItemProcessingMessage": "Uploading an item to {0}",
"dxFileManager-editingUploadMultipleItemsProcessingMessage": "Uploading {0} items to {1}",
"dxFileManager-editingUploadSingleItemSuccessMessage": "Uploaded an item to {0}",
"dxFileManager-editingUploadMultipleItemsSuccessMessage": "Uploaded {0} items to {1}",
"dxFileManager-editingUploadSingleItemErrorMessage": "Item wasn't uploaded",
"dxFileManager-editingUploadMultipleItemsErrorMessage": "{0} items weren't uploaded",
"dxFileManager-editingUploadCanceledMessage": "Canceled",

"dxFileManager-listDetailsColumnCaptionName": "Name",
"dxFileManager-listDetailsColumnCaptionDateModified": "Date Modified",
"dxFileManager-listDetailsColumnCaptionFileSize": "File Size",

"dxFileManager-listThumbnailsTooltipTextSize": "Size",
"dxFileManager-listThumbnailsTooltipTextDateModified": "Date Modified",

"dxFileManager-notificationProgressPanelTitle": "Progress",
"dxFileManager-notificationProgressPanelEmptyListText": "No operations",
"dxFileManager-notificationProgressPanelOperationCanceled": "Canceled",

"dxDiagram-categoryGeneral": "General",
"dxDiagram-categoryFlowchart": "Flowchart",
Expand Down
12 changes: 7 additions & 5 deletions js/localization/messages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@
"dxFileManager-errorMaxFileSizeExceeded": "ファイルのサイズが最大許容サイズを超えています。",
"dxFileManager-errorInvalidSymbols": "名前に無効な文字が含まれています。",
"dxFileManager-errorDefault": "特定できないエラー",

"dxFileManager-commandCreate": "新しいディレクトリ",
"dxFileManager-commandRename": "名前の変更",
"dxFileManager-commandMove": "移動",
"dxFileManager-commandCopy": "コピー",
"dxFileManager-commandMove": "TODO",
"dxFileManager-commandCopy": "TODO",
"dxFileManager-commandDelete": "削除",
"dxFileManager-commandDownload": "ダウンロード",
"dxFileManager-commandUpload": "ファイルのアップロード",
Expand All @@ -283,8 +283,10 @@
"dxFileManager-commandDetails": "詳細表示",
"dxFileManager-commandClear": "選択のクリア",

"dxFileManager-dialogDirectoryChooserTitle": "移動先のディレクトリを選択してください",
"dxFileManager-dialogDirectoryChooserButtonText": "選択",
"dxFileManager-dialogDirectoryChooserMoveTitle": "TODO",
"dxFileManager-dialogDirectoryChooserMoveButtonText": "移動",
"dxFileManager-dialogDirectoryChooserCopyTitle": "TODO",
"dxFileManager-dialogDirectoryChooserCopyButtonText": "コピー",
"dxFileManager-dialogRenameItemTitle": "名前の変更",
"dxFileManager-dialogRenameItemButtonText": "保存",
"dxFileManager-dialogCreateDirectoryTitle": "新しいディレクトリ",
Expand Down
Loading

0 comments on commit b56479c

Please sign in to comment.