diff --git a/src/application.py b/src/application.py index 0d54273..09b4ff9 100644 --- a/src/application.py +++ b/src/application.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- name = "Socializer" -version = "0.21" +version = "0.22" author = "Manuel Cortez" authorEmail = "manuel@manuelcortez.net" copyright = "Copyright (C) 2016-2019, Manuel Cortez" diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 643d2af..c2744bc 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -144,10 +144,8 @@ class Controller(object): log.error("Error in setting offline status for the current user") def create_unread_messages(self): - if self.session.settings["chat"]["open_unread_conversations"] == False: - return try: - log.debug("Getting possible unread messages.") + log.debug("Creating conversation buffers...") msgs = self.session.vk.client.messages.getConversations(count=200) except VkApiError as ex: if ex.code == 6: diff --git a/src/installer.nsi b/src/installer.nsi index 023b949..33d9a3f 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -5,7 +5,7 @@ CRCCheck on ManifestSupportedOS all XPStyle on Name "Socializer" -OutFile "socializer_0.21_setup.exe" +OutFile "socializer_0.22_setup.exe" InstallDir "$PROGRAMFILES\socializer" InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "InstallLocation" RequestExecutionLevel admin @@ -14,10 +14,10 @@ SetCompressor /solid lzma SetDatablockOptimize on VIAddVersionKey ProductName "Socializer" VIAddVersionKey LegalCopyright "Copyright 2019 Manuel Cortez." -VIAddVersionKey ProductVersion "0.21" -VIAddVersionKey FileVersion "0.21" -VIProductVersion "0.21.0.0" -VIFileVersion "0.21.0.0" +VIAddVersionKey ProductVersion "0.22" +VIAddVersionKey FileVersion "0.22" +VIProductVersion "0.22.0.0" +VIFileVersion "0.22.0.0" !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_DIRECTORY var StartMenuFolder @@ -50,7 +50,7 @@ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "InstallLocation" $INSTDIR WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "Publisher" "Manuel Cortez" -WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.21" +WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.22" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "URLInfoAbout" "http://socializer.su" WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMajor" 0 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMinor" 19 diff --git a/src/locales/ru/LC_MESSAGES/socializer.mo b/src/locales/ru/LC_MESSAGES/socializer.mo index 900873f..6094d23 100644 Binary files a/src/locales/ru/LC_MESSAGES/socializer.mo and b/src/locales/ru/LC_MESSAGES/socializer.mo differ diff --git a/src/locales/ru/LC_MESSAGES/socializer.po b/src/locales/ru/LC_MESSAGES/socializer.po index d2e2883..c5b0068 100644 --- a/src/locales/ru/LC_MESSAGES/socializer.po +++ b/src/locales/ru/LC_MESSAGES/socializer.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Socializer 0.21\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-02 11:04-0500\n" -"PO-Revision-Date: 2019-07-13 08:47-0500\n" +"PO-Revision-Date: 2019-07-14 11:18-0500\n" "Last-Translator: Manuel Cortez \n" "Language-Team: Дарья Ратникова \n" "Language: ru\n" @@ -1080,7 +1080,7 @@ msgid "Post" msgstr "Запись" msgid "Post as {user1_nom}" -msgstr "Опубликовать как {user1_name}" +msgstr "Опубликовать как {user1_nom}" msgid "Post from {user1_nom}" msgstr "Запись от {user1_gen}"