[yew-devel] [PATCH yew-comp v2 2/2] token panel: rephrase "usage sites" to "user of the token" for clarity

Shannon Sterz s.sterz at proxmox.com
Thu Oct 23 16:44:25 CEST 2025


Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---
 src/token_panel.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/token_panel.rs b/src/token_panel.rs
index d61063a..e0ca767 100644
--- a/src/token_panel.rs
+++ b/src/token_panel.rs
@@ -192,7 +192,7 @@ impl LoadableComponent for ProxmoxTokenView {
             .with_child(
                 ConfirmButton::new(tr!("Remove"))
                     .confirm_message(tr!("Are you sure you want to remove the API token? \
-                        All current usage sites will lose access!"))
+                        All existing users of the token will lose access!"))
                     .disabled(disabled)
                     .on_activate(link.callback(|_| Msg::Remove)),
             )
@@ -201,7 +201,7 @@ impl LoadableComponent for ProxmoxTokenView {
                 ConfirmButton::new(tr!("Regenerate Secret"))
                     .confirm_message(tr!(
                         "Do you want to regenerate the secret of the selected API token? \
-                        All current usage sites will lose access!"
+                        All existing users of the token will lose access!"
                     ))
                     .disabled(disabled)
                     .on_activate(link.callback(|_| Msg::Regenerate)),
-- 
2.47.3





More information about the yew-devel mailing list