mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-25 09:29:22 +00:00
Compare commits
150 Commits
snapshot10
...
v0.84
Author | SHA1 | Date | |
---|---|---|---|
14b2189840 | |||
16a94aded1 | |||
![]() |
d352aaeaac | ||
![]() |
9250aad80b | ||
![]() |
6e9be63029 | ||
92d8c7257e | |||
![]() |
6a265f0203 | ||
![]() |
b30a0ac25b | ||
![]() |
212f49df08 | ||
2c58645e02 | |||
e11a727a77 | |||
![]() |
d2123fdab7 | ||
45263732b8 | |||
d50e8e2798 | |||
![]() |
990ddf64f5 | ||
ff529eacb4 | |||
![]() |
238607bbe7 | ||
0aa51d9529 | |||
3815ce0a67 | |||
5e91808b73 | |||
08259cdf16 | |||
0bbb3afde0 | |||
3c0110528f | |||
18b52e8909 | |||
037cfec91a | |||
695b35031e | |||
f9d869e824 | |||
c1c001ad96 | |||
d768afc329 | |||
![]() |
4186f1a3e6 | ||
![]() |
2eac158a39 | ||
1ee629d731 | |||
5590ab47ee | |||
b555ed736c | |||
da39f40048 | |||
b1cf1c5590 | |||
48232a6cf8 | |||
3bc92af55f | |||
![]() |
5e9218b072 | ||
![]() |
65f860ceef | ||
![]() |
b9b8145bca | ||
![]() |
7fab6bcf54 | ||
![]() |
7ad5e6fa37 | ||
![]() |
f6fec67d52 | ||
![]() |
b3cac85c4e | ||
![]() |
ff49bd2488 | ||
![]() |
45f23a4c8a | ||
![]() |
a67a5e6264 | ||
8988d63f33 | |||
2268619101 | |||
a312b7f63c | |||
92d803717f | |||
2124f6c60b | |||
29c87dbd3f | |||
1ea3c5d23b | |||
![]() |
547f9393b9 | ||
![]() |
16b34c827b | ||
![]() |
56f0f37f39 | ||
3e9143d607 | |||
da07859138 | |||
dfc2b605f5 | |||
8badd3987a | |||
7139a2bcb3 | |||
c4e2c3b57a | |||
ed95270d3b | |||
edd45a1adf | |||
f24d5fec4e | |||
a9b47bb1a4 | |||
8849ce9039 | |||
![]() |
8b4f16ef84 | ||
dbbe6c0600 | |||
3caef5fc81 | |||
7cd58708cc | |||
0814af3bf4 | |||
72ba5a74f5 | |||
cbc301141e | |||
f466516289 | |||
4eef236b1c | |||
![]() |
ce00083aa2 | ||
![]() |
f92e05ce72 | ||
c02a11f269 | |||
![]() |
c79e659b74 | ||
da8009aea0 | |||
2778d2e85d | |||
ce9a50903c | |||
9a7d39c125 | |||
89759e7d49 | |||
7ca9d42f5f | |||
![]() |
6a6bec880c | ||
7b22c7d0f8 | |||
058866831b | |||
229f698e72 | |||
32067d3171 | |||
a8f7477a1f | |||
9b6461e34e | |||
eed3f81cb8 | |||
e605c750b1 | |||
f49be6cfed | |||
696faed007 | |||
![]() |
70169a2a4a | ||
![]() |
46b46c4d6d | ||
![]() |
0875b7ef92 | ||
![]() |
9cdccca5ff | ||
![]() |
e3e4fa42db | ||
![]() |
6e0c6de0af | ||
![]() |
564bee3850 | ||
![]() |
79e723f740 | ||
![]() |
08a2eca98d | ||
![]() |
c830d4b5b4 | ||
112391afeb | |||
![]() |
39e0431b97 | ||
071d75926b | |||
56b64e5c6d | |||
b8cfd60c9e | |||
691a9ae17d | |||
214b9a8809 | |||
e85f54e15c | |||
![]() |
d2245c33ce | ||
ff6695bba3 | |||
cdcdc86627 | |||
b4addf9329 | |||
9d0c9cfdb5 | |||
0afba81c71 | |||
0882e4707d | |||
78079e142f | |||
00a4203e1a | |||
c4fae3b70b | |||
b8dfa4a5e8 | |||
1ca1862a08 | |||
ba76c74324 | |||
![]() |
dda37f0083 | ||
65c353450e | |||
2bfb53abe1 | |||
ab08eada81 | |||
![]() |
5fcc1de9a5 | ||
![]() |
baeb0f7ae8 | ||
333158a7be | |||
f24c0955ce | |||
67412125df | |||
f8e14d7040 | |||
4532cf867a | |||
79d2f70be9 | |||
b4eb11a6de | |||
45f663a462 | |||
5b8ce7757c | |||
e47e0ba3f5 | |||
105debe4da | |||
a053788cce | |||
6d578d5203 | |||
21aacfc2af |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,4 +16,5 @@ src/Microsoft.VC90.CRT
|
||||
src/Microsoft.VC90.MFC
|
||||
src/launcher.bat
|
||||
src/sounds/iOs
|
||||
release-snapshot/
|
||||
release-snapshot/
|
||||
src/com_cache/
|
6
COPYING
Normal file
6
COPYING
Normal file
@@ -0,0 +1,6 @@
|
||||
Tw Blue is free software, licensed under the GNU GPL license, either version 2 or, at your option, any later version. You can view the license in the file named license.txt, or online at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
|
||||
Copyright © 2013-2015. Manuel Cortéz
|
||||
|
||||
Documentation is written by Sukil Etxenike, Brian Hartgen and Bill Dengler, covered by the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license. You can read the license at https://creativecommons.org/licenses/by-nc-sa/2.5/
|
||||
|
||||
The accessible_output2, audio_services, keyboard_handler, libloader, platform_utils and sound_lib modules are written by Christofer Toth and modified by the TWBlue Team, released under a MIT license. You can get the original modules at http://hg.q-continuum.net.
|
50
README.md
50
README.md
@@ -1,13 +1,12 @@
|
||||
TWBlue -
|
||||
TWBlue -
|
||||
======
|
||||
|
||||
Copyright (C) 2015. [Technow S.L.](https://www.technow.es)
|
||||
Copyright (C) 2016. [Technow S.L.](https://www.technow.es)
|
||||
|
||||
TW Blue is an app designed to use Twitter simply and efficiently while using minimal system resources.
|
||||
With this app you’ll have access to twitter features such as:
|
||||
|
||||
* Create, reply to, retweet and delete tweets,
|
||||
* Add and remove tweets from favourites,
|
||||
* Create, reply to, like, retweet and delete tweets,
|
||||
* Send and delete direct messages,
|
||||
* See your friends and followers,
|
||||
* Follow, unfollow, block and report users as spam,
|
||||
@@ -18,9 +17,9 @@ With this app you’ll have access to twitter features such as:
|
||||
|
||||
See [TWBlue's webpage](http://twblue.es) for more details.
|
||||
|
||||
## Using TWBlue from sources
|
||||
## Running TWBlue from source
|
||||
|
||||
This document describes how to run tw blue from source, and, after that, how to build a binary version, which doesn't need Python and the other dependencies to run.
|
||||
This document describes how to run tw blue from source and how to build a binary version which doesn't need Python and the other dependencies to run.
|
||||
|
||||
### Required dependencies.
|
||||
|
||||
@@ -32,12 +31,10 @@ Although most dependencies can be found in the windows-dependencies directory, w
|
||||
|
||||
#### Dependencies packaged in windows installers
|
||||
|
||||
* [Python,](http://python.org) version 2.7.10
|
||||
* [Python,](http://python.org) version 2.7.11
|
||||
If you want to build both x86 and x64 binaries, you can install python x86 to C:\python27 and python x64 to C:\python27x64, for example.
|
||||
* [wxPython](http://www.wxpython.org) for Python 2.7, version 3.0.2.0
|
||||
* [Python windows extensions (pywin32)](http://www.sourceforge.net/projects/pywin32/) for python 2.7, build 219
|
||||
* [Pycurl](http://pycurl.sourceforge.net) 7.19.5.1 for Python 2.7: [32-bit downloads,](https://pypi.python.org/pypi/pycurl/7.19.5.1) [64-bit downloads](http://www.lfd.uci.edu/~gohlke/pythonlibs/)
|
||||
Note: the x64 version is in wheel format instead of executable installer, so you have to install it using pip. For example: C:\python27x64\scripts\pip install pycurl-7.19.5.1-cp27-none-win_amd64.whl
|
||||
* [Python windows extensions (pywin32)](http://www.sourceforge.net/projects/pywin32/) for python 2.7, build 220
|
||||
* [PyEnchant,](http://pythonhosted.org/pyenchant/) version 1.6.6.
|
||||
x64 version has been built by TWBlue developers, so you only will find it in windows-dependencies folder
|
||||
|
||||
@@ -49,7 +46,7 @@ To build a binary version:
|
||||
|
||||
#### Dependencies that must be installed using easy_install
|
||||
|
||||
setuptools install a script, called easy_install. You can find it in the python scripts directory. To install packages using easy_install, you have to navigate to the scripts directory using a command prompt, for example:
|
||||
setuptools installs a script, called easy_install. You can find it in the python scripts directory. To install packages using easy_install, you have to navigate to the scripts directory using a command prompt, for example:
|
||||
|
||||
cd C:\python27x64\scripts
|
||||
|
||||
@@ -65,17 +62,18 @@ setuptools install a script, called easy_install. You can find it in the python
|
||||
* pypubsub
|
||||
* configobj
|
||||
* requests-oauthlib
|
||||
* requests-toolbelt
|
||||
* future
|
||||
* pygeocoder
|
||||
* suds
|
||||
* arrow
|
||||
* goslate
|
||||
* arrow==0.6
|
||||
* markdown
|
||||
* pocket
|
||||
* winpaths
|
||||
* microsofttranslator
|
||||
|
||||
easy_install will automatically get the additional libraries that these packages need to work properly.
|
||||
Run the following command to quickly install and upgrade all packages and their dependencies:
|
||||
easy_install -Z --upgrade six configobj goslate markdown future pocket suds requests oauthlib requests-oauthlib pypubsub pygeocoder arrow python-dateutil futures
|
||||
easy_install -Z --upgrade six configobj goslate markdown future suds requests oauthlib requests-oauthlib requests-toolbelt pypubsub pygeocoder arrow==0.6 python-dateutil futures markdown microsofttranslator winpaths
|
||||
|
||||
#### Other dependencies
|
||||
|
||||
@@ -90,6 +88,14 @@ This dependency has been built using pure basic 4.61. Its source can be found at
|
||||
|
||||
* [NSIS unicode,](http://www.scratchpaper.com/) version 2.46.5
|
||||
|
||||
#### Dependencies required to build the portableApps.com format archive
|
||||
|
||||
* [NSIS Unicode Portable,](http://portableapps.com/apps/development/nsis_portable) version 2.46.5 rev 3
|
||||
* [PortableApps.com Launcher,](http://portableapps.com/apps/development/portableapps.com_launcher) version 2.2
|
||||
* [PortableApps.com Installer,](http://portableapps.com/apps/development/portableapps.com_installer) version 3.1.3
|
||||
|
||||
Important! Install these 3 apps into the same folder, otherwise you won't be able to build the pa.c version. For example: D:\portableApps\NSISPortable, D:\PortableApps\PortableApps.com installer, ...
|
||||
|
||||
### Running TW Blue from source
|
||||
|
||||
Now that you have installed all these packages, you can run TW Blue from source using a command prompt. Navigate to the repo's src directory, and type the following command:
|
||||
@@ -117,7 +123,7 @@ To build it, run the following command from the src folder:
|
||||
|
||||
### Building an installer
|
||||
|
||||
If you want to install TWBlue in your computer, you must create the installer first. Follow these steps:
|
||||
If you want to install TWBlue on your computer, you must create the installer first. Follow these steps:
|
||||
|
||||
* Navigate to the src directory, and create a binary version for x86: C:\python27\python setup.py py2exe
|
||||
* Move the dist directory to the scripts folder in this repo, and rename it to twblue
|
||||
@@ -129,3 +135,15 @@ If you want to install TWBlue in your computer, you must create the installer fi
|
||||
### How to generate a translation template
|
||||
|
||||
Run the gen_pot.bat file, located in the tools directory. Your python installation must be in your path environment variable. The pot file will appear in the tools directory.
|
||||
|
||||
### How to build the portableApps.com archive
|
||||
|
||||
If you want to have TWBlue on your PortableApps.com platform, follow these steps:
|
||||
|
||||
* Navigate to the src directory, and create a binary version for x86: C:\python27\python setup.py py2exe
|
||||
* Move the dist directory to the misc\pa.c format\app folder in this repo, and rename it to twblue
|
||||
* Repeat these steps with Python for x64: C:\python27x64\python setup.py py2exe
|
||||
* Move the new dist directory to the misc\pa.c format\app folder, and rename it to twblue64
|
||||
* Run the PortableApps.com Launcher Generator, and follow the wizard. Choose the pa.c format folder and continue to generate the launcher. If the wizard is completed, you will see a file named TWBlue portable.exe inside the pa.c format folder.
|
||||
* Run the PortableApps.com Installer, and follow the wizard. As in the above step, choose the pa.c format folder. When it completes, you will see a file named TWBluePortable_x.y.paf.exe inside the misc folder, where x.y is the version number.
|
||||
|
||||
|
@@ -34,4 +34,12 @@ Holly Scott-Gardner
|
||||
Anibal Hernández
|
||||
Sussan Leiva
|
||||
Brian Hartgen
|
||||
PEDRO REINA COLOBON
|
||||
PEDRO REINA COLOBON
|
||||
Moora-Moora Arrilla
|
||||
Blake Oliver
|
||||
Steffen Schultz
|
||||
Riku
|
||||
Burak Yüksek
|
||||
florian Ionașcu
|
||||
Christian Leo Mameli
|
||||
Natalia Hedlund (Наталья Хедлунд)
|
@@ -2,6 +2,17 @@
|
||||
name = 'TWBlue'
|
||||
snapshot = False
|
||||
if snapshot == False:
|
||||
version = "0.80"
|
||||
version = "0.84"
|
||||
update_url = 'http://twblue.es/updates/twblue_ngen.json'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json'
|
||||
else:
|
||||
version = "7"
|
||||
version = "10.99"
|
||||
update_url = 'http://twblue.es/updates/snapshots_ngen.json'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json'
|
||||
author = u"Manuel Cortéz"
|
||||
authorEmail = "manuel@manuelcortez.net"
|
||||
copyright = u"Copyright (C) 2015, Technow S.L. \nCopyright (C) 2013-2015, Manuel cortéz."
|
||||
description = unicode(name+" is an app designed to use Twitter simply and efficiently while using minimal system resources. This app provides access to most Twitter features.")
|
||||
translators = [u"Bryner Villalobos, Bill Dengler (English)", u"Mohammed Al Shara (Arabic)", u"Joan Rabat, Juan Carlos Rivilla (Catalan)", u"Manuel cortéz (Spanish)", u"Sukil Etxenike Arizaleta (Basque)", u"Jani Kinnunen (finnish)", u"Rémy Ruiz (French)", u"Juan Buño (Galician)", u"Steffen Schultz (German)", u"Robert Osztolykan (Hungarian)", u"Paweł Masarczyk (Polish)", u"Odenilton Júnior Santos (Portuguese)", u"Alexander Jaszyn (Russian)", u"Burak (Turkish)"]
|
||||
url = u"http://twblue.es"
|
||||
report_bugs_url = "http://twblue.es/bugs/api/soap/mantisconnect.php?wsdl"
|
@@ -7,7 +7,7 @@ languageHandler.setLanguage("en")
|
||||
import strings
|
||||
|
||||
# the list of supported language codes of TW Blue
|
||||
languages = ["en", "es", "fr", "de", "it"]
|
||||
languages = ["en", "es", "fr", "de", "it", "gl", "ja", "ru", "ro"]
|
||||
#"eu", "ar", "ca", "es", "fi", "fr", "gl", "hu", "it", "pl", "pt", "ru", "tr"]
|
||||
|
||||
def generate_document(language):
|
||||
|
Binary file not shown.
@@ -5,8 +5,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TWBlue Documentation\n"
|
||||
"POT-Creation-Date: 2015-07-03 17:23+Hora de verano central (Mxico)\n"
|
||||
"PO-Revision-Date: 2015-07-07 19:07+0200\n"
|
||||
"POT-Creation-Date: 2016-03-31 16:51+Hora de verano romance\n"
|
||||
"PO-Revision-Date: 2016-07-31 18:23+0200\n"
|
||||
"Last-Translator: Steffen Schultz <schulle3o@yahoo.de>\n"
|
||||
"Language-Team: Steffen Schultz <schulle3o@yahoo.de>\n"
|
||||
"Language: de\n"
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 1.8.2\n"
|
||||
"X-Generator: Poedit 1.8.8\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: ../doc\languageHandler.py:97
|
||||
@@ -53,7 +53,7 @@ msgstr "Dokumentation für TWBlue - {0}"
|
||||
#: ../doc\strings.py:378 ../doc\strings.py:381 ../doc\strings.py:384
|
||||
#: ../doc\strings.py:387 ../doc\strings.py:390 ../doc\strings.py:393
|
||||
#: ../doc\strings.py:396 ../doc\strings.py:399 ../doc\strings.py:402
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:421 ../doc\strings.py:424
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:426 ../doc\strings.py:429
|
||||
msgid "\n"
|
||||
msgstr "\n"
|
||||
|
||||
@@ -741,7 +741,7 @@ msgstr "* Globale Einstellungen: Konfiguriert programmweite Einstellungen."
|
||||
|
||||
#: ../doc\strings.py:166
|
||||
msgid ""
|
||||
"* Quit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"* Exit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"closes the application. If you do not want to be asked for confirmation "
|
||||
"before exiting, uncheck the checkbox from the global settings dialogue box."
|
||||
msgstr ""
|
||||
@@ -1757,8 +1757,8 @@ msgstr ""
|
||||
"Dengler](https://twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:408
|
||||
msgid "* Arabic: Mohammed Al Shara."
|
||||
msgstr "* Arabisch: Mohammed Al Shara."
|
||||
msgid "* Arabic: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
msgstr "* Arabisch: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
|
||||
#: ../doc\strings.py:409
|
||||
msgid ""
|
||||
@@ -1777,42 +1777,66 @@ msgid "* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
msgstr "* Baskisch: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
|
||||
#: ../doc\strings.py:412
|
||||
msgid "* Finnish: Jani Kinnunen."
|
||||
msgstr "* Finnisch: Jani Kinnunen."
|
||||
msgid "* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
msgstr "* Finnisch: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
|
||||
#: ../doc\strings.py:413
|
||||
msgid "* French: Rémi Ruiz."
|
||||
msgstr "* Französisch: Rémi Ruiz."
|
||||
msgid "* French: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
msgstr "* Französisch: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
|
||||
#: ../doc\strings.py:414
|
||||
msgid "* Galician: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgstr "* Galizisch: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgid "* Galician: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
msgstr "* Galizisch: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
|
||||
#: ../doc\strings.py:415
|
||||
msgid "* German: Steffen Schultz."
|
||||
msgid "* German: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
msgstr "* Deutsch: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
|
||||
#: ../doc\strings.py:416
|
||||
msgid "* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
msgstr "* Kroatisch: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Hungarian: Robert Osztolykan."
|
||||
msgstr "* Ungarisch: Robert Osztolykan."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Polish: Pawel Masarczyk."
|
||||
msgstr "* Polnisch: Pawel Masarczyk."
|
||||
|
||||
#: ../doc\strings.py:418
|
||||
msgid "* Portuguese: Odenilton Júnior Santos."
|
||||
msgstr "* Portugiesisch: Odenilton Júnior Santos."
|
||||
msgid "* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
msgstr "* Italienisch: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Russian: Alexander Jaszyn."
|
||||
msgstr "* Russisch: Alexander Jaszyn."
|
||||
msgid "* Japanese: [Riku](https://twitter.com/riku_sub001)"
|
||||
msgstr "* Japanisch: [Riku](https://twitter.com/riku_sub001)"
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Turkish: Burak."
|
||||
msgstr "* Türkisch: Burak."
|
||||
msgid "* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
msgstr "* Polnisch: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
|
||||
#: ../doc\strings.py:421
|
||||
msgid "* Portuguese: Odenilton Júnior Santos."
|
||||
msgstr "* Portuguese: Odenilton Júnior Santos."
|
||||
|
||||
#: ../doc\strings.py:422
|
||||
msgid ""
|
||||
"* Romanian: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
msgstr ""
|
||||
"* Rumänisch: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
|
||||
#: ../doc\strings.py:423
|
||||
msgid "* Russian: [Александр Яшин](https://twitter.com/radovest)."
|
||||
msgstr "* Russisch: [Александр Яшин](https://twitter.com/radovest)."
|
||||
|
||||
#: ../doc\strings.py:424
|
||||
msgid "* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
msgstr "* Serbisch: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
|
||||
#: ../doc\strings.py:425
|
||||
msgid "* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
msgstr "* Türkisch: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
|
||||
#: ../doc\strings.py:428
|
||||
msgid ""
|
||||
"Many thanks also to the people who worked on the documentation. Initially, "
|
||||
"[Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in "
|
||||
@@ -1834,10 +1858,32 @@ msgstr ""
|
||||
"und erhielt weitere Korrekturen durch [Brian Hartgen](https://twitter.com/"
|
||||
"brianhartgen) und [Bill Dengler](https://twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:426
|
||||
#: ../doc\strings.py:431
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc\strings.py:427
|
||||
#: ../doc\strings.py:432
|
||||
msgid "Copyright © 2013-2015. Manuel Cortéz"
|
||||
msgstr "Copyright © 2013-2015. Manuel Cortéz"
|
||||
|
||||
#~ msgid "* Polish: Pawel Masarczyk."
|
||||
#~ msgstr "* Polnisch: Pawel Masarczyk."
|
||||
|
||||
#~ msgid "* Arabic: Mohammed Al Shara."
|
||||
#~ msgstr "* Arabisch: Mohammed Al Shara."
|
||||
|
||||
#~ msgid "* Finnish: Jani Kinnunen."
|
||||
#~ msgstr "* Finnisch: Jani Kinnunen."
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "* French: Rémi Ruiz."
|
||||
#~ msgstr "* Französisch: R\\303\\251mi Ruiz."
|
||||
|
||||
#~ msgid "* German: Steffen Schultz."
|
||||
#~ msgstr "* Deutsch: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
|
||||
#~ msgid "* Russian: Alexander Jaszyn."
|
||||
#~ msgstr "* Russisch: Alexander Jaszyn."
|
||||
|
||||
#~ msgid "* Turkish: Burak."
|
||||
#~ msgstr "* Türkisch: Burak."
|
||||
|
Binary file not shown.
@@ -5,8 +5,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: twblue-documentation 0.46\n"
|
||||
"POT-Creation-Date: 2015-07-03 17:23+Hora de verano central (México)\n"
|
||||
"PO-Revision-Date: 2015-07-03 17:49-0600\n"
|
||||
"POT-Creation-Date: 2016-03-31 16:51+Hora de verano romance\n"
|
||||
"PO-Revision-Date: 2016-07-31 18:23+0200\n"
|
||||
"Last-Translator: Manuel Cortéz <manuel@manuelcortez.net>\n"
|
||||
"Language-Team: Spanish <manuel@manuelcortez.net>\n"
|
||||
"Language: es\n"
|
||||
@@ -14,7 +14,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 1.6.7\n"
|
||||
"X-Generator: Poedit 1.8.8\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
|
||||
@@ -54,7 +54,7 @@ msgstr "Documentación para TWBlue {0}"
|
||||
#: ../doc\strings.py:378 ../doc\strings.py:381 ../doc\strings.py:384
|
||||
#: ../doc\strings.py:387 ../doc\strings.py:390 ../doc\strings.py:393
|
||||
#: ../doc\strings.py:396 ../doc\strings.py:399 ../doc\strings.py:402
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:421 ../doc\strings.py:424
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:426 ../doc\strings.py:429
|
||||
msgid "\n"
|
||||
msgstr "\n"
|
||||
|
||||
@@ -776,7 +776,7 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:166
|
||||
msgid ""
|
||||
"* Quit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"* Exit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"closes the application. If you do not want to be asked for confirmation "
|
||||
"before exiting, uncheck the checkbox from the global settings dialogue box."
|
||||
msgstr ""
|
||||
@@ -1822,8 +1822,8 @@ msgstr ""
|
||||
"Dengler](https://twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:408
|
||||
msgid "* Arabic: Mohammed Al Shara."
|
||||
msgstr "* Árabe: Mohammed Al Shara."
|
||||
msgid "* Arabic: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
msgstr "* Árabe: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
|
||||
#: ../doc\strings.py:409
|
||||
msgid ""
|
||||
@@ -1841,42 +1841,66 @@ msgid "* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
msgstr "* Vasco: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
|
||||
#: ../doc\strings.py:412
|
||||
msgid "* Finnish: Jani Kinnunen."
|
||||
msgstr "* Finés: Jani Kinnunen."
|
||||
msgid "* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
msgstr "* Finés: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
|
||||
#: ../doc\strings.py:413
|
||||
msgid "* French: Rémi Ruiz."
|
||||
msgstr "* Francés: Rémy Ruiz."
|
||||
msgid "* French: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
msgstr "* Francés: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
|
||||
#: ../doc\strings.py:414
|
||||
msgid "* Galician: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgstr "* Gallego: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgid "* Galician: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
msgstr "* Gallego: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
|
||||
#: ../doc\strings.py:415
|
||||
msgid "* German: Steffen Schultz."
|
||||
msgstr "* Alemán: Steffen Schultz."
|
||||
msgid "* German: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
msgstr "* Alemán: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
|
||||
#: ../doc\strings.py:416
|
||||
msgid "* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
msgstr "* Croata: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Hungarian: Robert Osztolykan."
|
||||
msgstr "* Húngaro: Robert Osztolykan."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Polish: Pawel Masarczyk."
|
||||
msgstr "* Polaco: Pawel Masarczyk."
|
||||
|
||||
#: ../doc\strings.py:418
|
||||
msgid "* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
msgstr "* Italiano: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Japanese: [Riku](https://twitter.com/riku_sub001)"
|
||||
msgstr "* Japonés: [Riku](https://twitter.com/riku_sub001)."
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
msgstr "* Polaco: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
|
||||
#: ../doc\strings.py:421
|
||||
msgid "* Portuguese: Odenilton Júnior Santos."
|
||||
msgstr "* Portugués: Odenilton Júnior Santos."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Russian: Alexander Jaszyn."
|
||||
msgstr "* Ruso: Alexander Jaszyn."
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Turkish: Burak."
|
||||
msgstr "* Turco: Burak."
|
||||
#: ../doc\strings.py:422
|
||||
msgid ""
|
||||
"* Romanian: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
msgstr ""
|
||||
"* Rumano: [Florian Ionașcu](https://twitter.com/7ro) y [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
|
||||
#: ../doc\strings.py:423
|
||||
msgid "* Russian: [Александр Яшин](https://twitter.com/radovest)."
|
||||
msgstr "* Ruso: [Александр Яшин](https://twitter.com/radovest)."
|
||||
|
||||
#: ../doc\strings.py:424
|
||||
msgid "* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
msgstr "* Serbio: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
|
||||
#: ../doc\strings.py:425
|
||||
msgid "* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
msgstr "* Turco: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
|
||||
#: ../doc\strings.py:428
|
||||
msgid ""
|
||||
"Many thanks also to the people who worked on the documentation. Initially, "
|
||||
"[Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in "
|
||||
@@ -1898,14 +1922,35 @@ msgstr ""
|
||||
"com/sukil2011), con algunas valiosas correcciones por [Brian Hartgen]"
|
||||
"(https://twitter.com/brianhartgen)."
|
||||
|
||||
#: ../doc\strings.py:426
|
||||
#: ../doc\strings.py:431
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc\strings.py:427
|
||||
#: ../doc\strings.py:432
|
||||
msgid "Copyright © 2013-2015. Manuel Cortéz"
|
||||
msgstr "Copyright © 2013-2015. Manuel Cortéz"
|
||||
|
||||
#~ msgid "* Polish: Pawel Masarczyk."
|
||||
#~ msgstr "* Polaco: Pawel Masarczyk."
|
||||
|
||||
#~ msgid "* Arabic: Mohammed Al Shara."
|
||||
#~ msgstr "* Árabe: Mohammed Al Shara."
|
||||
|
||||
#~ msgid "* Finnish: Jani Kinnunen."
|
||||
#~ msgstr "* Finés: Jani Kinnunen."
|
||||
|
||||
#~ msgid "* French: Rémi Ruiz."
|
||||
#~ msgstr "* Francés: Rémy Ruiz."
|
||||
|
||||
#~ msgid "* German: Steffen Schultz."
|
||||
#~ msgstr "* Alemán: Steffen Schultz."
|
||||
|
||||
#~ msgid "* Russian: Alexander Jaszyn."
|
||||
#~ msgstr "* Ruso: Alexander Jaszyn."
|
||||
|
||||
#~ msgid "* Turkish: Burak."
|
||||
#~ msgstr "* Turco: Burak."
|
||||
|
||||
#~ msgid "## TWBlue's interfaces"
|
||||
#~ msgstr "## Interfaces de TWBlue"
|
||||
|
||||
|
Binary file not shown.
@@ -5,8 +5,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TW Blue documentation 0.80\n"
|
||||
"POT-Creation-Date: 2015-06-28 13:59+Hora de verano central (México)\n"
|
||||
"PO-Revision-Date: 2015-07-01 22:57+0100\n"
|
||||
"POT-Creation-Date: 2016-03-31 16:51+Hora de verano romance\n"
|
||||
"PO-Revision-Date: 2016-04-02 18:32+0100\n"
|
||||
"Last-Translator: Rémy Ruiz <remyruiz@gmail.com>\n"
|
||||
"Language-Team: Rémy Ruiz <remyruiz@gmail.com>\n"
|
||||
"Language: fr\n"
|
||||
@@ -54,7 +54,7 @@ msgstr "Documentation pour TWBlue - {0}"
|
||||
#: ../doc\strings.py:378 ../doc\strings.py:381 ../doc\strings.py:384
|
||||
#: ../doc\strings.py:387 ../doc\strings.py:390 ../doc\strings.py:393
|
||||
#: ../doc\strings.py:396 ../doc\strings.py:399 ../doc\strings.py:402
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:421 ../doc\strings.py:424
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:426 ../doc\strings.py:429
|
||||
msgid "\n"
|
||||
msgstr "\n"
|
||||
|
||||
@@ -109,7 +109,7 @@ msgid "* Tweet, reply to, retweet and delete tweets,"
|
||||
msgstr "* Écrire, répondre, retwitter et supprimer les tweets,"
|
||||
|
||||
#: ../doc\strings.py:29
|
||||
msgid "* Mark and unmark a tweet as a favourite,"
|
||||
msgid "* Mark and unmark a tweet as favourite,"
|
||||
msgstr "* Marquer comme favori, supprimer des favoris un tweet,"
|
||||
|
||||
#: ../doc\strings.py:30
|
||||
@@ -121,15 +121,15 @@ msgid "* See your friends and followers,"
|
||||
msgstr "* Voir ceux qui vous suivent et ceux que vous suivez,"
|
||||
|
||||
#: ../doc\strings.py:32
|
||||
msgid "* Follow, unfollow, report as spam and block a user,"
|
||||
msgid "* Follow, unfollow, report and block a user,"
|
||||
msgstr ""
|
||||
"* Suivre, ne pas suivre, signaler comme spam ou bloquer un utilisateur,"
|
||||
|
||||
#: ../doc\strings.py:33
|
||||
msgid "* Open a user's timeline to see only their tweets,"
|
||||
msgid "* Open a user's timeline to see their tweets separately,"
|
||||
msgstr ""
|
||||
"* Ouvrir une chronologie pour un utilisateur spécifique, ce qui permet de "
|
||||
"lire tous les tweets d'un utilisateur dans une seule liste,"
|
||||
"* Ouvrir une chronologie d'un utilisateur, ce qui permet de lire tous les "
|
||||
"tweets de cet utilisateur uniquement,"
|
||||
|
||||
#: ../doc\strings.py:34
|
||||
msgid "* Open URLs from a tweet or direct message,"
|
||||
@@ -199,7 +199,7 @@ msgstr ""
|
||||
"que vous aurez besoin de votre nom d'utilisateur et un mot de passe pour "
|
||||
"donner la permission à TWBlue à utiliser votre compte. Nous vous suggérons "
|
||||
"que vous choisissez un nom d'utilisateur qui est facile à retenir pour vous "
|
||||
"et vos futurs folowers."
|
||||
"et vos futurs abonnés."
|
||||
|
||||
#: ../doc\strings.py:51
|
||||
msgid ""
|
||||
@@ -237,25 +237,25 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:60
|
||||
msgid ""
|
||||
"TWBlue allows you to monitor several Twitter accounts simultaneously. The "
|
||||
"program refers to each Twitter account you have configured as a \"Session\". "
|
||||
"If this is the first time you have launched TWBlue, and if no Twitter "
|
||||
"session exists, you will see the Session Manager. This dialogue box allows "
|
||||
"you to authorise as many accounts as you wish. If you press the Tab key to "
|
||||
"reach the \"new account\" button and activate it by pressing the Space Bar, "
|
||||
"a dialogue box will advise you that your default internet browser will be "
|
||||
"opened in order to authorise the application and you will be asked if you "
|
||||
"would like to continue. Activate the \"yes\" Button by pressing the letter "
|
||||
"\"Y\" so the process may start."
|
||||
"You can log into several Twitter accounts simultaneously. The program refers "
|
||||
"to each Twitter account you have configured as a \"Session\". If this is the "
|
||||
"first time you have launched TWBlue, and if no Twitter session exists, you "
|
||||
"will see the Session Manager. This dialogue box allows you to authorise as "
|
||||
"many accounts as you wish. If you press the Tab key to reach the \"new "
|
||||
"account\" button and activate it by pressing the Space Bar, a dialogue box "
|
||||
"will advise you that your default internet browser will be opened in order "
|
||||
"to authorise the application and you will be asked if you would like to "
|
||||
"continue. Activate the \"yes\" Button by pressing the letter \"Y\" so the "
|
||||
"process may start."
|
||||
msgstr ""
|
||||
"TWBlue vous permet d'utiliser plusieurs comptes Twitter en même temps. Le "
|
||||
"Vous pouvez vous connecter à plusieurs comptes Twitter en même temps. Le "
|
||||
"programme fait référence à chaque compte que vous avez configuré comme "
|
||||
"\"Session\". Si c'est la première fois que vous ouvrez TWBlue, ou si vous "
|
||||
"n'avez pas configuré avant une session, vous pourrez voir le Gestionnaire de "
|
||||
"session. Cette boîte de dialogue vous permet d'autoriser tous les comptes "
|
||||
"que vous voulez. Si vous appuyez sur le bouton \"Nouveau compte\", un "
|
||||
"message vous informera que votre navigateur s'ouvrira pour autoriser "
|
||||
"l'application. Appuyez sur \"Oui\" pour démarrer le processus."
|
||||
"l'application. Appuyez sur \"oui\" pour démarrer le processus."
|
||||
|
||||
#: ../doc\strings.py:63
|
||||
msgid ""
|
||||
@@ -287,7 +287,7 @@ msgstr ""
|
||||
#: ../doc\strings.py:69
|
||||
msgid ""
|
||||
"To start running TWBlue, press the Ok button in the Session Manager "
|
||||
"dialogue. By default, TWBlue starts all the configured sessions "
|
||||
"dialogue. By default, the program starts all the configured sessions "
|
||||
"automatically, however, you can change this behavior."
|
||||
msgstr ""
|
||||
"Pour démmarer TWBlue, appuyez sur le bouton OK dans le Gestionnaire de "
|
||||
@@ -306,7 +306,7 @@ msgstr ""
|
||||
#: ../doc\strings.py:75
|
||||
msgid ""
|
||||
"When the process is finished, by default the program will play another "
|
||||
"sound, and the screen reader will say \"ready\" (this behaviour can be "
|
||||
"sound, and the screen reader will say \"ready\" (this behaviour can be "
|
||||
"configured)."
|
||||
msgstr ""
|
||||
"Lorsque le processus est terminé, le programme jouera un autre son, et le "
|
||||
@@ -334,22 +334,22 @@ msgstr "### Tampon"
|
||||
msgid ""
|
||||
"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 TWBlue 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."
|
||||
"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."
|
||||
msgstr ""
|
||||
"Un tampon est une liste d'éléments pour gérer l'information qui vient de "
|
||||
"Twitter, après d'avoir été traité par l'application. Lorsque vous configurez "
|
||||
"et démarrez une session dans TWBlue, il crée quelques tampons. Chacun "
|
||||
"d'entre eux peut contenir des éléments qui fonctionnent avec TWBlue: Tuits, "
|
||||
"messages directs, utilisateurs, tendances ou événements. Selon le tampon "
|
||||
"dans lequelle vous vous trouvez, vous serez en mesure d'effectuer des "
|
||||
"d'entre eux peut contenir des éléments qui fonctionnent avec le programme: "
|
||||
"Tuits, messages directs, utilisateurs, tendances ou événements. Selon le "
|
||||
"tampon dans lequelle vous vous trouvez, vous serez en mesure d'effectuer des "
|
||||
"actions différentes avec ses éléments."
|
||||
|
||||
#: ../doc\strings.py:90
|
||||
msgid ""
|
||||
"The following is a description for every one of TWBlue's buffers and the "
|
||||
"The following is a description for every one of TWBlue's buffers and the "
|
||||
"kind of items they work with."
|
||||
msgstr ""
|
||||
"Voici une description pour chaque tampon et les différents types d'éléments "
|
||||
@@ -394,7 +394,7 @@ msgstr ""
|
||||
"directs qui ont été envoyés depuis votre compte."
|
||||
|
||||
#: ../doc\strings.py:97
|
||||
msgid "* Sent tweets: this shows all the tweets sent from your account."
|
||||
msgid "* Sent tweets: this shows all the tweets sent from your account."
|
||||
msgstr ""
|
||||
"* Tweets envoyés: Dans cette liste il s'affiche tous les tweets qui ont été "
|
||||
"envoyés depuis votre compte."
|
||||
@@ -407,22 +407,23 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:99
|
||||
msgid ""
|
||||
"* Followers: when users follow you, you'll be able to see them on this list, "
|
||||
"with some of their account details."
|
||||
"* Followers: when users follow you, you'll be able to see them on this "
|
||||
"buffer, with some of their account details."
|
||||
msgstr ""
|
||||
"* Followers: Lorsque les utilisateurs suivent votre compte, vous les verrez "
|
||||
"* Abonnés: Lorsque les utilisateurs suivent votre compte, vous les verrez "
|
||||
"dans cette liste, ainsi que quelques informations sur leur compte Twitter."
|
||||
|
||||
#: ../doc\strings.py:100
|
||||
msgid ""
|
||||
"* Friends: the same as the previous list, but these are the users you follow."
|
||||
"* Friends: the same as the previous buffer, but these are the users you "
|
||||
"follow."
|
||||
msgstr ""
|
||||
"* Following: Même que pour la liste précédente, mais ce sont les "
|
||||
"* Abonnements: Même que pour la liste précédente, mais ce sont les "
|
||||
"utilisateurs que vous suivez."
|
||||
|
||||
#: ../doc\strings.py:101
|
||||
msgid ""
|
||||
"* User timelines: these are buffers you may create. They contain only the "
|
||||
"* 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."
|
||||
@@ -437,22 +438,22 @@ msgstr ""
|
||||
msgid ""
|
||||
"* 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 "
|
||||
"favourites list, or when you subscribe to a list. There are many more, but "
|
||||
"TWBlue shows the most common ones in the events buffer so that you can "
|
||||
"favourites 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."
|
||||
msgstr ""
|
||||
"* Événements: Un événement dans TWBlue est \"quelque chose\" qui se passe "
|
||||
"* Événements: Un événement dans TW Blue est \"quelque chose\" qui se passe "
|
||||
"sur Twitter. Dans la chronologie des événements, vous pourrez voir "
|
||||
"enregistré les événements les plus courants (par exemple. Ont vous a "
|
||||
"commencé à suivre, ont vous a marqués ou supprimé un tweet des favoris, vous "
|
||||
"vous êtes abonné à une liste). Ils sont comme des petites notifications qui "
|
||||
"envoie Twitter et TWBlue l'organise dans une liste afin que vous ne manquez "
|
||||
"pas ce qui s'est passé avec votre compte."
|
||||
"envoie Twitter et le programme l'organise dans une liste afin que vous ne "
|
||||
"manquez pas ce qui s'est passé avec votre compte."
|
||||
|
||||
#: ../doc\strings.py:103
|
||||
msgid ""
|
||||
"* Lists: A list is similar to a user timeline, except that you can "
|
||||
"configure it to contain tweets from multiple users."
|
||||
"* Lists: A list is similar to a user timeline, except that you can configure "
|
||||
"it to contain tweets from multiple users."
|
||||
msgstr ""
|
||||
"* Listes: Une liste ressemble à une chronologie, mais constitué des tweets "
|
||||
"de chaque utilisateur qui en fait partie."
|
||||
@@ -468,11 +469,11 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:105
|
||||
msgid ""
|
||||
"* User favourites: You can have TWBlue create a buffer containing tweets "
|
||||
"favourited by a particular user."
|
||||
"* User favourites: You can have the program create a buffer containing "
|
||||
"tweets favourited by a particular user."
|
||||
msgstr ""
|
||||
"* Favoris d'un utilisateur: TWBlue peut créer des tampons vous montrant les "
|
||||
"tweets qu'un utilisateur a marqués comme favoris."
|
||||
"* Favoris d'un utilisateur: Le programme peut créer des tampons vous "
|
||||
"montrant les tweets qu'un utilisateur a marqués comme favoris."
|
||||
|
||||
#: ../doc\strings.py:106
|
||||
msgid ""
|
||||
@@ -491,7 +492,7 @@ msgid ""
|
||||
"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 + "
|
||||
"if a tweet contains geographical information, you can press Control + "
|
||||
"Windows + G in the invisible interface to retrieve it."
|
||||
msgstr ""
|
||||
"Si un Tweet contient une adresse URL, vous pouvez appuyer sur Entrée dans "
|
||||
@@ -511,16 +512,16 @@ msgstr "### Zones d'édition pour un nom d'utilisateur"
|
||||
#: ../doc\strings.py:115
|
||||
msgid ""
|
||||
"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 "
|
||||
"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 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."
|
||||
"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."
|
||||
msgstr ""
|
||||
"Ces zones d'édition acceptent un nom d'utilisateur Twitter (sans l'arobase). "
|
||||
"Ils sont présents dans les boîtes de dialogues pour envoyer des messages "
|
||||
@@ -528,19 +529,19 @@ msgstr ""
|
||||
"Ces boîtes de dialogues seront abordées ultérieurement. La valeur initiale "
|
||||
"de ces zones dépend de l'endroit où ils ont été ouverts. Ces zones sont "
|
||||
"automatiquement remplis avec le nom d'utilisateur du tweet actuel (s'il est "
|
||||
"ouvert à partir du tampon principal ou envoyés d'une chronologie d'un "
|
||||
"ouvert à partir du tampon principal ou envoyés, d'une chronologie d'un "
|
||||
"utilisateur ou une liste), l'utilisateur qui a envoyé le message direct "
|
||||
"actuel (s'il est ouvert à partir du tampon de messages directs ou de "
|
||||
"messages directs envoyé) ou de l'utilisateur actuel (à partir du tampon des "
|
||||
"following ou de followers). Si une de ces boîtes de dialogue est ouvert "
|
||||
"depuis un tweet et s'il n'y a plus d'un utilisateur mentionné, vous pouvez "
|
||||
"messages directs envoyés) ou de l'utilisateur actuel (à partir du tampon des "
|
||||
"abonnements ou des abonnés). Si une de ces boîtes de dialogue est ouvert "
|
||||
"depuis un tweet et si il y a plus d'un utilisateur mentionné, vous pouvez "
|
||||
"utiliser les flèches haut/bas pour basculer entre eux. Alternativement, vous "
|
||||
"pouvez entrer manuellement les utilisateurs de Twitter dans la zone "
|
||||
"d'édition."
|
||||
|
||||
#: ../doc\strings.py:116
|
||||
msgid "## TWBlue's interfaces"
|
||||
msgstr "## Interfaces de TWBlue"
|
||||
msgid "## The program's interfaces"
|
||||
msgstr "## Les interfaces du programme"
|
||||
|
||||
#: ../doc\strings.py:119
|
||||
msgid "### The graphical user interface (GUI)"
|
||||
@@ -599,10 +600,10 @@ msgstr "#### Boutons dans l'application"
|
||||
#: ../doc\strings.py:140
|
||||
msgid ""
|
||||
"* Tweet: this button opens up a dialogue box to write your tweet. The "
|
||||
"message must not exceed 140 characters. If you write past this limit, a "
|
||||
"message must not exceed 140 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 "
|
||||
"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 + A or the button for that purpose if you have the database of "
|
||||
@@ -634,7 +635,7 @@ msgid ""
|
||||
"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, and if the original tweet plus the comment exceeds 140 "
|
||||
"characters, you will be asked if you want to post it as a comment with a "
|
||||
"characters, you will be asked if you want to post it as a comment with a "
|
||||
"mention to the original user and a link to the originating tweet."
|
||||
msgstr ""
|
||||
"* Retuit: Ce bouton s'occupe de retwitter le tweet que vous lisez. En "
|
||||
@@ -662,8 +663,8 @@ msgstr ""
|
||||
"l'utilisateur (par exemple: @utilisateur), donc il suffit d'écrire le "
|
||||
"message que vous souhaitez répondre. Si dans le tweet il y a plus d'un "
|
||||
"utilisateur mentionné, appuyez sur Maj+Tab et cliquez sur le bouton "
|
||||
"Mentionner à tous. Lorsque vous êtes dans la liste des following ou "
|
||||
"followers, ce bouton s'appellera Mention à la place."
|
||||
"Mentionner à tous. Lorsque vous êtes dans la liste des abonnements ou "
|
||||
"abonnés, ce bouton s'appellera Mention à la place."
|
||||
|
||||
#: ../doc\strings.py:143
|
||||
msgid ""
|
||||
@@ -695,7 +696,7 @@ msgstr ""
|
||||
"chronologie principal, mentions, envoyés, favoris et la chronologie de "
|
||||
"l'utilisateur vous verrez quatre boutons ; alors que dans la liste des "
|
||||
"messages directs seulement sera disponible le bouton Message Direct et "
|
||||
"Tweet, et dans les listes following et followers, s'affichera le bouton "
|
||||
"Tweet, et dans les listes abonnements et abonnés, s'affichera le bouton "
|
||||
"Tweet et celle du Message direct à côté de Mention."
|
||||
|
||||
#: ../doc\strings.py:149
|
||||
@@ -734,7 +735,7 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:159
|
||||
msgid ""
|
||||
"* Update profile: opens a dialogue where you can update your information on "
|
||||
"* Update profile: opens a dialogue where you can update your information on "
|
||||
"Twitter: name, location, website and bio. If you have already set this up "
|
||||
"the fields will be prefilled with the existing information. Also, you can "
|
||||
"upload a photo to your profile."
|
||||
@@ -765,9 +766,9 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:162
|
||||
msgid ""
|
||||
"* 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 "
|
||||
"* 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."
|
||||
msgstr ""
|
||||
"* Gestionnaire de listes: Afin d'utiliser les listes de Twitter, vous devez "
|
||||
@@ -778,11 +779,10 @@ msgstr ""
|
||||
#: ../doc\strings.py:163
|
||||
msgid ""
|
||||
"* Edit keystrokes: this opens a dialogue where you can see and edit the "
|
||||
"shortcuts relative to the invisible interface."
|
||||
"shortcuts used in the invisible interface."
|
||||
msgstr ""
|
||||
"* Modifier les raccourcis clavier: Cela ouvre une boîte de dialogue où vous "
|
||||
"pouvez voir et modifier les raccourcis relatif à l'interface invisible de "
|
||||
"TWBlue."
|
||||
"pouvez voir et modifier les raccourcis pour l'interface invisible de TWBlue."
|
||||
|
||||
#: ../doc\strings.py:164
|
||||
msgid ""
|
||||
@@ -802,15 +802,14 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:166
|
||||
msgid ""
|
||||
"* Quit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"closes the application. If you wish TWBlue not to ask you for confirmation "
|
||||
"* Exit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"closes the application. If you do not want to be asked for confirmation "
|
||||
"before exiting, uncheck the checkbox from the global settings dialogue box."
|
||||
msgstr ""
|
||||
"* Sortir: Il vous demande si vous souhaitez sortir ou non du programme. Si "
|
||||
"la réponse est oui, Il ferme l'application. Si vous ne souhaitez pas que "
|
||||
"TWBlue vous demande toujours avant de sortir, vous pouvez configurer cette "
|
||||
"option en décochant la case correspondante dans la boîte de dialogue "
|
||||
"Paramètres globaux."
|
||||
"* Sortir: Il vous demande si vous souhaitez sortir du programme. Si la "
|
||||
"réponse est oui, Il ferme l'application. Si vous ne souhaitez pas qu'il vous "
|
||||
"demande une confirmation avant de sortir, décochez la case à cocher dans la "
|
||||
"boîte de dialogue Paramètres globaux."
|
||||
|
||||
#: ../doc\strings.py:169
|
||||
msgid "##### Tweet menu"
|
||||
@@ -831,7 +830,7 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:174
|
||||
msgid ""
|
||||
"* Remove from favourites: removes the tweet from your favourites, but not "
|
||||
"* Remove from favourites: removes the tweet from your favourites, but not "
|
||||
"from Twitter."
|
||||
msgstr ""
|
||||
"* Supprimer des favoris: Supprime un tweet de vos favoris. Cela ne signifie "
|
||||
@@ -849,14 +848,14 @@ msgid ""
|
||||
"only edit box with the information in the focused item and a close button."
|
||||
msgstr ""
|
||||
"* Voir tweet: Ouvre une boîte de dialogue où vous pouvez lire le tweet, "
|
||||
"message direct, following ou follower sur lequel vous êtes actuellement. "
|
||||
"message direct, abonnements ou abonnés sur lequel vous êtes actuellement. "
|
||||
"Vous pouvez lire le texte avec les touches fléchées. C'est une boîte de "
|
||||
"dialogue très similaire à celle utilisée pour écrire un nouveau tweet, à "
|
||||
"l'exception que pour cette boîte de dialogue il ne s'affichent pas les "
|
||||
"paramètres pour la saisie automatique, le chargement de fichiers audio et "
|
||||
"images. Toutefois, il comprend deux compteurs qui permettent de connaître le "
|
||||
"nombre de fois où le tweet a été retweeté et marqué comme favori. Si vous "
|
||||
"êtes dans la liste de followers et following, la boîte de dialogue "
|
||||
"êtes dans la liste des abonnés et abonnements, la boîte de dialogue "
|
||||
"seulement affiche les informations de l'utilisateur et d'un bouton pour "
|
||||
"Fermer."
|
||||
|
||||
@@ -864,13 +863,14 @@ msgstr ""
|
||||
msgid ""
|
||||
"* View address: If the selected tweet has geographical information, TWBlue "
|
||||
"may display a dialogue box where you can read the tweet address. This "
|
||||
"address is retrieved by sending the geographical coordinates of the tweet "
|
||||
"to Google maps."
|
||||
"address is retrieved by sending the geographical coordinates of the tweet to "
|
||||
"Google maps."
|
||||
msgstr ""
|
||||
"* Voir adresse: Si le Tweet sélectionné il contien des informations "
|
||||
"géographiques, TWBlue peut afficher une boîte de dialogue où vous pouvez "
|
||||
"lire l'adresse d'où vous avez écrit le tweet. L'adresse est obtenue en "
|
||||
"envoyant les coordonnées géographiques du tweet aux services de Google maps."
|
||||
"envoyant les coordonnées géographiques du tweet que vous avez écrit aux "
|
||||
"services de Google maps."
|
||||
|
||||
#: ../doc\strings.py:177
|
||||
msgid ""
|
||||
@@ -906,13 +906,13 @@ msgstr ""
|
||||
"* Actions: Ouvre une boîte de dialogue où vous pouvez interagir avec un "
|
||||
"utilisateur. Cette boîte de dialogue vous placera par défaut le nom "
|
||||
"d'utilisateur du tweet ou message direct sur lequel vous étiez lorsque vous "
|
||||
"l'avez ouvert ou dans le cas des following et followers, l'utilisateur "
|
||||
"l'avez ouvert ou dans le cas des abonnements et abonnés, l'utilisateur "
|
||||
"actuellement sélectionné. Si vous le souhaitez, vous pouvez manuellement "
|
||||
"modifier l'utilisateur. La boîte de dialogue comporte les options suivantes:"
|
||||
|
||||
#: ../doc\strings.py:185
|
||||
msgid ""
|
||||
" * Follow: Follows a user. This means you'll see his/her tweets on your "
|
||||
" * Follow: Follows a user. This means you'll see his/her tweets on your "
|
||||
"home timeline, and if he/she also follows you, you'll be able to exchange "
|
||||
"direct messages. You may also send / receive direct messages from each other "
|
||||
"if you have configured the option to allow direct messages from anyone."
|
||||
@@ -928,8 +928,8 @@ msgstr ""
|
||||
#: ../doc\strings.py:186
|
||||
msgid ""
|
||||
" * Unfollow: Stops following a user, which causes you not being able to "
|
||||
"see his/her tweets on your main timeline neither exchanging direct "
|
||||
"messages, unless they have enabled receiving direct messages from anyone."
|
||||
"see his/her tweets on your main timeline neither exchanging direct messages, "
|
||||
"unless they have enabled receiving direct messages from anyone."
|
||||
msgstr ""
|
||||
"* Ne pas suivre: Laissez de suivre l'utilisateur, ce qui signifie que vous "
|
||||
"ne verrez pas ces tweets dans votre chronologie principale, et sauf si vous "
|
||||
@@ -986,7 +986,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"* 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 program will fail. If you try "
|
||||
"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."
|
||||
msgstr ""
|
||||
@@ -1029,8 +1029,7 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:198
|
||||
msgid ""
|
||||
"* Show user profile: opens a dialogue with the profile of the specified "
|
||||
"user."
|
||||
"* Show user profile: opens a dialogue with the profile of the specified user."
|
||||
msgstr ""
|
||||
"* Voir le profil de l'utilisateur: Ouvre une boîte de dialogue qui vous "
|
||||
"permet de sélectionner l'utilisateur auquel vous souhaitez voir le profil."
|
||||
@@ -1050,9 +1049,9 @@ msgstr "##### Menu Tampon"
|
||||
#: ../doc\strings.py:205
|
||||
msgid ""
|
||||
"* 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 "
|
||||
"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 options is in the cities' list) and choose "
|
||||
"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."
|
||||
@@ -1060,11 +1059,12 @@ msgstr ""
|
||||
"* Nouveau tampon de tendances: Cela ouvre un tampon depuis lequel vous "
|
||||
"pouvez faire un suivi de les 10 tendances d'une ville ou d'un pays du "
|
||||
"monde. Une boîte de dialogue s'affiche à partir de laquelle vous pouvez "
|
||||
"sélectionner si vous voulez voir les tendances pour un pays, une ville ou "
|
||||
"les tendances mondiales (cette option est dans la liste des villes, par "
|
||||
"exemple Worldwhide). Le tampon sera créé une fois que vous sélectionnez "
|
||||
"votre pays ou la ville et vous appuyez sur le bouton \"OK\". \" N'oubliez "
|
||||
"pas que ce type de tampon est mis à jour toutes les cinq minutes."
|
||||
"sélectionner si vous voulez voir les tendances pour un pays, les tendances "
|
||||
"pour une ville ou les tendances mondiales (cette option est dans la liste "
|
||||
"des villes, comme Worldwhide par exemple). Le tampon sera créé une fois que "
|
||||
"vous sélectionnez votre pays ou la ville et vous appuyez sur le bouton \"OK"
|
||||
"\". \" N'oubliez pas que ce type de tampon est mis à jour toutes les cinq "
|
||||
"minutes."
|
||||
|
||||
#: ../doc\strings.py:206
|
||||
msgid ""
|
||||
@@ -1072,7 +1072,7 @@ msgid ""
|
||||
"buffer."
|
||||
msgstr ""
|
||||
"* charger des éléments plus anciens: Cela permet de récupérer plus de "
|
||||
"tweets, messages directs, following ou followers depuis le tampon actuel."
|
||||
"tweets, messages directs, abonnements ou abonnés depuis le tampon actuel."
|
||||
|
||||
#: ../doc\strings.py:207
|
||||
msgid ""
|
||||
@@ -1186,8 +1186,8 @@ msgid ""
|
||||
"works directly with screen readers such as JAWS for Windows, NVDA and System "
|
||||
"Access. This interface is disabled by default, but you can enable it by "
|
||||
"pressing Control + M. It works similarly to TheQube and Chicken Nugget. Its "
|
||||
"shortcuts are similar to those found in these two clients. In addition, "
|
||||
"TWBlue has builtin support for the keymaps for these applications, "
|
||||
"shortcuts are similar to those found in these two clients. In addition, the "
|
||||
"program has builtin support for the keymaps for these applications, "
|
||||
"configurable through the global settings dialogue. By default, you cannot "
|
||||
"use this interface's shortcuts in the GUI, but you can configure this in the "
|
||||
"global settings dialogue."
|
||||
@@ -1197,11 +1197,12 @@ msgstr ""
|
||||
"NVDA et System Access. Cette interface est désactivée par défaut, mais vous "
|
||||
"pouvez l'activer en appuyant sur Contrôle+M. Il fonctionne de manière "
|
||||
"similaire à TheQube et Chicken Nugget. Ses raccourcis sont semblables à ceux "
|
||||
"trouvés dans ces deux clients. En outre, TWBlue inclut le support pour les "
|
||||
"configurations clavier pour ces clients, configurables par l'intermédiaire "
|
||||
"de la boîte de dialogue Paramètres Globaux. Par défaut, vous ne pouvez pas "
|
||||
"utiliser les raccourcis de cette interface dans l'interface graphique, mais "
|
||||
"vous pouvez configurer cela dans la boîte de dialogue Paramètres Globaux."
|
||||
"trouvés dans ces deux clients. En outre, le programme inclut le support pour "
|
||||
"les configurations clavier pour ces clients, configurables par "
|
||||
"l'intermédiaire de la boîte de dialogue Paramètres Globaux. Par défaut, vous "
|
||||
"ne pouvez pas utiliser les raccourcis de cette interface dans l'interface "
|
||||
"graphique, mais vous pouvez configurer cela dans la boîte de dialogue "
|
||||
"Paramètres Globaux."
|
||||
|
||||
#: ../doc\strings.py:231
|
||||
msgid ""
|
||||
@@ -1265,8 +1266,8 @@ msgid "* Control + Shift + V: Show tweet."
|
||||
msgstr " Contrôle+Maj+V: Voir Tweet."
|
||||
|
||||
#: ../doc\strings.py:251
|
||||
msgid "* Control + Q: Quit TWBlue."
|
||||
msgstr "* Contrôle+Q: Sortir de TWBlue."
|
||||
msgid "* Control + Q: Quit this program."
|
||||
msgstr "* Contrôle+Q: Sortir du programme."
|
||||
|
||||
#: ../doc\strings.py:252
|
||||
msgid "* Control + I: Open user timeline."
|
||||
@@ -1492,15 +1493,15 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:306
|
||||
msgid "* Control + Windows + G: Get geolocation."
|
||||
msgstr "* Contrôle+Windows+G: Obtenir la géolocalisation."
|
||||
msgstr "* Contrôle+Windows+G: Obtenir la localisation géographique."
|
||||
|
||||
#: ../doc\strings.py:307
|
||||
msgid ""
|
||||
"* Control + Windows + Shift + G: Display the tweet's geolocation in a "
|
||||
"dialogue."
|
||||
msgstr ""
|
||||
"* Contrôle+Windows+Maj+G: Afficher la géolocalisation du tweet dans une "
|
||||
"boîte de dialogue."
|
||||
"* Contrôle+Windows+Maj+G: Afficher la localisation géographique du tweet "
|
||||
"dans une boîte de dialogue."
|
||||
|
||||
#: ../doc\strings.py:308
|
||||
msgid "* Control + Windows + T: Create a trending topics' buffer."
|
||||
@@ -1513,17 +1514,17 @@ msgstr ""
|
||||
"actuel."
|
||||
|
||||
#: ../doc\strings.py:312
|
||||
msgid "## Configuring TWBlue"
|
||||
msgstr "## Configurer TWBlue"
|
||||
msgid "## Configuration"
|
||||
msgstr "## Configuration"
|
||||
|
||||
#: ../doc\strings.py:313
|
||||
msgid ""
|
||||
"As described above, TWBlue has two configuration dialogues, the global "
|
||||
"settings dialogue and the account settings dialogue."
|
||||
"As described above, this application has two configuration dialogues, the "
|
||||
"global settings dialogue and the account settings dialogue."
|
||||
msgstr ""
|
||||
"Comme décrit ci-dessus, TWBlue a deux boîtes de dialogues de configuration, "
|
||||
"la boîte de dialogue Paramètres Globaux et la boîte de dialogue Paramètres "
|
||||
"du compte."
|
||||
"Comme décrit ci-dessus, l'application a deux boîtes de dialogues de "
|
||||
"configuration, la boîte de dialogue Paramètres Globaux et la boîte de "
|
||||
"dialogue Paramètres du compte."
|
||||
|
||||
#: ../doc\strings.py:316
|
||||
msgid "### The account settings dialogue"
|
||||
@@ -1543,30 +1544,30 @@ msgstr ""
|
||||
"comportement de la base de données pour la saisie automatique des "
|
||||
"utilisateurs. Vous pouvez ajouter des utilisateurs manuellement ou de "
|
||||
"permettre à TWBlue d'ajouter à tous les utilisateurs qui se trouvent dans "
|
||||
"votre tampon de followers, following ou les deux."
|
||||
"votre tampon des abonnés, abonnements ou les deux."
|
||||
|
||||
#: ../doc\strings.py:323
|
||||
msgid ""
|
||||
"* Relative timestamps: Allows you to configure whether TWBlue will calculate "
|
||||
"the time the tweet or direct message was sent or received based on the "
|
||||
"current time, or simply say the time it was received or sent."
|
||||
"* Relative timestamps: Allows you to configure whether the application will "
|
||||
"calculate the time the tweet or direct message was sent or received based on "
|
||||
"the current time, or simply say the time it was received or sent."
|
||||
msgstr ""
|
||||
"* Temps relatifs: Vous pouvez configurer si vous voulez que TWBlue calcule "
|
||||
"l'heure du tweet ou message direct qui a été envoyé ou a été reçu (il ya 2 "
|
||||
"jours, une semaine, deux mois, etc.). ou si vous souhaitez uniquement être "
|
||||
"informer de la date et l'heure que le tweet a été publié."
|
||||
"* Temps relatifs: Vous pouvez configurer si vous voulez que le programme "
|
||||
"calcule l'heure du tweet ou message direct qui a été envoyé ou a été reçu "
|
||||
"(il ya 2 jours, une semaine, deux mois, etc.). ou si vous souhaitez "
|
||||
"uniquement être informer de la date et l'heure que le tweet a été publié."
|
||||
|
||||
#: ../doc\strings.py:324
|
||||
msgid ""
|
||||
"* API calls: Allows you to adjust the number of API calls to send to Twitter "
|
||||
"by TWBlue."
|
||||
"* API calls: Allows you to adjust the number of API calls to be made to "
|
||||
"Twitter by this program."
|
||||
msgstr ""
|
||||
"* Appels à l'API: Vous pouvez configurer le nombre d'appels à l'API pour "
|
||||
"envoyer à Twitter par TWBlue."
|
||||
"envoyer à Twitter par le programme."
|
||||
|
||||
#: ../doc\strings.py:325
|
||||
msgid ""
|
||||
"* Items on each API calls: Allows you to specify how many items should be "
|
||||
"* Items on each API call: Allows you to specify how many items should be "
|
||||
"retrieved from Twitter for each API call (default and maximum is 200)."
|
||||
msgstr ""
|
||||
"* Éléments pour chaque appel à l'API: Vous permet de spécifier combien "
|
||||
@@ -1586,9 +1587,9 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:327
|
||||
msgid ""
|
||||
"* Retweet mode: Allows you to specify the behaviour when posting a retweet: "
|
||||
"you can choose between retweeting with a comment, retweeting without "
|
||||
"comment or being asked."
|
||||
"* Retweet mode: Allows you to specify the behaviour when posting a retweet: "
|
||||
"you can choose between retweeting with a comment, retweeting without comment "
|
||||
"or being asked."
|
||||
msgstr ""
|
||||
"* Mode retweet: Vous permet de spécifier le comportement de TWBlue lorsque "
|
||||
"vous publier un retweet: vous pouvez choisir entre: Demander, Retweet avec "
|
||||
@@ -1597,7 +1598,7 @@ msgstr ""
|
||||
#: ../doc\strings.py:328
|
||||
msgid ""
|
||||
"* Number of items per buffer to cache in database: This allows you to "
|
||||
"specify how many items TWBlue should cache in a database. You can type any "
|
||||
"specify how many items TWBlue should cache in a database. You can type any "
|
||||
"number, 0 to cache all items, or leave blank to disable caching entirely."
|
||||
msgstr ""
|
||||
"* Nombre d'éléments par tampon en cache dans la base de données: Cela vous "
|
||||
@@ -1627,10 +1628,11 @@ msgid "#### The ignored clients tab"
|
||||
msgstr "#### L'onglet Clients ignorés"
|
||||
|
||||
#: ../doc\strings.py:340
|
||||
msgid "In this tab, you can add and remove clients to be ignored by TWBlue."
|
||||
msgid ""
|
||||
"In this tab, you can add and remove clients to be ignored by the program."
|
||||
msgstr ""
|
||||
"Dans cet onglet, vous pouvez ajouter et supprimer des clients qui seront "
|
||||
"ignorés par TWBlue."
|
||||
"ignorés par le programme."
|
||||
|
||||
#: ../doc\strings.py:343
|
||||
msgid "#### Sound tab"
|
||||
@@ -1639,11 +1641,11 @@ msgstr "#### Onglet Audio"
|
||||
#: ../doc\strings.py:346
|
||||
msgid ""
|
||||
"In this tab, you can adjust the sound volume, select the input and output "
|
||||
"device and set the soundpack used by TWBlue."
|
||||
"device and set the soundpack used by the program."
|
||||
msgstr ""
|
||||
"Dans cet onglet, vous pouvez ajuster le volume audio, Sélectionnez le "
|
||||
"périphérique d'entrée et de sortie et établir le paquet de sons que TWBlue "
|
||||
"utilisera pour la session en cours."
|
||||
"périphérique d'entrée et de sortie et établir le paquet de sons que le "
|
||||
"programme utilisera pour la session en cours."
|
||||
|
||||
#: ../doc\strings.py:349
|
||||
msgid "#### Audio service tab"
|
||||
@@ -1653,7 +1655,7 @@ msgstr "#### Onglet Services audio"
|
||||
msgid ""
|
||||
"In this tab, you can enter your SndUp API key (if you have one) to upload "
|
||||
"audio to SndUp with your account. Note that if account credentials are not "
|
||||
"specified you will upload announimously."
|
||||
"specified you will upload anonimously."
|
||||
msgstr ""
|
||||
"Dans cet onglet, vous pouvez entrer votre API Key de SndUp (dans le cas que "
|
||||
"vous en avez un) pour charger de l'audio à ce service avec votre compte. "
|
||||
@@ -1674,10 +1676,10 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:364
|
||||
msgid ""
|
||||
"* Language: This allows you to change the language of TWBlue. Currently "
|
||||
"supported languages are arabic, Catalan, German, English, Spanish, Basque, "
|
||||
"Finnish, French, Galician, Croatian, Hungarian, Italian, Polish, Portuguese, "
|
||||
"Russian and Turkish."
|
||||
"* Language: This allows you to change the language of this program. "
|
||||
"Currently supported languages are arabic, Catalan, German, English, Spanish, "
|
||||
"Basque, Finnish, French, Galician, Croatian, Hungarian, Italian, Polish, "
|
||||
"Portuguese, Russian and Turkish."
|
||||
msgstr ""
|
||||
"* Langue: Cela vous permet de changer la langue montrer dans l'interface et "
|
||||
"la documentation du client. Jusqu'à présent, les langues disponibles sont "
|
||||
@@ -1686,8 +1688,8 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:365
|
||||
msgid ""
|
||||
"* Ask before exiting TWBlue: This checkbox allows you to control whether "
|
||||
"TWBlue will ask for confirmation before exiting."
|
||||
"* Ask before exiting TWBlue: This checkbox allows you to control whetherthe "
|
||||
"program will ask for confirmation before exiting."
|
||||
msgstr ""
|
||||
"* Demander avant de sortir de TWBlue: Cette case à cocher contrôle si TWBlue "
|
||||
"vous demandera confirmation avant d'être fermé."
|
||||
@@ -1695,7 +1697,8 @@ msgstr ""
|
||||
#: ../doc\strings.py:366
|
||||
msgid ""
|
||||
"* Play a sound when TWBlue launches: This checkbox allows you to configure "
|
||||
"whether TWBlue will play a sound when it has finished loading the buffers."
|
||||
"whether the application will play a sound when it has finished loading the "
|
||||
"buffers."
|
||||
msgstr ""
|
||||
"* Lire un son lorsque TWBlue démarre: Cette case à cocher vous permet de "
|
||||
"contrôler si TWBlue va jouer un son lorsqu'il a terminé de charger tous les "
|
||||
@@ -1713,8 +1716,8 @@ msgstr ""
|
||||
#: ../doc\strings.py:368
|
||||
msgid ""
|
||||
"* Use the invisible interface's shortcuts in the GUI: As the invisible "
|
||||
"interface and the Graphical User Interface have their own shortcuts, you "
|
||||
"may want to use the invisible interface's keystrokes all the time. If this "
|
||||
"interface and the Graphical User Interface have their own shortcuts, you may "
|
||||
"want to use the invisible interface's keystrokes all the time. If this "
|
||||
"option is checked, the invisible interface's shortcuts will be usable in the "
|
||||
"GUI."
|
||||
msgstr ""
|
||||
@@ -1746,20 +1749,20 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:371
|
||||
msgid ""
|
||||
"* Keymap: This option allows you to change the keymap used by TWBlue in the "
|
||||
"invisible interface. The shipped keymaps are Default, Qwitter, TheQube and "
|
||||
"Chicken Nugget. The keymaps are in the \"keymaps\" folder, and you can "
|
||||
"create new ones. Just create a new \".keymap\" file and change the "
|
||||
"* Keymap: This option allows you to change the keymap used by the program in "
|
||||
"the invisible interface. The shipped keymaps are Default, Qwitter, Windows "
|
||||
"10 and Chicken Nugget. The keymaps are in the \"keymaps\" folder, and you "
|
||||
"can create new ones. Just create a new \".keymap\" file and change the "
|
||||
"keystrokes associated with the actions, as it is done in the shipped keymaps."
|
||||
msgstr ""
|
||||
"* Configuration clavier: Cette option vous permet de modifier la "
|
||||
"configuration clavier utilisée par TWBlue dans l'interface invisible. Les "
|
||||
"configurations clavier disponibles sont par défaut, Qwitter, TheQube et "
|
||||
"Chicken Nugget. Les configurations clavier se trouvent dans le dossier "
|
||||
"\"keymaps\", et vous pouvez créer les vôtres. Il suffit de créer un nouveau "
|
||||
"fichier avec l'extension \".keymap\" et modifier les raccourcis clavier "
|
||||
"associées à des actions, comme il est fait dans les configurations clavier "
|
||||
"qui sont inclus avec TWBlue."
|
||||
"configuration clavier utilisée dans l'interface invisible. Les "
|
||||
"configurations clavier disponibles sont Default, Qwitter, TheQube et Chicken "
|
||||
"Nugget. Les configurations clavier se trouvent dans le dossier \"keymaps\", "
|
||||
"et vous pouvez créer les vôtres. Il suffit de créer un nouveau fichier avec "
|
||||
"l'extension \".keymap\" et modifier les raccourcis clavier associées à des "
|
||||
"actions, comme il est fait dans les configurations clavier qui sont inclus "
|
||||
"avec TWBlue."
|
||||
|
||||
#: ../doc\strings.py:374
|
||||
msgid "#### Proxi tab"
|
||||
@@ -1780,13 +1783,15 @@ msgstr "## Licence, code source et dons"
|
||||
|
||||
#: ../doc\strings.py:383
|
||||
msgid ""
|
||||
"Tw Blue is under the GNU GPL license, version 2. You can view the license in "
|
||||
"the file named license.txt, or online at <http://www.gnu.org/licenses/old-"
|
||||
"Tw Blue is free software, licensed under the GNU GPL license, either version "
|
||||
"2 or, at your option, any later version. You can view the license in the "
|
||||
"file named license.txt, or online at <http://www.gnu.org/licenses/old-"
|
||||
"licenses/gpl-2.0.html>."
|
||||
msgstr ""
|
||||
"TwBlue est sous license GPL (General Public License) GNU, version 2. Vous "
|
||||
"pouvez afficher la licence dans le fichier nommé license.txt, ou en ligne à "
|
||||
"<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>."
|
||||
"TwBlue est un logiciel libre, distribué sous license GPL (General Public "
|
||||
"License) GNU, soit la version 2, ou, à votre convenance, toute version "
|
||||
"ultérieure. Vous pouvez afficher la licence dans le fichier nommé license."
|
||||
"txt, ou en ligne à <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>."
|
||||
|
||||
#: ../doc\strings.py:386
|
||||
msgid ""
|
||||
@@ -1813,7 +1818,7 @@ msgid ""
|
||||
"If you still have questions after reading this document, if you wish to "
|
||||
"collaborate to the project in some other way, or if you simply want to get "
|
||||
"in touch with the application developer, follow the Twitter account "
|
||||
"[@tw_blue2](https://twitter.com/tw_blue2) or [@manuelcortez00.](https://"
|
||||
"[@tw_blue2](https://twitter.com/tw_blue2) or [@manuelcortez00.](https://"
|
||||
"twitter.com/manuelcortez00) You can also visit [our website](http://twblue."
|
||||
"es)"
|
||||
msgstr ""
|
||||
@@ -1832,8 +1837,8 @@ msgstr "## Crédits"
|
||||
msgid ""
|
||||
"TWBlue is developed and mantained by [Manuel Cortéz](https://twitter.com/"
|
||||
"manuelcortez00), [José Manuel Delicado](https://twitter.com/jmdaweb), and "
|
||||
"[Bill Dengler](https://twitter.com/codeofdusk). It's suppported and "
|
||||
"sponsored by [Technow S. L.](https://twitter.com/technow)"
|
||||
"[Bill Dengler](https://twitter.com/codeofdusk). It's supported and sponsored "
|
||||
"by [Technow S. L.](https://twitter.com/technow)"
|
||||
msgstr ""
|
||||
"TWBlue est développé et maintenu par [Manuel Cortéz](https://twitter.com/"
|
||||
"manuelcortez00), [José Manuel Delicado](https://twitter.com/jmdaweb), et "
|
||||
@@ -1857,8 +1862,8 @@ msgstr ""
|
||||
"Dengler](https://twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:408
|
||||
msgid "* Arabic: Mohammed Al Shara."
|
||||
msgstr "* Arabe: Mohammed Al Shara."
|
||||
msgid "* Arabic: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
msgstr "* Arabe: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
|
||||
#: ../doc\strings.py:409
|
||||
msgid ""
|
||||
@@ -1877,42 +1882,66 @@ msgid "* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
msgstr "* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
|
||||
#: ../doc\strings.py:412
|
||||
msgid "* Finnish: Jani Kinnunen."
|
||||
msgstr "* Finnois: Jani Kinnunen."
|
||||
msgid "* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
msgstr "* Finnois: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
|
||||
#: ../doc\strings.py:413
|
||||
msgid "* French: Rémi Ruiz."
|
||||
msgstr "* Français: Rémy Ruiz"
|
||||
msgid "* French: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
msgstr "* Français: [Rémy Ruiz](https://twitter.com/blindhelp38)."
|
||||
|
||||
#: ../doc\strings.py:414
|
||||
msgid "* Galician: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgstr "* Galicien: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgid "* Galician: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
msgstr "* Galicien: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
|
||||
#: ../doc\strings.py:415
|
||||
msgid "* German: Steffen Schultz."
|
||||
msgstr "*Allemand: Steffen Schultz."
|
||||
msgid "* German: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
msgstr "* Allemand: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
|
||||
#: ../doc\strings.py:416
|
||||
msgid "* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
msgstr "* Croate: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Hungarian: Robert Osztolykan."
|
||||
msgstr "* Hongrois: Robert Osztolykan."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Polish: Pawel Masarczyk."
|
||||
msgstr "* Polonais: Pawel Masarczyk."
|
||||
|
||||
#: ../doc\strings.py:418
|
||||
msgid "* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
msgstr "* Italien: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Japanese: [Riku](https://twitter.com/riku_sub001)"
|
||||
msgstr "* Japonais: [Riku](https://twitter.com/riku_sub001)"
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
msgstr "* Polonais: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
|
||||
#: ../doc\strings.py:421
|
||||
msgid "* Portuguese: Odenilton Júnior Santos."
|
||||
msgstr "* Portugais: Odenilton Júnior Santos."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Russian: Alexander Jaszyn."
|
||||
msgstr "* Russe: Alexander Jaszyn."
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Turkish: Burak."
|
||||
msgstr "* Turc: Burak."
|
||||
#: ../doc\strings.py:422
|
||||
msgid ""
|
||||
"* Romanian: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
msgstr ""
|
||||
"* Roumain: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
|
||||
#: ../doc\strings.py:423
|
||||
msgid "* Russian: [Александр Яшин](https://twitter.com/radovest)."
|
||||
msgstr "* Russe: [Александр Яшин](https://twitter.com/radovest)."
|
||||
|
||||
#: ../doc\strings.py:424
|
||||
msgid "* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
msgstr "* Serbe: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
|
||||
#: ../doc\strings.py:425
|
||||
msgid "* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
msgstr "* Turc: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
|
||||
#: ../doc\strings.py:428
|
||||
msgid ""
|
||||
"Many thanks also to the people who worked on the documentation. Initially, "
|
||||
"[Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in "
|
||||
@@ -1922,7 +1951,7 @@ msgid ""
|
||||
"twitter.com/anibalmetal), and [Holly Scott-Gardner](https://twitter.com/"
|
||||
"holly1994). It was updated by [Sukil Etxenike](https://twitter.com/"
|
||||
"sukil2011), with some valuable corrections by [Brian Hartgen](https://"
|
||||
"twitter.com/brianhartgen)."
|
||||
"twitter.com/brianhartgen) and [Bill Dengler](https://twitter.com/codeofdusk)."
|
||||
msgstr ""
|
||||
"Merci beaucoup aussi à les personnes qui ont travaillé sur la documentation. "
|
||||
"Au départ, [Manuel Cortez](https://twitter.com/manuelcortez00) a fait la "
|
||||
@@ -1932,16 +1961,41 @@ msgstr ""
|
||||
"Hernandez](https://twitter.com/anibalmetal), et [Holly Scott-Gardner]"
|
||||
"(https://twitter.com/holly1994). Il a été mis à jour par [Sukil Etxenike]"
|
||||
"(https://twitter.com/sukil2011), avec quelques corrections précieuses par "
|
||||
"[Brian Hartgen](https://twitter.com/brianhartgen)."
|
||||
"[Brian Hartgen](https://twitter.com/brianhartgen) et [Bill Dengler](https://"
|
||||
"twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:426
|
||||
#: ../doc\strings.py:431
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc\strings.py:427
|
||||
#: ../doc\strings.py:432
|
||||
msgid "Copyright © 2013-2015. Manuel Cortéz"
|
||||
msgstr "Copyright © 2013-2015. Manuel Cortéz"
|
||||
|
||||
#~ msgid "* Polish: Pawel Masarczyk."
|
||||
#~ msgstr "* Polonais: Pawel Masarczyk."
|
||||
|
||||
#~ msgid "* Arabic: Mohammed Al Shara."
|
||||
#~ msgstr "* Arabe: Mohammed Al Shara."
|
||||
|
||||
#~ msgid "* Finnish: Jani Kinnunen."
|
||||
#~ msgstr "* Finnois: Jani Kinnunen."
|
||||
|
||||
#~ msgid "* French: Rémi Ruiz."
|
||||
#~ msgstr "* Français: Rémy Ruiz."
|
||||
|
||||
#~ msgid "* German: Steffen Schultz."
|
||||
#~ msgstr "*Allemand: Steffen Schultz."
|
||||
|
||||
#~ msgid "* Russian: Alexander Jaszyn."
|
||||
#~ msgstr "* Russe: Alexander Jaszyn."
|
||||
|
||||
#~ msgid "* Turkish: Burak."
|
||||
#~ msgstr "* Turc: Burak."
|
||||
|
||||
#~ msgid "## TWBlue's interfaces"
|
||||
#~ msgstr "## Interfaces de TWBlue"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid ""
|
||||
#~ "In order to use an application like TW Blue which allows you to manage "
|
||||
@@ -2094,9 +2148,6 @@ msgstr "Copyright © 2013-2015. Manuel Cortéz"
|
||||
#~ msgid "Paste the verification code, and press the enter key. "
|
||||
#~ msgstr "Collez le code de vérification et appuyez sur la touche Entrée."
|
||||
|
||||
#~ msgid "## The program's interface {#interface}"
|
||||
#~ msgstr "## L'interface du programme {#interface}"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Elements on the lists may be tweets, direct messages or users. TW Blue "
|
||||
#~ "creates different tabs for each list, which can be sent tweets, main "
|
||||
|
BIN
doc/locales/gl/lc_messages/twblue-documentation.mo
Normal file
BIN
doc/locales/gl/lc_messages/twblue-documentation.mo
Normal file
Binary file not shown.
2616
doc/locales/gl/lc_messages/twblue-documentation.po
Normal file
2616
doc/locales/gl/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -5,8 +5,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: TW Blue documentation 0.46\n"
|
||||
"POT-Creation-Date: 2015-07-03 17:23+Hora de verano central (Mxico)\n"
|
||||
"PO-Revision-Date: 2015-07-04 19:56+0100\n"
|
||||
"POT-Creation-Date: 2016-03-31 16:51+Hora de verano romance\n"
|
||||
"PO-Revision-Date: 2016-06-06 14:11+0100\n"
|
||||
"Last-Translator: Chris Leo Mameli <llajta2012@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: it\n"
|
||||
@@ -54,7 +54,7 @@ msgstr "Guida per TWBlue - {0}"
|
||||
#: ../doc\strings.py:378 ../doc\strings.py:381 ../doc\strings.py:384
|
||||
#: ../doc\strings.py:387 ../doc\strings.py:390 ../doc\strings.py:393
|
||||
#: ../doc\strings.py:396 ../doc\strings.py:399 ../doc\strings.py:402
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:421 ../doc\strings.py:424
|
||||
#: ../doc\strings.py:405 ../doc\strings.py:426 ../doc\strings.py:429
|
||||
msgid "\n"
|
||||
msgstr "\n"
|
||||
|
||||
@@ -156,10 +156,11 @@ msgid ""
|
||||
msgstr ""
|
||||
"Twitter è un social network o strumento di micro-blogging che consente di "
|
||||
"pubblicare gli aggiornamenti di stato delle vostre attività in 140 caratteri "
|
||||
"o meno. Twitter is a way for friends, family and co-workers to communicate "
|
||||
"and stay connected through the exchange of quick, frequent messages. You can "
|
||||
"restrict delivery of updates to those in your circle of friends or, by "
|
||||
"default, allow anyone to access them."
|
||||
"o meno. È un modo per comunicare con amici, parenti, colleghi e rimanere in "
|
||||
"contatto attraverso lo scambio frequente e rapido di messaggi. È possibile "
|
||||
"limitare la visualizzazione degli aggiornamenti alla tua cerchia di amici o, "
|
||||
"modificando come impostazione predefinita, consentire a chiunque di "
|
||||
"accedervi."
|
||||
|
||||
#: ../doc\strings.py:45
|
||||
msgid ""
|
||||
@@ -235,16 +236,16 @@ msgid ""
|
||||
"continue. Activate the \"yes\" Button by pressing the letter \"Y\" so the "
|
||||
"process may start."
|
||||
msgstr ""
|
||||
"TWBlue consente di monitorare più account Twitter. Il programma fa "
|
||||
"riferimento a ogni account Twitter che è stato configurato come una "
|
||||
"\"Sessione\". Se questa è la prima volta che avete avviato TWBlue, e se "
|
||||
"nessuna sessione esiste, verrà visualizzato il gestore sessione. Questa "
|
||||
"finestra di dialogo consente di autorizzare l'account che si desidera. Se si "
|
||||
"preme il tasto Tab fino al pulsante \"Nuovo account\" e lo attivate con la "
|
||||
"barra spaziatrice, una finestra di dialogo vi informerà che il browser "
|
||||
"internet predefinito sarà aperto al fine di autorizzare l'applicazione e vi "
|
||||
"verrà chiesto se si desidera continuare. Attivare il pulsante \"Si\" con la "
|
||||
"lettera \"S\" in modo che il processo può iniziare."
|
||||
"TWBlue consente di gestire più account Twitter. Il programma fa riferimento "
|
||||
"a ogni account Twitter che è stato configurato come una \"Sessione\". Se "
|
||||
"questa è la prima volta che avete avviato TWBlue, e se nessuna sessione "
|
||||
"esiste, verrà visualizzato il gestore sessione. Questa finestra di dialogo "
|
||||
"consente di autorizzare l'account che si desidera. Se si preme il tasto Tab "
|
||||
"fino al pulsante \"Nuovo account\" e lo attivate con la barra spaziatrice, "
|
||||
"una finestra di dialogo vi informerà che si aprirà il browser internet "
|
||||
"predefinito al fine di autorizzare l'applicazione e vi verrà chiesto se si "
|
||||
"desidera continuare. Attivare il pulsante \"Si\" con la lettera \"S\" in "
|
||||
"modo che il processo possa iniziare."
|
||||
|
||||
#: ../doc\strings.py:63
|
||||
msgid ""
|
||||
@@ -296,9 +297,8 @@ msgid ""
|
||||
"sound, and the screen reader will say \"ready\" (this behaviour can be "
|
||||
"configured)."
|
||||
msgstr ""
|
||||
"Se tutto è andato a buon fine, l'applicazione riproduce un set di suoni che "
|
||||
"confermano che si stanno aggiornando i tuoi dati.Al termine, si udirà un "
|
||||
"altro suono di avvio e lo Screen Reader annuncerà \"Pronto!\"."
|
||||
"Al termine del processo, si udirà un altro suono di avvio e lo Screen Reader "
|
||||
"annuncerà \"Pronto!\"."
|
||||
|
||||
#: ../doc\strings.py:78
|
||||
msgid "## General concepts"
|
||||
@@ -345,9 +345,8 @@ msgid ""
|
||||
"* Home: this shows all the tweets on the main timeline. These are the tweets "
|
||||
"by users you follow."
|
||||
msgstr ""
|
||||
"* Cronologia principale: quì verranno visualizzati i Tweet nella linea "
|
||||
"temporale principale. Sono i Tweet degli utenti che stiamo seguendo "
|
||||
"attualmente."
|
||||
"* Cronologia principale: quì verranno visualizzati i Tweet della Cronologia "
|
||||
"principale. Sono i Tweet degli utenti che stiamo seguendo attualmente."
|
||||
|
||||
#: ../doc\strings.py:94
|
||||
msgid ""
|
||||
@@ -645,12 +644,12 @@ msgid ""
|
||||
"and mention buttons will be available."
|
||||
msgstr ""
|
||||
"Si noti che i pulsanti appariranno a seconda delle azioni che possono essere "
|
||||
"eseguite nel buffer focalizzato. Per esempio, nella linea temporale "
|
||||
"principale e specifica, menzioni, inviati, e preferiti verranno visualizzati "
|
||||
"i quattro pulsanti comuni. Invece nella scheda messaggi Diretti saranno "
|
||||
"presenti i pulsanti \"Messaggio Diretto\" e \"tweet\", mentre negli elenchi "
|
||||
"dei follower o following appare il pulsante \"Twit\" e \"Messaggio Diretto\" "
|
||||
"con quello \"Menziona\"."
|
||||
"eseguite nel buffer focalizzato. Per esempio, nella Cronologia principale e "
|
||||
"specifica, menzioni, inviati, e preferiti verranno visualizzati i quattro "
|
||||
"pulsanti comuni. Invece nella scheda messaggi Diretti saranno presenti i "
|
||||
"pulsanti \"Messaggio Diretto\" e \"tweet\", mentre negli elenchi dei "
|
||||
"follower o following appare il pulsante \"Twit\" e \"Messaggio Diretto\" più "
|
||||
"quello \"Menziona\"."
|
||||
|
||||
#: ../doc\strings.py:149
|
||||
msgid "#### Menus"
|
||||
@@ -752,12 +751,13 @@ msgstr ""
|
||||
|
||||
#: ../doc\strings.py:166
|
||||
msgid ""
|
||||
"* Quit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"* Exit: asks whether you want to exit the program. If the answer is yes, it "
|
||||
"closes the application. If you do not want to be asked for confirmation "
|
||||
"before exiting, uncheck the checkbox from the global settings dialogue box."
|
||||
msgstr ""
|
||||
"* Esci: apre una finestra di dialogo per la conferma in caso si vuol uscire "
|
||||
"dal programma."
|
||||
"dal programma. Una volta premuto il pulsante ok verrà chiusa l'applicazione. "
|
||||
"Per non richiedere più la conferma, impostare dalle impostazioni generali."
|
||||
|
||||
#: ../doc\strings.py:169
|
||||
msgid "##### Tweet menu"
|
||||
@@ -884,7 +884,7 @@ msgstr ""
|
||||
" * Mute: quando silenziate un utente, non verranno visualizzati i tweet "
|
||||
"nella cronologia principale; non verranno visualizzati neppure eventuali "
|
||||
"menzioni che vi riguardano. Si possono comunque scambiare messaggi diretti. "
|
||||
"L' utente silenziato non viene informato di questa azione."
|
||||
"L'utente silenziato non viene informato di questa azione."
|
||||
|
||||
#: ../doc\strings.py:188
|
||||
msgid ""
|
||||
@@ -1635,7 +1635,7 @@ msgid ""
|
||||
"option is checked, the invisible interface's shortcuts will be usable in the "
|
||||
"GUI."
|
||||
msgstr ""
|
||||
"* Utilizza i comandi per l'interfaccia invisibile nella interfaccia grafica: "
|
||||
"* Utilizza i comandi per l'interfaccia invisibile nell'interfaccia grafica: "
|
||||
"Poiché l'interfaccia invisibile e l'interfaccia grafica utente hanno comandi "
|
||||
"propri, si potrebbe voler usare i comandi dell'interfaccia invisibile "
|
||||
"sempre. Se questa opzione è attivata, i comandi dell'interfaccia invisibile "
|
||||
@@ -1768,8 +1768,8 @@ msgstr ""
|
||||
"Dengler](https://twitter.com/codeofdusk)."
|
||||
|
||||
#: ../doc\strings.py:408
|
||||
msgid "* Arabic: Mohammed Al Shara."
|
||||
msgstr "* Arabo: Mohammed Al Shara."
|
||||
msgid "* Arabic: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
msgstr "* Arabo: [Mohammed Al Shara](https://twitter.com/mohammed0204)."
|
||||
|
||||
#: ../doc\strings.py:409
|
||||
msgid ""
|
||||
@@ -1788,42 +1788,66 @@ msgid "* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
msgstr "* Basco: [Sukil Etxenike](https://twitter.com/sukil2011)."
|
||||
|
||||
#: ../doc\strings.py:412
|
||||
msgid "* Finnish: Jani Kinnunen."
|
||||
msgstr "* Finlandese: Jani Kinnunen."
|
||||
msgid "* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
msgstr "* Finlandese: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."
|
||||
|
||||
#: ../doc\strings.py:413
|
||||
msgid "* French: Rémi Ruiz."
|
||||
msgstr "* Francese: Rémi Ruiz."
|
||||
msgid "* French: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
msgstr "* Francese: [Rémi Ruiz](https://twitter.com/blindhelp38)."
|
||||
|
||||
#: ../doc\strings.py:414
|
||||
msgid "* Galician: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgstr "* Galiziano: [Alba Kinteiro](https://twitter.com/albasmileforeve)."
|
||||
msgid "* Galician: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
msgstr "* Galiziano: [Juan Buño](https://twitter.com/Quetzatl_)."
|
||||
|
||||
#: ../doc\strings.py:415
|
||||
msgid "* German: Steffen Schultz."
|
||||
msgstr "* Tedesco: Steffen Schultz."
|
||||
msgid "* German: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
msgstr "* Tedesco: [Steffen Schultz](https://twitter.com/schulle4u)."
|
||||
|
||||
#: ../doc\strings.py:416
|
||||
msgid "* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
msgstr "* Croato: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Hungarian: Robert Osztolykan."
|
||||
msgstr "* Ungherese: Robert Osztolykan."
|
||||
|
||||
#: ../doc\strings.py:417
|
||||
msgid "* Polish: Pawel Masarczyk."
|
||||
msgstr "* Polacco: Pawel Masarczyk."
|
||||
|
||||
#: ../doc\strings.py:418
|
||||
msgid "* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
msgstr "* Italiano: [Christian Leo Mameli](https://twitter.com/llajta2012)."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Japanese: [Riku](https://twitter.com/riku_sub001)"
|
||||
msgstr "* Giapponese: [Riku](https://twitter.com/riku_sub001)"
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
msgstr "* Polacco: [Pawel Masarczyk.](https://twitter.com/Piciok)"
|
||||
|
||||
#: ../doc\strings.py:421
|
||||
msgid "* Portuguese: Odenilton Júnior Santos."
|
||||
msgstr "* Portoghese: Odenilton Júnior Santos."
|
||||
|
||||
#: ../doc\strings.py:419
|
||||
msgid "* Russian: Alexander Jaszyn."
|
||||
msgstr "* Russo: Alexander Jaszyn."
|
||||
|
||||
#: ../doc\strings.py:420
|
||||
msgid "* Turkish: Burak."
|
||||
msgstr "* Turco: Burak."
|
||||
#: ../doc\strings.py:422
|
||||
msgid ""
|
||||
"* Romanian: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
msgstr ""
|
||||
"* Romeno: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule]"
|
||||
"(https://twitter.com/pilgrim89)"
|
||||
|
||||
#: ../doc\strings.py:423
|
||||
msgid "* Russian: [Александр Яшин](https://twitter.com/radovest)."
|
||||
msgstr "* Russo: [Александр Яшин](https://twitter.com/radovest)."
|
||||
|
||||
#: ../doc\strings.py:424
|
||||
msgid "* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
msgstr "* Serbo: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"
|
||||
|
||||
#: ../doc\strings.py:425
|
||||
msgid "* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
msgstr "* Turco: [Burak Yüksek](https://twitter.com/burakyuksek)."
|
||||
|
||||
#: ../doc\strings.py:428
|
||||
msgid ""
|
||||
"Many thanks also to the people who worked on the documentation. Initially, "
|
||||
"[Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in "
|
||||
@@ -1844,16 +1868,37 @@ msgstr ""
|
||||
"Gardner](https://twitter.com/holly1994). E aggiornato da [Sukil Etxenike]"
|
||||
"(https://twitter.com/sukil2011), con alcune correzioni di [Brian Hartgen]"
|
||||
"(https://twitter.com/brianhartgen) e [Bill Dengler](https://twitter.com/"
|
||||
"codeofdusk).."
|
||||
"codeofdusk)"
|
||||
|
||||
#: ../doc\strings.py:426
|
||||
#: ../doc\strings.py:431
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc\strings.py:427
|
||||
#: ../doc\strings.py:432
|
||||
msgid "Copyright © 2013-2015. Manuel Cortéz"
|
||||
msgstr "Copyright ©2013-2015. Manuel Cortéz"
|
||||
|
||||
#~ msgid "* Polish: Pawel Masarczyk."
|
||||
#~ msgstr "* Polacco: Pawel Masarczyk."
|
||||
|
||||
#~ msgid "* Arabic: Mohammed Al Shara."
|
||||
#~ msgstr "* Arabo: Mohammed Al Shara."
|
||||
|
||||
#~ msgid "* Finnish: Jani Kinnunen."
|
||||
#~ msgstr "* Finlandese: Jani Kinnunen."
|
||||
|
||||
#~ msgid "* French: Rémi Ruiz."
|
||||
#~ msgstr "* Francese: Rémi Ruiz."
|
||||
|
||||
#~ msgid "* German: Steffen Schultz."
|
||||
#~ msgstr "* Tedesco: Steffen Schultz."
|
||||
|
||||
#~ msgid "* Russian: Alexander Jaszyn."
|
||||
#~ msgstr "* Russo: Alexander Jaszyn."
|
||||
|
||||
#~ msgid "* Turkish: Burak."
|
||||
#~ msgstr "* Turco: Burak."
|
||||
|
||||
#~ msgid "## TWBlue's interfaces"
|
||||
#~ msgstr "## Le interfaccie TWBlue"
|
||||
|
||||
|
BIN
doc/locales/ja/lc_messages/twblue-documentation.mo
Normal file
BIN
doc/locales/ja/lc_messages/twblue-documentation.mo
Normal file
Binary file not shown.
1668
doc/locales/ja/lc_messages/twblue-documentation.po
Normal file
1668
doc/locales/ja/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/ro/LC_MESSAGES/twblue-documentation.mo
Normal file
BIN
doc/locales/ro/LC_MESSAGES/twblue-documentation.mo
Normal file
Binary file not shown.
2581
doc/locales/ro/LC_MESSAGES/twblue-documentation.po
Normal file
2581
doc/locales/ro/LC_MESSAGES/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/ru/lc_messages/twblue-documentation.mo
Normal file
BIN
doc/locales/ru/lc_messages/twblue-documentation.mo
Normal file
Binary file not shown.
1683
doc/locales/ru/lc_messages/twblue-documentation.po
Normal file
1683
doc/locales/ru/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -411,14 +411,17 @@ documentation.append(_(u"""* Spanish: [Manuel Cortéz](https://twitter.com/manue
|
||||
documentation.append(_(u"""* Basque: [Sukil Etxenike](https://twitter.com/sukil2011)."""))
|
||||
documentation.append(_(u"""* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen)."""))
|
||||
documentation.append(_(u"""* French: [Rémi Ruiz](https://twitter.com/blindhelp38)."""))
|
||||
documentation.append(_(u"""* Galician: [Alba Kinteiro](https://twitter.com/albasmileforeve)."""))
|
||||
documentation.append(_(u"""* Galician: [Juan Buño](https://twitter.com/Quetzatl_)."""))
|
||||
documentation.append(_(u"""* German: [Steffen Schultz](https://twitter.com/schulle4u)."""))
|
||||
documentation.append(_(u"""* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222)."""))
|
||||
documentation.append(_(u"""* Hungarian: Robert Osztolykan."""))
|
||||
documentation.append(_(u"""* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012)."""))
|
||||
documentation.append(_(u"""* Polish: Pawel Masarczyk."""))
|
||||
documentation.append(_(u"""* Japanese: [Riku](https://twitter.com/riku_sub001)"""))
|
||||
documentation.append(_(u"""* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)"""))
|
||||
documentation.append(_(u"""* Portuguese: Odenilton Júnior Santos."""))
|
||||
documentation.append(_(u"""* Romanian: [Florian Ionașcu](https://twitter.com/7ro) and [Răzvan Ciule](https://twitter.com/pilgrim89)"""))
|
||||
documentation.append(_(u"""* Russian: [Александр Яшин](https://twitter.com/radovest)."""))
|
||||
documentation.append(_(u"""* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)"""))
|
||||
documentation.append(_(u"""* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek)."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
|
@@ -1,7 +1,7 @@
|
||||
[Launch]
|
||||
ProgramExecutable=TWBlue\TWBlue.exe
|
||||
ProgramExecutable64=TWBlue64\TWBlue.exe
|
||||
CommandLineArguments=-p -d "%PAL:DataDir%"
|
||||
CommandLineArguments=-d "%PAL:DataDir%"
|
||||
SinglePortableAppInstance=true
|
||||
MinOS=XP
|
||||
SingleAppInstance=false
|
||||
|
@@ -1,11 +1,11 @@
|
||||
[Format]
|
||||
Type=PortableApps.comFormat
|
||||
Version=3.0
|
||||
Version=3.3
|
||||
|
||||
[Details]
|
||||
Name=TWBlue portable
|
||||
Name=tw blue portable
|
||||
AppID=TWBluePortable
|
||||
Publisher=jmdaweb & TWBlue & PortableApps.com
|
||||
Publisher=jmdaweb & TW blue & PortableApps.com
|
||||
Homepage=PortableApps.com/TWBluePortable
|
||||
Category=Internet
|
||||
Description=A portable, fast and accessible Twitter client with many options.
|
||||
@@ -20,8 +20,8 @@ CommercialUse=true
|
||||
EULAVersion=2
|
||||
|
||||
[Version]
|
||||
PackageVersion=0.80.0.0
|
||||
DisplayVersion=0.80
|
||||
PackageVersion=0.84.0.0
|
||||
DisplayVersion=0.84
|
||||
|
||||
[Control]
|
||||
Icons=1
|
||||
|
@@ -8,10 +8,14 @@ FINNISH=true
|
||||
FRENCH=true
|
||||
GALICIAN=true
|
||||
GERMAN=true
|
||||
CROATIAN=true
|
||||
HUNGARIAN=true
|
||||
ITALIAN=true
|
||||
JAPANESE=true
|
||||
POLISH=true
|
||||
PORTUGUESEBR=true
|
||||
ROMANIAN=true
|
||||
RUSSIAN=true
|
||||
SERBIAN=true
|
||||
SPANISHINTERNATIONAL=true
|
||||
TURKISH=true
|
||||
TURKISH=true
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>TWBlue Portable Help</title>
|
||||
<title>tw blue Portable Help</title>
|
||||
<link rel="alternate" href="http://portableapps.com/feeds/general" type="application/rss+xml" title="PortableApps.com">
|
||||
<link rel="shortcut icon" href="Other/Help/Images/Favicon.ico">
|
||||
<style type="text/css">
|
||||
@@ -125,13 +125,13 @@
|
||||
<body>
|
||||
<div class="logo"><a href="http://portableapps.com/"><img src="Other/Help/Images/Help_Logo_Top.png" alt="PortableApps.com - Your Digital Life, Anywhere"></a></div>
|
||||
<div class="content">
|
||||
<h1 class="hastagline">TWBlue Portable Help</h1>
|
||||
<h1 class="hastagline">tw blue Portable Help</h1>
|
||||
<h2 class="tagline">A powerful and accessible Twitter client</h2>
|
||||
<p>TWBlue Portable is the TWBlue whatever it is packaged with a PortableApps.com launcher as a <a href="http://portableapps.com/about/what_is_a_portable_app">portable app</a>, so you can view and send tweets on your iPod, USB flash drive, portable hard drive, etc. It has all the same features as TWBlue, plus, it leaves no personal information behind on the machine you run it on, so you can take it with you wherever you go. <a href="http://twblue.es">Learn more about TWBlue...</a></p>
|
||||
<p>tw blue Portable is the tw blue whatever it is packaged with a PortableApps.com launcher as a <a href="http://portableapps.com/about/what_is_a_portable_app">portable app</a>, so you can view and send tweets on your iPod, USB flash drive, portable hard drive, etc. It has all the same features as tw blue, plus, it leaves no personal information behind on the machine you run it on, so you can take it with you wherever you go. <a href="http://twblue.es">Learn more about tw blue...</a></p>
|
||||
|
||||
<p><a href="http://portableapps.com/donate"><img src="Other/Help/Images/Donation_Button.png" style="vertical-align:middle" alt="Make a Donation"></a> - Support PortableApps.com's Hosting and Development</p>
|
||||
|
||||
<p><a href="http://portableapps.com/node/*Node ID*">Go to the TWBlue Portable Homepage >></a></p>
|
||||
<p><a href="http://portableapps.com/node/*Node ID*">Go to the tw blue Portable Homepage >></a></p>
|
||||
<p><a href="http://portableapps.com/">Get more portable apps at PortableApps.com</a></p>
|
||||
|
||||
<p>This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative.</p>
|
||||
|
@@ -12,10 +12,10 @@ SetCompress auto
|
||||
SetCompressor /solid lzma
|
||||
SetDatablockOptimize on
|
||||
VIAddVersionKey ProductName "TWBlue"
|
||||
VIAddVersionKey LegalCopyright "Copyright 2015 Manuel Cortéz."
|
||||
VIAddVersionKey ProductVersion "0.80"
|
||||
VIAddVersionKey FileVersion "0.80"
|
||||
VIProductVersion "0.80.0.0"
|
||||
VIAddVersionKey LegalCopyright "Copyright 2016 Manuel Cortéz."
|
||||
VIAddVersionKey ProductVersion "0.84"
|
||||
VIAddVersionKey FileVersion "0.84"
|
||||
VIProductVersion "0.84.0.0"
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
!define MUI_LICENSEPAGE_RADIOBUTTONS
|
||||
!insertmacro MUI_PAGE_LICENSE "license.txt"
|
||||
@@ -26,7 +26,6 @@ var StartMenuFolder
|
||||
!define MUI_FINISHPAGE_LINK "Visit TWBlue website"
|
||||
!define MUI_FINISHPAGE_LINK_LOCATION "http://twblue.es"
|
||||
!define MUI_FINISHPAGE_RUN "$INSTDIR\TWBlue.exe"
|
||||
!define MUI_FINISHPAGE_RUN_PARAMETERS "-i"
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
!insertmacro MUI_UNPAGE_CONFIRM
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
@@ -48,6 +47,7 @@ var StartMenuFolder
|
||||
!insertmacro MUI_LANGUAGE "Croatian"
|
||||
!insertmacro MUI_LANGUAGE "Japanese"
|
||||
!insertmacro MUI_LANGUAGE "SerbianLatin"
|
||||
!insertmacro MUI_LANGUAGE "Romanian"
|
||||
!insertmacro MUI_RESERVEFILE_LANGDLL
|
||||
Section
|
||||
SetShellVarContext All
|
||||
@@ -57,10 +57,10 @@ File /r TWBlue64\*
|
||||
${Else}
|
||||
File /r TWBlue\*
|
||||
${EndIf}
|
||||
CreateShortCut "$DESKTOP\TWBlue.lnk" "$INSTDIR\TWBlue.exe" "-i"
|
||||
CreateShortCut "$DESKTOP\TWBlue.lnk" "$INSTDIR\TWBlue.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN startmenu
|
||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\TWBlue.lnk" "$INSTDIR\TWBlue.exe" "-i"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\TWBlue.lnk" "$INSTDIR\TWBlue.exe"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\TWBlue on the web.lnk" "http://twblue.es"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
@@ -69,10 +69,10 @@ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "D
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "InstallLocation" $INSTDIR
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "Publisher" "Manuel Cortéz"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "DisplayVersion" "0.80"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "DisplayVersion" "0.84"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "URLInfoAbout" "http://twblue.es"
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "VersionMajor" 0
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "VersionMinor" 80
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "VersionMinor" 84
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "NoRepair" 1
|
||||
SectionEnd
|
||||
|
@@ -28,6 +28,8 @@ timelines = list(default=list())
|
||||
tweet_searches = list(default=list())
|
||||
lists = list(default=list())
|
||||
favourites_timelines = list(default=list())
|
||||
followers_timelines = list(default=list())
|
||||
friends_timelines = list(default=list())
|
||||
trending_topic_buffers = list(default=list())
|
||||
muted_buffers = list(default=list())
|
||||
autoread_buffers = list(default=list(mentions, direct_messages, events))
|
||||
@@ -37,6 +39,3 @@ spelling_language = string(default="")
|
||||
save_followers_in_autocompletion_db = boolean(default=False)
|
||||
save_friends_in_autocompletion_db = boolean(default=False)
|
||||
twishort_enabled = boolean(default=False)
|
||||
|
||||
[services]
|
||||
pocket_access_token = string(default="")
|
BIN
src/accessible_output2/lib/nvdaControllerClient64.dll
Normal file
BIN
src/accessible_output2/lib/nvdaControllerClient64.dll
Normal file
Binary file not shown.
@@ -43,5 +43,5 @@ class Output(object):
|
||||
def speak(self, **optiont):
|
||||
return False
|
||||
|
||||
def braille(self, **options):
|
||||
def braille(self, *args, **options):
|
||||
return False
|
||||
|
@@ -15,6 +15,7 @@ speak_ready_msg = boolean(default=True)
|
||||
log_level = string(default="error")
|
||||
load_keymap = string(default="default.keymap")
|
||||
donation_dialog_displayed = boolean(default=False)
|
||||
check_for_updates = boolean(default=True)
|
||||
|
||||
[proxy]
|
||||
server = string(default="")
|
||||
|
@@ -1,12 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
name = 'TWBlue'
|
||||
snapshot = True
|
||||
snapshot = False
|
||||
if snapshot == False:
|
||||
version = "0.80"
|
||||
version = "0.84"
|
||||
update_url = 'http://twblue.es/updates/twblue_ngen.json'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json'
|
||||
else:
|
||||
version = "10.95"
|
||||
version = "10.99"
|
||||
update_url = 'http://twblue.es/updates/snapshots_ngen.json'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json'
|
||||
author = u"Manuel Cortéz"
|
||||
authorEmail = "manuel@manuelcortez.net"
|
||||
copyright = u"Copyright (C) 2015, Technow S.L. \nCopyright (C) 2013-2015, Manuel cortéz."
|
||||
|
@@ -10,7 +10,7 @@ def convert_audioboom(url):
|
||||
audio_id = url.split('.com/')[-1]
|
||||
return 'https://audioboom.com/%s.mp3' % audio_id
|
||||
|
||||
@matches_url ('http://soundcloud.com/')
|
||||
@matches_url ('https://soundcloud.com/')
|
||||
def convert_soundcloud (url):
|
||||
client_id = "df8113ca95c157b6c9731f54b105b473"
|
||||
permalink = urllib.urlopen ('http://api.soundcloud.com/resolve.json?client_id=%s&url=%s' %(client_id, url))
|
||||
|
4966
src/cacert.pem
4966
src/cacert.pem
File diff suppressed because it is too large
Load Diff
@@ -6,13 +6,7 @@ import application
|
||||
log = logging.getLogger("commandlineLauncher")
|
||||
|
||||
parser = argparse.ArgumentParser(description=application.name+" command line launcher")
|
||||
group = parser.add_mutually_exclusive_group()
|
||||
group.add_argument("-p", "--portable", help="Use " + application.name + " as a portable application.", action="store_true", default=True)
|
||||
group.add_argument("-i", "--installed", help="Use " + application.name + " as an installed application. Config files will be saved in the user data directory", action="store_true")
|
||||
parser.add_argument("-d", "--data-directory", action="store", dest="directory", help="Specifies the directory where " + application.name + " saves userdata.")
|
||||
args = parser.parse_args()
|
||||
log.debug("Starting " + application.name + " with the following arguments: installed = %s, portable = %s and directory = %s" % (args.installed, args.portable, args.directory))
|
||||
if args.installed == True: paths.mode = "installed"
|
||||
elif args.portable == True:
|
||||
paths.mode = "portable"
|
||||
if args.directory != None: paths.directory = args.directory
|
||||
log.debug("Starting " + application.name + " with the following arguments: directory = %s" % (args.directory))
|
||||
if args.directory != None: paths.directory = args.directory
|
||||
|
@@ -3,6 +3,9 @@ from configobj import ConfigObj, ParseError
|
||||
from validate import Validator, ValidateError
|
||||
import os
|
||||
import string
|
||||
from logging import getLogger
|
||||
log = getLogger("config_utils")
|
||||
|
||||
class ConfigLoadError(Exception): pass
|
||||
|
||||
def load_config(config_path, configspec_path=None, *args, **kwargs):
|
||||
@@ -14,10 +17,12 @@ def load_config(config_path, configspec_path=None, *args, **kwargs):
|
||||
except ParseError:
|
||||
raise ConfigLoadError("Unable to load %r" % config_path)
|
||||
validator = Validator()
|
||||
validated = config.validate(validator, copy=True)
|
||||
validated = config.validate(validator, preserve_errors=False, copy=True)
|
||||
if validated == True:
|
||||
config.write()
|
||||
return config
|
||||
else:
|
||||
log.exception("Error in config file: {0}".format(validated,))
|
||||
|
||||
def is_blank(arg):
|
||||
"Check if a line is blank."
|
||||
@@ -25,6 +30,7 @@ def is_blank(arg):
|
||||
if c not in string.whitespace:
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_keys(path):
|
||||
"Gets the keys of a configobj config file."
|
||||
res=[]
|
||||
|
38
src/controller/attach.py
Normal file
38
src/controller/attach.py
Normal file
@@ -0,0 +1,38 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import widgetUtils
|
||||
import logging
|
||||
from wxUI.dialogs import attach as gui
|
||||
log = logging.getLogger("controller.attach")
|
||||
|
||||
class attach(object):
|
||||
def __init__(self):
|
||||
self.attachments = list()
|
||||
self.dialog = gui.attachDialog()
|
||||
widgetUtils.connect_event(self.dialog.photo, widgetUtils.BUTTON_PRESSED, self.upload_image)
|
||||
widgetUtils.connect_event(self.dialog.remove, widgetUtils.BUTTON_PRESSED, self.remove_attachment)
|
||||
self.dialog.get_response()
|
||||
log.debug("Attachments controller started.")
|
||||
|
||||
def upload_image(self, *args, **kwargs):
|
||||
image, description = self.dialog.get_image()
|
||||
if image != None:
|
||||
imageInfo = {"type": "photo", "file": image, "description": description}
|
||||
log.debug("Image data to upload: %r" % (imageInfo,))
|
||||
self.attachments.append(imageInfo)
|
||||
info = [_(u"Photo"), description]
|
||||
self.dialog.attachments.insert_item(False, *info)
|
||||
self.dialog.remove.Enable(True)
|
||||
|
||||
def remove_attachment(self, *args, **kwargs):
|
||||
current_item = self.dialog.attachments.get_selected()
|
||||
log.debug("Removing item %d" % (current_item,))
|
||||
if current_item == -1: current_item = 0
|
||||
self.attachments.pop(current_item)
|
||||
self.dialog.attachments.remove_item(current_item)
|
||||
self.check_remove_status()
|
||||
log.debug("Removed")
|
||||
|
||||
def check_remove_status(self):
|
||||
if len(self.attachments) == 0 and self.dialog.attachments.get_count() == 0:
|
||||
self.dialog.remove.Enable(False)
|
@@ -49,6 +49,7 @@ class bufferController(object):
|
||||
|
||||
|
||||
def get_event(self, ev):
|
||||
""" Catches key presses in the WX interface and generate the corresponding event names."""
|
||||
if ev.GetKeyCode() == wx.WXK_RETURN and ev.ControlDown(): event = "audio"
|
||||
elif ev.GetKeyCode() == wx.WXK_RETURN: event = "url"
|
||||
elif ev.GetKeyCode() == wx.WXK_F5: event = "volume_down"
|
||||
@@ -84,7 +85,9 @@ class bufferController(object):
|
||||
sound.URLPlayer.stream.volume = self.session.settings["sound"]["volume"]
|
||||
self.session.sound.play("volume_changed.ogg")
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
if mandatory == True:
|
||||
output.speak(_(u"Unable to update this buffer."))
|
||||
pass
|
||||
|
||||
def get_more_items(self):
|
||||
@@ -97,7 +100,9 @@ class bufferController(object):
|
||||
return False
|
||||
|
||||
def remove_item(self, item):
|
||||
f = self.buffer.list.get_selected()
|
||||
self.buffer.list.remove_item(item)
|
||||
self.buffer.list.select_item(f)
|
||||
|
||||
def bind_events(self):
|
||||
pass
|
||||
@@ -134,16 +139,25 @@ class bufferController(object):
|
||||
self.session.settings["mysc"]["twishort_enabled"] = tweet.message.long_tweet.GetValue()
|
||||
text = tweet.message.get_text()
|
||||
if len(text) > 140 and tweet.message.get("long_tweet") == True:
|
||||
if tweet.image == None:
|
||||
if not hasattr(tweet, "attachments"):
|
||||
text = twishort.create_tweet(self.session.settings["twitter"]["user_key"], self.session.settings["twitter"]["user_secret"], text)
|
||||
else:
|
||||
text = twishort.create_tweet(self.session.settings["twitter"]["user_key"], self.session.settings["twitter"]["user_secret"], text, 1)
|
||||
if tweet.image == None:
|
||||
if not hasattr(tweet, "attachments") or len(tweet.attachments) == 0:
|
||||
call_threaded(self.session.api_call, call_name="update_status", status=text)
|
||||
else:
|
||||
call_threaded(self.session.api_call, call_name="update_status_with_media", status=text, media=tweet.image)
|
||||
call_threaded(self.post_with_media, text=text, attachments=tweet.attachments)
|
||||
if hasattr(tweet.message, "destroy"): tweet.message.destroy()
|
||||
|
||||
def post_with_media(self, text, attachments):
|
||||
media_ids = []
|
||||
for i in attachments:
|
||||
photo = open(i["file"], "rb")
|
||||
img = self.session.twitter.twitter.upload_media(media=photo)
|
||||
self.session.twitter.twitter.set_description(media_id=img["media_id"], alt_text=dict(text=i["description"]))
|
||||
media_ids.append(img["media_id"])
|
||||
self.session.twitter.twitter.update_status(status=text, media_ids=media_ids)
|
||||
|
||||
def save_positions(self):
|
||||
try:
|
||||
self.session.db[self.name+"_pos"]=self.buffer.list.get_selected()
|
||||
@@ -198,7 +212,7 @@ class accountPanel(bufferController):
|
||||
|
||||
class emptyPanel(bufferController):
|
||||
def __init__(self, parent, name, account):
|
||||
super(emptyPanel, self).__init__(parent, None, name)
|
||||
super(emptyPanel, self).__init__(parent=parent)
|
||||
log.debug("Initializing buffer %s, account %s" % (name, account,))
|
||||
self.buffer = buffers.emptyPanel(parent, name)
|
||||
self.type = self.buffer.type
|
||||
@@ -240,11 +254,11 @@ class baseBufferController(bufferController):
|
||||
tweet = self.get_right_tweet()
|
||||
tweetsList = []
|
||||
tweet_id = tweet["id"]
|
||||
uri = None
|
||||
if tweet.has_key("long_uri"):
|
||||
uri = tweet["long_uri"]
|
||||
message = None
|
||||
if tweet.has_key("message"):
|
||||
message = tweet["message"]
|
||||
try:
|
||||
tweet = self.session.twitter.twitter.show_status(id=tweet_id)
|
||||
tweet = self.session.twitter.twitter.show_status(id=tweet_id, include_ext_alt_text=True)
|
||||
urls = utils.find_urls_in_text(tweet["text"])
|
||||
for url in range(0, len(urls)):
|
||||
try: tweet["text"] = tweet["text"].replace(urls[url], tweet["entities"]["urls"][url]["expanded_url"])
|
||||
@@ -252,14 +266,13 @@ class baseBufferController(bufferController):
|
||||
except TwythonError as e:
|
||||
utils.twitter_error(e)
|
||||
return
|
||||
if uri != None:
|
||||
tweet["text"] = twishort.get_full_text(uri)
|
||||
if message != None:
|
||||
tweet["message"] = message
|
||||
l = tweets.is_long(tweet)
|
||||
while l != False:
|
||||
tweetsList.append(tweet)
|
||||
id = tweets.get_id(l)
|
||||
try:
|
||||
tweet = self.session.twitter.twitter.show_status(id=id)
|
||||
tweet = self.session.twitter.twitter.show_status(id=l, include_ext_alt_text=True)
|
||||
urls = utils.find_urls_in_text(tweet["text"])
|
||||
for url in range(0, len(urls)):
|
||||
try: tweet["text"] = tweet["text"].replace(urls[url], tweet["entities"]["urls"][url]["expanded_url"])
|
||||
@@ -272,10 +285,10 @@ class baseBufferController(bufferController):
|
||||
tweetsList.append(tweet)
|
||||
return (tweet, tweetsList)
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory==True:
|
||||
self.execution_time = current_time
|
||||
log.debug("Starting stream for buffer %s, account %s and type %s" % (self.name, self.account, self.type))
|
||||
log.debug("args: %s, kwargs: %s" % (self.args, self.kwargs))
|
||||
@@ -283,9 +296,9 @@ class baseBufferController(bufferController):
|
||||
number_of_items = self.session.order_buffer(self.name, val)
|
||||
log.debug("Number of items retrieved: %d" % (number_of_items,))
|
||||
self.put_items_on_list(number_of_items)
|
||||
if self.sound == None: return
|
||||
if number_of_items > 0 and self.name != "sent_tweets" and self.name != "sent_direct_messages":
|
||||
if number_of_items > 0 and self.name != "sent_tweets" and self.name != "sent_direct_messages" and self.sound != None:
|
||||
self.session.sound.play(self.sound)
|
||||
return number_of_items
|
||||
|
||||
def get_more_items(self):
|
||||
elements = []
|
||||
@@ -298,7 +311,9 @@ class baseBufferController(bufferController):
|
||||
except TwythonError as e:
|
||||
output.speak(e.message, True)
|
||||
for i in items:
|
||||
if utils.is_allowed(i, self.session.settings["twitter"]["ignored_clients"]) == True:
|
||||
if utils.is_allowed(i, self.session.settings["twitter"]["ignored_clients"]) == True and utils.find_item(i["id"], self.session.db[self.name]) == None:
|
||||
i = self.session.check_quoted_status(i)
|
||||
i = self.session.check_long_tweet(i)
|
||||
elements.append(i)
|
||||
if self.session.settings["general"]["reverse_timelines"] == False:
|
||||
self.session.db[self.name].insert(0, i)
|
||||
@@ -324,6 +339,7 @@ class baseBufferController(bufferController):
|
||||
if dlg == widgetUtils.YES:
|
||||
if self.name[:-9] in self.session.settings["other_buffers"]["timelines"]:
|
||||
self.session.settings["other_buffers"]["timelines"].remove(self.name[:-9])
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
@@ -332,6 +348,7 @@ class baseBufferController(bufferController):
|
||||
if dlg == widgetUtils.YES:
|
||||
if self.name[:-9] in self.session.settings["other_buffers"]["favourites_timelines"]:
|
||||
self.session.settings["other_buffers"]["favourites_timelines"].remove(self.name[:-9])
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
@@ -339,7 +356,15 @@ class baseBufferController(bufferController):
|
||||
output.speak(_(u"This buffer is not a timeline; it can't be deleted."), True)
|
||||
return False
|
||||
|
||||
def remove_tweet(self, id):
|
||||
if type(self.session.db[self.name]) == dict: return
|
||||
for i in xrange(0, len(self.session.db[self.name])):
|
||||
if self.session.db[self.name][i]["id"] == id:
|
||||
self.session.db[self.name].pop(i)
|
||||
self.remove_item(i)
|
||||
|
||||
def put_items_on_list(self, number_of_items):
|
||||
if number_of_items == 0: return
|
||||
log.debug("The list contains %d items " % (self.buffer.list.get_count(),))
|
||||
log.debug("Putting %d items on the list" % (number_of_items,))
|
||||
if self.buffer.list.get_count() == 0:
|
||||
@@ -349,11 +374,14 @@ class baseBufferController(bufferController):
|
||||
self.buffer.set_position(self.session.settings["general"]["reverse_timelines"])
|
||||
elif self.buffer.list.get_count() > 0:
|
||||
if self.session.settings["general"]["reverse_timelines"] == False:
|
||||
for i in self.session.db[self.name][:number_of_items]:
|
||||
items = self.session.db[self.name][len(self.session.db[self.name])-number_of_items:]
|
||||
for i in items:
|
||||
tweet = self.compose_function(i, self.session.db, self.session.settings["general"]["relative_times"])
|
||||
self.buffer.list.insert_item(False, *tweet)
|
||||
else:
|
||||
for i in self.session.db[self.name][0:number_of_items]:
|
||||
items = self.session.db[self.name][0:number_of_items]
|
||||
items.reverse()
|
||||
for i in items:
|
||||
tweet = self.compose_function(i, self.session.db, self.session.settings["general"]["relative_times"])
|
||||
self.buffer.list.insert_item(True, *tweet)
|
||||
log.debug("Now the list contains %d items " % (self.buffer.list.get_count(),))
|
||||
@@ -481,7 +509,13 @@ class baseBufferController(bufferController):
|
||||
users = utils.get_all_users(tweet, self.session.db)
|
||||
dm = messages.dm(self.session, _(u"Direct message to %s") % (screen_name,), _(u"New direct message"), users)
|
||||
if dm.message.get_response() == widgetUtils.OK:
|
||||
call_threaded(self.session.api_call, call_name="send_direct_message", text=dm.message.get_text(), screen_name=dm.message.get("cb"))
|
||||
val = self.session.api_call(call_name="send_direct_message", text=dm.message.get_text(), screen_name=dm.message.get("cb"))
|
||||
if val != None:
|
||||
if self.session.settings["general"]["reverse_timelines"] == False:
|
||||
self.session.db["sent_direct_messages"].append(val)
|
||||
else:
|
||||
self.session.db["sent_direct_messages"].insert(0, val)
|
||||
pub.sendMessage("sent-dm", data=val, user=self.session.db["user_name"])
|
||||
if hasattr(dm.message, "destroy"): dm.message.destroy()
|
||||
|
||||
@_tweets_exist
|
||||
@@ -638,9 +672,9 @@ class listBufferController(baseBufferController):
|
||||
self.list_id = list_id
|
||||
self.kwargs["list_id"] = list_id
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
self.get_user_ids()
|
||||
super(listBufferController, self).start_stream()
|
||||
super(listBufferController, self).start_stream(mandatory)
|
||||
|
||||
def get_user_ids(self):
|
||||
self.users = []
|
||||
@@ -656,6 +690,7 @@ class listBufferController(baseBufferController):
|
||||
if dlg == widgetUtils.YES:
|
||||
if self.name[:-5] in self.session.settings["other_buffers"]["lists"]:
|
||||
self.session.settings["other_buffers"]["lists"].remove(self.name[:-5])
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
@@ -714,7 +749,7 @@ class eventsBufferController(bufferController):
|
||||
|
||||
class peopleBufferController(baseBufferController):
|
||||
def __init__(self, parent, function, name, sessionObject, account, bufferType=None, *args, **kwargs):
|
||||
super(peopleBufferController, self).__init__(parent, function, name, sessionObject, account, bufferType="peoplePanel")
|
||||
super(peopleBufferController, self).__init__(parent, function, name, sessionObject, account, bufferType="peoplePanel", *args, **kwargs)
|
||||
log.debug("Initializing buffer %s, account %s" % (name, account,))
|
||||
self.compose_function = compose.compose_followers_list
|
||||
log.debug("Compose_function: %s" % (self.compose_function,))
|
||||
@@ -722,7 +757,27 @@ class peopleBufferController(baseBufferController):
|
||||
self.url = self.interact
|
||||
|
||||
def remove_buffer(self):
|
||||
return False
|
||||
if "-followers" in self.name:
|
||||
dlg = commonMessageDialogs.remove_buffer()
|
||||
if dlg == widgetUtils.YES:
|
||||
if self.name[:-10] in self.session.settings["other_buffers"]["followers_timelines"]:
|
||||
self.session.settings["other_buffers"]["followers_timelines"].remove(self.name[:-10])
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
elif "-friends" in self.name:
|
||||
dlg = commonMessageDialogs.remove_buffer()
|
||||
if dlg == widgetUtils.YES:
|
||||
if self.name[:-8] in self.session.settings["other_buffers"]["friends_timelines"]:
|
||||
self.session.settings["other_buffers"]["friends_timelines"].remove(self.name[:-8])
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
else:
|
||||
output.speak(_(u"This buffer is not a timeline; it can't be deleted."), True)
|
||||
return False
|
||||
|
||||
def onFocus(self, ev):
|
||||
pass
|
||||
@@ -744,19 +799,20 @@ class peopleBufferController(baseBufferController):
|
||||
call_threaded(self.session.api_call, call_name="update_status_with_media", _sound="reply_send.ogg", status=message.message.get_text(), media=message.file)
|
||||
if hasattr(message.message, "destroy"): message.message.destroy()
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory==True:
|
||||
self.execution_time = current_time
|
||||
log.debug("Starting stream for %s buffer, %s account" % (self.name, self.account,))
|
||||
log.debug("args: %s, kwargs: %s" % (self.args, self.kwargs))
|
||||
val = self.session.get_cursored_stream(self.name, self.function, *self.args, **self.kwargs)
|
||||
self.put_items_on_list(val)
|
||||
return val
|
||||
|
||||
def get_more_items(self):
|
||||
try:
|
||||
items = self.session.get_more_items(self.function, users=True, name=self.name, count=self.session.settings["general"]["max_tweets_per_call"], cursor=self.session.db[self.name]["cursor"])
|
||||
items = self.session.get_more_items(self.function, users=True, name=self.name, count=self.session.settings["general"]["max_tweets_per_call"], cursor=self.session.db[self.name]["cursor"], *self.args, **self.kwargs)
|
||||
except TwythonError as e:
|
||||
output.speak(e.message, True)
|
||||
return
|
||||
@@ -792,7 +848,7 @@ class peopleBufferController(baseBufferController):
|
||||
# self.buffer.set_list_position()
|
||||
elif self.buffer.list.get_count() > 0:
|
||||
if self.session.settings["general"]["reverse_timelines"] == False:
|
||||
for i in self.session.db[self.name]["items"][:number_of_items]:
|
||||
for i in self.session.db[self.name]["items"][len(self.session.db[self.name]["items"])-number_of_items:]:
|
||||
tweet = self.compose_function(i, self.session.db)
|
||||
self.buffer.list.insert_item(False, *tweet)
|
||||
else:
|
||||
@@ -841,10 +897,10 @@ class peopleBufferController(baseBufferController):
|
||||
pub.sendMessage("execute-action", action="user_details")
|
||||
|
||||
class searchBufferController(baseBufferController):
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory==True:
|
||||
self.execution_time = current_time
|
||||
log.debug("Starting stream for %s buffer, %s account and %s type" % (self.name, self.account, self.type))
|
||||
log.debug("args: %s, kwargs: %s" % (self.args, self.kwargs))
|
||||
@@ -857,6 +913,7 @@ class searchBufferController(baseBufferController):
|
||||
self.put_items_on_list(num)
|
||||
if num > 0:
|
||||
self.session.sound.play("search_updated.ogg")
|
||||
return num
|
||||
|
||||
def remove_buffer(self):
|
||||
dlg = commonMessageDialogs.remove_buffer()
|
||||
@@ -864,6 +921,7 @@ class searchBufferController(baseBufferController):
|
||||
if self.name[:-11] in self.session.settings["other_buffers"]["tweet_searches"]:
|
||||
self.session.settings["other_buffers"]["tweet_searches"].remove(self.name[:-11])
|
||||
self.timer.cancel()
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
@@ -879,10 +937,10 @@ class searchPeopleBufferController(peopleBufferController):
|
||||
self.kwargs = kwargs
|
||||
self.function = function
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory==True:
|
||||
self.execution_time = current_time
|
||||
log.debug("starting stream for %s buffer, %s account and %s type" % (self.name, self.account, self.type))
|
||||
log.debug("args: %s, kwargs: %s" % (self.args, self.kwargs))
|
||||
@@ -896,6 +954,7 @@ class searchPeopleBufferController(peopleBufferController):
|
||||
self.put_items_on_list(number_of_items)
|
||||
if number_of_items > 0:
|
||||
self.session.sound.play("search_updated.ogg")
|
||||
return number_of_items
|
||||
|
||||
def remove_buffer(self):
|
||||
dlg = commonMessageDialogs.remove_buffer()
|
||||
@@ -903,6 +962,7 @@ class searchPeopleBufferController(peopleBufferController):
|
||||
if self.name[:-11] in self.session.settings["other_buffers"]["tweet_searches"]:
|
||||
self.session.settings["other_buffers"]["tweet_searches"].remove(self.name[:-11])
|
||||
self.timer.cancel()
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
@@ -926,10 +986,10 @@ class trendsBufferController(bufferController):
|
||||
self.get_formatted_message = self.get_message
|
||||
self.reply = self.search_topic
|
||||
|
||||
def start_stream(self):
|
||||
def start_stream(self, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory == True:
|
||||
self.execution_time = current_time
|
||||
try:
|
||||
data = self.session.call_paged("get_place_trends", id=self.trendsFor)
|
||||
@@ -970,10 +1030,14 @@ class trendsBufferController(bufferController):
|
||||
if self.name[:-3] in self.session.settings["other_buffers"]["trending_topic_buffers"]:
|
||||
self.session.settings["other_buffers"]["trending_topic_buffers"].remove(self.name[:-3])
|
||||
self.timer.cancel()
|
||||
self.session.db.pop(self.name)
|
||||
return True
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
|
||||
def url(self, *args, **kwargs):
|
||||
self.tweet_about_this_trend()
|
||||
|
||||
def search_topic(self, *args, **kwargs):
|
||||
topic = self.trends[self.buffer.list.get_selected()]["name"]
|
||||
pub.sendMessage("search", term=topic)
|
||||
@@ -1023,10 +1087,10 @@ class trendsBufferController(bufferController):
|
||||
|
||||
class conversationBufferController(searchBufferController):
|
||||
|
||||
def start_stream(self, start=False):
|
||||
def start_stream(self, start=False, mandatory=False):
|
||||
# starts stream every 3 minutes.
|
||||
current_time = time.time()
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180:
|
||||
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory == True:
|
||||
self.execution_time = current_time
|
||||
if start == True:
|
||||
self.statuses = []
|
||||
@@ -1035,7 +1099,10 @@ class conversationBufferController(searchBufferController):
|
||||
self.ids.append(self.tweet["id"])
|
||||
tweet = self.tweet
|
||||
while tweet["in_reply_to_status_id"] != None:
|
||||
tweet = self.session.twitter.twitter.show_status(id=tweet["in_reply_to_status_id"])
|
||||
try:
|
||||
tweet = self.session.twitter.twitter.show_status(id=tweet["in_reply_to_status_id"])
|
||||
except TwythonError as err:
|
||||
break
|
||||
self.statuses.insert(0, tweet)
|
||||
self.ids.append(tweet["id"])
|
||||
if tweet["in_reply_to_status_id"] == None:
|
||||
@@ -1052,13 +1119,14 @@ class conversationBufferController(searchBufferController):
|
||||
self.put_items_on_list(number_of_items)
|
||||
if number_of_items > 0:
|
||||
self.session.sound.play("search_updated.ogg")
|
||||
return number_of_items
|
||||
|
||||
def remove_buffer(self):
|
||||
dlg = commonMessageDialogs.remove_buffer()
|
||||
if dlg == widgetUtils.YES:
|
||||
self.timer.cancel()
|
||||
return True
|
||||
elif dlg == WidgetUtils.NO:
|
||||
elif dlg == widgetUtils.NO:
|
||||
return False
|
||||
|
||||
class pocketBufferController(baseBufferController):
|
||||
|
7
src/controller/filters.py
Normal file
7
src/controller/filters.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from wxUI.dialogs import filters
|
||||
|
||||
class filterController(object):
|
||||
def __init__(self):
|
||||
self.dialog = filters.filterDialog()
|
||||
self.dialog.get_response()
|
@@ -118,6 +118,8 @@ class Controller(object):
|
||||
pub.subscribe(self.manage_unblocked_user, "unblocked-user")
|
||||
pub.subscribe(self.manage_item_in_timeline, "item-in-timeline")
|
||||
pub.subscribe(self.manage_item_in_list, "item-in-list")
|
||||
pub.subscribe(self.restart_streams_, "restart_streams")
|
||||
pub.subscribe(self.on_tweet_deleted, "tweet-deleted")
|
||||
widgetUtils.connect_event(self.view, widgetUtils.CLOSE_EVENT, self.exit_)
|
||||
|
||||
def bind_other_events(self):
|
||||
@@ -177,8 +179,10 @@ class Controller(object):
|
||||
widgetUtils.connect_event(self.view.nb, widgetUtils.NOTEBOOK_PAGE_CHANGED, self.buffer_changed)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.report_error, self.view.reportError)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.view_documentation, self.view.doc)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.view_changelog, self.view.changelog)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.add_to_list, self.view.addToList)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.remove_from_list, self.view.removeFromList)
|
||||
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.update_buffer, self.view.update_buffer)
|
||||
|
||||
def set_systray_icon(self):
|
||||
self.systrayIcon = sysTrayIcon.SysTrayIcon()
|
||||
@@ -188,6 +192,7 @@ class Controller(object):
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.update_profile, menuitem=self.systrayIcon.update_profile)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.show_hide, menuitem=self.systrayIcon.show_hide)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.check_for_updates, menuitem=self.systrayIcon.check_for_updates)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.view_documentation, menuitem=self.systrayIcon.doc)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.MENU, self.exit, menuitem=self.systrayIcon.exit)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.TASKBAR_LEFT_CLICK, self.taskbar_left_click)
|
||||
widgetUtils.connect_event(self.systrayIcon, widgetUtils.TASKBAR_RIGHT_CLICK, self.taskbar_right_click)
|
||||
@@ -344,6 +349,24 @@ class Controller(object):
|
||||
self.view.insert_buffer(tl.buffer, name=_(u"Likes for {}").format(i,), pos=self.view.search("favs_timelines", session.db["user_name"]))
|
||||
tl.timer = RepeatingTimer(300, tl.start_stream)
|
||||
tl.timer.start()
|
||||
followers_timelines = buffersController.emptyPanel(self.view.nb, "followers_timelines", session.db["user_name"])
|
||||
self.buffers.append(followers_timelines)
|
||||
self.view.insert_buffer(followers_timelines.buffer , name=_(u"Followers' Timelines"), pos=self.view.search(session.db["user_name"], session.db["user_name"]))
|
||||
for i in session.settings["other_buffers"]["followers_timelines"]:
|
||||
tl = buffersController.peopleBufferController(self.view.nb, "get_followers_list", "%s-followers" % (i,), session, session.db["user_name"], screen_name=i)
|
||||
self.buffers.append(tl)
|
||||
self.view.insert_buffer(tl.buffer, name=_(u"Followers for {}").format(i,), pos=self.view.search("favs_timelines", session.db["user_name"]))
|
||||
tl.timer = RepeatingTimer(300, tl.start_stream)
|
||||
tl.timer.start()
|
||||
friends_timelines = buffersController.emptyPanel(self.view.nb, "friends_timelines", session.db["user_name"])
|
||||
self.buffers.append(friends_timelines)
|
||||
self.view.insert_buffer(friends_timelines.buffer , name=_(u"Friends' Timelines"), pos=self.view.search(session.db["user_name"], session.db["user_name"]))
|
||||
for i in session.settings["other_buffers"]["friends_timelines"]:
|
||||
tl = buffersController.peopleBufferController(self.view.nb, "get_friends_list", "%s-friends" % (i,), session, session.db["user_name"], screen_name=i)
|
||||
self.buffers.append(tl)
|
||||
self.view.insert_buffer(tl.buffer, name=_(u"Friends for {}").format(i,), pos=self.view.search("favs_timelines", session.db["user_name"]))
|
||||
tl.timer = RepeatingTimer(300, tl.start_stream)
|
||||
tl.timer.start()
|
||||
lists = buffersController.emptyPanel(self.view.nb, "lists", session.db["user_name"])
|
||||
self.buffers.append(lists)
|
||||
self.view.insert_buffer(lists.buffer , name=_(u"Lists"), pos=self.view.search(session.db["user_name"], session.db["user_name"]))
|
||||
@@ -410,13 +433,14 @@ class Controller(object):
|
||||
if dlg.get("tweets") == True:
|
||||
if term not in buffer.session.settings["other_buffers"]["tweet_searches"]:
|
||||
buffer.session.settings["other_buffers"]["tweet_searches"].append(term)
|
||||
search = buffersController.searchBufferController(self.view.nb, "search", "%s-searchterm" % (term,), buffer.session, buffer.session.db["user_name"], bufferType="searchPanel", q=term, count=buffer.session.settings["general"]["max_tweets_per_call"])
|
||||
args = {"lang": dlg.get_language(), "result_type": dlg.get_result_type()}
|
||||
search = buffersController.searchBufferController(self.view.nb, "search", "%s-searchterm" % (term,), buffer.session, buffer.session.db["user_name"], bufferType="searchPanel", q=term, count=buffer.session.settings["general"]["max_tweets_per_call"], **args)
|
||||
else:
|
||||
log.error("A buffer for the %s search term is already created. You can't create a duplicate buffer." % (term,))
|
||||
return
|
||||
elif dlg.get("users") == True:
|
||||
search = buffersController.searchPeopleBufferController(self.view.nb, "search_users", "%s-searchUser" % (term,), buffer.session, buffer.session.db["user_name"], bufferType=None, q=term)
|
||||
search.start_stream()
|
||||
search.start_stream(mandatory=True)
|
||||
pos=self.view.search("searches", buffer.session.db["user_name"])
|
||||
self.insert_buffer(search, pos)
|
||||
self.view.insert_buffer(search.buffer, name=_(u"Search for {}").format(term), pos=pos)
|
||||
@@ -759,7 +783,8 @@ class Controller(object):
|
||||
return
|
||||
answer = commonMessageDialogs.protected_user()
|
||||
if answer == widgetUtils.NO: return
|
||||
if dlg.get_action() == "tweets":
|
||||
tl_type = dlg.get_action()
|
||||
if tl_type == "tweets":
|
||||
if usr["statuses_count"] == 0:
|
||||
commonMessageDialogs.no_tweets()
|
||||
return
|
||||
@@ -775,7 +800,7 @@ class Controller(object):
|
||||
buff.session.settings["other_buffers"]["timelines"].append(dlg.get_user())
|
||||
pub.sendMessage("restart-streams", streams=["timelinesStream"], session=buff.session)
|
||||
buff.session.sound.play("create_timeline.ogg")
|
||||
else:
|
||||
elif tl_type == "favourites":
|
||||
if usr["favourites_count"] == 0:
|
||||
commonMessageDialogs.no_favs()
|
||||
return
|
||||
@@ -792,6 +817,40 @@ class Controller(object):
|
||||
tl.timer.start()
|
||||
buff.session.settings["other_buffers"]["favourites_timelines"].append(dlg.get_user())
|
||||
buff.session.sound.play("create_timeline.ogg")
|
||||
elif tl_type == "followers":
|
||||
if usr["followers_count"] == 0:
|
||||
commonMessageDialogs.no_followers()
|
||||
return
|
||||
if dlg.get_user() in buff.session.settings["other_buffers"]["followers_timelines"]:
|
||||
commonMessageDialogs.timeline_exist()
|
||||
return
|
||||
tl = buffersController.peopleBufferController(self.view.nb, "get_followers_list", "%s-followers" % (dlg.get_user(),), buff.session, buff.session.db["user_name"], screen_name=dlg.get_user())
|
||||
pos=self.view.search("followers_timelines", buff.session.db["user_name"])
|
||||
self.insert_buffer(tl, pos+1)
|
||||
# self.buffers.insert(pos+1, tl)
|
||||
self.view.insert_buffer(buffer=tl.buffer, name=_(u"Followers for {}").format(dlg.get_user()), pos=pos)
|
||||
tl.start_stream()
|
||||
tl.timer = RepeatingTimer(300, tl.start_stream)
|
||||
tl.timer.start()
|
||||
buff.session.settings["other_buffers"]["followers_timelines"].append(dlg.get_user())
|
||||
buff.session.sound.play("create_timeline.ogg")
|
||||
|
||||
elif tl_type == "friends":
|
||||
if usr["friends_count"] == 0:
|
||||
commonMessageDialogs.no_friends()
|
||||
return
|
||||
if dlg.get_user() in buff.session.settings["other_buffers"]["friends_timelines"]:
|
||||
commonMessageDialogs.timeline_exist()
|
||||
return
|
||||
tl = buffersController.peopleBufferController(self.view.nb, "get_friends_list", "%s-friends" % (dlg.get_user(),), buff.session, buff.session.db["user_name"], screen_name=dlg.get_user())
|
||||
pos=self.view.search("friends_timelines", buff.session.db["user_name"])
|
||||
self.insert_buffer(tl, pos+1)
|
||||
self.view.insert_buffer(buffer=tl.buffer, name=_(u"Friends for {}").format(dlg.get_user()), pos=pos)
|
||||
tl.start_stream()
|
||||
tl.timer = RepeatingTimer(300, tl.start_stream)
|
||||
tl.timer.start()
|
||||
buff.session.settings["other_buffers"]["friends_timelines"].append(dlg.get_user())
|
||||
buff.session.sound.play("create_timeline.ogg")
|
||||
else:
|
||||
commonMessageDialogs.user_not_exist()
|
||||
|
||||
@@ -866,7 +925,7 @@ class Controller(object):
|
||||
x = tweet["coordinates"]["coordinates"][0]
|
||||
y = tweet["coordinates"]["coordinates"][1]
|
||||
address = geocoder.reverse_geocode(y, x)
|
||||
dlg = messages.viewTweet(address[0].__str__(), False)
|
||||
dlg = commonMessageDialogs.view_geodata(address[0].__str__())
|
||||
else:
|
||||
output.speak(_(u"There are no coordinates in this tweet"))
|
||||
except GeocoderError:
|
||||
@@ -1218,7 +1277,7 @@ class Controller(object):
|
||||
buffer = self.search_buffer("%s-timeline" % (who,), user)
|
||||
if buffer == None: return
|
||||
play_sound = "tweet_timeline.ogg"
|
||||
if "%s-timeline" % (who,) not in buffer.session.settings["other_buffers"]["muted_buffers"]:
|
||||
if "%s-timeline" % (who,) not in buffer.session.settings["other_buffers"]["muted_buffers"] and buffer.session.settings["sound"]["session_mute"] == False:
|
||||
self.notify(buffer.session, play_sound=play_sound)
|
||||
output.speak(_(u"One tweet from %s") % (data["user"]["name"]))
|
||||
buffer.add_new_item(data)
|
||||
@@ -1227,7 +1286,7 @@ class Controller(object):
|
||||
buffer = self.search_buffer("%s" % (where,), user)
|
||||
if buffer == None: return
|
||||
play_sound = "list_tweet.ogg"
|
||||
if "%s" % (where,) not in buffer.session.settings["other_buffers"]["muted_buffers"]:
|
||||
if "%s" % (where,) not in buffer.session.settings["other_buffers"]["muted_buffers"] and buffer.session.settings["sound"]["session_mute"] == False:
|
||||
self.notify(buffer.session, play_sound=play_sound)
|
||||
output.speak(_(u"One tweet from %s") % (data["user"]["name"]))
|
||||
buffer.add_new_item(data)
|
||||
@@ -1247,17 +1306,15 @@ class Controller(object):
|
||||
def manage_stream_errors(self, session):
|
||||
log.error(" Restarting %s session streams. It will be destroyed" % (session,))
|
||||
s = session_.sessions[session]
|
||||
try:
|
||||
if hasattr(s, "main_stream"):
|
||||
self.main_stream.disconnect()
|
||||
log.error("main stream disconnected")
|
||||
del s.main_stream
|
||||
self.timelinesStream.disconnect()
|
||||
if hasattr(s, "main_stream"):
|
||||
s.main_stream.disconnect()
|
||||
log.error("main stream disconnected")
|
||||
del s.main_stream
|
||||
if hasattr(s, "timelinesStream"):
|
||||
s.timelinesStream.disconnect()
|
||||
del s.timelinesStream
|
||||
s.counter = 0
|
||||
s.reconnection_function_active = False
|
||||
except AttributeError:
|
||||
log.error("Error deleting some thing")
|
||||
s.counter = 0
|
||||
# s.reconnection_function_active = False
|
||||
# for i in self.buffers:
|
||||
# if i.invisible == True and i.session.session_id == s.session_id and i.type != "people":
|
||||
# i.start_stream()
|
||||
@@ -1393,6 +1450,11 @@ class Controller(object):
|
||||
webbrowser.open("manual.html")
|
||||
os.chdir("../../")
|
||||
|
||||
def view_changelog(self, *args, **kwargs):
|
||||
os.chdir("documentation")
|
||||
webbrowser.open("changelog.html")
|
||||
os.chdir("../")
|
||||
|
||||
def insert_buffer(self, buffer, position):
|
||||
self.buffers.insert(position, buffer)
|
||||
|
||||
@@ -1407,5 +1469,27 @@ class Controller(object):
|
||||
if hasattr(self, action):
|
||||
getattr(self, action)()
|
||||
|
||||
def restart_streams_(self, session):
|
||||
for i in self.buffers:
|
||||
if i.session != None and i.session.session_id == session:
|
||||
i.start_stream()
|
||||
|
||||
def __del__(self):
|
||||
config.app.write()
|
||||
config.app.write()
|
||||
|
||||
def update_buffer(self, *args, **kwargs):
|
||||
bf = self.get_current_buffer()
|
||||
if not hasattr(bf, "start_stream"):
|
||||
output.speak(_(u"Unable to update this buffer."))
|
||||
return
|
||||
else:
|
||||
output.speak(_(u"Updating buffer..."))
|
||||
n = bf.start_stream(mandatory=True)
|
||||
if n != None:
|
||||
output.speak(_(u"{0} items retrieved").format(n,))
|
||||
|
||||
def on_tweet_deleted(self, data):
|
||||
id = data["delete"]["status"]["id"]
|
||||
for i in self.buffers:
|
||||
if hasattr(i, "remove_tweet") and hasattr(i, "name"):
|
||||
i.remove_tweet(id)
|
@@ -1,5 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import platform
|
||||
import attach
|
||||
system = platform.system()
|
||||
import widgetUtils
|
||||
import output
|
||||
@@ -27,19 +29,22 @@ class basicTweet(object):
|
||||
# if system == "Windows":
|
||||
# if messageType != "dm":
|
||||
widgetUtils.connect_event(self.message.text, widgetUtils.ENTERED_TEXT, self.text_processor)
|
||||
self.text_processor()
|
||||
widgetUtils.connect_event(self.message.shortenButton, widgetUtils.BUTTON_PRESSED, self.shorten)
|
||||
widgetUtils.connect_event(self.message.unshortenButton, widgetUtils.BUTTON_PRESSED, self.unshorten)
|
||||
widgetUtils.connect_event(self.message.translateButton, widgetUtils.BUTTON_PRESSED, self.translate)
|
||||
if hasattr(self.message, "long_tweet"):
|
||||
widgetUtils.connect_event(self.message.long_tweet, widgetUtils.CHECKBOX, self.text_processor)
|
||||
self.attachments = []
|
||||
|
||||
def translate(self, event=None):
|
||||
dlg = translator.gui.translateDialog()
|
||||
if dlg.get_response() == widgetUtils.OK:
|
||||
text_to_translate = self.message.get_text().encode("utf-8")
|
||||
text_to_translate = self.message.get_text()
|
||||
source = [x[0] for x in translator.translator.available_languages()][dlg.get("source_lang")]
|
||||
dest = [x[0] for x in translator.translator.available_languages()][dlg.get("dest_lang")]
|
||||
msg = translator.translator.translate(text=text_to_translate, source=source, target=dest)
|
||||
self.message.set_text(msg)
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
output.speak(_(u"Translated"))
|
||||
else:
|
||||
@@ -53,6 +58,7 @@ class basicTweet(object):
|
||||
elif len(urls) == 1:
|
||||
self.message.set_text(self.message.get_text().replace(urls[0], url_shortener.shorten(urls[0])))
|
||||
output.speak(_(u"URL shortened"))
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
elif len(urls) > 1:
|
||||
list_urls = urlList.urlList()
|
||||
@@ -60,6 +66,7 @@ class basicTweet(object):
|
||||
if list_urls.get_response() == widgetUtils.OK:
|
||||
self.message.set_text(self.message.get_text().replace(urls[list_urls.get_item()], url_shortener.shorten(list_urls.get_string())))
|
||||
output.speak(_(u"URL shortened"))
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
|
||||
def unshorten(self, event=None):
|
||||
@@ -70,6 +77,7 @@ class basicTweet(object):
|
||||
elif len(urls) == 1:
|
||||
self.message.set_text(self.message.get_text().replace(urls[0], url_shortener.unshorten(urls[0])))
|
||||
output.speak(_(u"URL expanded"))
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
elif len(urls) > 1:
|
||||
list_urls = urlList.urlList()
|
||||
@@ -77,6 +85,7 @@ class basicTweet(object):
|
||||
if list_urls.get_response() == widgetUtils.OK:
|
||||
self.message.set_text(self.message.get_text().replace(urls[list_urls.get_item()], url_shortener.unshorten(list_urls.get_string())))
|
||||
output.speak(_(u"URL expanded"))
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
|
||||
def text_processor(self, *args, **kwargs):
|
||||
@@ -98,15 +107,17 @@ class basicTweet(object):
|
||||
checker = SpellChecker.spellchecker.spellChecker(text, "")
|
||||
if hasattr(checker, "fixed_text"):
|
||||
self.message.set_text(checker.fixed_text)
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
|
||||
def attach(self, *args, **kwargs):
|
||||
def completed_callback():
|
||||
def completed_callback(dlg):
|
||||
url = dlg.uploaderFunction.get_url()
|
||||
pub.unsubscribe(dlg.uploaderDialog.update, "uploading")
|
||||
dlg.uploaderDialog.destroy()
|
||||
if url != 0:
|
||||
self.message.set_text(self.message.get_text()+url+" #audio")
|
||||
self.text_processor()
|
||||
else:
|
||||
output.speak(_(u"Unable to upload the audio"))
|
||||
dlg.cleanup()
|
||||
@@ -122,18 +133,12 @@ class tweet(basicTweet):
|
||||
if twishort_enabled == False:
|
||||
try: self.message.long_tweet.SetValue(False)
|
||||
except AttributeError: pass
|
||||
self.text_processor()
|
||||
|
||||
def upload_image(self, *args, **kwargs):
|
||||
if self.message.get("upload_image") == _(u"Discard image"):
|
||||
del self.image
|
||||
self.image = None
|
||||
output.speak(_(u"Discarded"))
|
||||
self.message.set("upload_image", _(u"Upload a picture"))
|
||||
else:
|
||||
self.image = self.message.get_image()
|
||||
if self.image != None:
|
||||
self.message.set("upload_image", _(u"Discard image"))
|
||||
self.message.text_focus()
|
||||
a = attach.attach()
|
||||
if len(a.attachments) != 0:
|
||||
self.attachments = a.attachments
|
||||
|
||||
def autocomplete_users(self, *args, **kwargs):
|
||||
c = autocompletionUsers.completion.autocompletionUsers(self.message, self.session.session_id)
|
||||
@@ -147,16 +152,19 @@ class reply(tweet):
|
||||
widgetUtils.connect_event(self.message.mentionAll, widgetUtils.BUTTON_PRESSED, self.mention_all)
|
||||
self.message.enable_button("mentionAll")
|
||||
self.message.set_cursor_at_end()
|
||||
self.text_processor()
|
||||
|
||||
def mention_all(self, *args, **kwargs):
|
||||
self.message.set_text(self.message.get_text()+self.users)
|
||||
self.message.set_cursor_at_end()
|
||||
self.message.text_focus()
|
||||
self.text_processor()
|
||||
|
||||
class dm(basicTweet):
|
||||
def __init__(self, session, title, caption, text):
|
||||
super(dm, self).__init__(session, title, caption, text, messageType="dm", max=10000)
|
||||
widgetUtils.connect_event(self.message.autocompletionButton, widgetUtils.BUTTON_PRESSED, self.autocomplete_users)
|
||||
self.text_processor()
|
||||
|
||||
def autocomplete_users(self, *args, **kwargs):
|
||||
c = autocompletionUsers.completion.autocompletionUsers(self.message, self.session.session_id)
|
||||
@@ -164,23 +172,56 @@ class dm(basicTweet):
|
||||
|
||||
class viewTweet(basicTweet):
|
||||
def __init__(self, tweet, tweetList, is_tweet=True):
|
||||
""" This represents a tweet displayer. However it could be used for showing something wich is not a tweet, like a direct message or an event.
|
||||
param tweet: A dictionary that represents a full tweet or a string for non-tweets.
|
||||
param tweetList: If is_tweet is set to True, this could be a list of quoted tweets.
|
||||
param is_tweet: True or false, depending wether the passed object is a tweet or not."""
|
||||
if is_tweet == True:
|
||||
image_description = []
|
||||
text = ""
|
||||
for i in xrange(0, len(tweetList)):
|
||||
if tweetList[i].has_key("retweeted_status"):
|
||||
text = text + "rt @%s: %s\n" % (tweetList[i]["retweeted_status"]["user"]["screen_name"], tweetList[i]["retweeted_status"]["text"])
|
||||
# tweets with message keys are longer tweets, the message value is the full messaje taken from twishort.
|
||||
if tweetList[i].has_key("message") and tweetList[i]["is_quote_status"] == False:
|
||||
value = "message"
|
||||
else:
|
||||
text = text + "@%s: %s\n" % (tweetList[i]["user"]["screen_name"], tweetList[i]["text"])
|
||||
value = "text"
|
||||
if tweetList[i].has_key("retweeted_status") and tweetList[i]["is_quote_status"] == False:
|
||||
if tweetList[i].has_key("message") == False:
|
||||
text = text + "rt @%s: %s\n" % (tweetList[i]["retweeted_status"]["user"]["screen_name"], tweetList[i]["retweeted_status"]["text"])
|
||||
else:
|
||||
text = text + "rt @%s: %s\n" % (tweetList[i]["retweeted_status"]["user"]["screen_name"], tweetList[i][value])
|
||||
else:
|
||||
text = text + " @%s: %s\n" % (tweetList[i]["user"]["screen_name"], tweetList[i][value])
|
||||
# tweets with extended_entities could include image descriptions.
|
||||
if tweetList[i].has_key("extended_entities") and tweetList[i]["extended_entities"].has_key("media"):
|
||||
for z in tweetList[i]["extended_entities"]["media"]:
|
||||
if z.has_key("ext_alt_text") and z["ext_alt_text"] != None:
|
||||
image_description.append(z["ext_alt_text"])
|
||||
# set rt and likes counters.
|
||||
rt_count = str(tweet["retweet_count"])
|
||||
favs_count = str(tweet["favorite_count"])
|
||||
# Gets the client from where this tweet was made.
|
||||
source = str(re.sub(r"(?s)<.*?>", "", tweet["source"].encode("utf-8")))
|
||||
if text == "":
|
||||
if tweet.has_key("retweeted_status"):
|
||||
text = "rt @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], tweet["retweeted_status"]["text"])
|
||||
if tweet.has_key("message"):
|
||||
value = "message"
|
||||
else:
|
||||
text = tweet["text"]
|
||||
value = "text"
|
||||
if tweet.has_key("retweeted_status"):
|
||||
if tweet.has_key("message") == False:
|
||||
text = "rt @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], tweet["retweeted_status"]["text"])
|
||||
else:
|
||||
text = "rt @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], tweet[value])
|
||||
else:
|
||||
text = tweet[value]
|
||||
text = self.clear_text(text)
|
||||
self.message = message.viewTweet(text, rt_count, favs_count)
|
||||
if tweet.has_key("extended_entities") and tweet["extended_entities"].has_key("media"):
|
||||
for z in tweet["extended_entities"]["media"]:
|
||||
if z.has_key("ext_alt_text") and z["ext_alt_text"] != None:
|
||||
image_description.append(z["ext_alt_text"])
|
||||
self.message = message.viewTweet(text, rt_count, favs_count, source.decode("utf-8"))
|
||||
self.message.set_title(len(text))
|
||||
[self.message.set_image_description(i) for i in image_description]
|
||||
else:
|
||||
text = tweet
|
||||
self.message = message.viewNonTweet(text)
|
||||
@@ -200,5 +241,5 @@ class viewTweet(basicTweet):
|
||||
urls = utils.find_urls_in_text(text)
|
||||
for i in urls:
|
||||
if "https://twitter.com/" in i:
|
||||
text = text.replace(i, "")
|
||||
text = text.replace(i, "\n")
|
||||
return text
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import webbrowser
|
||||
import pocket
|
||||
#import pocket
|
||||
import sound_lib
|
||||
import paths
|
||||
import widgetUtils
|
||||
@@ -15,7 +15,7 @@ from extra.autocompletionUsers import settings
|
||||
from pubsub import pub
|
||||
import logging
|
||||
import config_utils
|
||||
from pocket_utils import authorisationHandler
|
||||
#from pocket_utils import authorisationHandler
|
||||
import BaseHTTPServer
|
||||
log = logging.getLogger("Settings")
|
||||
import keys
|
||||
@@ -64,11 +64,13 @@ class globalSettingsController(object):
|
||||
self.dialog.set_value("general", "use_invisible_shorcuts", config.app["app-settings"]["use_invisible_keyboard_shorcuts"])
|
||||
self.dialog.set_value("general", "disable_sapi5", config.app["app-settings"]["voice_enabled"])
|
||||
self.dialog.set_value("general", "hide_gui", config.app["app-settings"]["hide_gui"])
|
||||
self.dialog.set_value("general", "check_for_updates", config.app["app-settings"]["check_for_updates"])
|
||||
self.dialog.create_proxy()
|
||||
self.dialog.set_value("proxy", "server", config.app["proxy"]["server"])
|
||||
self.dialog.set_value("proxy", "port", config.app["proxy"]["port"])
|
||||
self.dialog.set_value("proxy", "user", config.app["proxy"]["user"])
|
||||
self.dialog.set_value("proxy", "password", config.app["proxy"]["password"])
|
||||
|
||||
self.dialog.realize()
|
||||
self.response = self.dialog.get_response()
|
||||
|
||||
@@ -92,6 +94,7 @@ class globalSettingsController(object):
|
||||
config.app["app-settings"]["handle_longtweets"] = self.dialog.get_value("general", "handle_longtweets")
|
||||
config.app["app-settings"]["play_ready_sound"] = self.dialog.get_value("general", "play_ready_sound")
|
||||
config.app["app-settings"]["speak_ready_msg"] = self.dialog.get_value("general", "speak_ready_msg")
|
||||
config.app["app-settings"]["check_for_updates"] = self.dialog.get_value("general", "check_for_updates")
|
||||
if config.app["proxy"]["server"] != self.dialog.get_value("proxy", "server") or config.app["proxy"]["port"] != self.dialog.get_value("proxy", "port") or config.app["proxy"]["user"] != self.dialog.get_value("proxy", "user") or config.app["proxy"]["password"] != self.dialog.get_value("proxy", "password"):
|
||||
if self.is_started == True:
|
||||
self.needs_restart = True
|
||||
@@ -147,11 +150,11 @@ class accountSettingsController(globalSettingsController):
|
||||
self.dialog.set_value("sound", "session_mute", self.config["sound"]["session_mute"])
|
||||
self.dialog.set_value("sound", "soundpack", self.config["sound"]["current_soundpack"])
|
||||
self.dialog.create_services()
|
||||
if self.config["services"]["pocket_access_token"] == "":
|
||||
self.dialog.services.set_pocket(False)
|
||||
else:
|
||||
self.dialog.services.set_pocket(True)
|
||||
widgetUtils.connect_event(self.dialog.services.pocketBtn, widgetUtils.BUTTON_PRESSED, self.manage_pocket)
|
||||
# if self.config["services"]["pocket_access_token"] == "":
|
||||
# self.dialog.services.set_pocket(False)
|
||||
# else:
|
||||
# self.dialog.services.set_pocket(True)
|
||||
# widgetUtils.connect_event(self.dialog.services.pocketBtn, widgetUtils.BUTTON_PRESSED, self.manage_pocket)
|
||||
self.dialog.set_value("services", "apiKey", self.config["sound"]["sndup_api_key"])
|
||||
self.dialog.realize()
|
||||
self.dialog.set_title(_(u"Account settings for %s") % (self.user,))
|
||||
@@ -261,24 +264,24 @@ class accountSettingsController(globalSettingsController):
|
||||
if change == True:
|
||||
self.dialog.buffers.change_selected_item()
|
||||
|
||||
def manage_pocket(self, *args, **kwargs):
|
||||
if self.dialog.services.get_pocket_status() == _(u"Connect your Pocket account"):
|
||||
self.connect_pocket()
|
||||
else:
|
||||
self.disconnect_pocket()
|
||||
# def manage_pocket(self, *args, **kwargs):
|
||||
# if self.dialog.services.get_pocket_status() == _(u"Connect your Pocket account"):
|
||||
# self.connect_pocket()
|
||||
# else:
|
||||
# self.disconnect_pocket()
|
||||
|
||||
def connect_pocket(self):
|
||||
dlg = self.dialog.services.show_pocket_dialog()
|
||||
if dlg == widgetUtils.YES:
|
||||
request_token = pocket.Pocket.get_request_token(consumer_key=keys.keyring.get("pocket_consumer_key"), redirect_uri="http://127.0.0.1:8080")
|
||||
auth_url = pocket.Pocket.get_auth_url(code=request_token, redirect_uri="http://127.0.0.1:8080")
|
||||
webbrowser.open_new_tab(auth_url)
|
||||
httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 8080), authorisationHandler.handler)
|
||||
while authorisationHandler.logged == False:
|
||||
httpd.handle_request()
|
||||
user_credentials = pocket.Pocket.get_credentials(consumer_key=keys.keyring.get("pocket_consumer_key"), code=request_token)
|
||||
self.dialog.services.set_pocket(True)
|
||||
self.config["services"]["pocket_access_token"] = user_credentials["access_token"]
|
||||
# def connect_pocket(self):
|
||||
# dlg = self.dialog.services.show_pocket_dialog()
|
||||
# if dlg == widgetUtils.YES:
|
||||
# request_token = pocket.Pocket.get_request_token(consumer_key=keys.keyring.get("pocket_consumer_key"), redirect_uri="http://127.0.0.1:8080")
|
||||
# auth_url = pocket.Pocket.get_auth_url(code=request_token, redirect_uri="http://127.0.0.1:8080")
|
||||
# webbrowser.open_new_tab(auth_url)
|
||||
# httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 8080), authorisationHandler.handler)
|
||||
# while authorisationHandler.logged == False:
|
||||
# httpd.handle_request()
|
||||
# user_credentials = pocket.Pocket.get_credentials(consumer_key=keys.keyring.get("pocket_consumer_key"), code=request_token)
|
||||
# self.dialog.services.set_pocket(True)
|
||||
# self.config["services"]["pocket_access_token"] = user_credentials["access_token"]
|
||||
|
||||
def disconnect_dropbox(self):
|
||||
self.config["services"]["pocket_access_token"] = ""
|
||||
|
@@ -31,6 +31,8 @@ class profileController(object):
|
||||
|
||||
def get_data(self, screen_name):
|
||||
self.data = self.session.twitter.twitter.show_user(screen_name=screen_name)
|
||||
if screen_name != self.session.db["user_name"]:
|
||||
self.friendship_status = self.session.twitter.twitter.show_friendship(source_screen_name=self.session.db["user_name"], target_screen_name=screen_name)
|
||||
|
||||
def fill_profile_fields(self):
|
||||
self.dialog.set_name(self.data["name"])
|
||||
@@ -90,6 +92,17 @@ class profileController(object):
|
||||
if self.data["protected"] == True: protected = _(u"Yes")
|
||||
else: protected = _(u"No")
|
||||
string = string+ _(u"Protected: %s\n") % (protected)
|
||||
if hasattr(self, "friendship_status"):
|
||||
relation = False
|
||||
friendship = "Relationship: "
|
||||
if self.friendship_status["relationship"]["target"]["followed_by"]:
|
||||
friendship += _(u"You follow {0}. ").format(self.data["name"],)
|
||||
relation = True
|
||||
if self.friendship_status["relationship"]["target"]["following"]:
|
||||
friendship += _(u"{0} is following you.").format(self.data["name"],)
|
||||
relation = True
|
||||
if relation == True:
|
||||
string = string+friendship+"\n"
|
||||
string = string+_(u"Followers: %s\n Friends: %s\n") % (self.data["followers_count"], self.data["friends_count"])
|
||||
if self.data["verified"] == True: verified = _(u"Yes")
|
||||
else: verified = _(u"No")
|
||||
|
@@ -57,18 +57,16 @@ class audioUploader(object):
|
||||
url = base_url + '?apikey=' + self.config['sound']['sndup_api_key']
|
||||
else:
|
||||
url = base_url
|
||||
self.uploaderFunction = transfer.Upload(field='file', url=url, filename=self.file, completed_callback=completed_callback)
|
||||
elif self.dialog.get("services") == "TwUp":
|
||||
url = "http://api.twup.me/post.json"
|
||||
self.uploaderFunction = transfer.Upload(field='file', url=url, filename=self.file, completed_callback=completed_callback)
|
||||
self.uploaderFunction = transfer.Upload(obj=self, field='file', url=url, filename=self.file, completed_callback=completed_callback)
|
||||
pub.subscribe(self.uploaderDialog.update, "uploading")
|
||||
self.uploaderDialog.get_response()
|
||||
self.uploaderFunction.perform_threaded()
|
||||
self.uploaderDialog.get_response(self.uploaderFunction.perform_threaded)
|
||||
|
||||
def get_available_services(self):
|
||||
services = []
|
||||
services.append("TwUp")
|
||||
services.append("SNDUp")
|
||||
services.append("TwUp")
|
||||
return services
|
||||
|
||||
def on_pause(self, *args, **kwargs):
|
||||
@@ -116,8 +114,9 @@ class audioUploader(object):
|
||||
if self.playing:
|
||||
self._stop()
|
||||
if self.recording != None:
|
||||
self.dialog.disable_control("attach")
|
||||
self.dialog.disable_control("play")
|
||||
self.cleanup()
|
||||
self.dialog.disable_control("attach")
|
||||
self.dialog.disable_control("play")
|
||||
self.file = None
|
||||
self.dialog.enable_control("record")
|
||||
self.dialog.enable_control("attach_exists")
|
||||
@@ -174,10 +173,6 @@ class audioUploader(object):
|
||||
os.remove(self.file)
|
||||
if hasattr(self, 'wav_file'):
|
||||
os.remove(self.wav_file)
|
||||
del(self.wav_file)
|
||||
if hasattr(self, 'wav_file') and os.path.exists(self.file):
|
||||
os.remove(self.file)
|
||||
|
||||
|
||||
def on_attach_exists(self, *args, **kwargs):
|
||||
self.file = self.dialog.get_file()
|
||||
|
@@ -1,106 +1,71 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import pycurl
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import json
|
||||
import logging
|
||||
from utils import *
|
||||
from pubsub import pub
|
||||
|
||||
log = logging.getLogger("extra.AudioUploader.transfer")
|
||||
class Transfer(object):
|
||||
|
||||
def __init__(self, url=None, filename=None, follow_location=True, completed_callback=None, verbose=False, *args, **kwargs):
|
||||
self.url = url
|
||||
self.filename = filename
|
||||
log.debug("Uploading audio to %s, filename %s" % (url, filename))
|
||||
self.curl = pycurl.Curl()
|
||||
self.start_time = None
|
||||
self.completed_callback = completed_callback
|
||||
self.background_thread = None
|
||||
self.transfer_rate = 0
|
||||
self.curl.setopt(self.curl.PROGRESSFUNCTION, self.progress_callback)
|
||||
self.curl.setopt(self.curl.URL, url)
|
||||
self.curl.setopt(self.curl.NOPROGRESS, 0)
|
||||
self.curl.setopt(self.curl.HTTP_VERSION, self.curl.CURL_HTTP_VERSION_1_0)
|
||||
self.curl.setopt(self.curl.FOLLOWLOCATION, int(follow_location))
|
||||
self.curl.setopt(self.curl.VERBOSE, int(verbose))
|
||||
super(Transfer, self).__init__(*args, **kwargs)
|
||||
|
||||
def elapsed_time(self):
|
||||
if not self.start_time:
|
||||
return 0
|
||||
return time.time() - self.start_time
|
||||
|
||||
def progress_callback(self, down_total, down_current, up_total, up_current):
|
||||
progress = {}
|
||||
progress["total"] = up_total
|
||||
progress["current"] = up_current
|
||||
# else:
|
||||
# print "Killed function"
|
||||
# return
|
||||
if progress["current"] == 0:
|
||||
progress["percent"] = 0
|
||||
self.transfer_rate = 0
|
||||
else:
|
||||
progress["percent"] = int((float(progress["current"]) / progress["total"]) * 100)
|
||||
self.transfer_rate = progress["current"] / self.elapsed_time()
|
||||
progress["speed"] = '%s/s' % convert_bytes(self.transfer_rate)
|
||||
if self.transfer_rate:
|
||||
progress["eta"] = (progress["total"] - progress["current"]) / self.transfer_rate
|
||||
else:
|
||||
progress["eta"] = 0
|
||||
pub.sendMessage("uploading", data=progress)
|
||||
|
||||
def perform_transfer(self):
|
||||
log.debug("starting upload...")
|
||||
self.start_time = time.time()
|
||||
self.curl.perform()
|
||||
self.curl.close()
|
||||
log.debug("Upload finished.")
|
||||
self.complete_transfer()
|
||||
|
||||
def perform_threaded(self):
|
||||
self.background_thread = threading.Thread(target=self.perform_transfer)
|
||||
self.background_thread.daemon = True
|
||||
self.background_thread.start()
|
||||
|
||||
def complete_transfer(self):
|
||||
if callable(self.completed_callback):
|
||||
self.curl.close()
|
||||
self.completed_callback()
|
||||
|
||||
class Upload(Transfer):
|
||||
|
||||
def __init__(self, field=None, filename=None, *args, **kwargs):
|
||||
super(Upload, self).__init__(filename=filename, *args, **kwargs)
|
||||
self.response = dict()
|
||||
self.curl.setopt(self.curl.POST, 1)
|
||||
if isinstance(filename, unicode):
|
||||
local_filename = filename.encode(sys.getfilesystemencoding())
|
||||
else:
|
||||
local_filename = filename
|
||||
self.curl.setopt(self.curl.HTTPPOST, [(field, (self.curl.FORM_FILE, local_filename, self.curl.FORM_FILENAME, filename.encode("utf-8")))])
|
||||
self.curl.setopt(self.curl.HEADERFUNCTION, self.header_callback)
|
||||
self.curl.setopt(self.curl.WRITEFUNCTION, self.body_callback)
|
||||
|
||||
def header_callback(self, content):
|
||||
self.response['header'] = content
|
||||
|
||||
def body_callback(self, content):
|
||||
self.response['body'] = content
|
||||
|
||||
def get_url(self):
|
||||
return json.loads(self.response['body'])['url']
|
||||
|
||||
class Download(Transfer):
|
||||
|
||||
def __init__(self, follow_location=True, *args, **kwargs):
|
||||
super(Download, self).__init__(*args, **kwargs)
|
||||
self.download_file = open(self.filename, 'wb')
|
||||
self.curl.setopt(self.curl.WRITEFUNCTION, self.download_file.write)
|
||||
|
||||
def complete_transfer(self):
|
||||
self.download_file.close()
|
||||
super(DownloadDialog, self).complete_transfer()
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import logging
|
||||
from utils import convert_bytes
|
||||
from pubsub import pub
|
||||
log = logging.getLogger("extra.AudioUploader.transfer")
|
||||
from requests_toolbelt.multipart.encoder import MultipartEncoder, MultipartEncoderMonitor
|
||||
import requests
|
||||
import os
|
||||
class Upload(object):
|
||||
def __init__(self, field=None, obj=None, url=None, filename=None, follow_location=True, completed_callback=None, verbose=False, *args, **kwargs):
|
||||
super(Upload, self).__init__(*args, **kwargs)
|
||||
self.url=url
|
||||
self.filename=filename
|
||||
log.debug("Uploading audio to %s, filename %s" % (url, filename))
|
||||
self.start_time = None
|
||||
self.completed_callback = completed_callback
|
||||
self.background_thread = None
|
||||
self.transfer_rate = 0
|
||||
self.local_filename=os.path.basename(self.filename)
|
||||
if isinstance(self.local_filename, unicode):
|
||||
self.local_filename=self.local_filename.encode(sys.getfilesystemencoding())
|
||||
self.m = MultipartEncoder(fields={field:(self.local_filename, open(self.filename, 'rb'), "application/octet-stream")})
|
||||
self.monitor = MultipartEncoderMonitor(self.m, self.progress_callback)
|
||||
self.response=None
|
||||
self.obj=obj
|
||||
self.follow_location=follow_location
|
||||
#the verbose parameter is deprecated and will be removed soon
|
||||
|
||||
def elapsed_time(self):
|
||||
if not self.start_time:
|
||||
return 0
|
||||
return time.time() - self.start_time
|
||||
|
||||
def progress_callback(self, monitor):
|
||||
progress = {}
|
||||
progress["total"] = monitor.len
|
||||
progress["current"] = monitor.bytes_read
|
||||
if progress["current"] == 0:
|
||||
progress["percent"] = 0
|
||||
self.transfer_rate = 0
|
||||
else:
|
||||
progress["percent"] = int((float(progress["current"]) / progress["total"]) * 100)
|
||||
self.transfer_rate = progress["current"] / self.elapsed_time()
|
||||
progress["speed"] = '%s/s' % convert_bytes(self.transfer_rate)
|
||||
if self.transfer_rate:
|
||||
progress["eta"] = (progress["total"] - progress["current"]) / self.transfer_rate
|
||||
else:
|
||||
progress["eta"] = 0
|
||||
pub.sendMessage("uploading", data=progress)
|
||||
|
||||
def perform_transfer(self):
|
||||
log.debug("starting upload...")
|
||||
self.start_time = time.time()
|
||||
self.response=requests.post(url=self.url, data=self.monitor, headers={"Content-Type":self.m.content_type}, allow_redirects=self.follow_location, stream=True)
|
||||
log.debug("Upload finished.")
|
||||
self.complete_transfer()
|
||||
|
||||
def perform_threaded(self, *args, **kwargs):
|
||||
self.background_thread = threading.Thread(target=self.perform_transfer)
|
||||
self.background_thread.daemon = True
|
||||
self.background_thread.start()
|
||||
|
||||
def complete_transfer(self):
|
||||
if callable(self.completed_callback):
|
||||
self.completed_callback(self.obj)
|
||||
|
||||
def get_url(self):
|
||||
return self.response.json()['url']
|
||||
|
@@ -3,10 +3,10 @@ import wx
|
||||
from utils import *
|
||||
import widgetUtils
|
||||
|
||||
class TransferDialog(widgetUtils.BaseDialog):
|
||||
class UploadDialog(widgetUtils.BaseDialog):
|
||||
|
||||
def __init__(self, filename, *args, **kwargs):
|
||||
super(TransferDialog, self).__init__(parent=None, id=wx.NewId(), *args, **kwargs)
|
||||
super(UploadDialog, self).__init__(parent=None, id=wx.NewId(), *args, **kwargs)
|
||||
self.pane = wx.Panel(self)
|
||||
self.progress_bar = wx.Gauge(parent=self.pane)
|
||||
fileBox = wx.BoxSizer(wx.HORIZONTAL)
|
||||
@@ -56,18 +56,6 @@ class TransferDialog(widgetUtils.BaseDialog):
|
||||
def create_buttons(self):
|
||||
self.cancel_button = wx.Button(parent=self.pane, id=wx.ID_CANCEL)
|
||||
|
||||
def get_response(self):
|
||||
self.Show()
|
||||
|
||||
def destroy(self):
|
||||
self.Destroy()
|
||||
|
||||
class UploadDialog(TransferDialog):
|
||||
|
||||
def __init__(self, filename=None, *args, **kwargs):
|
||||
super(UploadDialog, self).__init__(filename=filename, *args, **kwargs)
|
||||
|
||||
class DownloadDialog(TransferDialog):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(Download, self).__init__(*args, **kwargs)
|
||||
def get_response(self, fn):
|
||||
wx.CallAfter(fn, 0.01)
|
||||
self.ShowModal()
|
||||
|
@@ -1,153 +1,10 @@
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Copyright (C) 2013 Mesar Hameed <mhameed@src.gnome.org>
|
||||
# This file is covered by the GNU General Public License.
|
||||
# -*- coding: utf-8 -*-
|
||||
from microsofttranslator import Translator
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import threading
|
||||
from time import sleep
|
||||
from random import randint
|
||||
import logging
|
||||
log = logging.getLogger("translator")
|
||||
import urllib2
|
||||
def translate(text="", source="auto", target="en"):
|
||||
t = Translator("twblue", "4KZA26GYIfmVAqQA/z16Hlucbg64hVSDTIpRjT2FqIU=")
|
||||
return t.translate(text, target)
|
||||
|
||||
# Each group has to be a class of possible breaking points for the writing script.
|
||||
# Usually this is the major syntax marks, such as:
|
||||
# full stop, comma, exclaim, question, etc.
|
||||
arabicBreaks = u'[،؛؟]'
|
||||
# Thanks to Talori in the NVDA irc room:
|
||||
# U+3000 to U+303F, U+FE10 to U+FE1F, U+FE30 to U+FE6F, U+FF01 to U+FF60
|
||||
chineseBreaks = u'[ -〿︐-︰-!-⦆]'
|
||||
latinBreaks = r'[.,!?;:\n]'
|
||||
splitReg = re.compile(u"{arabic}|{chinese}|{latin}".format(arabic=arabicBreaks, chinese=chineseBreaks, latin=latinBreaks))
|
||||
|
||||
def translate(text, source="auto", target="en"):
|
||||
if source == "": source = "auto"
|
||||
t = Translator(lang_from=source, lang_to=target, text=text)
|
||||
t.start()
|
||||
while t.isAlive():
|
||||
sleep(0.1)
|
||||
t.join()
|
||||
return t.translation
|
||||
|
||||
def splitChunks(text, chunksize):
|
||||
pos = 0
|
||||
potentialPos = 0
|
||||
for splitMark in splitReg.finditer(text):
|
||||
if (splitMark.start() - pos +1) < chunksize:
|
||||
potentialPos = splitMark.start()
|
||||
continue
|
||||
else:
|
||||
yield text[pos:potentialPos+1]
|
||||
pos = potentialPos + 1
|
||||
potentialPos = splitMark.start()
|
||||
yield text[pos:]
|
||||
|
||||
class Translator(threading.Thread):
|
||||
|
||||
def __init__(self, lang_from, lang_to, text, lang_swap=None, chunksize=350, *args, **kwargs):
|
||||
super(Translator, self).__init__(*args, **kwargs)
|
||||
self._stop = threading.Event()
|
||||
self.text = text
|
||||
self.chunksize = chunksize
|
||||
self.lang_to = lang_to
|
||||
self.lang_from = lang_from
|
||||
self.lang_swap = lang_swap
|
||||
self.translation = ''
|
||||
self.lang_translated = ''
|
||||
self.firstChunk = True
|
||||
|
||||
def stop(self):
|
||||
self._stop.set()
|
||||
|
||||
def run(self):
|
||||
for chunk in splitChunks(self.text, self.chunksize):
|
||||
# Make sure we don't send requests to google too often.
|
||||
# Try to simulate a human.
|
||||
if not self.firstChunk:
|
||||
sleep(randint(1, 10))
|
||||
req = self.buildRequest(chunk, self.lang_from, self.lang_to)
|
||||
try:
|
||||
response = urllib2.urlopen(req)
|
||||
translation, lang_translated = self.parseData(response)
|
||||
if self.firstChunk and self.lang_from == "auto" and lang_translated == self.lang_to and self.lang_swap is not None:
|
||||
self.lang_to = self.lang_swap
|
||||
self.firstChunk = False
|
||||
req = self.buildRequest(chunk.encode('utf-8'), self.lang_from, self.lang_to)
|
||||
response = urllib2.urlopen(req)
|
||||
translation, lang_translated = self.parseData(response)
|
||||
except Exception as e:
|
||||
log.exception("Can not translate text '%s'" %chunk)
|
||||
# We have probably been blocked, so stop trying to translate.
|
||||
raise e
|
||||
self.translation += translation
|
||||
# some adjustment, better to do on full text
|
||||
self.translation = self.fixNewlines(self.translation)
|
||||
self.lang_translated = lang_translated
|
||||
|
||||
def buildRequest(self, text, lang_from, lang_to):
|
||||
"""Build POST request which will be sent to Google."""
|
||||
urlTemplate = 'http://translate.google.com/translate_a/single?client=t&sl={lang_from}&tl={lang_to}&ie=utf-8&oe=utf-8&dt=t&dt=bd&tk='
|
||||
url = urlTemplate.format(lang_from=lang_from, lang_to=lang_to)
|
||||
header = {'User-agent': 'Mozilla/5.0', 'Content-Type': 'application/x-www-form-urlencoded'}
|
||||
data = 'text=%s' %urllib2.quote(text)
|
||||
req = urllib2.Request(url, data, header)
|
||||
return req
|
||||
|
||||
def parseData(self, response):
|
||||
"""Parse unstructured response."""
|
||||
data = response.readlines()[0]
|
||||
# get segments with couples ["translation","original text"]
|
||||
l1, l2 = data.split(']],', 1)
|
||||
translation = l1[3:]
|
||||
if l2.startswith('[[\"'):
|
||||
# get list of synonyms
|
||||
syn = l2[l2.find(',[')+1:l2.find(']')].split(',')
|
||||
temp = ', '.join([x.replace('\"', '') for x in syn])
|
||||
else:
|
||||
# get a list with each couple as item
|
||||
sentences = translation.split('],[')
|
||||
temp = ''
|
||||
# get translation, removing first char (quote symbol)
|
||||
for item in sentences:
|
||||
item = item.split('\",\"', 1)[0][1:]
|
||||
# join all translations
|
||||
temp = ' '.join([temp, item])
|
||||
translation = temp.decode('string-escape').decode('utf-8')
|
||||
translation = self.fixPunctuation(translation)
|
||||
# get the language of original text
|
||||
tempLang = data.partition(']],,\"')[2]
|
||||
lang = tempLang[:tempLang.find('\"')]
|
||||
if lang == '':
|
||||
lang = _("unavailable")
|
||||
return translation, lang
|
||||
|
||||
def fixPunctuation(self, translation):
|
||||
"""Clean text from space before punctuation symbol."""
|
||||
# list of potentially positions of spaces to remove
|
||||
spacePos = []
|
||||
for puncMark in splitReg.finditer(translation):
|
||||
spacePos.append(puncMark.start()-1)
|
||||
if len(spacePos) == 0:
|
||||
return translation
|
||||
fixedTranslation = ''
|
||||
for n in xrange(0,len(translation)):
|
||||
temp = translation[n]
|
||||
if n in spacePos and temp == ' ':
|
||||
continue
|
||||
else:
|
||||
fixedTranslation += temp
|
||||
return fixedTranslation
|
||||
|
||||
def fixNewlines(self, translation):
|
||||
"""Adjust newlines and (subsequent or double) spaces."""
|
||||
fixes = [('\r\n ', '\r\n'), ('\n ', '\r\n'), (' ', ' ')]
|
||||
for fix in fixes:
|
||||
translation = translation.replace(fix[0], fix[1])
|
||||
# first char is a space, so...
|
||||
return translation[1:]
|
||||
|
||||
languages = {
|
||||
"af": _(u"Afrikaans"),
|
||||
@@ -244,8 +101,8 @@ languages = {
|
||||
}
|
||||
|
||||
def available_languages():
|
||||
l = languages.keys()
|
||||
d = languages.values()
|
||||
l.insert(0, '')
|
||||
d.insert(0, _(u"autodetect"))
|
||||
return sorted(zip(l, d))
|
||||
l = languages.keys()
|
||||
d = languages.values()
|
||||
l.insert(0, '')
|
||||
d.insert(0, _(u"autodetect"))
|
||||
return sorted(zip(l, d))
|
||||
|
@@ -4,9 +4,10 @@ import sys
|
||||
import fix_arrow # A few new locales for Three languages in arrow.
|
||||
import fix_urllib3_warnings # Avoiding some SSL warnings related to Twython.
|
||||
import fix_win32com
|
||||
|
||||
import fix_requests #fix cacert.pem location for TWBlue binary copies
|
||||
def setup():
|
||||
fix_arrow.fix()
|
||||
if hasattr(sys, "frozen"):
|
||||
fix_win32com.fix()
|
||||
fix_requests.fix()
|
||||
fix_urllib3_warnings.fix()
|
10
src/fixes/fix_requests.py
Normal file
10
src/fixes/fix_requests.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from requests import certs, utils, adapters
|
||||
import paths
|
||||
|
||||
def patched_where():
|
||||
return paths.app_path(u"cacert.pem")
|
||||
|
||||
def fix():
|
||||
certs.where=patched_where
|
||||
utils.DEFAULT_CA_BUNDLE_PATH=patched_where()
|
||||
adapters.DEFAULT_CA_BUNDLE_PATH=patched_where()
|
@@ -1,5 +1,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from requests.packages import urllib3
|
||||
from requests.packages.urllib3 import fields
|
||||
import six
|
||||
import urllib
|
||||
|
||||
def fix():
|
||||
urllib3.disable_warnings()
|
||||
urllib3.disable_warnings()
|
||||
fields.format_header_param=patched_format_header_param
|
||||
|
||||
def patched_format_header_param(name, value):
|
||||
if not any(ch in value for ch in '"\\\r\n'):
|
||||
result = '%s="%s"' % (name, value)
|
||||
try:
|
||||
result.encode('ascii')
|
||||
except (UnicodeEncodeError, UnicodeDecodeError):
|
||||
pass
|
||||
else:
|
||||
return result
|
||||
if not six.PY3 and isinstance(value, six.text_type): # Python 2:
|
||||
value = value.encode('utf-8')
|
||||
value=urllib.quote(value, safe='')
|
||||
value = '%s=%s' % (name, value)
|
||||
return value
|
||||
|
@@ -47,7 +47,7 @@ class reportBug(object):
|
||||
issue.project.name = application.name
|
||||
issue.project.id = 0
|
||||
issue.summary = self.dialog.get("summary"),
|
||||
issue.description = "Reported by @%s\n\n" % (self.user_name) + self.dialog.get("description")
|
||||
issue.description = "Reported by @%s on version %s (snapshot = %s)\n\n" % (self.user_name, application.version, application.snapshot) + self.dialog.get("description")
|
||||
# to do: Create getters for category, severity and reproducibility in wx_UI.
|
||||
issue.category = constants.categories[self.dialog.category.GetSelection()]
|
||||
issue.reproducibility.name = constants.reproducibilities[self.dialog.reproducibility.GetSelection()]
|
||||
|
@@ -17,7 +17,7 @@ send_dm = string(default="control+win+d")
|
||||
user_details = string(default="control+win+shift+u")
|
||||
exit = string(default="control+win+q")
|
||||
open_timeline = string(default="control+win+u")
|
||||
remove_buffer = string(default="control+win+backspace")
|
||||
remove_buffer = string(default="control+win+back")
|
||||
audio = string(default="control+win+return")
|
||||
url = string(default="control+win+b")
|
||||
go_home = string(default="control+win+home")
|
||||
@@ -28,7 +28,8 @@ repeat_item = string(default="control+win+space")
|
||||
copy_to_clipboard = string(default="control+win+shift+c")
|
||||
search = string(default="control+win+/")
|
||||
find = string(default="control+win+shift+/")
|
||||
check_for_updates = string(default="alt+win+u)
|
||||
check_for_updates = string(default="alt+win+u")
|
||||
list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
@@ -50,4 +50,5 @@ get_trending_topics = string(default="control+win+shift+t")
|
||||
check_for_updates = string(default="control+win+u")
|
||||
list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
@@ -30,8 +30,8 @@ volume_up = string(default="alt+win+shift+up")
|
||||
go_home = string(default="alt+win+home")
|
||||
volume_down = string(default="alt+win+shift+down")
|
||||
go_end = string(default="alt+win+end")
|
||||
go_page_up = string(default="alt+win+pageup")
|
||||
go_page_down = string(default="alt+win+pagedown")
|
||||
go_page_up = string(default="control+win+pageup")
|
||||
go_page_down = string(default="control+win+pagedown")
|
||||
update_profile = string(default="alt+win+p")
|
||||
delete = string(default="alt+win+delete")
|
||||
clear_buffer = string(default="alt+win+shift+delete")
|
||||
@@ -52,4 +52,5 @@ get_trending_topics = string(default="alt+win+t")
|
||||
check_for_updates = string(default="alt+win+u")
|
||||
list_manager = string(default="alt+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+alt+shift+u")
|
@@ -53,4 +53,5 @@ get_trending_topics = string(default="control+win+t")
|
||||
check_for_updates = string(default="control+win+u")
|
||||
list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
@@ -53,4 +53,5 @@ find = string(default="control+win+{")
|
||||
check_for_updates = string(default="control+win+u")
|
||||
list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
@@ -5,10 +5,17 @@ import exceptions
|
||||
from ctypes import c_char_p
|
||||
from libloader import load_library
|
||||
import paths
|
||||
#if application.snapshot == True:
|
||||
# if platform.architecture()[0][:2] == "32":
|
||||
# lib = load_library("snapshot_api_keys32", x86_path=paths.app_path("keys/lib"))
|
||||
# else:
|
||||
# lib = load_library("snapshot_api_keys64", x64_path=paths.app_path("keys/lib"))
|
||||
#else:
|
||||
if platform.architecture()[0][:2] == "32":
|
||||
lib = load_library("api_keys32", x86_path=paths.app_path("keys/lib"))
|
||||
lib = load_library("stable_api_keys32", x86_path=paths.app_path("keys/lib"))
|
||||
else:
|
||||
lib = load_library("api_keys64", x64_path=paths.app_path("keys/lib"))
|
||||
lib = load_library("stable_api_keys64", x64_path=paths.app_path("keys/lib"))
|
||||
|
||||
# import linuxKeys
|
||||
# lib = linuxKeys
|
||||
|
||||
|
Binary file not shown.
BIN
src/keys/lib/snapshot_api_keys32.dll
Normal file
BIN
src/keys/lib/snapshot_api_keys32.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/keys/lib/stable_api_keys32.dll
Normal file
BIN
src/keys/lib/stable_api_keys32.dll
Normal file
Binary file not shown.
BIN
src/keys/lib/stable_api_keys64.dll
Normal file
BIN
src/keys/lib/stable_api_keys64.dll
Normal file
Binary file not shown.
@@ -50,4 +50,6 @@ actions = {
|
||||
"lists_manager": _(u"Opens the list manager, which allows you to create, edit, delete and open lists in buffers."),
|
||||
"configuration": _(u"Opens the global settings dialogue"),
|
||||
"accountConfiguration": _(u"Opens the account settings dialogue"),
|
||||
"audio": _(u"Try to play an audio file"),
|
||||
"update_buffer": _(u"Updates the buffer and retrieves possible lost items there."),
|
||||
}
|
@@ -37,13 +37,10 @@ class KeystrokeEditor(object):
|
||||
|
||||
def get_edited_keystroke(self, dialog):
|
||||
keys = []
|
||||
if dialog.get("win") == False:
|
||||
wx_ui.no_win_message()
|
||||
return
|
||||
if dialog.get("control") == True:
|
||||
keys.append("control")
|
||||
# if dialog.get("win") == True:
|
||||
keys.append("win")
|
||||
if dialog.get("win") == True:
|
||||
keys.append("win")
|
||||
if dialog.get("alt") == True:
|
||||
keys.append("alt")
|
||||
if dialog.get("shift") == True:
|
||||
|
@@ -70,6 +70,7 @@ def getLanguageDescription(language):
|
||||
"ne":pgettext("languageName","Nepali"),
|
||||
"sr":pgettext("languageName","Serbian (Latin)"),
|
||||
"ja":pgettext("languageName","Japanese"),
|
||||
"ro":pgettext("languageName","Romanian"),
|
||||
}.get(language,None)
|
||||
return desc
|
||||
|
||||
@@ -201,6 +202,7 @@ def langToWindowsLocale(lang):
|
||||
"ja": "jpn",
|
||||
"pl": "plk",
|
||||
"pt": "ptb",
|
||||
"ro": "rom",
|
||||
"ru": "rus",
|
||||
"tr": "trk",
|
||||
"sr": "eng",
|
||||
|
@@ -1,7 +1,7 @@
|
||||
from pywintypes import com_error
|
||||
import win32com
|
||||
import paths
|
||||
win32com.__gen_path__=paths.data_path(u"com_cache")
|
||||
win32com.__gen_path__=paths.com_path()
|
||||
import sys
|
||||
import os
|
||||
sys.path.append(os.path.join(win32com.__gen_path__, "."))
|
||||
|
@@ -32,7 +32,7 @@ def load_library(library, x86_path='.', x64_path='.', *args, **kwargs):
|
||||
loaded = _do_load(lib, *args, **kwargs)
|
||||
if loaded is not None:
|
||||
return loaded
|
||||
raise LibraryLoadError('unable to load %r. Provided library path: %r' % (library, path))
|
||||
raise LibraryLoadError('unable to load %r. Provided library path: %r' % (library, lib))
|
||||
|
||||
def _do_load(file, *args, **kwargs):
|
||||
loader = TYPES[platform.system()]['loader']
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
src/locales/ro/LC_MESSAGES/twblue.mo
Normal file
BIN
src/locales/ro/LC_MESSAGES/twblue.mo
Normal file
Binary file not shown.
3788
src/locales/ro/LC_MESSAGES/twblue.po
Normal file
3788
src/locales/ro/LC_MESSAGES/twblue.po
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user