mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add Localazy for Strings. (#706)
- Namespaced under L10n. - Old strings moved to Legacy.strings[dict].
This commit is contained in:
@@ -12,6 +12,15 @@ strings:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user