Skip to content

Commit

Permalink
Fixed missing transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
diareuse committed Mar 13, 2022
1 parent 182e695 commit 3046243
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dragapult-app/src/main/java/dragapult/app/Exporter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun getDescriptorFactory(platform: Platform): PlatformFileDescriptorFactory {
}

private fun getWriter(directory: File, platform: Platform): DragapultWriter<Localization> {
return DragapultWriterLocalization(directory, getDescriptorFactory(platform))
return DragapultWriterLocalization(directory, getDescriptorFactory(platform), getTransformer())
}

private fun getConverter(): DragapultConverterFactory {
Expand All @@ -39,4 +39,8 @@ private fun getReader(input: File, type: Source): DragapultReader<Translations>
csv = csv
)
return factory.getInstance(type)
}

private fun getTransformer(): DragapultConverter<String, String> {
return DragapultConverterEscape()
}

0 comments on commit 3046243

Please sign in to comment.