From 10abe37f24543587efcdf52f0d39fc3d47a8f137 Mon Sep 17 00:00:00 2001 From: Mykola Chaikovskyi Date: Tue, 6 Jul 2021 01:19:00 +0300 Subject: [PATCH] Improved comment extraction --- .../kotlin/me/nickp0is0n/easylocalize/models/LocalizedString.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/me/nickp0is0n/easylocalize/models/LocalizedString.kt b/src/main/kotlin/me/nickp0is0n/easylocalize/models/LocalizedString.kt index 0a23ee3..d9b5103 100644 --- a/src/main/kotlin/me/nickp0is0n/easylocalize/models/LocalizedString.kt +++ b/src/main/kotlin/me/nickp0is0n/easylocalize/models/LocalizedString.kt @@ -22,7 +22,7 @@ data class LocalizedString @JvmOverloads constructor( val commentStrings = listOf(*comment.split("\n").toTypedArray()) commentStrings.forEach { rawLocalizedStringBuilder - .append("//") + .append("// ") .append(it) .append("\n") }