Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: allow paste operation when destination folder is different fr… #12265

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

mzner
Copy link
Contributor

@mzner mzner commented Mar 8, 2025

allow paste operation when destination folder is different from source folder

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@mzner mzner force-pushed the bugfix/disable-cutting-and-pasting-into-same-folder branch from 9fa7a53 to 329e99e Compare March 8, 2025 16:39
Copy link

sonarqubecloud bot commented Mar 8, 2025

@mzner mzner requested a review from LukasHirt March 8, 2025 16:54
if (unref(isPastingIntoSameFolder)) {
return $gettext('You cannot paste resources into the same folder.')
if (unref(isCuttingAndPastingIntoSameFolder)) {
return $gettext('You cannot cut and paste resources into the same folder.')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LukasHirt I changed the wording here. Do I need to update any translation file(s) or something?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need. Translations are automatically synced with transifex via drone job.

@mzner mzner merged commit cb018dc into master Mar 8, 2025
4 checks passed
@mzner mzner deleted the bugfix/disable-cutting-and-pasting-into-same-folder branch March 8, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable the 'Paste here' when user cut and paste in the same folder
2 participants