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

ENH Change clear text to delete #155

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Jan 8, 2024

Issue #149

Even though the ACs are to just change the text label, it also makes sense to change all references in the codebase from 'clear' to 'delete' so that we're not using two different word for the same thing

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Works well locally. Just one small change.

client/lang/en.js Outdated Show resolved Hide resolved
@GuySartorelli
Copy link
Member

GuySartorelli commented Jan 8, 2024

I just had a thought - and feel free to say it's out of scope or not worth doing. But should this say "Archive" when links are versioned, and "Delete" when they're not? That is more accurate, but I'm on the fence as to whether it's valuable enough of a distinction to be worth adding the complexity.
(Note the functionality is already doing that, so it's just whether we dynamically change the wording or not)

@emteknetnz
Copy link
Member Author

Have added in archived text functionality

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Great! Works locally.

@GuySartorelli GuySartorelli merged commit 02ed5e5 into silverstripe:4 Jan 9, 2024
10 checks passed
@GuySartorelli GuySartorelli deleted the pulls/4/clear branch January 9, 2024 20:14
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