Skip to content

Commit

Permalink
Resolve issue magento#25896: Cannot create folder using only letters
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay.jakasaniya committed Dec 7, 2019
1 parent 54bd0d8 commit 73c04ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public function createDirectory($name, $path)
{
if (!preg_match(self::DIRECTORY_NAME_REGEXP, $name)) {
throw new \Magento\Framework\Exception\LocalizedException(
__('Please rename the folder using only letters, numbers, underscores and dashes.')
__('Please rename the folder using only Latin letters, numbers, underscores and dashes.')
);
}

Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Pages,Pages
"A block identifier with the same properties already exists in the selected store.","A block identifier with the same properties already exists in the selected store."
"The page URL key contains capital letters or disallowed symbols.","The page URL key contains capital letters or disallowed symbols."
"The page URL key cannot be made of only numbers.","The page URL key cannot be made of only numbers."
"Please rename the folder using only letters, numbers, underscores and dashes.","Please rename the folder using only letters, numbers, underscores and dashes."
"Please rename the folder using only Latin letters, numbers, underscores and dashes.","Please rename the folder using only Latin letters, numbers, underscores and dashes."
"We found a directory with the same name. Please try another folder name.","We found a directory with the same name. Please try another folder name."
"We cannot create a new directory.","We cannot create a new directory."
"We cannot delete directory %1.","We cannot delete directory %1."
Expand Down

0 comments on commit 73c04ea

Please sign in to comment.