mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Slightly improved phrases in subtitle of to-do list.
This commit is contained in:
@@ -6176,6 +6176,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
|
|
||||||
"lng_todo_title" = "Checklist";
|
"lng_todo_title" = "Checklist";
|
||||||
"lng_todo_title_group" = "Group Checklist";
|
"lng_todo_title_group" = "Group Checklist";
|
||||||
|
"lng_todo_title_user" = "Checklist";
|
||||||
"lng_todo_completed#one" = "{count} of {total} completed";
|
"lng_todo_completed#one" = "{count} of {total} completed";
|
||||||
"lng_todo_completed#other" = "{count} of {total} completed";
|
"lng_todo_completed#other" = "{count} of {total} completed";
|
||||||
"lng_todo_completed_none" = "None of {total} completed";
|
"lng_todo_completed_none" = "None of {total} completed";
|
||||||
|
|||||||
@@ -279,9 +279,11 @@ void TodoList::updateTexts() {
|
|||||||
_flags = _todolist->flags();
|
_flags = _todolist->flags();
|
||||||
_subtitle.setText(
|
_subtitle.setText(
|
||||||
st::msgDateTextStyle,
|
st::msgDateTextStyle,
|
||||||
(_todolist->othersCanComplete()
|
(!_todolist->othersCanComplete()
|
||||||
? tr::lng_todo_title_group(tr::now)
|
? tr::lng_todo_title(tr::now)
|
||||||
: tr::lng_todo_title(tr::now)));
|
: _parent->data()->history()->peer->isUser()
|
||||||
|
? tr::lng_todo_title_user(tr::now)
|
||||||
|
: tr::lng_todo_title_group(tr::now)));
|
||||||
}
|
}
|
||||||
updateTasks(skipAnimations);
|
updateTasks(skipAnimations);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user