localicious
localicious copied to clipboard
Keys starting with digits do not compile for iOS
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: []
)
}