Skip to content

Keys starting with digits do not compile for iOS  #52

@jhildensperger

Description

@jhildensperger

This should be caught by validation

For example, this:

SHARED:
    Widget:
      1CoolTitle:
        COPY:
          en: "😎 title"
          nl: "😎 titel"

Renders the following which does not compile:

public struct L {
    public struct Widget {
        public static let 1CoolTitle = LocaliciousData(
            accessibilityIdentifier: "Widget.1CoolTitle",
            accessibilityHintKey: nil,
            accessibilityLabelKey: nil,
            accessibilityValueKey: nil,
            translationKey: "Widget.1CoolTitle.COPY",
            translationArgs: []
        )
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions