Replace slash chars in all “key/value” phrases to a hyphen

Created on 17 July 2024, 5 months ago
Updated 23 July 2024, 5 months ago

Problem/Motivation

Releasing a new version with D11 compatibility can be a good time for such a linguistic change I suggest for consideration to this module. Stop using the slash sign (“/”) between the “key” and “value” words in all user-facing contexts. This character carries the general meaning of “OR”. In our everyday written language it's being used with the meaning “choose this one / or that one but not both” usually.

Proposed resolution

My suggestion is to shift towards using a hyphen (“-”) character instead. Hyphen has the global meaning of connecting two separate terms into one word. To be more exact regarding the IT jargon, Wikipedia also refers to such data structures as “key-value”.

Remaining tasks

Run a search & replace on the module codebase with these regex-patterns:

  • Search for: Key\s?\/\s?(V|v)alue → Replace to: “Key-value”
  • Search for: key\s?\/\s?(V|v)alue → Replace to: “key-value”

User interface changes

More natural language easier for everyone to grasp.

📌 Task
Status

RTBC

Version

1.0

Component

User interface

Created by

🇭🇺Hungary Balu Ertl Budapest 🇪🇺

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024