| 
														
															@@ -10,17 +10,21 @@ import dev.icerock.moko.resources.desc.ResourceFormatted 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import dev.icerock.moko.resources.desc.StringDesc 
														 | 
														
														 | 
														
															 import dev.icerock.moko.resources.desc.StringDesc 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 fun Context.stringResource(resource: StringResource): String { 
														 | 
														
														 | 
														
															 fun Context.stringResource(resource: StringResource): String { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    return StringDesc.Resource(resource).toString(this) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    return StringDesc.Resource(resource).toString(this).fixed() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 fun Context.stringResource(resource: StringResource, vararg args: Any): String { 
														 | 
														
														 | 
														
															 fun Context.stringResource(resource: StringResource, vararg args: Any): String { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    return StringDesc.ResourceFormatted(resource, *args).toString(this) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    return StringDesc.ResourceFormatted(resource, *args).toString(this).fixed() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 fun Context.pluralStringResource(resource: PluralsResource, count: Int): String { 
														 | 
														
														 | 
														
															 fun Context.pluralStringResource(resource: PluralsResource, count: Int): String { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    return StringDesc.Plural(resource, count).toString(this) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    return StringDesc.Plural(resource, count).toString(this).fixed() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 fun Context.pluralStringResource(resource: PluralsResource, count: Int, vararg args: Any): String { 
														 | 
														
														 | 
														
															 fun Context.pluralStringResource(resource: PluralsResource, count: Int, vararg args: Any): String { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    return StringDesc.PluralFormatted(resource, count, *args).toString(this) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    return StringDesc.PluralFormatted(resource, count, *args).toString(this).fixed() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+// TODO: janky workaround for https://github.com/icerockdev/moko-resources/issues/337 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+private fun String.fixed() = 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    this.replace("""\""", """"""") 
														 |