Skip to content

Commit

Permalink
fix: snake language template placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Jul 30, 2024
1 parent 73e67be commit 08962b7
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,17 +214,17 @@ class JsonFileExporterTest {
val exporter =
getExporter(
translations =
buildExportTranslationList {
add(
languageTag = "cs-CZ",
keyName = "item",
text = "A",
)
}.translations,
buildExportTranslationList {
add(
languageTag = "cs-CZ",
keyName = "item",
text = "A",
)
}.translations,
exportParams =
ExportParams().also {
it.fileStructureTemplate = "{snakeLanguageTag}/hello/{namespace}.{extension}"
},
ExportParams().also {
it.fileStructureTemplate = "{snakeLanguageTag}/hello/{namespace}.{extension}"
},
)

val files = exporter.produceFiles()
Expand All @@ -237,17 +237,17 @@ class JsonFileExporterTest {
val exporter =
getExporter(
translations =
buildExportTranslationList {
add(
languageTag = "cs-CZ",
keyName = "item",
text = "A",
)
}.translations,
buildExportTranslationList {
add(
languageTag = "cs-CZ",
keyName = "item",
text = "A",
)
}.translations,
exportParams =
ExportParams().also {
it.fileStructureTemplate = "{androidLanguageTag}/hello/{namespace}.{extension}"
},
ExportParams().also {
it.fileStructureTemplate = "{androidLanguageTag}/hello/{namespace}.{extension}"
},
)

val files = exporter.produceFiles()
Expand Down

0 comments on commit 08962b7

Please sign in to comment.