decaporg / decaporg/decap-cms

As an editor with a German locale I expect the label to stay upper case

Open
#3,856 1 comment 3 reactions 0 assignees View on GitHub
status: unconfirmed type: bug
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**

`label` and `label_singular` are transformed to lower case when they are upper case by intention in the `config.yml`. This is at least true for the German locale.

**To Reproduce**

Write `label: Autor` in the `config.yml`

**Expected behavior**

I expect the label of the field or panel to be "Autor"

**Screenshots**

![Auswahl_021](https://user-images.githubusercontent.com/1590241/83805146-a3740a00-a6af-11ea-87d0-6c4eef613ee4.png)

**Applicable Versions:**

- Netlify CMS version: 2.10.50
- Git provider: GitLab
- OS: Manjaro Linux
- Browser version: Chromium 83.0.4103.61

**CMS configuration**

```yaml
- label: "Metadaten des Artikels"
name: "article"
file: "content/de/metadata/article-metadata.inc.yml"
fields:
- { label: Titel, name: title, widget: string }
- label: Autor_innen
label_singular: Autor_in
name: author
[...]
´´´

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.