2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Remove unused lang phrases and some code.

This commit is contained in:
John Preston
2017-09-09 12:04:20 +03:00
parent 8bfe407610
commit d46a5f693f
11 changed files with 8 additions and 338 deletions

View File

@@ -286,8 +286,8 @@ namespace {
QString onlineText(TimeId online, TimeId now, bool precise) {
if (online <= 0) {
switch (online) {
case 0: return lang(lng_status_offline);
case -1: return lang(lng_status_invisible);
case 0:
case -1: return lang(lng_status_offline);
case -2: return lang(lng_status_recently);
case -3: return lang(lng_status_last_week);
case -4: return lang(lng_status_last_month);