From 3e7f11cfd6bd02270b66e2b40782c4a7f1fb1be1 Mon Sep 17 00:00:00 2001 From: zuevval Date: Mon, 2 Aug 2021 14:48:58 +0300 Subject: [PATCH] #296 fix punctuation, clarify TODOs in XML --- .../learnbraille/data/entities/ToXmlTest.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/test/java/com/github/braillesystems/learnbraille/data/entities/ToXmlTest.kt b/app/src/test/java/com/github/braillesystems/learnbraille/data/entities/ToXmlTest.kt index 0bd71aa3..9b855009 100644 --- a/app/src/test/java/com/github/braillesystems/learnbraille/data/entities/ToXmlTest.kt +++ b/app/src/test/java/com/github/braillesystems/learnbraille/data/entities/ToXmlTest.kt @@ -31,14 +31,15 @@ internal fun toXml(material: Material): HtmlText { SymbolType.ru to "RussianSymbols", SymbolType.digit to "Numbers", SymbolType.math to "ArithmeticSymbols", - SymbolType.special to "Signs", - SymbolType.greek to "TODO", // TODO - SymbolType.latin to "TODO" // TODO + SymbolType.special to "PunctuationSymbols", + SymbolType.greek to "GreekSymbols(TODO)", // TODO + SymbolType.latin to "LatinSymbols(TODO)" // TODO ) + with(material.data) { val result = when (this) { is Symbol -> "${sectionType[this.type]}:${this.char}" - is MarkerSymbol -> "TODO" // TODO consult @braille-systems/ios-development + is MarkerSymbol -> "Signs:(TODO)" + this.brailleDots.spelling // TODO consult @braille-systems/ios-development } return "

$result

" }