From 9b430147c0f8c768d281979f5c380c07205210e5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 1 May 2019 16:43:37 +0400 Subject: [PATCH] Remove some unused langpack keys. --- Telegram/Resources/langs/lang.strings | 4 ++-- Telegram/SourceFiles/history/view/history_view_element.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 1ab5044411..92abe09038 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -1260,7 +1260,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_user_action_upload_file" = "{user} is sending a file"; "lng_unread_bar#one" = "{count} unread message"; "lng_unread_bar#other" = "{count} unread messages"; -"lng_unread_bar_some" = "Unread messages"; +//"lng_unread_bar_some" = "Unread messages"; "lng_maps_point" = "Location"; "lng_save_photo" = "Save image"; @@ -1552,7 +1552,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_player_message_yesterday" = "Yesterday at {time}"; "lng_player_message_date" = "{date} at {time}"; //"lng_player_cant_stream" = "This file can't be played before it is fully downloaded.\n\nWould you like to download it?"; -"lng_player_download" = "Download"; +//"lng_player_download" = "Download"; "lng_rights_edit_admin" = "Manage permissions"; "lng_rights_edit_admin_header" = "What can this admin do?"; diff --git a/Telegram/SourceFiles/history/view/history_view_element.cpp b/Telegram/SourceFiles/history/view/history_view_element.cpp index 7fe74e0da4..b9b888b873 100644 --- a/Telegram/SourceFiles/history/view/history_view_element.cpp +++ b/Telegram/SourceFiles/history/view/history_view_element.cpp @@ -80,9 +80,9 @@ void UnreadBar::init(int newCount) { return; } count = newCount; - text = (count == kCountUnknown) + text = /*(count == kCountUnknown) // #feed ? lang(lng_unread_bar_some) - : lng_unread_bar(lt_count, count); + : */lng_unread_bar(lt_count, count); width = st::semiboldFont->width(text); }