Skip to content

fix(folders): add the missing apostrophe in the folder permission error - #7076

Open
simpleqt wants to merge 1 commit into
1Panel-dev:v2from
simpleqt:sq916/folder-permission-typo
Open

simpleqt wants to merge 1 commit into
1Panel-dev:v2from
simpleqt:sq916/folder-permission-typo

Conversation

@simpleqt

Copy link
Copy Markdown

动机 / Motivation

The folder-deletion permission error reads "...resources that you dont have permission" — missing apostrophe. Fixed in apps/folders/serializers/folder.py:284, and the matching msgid lines in the zh_CN / zh_Hant django.po catalogs were updated to keep the translation mappings intact.

已完成的测试 / Testing

String-only change; grep confirms no remaining "dont have permission" in apps/.

'dont' -> 'don't' in the user-facing exception and in the zh_CN/zh_Hant
msgid lines so the translation catalogs keep matching.
Copilot AI lite review requested due to automatic review settings September 16, 2026 16:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants