mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
36 lines
1.1 KiB
YAML
Executable File
36 lines
1.1 KiB
YAML
Executable File
input_dir: ../../ElementX/
|
|
output_dir: ../../ElementX/Sources/Generated/
|
|
xcassets:
|
|
inputs:
|
|
- Resources/Assets.xcassets
|
|
outputs:
|
|
templateName: swift5
|
|
output: Assets.swift
|
|
strings:
|
|
- inputs: Resources/Localizations/en.lproj
|
|
filter: Localizable*
|
|
outputs:
|
|
templatePath: Templates/Strings/structured-swift5-element.stencil
|
|
output: Strings.swift
|
|
params:
|
|
enumName: L10n
|
|
lookupFunction: tr # used for the loc to be computed variables
|
|
publicAccess: true
|
|
- inputs: Resources/Localizations/en.lproj
|
|
filter: Legacy*
|
|
outputs:
|
|
templatePath: Templates/Strings/structured-swift5-element.stencil
|
|
output: Strings+Legacy.swift
|
|
params:
|
|
enumName: ElementL10n
|
|
lookupFunction: tr # used for the loc to be computed variables
|
|
publicAccess: true
|
|
- inputs: Resources/Localizations/en.lproj
|
|
filter: Untranslated*
|
|
outputs:
|
|
templatePath: Templates/Strings/structured-swift5-untranslated.stencil
|
|
output: Strings+Untranslated.swift
|
|
params:
|
|
enumName: ElementL10n
|
|
publicAccess: true
|