From 1d31d63ba58fbb110bddf2a52422b6c7a5b40c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kuchy=C5=88ka=20=28Anty=29?= Date: Fri, 6 Sep 2024 19:20:54 +0200 Subject: [PATCH] fix: missed variable usage during refractoring --- .../in/GenericStructuredRawDataToTextConvertor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/data/src/main/kotlin/io/tolgee/formats/genericStructuredFile/in/GenericStructuredRawDataToTextConvertor.kt b/backend/data/src/main/kotlin/io/tolgee/formats/genericStructuredFile/in/GenericStructuredRawDataToTextConvertor.kt index 276fdc0eca..b69d11f863 100644 --- a/backend/data/src/main/kotlin/io/tolgee/formats/genericStructuredFile/in/GenericStructuredRawDataToTextConvertor.kt +++ b/backend/data/src/main/kotlin/io/tolgee/formats/genericStructuredFile/in/GenericStructuredRawDataToTextConvertor.kt @@ -73,7 +73,7 @@ class GenericStructuredRawDataToTextConvertor( ): List? { val map = rawData as? Map<*, *> ?: return null - if (!format.pluralsViaNesting && format.pluralsViaSuffixesRegex == null) { + if (!format.pluralsViaNesting && format.pluralsViaSuffixesParser == null) { return null }