]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add wording section to hacking.rst 26572/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 29 Mar 2019 17:07:20 +0000 (18:07 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 3 Apr 2019 14:09:36 +0000 (16:09 +0200)
Fixes: http://tracker.ceph.com/issues/37337
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/HACKING.rst

index 4a0c18091c11327844f7e33eb112958d12a7cec7..4cea7c543e4384f71512c5ddebad667376468c40 100644 (file)
@@ -236,6 +236,25 @@ Example:
       Some <strong>helper</strong> html text
     </cd-helper>
 
+Terminology and wording
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Instead of using the Ceph component names, the approach
+suggested is to use the logical/generic names (Block over RBD, Filesystem over
+CephFS, Object over RGW). Nevertheless, as Ceph-Dashboard cannot completely hide
+the Ceph internals, some Ceph-specific names might remain visible.
+
+Regarding the wording for action labels and other textual elements (form titles,
+buttons, etc.), the chosen approach is to follow `these guidelines
+<https://www.patternfly.org/styles/terminology-and-wording/#terminology-and-wording-for-action-labels>`_.
+As a rule of thumb, 'Create' and 'Delete' are the proper wording for most forms,
+instead of 'Add' and 'Remove', unless some already created item is either added
+or removed to/from a set of items (e.g.: 'Add permission' to a user vs. 'Create
+(new) permission').
+
+In order to enforce the use of this wording, a service ``ActionLabelsI18n`` has
+been created, which provides translated labels for use in UI elements.
+    
 Frontend branding
 ~~~~~~~~~~~~~~~~~