From 883e78b4f5900d5ddb8d85ed10da54c0a9ca95b8 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 4 Oct 2024 21:43:03 +0200 Subject: [PATCH] ; Use correct plural forms of resource types * kubed.el (kubed-define-resource): Use provided plural form in 'mode-name' of generated major mode. --- kubed.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubed.el b/kubed.el index 92d4fca..04abb9e 100644 --- a/kubed.el +++ b/kubed.el @@ -1571,7 +1571,7 @@ a prefix argument \\[universal-argument], prompt for CONTEXT too." menu) (define-derived-mode ,mod-name kubed-list-mode - '(,(format "Kubernetes %ss" (capitalize (symbol-name resource))) + '(,(format "Kubernetes %s" (capitalize (symbol-name plrl-var))) kubed-list-mode-line-format) ,(format "Major mode for listing Kubernetes %S." plrl-var) :interactive nil -- 2.39.2