Skip to content

Commit

Permalink
#241 change texts slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
zuevval committed Sep 5, 2020
1 parent fbf832b commit cbfe533
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,14 @@ val Context.showSymbolPrintRules by rules<Context, Char, String>(
)

fun getCaptionTitleId(symbol: Symbol): Int {
when(symbol.char) {
'.' -> return R.string.show_special_intro_dot
',' -> return R.string.show_special_intro_comma
'-' -> return R.string.show_special_intro_hyphen
val specialCaptionId = when(symbol.char) {
'.' -> R.string.show_special_intro_dot
',' -> R.string.show_special_intro_comma
'-' -> R.string.show_special_intro_hyphen
else -> null
}
if (specialCaptionId != null) {
return specialCaptionId
}
return when (symbol.type) {
SymbolType.ru -> R.string.letter_caption_ru
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<b>Выход в меню</b> приложения - кнопка вверху слева.
&<br>
<b>Список колод</b> - кнопка вверху справа.
&<br>
<br>
Карточки объединены в колоды по типам символов, например, колода русских букв, колода цифр.
Эта кнопка ведёт в меню выбора колоды.
&<br>
Expand Down Expand Up @@ -220,7 +220,7 @@
<string name="lessons_help_template">
<![CDATA[
%s
&<br><br><br>
&<br>
%s
]]>
</string>
Expand Down Expand Up @@ -408,7 +408,7 @@
<string name="preference_title_use_golubina_textbook">Шаги с бумажным пособием</string>
<string name="preference_title_use_slate_stylus">Шаги с брайлевским прибором</string>
<string name="preference_summary_use_golubina_textbook">
Показывать шаги с обращением к бумажному букварю Голубиной в теоретическом курсе.
Показывать шаги с обращением к бумажному пособию Голубиной в теоретическом курсе.
</string>
<string name="preference_summary_use_slate_stylus">
Показывать шаги для выполнения с брайлевским прибором в теоретическом курсе.
Expand Down

0 comments on commit cbfe533

Please sign in to comment.