-
Notifications
You must be signed in to change notification settings - Fork 259
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
chore: rename sieve security to sieve filter #10100
Conversation
kesselb
commented
Sep 4, 2024
•
edited
Loading
edited
- Rename "Enable sieve security" to "Enable sieve filter"
- Use the translation function
- Add a small introduction for the feature
/backport to stable4.0 |
src/components/SieveAccountForm.vue
Outdated
@@ -4,9 +4,12 @@ | |||
--> | |||
<template> | |||
<form id="sieve-form"> | |||
<p> | |||
{{ t('mail', 'Sieve is a powerful language for writing filters for your mailbox. You can control the sieve scripts from Nextcloud Mail if your email service supports it.')}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ t('mail', 'Sieve is a powerful language for writing filters for your mailbox. You can control the sieve scripts from Nextcloud Mail if your email service supports it.')}} | |
{{ t('mail', 'Sieve is a powerful language for writing filters for your mailbox. You can control the sieve scripts from {product} Mail if your email service supports it.', { product: OCA.theme.????? })}} |
we use it in other places too. forgot the exact variable ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mail/src/components/NoMessageSelected.vue
Line 33 in 629a9fa
return t('mail', 'Welcome to {cloudName} Mail', { cloudName: window?.OC?.theme?.name ?? 'Nextcloud' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea 👍
f17aba4 did not work, even if window?.OC?.theme?.name
evaluates to "Testcloud". I assume that OC.theme is not populated when the component is rendered, but didn't look at it properly.
Pushed another fixup to use a wording without Nextcloud. Let me know if you want me to take a look later to include the instance name or product name, I will create an issue then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then let's avoid the name 👍
- Rename "Enable sieve security" to "Enable sieve filter" - Use the translation function - Add a small introduction for the feature Signed-off-by: Daniel Kesselberg <[email protected]>
00c4588
to
43da1d8
Compare