Gestion des commentaires

This commit is contained in:
q.bandera committed 2024-04-12 17:15:15 +02:00
1 parent ba07005b13
commit 209ba49e3f
3 files changed
+288 -8

No files matched your search

@@ -166,7 +166,8 @@ class StringsFileGenerator {
}
if !skipDefinition {
for (lang, value) in definition.translations {
for (lang, value) in definition.translations where !value.isEmpty {
let localization = XCStringLocalization(
lang: lang,
content: XCStringLocalizationLangContent(
@@ -180,6 +181,7 @@ class StringsFileGenerator {
let xcStringDefinition = XCStringDefinition(
title: definition.name,
content: XCStringDefinitionContent(
comment: definition.comment,
extractionState: "manual",
localizations: XCStringLocalizationContainer(
localizations: localizationTab