From: Eshel Yaron Date: Fri, 4 Oct 2024 19:43:03 +0000 (+0200) Subject: ; Use correct plural forms of resource types X-Git-Tag: v0.4.2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=883e78b4f5900d5ddb8d85ed10da54c0a9ca95b8;p=kubed.git ; Use correct plural forms of resource types * kubed.el (kubed-define-resource): Use provided plural form in 'mode-name' of generated major mode. --- 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