Compare commits

..

39 Commits

Author SHA1 Message Date
076761b9dd Merge branch 'next-gen' of gitlab.com:twblue/twblue into next-gen 2021-11-07 06:36:03 -06:00
556ffd832b Updated translation machine catalog for french translation 2021-11-07 06:34:27 -06:00
cedb290956 fixed an issue when deleting a buffer in a session where there were trending topics opened 2021-11-05 22:35:50 -06:00
66bf95ee62 Added reply function to session module 2021-11-05 13:10:45 -06:00
4f0db5537e Added function to send tweets and threads in session module so it will be used globally later 2021-11-05 11:49:51 -06:00
José Manuel Delicado
7c5c191deb Merge pull request #428 from riku22/japanese_translation
Update Japanese translation
2021-11-04 23:31:27 +01:00
riku
0cf0a64f40 Update Japanese translation 2021-11-05 07:15:33 +09:00
714d849884 Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-11-04 11:17:25 -06:00
a80184bf20 Restored conversation support with API V1 as V2 hits the limits quickly. Closes #427 2021-11-04 11:17:07 -06:00
José Manuel Delicado
46fb00e609 Merge pull request #426 from Oreonan/fr_031121
Update french interface
2021-11-04 17:09:50 +01:00
Oreonan
4ddb406c8d Reduce texts 2021-11-04 17:00:59 +01:00
924f5d8e9f Updated main controller file 2021-11-03 12:30:46 -06:00
13c441557b Updated manual 2021-11-03 12:30:06 -06:00
Oreonan
2c4ec7b1c0 Update french interface 2021-11-03 18:58:59 +01:00
c4b7c35c7f Updated changelog 2021-11-03 09:49:52 -06:00
2d46315de9 Removed old pyinstaller file 2021-11-03 09:31:23 -06:00
6904c153d4 Display error if user has not provided a name for a filter upon creation 2021-11-03 09:10:35 -06:00
8b06437cad Started to update documentation 2021-11-02 17:52:07 -06:00
c3261a4e2c Updated sintax for doc and changelog locales 2021-11-02 10:59:03 -06:00
9f7892ff03 Updated spanish translation for changelog 2021-11-02 10:11:24 -06:00
ab44ce6fcb Rebuilt documentation generators 2021-11-01 17:18:49 -06:00
ed80558273 Remove BOM from changelog 2021-11-01 17:04:03 -06:00
60a67947e6 Updated Pygettext to Python 3.7.9 2021-11-01 10:03:51 -06:00
8a8f1998ac Added usable appkeys for sources 2021-11-01 09:58:57 -06:00
cd415ba673 Merge pull request #422 from riku22/japanese_translation
Update Japanese translation
2021-11-01 05:48:03 -06:00
f9e58b5724 Updated Spanish Translation for app's interface 2021-11-01 05:46:44 -06:00
riku
94ca935b2f Updated Japanese translation 2021-11-01 20:37:39 +09:00
84fa2fad91 Fixed title for Trending topic buffers after a restart. Closes #421 2021-11-01 05:18:46 -06:00
ff0a2b5692 Retrieve all tweets from a thread properly. closes #417 2021-11-01 00:11:46 -06:00
b39b732a93 Updated Readme 2021-10-31 19:32:50 -06:00
b04a1c74a7 Fixed a bug when clearing direct messages buffer. Closes #418 2021-10-31 19:29:11 -06:00
ffb11b8226 Updated changelog 2021-10-31 19:27:59 -06:00
5a6dc23524 Write secrets from CI environment 2021-10-30 01:34:37 -05:00
0e2ff4de8a Use latest available python version on package manager 2021-10-29 22:46:12 -05:00
36340d0596 Moved to python 3.7.10 to test if build passes properly 2021-10-29 22:38:44 -05:00
92ec178754 Merge branch 'next-gen' of gitlab.com:twblue/twblue into next-gen 2021-10-29 15:48:03 -05:00
f672dca1cb Merge branch 'next-gen' of gitlab.com:twblue/twblue into next-gen 2021-10-27 21:47:37 -05:00
19c63b7b07 Merge branch 'next-gen' of github.com:manuelcortez/TWBlue into next-gen 2021-10-27 21:47:03 -05:00
fccf02794c Merge branch 'next-gen' of gitlab.com:twblue/twblue into next-gen 2021-10-23 19:16:33 -05:00
98 changed files with 4656 additions and 6169 deletions

View File

@@ -1,6 +1,6 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive
PYTHON: "C:\\python38\\python.exe"
PYTHON: "C:\\python37\\python.exe"
NSIS: "C:\\program files (x86)\\nsis\\makensis.exe"
stages:
@@ -17,7 +17,7 @@ twblue32:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time}
- echo "started by ${GITLAB_USER_NAME}"
- choco install python --version 3.8.10 -y -ForceX86
- choco install python --version 3.7.9 -y -ForceX86
- '&$env:PYTHON -V'
- '&$env:PYTHON -m pip install --upgrade pip'
- '&$env:PYTHON -m pip install --upgrade -r requirements.txt'
@@ -56,7 +56,7 @@ twblue64:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time}
- echo "started by ${GITLAB_USER_NAME}"
- choco install python --version 3.8.10 -y
- choco install python --version 3.7.9 -y
- '&$env:PYTHON -V'
- '&$env:PYTHON -m pip install --upgrade pip'
- '&$env:PYTHON -m pip install --upgrade -r requirements.txt'

View File

@@ -31,7 +31,7 @@ Although most dependencies can be found in the windows-dependencies directory, w
#### Dependencies packaged in windows installers
* [Python,](https://python.org) version 3.8.7
* [Python,](https://python.org) version 3.7.9
If you want to build both x86 and x64 binaries, you can install python x86 to C:\python38 and python x64 to C:\python38x64, for example.
#### Dependencies that must be installed using pip

View File

@@ -1,7 +1,23 @@
TWBlue Changelog
TWBlue Changelog
## changes in this version
* TWBlue should retrieve tweets from threads and conversations in a more reliable way. Tweets in the same thread (made by the same author) will be sorted correctly, although replies to the thread (made by different people) may not be ordered in the same way they are displayed in Twitter apps. ([#417](https://github.com/manuelcortez/TWBlue/issues/417))
* When creating a filter, TWBlue will show an error if user has not provided a name for the filter. Before, unnamed filters were a cause of config breaks in the application.
* It is again possible to read the changelog for TWBlue from the help menu in the menu bar.
* fixed a bug when clearing the direct messages buffer. ([#418](https://github.com/manuelcortez/TWBlue/issues/418))
* fixed an issue that was making TWBlue to show incorrectly titles for trending topic buffers upon startup. ([#421](https://github.com/manuelcortez/TWBlue/issues/421))
* fixed an issue that was making users of the graphical user interface to delete a buffer if a trends buffer was opened in the same session.
* Updated Spanish, Japanese and french translations.
## Changes in Version 2021.10.30
* Fixed many errors in the way we compile TWBlue, so users of 64 bits systems and particularly windows 7 users would be able to install TWBlue again. In case of issues with versions prior to 2021.10.30, please remove everything related to TWBlue (except configs) and reinstall the version 2021.10.30 to fix any possible error. This step won't be needed again in 23 months. ([#416,](https://github.com/manuelcortez/TWBlue/issues/416), [#415,](https://github.com/manuelcortez/TWBlue/issues/415))
* fixed an issue that was making impossible to manually add an user to the autocomplete users database.
* Started to improve support to conversations by searching for conversation_id.
## changes in version 2021.10.27
* Added an user alias manager, located in the application menu in the menu bar. From this dialog, it is possible to review, add, edit or remove user aliases for the current account. ([#401](https://github.com/manuelcortez/TWBlue/issues/401))
* TWBlue now closes the VLC player window automatically when a video reaches its end. ([#399](https://github.com/manuelcortez/TWBlue/issues/399))
* After a lot of time, TWBlue now uses a new default Soundpack, called FreakyBlue. This soundpack will be set by default in all new sessions created in the application. Thanks to [Andre Louis](https://twitter.com/FreakyFwoof) for the pack. ([#247](https://github.com/manuelcortez/TWBlue/issues/247))
@@ -239,4 +255,4 @@
* New followers and friends buffer for user timelines.
---
Copyright © 2014-2017, Manuel Cortez.
Copyright © 2014-2021, Manuel Cortez.

View File

@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
from codecs import open
""" This script converts the hold documentation (saved in markdown files) in a python file with a list of strings to translate it using gettext."""
def prepare_documentation_in_file(fileSource, fileDest):
""" This takes documentation written in a markdown file and put all the contents in a python file, to create a translatable documentation.
@fileSource str: A markdown(.md) file.
@fileDest str: A file where this will put the new strings"""
""" This takes documentation written in a markdown file and put all the contents in a python file, to create a translatable documentation.
@fileSource str: A markdown(.md) file.
@fileDest str: A file where this will put the new strings"""
f1 = open(fileSource, "r", encoding="utf-8")
f2 = open(fileDest, "w", encoding="utf-8")
lns = f1.readlines()
f2.write("# -*- coding: utf-8 -*-\n")
f2.write("documentation = [\n")
for i in lns:
if "\n" == i:
newvar = "\"\","
elif "\n" == i[-1]:
newvar = "\"\"\"%s\"\"\",\n" % (i[:-1])
else:
newvar = "\"\"\"%s\"\"\",\n" % (i)
f2.write(newvar)
f1.close()
f2.write("]")
f2.close()
f1 = open(fileSource, "r", encoding="utf-8")
f2 = open(fileDest, "w", encoding="utf-8")
lns = f1.readlines()
f2.write("# -*- coding: utf-8 -*-\n")
f2.write("documentation = [\n")
for i in lns:
if "\n" == i:
newvar = "\"\",\n"
elif "\n" == i[-1]:
newvar = "_(\"\"\"%s\"\"\"),\n" % (i[:-1])
else:
newvar = "_(\"\"\"%s\"\"\"),\n" % (i)
f2.write(newvar)
f1.close()
f2.write("]")
f2.close()
prepare_documentation_in_file("manual.md", "strings.py")

View File

@@ -5,63 +5,83 @@ import locale
import paths
import markdown
import shutil
from codecs import open as _open
from importlib import reload
def get_translation_function(name, language):
if language == "en":
return gettext.NullTranslations()
translation_function = gettext.translation(name, os.path.join(paths.app_path(), "locales"), languages=[language])
return translation_function
# Languages already translated or translating the documentation.
documentation_languages = ["en", "es", "fr", "de", "it", "gl", "ja", "ru", "ro", "eu", "ca", "da", "sr"]
# the list of supported language codes of TW Blue
languages = ["en", "es", "fr", "de", "it", "gl", "ja", "ru", "ro", "eu", "ca", "da", "sr"]
def generate_document(language, document_type="documentation"):
if document_type == "documentation":
translation_file = "twblue-documentation"
translation_function = get_translation_function(translation_file, language)
markdown_file = markdown.markdown("\n".join([translation_function.gettext(s[:-1]) if s != "\n" else s for s in strings.documentation[1:]]), extensions=["markdown.extensions.toc"])
title = translation_function.gettext(strings.documentation[0][:-1])
filename = "manual.html"
elif document_type == "changelog":
translation_file = "twblue-changelog"
translation_function = get_translation_function(translation_file, language)
markdown_file = markdown.markdown("\n".join([translation_function.gettext(s[:-1]) if s != "\n" else s for s in changelog.documentation[1:]]), extensions=["markdown.extensions.toc"])
title = translation_function.gettext(changelog.documentation[0][:-1])
filename = "changelog.html"
first_html_block = """<!doctype html>
<html lang="%s">
<head>
<title>%s</title>
<meta charset="utf-8">
</head>
<body>
<header><h1>%s</h1></header>
""" % (language, title, title)
first_html_block = first_html_block+ markdown_file
first_html_block = first_html_block + "\n</body>\n</html>"
if not os.path.exists(os.path.join("documentation", language)):
os.mkdir(os.path.join("documentation", language))
mdfile = _open(os.path.join("documentation", language, filename), "w", encoding="utf-8")
mdfile.write(first_html_block)
mdfile.close()
# Changelog translated languages.
changelog_languages = ["en", "ca", "de", "es", "eu", "fr", "gl", "ja", "ro", "ru", "sr"]
# this function will help us to have both strings.py and changelog.py without issues by installing a global dummy translation function.
def install_null_translation(name):
_ = gettext.NullTranslations()
_.install()
return
def get_translations(name):
""" Create translation instances for every language of the translated document. """
translations = {}
if "documentation" in name:
langs = documentation_languages
else:
langs = changelog_languages
for l in langs:
if l != "en":
_ = gettext.translation(name, os.path.join(paths.app_path(), "locales"), languages=[l])
translations[l] = _
else:
_ = gettext.NullTranslations()
translations[l] = _
return translations
def generate_document(lang, lang_name, document_type="documentation"):
""" Generates a document by using the provided lang object, which should be a translation, and lang_name, which should be the two letter code representing the language. """
if document_type == "documentation":
translation_file = "twblue-documentation"
markdown_file = markdown.markdown("\n".join([lang.gettext(s) if s != "" else s for s in strings.documentation[1:]]), extensions=["markdown.extensions.toc"])
title = lang.gettext(strings.documentation[0])
filename = "manual.html"
elif document_type == "changelog":
translation_file = "twblue-changelog"
markdown_file = markdown.markdown("\n".join([lang.gettext(s) if s != "" else s for s in changelog.documentation[1:]]), extensions=["markdown.extensions.toc"])
title = lang.gettext(changelog.documentation[0])
filename = "changelog.html"
first_html_block = """<!doctype html>
<html lang="%s">
<head>
<title>%s</title>
<meta charset="utf-8">
</head>
<body>
<header><h1>%s</h1></header>
""" % (lang_name, title, title)
first_html_block = first_html_block+ markdown_file
first_html_block = first_html_block + "\n</body>\n</html>"
if not os.path.exists(os.path.join("documentation", lang_name)):
os.mkdir(os.path.join("documentation", lang_name))
mdfile = open(os.path.join("documentation", lang_name, filename), "w", encoding="utf-8")
mdfile.write(first_html_block)
mdfile.close()
def create_documentation():
print("Creating documentation in the supported languages...\n")
if not os.path.exists("documentation"):
os.mkdir("documentation")
if os.path.exists(os.path.join("documentation", "license.txt")) == False:
shutil.copy(os.path.join("..", "license.txt"), os.path.join("documentation", "license.txt"))
for i in languages:
print("Creating documentation for: %s" % (i,))
try:
generate_document(i)
generate_document(i, "changelog")
except:
continue
print("Done")
changelog_translations = get_translations("twblue-changelog")
documentation_translations = get_translations("twblue-documentation")
print("Creating documentation in the supported languages...\n")
if not os.path.exists("documentation"):
os.mkdir("documentation")
if os.path.exists(os.path.join("documentation", "license.txt")) == False:
shutil.copy(os.path.join("..", "license.txt"), os.path.join("documentation", "license.txt"))
for i in documentation_languages:
print("Creating documentation for: %s" % (i,))
generate_document(lang_name=i, lang=documentation_translations.get(i))
for i in changelog_languages:
print("Creating changelog for: %s" % (i,))
generate_document(lang_name=i, lang=changelog_translations.get(i), document_type="changelog")
print("Done")
install_null_translation("twblue-documentation")
import strings
import changelog
create_documentation()

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-07 13:48-0500\n"
"Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2015-11-27 08:32-0600\n"
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
"Language-Team: Mohammed Al Shara <mohammed@atexplorer.com>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TWBlue-Changelog V0.93\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 11:46+0200\n"
"Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n"
"Language-Team: Fran Torres Gallego. <frantorresgallego@gmail.com>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.89\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-03-25 15:15+0100\n"
"Last-Translator: Joan Rabat <joanrabat@hotmail.com>\n"
"Language-Team: Francisco Torres Gallego <frantorresgallego@gmail.com>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-11-17 10:25+0100\n"
"Last-Translator: Nicolai Svendsen <chojiro1990@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2019-03-17 16:39+0100\n"
"Last-Translator: Steffen Schultz <steffenschultz@mailbox.org>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TWBlue Documentation\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 11:01+0200\n"
"Last-Translator: Steffen Schultz <schulle3o@yahoo.de>\n"
"Language-Team: Steffen Schultz <schulle3o@yahoo.de>\n"

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: twblue-documentation 0.84\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2019-05-06 23:06+0200\n"
"Last-Translator: José Manuel Delicado <jmdaweb@hotmail.com>\n"
"Language-Team: Spanish <manuel@manuelcortez.net>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-07 13:51-0500\n"
"Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n"
"Language-Team: \n"

View File

@@ -1,635 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR ORGANIZATION
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2017-07-08 16:25+Hora de verano central (Mxico)\n"
"PO-Revision-Date: 2017-07-15 19:44+0200\n"
"Last-Translator: Sukil Etxenike <sukiletxe@yahoo.es>\n"
"Language-Team: \n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 2.0.1\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../doc/changelog.py:3
msgid "TWBlue Changelog"
msgstr "TwBlueren aldaketak"
#: ../doc/changelog.py:4
msgid "## changes in this version"
msgstr "## Aldaketak bertsio honetan"
#: ../doc/changelog.py:5
msgid ""
"* TWBlue will show an error when trying to open a timeline for a suspended "
"user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))"
msgstr ""
"* TWBluek errore bat erakutsiko du ezabatutako erabiltzaile batn denbora "
"lerro bat irekitzen saiatzean . ([#128](https://github.com/manuelcortez/"
"TWBlue/issues/128))"
#: ../doc/changelog.py:6
msgid ""
"* Removed TwUp as service as it no longer exists. ([#112](https://github.com/"
"manuelcortez/TWBlue/issues/112))"
msgstr ""
"* TwUp zerbitzua kendu da, jada ez delako existitzen. ([#112](https://github."
"com/manuelcortez/TWBlue/issues/112)) "
#: ../doc/changelog.py:7
msgid ""
"* Release audio files after uploading them. ([#130](https://github.com/"
"manuelcortez/TWBlue/issues/130))"
msgstr ""
"* Orain audio fitxategiak askatzen dira igo ondoren. ([#130](https://github."
"com/manuelcortez/TWBlue/issues/130))"
#: ../doc/changelog.py:8
msgid ""
"* Now TWBlue will use Yandex's translation services instead microsoft "
"translator. ([#132](https://github.com/manuelcortez/TWBlue/issues/132))"
msgstr ""
"* Orain TWBluek Yandexen itzultzailea erabiltzen du Microsoften "
"itzultzailearen ordez. ([#132](https://github.com/manuelcortez/TWBlue/"
"issues/132))"
#: ../doc/changelog.py:9
msgid ""
"* SndUp users will be able to upload audio in their account by using their "
"API Key again. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))"
msgstr ""
"* SndUp-en erabiltzaileek orain audioak igo ditzakete haien API kodea "
"erabilita. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))"
#: ../doc/changelog.py:10
msgid ""
"* old tweets shouldn't be added as new items in buffers. ([#116,](https://"
"github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://github.com/"
"manuelcortez/TWBlue/issues/133))"
msgstr ""
"* Txio zaharrak ez lirateke buferretan elementu berri gisa agertu behar. "
"([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://"
"github.com/manuelcortez/TWBlue/issues/133))"
#: ../doc/changelog.py:11
msgid ""
"* All mentionned users should be displayed correctly in Twishort's long "
"tweets. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#135]"
"(https://github.com/manuelcortez/TWBlue/issues/135))"
msgstr ""
"* Aipatutako erabiltzaile guztiak ondo agertu beharko lirateke Tuishort-en "
"txio luzeetan. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) "
"([#135](https://github.com/manuelcortez/TWBlue/issues/135))"
#: ../doc/changelog.py:12
msgid ""
"* It is possible to select a language for OCR service from the extras panel, "
"in the account settings dialogue. You can, however, set this to detect "
"automatically. OCR should work better in languages with special characters "
"or non-english symbols. ([#107](https://github.com/manuelcortez/TWBlue/"
"issues/107))"
msgstr ""
#: ../doc/changelog.py:13
msgid ""
"* Fixed a problem with JAWS for Windows and TWBlue. Now JAWS will work "
"normally in this update. [#100](https://github.com/manuelcortez/twblue/"
"issues/100)"
msgstr ""
#: ../doc/changelog.py:14
msgid "* And more ([#136,](https://github.com/manuelcortez/TWBlue/issues/136))"
msgstr ""
#: ../doc/changelog.py:15
msgid "## Changes in version 0.90"
msgstr ""
#: ../doc/changelog.py:16
msgid ""
"* Fixed a bug in long tweet parsing that was making TWBlue to disconnect the "
"streaming API. ([#103](https://github.com/manuelcortez/TWBlue/issues/103))"
msgstr ""
#: ../doc/changelog.py:17
msgid ""
"* Now OCR will work in images from retweets. It fixes a bug where TWBlue was "
"detecting images but couldn't apply OCR on them. ([#105](https://github.com/"
"manuelcortez/TWBlue/issues/105))"
msgstr ""
#: ../doc/changelog.py:18
msgid ""
"* TWBlue won't try to load tweets already deleted, made with Twishort. "
"Before, if someone posted a long tweet but deleted it in the Twishort's "
"site, TWBlue was trying to load the tweet and it was causing problems in all "
"the client. ([#113](https://github.com/manuelcortez/TWBlue/issues/113))"
msgstr ""
#: ../doc/changelog.py:19
msgid ""
"* TWBlue shows an error message when you try to view the profile of an user "
"that does not exist or has been suspended. ([#114,](https://github.com/"
"manuelcortez/TWBlue/issues/114) [#115](https://github.com/manuelcortez/"
"TWBlue/issues/115))"
msgstr ""
#: ../doc/changelog.py:20
msgid ""
"* The spellchecker module should select the right language when is set to "
"\"user default\". ([#117](https://github.com/manuelcortez/TWBlue/issues/117))"
msgstr ""
#: ../doc/changelog.py:21
msgid ""
"* Image description will be displayed in retweets too. ([#119](https://"
"github.com/manuelcortez/TWBlue/issues/119))"
msgstr ""
#: ../doc/changelog.py:22
msgid ""
"* When reading a long tweet, you shouldn't read strange entities anymore. "
"([#118](https://github.com/manuelcortez/twblue/issues/118))"
msgstr ""
#: ../doc/changelog.py:23
msgid ""
"* TWBlue will not try to load timelines if the user is blocking you. ([#125]"
"(https://github.com/manuelcortez/twblue/issues/125))"
msgstr ""
#: ../doc/changelog.py:24
msgid "## Changes in version 0.88 and 0.89"
msgstr ""
#: ../doc/changelog.py:25
msgid "* Fixed more issues with streams and reconnections."
msgstr ""
#: ../doc/changelog.py:26
msgid "* newer updates will indicate the release date in the updater."
msgstr ""
#: ../doc/changelog.py:27
msgid ""
"* Changes to keystrokes are reflected in keystroke editor automatically."
msgstr ""
#: ../doc/changelog.py:28
msgid ""
"* In replies with multiple users, if the mention to all checkbox is "
"unchecked, you will see a checkbox per user so you will be able to control "
"who will be mentioned in the reply."
msgstr ""
#: ../doc/changelog.py:29
msgid ""
"* Fixed a bug that caused duplicated user mentions in replies when the tweet "
"was made with Twishort."
msgstr ""
#: ../doc/changelog.py:30
msgid ""
"* Retweets should be displayed normally again when the originating tweet is "
"a Twishort's long tweet."
msgstr ""
#: ../doc/changelog.py:31
msgid ""
"* Changed the way TWBlue saves user timelines in configuration. Now it uses "
"user IDS instead usernames. With user IDS, if an user changes the username, "
"TWBlue still will create his/her timeline. This was not possible by using "
"usernames."
msgstr ""
#: ../doc/changelog.py:32
msgid ""
"* Added a new setting in the account settings dialogue that makes TWBlue to "
"show twitter usernames instead the full name."
msgstr ""
#: ../doc/changelog.py:33
msgid ""
"* Added OCR in twitter pictures. There is a new item in the tweet menu that "
"allows you to extract and display text in images. Also the keystroke alt+Win"
"+o has been added for the same purpose from the invisible interface."
msgstr ""
#: ../doc/changelog.py:34
msgid "* Now TWBlue will play a sound when the focused tweet contains images."
msgstr ""
#: ../doc/changelog.py:35
msgid ""
"* Your own quoted tweets will not appear in the mentions buffer anymore."
msgstr ""
#: ../doc/changelog.py:36
msgid ""
"* The config file is saved in a different way, it should fix the bug where "
"TWBlue needs to be restarted after the config folder is deleted."
msgstr ""
#: ../doc/changelog.py:37
msgid "* Mentioning people from friends or followers buffers works again."
msgstr ""
#: ../doc/changelog.py:38
msgid ""
"* Support for proxy servers has been improved. Now TWBlue supports http, "
"https, socks4 and socks5 proxies, with and without autentication."
msgstr ""
#: ../doc/changelog.py:39
msgid "## Changes in version 0.87"
msgstr ""
#: ../doc/changelog.py:40
msgid "* Fixed stream connection errors."
msgstr ""
#: ../doc/changelog.py:41
msgid ""
"* Now TWBlue can handle properly a reply to the sender without including all "
"other mentioned users."
msgstr ""
#: ../doc/changelog.py:42
msgid "* Updated translations."
msgstr ""
#: ../doc/changelog.py:43
msgid ""
"* The status of the mention to all checkbox will be remembered the next time "
"you reply to multiple users."
msgstr ""
#: ../doc/changelog.py:44
msgid "## Changes in version 0.86"
msgstr ""
#: ../doc/changelog.py:45
msgid ""
"* Fixed a very important security issue. Now TWBlue will send tweets to "
"twishort without using any other server."
msgstr ""
#: ../doc/changelog.py:46
msgid ""
"* When you add a comment to a tweet, it will be sent as a quoted tweet, even "
"if your reply plus the original tweet is not exceeding 140 characters."
msgstr ""
#: ../doc/changelog.py:47
msgid ""
"* Updated windows 10 keymap for reflecting changes made in the last windows "
"10 build."
msgstr ""
#: ../doc/changelog.py:48
msgid "* Added last changes in the twitter API."
msgstr ""
#: ../doc/changelog.py:49
msgid ""
"* When replying, it will not show the twitter username in the text box. When "
"you send the tweet, the username will be added automatically."
msgstr ""
#: ../doc/changelog.py:50
msgid ""
"* When replying to multiple users, you'll have a checkbox instead a button "
"for mentioning all people. If this is checked, twitter usernames will be "
"added automatically when you send your reply."
msgstr ""
#: ../doc/changelog.py:51
msgid "## Changes in version 0.85"
msgstr ""
#: ../doc/changelog.py:52
msgid "* Long and quoted tweets should be displayed properly In lists."
msgstr ""
#: ../doc/changelog.py:53
msgid "* The connection should be more stable."
msgstr ""
#: ../doc/changelog.py:54
msgid "* Added an autostart option in the global settings dialogue."
msgstr ""
#: ../doc/changelog.py:55
msgid "* Updated translation."
msgstr ""
#: ../doc/changelog.py:56
msgid "* Updated russian documentation."
msgstr ""
#: ../doc/changelog.py:57
msgid "* Tweets in cached database should be loaded properly."
msgstr ""
#: ../doc/changelog.py:58
msgid "* Added some missed dictionaries for spelling correction."
msgstr ""
#: ../doc/changelog.py:59
msgid ""
"* Timelines, lists and other buffer should be created in the right order at "
"startup."
msgstr ""
#: ../doc/changelog.py:60
msgid "## Changes in version 0.84 "
msgstr ""
#: ../doc/changelog.py:61
msgid "* More improvements in quoted and long tweets."
msgstr ""
#: ../doc/changelog.py:62
msgid ""
"* Updated translations: Russian, Italian, French, Romanian, Galician and "
"Finnish."
msgstr ""
#: ../doc/changelog.py:63
msgid ""
"* Improvements in the audio uploader module: Now it can handle audio with "
"non-english characters."
msgstr ""
#: ../doc/changelog.py:64
msgid ""
"* the title of the window should be updated properly when spellcheck, "
"translate or shorten/unshorten URL buttons are pressed."
msgstr ""
#: ../doc/changelog.py:65
msgid ""
"* the bug that changes the selected tweet in the home timeline shouldn't be "
"happening so often."
msgstr ""
#: ../doc/changelog.py:66
msgid "## Changes in version 0.82 and 0.83"
msgstr ""
#: ../doc/changelog.py:67
msgid ""
"* If the tweet source (client) is an application with unicode characters "
"(example: российская газета) it will not break the tweet displayer."
msgstr ""
#: ../doc/changelog.py:68
msgid ""
"* Added a new field for image description in tweet displayer. When "
"available, it will show description for images posted in tweets."
msgstr ""
#: ../doc/changelog.py:69
msgid ""
"* users can add image descriptions to their photos. When uploading an image, "
"a dialog will show for asking a description."
msgstr ""
#: ../doc/changelog.py:70
msgid "* Redesigned upload image dialog."
msgstr ""
#: ../doc/changelog.py:71
msgid "* Fixed photo uploads when posting tweets."
msgstr ""
#: ../doc/changelog.py:72
msgid ""
"* When getting tweets for a conversation, ignores deleted tweets or some "
"errors, now TWBlue will try to get as much tweets as possible, even if some "
"of these are no longer available."
msgstr ""
#: ../doc/changelog.py:73
msgid "* Added audio playback from soundcloud."
msgstr ""
#: ../doc/changelog.py:74
msgid "* Now the session mute option don't makes the screen reader speaks."
msgstr ""
#: ../doc/changelog.py:75
msgid "* Fixed the direct message dialog. Now it should be displayed properly."
msgstr ""
#: ../doc/changelog.py:76
msgid ""
"* when a tweet is deleted in twitter, TWBlue should reflect this change and "
"delete that tweet in every buffer it is displayed."
msgstr ""
#: ../doc/changelog.py:77
msgid ""
"* If your session is broken, TWBlue will be able to remove it automatically "
"instead just crashing."
msgstr ""
#: ../doc/changelog.py:78
msgid "* audio uploader should display the current progress."
msgstr ""
#: ../doc/changelog.py:79
msgid ""
"* users can disable the check for updates feature at startup from the "
"general tab, in the global settings dialogue."
msgstr ""
#: ../doc/changelog.py:80
msgid ""
"* The invisible interface and the window should be synchronized when the "
"client reconnects."
msgstr ""
#: ../doc/changelog.py:81
msgid "* The documentation option in the systray icon should be enabled."
msgstr ""
"* Sistemaren ikonoetako dokumentazioa ikusteko aukera erabilgarria egon "
"beharko litzateke."
#: ../doc/changelog.py:82
msgid ""
"* In trending buffers, you can press enter for posting a tweet about the "
"focused trend."
msgstr ""
"* Tendentzien buferretan, enter saka dezakezu enfokatutako tendentziari "
"buruz txio bat argitaratzeko."
#: ../doc/changelog.py:83
msgid ""
"* Updated russian documentation and main program interface (thanks to "
"Natalia Hedlund (Наталья Хедлунд), [@lifestar_n](https://twitter.com/"
"lifestar_n) in twitter)"
msgstr ""
#: ../doc/changelog.py:84
msgid "* updated translations."
msgstr "* Itzulpenak eguneratuak izan dira."
#: ../doc/changelog.py:85
msgid "## Changes in Version 0.81"
msgstr "## 0.81bertsioaren aldaketak"
#: ../doc/changelog.py:86
msgid "* Updated translations"
msgstr "* Itzulpenak eguneratuak izan dira"
#: ../doc/changelog.py:87
msgid ""
"* The updater module has received some improvements. Now it includes a "
"Mirror URL for checking updates if the main URL is not available at the "
"moment. If something is wrong and both locations don't work, the program "
"will start anyway."
msgstr ""
#: ../doc/changelog.py:88
msgid "* some GUI elements now use keyboard shortcuts for common actions."
msgstr ""
"* Interfaze grafikoko elementu batzuek lasterbide teklak dituzte ohiko "
"ekintzetarako."
#: ../doc/changelog.py:89
msgid "* fixed a bug in the geolocation dialog."
msgstr "* Errore bat konpondu da geottxioen elkarrizketa-koadroan."
#: ../doc/changelog.py:90
msgid "* the chicken nugget keymap should work properly."
msgstr "* Chicken Nuggetaren teklatu-mapak ondo funtzionatu beharko luke."
#: ../doc/changelog.py:91
msgid ""
"* Added a new soundpack to the default installation of TWBlue, thanks to "
"[@Deng90](https://twitter.com/deng90)"
msgstr ""
"* Soinu pakete berri bat gehitu zaio TWBlueren lehenetsitako instalazioari, "
"eskerrak [@Deng90](https://twitter.com/deng90)"
#: ../doc/changelog.py:92
msgid "* Now the changelog is written in an html File."
msgstr "* Orain aldaketen fitxategia html fitxategi bat da."
#: ../doc/changelog.py:93
msgid ""
"* Added some missed dictionaries in last version for the spell checking "
"feature."
msgstr ""
"* Aurreko bertsioan falta ziren hiztegi batzuk gehitu dira, zuzentzaleak "
"erabiltzen dituenak."
#: ../doc/changelog.py:94
msgid ""
"* Trimmed the beginnings of the sounds in the default soundpack. Thanks to "
"[@masonasons](https://github.com/masonasons)"
msgstr ""
"* ehenetsitako soiinu paketearen soinuen hasierak moztu dira. Eskerrak "
"[@masonasons-i.](https://github.com/masonasons)"
#: ../doc/changelog.py:95
msgid ""
"* Added Opus support for sound playback in TWBlue. Thanks to [@masonasons]"
"(https://github.com/masonasons)"
msgstr ""
"* Opus formatua erreproduzi daiteke, eskerrak [@masonasons-i.](https://"
"github.com/masonasons)."
#: ../doc/changelog.py:96
msgid ""
"* Added a source field in view tweet dialogue. Thanks to [@masonasons]"
"(https://github.com/masonasons)"
msgstr ""
"* \"Iturria\" gehitu zaio txioa erakusteko elkarrizketa koadroari. Eskerrak "
"[@masonasons-i.](https://github.com/masonasons)"
#: ../doc/changelog.py:97
msgid ""
"* You can load previous items in followers and friend buffers for others."
msgstr ""
"* Aurreko elementuak karga ditzakezu besteen jarraitzaile eta lagunen "
"buferretan."
#: ../doc/changelog.py:98
msgid ""
"* The Spell Checker dialogue should not display an error message when you "
"have set \"default language\" in the global settings dialogue if your "
"language is supported [#168](http://twblue.es/bugs/view.php?id=168)"
msgstr ""
"* Zuzentzailearen elkarrizketa-koadroak ez luke errorerik erakutsi behar "
"aukera globaletan \"Lehenetsitako hizkuntza\" aukeratua dagoenean eta zure "
"hizkuntza erabilgarria denean [#168](http://twblue.es/bugs/view.php?id=168)"
#: ../doc/changelog.py:99
msgid "* Updated romanian translation."
msgstr "* Errumaniera itzulpena eguneratua izan da."
#: ../doc/changelog.py:100
msgid "* Some code cleanups."
msgstr "* Kode garbiketa batzuk."
#: ../doc/changelog.py:101
msgid "* The bug reports feature is fully operational again."
msgstr "* Arazoez informatzeko ezaugarriak berriz funtzionaten du"
#: ../doc/changelog.py:102
msgid ""
"* TWBlue should work again for users that contains special characters in "
"windows usernames."
msgstr ""
"* TWBluek berriz funtzionatu beharko luke haien Windows erabiltzaile-"
"izenetan karaktere bereziak dituzten erabiltzaileentzat."
#: ../doc/changelog.py:103
msgid "* Added more options for the tweet searches."
msgstr "* Txioen bilaketarako aukera gehiago gehitu dira."
#: ../doc/changelog.py:104
msgid "* Added play_audio to the keymap editor."
msgstr "* play_audio teklatu-mapen editorera gehitua izan da."
#: ../doc/changelog.py:105
msgid "* Windows key is no longer required in the keymap editor"
msgstr "* Windows tekla ez da jada bearrezkoa teklatu-mapen editorean."
#: ../doc/changelog.py:106
msgid "* Switched to the Microsoft translator."
msgstr "* Microsoften itzultzailera aldatu gara."
#: ../doc/changelog.py:107
msgid ""
"* You can update the current buffer by pressing ctrl+win+shift+u in the "
"default keymap or in the buffer menu."
msgstr ""
"* Enfokatutako uferra ktrl+shift+win+u sakatuta (lehenetsitako teklatu-"
"mapak) edo menuan eguneratu daitezke."
#: ../doc/changelog.py:108
msgid "* Changed some keystrokes in the windows 10 default keymap"
msgstr ""
"* Lasterbide-tekla batzuk aldatuak izan dira Windows 10erako teklatu-mapan."
#: ../doc/changelog.py:109
msgid "* New followers and friends buffer for user timelines."
msgstr ""
"* Jarraitzaileen eta lagunen bufer berria erabiltzaileen denbora-lerroentzat."
#: ../doc/changelog.py:110
msgid "---"
msgstr "---"
#: ../doc/changelog.py:111
msgid "Copyright © 2014-2017, Manuel Cortez."
msgstr "Copyright © 2014-2017, Manuel Cortez."

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2015-11-27 08:33-0600\n"
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
"Language-Team: Sukil Echenique <sukiletxe@yahoo.es>\n"

Binary file not shown.

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-07 13:52-0500\n"
"Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n"
"Language-Team: \n"

Binary file not shown.

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-27 16:37+0200\n"
"Last-Translator: Jani Kinnunen <jani.kinnunen@wippies.fi>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: twblue-changelog 0.93\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estándar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2019-07-22 16:16+0200\n"
"Last-Translator: Corentin BACQUÉ-CAZENAVE <corentin@progaccess33.net>\n"
"Language-Team: Corentin BACQUÉ-CAZENAVE <corentin@progaccess.net>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.88\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-11 12:25+0200\n"
"Last-Translator: Rémy Ruiz <remyruiz@gmail.com>\n"
"Language-Team: Rémy Ruiz <remyruiz@gmail.com>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2019-05-12 22:19+0100\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: tw blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 11:34+0100\n"
"Last-Translator: Juan C. Buño <oprisniki@gmail.com>\n"
"Language-Team: Alba Quinteiro <alba_080695@hotmail.com>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-12-11 11:07-0600\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2015-11-27 08:34-0600\n"
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-12-11 11:07-0600\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-09 11:51+0100\n"
"Last-Translator: Chris Leo Mameli <llajta2012@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 19:52+0900\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 19:09+0900\n"
"Last-Translator: Masamitsu Misono <misono@nvsupport.org>\n"
"Language-Team: NVDA Help Desk <nvdahelp@center-aikoh.net>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-12-11 11:08-0600\n"
"Last-Translator: zvonimir stanecic <zvonimirek222@yandex.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-01-22 21:42+0100\n"
"Last-Translator: Zvonimir Stanečić <zvonimirek222@yandex.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2017-12-11 11:08-0600\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2015-11-27 08:35-0600\n"
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
"Language-Team: \n"

View File

@@ -1,285 +0,0 @@
% Documentação do TW Blue 0.42
# Versão 0.42 (alpha)
# ¡Perigro!
Você está lendo um documento gerado para uma aplicação em fase de desenvolvimento. A intenção deste manual é esclarecer alguns detalhes sobre o funcionamento do programa. Note-se que sendo desenvolvido ativamente, o software pode mudar um pouco em relação a esta documentação num futuro próximo. Por isso é aconselhável dar uma olhada de vez em quando para não se perder muito.
Si quieres ver lo que ha cambiado con respecto a la versión anterior, [lee la lista de novedades aquí.](changes.html)
# TW Blue
TW Blue é um aplicativo para utilizar o Twitter de forma simples e rápida, além de evitar tanto quanto possível consumir demasiados recursos do computador. Com ele é possível realizar ações do Twitter, tais como:
* Crear, responder, reenviar y eliminar Tuits,
* Marcar como favorito, eliminar de tus favoritos un tuit,
* Enviar y eliminar mensajes directos,
* Ver tus amigos y seguidores,
* Seguir, dejar de seguir, reportar como spam y bloquear a un usuario,
* Abrir una línea temporal para un usuario, lo que permite obtener todos los Tuits de ese usuario únicamente,
* Abrir direcciones URL cuando vayan en un tuit o mensaje directo,
* Reproducir varios tipos de archivos o direcciones que contengan audio.
* Y más.
# Tabla de contenidos
Para poder utilizar una aplicación como TW Blue que te permita gestionar una cuenta de Twitter, primero tienes que estar registrado en esta red social. Esta documentación no tiene como objetivo explicar el procedimiento para hacerlo. Partiremos desde el punto que tienes una cuenta con su respectivo nombre de usuario y contraseña. La documentación cubrirá estas secciones.
* [Autorizar la aplicación](#autorizar)
* [La interfaz del programa](#interfaz)
* [Controles](#controles)
* [La interfaz gráfica (GUI)](#gui)
* [Botones de la aplicación](#botones)
* [Menús](#menus)
* [Menú aplicación](#app)
* [Menú Tuit](#tuit)
* [Menú Usuario](#usuario)
* [Menú buffer](#buffer)
* [Menú ayuda](#ayuda)
* [La interfaz No Visible](#interfaz_no_visible)
* [Atajos de Teclado para la Interfaz Gráfica](#atajos)
* [Atajos de Teclado para la Interfaz no Visible](#atajos_invisibles)
* [Listas](#listas)
* [Reportando Errores desde la web](#reportar)
* [Contacto](#contacto)
## Autorizando la aplicación {#autorizar}
Antes de nada, lo primero que se necesita es autorizar al programa para que este pueda acceder a tu cuenta de Twitter, y desde ella realizar lo que le pidas. El proceso de autorización es bastante sencillo, y en ningún momento el programa podrá tener acceso a tus datos como usuario y contraseña. Para autorizar la aplicación, solo tienes que abrir el archivo principal del programa, llamado TW Blue.exe (en algunos PC, solo se muestra como TW Blue).
Al hacerlo, si no has configurado ninguna vez el programa, se mostrará un cuadro de diálogo donde te informa que serás llevado a Twitter para autorizar la aplicación una vez pulses sobre "aceptar". Para empezar con el proceso de autorización presiona sobre el único botón de ese diálogo.
A continuación, tu navegador predeterminado se abrirá con la página de Twitter solicitándote autorizar la aplicación. Escribe, si no estás autenticado ya, tu nombre de usuario y contraseña, luego busca el botón autorizar, y presiónalo.
De la página a la que serás redirigido (si el proceso ha tenido éxito), busca las instrucciones que te proporciona Twitter. En resumen, te dará un código numérico de varios dígitos que deberás pegar en un cuadro de texto que la aplicación ha abierto en otra ventana.
Pega el código de verificación, y pulsa la tecla Intro.
Si todo ha salido bien, la aplicación empezará a reproducir un grupo de sonidos en señal que se están actualizando tus datos.
Cuando termine, el programa reproducirá otro sonido, y el lector de pantalla dirá "listo".
## La interfaz del programa {#interfaz}
La forma más simple de describir la interfaz gráfica de la aplicación es la de una ventana con una barra de menú con cinco menús (aplicación, tuit, usuario, buffer y ayuda); una lista de varios elementos y en la mayoría de los casos tres botones. Tuit, retuit y responder. Las acciones para cada uno de estos elementos serán descritas más adelante.
Los elementos que hay en las listas pueden ser Tuits, mensajes directos o usuarios. TW Blue crea diferentes pestañas para cada lista, pues estos elementos pueden ser Tuits enviados, Tuits recividos en la línea principal, favoritos, o mensajes directos, y cada pestaña tiene un solo tipo de Tuit. Estas pestañas se llaman listas o buffers.
Para cambiar entre las listas se hace presionando Control+Tab si se desea avanzar, y Control+Shift+Tab para retroceder. En todo momento los lectores de pantalla anunciarán la lista hacia la que se cambie el foco de la aplicación. Aquí están las listas básicas de TW Blue, que aparecen si se usa la configuración por defecto.
* Principal: Aquí van todos los Tuits que se muestran en la línea principal. Estos son los Tuits de los usuarios a los que sigues.
* Menciones: Si un usuario (lo sigas o no) te menciona en Twitter, lo verás en esta lista.
* Mensajes directos: Aquí están los mensajes directos (privados) que intercambias con los usuarios que sigues y te siguen. Esta lista solo muestra los mensajes recividos.
* Enviados: En esta lista se muestran todos los Tuits y mensajes directos que se han enviado desde tu cuenta.
* Favoritos: Aquí verás los Tuits que has marcado como favoritos.
* Seguidores: Cuando los usuarios sigan tu cuenta, podrás verlos en esta lista, junto con un poco de información de la cuenta.
* Amigos: Igual que la lista anterior, pero estos usuarios son a los que tú sigues.
* Eventos: Un evento en TW Blue es "algo" que pase en Twitter. En la línea de eventos, podrás ver registrados los eventos más comunes (p. Ej. Te han comenzado a seguir, han marcado o removido un tweet tuyo de los favoritos, te has suscrito a una lista). Son como pequeñas notificaciones que envía Twitter y TW Blue organiza para que no te pierdas lo que ha pasado con tu cuenta.
* Línea temporal de un usuario: Estas son listas que tú deberás crear. Es una lista que contiene únicamente los Tuits de un usuario. Se usan si algún día necesitas o quieres ver los Tuits que ha realizado solo una persona y no deseas buscar por todo tu timeline. Puedes crear tantas como usuarios necesites.
* Lista: Una lista es parecida a una línea temporal, pero compuesta por los tweets de cada usuario que forme parte de ella. De momento las listas son una característica experimental de TW Blue. Si experimentas problemas con ellas, por favor escríbenos para contárnoslo.
* Búsqueda: Un buffer de búsqueda contiene los resultados de una búsqueda hecha en TW Blue. Las búsquedas pueden ser por tuits, en cuyo caso buscas un término en los tuits relevantes de Twitter, o por usuarios, donde los resultados son nombres de usuario de Twitter.
* Favoritos de un usuario: Es posible pedirle a TW Blue que te muestre los tuits que un usuario ha marcado como favoritos.
Nota: Únicamente para esta versión de TW Blue, los amigos y seguidores actualizarán hasta 400, o cerca a los 400. En la próxima versión proporcionaremos un método para ver los amigos y seguidores sin exponerse tanto a los errores causados por el uso de la API de Twitter, muy frecuente entre personas con más de 600 amigos o seguidores.
Ten en cuenta que por defecto la configuración solo permite obtener los 200 últimos Tuits para las listas principal, menciones, mensajes directos y líneas temporales. Esto puedes cambiarlo desde el diálogo de configuración. Para los enviados se obtendrán los últimos 200 Tuits y 200 mensajes directos. En versiones futuras se permitirá ajustar este parámetro.
Si hay una dirección URL en algún tuit, TW Blue intentará abrirla cuando presiones Intro sobre ella. Si hay más de una, te mostrará una lista con todas para que selecciones la que quieras abrir. Si estás en el cuadro de diálogo de los amigos o seguidores, la tecla intro te mostrará detalles del mismo.
Si pulsas Control+Intro, TW Blue intentará reproducir el audio que tenga el tuit sobre el que está el foco del sistema, siempre que tenga una URL. Si el tuit lleva la etiqueta #audio, un sonido al pasar por él te alertará que es un audio y puedes intentar reproducirlo. No obstante, también puede que no esté etiquetado y que TW Blue pueda reproducirlo, siempre que lleve a una dirección URL donde exista audio.
## Controles {#controles}
A partir de la versión 0.36, existe soporte para una interfaz que no requiere de una ventana visible. Esta puede ser activada pulsando Control+m, o seleccionando desde el menú aplicación la opción "Esconder ventana". Esta interfaz se maneja completamente con atajos de teclado. Estos atajos son diferentes a los que se utilizan para la interfaz gráfica. Cada una de ellas podrá utilizar solo los atajos que le correspondan, lo que quiere decir que no se permitirá utilizar los atajos de la interfaz no visible si se tiene activada la interfaz gráfica. En esta sección se detallará tanto la interfaz gráfica como la no visible.
### Interfaz gráfica (GUI) {#gui}
Aquí una lista dividida en dos partes. Por un lado, los botones que encontrarás si presionas Tab o Shift+Tab en la interfaz del programa, y por otro, los diferentes elementos que hay en la barra de menú.
#### Botones de la aplicación {#botones}
* Twit: Este botón abre el diálogo para escribir un tuit. El mensaje solo debe tener 140 caracteres. Al escribir el caracter número 141, un sonido será reproducido para indicarte que te has pasado del límite permitido por Twitter. Puedes querer acortar o desacortar una URL si la incluye tu tuit a fin de ganar más espacio donde escribir, para eso están los botones con esos nombres. Pulsa Intro para enviar el tuit. Si todo sale bien, el mensaje se enviará y tú escucharás un sonido que te lo confirme, si no, el lector de pantalla te responderá con un error en inglés, que indica por qué no se ha podido enviar el mensaje.
* Retuit: Este botón se encarga de reenviar el tuit sobre el que estás leyendo. Al presionarlo se te preguntará si deseas añadirle un comentario al tuit original (citándolo) o simplemente enviarlo como se ha escrito sin añadir nada más.
* Responder: Cuando estés visualizando un Tuit, puedes responderle al usuario que lo escribió pulsando sobre este botón. Se abrirá el mismo diálogo de Tuit, pero con el nombre del usuario (por ejemplo @usuario) en el, para que solo escribas el mensaje que quieres responderle. Si en el tuit hay más de un usuario mencionado, pulsa Shift+Tab y pulsa el botón "Mencionar a todos los usuarios". Cuando estés en la lista de amigos o seguidores, este botón se llamará mencionar.
* mensaje directo: Exactamente igual que enviar un Tuit, pero es un mensaje privado que solo podrá ver el usuario al que se lo envías. Pulsa Shift+Tab para ver el destinatario de tu mensaje. Si en el Tuit donde estabas para enviar el mensaje había más de un usuario mencionado, puedes navegar con las flechas de arriba y abajo para seleccionar otro, o escribir tú mismo el usuario (sin el signo de arroba).
Ten en cuenta que los botones aparecerán según las acciones que se puedan hacer en la lista donde estés. Por ejemplo, en la línea principal, menciones, enviados, favoritos y las líneas temporales de los usuarios podrás ver los cuatro botones; mientras que en la lista de mensajes directos solo estará disponible el botón de "Mensaje Directo" y "tuit", y en las listas de amigos y seguidores, se verá el botón para "Twit" y el de "Mensaje directo" junto a "mencionar".
#### Menús {#menus}
En la parte superior de la ventana del programa podrás encontrar una barra de menú que hace las mismas cosas, y algunas cuantas más. A la barra de menú se accede presionando la tecla ALT, y cuenta en este momento con cuatro menús para diferentes acciones: Aplicación, Tuit, usuario y Ayuda. En esta sección se describen las acciones para cada uno de ellos.
##### Menú aplicación {#app}
* Actualizar Perfil: Abre un diálogo desde donde se podrá actualizar parte de tu información en Twitter. Nombre, ubicación, dirección URL y descripción. Si ya tienes alguno de estos campos actualmente en el perfil se llenarán automáticamente con lo que tiene tu configuración de Twitter. También podrás subir una foto a tu perfil.
* Esconder Ventana: Desactiva la interfaz gráfica. Lee el apartado sobre la interfaz no visible para más detalles sobre este comportamiento.
* Búsqueda: Muestra un cuadro de diálogo desde donde puedes buscar por tuits o por usuarios en twitter.
* Gestor de listas: Para poder utilizar las listas de Twitter, primero necesitarás crearlas. Este diálogo permite ver tus listas, editarlas, crearlas, borrarlas y, opcionalmente, verlas en buffers tal como lo harías con las líneas temporales.
* Tutorial de sonidos: Abre un diálogo donde verás una lista de los sonidos de TW blue, para que puedas aprenderlos y no te cueste trabajo familiarizarte con TW Blue.
* Preferencias: Abre un diálogo de configuración desde donde se pueden controlar algunos aspectos del programa. Las opciones no necesitan de explicación.
* Salir: pregunta si quieres salir o no del programa. Si la respuesta es que sí, cierra la aplicación.
##### Menú Tuit {#tuit}
* Las primeras opciones del menú son Twit, responder y retuit, que corresponden a los botones del mismo nombre.
* Marcar como favorito: Marca el tuit que estés viendo como favorito.
* Quitar tuit de favoritos: Elimina el tuit de tus favoritos. Esto no significa que se borra de Twitter, solo deja de estar en tu lista de favoritos.
* Ver Tuit: Abre un diálogo donde puedes ver el Tuit, mensaje directo, amigo o seguidor sobre el que esté el foco de la aplicación. Puedes leer el texto con los cursores. El diálogo es el mismo que el que se usa para escribir un Tuit.
* Eliminar: Elimina el Tuit o mensaje directo sobre el que estés, borrándolo definitivamente de Twitter y qitándolo de tus listas. Ten en cuenta que en el caso de los Tuits, Twitter solo permite borrar los que tú mismo has escrito.
##### Menú usuario {#usuario}
Ten en cuenta que las primeras seis opciones de este menú abren un mismo diálogo. Este diálogo tiene un cuadro de edición donde puedes seleccionar el usuario sobre el que deseas actuar, bien con los cursores arriba y abajo o escribiendo tú mismo el nombre. Después, hay un grupo de botones de radio para seguir, dejar de seguir, silenciar, des-silenciar, reportar como Spam y bloquear. Si seleccionas desde el menú la opción seguir, el botón del cuadro de diálogo estará marcado con esa opción, así como sucederá respectivamente con dejar de seguir, reportar como Spam y bloquear. Pulsa el botón Aceptar para que el programa trate de hacer lo que le pides. Si no se ha podido, escucharás el error en inglés.
A continuación se describen las opciones restantes para este menú:
* Mensaje Directo: La misma acción que el botón.
* Añadir a lista: Para que puedas ver los tweets de un usuario en tus listas, primero hay que añadirlo. Esta opción abrirá un diálogo desde donde puedes seleccionar al usuario que deseas añadir, para después abrir otra ventana donde puedes seleccionar la lista a la cual añadir a ese usuario. Una vez hecho esto, la lista contendrá un nuevo usuario y podrás ver sus tweets.
* Ver Perfil del usuario: Abre un diálogo desde donde te permite seleccionar el usuario al que quieres ver el perfil.
* Línea temporal: Abre un diálogo desde donde puedes seleccionar el usuario para el que se creará la línea temporal. Al presionar intro, se creará. Si se hace una línea temporal de un usuario que no tenga Tuits, el programa fallará. Si se crea una línea que ya existe el programa te avisará y no permitirá crearla de nuevo.
* Ver favoritos: Abre un buffer para seguir los favoritos que marca el usuario seleccionado.
##### Menú Buffer {#buffer}
* Silenciar: Silencia completamente el buffer, con lo que no escucharás sonido alguno cuando nuevos elementos aparezcan.
* Leer automáticamente tuits para este buffer: Esta opción activa o desactiva la lectura automática de tuits. Si está activada, el lector de pantalla o la voz Sapi5 (si está activada una) leerá automáticamente los nuevos tuits conforme estos vayan llegando al buffer.
* Limpiar Buffer: Vacía los elementos de este buffer.
* Eliminar buffer: Borra la lista sobre la que te encuentras actualmente.
##### Menú Ayuda {#ayuda}
* Documentación: Abre este archivo, donde puedes leer algunos conceptos interesantes del programa.
* ¿Qué hay de nuevo en esta versión?: Abre un documento con la lista de cambios desde la versión actual, hasta la primera en existencia.
* Buscar actualizaciones: Cada que se abre el programa él mismo busca automáticamente si hay una nueva versión. Si lo hay, te preguntará si quieres descargarla; si aceptas, TW Blue descargará la actualización, la instalará y te pedirá reiniciarla (algo que hace automáticamente). Esta opción comprueba si hay actualizaciones sin tener que reiniciar la aplicación.
* Sitio web de TW Blue. Ve a nuestra [página principal](http://twblue.com.mx) donde podrás encontrar toda la información y descargas relativas a TW Blue, así como participar de la comunidad.
* Reportar un error: Lanza un diálogo desde donde puedes reportar un error solo llenando un par de campos. El título y una pequeña descripción de lo que pasó. Al pulsar en "enviar" el error se reportará. Si no se ha podido el programa te mostrará un mensaje informándolo.
* Sobre TW Blue: Muestra información de créditos del programa.
### Interfaz no visible {#interfaz_no_visible}
Si presionas Control+M, o si desde el menú aplicación seleccionas esconder ventana, estarás activando una interfaz a la que no se podrá acceder por la manera convencional, porque no se ve.
En la interfaz no visible todo lo que hagas será mediante atajos de teclado, incluso para recorrer las listas. Eventualmente se abrirán diálogos y estos sí serán visibles, pero la ventana principal de la aplicación no. Ve a la sección de atajos de teclado de la interfaz no visible para saber cuales puedes usar de momento.
### Atajos de teclado para la Interfaz Gráfica {#atajos}
Además de los botones y menús, la mayoría de las acciones pueden hacerse presionando una combinación de teclado. Aquí están las existentes en este momento:
* Intro: Abrir una dirección URL. Si hay más de una podrás ver una lista que te permitirá seleccionar la que quieras. Si estás en la lista de amigos o seguidores, mostrará detalles del seleccionado.
* Control+Intro: Intenta reproducir un audio si en el Tuit hay una dirección URL.
* F5: Baja un 5% el volumen de los sonidos. Esto afecta a los sonidos que reproduce el programa y al audio que puedas escuchar a través de él.
* F6: Sube un 5% el volumen de los sonidos de la aplicación.
* Control+N: Abre el diálogo para escribir un nuevo Tuit.
* Control+M: Oculta la ventana.
* Control+Q: Sale de la aplicación.
* Control+R: Abre el diálogo para responder.
* Control+Shift+R: Equivalente a la acción Retuit.
* Control+D: Enviar mensaje directo.
* Control+F: Marcar como favorito.
* Control+Shift+F: Quitar de favoritos.
* Control+Shift+V: Ver Tuit.
* Control+S: Seguir a un usuario.
* Control+Shift+S: Dejar de seguir a un usuario.
* Control+K: Bloquear a un usuario.
* Control+Shift+K: Reportar como Spam.
* Control+I: Abrir línea temporal a un usuario.
* Control+Shift+I: Eliminar línea temporal.
* Control+p: Editar tu perfil.
* Suprimir: Eliminar tuit o mensaje directo.
* Shift+suprimir: vacía el buffer, quitando todos los elementos hasta ese entonces. Esto ocurre sin borrar nada de Twitter.
### Atajos de teclado para la Interfaz no Visible {#atajos_invisibles}
Estos son los atajos de teclado que puedes usar desde la interfaz no visible. Ten en cuenta que cuando la vista de la interfaz gráfica esté activada ninguno de ellos podrá usarse. Al decir "windows", nos estamos refiriendo a la tecla de Windows izquierda.
* Control+Windows+Flecha Arriba: Va arriba en la lista actual.
* Control+Windows+Flecha abajo: Va hacia abajo en la lista actual.
* Control+Windows+Izquierda: Se desplaza a la pestaña de la izquierda.
* Control+Windows+Derecha: Se desplaza hacia la pestaña de la derecha.
* Control+Windows+Inicio: Ir al primer elemento de la lista.
* Control+Windows+Fin: Ir al final de la lista.
* Control+Windows+Avance de página: Ir 20 elementos hacia abajo en la lista actual.
* Control+Windows+Retroceso de página: ir 20 elementos hacia arriba en la lista actual.
* Control+Windows+Alt+Flecha Arriba: Subir volumen un 5%.
* Control+Windows+Alt+Flecha Abajo: Bajar volumen un 5%.
* Control+Windows+Intro: Abrir URL en el tuit, o ver detalles del usuario si estás en la lista de amigos o seguidores.
* Control+Windows+Alt+Intro: Intentar reproducir un audio.
* Control+Windows+M: Muestra la interfaz gráfica, desactivando la no visible.
* Control+Windows+N: Hacer un nuevo Tuit.
* Control+Windows+R: Responder a un tuit.
* Control+Windows+Shift+R: Hacer un retuit.
* Control+Windows+D: Enviar un mensaje directo.
* Control+Windows+Suprimir: Eliminar un tuit o mensaje directo.
* control+win+Shift+suprimir: vacía el buffer, quitando todos los elementos hasta ese entonces. Esto ocurre sin borrar nada de Twitter.
* Windows+Alt+F: Marcar como favorito.
* Windows+Alt+Shift+F: Quitar de favoritos.
* Control+Windows+S: Seguir a un usuario.
* Control+Windows+Shift+S: Dejar de seguir a alguien.
* Control+Windows+Alt+N: Ver detalles de un usuario,
* Control+Windows+V: Ver tuit en un cuadro de texto.
* Control+Windows+I: Abrir línea temporal.
* Control+Windows+Shift+I: Eliminar línea temporal de un usuario.
* Alt+Windows+P: Editar tu perfil.
* Control+win+espacio: ver tweet actual.
* Control+win+c: Copiar tweet al portapapeles.
* Control+windows+a: Añadir a un usuario a la lista.
* Control+shift+windows+a: qitar de la lista.
* Control+Windows+Shift+Flecha arriba: Ir un tuit hacia arriba en la conversación.
* Control+Windows+Flecha Abajo: Ir un tuit hacia abajo en la conversación.
* Control+Windows+Shift+M: Activar o desactivar el sonido para el buffer actual.
* Windows+Alt+M: Activar o desactivar el silencio global de TW Blue.
* Control+Windows+E: Activar o desactivar la lectura automática de los tuits en el buffer actual.
* Control+windows+Guion: buscar en Twitter.
* Control+Windows+F4: Cerrar el programa.
## Listas {#listas}
Una de las características más interesantes de Twitter son las listas, ya que son una manera de mantenerse actualizado sin tener que leer los tweets de todos los usuarios a los que sigues. Con una lista de Twitter solo verás los tweets de sus miembros (la gente que está dentro de la lista). Es parecido a una línea temporal, pero para muchos más usuarios.
En TW blue hemos empezado a dar soporte para esta característica. De momento vamos poco a poco, pero ya es posible usar esta función. Te presentamos los pasos que hay que dar para poder tener una lista abierta en TW Blue.
* Primero necesitarás ir al gestor de listas, ubicado bajo el menú aplicación.
* en el gestor de listas podrás ver todas las listas a las que estás unido, empezando por las que tú has creado. Si no ves ninguna lista en este diálogo, significa que no has creado ni te has unido a ninguna lista. Está bien.
* Verás un grupo de botones que se explican por sí solos: Crear nueva lista, editar, eliminar, abrir en buffer (este quizá es el menos claro, se refiere a abrir un nuevo buffer para que TW Blue actualice los tweets de la lista, como cuando pasa con las líneas temporales).
Una vez que hayas creado una nueva lista, no deberías abrirla en buffer. Al menos no de inmediato, porque en este momento no tiene miembro alguno y eso significa que cuando se carguen los tweets para empezar a actualizarla no verás nada. Es recomendable primero añadir a gente a la lista, tal como sigue:
* Cuando hayas cerrado el gestor de listas y estés navegando por entre los tweets de los usuarios, busca el usuario al que quieres añadir a la lista.
* Una vez encontrado, presiona el atajo Ctrl+Win+A o ve al menú usuario y selecciona la opción "Añadir a lista".
* Lo siguiente que verás es un diálogo que te permitirá seleccionar el usuario, asegúrate que el que está como predeterminado es el que deseas, o cámbialo si es necesario, y presiona Aceptar.
* Ahora verás otro diálogo, pero aquí están todas tus listas. Selecciona una (simplemente lleva el cursor hacia ella), y presiona el botón añadir.
* Para qitar a un usuario de una lista repite el mismo proceso, pero presiona Control+Win+Shift+A o selecciona la opción "Quitar de lista", y en el diálogo de las listas presiona sobre el botón "remover".
## Reportando Errores Desde la Web {#reportar}
Nota: Si estás usando el programa también puedes reportar un error desde el mismo, usando para ello la opción del menú ayuda. Este proceso solo te pide llenar dos cuadros de edición, y se encarga del resto. Estos pasos están escritos para quienes no pueden abrir el programa, no lo tienen en uso en este momento o sencillamente quieran reportar desde la web en lugar del sistema integrado de reporte de errores.
Las cosas en este mundo (sí, incluidos los programas informáticos) están muy lejos de ser perfectas, con lo que a menudo te encontrarás con errores no previstos en la aplicación. Pero como la intención es siempre mejorar, eres libre (es más, sería genial que lo hicieras) de reportar los errores que vayas encontrando del programa para que se puedan revisar y eventualmente corregir.
Para entrar a la web de reporte de incidencias, sigue [Este enlace.](http://twblue.com.mx/errores/bug_report_page.php) Es una web con un formulario donde tienes que llenar varios campos. Solo tres de ellos son realmente obligatorios (los que tienen marcado un asterisco), pero entre más campos puedas llenar, será mejor.
Aquí están los diferentes campos del formulario y lo que deberías introducir en cada uno de ellos. Recuerda que son obligatorios solamente los campos marcados con un asterisco (*):
* Categoría: Este cuadro combinado permite seleccionar a qué categoría asignar el error. Puede ser a la categoría General, si es un error del programa, o a documentación, si has encontrado un error en este archivo o en la lista de cambios. Este campo es obligatorio.
* Reproducibilidad: Aquí deberías indicar qué tan fácil o no es de reproducir el error. Las opciones disponibles son Desconocido, No reproducible, No se ha intentado (por defecto), aleatorio, a veces o siempre. Dependiendo de si se puede reproducir el error o no, deberías indicar lo que se parezca más a tu caso. Si estás solicitando una nueva funcionalidad, no importa este cuadro combinado.
* Severidad: Aquí se selecciona que tanto afecta esto al programa. Las opciones disponibles son funcionalidad (selecciona esto para solicitar una nueva funcionalidad), Trivial, Texto, Ajuste, Menor, Mayor, fallo o bloqueo. Nota que las opciones aumentan de nivel. Selecciona lo que más creas. Si no estás seguro de que seleccionar puedes dejarlo como está.
* Prioridad: En este cuadro se selecciona la opción de acuerdo con la importancia del error o funcionalidad solicitada. Las opciones disponibles son Ninguna, baja, normal, alta, hurgente e inmediata.
* Seleccionar Perfil: Aquí puedes escojer entre la configuración de arquitectura (32 o 64 bits), y el sistema operativo (Windows siete de momento). Si no, puedes llenar los tres cuadros de edición que están en la siguiente tabla con tus datos en específico.
* Versión del producto: Selecciona la versión del programa que estás utilizando para poder averiguar donde se ha generado el error. Este cuadro combinado tendrá la lista de las versiones en orden. Si bien no es obligatorio, ayudaría mucho a resolver más rápidamente el error.
* Resumen: Un título para el error, que explique en pocas palabras qué ocurre. Es un cuadro de texto obligatorio.
* Descripción: Este campo también obligatorio, te pide que describas con más detalles qué fue lo que ha ocurrido con el programa.
* Pasos para reproducir: Este campo de texto te sirve si sabes como hacer que la aplicación genere el error. Esto no es obligatorio, pero ayudaría mucho conocer como hacer que el programa tenga este error para rastrearlo mejor.
* Información adicional: Si tienes un comentario o nota que añadir, aquí puede ir. No es obligatorio.
* Subir archivo: Puedes subir aquí el archivo TW Blue.exe.log que se creó con el error que el programa tuvo. No es obligatorio.
* Visibilidad: Selecciona si quieres que el error sea público o privado. Por defecto es público, y es recomendable que así continúe.
* Enviar reporte. Presiona aquí para publicar el error y que este sea atendido.
Muchas gracias por participar reportando errores y probando las funciones nuevas.
## Contacto {#contacto}
Si lo que se expone en este documento no es suficiente, si deseas colaborar de alguna otra forma o si simplemente deseas mantenerte en contacto con quien hace esta aplicación, sigue a la cuenta [@tw_blue2](https://twitter.com/tw_blue2) o a [@manuelcortez00.](https://twitter.com/manuelcortez00) También puedes visitar nuestro [Sitio web](http://twblue.com.mx)
---
Copyright © 2013-2014. Manuel Cortéz.

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 10:27+0300\n"
"Last-Translator: Florian Ionașcu <florianionascu@hotmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: twblue-documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-08 10:32+0300\n"
"Last-Translator: Florian Ionașcu <florianionascu@hotmail.com>\n"
"Language-Team: Spanish <manuel@manuelcortez.net>\n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-15 12:20+0400\n"
"Last-Translator: Наталья Хедлунд <natalia.hedlund@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-08-14 21:44+0400\n"
"Last-Translator: Valeria <luciana.lu3a@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estándar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2021-06-27 04:17+0100\n"
"Last-Translator: Nikola Jović <wwenikola123@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estándar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2021-06-27 01:40+0100\n"
"Last-Translator: Nikola Jović <wwenikola123@gmail.com>\n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2018-01-05 17:01+0300\n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue documentation 0.46\n"
"POT-Creation-Date: 2019-03-17 13:34+Hora estndar romance\n"
"POT-Creation-Date: 2019-03-17 13:34\n"
"PO-Revision-Date: 2019-02-03 17:01+0300\n"
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
"Language-Team: \n"

View File

@@ -1,4 +1,4 @@
Documentation for TWBlue - 0.88
Documentation for TWBlue
## Table of contents
@@ -42,7 +42,7 @@ You can log into several Twitter accounts simultaneously. The program refers to
Your default browser will open on the Twitter page to request authorisation. Enter your username and password into the appropriate edit fields if you're not already logged in, select the authorise button, and press it.
Once you've authorised your twitter account, the website will redirect you to a page which will notify you that TWBlue has been authorised successfully. Now you are able to close the page by pressing ALT+F4 which will return you to the Session Manager. On the session list, you will see a new item temporarily called "Authorised account x" -where x is a number. The session name will change once you open that session.
Once you've authorised your twitter account, the website will redirect you to a page which will notify you that TWBlue has been authorised successfully. On this page, you will be shown a code composed of several numbers that you must paste in the TWBlue authorization dialogue in order to allow the application to access your account. Once you have pasted the code in the corresponding text field, press enter to finish the account setup and go back to the session manager. On the session list, you will see a new item temporarily called "Authorised account x" -where x is a number. The session name will change once you open that session.
To start running TWBlue, press the Ok button in the Session Manager dialogue. By default, the program starts all the configured sessions automatically, however, you can change this behavior.
@@ -56,7 +56,7 @@ Before starting to describe TWBlue's usage, we'll explain some concepts that wil
### Buffer
A buffer is a list of items to manage the data which arrives from Twitter, after being processed by the application. When you configure a new session on TWBlue and start it, many buffers are created. Each of them may contain some of the items which this program works with: Tweets, direct messages, users, trends or events. According to the buffer you are focusing, you will be able to do different actions with these items.
A buffer is a list of items to manage the data which arrives from Twitter, after being processed by the application. When you configure a new session on TWBlue and start it, many buffers are created. Each of them may contain some of the items which this program works with: Tweets, direct messages, users, trends or. According to the buffer you are focusing, you will be able to do different actions with these items.
The following is a description for every one of TWBlue's buffers and the kind of items they work with.
@@ -69,17 +69,17 @@ The following is a description for every one of TWBlue's buffers and the kind of
* Followers: when users follow you, you'll be able to see them on this buffer, with some of their account details.
* Friends: the same as the previous buffer, but these are the users you follow.
* User timelines: these are buffers you may create. They contain only the tweets by a specific user. They're used so you can see the tweets by a single person and you don't want to look all over your timeline. You may create as many as you like.
* Events: An event is anything that happens on Twitter, such as when someone follows you, when someone adds or removes one of your tweets from their likes list, or when you subscribe to a list. There are many more, but the program shows the most common ones in the events buffer so that you can easily keep track of what is happening on your account.
* Lists: A list is similar to a user timeline, except that you can configure it to contain tweets from multiple users.
* Search: A search buffer contains the results of a search operation.
* User likes: You can have the program create a buffer containing tweets liked by a particular user.
* Followers or following timeline: You can have TWBlue create a buffer containing all users who follow, or are followed by a specific user.
* Trending Topics: a trend buffer shows the top ten most used terms in a geographical region. This region may be a country or a city. Trends are updated every five minutes.
If a tweet contains a URL, you can press enter in the GUI or Control + Windows + Enter in the invisible interface to open it. If it contains audio, you can press Control + Enter or Control + Windows + Alt + Enter to play it, respectively. TWBlue will play a sound if the tweet contains the \#audio hashtag, but there may be tweets which contain audio without this. Finally, if a tweet contains geographical information, you can press Control + Windows + G in the invisible interface to retrieve it.
If a tweet contains a URL, you can press enter in the GUI or Control + Windows + Enter in the invisible interface to open it. If it contains video or audio, including live stream content, you can press Control + Enter or Control + Windows + Alt + Enter to play it, respectively. TWBlue will play a sound if the tweet contains video metadata or the \#audio hashtag, but there may be tweets which contain media without this. Finally, if a tweet contains geographical information, you can press Control + Windows + G in the invisible interface to retrieve it.
### Username fields
These fields accept a Twitter username (without the at sign) as the input. They are present in the send direct message and the user actions dialogue boxes. Those dialogues will be discussed later. The initial value of these fields depends on where they were opened from. They are prepopulated with the username of the sender of the focused tweet (if they were opened from the home and sent timelines, from users' timelines or from lists), the sender of the focused direct message (if from the received or sent direct message buffers) or in the focused user (if from the followers' or friends' buffer). If one of those dialogue boxes is opened from a tweet, and if there are more users mentioned in it, you can use the arrow keys to switch between them. Alternatively, you can also type a username.
These fields accept a Twitter username (without the at sign) as the input. They are present in the send direct message, the user actions dialogue and the user alias dialogue boxes, to name a few examples. Those dialogues will be discussed later. The initial value of these fields depends on where they were opened from. They are prepopulated with the username of the sender of the focused tweet (if they were opened from the home and sent timelines, from users' timelines or from lists), the sender of the focused direct message (if from the received or sent direct message buffers) or in the focused user (if from the followers' or friends' buffer). If one of those dialogue boxes is opened from a tweet, and if there are more users mentioned in it, you can use the arrow keys to switch between them. Alternatively, you can also type a username.
## The program's interfaces
@@ -98,9 +98,9 @@ In summary, the GUI contains two core components. These are the controls you wil
#### Buttons in the application
* Tweet: this button opens up a dialogue box to write your tweet. Normal tweets must not exceed 280 characters. However you can press the long tweet checkbox and your tweet will be posted throught Twishort, wich will allow you to write longer tweets (10000 characters). If you write past this limit, a sound will play to warn you. Note that the character count is displayed in the title bar. You may use the shorten and expand URL buttons to comply with the character limit. You can upload a picture, check spelling, attach audio or translate your message by selecting one of the available buttons in the dialogue box. In addition, you can autocomplete the entering of users by pressing Alt + C or the button for that purpose if you have the database of users configured. Press enter to send the tweet. If all goes well, you'll hear a sound confirming it. Otherwise, the screen reader will speak an error message in English describing the problem.
* Tweet: this button opens up a dialogue box to write your tweet. Normal tweets must not exceed 280 characters. However you can press the long tweet checkbox and your tweet will be posted throught Twishort, wich will allow you to write longer tweets (10000 characters). If you write past this limit, a sound will play to warn you. Note that the character count is displayed in the title bar. You can upload a picture, check spelling, attach audio or translate your message by selecting one of the available buttons in the dialogue box. In addition, you can autocomplete the entering of users by pressing Alt + C or the button for that purpose if you have the database of users configured. Press enter to send the tweet. If all goes well, you'll hear a sound confirming it. Otherwise, the screen reader will speak an error message in English describing the problem.
* Retweet: this button retweets the message you're reading. After you press it, if you haven't configured the application not to do so, you'll be asked if you want to add a comment or simply send it as written. If you choose to add a comment, it will post a quoted tweet, that is, the comment with a link to the originating tweet.
* Reply: when you're viewing a tweet, you can reply to the user who sent it by pressing this button. A dialogue will open up similar to the one for tweeting. If there are more users referred to in the tweet, you can press tab and activate the mention to all checkbox, or enabling checkbox for the users you want to mention separately. When you're on the friends or followers lists, the button will be called mention instead.
* Reply: when you're viewing a tweet, you can reply to the user who sent it by pressing this button. A dialogue will open up similar to the one for tweeting. If there are more users referred to in the tweet, you can press tab and activate the mention to all checkbox, or enabling checkbox for the users you want to mention separately. Note, however, that sometimes -especially when replying to a retweet or quoted tweet, the user who made the retweet or quote may also be mentioned. This is done by Twitter automatically. When you're on the friends or followers lists, the button will be called mention instead.
* Direct message: exactly like sending a tweet, but it's a private message which can only be read by the user you send it to. Press shift-tab twice to see the recipient. If there were other users mentioned in the tweet you were reading, you can arrow up or down to choose which one to send it to, or write the username yourself without the at sign. In addition, you can autocomplete the entering of users by pressing Alt + C or the button for that purpose if you have the database of users configured.
Bear in mind that buttons will appear according to which actions are possible on the list you are browsing. For example, on the home timeline, mentions, sent, likes and user timelines you will see the four buttons, while on the direct messages list you'll only get the direct message and tweet buttons, and on friends and followers lists the direct message, tweet, and mention buttons will be available.
@@ -116,6 +116,7 @@ Visually, Towards the top of the main application window, can be found a menu ba
* Hide window: turns off the Graphical User Interface. Read the section on the invisible interface for further details.
* Search: shows a dialogue box where you can search for tweets or users on Twitter.
* Lists Manager: This dialogue box allows you to manage your Twitter lists. In order to use them, you must first create them. Here, you can view, edit, create, delete or, optionally, open them in buffers similar to user timelines.
* Manage user aliases: Opens up a dialogue where you can manage user aliases for the active session. In this dialog you can add new aliases, as well as edit and delete existing ones.
* Edit keystrokes: this opens a dialogue where you can see and edit the shortcuts used in the invisible interface.
* Account settings: Opens a dialogue box which lets you customize settings for the current account.
* Global settings: Opens a dialogue which lets you configure settings for the entire application.
@@ -145,6 +146,7 @@ Visually, Towards the top of the main application window, can be found a menu ba
* Ignore tweets from this client: Adds the client from which the focused tweet was sent to the ignored clients list.
* View timeline: Lets you open a user's timeline by choosing the user in a dialog box. It is created when you press enter. If you invoke this option relative to a user that has no tweets, the operation will fail. If you try creating an existing timeline the program will warn you and will not create it again.
* Direct message: same action as the button.
* Add Alias: An user alias allows you to rename user's display names on Twitter, so the next time you'll read an user it will be announced as you configured. This feature works only if you have set display screen names unchecked, in account settings.
* Add to List: In order to see someone's tweets in one or more of your lists, you must add them first. In the dialogue box that opens after selecting the user, you will be asked to select the list you wish to add the user to. Thereafter, the list will contain a new member and their tweets will be displayed there.
* Remove from list: lets you remove a user from a list.
* View lists: Shows the lists created by a specified user.
@@ -153,8 +155,12 @@ Visually, Towards the top of the main application window, can be found a menu ba
##### Buffer menu
* Update buffer: Retrieves the newest items for the focused buffer. Normally, every buffer gets updated every couple of minutes, however you can force a specific buffer to be updated inmediately. Take into account, however, that the usage of this option repeatedly might exceed your allowed Twitter's API usage, in which case you would have to wait until it gets reset, tipycally within the next 15 minutes.
* New trending topics buffer: This opens a buffer to get the worlwide trending topics or those of a country or a city. You'll be able to select from a dialogue box if you wish to retrieve countries' trends, cities' trends or worldwide trends (this option is in the cities' list) and choose one from the selected list. The trending topics buffer will be created once the "OK" button has been activated within the dialogue box. Remember this kind of buffer will be updated every five minutes.
* Load previous items: This allows more items to be loaded for the specified buffer.
* Create filter: Creates a filter in the current buffer. Filters allow loading or ignoring tweets that meet certain conditions into a buffer. You can, for example, set a filter in the "home" buffer that loads tweets that are in English language only. By default, the filter creation dialog will place the focus on the field to name the filter. Currently, you can filter by word, by language, or both. In the filter by word, you can make TWBlue allow or ignore tweets with the desired word. In the filter by language, you can make the program load tweets in the languages you want, or ignore tweets written in certain languages. Once created, every filter will be saved in the session config and will be kept across application restarts.
* Manage filters: Opens up a dialogue which allows you to delete filters for the current session.
* Find a string in the currently focused buffer: Opens a dialogue where you can search for items in the current buffer.
* Mute: Mutes notifications of a particular buffer so you will not hear when new tweets arrive.
* autoread: When enabled, the screen reader or SAPI 5 Text to Speech voice (if enabled) will read the text of incoming tweets. Please note that this could get rather chatty if there are a lot of incoming tweets.
* Clear buffer: Deletes all items from the buffer.
@@ -173,6 +179,8 @@ Visually, Towards the top of the main application window, can be found a menu ba
* What's new in this version?: opens up a document with the list of changes from the current version to the earliest.
* Check for updates: every time you open the program it automatically checks for new versions. If an update is available, it will ask you if you want to download the update. If you accept, the updating process will commence. When complete, TWBlue will be restarted. This item checks for new updates without having to restart the application.
* TWBlue's website: visit our [home page](http://twblue.es) where you can find all relevant information and downloads for TWBlue and become a part of the community.
* Get soundpacks for TWBlue:
* Make a Donation: Opens a website from which you can donate to the TWBlue project. Donations are made through paypal and you don't need an account to donate.
* About TWBlue: shows the credits of the program.
### The invisible user interface
@@ -350,4 +358,4 @@ Many thanks also to the people who worked on the documentation. Initially, [Manu
------------------------------------------------------------------------
Copyright © 2013-2017. Manuel Cortéz
Copyright © 2013-2021. Manuel Cortéz

BIN
src/appkeys.cp37-win32.pyd Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -12,6 +12,7 @@ from sessions.twitter import compose, utils
from mysc.thread_utils import call_threaded
from tweepy.errors import TweepyException
from pubsub import pub
from wxUI import commonMessageDialogs
from . import base
log = logging.getLogger("controller.buffers.twitter.dmBuffer")

View File

@@ -69,7 +69,7 @@ class ConversationBuffer(SearchBuffer):
current_time = time.time()
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory == True:
self.execution_time = current_time
results = self.get_replies(self.tweet)
results = self.get_replies_v1(self.tweet)
number_of_items = self.session.order_buffer(self.name, results)
log.debug("Number of items retrieved: %d" % (number_of_items,))
self.put_items_on_list(number_of_items)
@@ -94,30 +94,88 @@ class ConversationBuffer(SearchBuffer):
def get_replies(self, tweet):
""" Try to retrieve the whole conversation for the passed object by using a mix between calls to API V1.1 and V2 """
results = []
# If the tweet that starts the conversation is a reply to something else, let's try to get the parent tweet first.
if hasattr(self, "in_reply_to_status_id") and self.tweet.in_reply_to_status_id != None:
try:
tweet2 = self.session.twitter_v2.get_tweet(id=self.tweet.in_reply_to_status_id, user_auth=True, tweet_fields=["conversation_id"])
results.append(tweet2)
except TweepyException as e:
log.exception("There was an error attempting to retrieve a parent tweet for the conversation for {}".format(self.name))
# Now, try to fetch the tweet initiating the conversation in V2 so we can get conversation_id
# firstly we would try to retrieve the whole thread, then we will get replies.
# this makes us to waste two search API calls, but there's no better option to retrieve the whole thread including replies, unfortunately.
thread_results = []
reply_results = []
# try to fetch conversation_id of the tweet initiating the buffer.
try:
tweet = self.session.twitter_v2.get_tweet(id=self.tweet.id, user_auth=True, tweet_fields=["conversation_id"])
results.append(tweet.data)
term = "conversation_id:{}".format(tweet.data.conversation_id)
tweets = self.session.twitter_v2.search_recent_tweets(term, user_auth=True, max_results=98)
if tweets.data != None:
results.extend(tweets.data)
tweet = self.session.twitter_v2.get_tweet(id=self.tweet.id, user_auth=True, tweet_fields=["conversation_id", "author_id"])
thread_results.append(tweet.data)
except TweepyException as e:
log.exception("Error attempting to retrieve tweet conversation ID")
thread_results.append(self.tweet)
# Return earlier cause we can't do anything if we cannot fetch the object from twitter.
return thread_results
# If tweet contains a conversation_id param, let's retrieve the original tweet which started the conversation so we will have the whole reference for later.
if hasattr(tweet.data, "conversation_id") and tweet.data.conversation_id != None:
conversation_id = tweet.data.conversation_id
original_tweet = self.session.twitter_v2.get_tweet(id=tweet.data.conversation_id, user_auth=True, tweet_fields=["conversation_id", "author_id"])
thread_results.insert(0, original_tweet.data)
else:
conversation_id = tweet.data.id
# find all tweets replying to the original thread only. Those tweets are sent by the same author who originally posted the first tweet.
try:
term = "conversation_id:{} from:{} to:{}".format(conversation_id, original_tweet.data.author_id, original_tweet.data.author_id)
thread_tweets = self.session.twitter_v2.search_recent_tweets(term, user_auth=True, max_results=98, tweet_fields=["in_reply_to_user_id", "author_id", "conversation_id"])
if thread_tweets.data != None:
thread_results.extend(thread_tweets.data)
# Search only replies to conversation_id.
term = "conversation_id:{}".format(conversation_id, original_tweet.data.author_id)
reply_tweets = self.session.twitter_v2.search_recent_tweets(term, user_auth=True, max_results=50, tweet_fields=["in_reply_to_user_id", "author_id", "conversation_id"])
if reply_tweets.data != None:
reply_results.extend(reply_tweets.data)
except TweepyException as e:
log.exception("There was an error when attempting to retrieve the whole conversation for buffer {}".format(self.buffer.name))
new_results = []
ids = [tweet.id for tweet in results]
# convert v2 tweets in normal, V1.1 tweets so we don't have to deal with those kind of objects in our infrastructure.
# ToDo: Remove this last step once we support natively all objects fetched via Twitter API V2.
results = []
ids = [tweet.id for tweet in thread_results]
if len(ids) > 0:
try:
thread_results = self.session.twitter.lookup_statuses(ids, include_ext_alt_text=True, tweet_mode="extended")
thread_results.sort(key=lambda x: x.id)
results.extend(thread_results)
except TweepyException as e:
log.exception("There was an error attempting to retrieve tweets for Twitter API V1.1, in conversation buffer {}".format(self.name))
return []
ids = [tweet.id for tweet in reply_results]
if len(ids) > 0:
try:
reply_results = self.session.twitter.lookup_statuses(ids, include_ext_alt_text=True, tweet_mode="extended")
reply_results.sort(key=lambda x: x.id)
results.extend(reply_results)
except TweepyException as e:
log.exception("There was an error attempting to retrieve tweets for Twitter API V1.1, in conversation buffer {}".format(self.name))
return results
def get_replies_v1(self, tweet):
try:
results = self.session.twitter.lookup_statuses(ids, include_ext_alt_text=True, tweet_mode="extended")
results.sort(key=lambda x: x.id)
except TweepyException as e:
log.exception("There was an error attempting to retrieve tweets for Twitter API V1.1, in conversation buffer {}".format(self.name))
tweet = self.session.twitter.get_status(id=tweet.id, tweet_mode="extended")
except:
log.exception("Error getting tweet for making a conversation buffer.")
return []
results = []
results.append(tweet)
if hasattr(tweet, "in_reply_to_status_id") and tweet.in_reply_to_status_id != None:
while tweet.in_reply_to_status_id != None:
original_tweet = self.session.twitter.get_status(id=tweet.in_reply_to_status_id, tweet_mode="extended")
results.insert(0, original_tweet)
tweet = original_tweet
try:
term = "from:{} to:{}".format(tweet.user.screen_name, tweet.user.screen_name)
thread_tweets = self.session.twitter.search_tweets(term, count=100, since_id=tweet.id, tweet_mode="extended")
results.extend(thread_tweets)
except TweepyException as e:
log.exception("There was an error when attempting to retrieve the whole conversation for buffer {}".format(self.buffer.name))
try:
term = "to:{}".format(tweet.user.screen_name)
reply_tweets = self.session.twitter.search_tweets(term, count=100, since_id=tweet.id, tweet_mode="extended")
ids = [t.id for t in results]
reply_tweets = [t for t in reply_tweets if hasattr(t, "in_reply_to_status_id") and t.in_reply_to_status_id in ids]
results.extend(reply_tweets)
except TweepyException as e:
log.exception("There was an error when attempting to retrieve the whole conversation for buffer {}".format(self.buffer.name))
results.sort(key=lambda x: x.id)
return results

View File

@@ -49,6 +49,7 @@ class TrendsBuffer(base.Buffer):
log.exception("Error %s" % (str(err)))
if not hasattr(self, "name_"):
self.name_ = data[0]["locations"][0]["name"]
pub.sendMessage("buffer-title-changed", buffer=self)
self.trends = data[0]["trends"]
self.put_items_on_the_list()
if self.sound != None and self.session.settings["sound"]["session_mute"] == False and self.name not in self.session.settings["other_buffers"]["muted_buffers"] and play_sound == True:

View File

@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from builtins import object
import time
import widgetUtils
import application

View File

@@ -1529,13 +1529,10 @@ class Controller(object):
os.chdir("../../")
def view_changelog(self, *args, **kwargs):
if application.snapshot == True:
webbrowser.open("https://github.com/manuelcortez/twblue/blob/next-gen/doc/changelog.md")
else:
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../../")
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../../")
def insert_buffer(self, buffer, position):
self.buffers.insert(position, buffer)
@@ -1581,14 +1578,16 @@ class Controller(object):
output.speak(_(u"{0} items retrieved").format(n,))
def buffer_title_changed(self, buffer):
if "-timeline" in buffer.name:
if buffer.name.endswith("-timeline"):
title = _(u"Timeline for {}").format(buffer.username,)
elif "-favorite" in buffer.name:
elif buffer.name.endswith("-favorite"):
title = _(u"Likes for {}").format(buffer.username,)
elif "-followers" in buffer.name:
elif buffer.name.endswith("-followers"):
title = _(u"Followers for {}").format(buffer.username,)
elif "-friends" in buffer.name:
elif buffer.name.endswith("-friends"):
title = _(u"Friends for {}").format(buffer.username,)
elif buffer.name.endswith("_tt"):
title = _("Trending topics for %s") % (buffer.name_)
buffer_index = self.view.search(buffer.name, buffer.account)
self.view.set_page_title(buffer_index, title)

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: TW Blue 0.94\n"
"POT-Creation-Date: 2021-10-28 12:29+Paris, Madrid (heure d’été)\n"
"PO-Revision-Date: 2021-10-28 18:29+0200\n"
"POT-Creation-Date: 2021-11-03 18:55+0100\n"
"PO-Revision-Date: 2021-11-04 17:00+0100\n"
"Last-Translator: Oreonan <corentin@progaccess.net>\n"
"Language-Team: Oreonan <corentin@progaccess.net>\n"
"Language: fr\n"
@@ -37,12 +37,12 @@ msgstr "Mentions"
#: ../src\controller\buffers\twitter\base.py:70
#: ../src\controller\mainController.py:341
msgid "Direct messages"
msgstr "Messages privés"
msgstr "Messages"
#: ../src\controller\buffers\twitter\base.py:70
#: ../src\controller\mainController.py:343 ../src\controller\settings.py:289
msgid "Sent direct messages"
msgstr "Messages privés envoyés"
msgstr "Messages envoyés"
#: ../src\controller\buffers\twitter\base.py:70
#: ../src\controller\mainController.py:345 ../src\controller\settings.py:290
@@ -99,7 +99,7 @@ msgid "Unknown buffer"
msgstr "Tampon inconnu"
#: ../src\controller\buffers\twitter\base.py:88
#: ../src\controller\buffers\twitter\trends.py:121
#: ../src\controller\buffers\twitter\trends.py:122
#: ../src\controller\messages.py:214 ../src\wxUI\buffers\base.py:25
#: ../src\wxUI\buffers\events.py:15 ../src\wxUI\buffers\trends.py:18
#: ../src\wxUI\dialogs\message.py:304 ../src\wxUI\sysTrayIcon.py:35
@@ -107,7 +107,7 @@ msgid "Tweet"
msgstr "Tweet"
#: ../src\controller\buffers\twitter\base.py:89
#: ../src\controller\buffers\twitter\trends.py:122
#: ../src\controller\buffers\twitter\trends.py:123
msgid "Write the tweet here"
msgstr "Écrivez le tweet ici"
@@ -120,7 +120,7 @@ msgid "{0} new tweets in {1}."
msgstr "{0} nouveau tweet dans {1}"
#: ../src\controller\buffers\twitter\base.py:261
#: ../src\controller\buffers\twitter\directMessages.py:87
#: ../src\controller\buffers\twitter\directMessages.py:88
#: ../src\controller\buffers\twitter\people.py:180
msgid "%s items retrieved"
msgstr "%s éléments récupérés"
@@ -144,14 +144,14 @@ msgid "Reply to %s"
msgstr "Répondre à %s"
#: ../src\controller\buffers\twitter\base.py:480
#: ../src\controller\buffers\twitter\directMessages.py:129
#: ../src\controller\buffers\twitter\directMessages.py:130
msgid "New direct message"
msgstr "Nouveau message privé"
msgstr "Nouveau message"
#: ../src\controller\buffers\twitter\base.py:480
#: ../src\controller\messages.py:200
msgid "Direct message to %s"
msgstr "Message privé à %s"
msgstr "Message à %s"
#: ../src\controller\buffers\twitter\base.py:520
msgid "Add your comment to the tweet"
@@ -173,38 +173,38 @@ msgstr "Détails de l'utilisateur"
msgid "Opening item in web browser..."
msgstr "Ouverture de l'élément dans le navigateur Web..."
#: ../src\controller\buffers\twitter\directMessages.py:92
#: ../src\controller\buffers\twitter\directMessages.py:93
#: ../src\controller\buffers\twitter\people.py:95
msgid "Mention to %s"
msgstr "Mention pour %s"
#: ../src\controller\buffers\twitter\directMessages.py:92
#: ../src\controller\buffers\twitter\directMessages.py:93
#: ../src\controller\buffers\twitter\people.py:95
#: ../src\wxUI\buffers\people.py:17
msgid "Mention"
msgstr "Mention"
#: ../src\controller\buffers\twitter\directMessages.py:132
#: ../src\controller\buffers\twitter\directMessages.py:133
msgid "{0} new direct messages."
msgstr "{0} nouveau message privé"
msgstr "{0} nouveau message"
#: ../src\controller\buffers\twitter\directMessages.py:135
#: ../src\controller\buffers\twitter\directMessages.py:136
msgid "This action is not supported in the buffer yet."
msgstr "Cette action n'est pas supportée dans le tampon actuel"
#: ../src\controller\buffers\twitter\directMessages.py:145
#: ../src\controller\buffers\twitter\directMessages.py:146
msgid ""
"Getting more items cannot be done in this buffer. Use the direct messages "
"buffer instead."
msgstr ""
"Récupérer plus d'élément est impossible dans ce tampon, utilisez le tampon "
"des messages privés à la place."
"des messages à la place."
#: ../src\controller\buffers\twitter\people.py:253
msgid "{0} new followers."
msgstr "{0} nouvel abonné"
#: ../src\controller\buffers\twitter\trends.py:145
#: ../src\controller\buffers\twitter\trends.py:146
msgid "This action is not supported in the buffer, yet."
msgstr "Cette action n'est pas supportée pour le tampon actuel"
@@ -277,6 +277,7 @@ msgstr "Recherche de {}"
#: ../src\controller\mainController.py:381
#: ../src\controller\mainController.py:982
#: ../src\controller\mainController.py:1593
msgid "Trending topics for %s"
msgstr "Tendances pour %s"
@@ -425,20 +426,20 @@ msgstr "Actualisation..."
msgid "{0} items retrieved"
msgstr "{0} éléments récupérés"
#: ../src\controller\mainController.py:1598
#: ../src\controller\mainController.py:1618
#: ../src\controller\mainController.py:1600
#: ../src\controller\mainController.py:1620
msgid "Invalid buffer"
msgstr "Tampon invalide"
#: ../src\controller\mainController.py:1609
#: ../src\controller\mainController.py:1611
msgid "Picture {0}"
msgstr "Photo {0}"
#: ../src\controller\mainController.py:1610
#: ../src\controller\mainController.py:1612
msgid "Select the picture"
msgstr "Sélectionner la photo"
#: ../src\controller\mainController.py:1629
#: ../src\controller\mainController.py:1631
msgid "Unable to extract text"
msgstr "Impossible d'extraire le texte"
@@ -522,7 +523,7 @@ msgstr "Paramètres du compte de %s"
#: ../src\controller\settings.py:288
msgid "Direct Messages"
msgstr "Messages privés"
msgstr "Messages"
#: ../src\controller\user.py:29 ../src\controller\user.py:31
#: ../src\extra\SpellChecker\wx_ui.py:80 ../src\issueReporter\wx_ui.py:84
@@ -618,7 +619,7 @@ msgstr "Favoris: %s"
#: ../src\controller\userActionsController.py:74
msgid "You can't ignore direct messages"
msgstr "Vous ne pouvez pas ignorer les messages privés"
msgstr "Vous ne pouvez pas ignorer les messages"
#: ../src\controller\userAliasController.py:32
msgid "Edit alias for {}"
@@ -782,11 +783,11 @@ msgstr "Tampon détruit."
#: ../src\extra\SoundsTutorial\soundsTutorial_constants.py:10
msgid "Direct message received."
msgstr "Message privé reçu."
msgstr "Message reçu."
#: ../src\extra\SoundsTutorial\soundsTutorial_constants.py:11
msgid "Direct message sent."
msgstr "Message privé envoyé."
msgstr "Message envoyé."
#: ../src\extra\SoundsTutorial\soundsTutorial_constants.py:12
msgid "Error."
@@ -1487,7 +1488,7 @@ msgstr ""
msgid "Send report"
msgstr "Envoyer le rapport"
#: ../src\issueReporter\wx_ui.py:75 ../src\wxUI\dialogs\filterDialogs.py:84
#: ../src\issueReporter\wx_ui.py:75 ../src\wxUI\dialogs\filterDialogs.py:83
#: ../src\wxUI\dialogs\find.py:23
msgid "Cancel"
msgstr "Annuler"
@@ -1568,7 +1569,7 @@ msgstr "Retweet"
#: ../src\keystrokeEditor\constants.py:13
msgid "Send direct message"
msgstr "Envoyer un message privé"
msgstr "Envoyer un message"
#: ../src\keystrokeEditor\constants.py:14
msgid "Like a tweet"
@@ -1648,7 +1649,7 @@ msgstr "Modifier le profil"
#: ../src\keystrokeEditor\constants.py:33
msgid "Delete a tweet or direct message"
msgstr "Supprimer un tweet ou un message privé"
msgstr "Supprimer un tweet ou un message"
#: ../src\keystrokeEditor\constants.py:34
msgid "Empty the current buffer"
@@ -1780,7 +1781,7 @@ msgstr "Raccourci"
msgid "Action"
msgstr "Action"
#: ../src\keystrokeEditor\wx_ui.py:18 ../src\wxUI\dialogs\filterDialogs.py:131
#: ../src\keystrokeEditor\wx_ui.py:18 ../src\wxUI\dialogs\filterDialogs.py:135
#: ../src\wxUI\dialogs\lists.py:20 ../src\wxUI\dialogs\userAliasDialogs.py:53
msgid "Edit"
msgstr "Modifier"
@@ -1830,7 +1831,7 @@ msgstr "Windows"
msgid "Key"
msgstr "Touche"
#: ../src\keystrokeEditor\wx_ui.py:71 ../src\wxUI\dialogs\filterDialogs.py:82
#: ../src\keystrokeEditor\wx_ui.py:71 ../src\wxUI\dialogs\filterDialogs.py:80
#: ../src\wxUI\dialogs\find.py:21 ../src\wxUI\dialogs\userAliasDialogs.py:23
#: ../src\wxUI\dialogs\utils.py:36
msgid "OK"
@@ -2007,16 +2008,16 @@ msgstr "privé"
msgid "public"
msgstr "public"
#: ../src\sessions\twitter\session.py:209
#: ../src\sessions\twitter\session.py:211
msgid "%s failed. Reason: %s"
msgstr "%s erreur. Raison: %s"
#: ../src\sessions\twitter\session.py:215
#: ../src\sessions\twitter\session.py:217
msgid "%s succeeded."
msgstr "%s réussi."
#: ../src\sessions\twitter\session.py:424
#: ../src\sessions\twitter\session.py:502
#: ../src\sessions\twitter\session.py:426
#: ../src\sessions\twitter\session.py:504
msgid "Deleted account"
msgstr "Compte supprimé"
@@ -2115,7 +2116,7 @@ msgstr "Utilisateur"
#: ../src\wxUI\buffers\base.py:28
msgid "Direct message"
msgstr "Message privé"
msgstr "Message"
#: ../src\wxUI\buffers\events.py:14
msgid "Event"
@@ -2561,7 +2562,7 @@ msgid "Status"
msgstr "Statut"
#: ../src\wxUI\dialogs\configuration.py:144
#: ../src\wxUI\dialogs\filterDialogs.py:126
#: ../src\wxUI\dialogs\filterDialogs.py:130
msgid "Buffer"
msgstr "Tampon"
@@ -2686,91 +2687,99 @@ msgstr "Supplémentaires"
msgid "Save"
msgstr "Enregistrer"
#: ../src\wxUI\dialogs\filterDialogs.py:16
#: ../src\wxUI\dialogs\filterDialogs.py:13
msgid "Create a filter for this buffer"
msgstr "Créer un filtre pour ce tampon"
#: ../src\wxUI\dialogs\filterDialogs.py:17
#: ../src\wxUI\dialogs\filterDialogs.py:14
msgid "Filter title"
msgstr "Titre du filtre"
#: ../src\wxUI\dialogs\filterDialogs.py:26
#: ../src\wxUI\dialogs\filterDialogs.py:126
#: ../src\wxUI\dialogs\filterDialogs.py:24
#: ../src\wxUI\dialogs\filterDialogs.py:130
msgid "Filter by word"
msgstr "Filtrer par mot"
#: ../src\wxUI\dialogs\filterDialogs.py:27
#: ../src\wxUI\dialogs\filterDialogs.py:25
msgid "Ignore tweets wich contain the following word"
msgstr "Ignorer les tweets contenant le mot suivant"
#: ../src\wxUI\dialogs\filterDialogs.py:28
#: ../src\wxUI\dialogs\filterDialogs.py:26
msgid "Ignore tweets without the following word"
msgstr "Ignorer les tweets ne contenant pas le mot suivant"
#: ../src\wxUI\dialogs\filterDialogs.py:33
#: ../src\wxUI\dialogs\filterDialogs.py:31
msgid "word"
msgstr "Mot"
#: ../src\wxUI\dialogs\filterDialogs.py:38
#: ../src\wxUI\dialogs\filterDialogs.py:36
msgid "Allow retweets"
msgstr "Permettre les retweets"
#: ../src\wxUI\dialogs\filterDialogs.py:39
#: ../src\wxUI\dialogs\filterDialogs.py:37
msgid "Allow quoted tweets"
msgstr "Permettre les tweets cités"
#: ../src\wxUI\dialogs\filterDialogs.py:40
#: ../src\wxUI\dialogs\filterDialogs.py:38
msgid "Allow replies"
msgstr "Permettre les réponses"
#: ../src\wxUI\dialogs\filterDialogs.py:48
#: ../src\wxUI\dialogs\filterDialogs.py:46
msgid "Use this term as a regular expression"
msgstr "Utiliser ce terme comme une expression régulière"
#: ../src\wxUI\dialogs\filterDialogs.py:50
#: ../src\wxUI\dialogs\filterDialogs.py:126
#: ../src\wxUI\dialogs\filterDialogs.py:48
#: ../src\wxUI\dialogs\filterDialogs.py:130
msgid "Filter by language"
msgstr "Filtrer par langue"
#: ../src\wxUI\dialogs\filterDialogs.py:51
#: ../src\wxUI\dialogs\filterDialogs.py:49
msgid "Load tweets in the following languages"
msgstr "Charger tweets dans les suivantes langues"
#: ../src\wxUI\dialogs\filterDialogs.py:52
#: ../src\wxUI\dialogs\filterDialogs.py:50
msgid "Ignore tweets in the following languages"
msgstr "Ignorer tweets dans les suivantes langues"
#: ../src\wxUI\dialogs\filterDialogs.py:53
#: ../src\wxUI\dialogs\filterDialogs.py:51
msgid "Don't filter by language"
msgstr "Ne pas filtrer par langue"
#: ../src\wxUI\dialogs\filterDialogs.py:64
#: ../src\wxUI\dialogs\filterDialogs.py:62
msgid "Supported languages"
msgstr "Langues supportées"
#: ../src\wxUI\dialogs\filterDialogs.py:69
#: ../src\wxUI\dialogs\filterDialogs.py:67
msgid "Add selected language to filter"
msgstr "Ajouter la langue sélectionnée au filtre"
#: ../src\wxUI\dialogs\filterDialogs.py:73
#: ../src\wxUI\dialogs\filterDialogs.py:71
msgid "Selected languages"
msgstr "Langue sélectionnée"
#: ../src\wxUI\dialogs\filterDialogs.py:75
#: ../src\wxUI\dialogs\filterDialogs.py:133 ../src\wxUI\dialogs\lists.py:21
#: ../src\wxUI\dialogs\filterDialogs.py:73
#: ../src\wxUI\dialogs\filterDialogs.py:137 ../src\wxUI\dialogs\lists.py:21
#: ../src\wxUI\dialogs\lists.py:132 ../src\wxUI\dialogs\userAliasDialogs.py:57
msgid "Remove"
msgstr "Effacer"
#: ../src\wxUI\dialogs\filterDialogs.py:123
#: ../src\wxUI\dialogs\filterDialogs.py:120
msgid "Missing filter name"
msgstr "Nom de filtre manquant"
#: ../src\wxUI\dialogs\filterDialogs.py:120
msgid "You must define a name for the filter before creating it."
msgstr "Vous devez définir un nom pour le filtre avant de le créer."
#: ../src\wxUI\dialogs\filterDialogs.py:127
msgid "Manage filters"
msgstr "Gérer les filtres"
#: ../src\wxUI\dialogs\filterDialogs.py:125
#: ../src\wxUI\dialogs\filterDialogs.py:129
msgid "Filters"
msgstr "Filtres"
#: ../src\wxUI\dialogs\filterDialogs.py:126
#: ../src\wxUI\dialogs\filterDialogs.py:130
msgid "Filter"
msgstr "Filtre"
@@ -3226,7 +3235,7 @@ msgstr "&Actions de l'utilisateur..."
#: ../src\wxUI\menus.py:40
msgid "&Show direct message"
msgstr "&Afficher le message privé"
msgstr "&Afficher le message"
#: ../src\wxUI\menus.py:68
msgid "&Show event"
@@ -3234,7 +3243,7 @@ msgstr "&Afficher l'événement"
#: ../src\wxUI\menus.py:78
msgid "Direct &message"
msgstr "&Message privé"
msgstr "&Message"
#: ../src\wxUI\menus.py:80 ../src\wxUI\view.py:50
msgid "&View lists"
@@ -3334,7 +3343,7 @@ msgstr "Voir &chronologie..."
#: ../src\wxUI\view.py:46
msgid "Direct me&ssage"
msgstr "&Message privé"
msgstr "&Message"
#: ../src\wxUI\view.py:47
msgid "Add a&lias"

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,84 +0,0 @@
# -*- mode: python -*-
""" specification file for creating distributable versions using Pyinstaller. """
import os
import glob
import wx
import platform
from requests import certs
block_cipher = None
def get_architecture_files():
""" Returns architecture files for 32 or 64 bits. """
if platform.architecture()[0][:2] == "32":
return [
("..\\windows-dependencies\\x86\\oggenc2.exe", "."),
("..\\windows-dependencies\\x86\\bootstrap.exe", "."),
("..\\windows-dependencies\\x86\\*.dll", "."),
("..\\windows-dependencies\\x86\\plugins", "plugins"),
]
elif platform.architecture()[0][:2] == "64":
return [
("..\\windows-dependencies\\x64\\oggenc2.exe", "."),
("..\\windows-dependencies\\x64\\bootstrap.exe", "."),
("..\\windows-dependencies\\x64\\*.dll", "."),
("..\\windows-dependencies\\x64\\plugins", "plugins"),
]
def wx_files():
wxDir=wx.__path__[0]
localeMoFiles=set()
for f in glob.glob("locales/*/LC_MESSAGES"):
g=f.replace("locales", "locale")
wxMoFile=os.path.join(wxDir,g,"wxstd.mo")
if os.path.isfile(wxMoFile):
localeMoFiles.add((wxMoFile, f))
lang=os.path.split(os.path.split(f)[0])[1]
if '_' in lang:
lang=lang.split('_')[0]
f=os.path.join('locale',lang,'lc_messages')
g=f.replace("locale", "locales")
wxMoFile=os.path.join(wxDir,f,"wxstd.mo")
if os.path.isfile(wxMoFile):
localeMoFiles.add((wxMoFile, g))
return list(localeMoFiles)
a = Analysis(['main.py'],
pathex=['.'],
binaries=[("sounds", "sounds"),
("documentation", "documentation"),
("locales", "locales"),
("keymaps", "keymaps"),
("keys/lib", "keys/lib"),
("..\\windows-dependencies\\dictionaries", "enchant\\share\\enchant\\myspell"),
(certs.where(), "."),
("app-configuration.defaults", "."),
("conf.defaults", "."),
("icon.ico", "."),
]+get_architecture_files()+wx_files(),
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='TWBlue',
debug=False,
strip=False,
upx=True,
console=False)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='TWBlue')

View File

@@ -590,4 +590,31 @@ class Session(base.baseSession):
if self.logged == False:
return
if user != self.db["user_name"]:
log.debug("Connected streaming endpoint on account {}".format(user))
log.debug("Connected streaming endpoint on account {}".format(user))
def send_tweet(self, *tweets):
""" Convenience function to send a thread. """
in_reply_to_status_id = None
for obj in tweets:
if len(obj["attachments"]) == 0:
item = self.api_call(call_name="update_status", status=obj["text"], _sound="tweet_send.ogg", tweet_mode="extended", in_reply_to_status_id=in_reply_to_status_id)
in_reply_to_status_id = item.id
else:
media_ids = []
for i in obj["attachments"]:
img = self.api_call("media_upload", filename=i["file"])
self.api_call(call_name="create_media_metadata", media_id=img.media_id, alt_text=i["description"])
media_ids.append(img.media_id)
item = self.api_call(call_name="update_status", status=obj["text"], _sound="tweet_send.ogg", tweet_mode="extended", in_reply_to_status_id=in_reply_to_status_id, media_ids=media_ids)
in_reply_to_status_id = item.id
def reply(self, text="", in_reply_to_status_id=None, attachments=[], *args, **kwargs):
if len(attachments) == 0:
item = self.api_call(call_name="update_status", status=text, _sound="reply_send.ogg", tweet_mode="extended", in_reply_to_status_id=in_reply_to_status_id, *args, **kwargs)
else:
media_ids = []
for i in attachments:
img = self.api_call("media_upload", filename=i["file"])
self.api_call(call_name="create_media_metadata", media_id=img.media_id, alt_text=i["description"])
media_ids.append(img.media_id)
item = self.api_call(call_name="update_status", status=text, _sound="reply_send.ogg", tweet_mode="extended", in_reply_to_status_id=in_reply_to_status_id, media_ids=media_ids, *args, **kwargs)

View File

@@ -28,9 +28,11 @@ file2 = open("..\\scripts\\twblue.nsi", "w", encoding="utf-8")
file2.write(contents)
file2.close()
print("done")
print("Writing keys to module...")
file3 = open("appkeys.py", "w")
keys = """twitter_api_key = {}
twitter_api_secret = {}
keys = """twitter_api_key = "{}"
twitter_api_secret = "{}"
""".format(os.environ.get("TWITTER_API_KEY"), os.environ.get("TWITTER_API_SECRET"))
file3.write(keys)
file3.close()
file3.close()
print("Wrote set of keys for consumer of {}".format(os.environ.get("TWITTER_API_KEY")))

View File

@@ -32,3 +32,5 @@ class trendsPanel(wx.Panel):
else:
self.list.select_item(0)
def set_focus_in_list(self):
self.list.list.SetFocus()

View File

@@ -1,10 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
# -*- coding: utf-8 -*-
from . import baseDialog
import wx
import widgetUtils
from . import baseDialog
from multiplatform_widgets import widgets
class filterDialog(baseDialog.BaseWXDialog):
@@ -19,6 +16,7 @@ class filterDialog(baseDialog.BaseWXDialog):
dc = wx.WindowDC(self.title)
dc.SetFont(self.title.GetFont())
self.title.SetSize(dc.GetTextExtent("0"*40))
self.title.SetFocus()
tsizer = wx.BoxSizer(wx.HORIZONTAL)
tsizer.Add(label, 0, wx.ALL, 5)
tsizer.Add(self.title, 0, wx.ALL, 5)
@@ -81,6 +79,7 @@ class filterDialog(baseDialog.BaseWXDialog):
sizer.Add(selectionSizer, 0, wx.ALL, 5)
ok = wx.Button(panel, wx.ID_OK, _(u"OK"))
ok.SetDefault()
ok.Bind(wx.EVT_BUTTON, self.validate_title)
cancel = wx.Button(panel, wx.ID_CANCEL, _(u"Cancel"))
btnsizer = wx.BoxSizer()
btnsizer.Add(ok, 0, wx.ALL, 5)
@@ -116,6 +115,11 @@ class filterDialog(baseDialog.BaseWXDialog):
for i in [self.cb, self.add, self.langs, self.remove]:
i.Show()
def validate_title(self, *args, **kwargs):
if self.title.GetValue() == "" or self.title.GetValue() == None:
return wx.MessageDialog(self, _("You must define a name for the filter before creating it."), _("Missing filter name"), wx.ICON_ERROR).ShowModal()
self.EndModal(wx.ID_OK)
class filterManagerDialog(widgetUtils.BaseDialog):
def __init__(self, *args, **kwargs):

View File

@@ -1,6 +1,6 @@
#! /usr/bin/env python
#! /usr/bin/env python3
# -*- coding: iso-8859-1 -*-
# Originally written by Barry Warsaw <barry@zope.com>
# Originally written by Barry Warsaw <barry@python.org>
#
# Minimally patched to make it even more xgettext compatible
# by Peter Funk <pf@artcom-gmbh.de>
@@ -156,14 +156,14 @@ If `inputfile' is -, standard input is read.
""")
import os
import imp
import importlib.machinery
import importlib.util
import sys
import glob
import time
import getopt
import token
import tokenize
import operator
__version__ = '1.5'
@@ -189,50 +189,51 @@ msgstr ""
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"
"Language-Team: LANGUAGE <LL@li.org>\\n"
"MIME-Version: 1.0\\n"
"Content-Type: text/plain; charset=CHARSET\\n"
"Content-Transfer-Encoding: ENCODING\\n"
"Content-Type: text/plain; charset=%(charset)s\\n"
"Content-Transfer-Encoding: %(encoding)s\\n"
"Generated-By: pygettext.py %(version)s\\n"
''')
def usage(code, msg=''):
print >> sys.stderr, __doc__ % globals()
print(__doc__ % globals(), file=sys.stderr)
if msg:
print >> sys.stderr, msg
print(msg, file=sys.stderr)
sys.exit(code)
escapes = []
def make_escapes(pass_iso8859):
global escapes
if pass_iso8859:
# Allow iso-8859 characters to pass through so that e.g. 'msgid
def make_escapes(pass_nonascii):
global escapes, escape
if pass_nonascii:
# Allow non-ascii characters to pass through so that e.g. 'msgid
# "H<>he"' would result not result in 'msgid "H\366he"'. Otherwise we
# escape any character outside the 32..126 range.
mod = 128
escape = escape_ascii
else:
mod = 256
for i in range(256):
if 32 <= (i % mod) <= 126:
escapes.append(chr(i))
else:
escapes.append("\\%03o" % i)
escapes[ord('\\')] = '\\\\'
escapes[ord('\t')] = '\\t'
escapes[ord('\r')] = '\\r'
escapes[ord('\n')] = '\\n'
escapes[ord('\"')] = '\\"'
escape = escape_nonascii
escapes = [r"\%03o" % i for i in range(mod)]
for i in range(32, 127):
escapes[i] = chr(i)
escapes[ord('\\')] = r'\\'
escapes[ord('\t')] = r'\t'
escapes[ord('\r')] = r'\r'
escapes[ord('\n')] = r'\n'
escapes[ord('\"')] = r'\"'
def escape(s):
global escapes
s = list(s)
for i in range(len(s)):
s[i] = escapes[ord(s[i])]
return EMPTYSTRING.join(s)
def escape_ascii(s, encoding):
return ''.join(escapes[ord(c)] if ord(c) < 128 else c for c in s)
def escape_nonascii(s, encoding):
return ''.join(escapes[b] for b in s.encode(encoding))
def is_literal_string(s):
return s[0] in '\'"' or (s[0] in 'rRuU' and s[1] in '\'"')
def safe_eval(s):
@@ -240,18 +241,18 @@ def safe_eval(s):
return eval(s, {'__builtins__':{}}, {})
def normalize(s):
def normalize(s, encoding):
# This converts the various Python string types into a format that is
# appropriate for .po files, namely much closer to C style.
lines = s.split('\n')
if len(lines) == 1:
s = '"' + escape(s) + '"'
s = '"' + escape(s, encoding) + '"'
else:
if not lines[-1]:
del lines[-1]
lines[-1] = lines[-1] + '\n'
for i in range(len(lines)):
lines[i] = escape(lines[i])
lines[i] = escape(lines[i], encoding)
lineterm = '\\n"\n"'
s = '""\n"' + lineterm.join(lines) + '"'
return s
@@ -262,64 +263,6 @@ def containsAny(str, set):
return 1 in [c in str for c in set]
def _visit_pyfiles(list, dirname, names):
"""Helper for getFilesForName()."""
# get extension for python source files
if not globals().has_key('_py_ext'):
global _py_ext
_py_ext = [triple[0] for triple in imp.get_suffixes()
if triple[2] == imp.PY_SOURCE][0]
# don't recurse into CVS directories
if 'CVS' in names:
names.remove('CVS')
# add all *.py files to list
list.extend(
[os.path.join(dirname, file) for file in names
if os.path.splitext(file)[1] == _py_ext]
)
def _get_modpkg_path(dotted_name, pathlist=None):
"""Get the filesystem path for a module or a package.
Return the file system path to a file for a module, and to a directory for
a package. Return None if the name is not found, or is a builtin or
extension module.
"""
# split off top-most name
parts = dotted_name.split('.', 1)
if len(parts) > 1:
# we have a dotted path, import top-level package
try:
file, pathname, description = imp.find_module(parts[0], pathlist)
if file: file.close()
except ImportError:
return None
# check if it's indeed a package
if description[2] == imp.PKG_DIRECTORY:
# recursively handle the remaining name parts
pathname = _get_modpkg_path(parts[1], [pathname])
else:
pathname = None
else:
# plain name
try:
file, pathname, description = imp.find_module(
dotted_name, pathlist)
if file:
file.close()
if description[2] not in [imp.PY_SOURCE, imp.PKG_DIRECTORY]:
pathname = None
except ImportError:
pathname = None
return pathname
def getFilesForName(name):
"""Get a list of module files for a filename, a module or package name,
or a directory.
@@ -334,14 +277,28 @@ def getFilesForName(name):
return list
# try to find module or package
name = _get_modpkg_path(name)
try:
spec = importlib.util.find_spec(name)
name = spec.origin
except ImportError:
name = None
if not name:
return []
if os.path.isdir(name):
# find all python files in directory
list = []
os.path.walk(name, _visit_pyfiles, list)
# get extension for python source files
_py_ext = importlib.machinery.SOURCE_SUFFIXES[0]
for root, dirs, files in os.walk(name):
# don't recurse into CVS directories
if 'CVS' in dirs:
dirs.remove('CVS')
# add all *.py files to list
list.extend(
[os.path.join(root, file) for file in files
if os.path.splitext(file)[1] == _py_ext]
)
return list
elif os.path.exists(name):
# a single file
@@ -359,12 +316,13 @@ class TokenEater:
self.__lineno = -1
self.__freshmodule = 1
self.__curfile = None
self.__enclosurecount = 0
def __call__(self, ttype, tstring, stup, etup, line):
# dispatch
## import token
## print >> sys.stderr, 'ttype:', token.tok_name[ttype], \
## 'tstring:', tstring
## print('ttype:', token.tok_name[ttype], 'tstring:', tstring,
## file=sys.stderr)
self.__state(ttype, tstring, stup[0])
def __waiting(self, ttype, tstring, lineno):
@@ -373,13 +331,13 @@ class TokenEater:
if opts.docstrings and not opts.nodocstrings.get(self.__curfile):
# module docstring?
if self.__freshmodule:
if ttype == tokenize.STRING:
if ttype == tokenize.STRING and is_literal_string(tstring):
self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
self.__freshmodule = 0
elif ttype not in (tokenize.COMMENT, tokenize.NL):
self.__freshmodule = 0
return
# class docstring?
# class or func/method docstring?
if ttype == tokenize.NAME and tstring in ('class', 'def'):
self.__state = self.__suiteseen
return
@@ -387,13 +345,19 @@ class TokenEater:
self.__state = self.__keywordseen
def __suiteseen(self, ttype, tstring, lineno):
# ignore anything until we see the colon
if ttype == tokenize.OP and tstring == ':':
self.__state = self.__suitedocstring
# skip over any enclosure pairs until we see the colon
if ttype == tokenize.OP:
if tstring == ':' and self.__enclosurecount == 0:
# we see a colon and we're not in an enclosure: end of def
self.__state = self.__suitedocstring
elif tstring in '([{':
self.__enclosurecount += 1
elif tstring in ')]}':
self.__enclosurecount -= 1
def __suitedocstring(self, ttype, tstring, lineno):
# ignore any intervening noise
if ttype == tokenize.STRING:
if ttype == tokenize.STRING and is_literal_string(tstring):
self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
self.__state = self.__waiting
elif ttype not in (tokenize.NEWLINE, tokenize.INDENT,
@@ -418,18 +382,18 @@ class TokenEater:
if self.__data:
self.__addentry(EMPTYSTRING.join(self.__data))
self.__state = self.__waiting
elif ttype == tokenize.STRING:
elif ttype == tokenize.STRING and is_literal_string(tstring):
self.__data.append(safe_eval(tstring))
elif ttype not in [tokenize.COMMENT, token.INDENT, token.DEDENT,
token.NEWLINE, tokenize.NL]:
# warn if we see anything else than STRING or whitespace
print >> sys.stderr, _(
print(_(
'*** %(file)s:%(lineno)s: Seen unexpected token "%(token)s"'
) % {
'token': tstring,
'file': self.__curfile,
'lineno': self.__lineno
}
}, file=sys.stderr)
self.__state = self.__waiting
def __addentry(self, msg, lineno=None, isdocstring=0):
@@ -445,45 +409,41 @@ class TokenEater:
def write(self, fp):
options = self.__options
timestamp = time.strftime('%Y-%m-%d %H:%M+%Z')
# The time stamp in the header doesn't have the same format as that
# generated by xgettext...
print >> fp, pot_header % {'time': timestamp, 'version': __version__}
timestamp = time.strftime('%Y-%m-%d %H:%M%z')
encoding = fp.encoding if fp.encoding else 'UTF-8'
print(pot_header % {'time': timestamp, 'version': __version__,
'charset': encoding,
'encoding': '8bit'}, file=fp)
# Sort the entries. First sort each particular entry's keys, then
# sort all the entries by their first item.
reverse = {}
for k, v in self.__messages.items():
keys = v.keys()
keys.sort()
keys = sorted(v.keys())
reverse.setdefault(tuple(keys), []).append((k, v))
rkeys = reverse.keys()
rkeys.sort()
rkeys = sorted(reverse.keys())
for rkey in rkeys:
rentries = reverse[rkey]
rentries.sort()
for k, v in rentries:
isdocstring = 0
# If the entry was gleaned out of a docstring, then add a
# comment stating so. This is to aid translators who may wish
# to skip translating some unimportant docstrings.
if reduce(operator.__add__, v.values()):
isdocstring = 1
isdocstring = any(v.values())
# k is the message string, v is a dictionary-set of (filename,
# lineno) tuples. We want to sort the entries in v first by
# file name and then by line number.
v = v.keys()
v.sort()
v = sorted(v.keys())
if not options.writelocations:
pass
# location comments are different b/w Solaris and GNU:
elif options.locationstyle == options.SOLARIS:
for filename, lineno in v:
d = {'filename': filename, 'lineno': lineno}
print >>fp, _(
'# File: %(filename)s, line: %(lineno)d') % d
print(_(
'# File: %(filename)s, line: %(lineno)d') % d, file=fp)
elif options.locationstyle == options.GNU:
# fit as many locations on one line, as long as the
# resulting line length doesn't exceeds 'options.width'
# resulting line length doesn't exceed 'options.width'
locline = '#:'
for filename, lineno in v:
d = {'filename': filename, 'lineno': lineno}
@@ -491,14 +451,14 @@ class TokenEater:
if len(locline) + len(s) <= options.width:
locline = locline + s
else:
print >> fp, locline
print(locline, file=fp)
locline = "#:" + s
if len(locline) > 2:
print >> fp, locline
print(locline, file=fp)
if isdocstring:
print >> fp, '#, docstring'
print >> fp, 'msgid', normalize(k)
print >> fp, 'msgstr ""\n'
print('#, docstring', file=fp)
print('msgid', normalize(k, encoding), file=fp)
print('msgstr ""\n', file=fp)
@@ -514,7 +474,7 @@ def main():
'style=', 'verbose', 'version', 'width=', 'exclude-file=',
'docstrings', 'no-docstrings',
])
except getopt.error, msg:
except getopt.error as msg:
usage(1, msg)
# for holding option values
@@ -572,7 +532,7 @@ def main():
elif opt in ('-v', '--verbose'):
options.verbose = 1
elif opt in ('-V', '--version'):
print _('pygettext.py (xgettext for Python) %s') % __version__
print(_('pygettext.py (xgettext for Python) %s') % __version__)
sys.exit(0)
elif opt in ('-w', '--width'):
try:
@@ -593,7 +553,7 @@ def main():
fp.close()
# calculate escapes
make_escapes(options.escape)
make_escapes(not options.escape)
# calculate all keywords
options.keywords.extend(default_keywords)
@@ -605,8 +565,8 @@ def main():
options.toexclude = fp.readlines()
fp.close()
except IOError:
print >> sys.stderr, _(
"Can't read --exclude-file: %s") % options.excludefilename
print(_(
"Can't read --exclude-file: %s") % options.excludefilename, file=sys.stderr)
sys.exit(1)
else:
options.toexclude = []
@@ -625,21 +585,24 @@ def main():
for filename in args:
if filename == '-':
if options.verbose:
print _('Reading standard input')
fp = sys.stdin
print(_('Reading standard input'))
fp = sys.stdin.buffer
closep = 0
else:
if options.verbose:
print _('Working on %s') % filename
fp = open(filename)
print(_('Working on %s') % filename)
fp = open(filename, 'rb')
closep = 1
try:
eater.set_filename(filename)
try:
tokenize.tokenize(fp.readline, eater)
except tokenize.TokenError, e:
print >> sys.stderr, '%s: %s, line %d, column %d' % (
e[0], filename, e[1][0], e[1][1])
tokens = tokenize.tokenize(fp.readline)
for _token in tokens:
eater(*_token)
except tokenize.TokenError as e:
print('%s: %s, line %d, column %d' % (
e.args[0], filename, e.args[1][0], e.args[1][1]),
file=sys.stderr)
finally:
if closep:
fp.close()
@@ -663,7 +626,6 @@ def main():
if __name__ == '__main__':
main()
# some more test strings
_(u'a unicode string')
# this one creates a warning
_('*** Seen unexpected token "%(token)s"') % {'token': 'test'}
_('more' 'than' 'one' 'string')