Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-6607

Refactoring the message keys of actions

    Details

    • Issue discovered during:
      Community
    • Sprint:
      EJBCA Sprint 9

      Description

      Aim:

      • Better code, with less message keys, and more readable message keys
      • It's better for: Localizators, Java developers

      Actions:

      • Refactoring the message keys of actions to one unique word for each action, for Certificate Profile, Crypto Token, SCEP, etc.

      Examples:

      • Rename VIEWCERTIFICATEPROFILE to VIEW
      • Rename EDITCERTIFICATEPROFILE to EDIT
      • Rename DELETECERTIFICATEPROFILE to DELETE
      • Etc.

      Note/History: before the button labels were wider, e.g. "Edit Certificate Profile", but with the new tables and its column 'Actions', all buttons are narrow (with a short word 'Edit'). So, it's better to have one unique word for one unique action verb.

      Remarks about verbs:

      • Common for objects: View, Edit, Delete, Remove, Rename, Clone
      • Common for forms: Import, Export, Save, Cancel, Reset
      • Specific: Set, Test, Apply, Search, Refresh, Deactivate, Activate, Reactivate, Generate, Revoke, etc.

      This issue only process items from the first list, i.e. Common for objects one.

        Attachments

          Activity

            People

            • Assignee:
              dcarella David Carella
              Reporter:
              dcarella David Carella
              Verified by:
              Mike Agrenius Kushner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: