Skip to content

Bug: Automations category title shows "Onedrive" instead of "OneDrive" #2804

Description

@yannickmonney

Problem

The Automations catalog section for the OneDrive folder is titled “Onedrive” instead of the correct product casing “OneDrive”.

Current behaviour

  • Builtin automations live under builtin-configs/automations/onedrive/… with folder slug onedrive.
  • Section titles go through folderLabel() in app/components/catalog/catalog-section.tsx, which looks up folders.<slug> and otherwise capitalizes the first letter only → Onedrive.
  • Automations i18n (services/platform/messages/en.jsonautomations.folders) currently has general, email, githubno onedrive key (unlike githubGitHub). Same gap likely in de.json / fr.json.
  • Other product surfaces already use correct OneDrive strings (documents sync copy, etc.); only this folder-label fallback is wrong.

Proposed change

  • Add automations.folders.onedrive: "OneDrive" (and locale equivalents) so folderLabel resolves the brand casing.
  • Optionally harden folderLabel / a small brand map for known product folders if more slugs will need non-simple capitalization — only if the sweep finds more offenders.

Acceptance criteria

  • Automations catalog section header reads OneDrive, not Onedrive (en + de/fr).
  • Panel / contents list that reuse folderLabel show the same casing.
  • No raw i18n key leakage (folders.onedrive).

Affected service

Platform (web app)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions