mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Improve filters phrases.
This commit is contained in:
@@ -2247,12 +2247,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_filters_edit" = "Edit Folder";
|
||||
"lng_filters_new_name" = "Folder name";
|
||||
"lng_filters_add_chats" = "Add chats";
|
||||
"lng_filters_remove_chats" = "Remove chats";
|
||||
"lng_filters_include" = "Included Chats";
|
||||
"lng_filters_include_about" = "Choose chats and types of chats that will appear in this folder.";
|
||||
"lng_filters_exclude" = "Excluded Chats";
|
||||
"lng_filters_exclude_about" = "Choose chats and types of chats that will never appear in this folder.";
|
||||
"lng_filters_create_button" = "Create";
|
||||
"lng_filters_add_title" = "Add Chats";
|
||||
"lng_filters_include_title" = "Include Chats";
|
||||
"lng_filters_exclude_title" = "Exclude Chats";
|
||||
"lng_filters_edit_types" = "Chat types";
|
||||
|
||||
@@ -570,7 +570,7 @@ void EditFilterBox(
|
||||
|
||||
const auto excludeAdd = AddButton(
|
||||
content,
|
||||
tr::lng_filters_add_chats() | Ui::Text::ToUpper(),
|
||||
tr::lng_filters_remove_chats() | Ui::Text::ToUpper(),
|
||||
st::settingsUpdate);
|
||||
|
||||
AddSkip(content);
|
||||
|
||||
@@ -260,7 +260,7 @@ windowFiltersButton: SideBarButton(defaultSideBarButton) {
|
||||
badgeSkip: 4px;
|
||||
badgeHeight: 17px;
|
||||
badgeStroke: 2px;
|
||||
badgePosition: point(5px, 7px);
|
||||
badgePosition: point(3px, 7px);
|
||||
iconPosition: point(-1px, 6px);
|
||||
}
|
||||
windowFiltersMainMenu: SideBarButton(windowFiltersButton) {
|
||||
|
||||
@@ -178,7 +178,7 @@ base::unique_qptr<Ui::SideBarButton> FiltersMenu::prepareButton(
|
||||
const auto string = !count
|
||||
? QString()
|
||||
: (count > 99)
|
||||
? "..."
|
||||
? "99+"
|
||||
: QString::number(count);
|
||||
raw->setBadge(string, count == muted);
|
||||
}, raw->lifetime());
|
||||
|
||||
+1
-1
Submodule Telegram/lib_ui updated: f497eac804...7224c6a191
Reference in New Issue
Block a user