mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-25 17:39:23 +00:00
Compare commits
495 Commits
snapshot10
...
v0.94
Author | SHA1 | Date | |
---|---|---|---|
![]() |
52f27c87b9 | ||
3f5ef28a48 | |||
4ec1e08606 | |||
f2cea695ee | |||
e4a6ead606 | |||
dc536c45de | |||
95fcbe6ba4 | |||
60f55940b7 | |||
655331d405 | |||
4381992718 | |||
eb87d924c2 | |||
1cebb29bdc | |||
27c1ec990a | |||
d40b816c48 | |||
ac5daec462 | |||
0835a34c71 | |||
babbc0a08d | |||
04ac629b51 | |||
![]() |
3920435eb7 | ||
2f0b20558e | |||
9ca6e15a20 | |||
9c2dba7cf8 | |||
318b6caf5f | |||
![]() |
83612b6a3c | ||
![]() |
f4e20f8ed4 | ||
![]() |
7883413210 | ||
![]() |
ad54134c86 | ||
![]() |
ef0d3a9eae | ||
ea48733cef | |||
6893d923a3 | |||
d94b133e63 | |||
28b6d554e2 | |||
931cadfffa | |||
232d876c8f | |||
c7f4fd2926 | |||
6b43ff1c0e | |||
5b5d762759 | |||
b4020d0f95 | |||
d8da78e22d | |||
c82bb4125b | |||
7b5e6477d3 | |||
41582a3770 | |||
e9cbe0d825 | |||
dc563523bc | |||
b15eed9697 | |||
019e83c55b | |||
7dad22189a | |||
eebaf94cbf | |||
1726d5882c | |||
64d843d98a | |||
610f18dcb6 | |||
cea638b680 | |||
e1e0a4e092 | |||
bc4a8bcba1 | |||
3db13062ed | |||
9559f07013 | |||
dee30385cc | |||
49ce469c12 | |||
59e1299a0b | |||
ab2667529f | |||
![]() |
a7fd88b4be | ||
a2cb4ba889 | |||
9847f7ad01 | |||
c2d81279fe | |||
77489cab1e | |||
7d35dbc752 | |||
f2ea4136c0 | |||
537d011b40 | |||
8af1e650b7 | |||
e3cbd8be87 | |||
7099875bc7 | |||
4a15fe1602 | |||
7478edd454 | |||
da4658c220 | |||
6768bf85d5 | |||
199a06c6e5 | |||
b967c32393 | |||
e9797ce6ac | |||
861de1f354 | |||
6f838d12e9 | |||
010c0011aa | |||
b1c5ddbca8 | |||
a16f16d36d | |||
e5196f0aad | |||
b8df56dcbb | |||
612f4ffadf | |||
652d3c7ff8 | |||
b6d49bb851 | |||
cb6f90a027 | |||
fff215fcdb | |||
8e9743cae1 | |||
0e41fabbe6 | |||
5ff5a4a6d2 | |||
d4dadfcdc7 | |||
fac228dec1 | |||
79490f8346 | |||
635b467394 | |||
e886090830 | |||
80cb5567d5 | |||
3c0824aad4 | |||
0bbbb3f1b6 | |||
![]() |
51c5820719 | ||
![]() |
d6f47259a6 | ||
2457fcf8f3 | |||
87a6290f74 | |||
7109d904a2 | |||
435ffef6fd | |||
![]() |
2fb88924fd | ||
![]() |
6ba1fe9eac | ||
b184bed1a8 | |||
53deb869fc | |||
f9db4d6d51 | |||
7861f42d26 | |||
e8a692a061 | |||
c5a5b187ec | |||
ab18445338 | |||
4d6b589086 | |||
5a03cc80ca | |||
fd17d824be | |||
a0fe62a227 | |||
00db4ff806 | |||
45430e036c | |||
29c3f1d194 | |||
e10e3b3c49 | |||
d9a9adef1f | |||
02538322c6 | |||
efc5b481f8 | |||
2c1bd6a8c8 | |||
4d1732b3aa | |||
a0e41a4450 | |||
2ee3e315b6 | |||
29df2e44b4 | |||
8836cb2bda | |||
2d9124c336 | |||
b832e36c7d | |||
98cf02ee98 | |||
519d096f29 | |||
34e9b8b89f | |||
beb75ff6d1 | |||
9fd7c14e32 | |||
e303d914fe | |||
5f7f176892 | |||
8928a64a12 | |||
6a3b498d52 | |||
682ee82aa8 | |||
1e22ebce61 | |||
c2413489e5 | |||
094325cbf0 | |||
a5e1686af6 | |||
54cb099007 | |||
636c21df94 | |||
cdad6ff600 | |||
68efc86536 | |||
e06ccacda1 | |||
da6eb34500 | |||
0f31a776ff | |||
efc6843ee2 | |||
a13dd756b1 | |||
1b62eece13 | |||
e23ef1ded2 | |||
066de25f95 | |||
cd128b8e69 | |||
![]() |
9e17abf517 | ||
cbd3126a4f | |||
0d0aed0490 | |||
ed7c9802d1 | |||
68ea029fe3 | |||
3a465f2314 | |||
ef2d672b35 | |||
![]() |
b3c8de9a1f | ||
![]() |
4d75f2db34 | ||
![]() |
f69e4283cd | ||
![]() |
cbbf1e475d | ||
![]() |
851f711357 | ||
![]() |
11703f50fe | ||
![]() |
11ca3a2190 | ||
![]() |
a1381008d7 | ||
59504cca57 | |||
da06c568c5 | |||
d333b5f5c3 | |||
348b8da619 | |||
904226cfd4 | |||
2cf5caa90d | |||
![]() |
ff05c9cb23 | ||
![]() |
f18a03d4a1 | ||
![]() |
24756e73d3 | ||
![]() |
feb16d9773 | ||
5b47e8806a | |||
a073a5caaa | |||
a69a26e107 | |||
76582c6313 | |||
5a249ba942 | |||
![]() |
696b6aa11d | ||
![]() |
44187c69de | ||
![]() |
efb8cac079 | ||
![]() |
7997f23f9c | ||
20d4023e58 | |||
![]() |
b62f99bc5a | ||
![]() |
70bba44da7 | ||
![]() |
d25ace8f98 | ||
![]() |
eb19417263 | ||
![]() |
982fd41ae3 | ||
cf19e644e4 | |||
02c5b40315 | |||
825a896414 | |||
![]() |
dabb3a01b8 | ||
![]() |
5d68d1f1cb | ||
![]() |
85613da33a | ||
268a123449 | |||
4c22c29241 | |||
![]() |
7a7634833a | ||
![]() |
d70b5703d2 | ||
![]() |
21d6471bb2 | ||
![]() |
a492baf486 | ||
![]() |
0163314e36 | ||
![]() |
1d7d376ca1 | ||
868002c78b | |||
c3b19f42d5 | |||
ee234995f5 | |||
![]() |
0472592991 | ||
![]() |
5b8c28dd73 | ||
![]() |
a8f854cbc5 | ||
80f2e8f984 | |||
d4b410cafd | |||
![]() |
af04bcfe3f | ||
![]() |
7349e3b3f3 | ||
bf4c09d0bb | |||
adc45ae767 | |||
2618e0ac90 | |||
3feeb568d8 | |||
fb977a70c2 | |||
c4a06a7bc0 | |||
df5967079c | |||
0a3219d12a | |||
77baa06fc3 | |||
160d168c63 | |||
713ac0251b | |||
c655c76196 | |||
3cf6ac5c06 | |||
43bdb358dd | |||
6f622bdeba | |||
7e6103473f | |||
![]() |
caa051abae | ||
fbe6eb6250 | |||
b9d8e13bdf | |||
16a6fa2896 | |||
![]() |
089eea4c07 | ||
![]() |
37e3af1c59 | ||
562759f57e | |||
a9dc188c4b | |||
cced182063 | |||
66774174ae | |||
d9e972115b | |||
2d7c8e59dd | |||
![]() |
802c879795 | ||
![]() |
34f92b8af9 | ||
![]() |
a72e8dd6a4 | ||
4793aaf5e6 | |||
c136c50afc | |||
![]() |
3a4b34972d | ||
![]() |
607da14355 | ||
![]() |
17ccc30d9b | ||
3855407f52 | |||
03415f6b24 | |||
![]() |
1061967adc | ||
b165d564e0 | |||
20c2f844f5 | |||
ad9f2452b2 | |||
a86a6f52d6 | |||
4d82ecc8f2 | |||
023e0979c6 | |||
ca6e78cd4d | |||
8f4b1f9695 | |||
20aaa39bc9 | |||
![]() |
8197f0c0d9 | ||
![]() |
aa1a3542e5 | ||
05c0fefc01 | |||
1fd90be4cb | |||
05a4e9b6e4 | |||
![]() |
9d07fe38b8 | ||
fedf153252 | |||
80f9125511 | |||
25c88cea3b | |||
c9161cd772 | |||
f7c334ad96 | |||
59f6cf13ad | |||
3684ec2783 | |||
6baf417d35 | |||
db52e8d851 | |||
0bf630d8c0 | |||
![]() |
4bd9a2b899 | ||
7daacfa809 | |||
![]() |
b586b0729c | ||
d384ad9dd3 | |||
e7aac6c805 | |||
e34c84697e | |||
a639604179 | |||
7b5022da09 | |||
![]() |
620ee23edb | ||
![]() |
f19d7b0535 | ||
![]() |
a5acc3ef56 | ||
![]() |
40fc175185 | ||
![]() |
67dee3e1c1 | ||
![]() |
dab8be7c12 | ||
![]() |
b7dd6d43fe | ||
![]() |
8a701c450e | ||
![]() |
2370c39c15 | ||
![]() |
0851dc23d8 | ||
![]() |
232d39e0b3 | ||
2c27a1968f | |||
4d5de6ca69 | |||
![]() |
fb349fc7b4 | ||
![]() |
1a4d0d5b9a | ||
![]() |
5eff1b77fe | ||
6bb534d250 | |||
2d8c706cde | |||
4e702c5428 | |||
![]() |
6717cb5154 | ||
590f59ca63 | |||
6bad20b784 | |||
146667144a | |||
cc60235503 | |||
31a149b022 | |||
ec58d02bb3 | |||
516acb501a | |||
88a706dd7d | |||
6d887d5762 | |||
cd7fb6d36f | |||
![]() |
020148ac0a | ||
9d0558468a | |||
7d188a40b2 | |||
0c3d956d96 | |||
44ca5a7f83 | |||
![]() |
cdedd41101 | ||
![]() |
87c113986d | ||
![]() |
b0a6634e20 | ||
53388696b6 | |||
fe7a69f490 | |||
1351712db4 | |||
ca0f00e27d | |||
![]() |
6290815a0c | ||
4a1162005d | |||
72b4873dce | |||
a1ccdd6bf4 | |||
2cad567537 | |||
![]() |
bb0af61483 | ||
7a2e51ef03 | |||
b3451e229d | |||
32dd232350 | |||
![]() |
656b031c5c | ||
![]() |
0f2bd2a9e1 | ||
![]() |
12f47b85af | ||
30c0a8249e | |||
62e51ad14b | |||
d076ed1f56 | |||
9bbe325517 | |||
6f5ef6d3f1 | |||
378d277a98 | |||
![]() |
2fdbcbc152 | ||
![]() |
ef7ba0fe40 | ||
![]() |
3c5de10fe6 | ||
![]() |
230e0fa951 | ||
31192a5801 | |||
f1c974b4cf | |||
![]() |
a9f9cb7969 | ||
![]() |
3a3393e03a | ||
3a7c0c8f12 | |||
bd2460e42b | |||
![]() |
2dd262cc83 | ||
![]() |
a2cf1ac8d0 | ||
df345b5eec | |||
![]() |
b535c996d6 | ||
b131f50d42 | |||
d729f86898 | |||
![]() |
51ef047fb6 | ||
![]() |
2497d01bd6 | ||
![]() |
a57c44d566 | ||
![]() |
5565e08610 | ||
ab65a8f6db | |||
7f3c363da8 | |||
7bc26a94c7 | |||
![]() |
47b8575f55 | ||
![]() |
2a27998831 | ||
![]() |
a64e89994f | ||
05a8cb7a28 | |||
![]() |
b2ebbf5b7a | ||
![]() |
a03ef851e3 | ||
7a8d000635 | |||
![]() |
6a056749af | ||
41b10e3a84 | |||
4056c73052 | |||
ef95244f0c | |||
143ad70073 | |||
817d7bd6bb | |||
![]() |
99bdaca6f0 | ||
3fca5c20fb | |||
![]() |
a373ef8dff | ||
696d1764bd | |||
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 | |||
![]() |
70169a2a4a | ||
![]() |
0875b7ef92 | ||
![]() |
e3e4fa42db | ||
![]() |
6e0c6de0af |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -17,3 +17,6 @@ src/Microsoft.VC90.MFC
|
||||
src/launcher.bat
|
||||
src/sounds/iOs
|
||||
release-snapshot/
|
||||
src/com_cache/
|
||||
doc/strings.py
|
||||
doc/changelog.py
|
2
COPYING
2
COPYING
@@ -1,5 +1,5 @@
|
||||
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
|
||||
Copyright © 2013-2018. 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/
|
||||
|
||||
|
80
README.md
80
README.md
@@ -1,13 +1,10 @@
|
||||
TWBlue -
|
||||
======
|
||||
|
||||
Copyright (C) 2015. [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 +15,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,49 +29,39 @@ Although most dependencies can be found in the windows-dependencies directory, w
|
||||
|
||||
#### Dependencies packaged in windows installers
|
||||
|
||||
* [Python,](http://python.org) version 2.7.11
|
||||
* [Python,](http://python.org) version 2.7.15
|
||||
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 220
|
||||
* [Pycurl](http://pycurl.sourceforge.net) 7.21.5 for Python 2.7: [downloads](https://pypi.python.org/pypi/pycurl/7.21.5)
|
||||
* [Python windows extensions (pywin32)](http://www.sourceforge.net/projects/pywin32/) for python 2.7, build 223
|
||||
* [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
|
||||
|
||||
The windows installers are available only in the windows-dependencies folder
|
||||
The windows installers are available only in the windows-dependencies folder.
|
||||
|
||||
To build a binary version:
|
||||
|
||||
* [Py2exe](http://www.sourceforge.net/projects/py2exe/) for Python 2.7, version 0.6.9
|
||||
|
||||
#### Dependencies that must be installed using easy_install
|
||||
#### Dependencies that must be installed using pip
|
||||
|
||||
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:
|
||||
Python installs a tool called Pip that allows to install packages in a simple way. You can find it in the python scripts directory. To install packages using Pip, you have to navigate to the scripts directory using a command prompt, for example:
|
||||
|
||||
cd C:\python27x64\scripts
|
||||
|
||||
You can also add the scripts folder to your path environment variable.
|
||||
You can also add the scripts folder to your path environment variable or choose the corresponding option when installing Python.
|
||||
Note: pip and setuptools are included in the Python installer since version 2.7.9.
|
||||
|
||||
After that, run the following command to install a package, replacing packagename with the names listed below:
|
||||
Pip is able to install packages listed in a special text file, called the requirements file. To install all remaining dependencies, perform the following command:
|
||||
|
||||
easy_install -Z package
|
||||
pip install -r requirements.txt
|
||||
|
||||
The -z switch unzips the package, instead of installing it compressed. If you add the --upgrade switch, you can upgrade a package to its latest version. The following packages need to be installed:
|
||||
Note that if you perform the command from the path where Pip is located, you need to specify the path to your Tw Blue root folder where the requirements file is located, for example:
|
||||
|
||||
* pypubsub
|
||||
* configobj
|
||||
* requests-oauthlib
|
||||
* future
|
||||
* pygeocoder
|
||||
* suds
|
||||
* arrow==0.6
|
||||
* markdown
|
||||
* winpaths
|
||||
* microsofttranslator
|
||||
pip install -r D:\repos\TwBlue\requirements.txt
|
||||
|
||||
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 suds requests oauthlib requests-oauthlib pypubsub pygeocoder arrow python-dateutil futures markdown microsofttranslator
|
||||
Pip will automatically get the additional libraries that the listed packages need to work properly.
|
||||
If you need to update your dependencies, perform the following command:
|
||||
|
||||
pip install --upgrade -r requirements.txt
|
||||
|
||||
#### Other dependencies
|
||||
|
||||
@@ -84,30 +71,41 @@ These dependencies are located in the windows-dependencies directory. You don't
|
||||
This dependency has been built using pure basic 4.61. Its source can be found at http://hg.q-continuum.net/updater
|
||||
* [oggenc2.exe,](http://www.rarewares.org/ogg-oggenc.php) version 2.87
|
||||
* Microsoft Visual c++ 2008 redistributable dlls.
|
||||
* VLC plugins and DLL libraries.
|
||||
|
||||
#### Dependencies required to build the installer
|
||||
|
||||
* [NSIS unicode,](http://www.scratchpaper.com/) version 2.46.5
|
||||
* [NSIS,](http://nsis.sourceforge.net/) version 3.03
|
||||
|
||||
#### Dependencies required to build the portableApps.com format archive
|
||||
|
||||
* [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.0.20
|
||||
* [NSIS Portable,](http://portableapps.com/apps/development/nsis_portable) version 3.03
|
||||
* [PortableApps.com Launcher,](http://portableapps.com/apps/development/portableapps.com_launcher) version 2.2.1
|
||||
* [PortableApps.com Installer,](http://portableapps.com/apps/development/portableapps.com_installer) version 3.5.8
|
||||
|
||||
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, ...
|
||||
|
||||
#### Dependencies to make the spell checker multilingual ####
|
||||
|
||||
In order to add the support for spell checking in more languages than english you need to add some additional dictionaries to pyenchant. These are located on the dictionaries folder under windows-dependencies. Simply copy them to the share/enchant/myspell folder located in your enchant installation. They will be automatically copied when building a binary version.
|
||||
|
||||
### 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:
|
||||
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:
|
||||
|
||||
python main.py
|
||||
|
||||
If necessary, change the first part of the command to reflect the location of your python executable. You can run TW Blue using python x86 and x64
|
||||
If necessary, change the first part of the command to reflect the location of your python executable. You can run TW Blue using python x86 and x64.
|
||||
|
||||
### Generating the documentation
|
||||
|
||||
To generate the documentation in html format, navigate to the doc folder inside this repo. After that, run this command:
|
||||
python generator.py
|
||||
The documentation will be generated, placing each language in a separate folder in the doc directory. Move these folders (for example de, en, es, fr, it, ...) to src/documentation, creating the directory if necesary.
|
||||
Also, copy the license.txt located in the root of the repo to the documentation folder.
|
||||
To generate the documentation in html format, navigate to the doc folder inside this repo. After that, run these commands:
|
||||
|
||||
python document_importer.py
|
||||
python generator.py
|
||||
|
||||
The documentation will be generated, placing each language in a separate folder in the doc directory. Move these folders (for example `de`, `en`, `es`, `fr`, `it`, ...) to `src/documentation`, creating the directory if necessary.
|
||||
Also, copy the `license.txt` file located in the root of the repo to the documentation folder.
|
||||
|
||||
### Building a binary version
|
||||
|
||||
@@ -121,7 +119,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
|
||||
@@ -136,7 +134,7 @@ Run the gen_pot.bat file, located in the tools directory. Your python installati
|
||||
|
||||
### How to build the portableApps.com archive
|
||||
|
||||
If you want to have TWBlue in your PortableApps.com platform, follow these steps:
|
||||
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
|
||||
|
@@ -1,12 +1,8 @@
|
||||
Manuel E. Cortéz
|
||||
Bill Dengler
|
||||
Johana Hidrobo
|
||||
Marcelo Sosa
|
||||
Isabel del Castillo
|
||||
José Manuel Delicado
|
||||
David Picón
|
||||
Vicente Llopis
|
||||
Javier Dorado
|
||||
Guillem León
|
||||
Marco Serrano
|
||||
Bryner Villalobos
|
||||
@@ -35,3 +31,11 @@ Anibal Hernández
|
||||
Sussan Leiva
|
||||
Brian Hartgen
|
||||
PEDRO REINA COLOBON
|
||||
Blake Oliver
|
||||
Steffen Schultz
|
||||
Riku
|
||||
Burak Yüksek
|
||||
florian Ionașcu
|
||||
Christian Leo Mameli
|
||||
Natalia Hedlund (Наталья Хедлунд)
|
||||
Valeria (Валерия)
|
@@ -2,6 +2,17 @@
|
||||
name = 'TWBlue'
|
||||
snapshot = False
|
||||
if snapshot == False:
|
||||
version = "0.80"
|
||||
version = "0.94"
|
||||
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) 2013-2016, 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"
|
174
doc/changelog.md
Normal file
174
doc/changelog.md
Normal file
@@ -0,0 +1,174 @@
|
||||
TWBlue Changelog
|
||||
|
||||
## changes in this version
|
||||
|
||||
* Added an option in the global settings dialog to disable the Streaming features of TWBlue. TWBlue will remove all Streaming features after August 16, so this option will give people an idea about how it will be. ([#219](https://github.com/manuelcortez/TWBlue/issues/219))
|
||||
* Due to Twitter API changes, Switched authorisation method to Pin-code based authorisation. When you add new accounts to TWBlue, you will be required to paste a code displayed in the Twitter website in order to grant access to TWBlue. ([#216](https://github.com/manuelcortez/TWBlue/issues/216))
|
||||
* In order to comply with latest Twitter changes, TWBlue has switched to the new method used to send and receive direct messages, according to issue [#215.](https://github.com/manuelcortez/twblue/issues/215)
|
||||
* The new method does not allow direct messages to be processed in real time. Direct messages will be updated periodically.
|
||||
* After august 16 or when streaming is disabled, the events buffer will no longer be created in TWBlue.
|
||||
* You can configure frequency for buffer updates in TWBlue. By default, TWBlue will update all buffers every 2 minutes, but you can change this setting in the global settings dialog. ([#223](https://github.com/manuelcortez/TWBlue/issues/223))
|
||||
* Added a new tab called feedback, in the account settings dialog. This tab allows you to control wether automatic speech or Braille feedbak in certain events (mentions and direct messages received) is enabled. Take into account that this option will take preference over automatic reading of buffers and any kind of automatic output. ([#203](https://github.com/manuelcortez/TWBlue/issues/203))
|
||||
* The spell checking dialog now has access keys defined for the most important actions. ([#211](https://github.com/manuelcortez/TWBlue/issues/211))
|
||||
* TWBlue now Uses WXPython 4.0.1. This will allow us to migrate all important components to Python 3 in the future. ([#207](https://github.com/manuelcortez/TWBlue/issues/207))
|
||||
* When you quote a Tweet, if the original tweet was posted with Twishort, TWBlue should display properly the quoted tweet. Before it was displaying the original tweet only. ([#206](https://github.com/manuelcortez/TWBlue/issues/206))
|
||||
* It is possible to filter by retweets, quotes and replies when creating a new filter.
|
||||
* Added support for playing youtube Links directly from the client. ([#94](https://github.com/manuelcortez/TWBlue/issues/94))
|
||||
* Replaced Bass with libVLC for playing URL streams.
|
||||
* the checkbox for indicating wether TWBlue will include everyone in a reply or not, will be unchecked by default.
|
||||
* You can request TWBlue to save the state for two checkboxes: Long tweet and mention all, from the global settings dialogue.
|
||||
* For windows 10 users, some keystrokes in the invisible user interface have been changed or merged:
|
||||
* control+Windows+alt+F will be used for toggling between adding and removing a tweet to user's likes. This function will execute the needed action based in the current status for the focused tweet.
|
||||
* TWBlue will show an error if something goes wrong in an audio upload.
|
||||
* And more. ([#171,](https://github.com/manuelcortez/TWBlue/issues/171)
|
||||
|
||||
## Changes in version 0.93
|
||||
|
||||
* A new soundpack has been added to TWBlue. Thanks to [@ValeriaK305](https://twitter.com/ValeriaK305)
|
||||
* In the Windows 10 keymap, we have changed some default keystrokes as windows now uses some previously assigned shortcuts:
|
||||
* For liking a tweet, press Control+Windows+alt+f
|
||||
* for opening a trends buffer, press control+Windows+T
|
||||
* TWBlue has received improvements in some functions for handling extended tweets, long tweets and quoted retweets. It should render some tweets in a better way.
|
||||
* In the spell checker module, there is a new button that will allow you to add your own words to your personal dictionary so the module won't mark them as mispelled the next time you will check spelling.
|
||||
* Added filtering capabilities to TWBlue. ([#102](https://github.com/manuelcortez/TWBlue/issues/102))
|
||||
* You can create a filter for the current buffer from the buffer menu in the menu bar. At this moment, invisible interface does not have any shorcut for this.
|
||||
* You can create filters by word or languages.
|
||||
* For deleting already created filters, you can go to the filter manager in the buffer menu and delete the filters you won't need.
|
||||
* Links should be opened properly in quoted tweets ([#167,](https://github.com/manuelcortez/TWBlue/issues/167) [#184](https://github.com/manuelcortez/TWBlue/issues/184))
|
||||
* Increased display name limit up to 50 characters in update profile dialog.
|
||||
* When authorising an account, you will see a dialogue with a cancel button, in case you want to abort the process. Also, NVDA will not be blocked when the process starts. ([#101](https://github.com/manuelcortez/TWBlue/issues/101))
|
||||
* In the translator module, the list of available languages is fetched automatically from the provider. That means all of these languages will work and there will not be inconsistencies. Also we've removed the first combo box, because the language is detected automatically by Yandex'S API. ([#153](https://github.com/manuelcortez/TWBlue/issues/153))
|
||||
* Trending topics, searches and conversation buffers will use mute settings set for the session in wich they were opened. ([#157](https://github.com/manuelcortez/TWBlue/issues/157))
|
||||
* The Tweet limit is now 280 characters lenght instead 140. It means you can tweet longer tweets. ([#172](https://github.com/manuelcortez/TWBlue/issues/172))
|
||||
* Per popular request, Status for mention to all and long tweet checkboxes will not be saved in settings. ([#170](https://github.com/manuelcortez/TWBlue/issues/170))
|
||||
* Fixed a problem that was making TWBlue unable to start if it was being ran in Windows with Serbian language. ([#175](https://github.com/manuelcortez/TWBlue/issues/175))
|
||||
* Added Danish translation.
|
||||
* And more. ([#156,](https://github.com/manuelcortez/TWBlue/issues/156) [#163,](https://github.com/manuelcortez/TWBlue/issues/163) [#159,](https://github.com/manuelcortez/TWBlue/issues/159) [#173,](https://github.com/manuelcortez/TWBlue/issues/173) [#174,](https://github.com/manuelcortez/TWBlue/issues/174) [#176,](https://github.com/manuelcortez/TWBlue/issues/176))
|
||||
|
||||
## changes in version 0.91 and 0.92
|
||||
|
||||
* Fixed incorrect unicode handling when copying tweet to clipboard. ([#150](https://github.com/manuelcortez/TWBlue/issues/150))
|
||||
* TWBlue will show an error when trying to open a timeline for a suspended user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))
|
||||
* Removed TwUp as service as it no longer exists. ([#112](https://github.com/manuelcortez/TWBlue/issues/112))
|
||||
* Release audio files after uploading them. ([#130](https://github.com/manuelcortez/TWBlue/issues/130))
|
||||
* Now TWBlue will use Yandex's translation services instead microsoft translator. ([#132](https://github.com/manuelcortez/TWBlue/issues/132))
|
||||
* SndUp users will be able to upload audio in their account by using their API Key again. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))
|
||||
* old tweets shouldn't be added as new items in buffers. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://github.com/manuelcortez/TWBlue/issues/133))
|
||||
* All mentionned users should be displayed correctly in Twishort's long tweets. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#135](https://github.com/manuelcortez/TWBlue/issues/135))
|
||||
* It is possible to select a language for OCR service from the extras panel, in the account settings dialogue. You can, however, set this to detect automatically. OCR should work better in languages with special characters or non-english symbols. ([#107](https://github.com/manuelcortez/TWBlue/issues/107))
|
||||
* Fixed a problem with JAWS for Windows and TWBlue. Now JAWS will work normally in this update. [#100](https://github.com/manuelcortez/twblue/issues/100)
|
||||
* And more ([#136,](https://github.com/manuelcortez/TWBlue/issues/136))
|
||||
|
||||
## Changes in version 0.90
|
||||
|
||||
* Fixed a bug in long tweet parsing that was making TWBlue to disconnect the streaming API. ([#103](https://github.com/manuelcortez/TWBlue/issues/103))
|
||||
* Now OCR will work in images from retweets. It fixes a bug where TWBlue was detecting images but couldn't apply OCR on them. ([#105](https://github.com/manuelcortez/TWBlue/issues/105))
|
||||
* TWBlue won't try to load tweets already deleted, made with Twishort. Before, if someone posted a long tweet but deleted it in the Twishort's site, TWBlue was trying to load the tweet and it was causing problems in all the client. ([#113](https://github.com/manuelcortez/TWBlue/issues/113))
|
||||
* TWBlue shows an error message when you try to view the profile of an user that does not exist or has been suspended. ([#114,](https://github.com/manuelcortez/TWBlue/issues/114) [#115](https://github.com/manuelcortez/TWBlue/issues/115))
|
||||
* The spellchecker module should select the right language when is set to "user default". ([#117](https://github.com/manuelcortez/TWBlue/issues/117))
|
||||
* Image description will be displayed in retweets too. ([#119](https://github.com/manuelcortez/TWBlue/issues/119))
|
||||
* When reading a long tweet, you shouldn't read strange entities anymore. ([#118](https://github.com/manuelcortez/twblue/issues/118))
|
||||
* TWBlue will not try to load timelines if the user is blocking you. ([#125](https://github.com/manuelcortez/twblue/issues/125))
|
||||
|
||||
## Changes in version 0.88 and 0.89
|
||||
|
||||
* Fixed more issues with streams and reconnections.
|
||||
* newer updates will indicate the release date in the updater.
|
||||
* Changes to keystrokes are reflected in keystroke editor automatically.
|
||||
* In replies with multiple users, if the mention to all checkbox is unchecked, you will see a checkbox per user so you will be able to control who will be mentioned in the reply.
|
||||
* Fixed a bug that caused duplicated user mentions in replies when the tweet was made with Twishort.
|
||||
* Retweets should be displayed normally again when the originating tweet is a Twishort's long tweet.
|
||||
* Changed the way TWBlue saves user timelines in configuration. Now it uses user IDS instead usernames. With user IDS, if an user changes the username, TWBlue still will create his/her timeline. This was not possible by using usernames.
|
||||
* Added a new setting in the account settings dialogue that makes TWBlue to show twitter usernames instead the full name.
|
||||
* Added OCR in twitter pictures. There is a new item in the tweet menu that allows you to extract and display text in images. Also the keystroke alt+Win+o has been added for the same purpose from the invisible interface.
|
||||
* Now TWBlue will play a sound when the focused tweet contains images.
|
||||
* Your own quoted tweets will not appear in the mentions buffer anymore.
|
||||
* The config file is saved in a different way, it should fix the bug where TWBlue needs to be restarted after the config folder is deleted.
|
||||
* Mentioning people from friends or followers buffers works again.
|
||||
* Support for proxy servers has been improved. Now TWBlue supports http, https, socks4 and socks5 proxies, with and without autentication.
|
||||
|
||||
## Changes in version 0.87
|
||||
|
||||
* Fixed stream connection errors.
|
||||
* Now TWBlue can handle properly a reply to the sender without including all other mentioned users.
|
||||
* Updated translations.
|
||||
* The status of the mention to all checkbox will be remembered the next time you reply to multiple users.
|
||||
|
||||
## Changes in version 0.86
|
||||
|
||||
* Fixed a very important security issue. Now TWBlue will send tweets to twishort without using any other server.
|
||||
* When you add a comment to a tweet, it will be sent as a quoted tweet, even if your reply plus the original tweet is not exceeding 140 characters.
|
||||
* Updated windows 10 keymap for reflecting changes made in the last windows 10 build.
|
||||
* Added last changes in the twitter API.
|
||||
* When replying, it will not show the twitter username in the text box. When you send the tweet, the username will be added automatically.
|
||||
* When replying to multiple users, you'll have a checkbox instead a button for mentioning all people. If this is checked, twitter usernames will be added automatically when you send your reply.
|
||||
|
||||
## Changes in version 0.85
|
||||
|
||||
* Long and quoted tweets should be displayed properly In lists.
|
||||
* The connection should be more stable.
|
||||
* Added an autostart option in the global settings dialogue.
|
||||
* Updated translation.
|
||||
* Updated russian documentation.
|
||||
* Tweets in cached database should be loaded properly.
|
||||
* Added some missed dictionaries for spelling correction.
|
||||
* Timelines, lists and other buffer should be created in the right order at startup.
|
||||
|
||||
## Changes in version 0.84
|
||||
|
||||
* More improvements in quoted and long tweets.
|
||||
* Updated translations: Russian, Italian, French, Romanian, Galician and Finnish.
|
||||
* Improvements in the audio uploader module: Now it can handle audio with non-english characters.
|
||||
* the title of the window should be updated properly when spellcheck, translate or shorten/unshorten URL buttons are pressed.
|
||||
* the bug that changes the selected tweet in the home timeline shouldn't be happening so often.
|
||||
|
||||
## Changes in version 0.82 and 0.83
|
||||
|
||||
* If the tweet source (client) is an application with unicode characters (example: российская газета) it will not break the tweet displayer.
|
||||
* Added a new field for image description in tweet displayer. When available, it will show description for images posted in tweets.
|
||||
* users can add image descriptions to their photos. When uploading an image, a dialog will show for asking a description.
|
||||
* Redesigned upload image dialog.
|
||||
* Fixed photo uploads when posting tweets.
|
||||
* When getting tweets for a conversation, ignores deleted tweets or some errors, now TWBlue will try to get as much tweets as possible, even if some of these are no longer available.
|
||||
* Added audio playback from soundcloud.
|
||||
* Now the session mute option don't makes the screen reader speaks.
|
||||
* Fixed the direct message dialog. Now it should be displayed properly.
|
||||
* when a tweet is deleted in twitter, TWBlue should reflect this change and delete that tweet in every buffer it is displayed.
|
||||
* If your session is broken, TWBlue will be able to remove it automatically instead just crashing.
|
||||
* audio uploader should display the current progress.
|
||||
* users can disable the check for updates feature at startup from the general tab, in the global settings dialogue.
|
||||
* The invisible interface and the window should be synchronized when the client reconnects.
|
||||
* The documentation option in the systray icon should be enabled.
|
||||
* In trending buffers, you can press enter for posting a tweet about the focused trend.
|
||||
* Updated russian documentation and main program interface (thanks to Natalia Hedlund (Наталья Хедлунд), [@lifestar_n](https://twitter.com/lifestar_n) in twitter)
|
||||
* updated translations.
|
||||
|
||||
## Changes in Version 0.81
|
||||
|
||||
* Updated translations
|
||||
* The updater module has received some improvements. Now it includes a Mirror URL for checking updates if the main URL is not available at the moment. If something is wrong and both locations don't work, the program will start anyway.
|
||||
* some GUI elements now use keyboard shortcuts for common actions.
|
||||
* fixed a bug in the geolocation dialog.
|
||||
* the chicken nugget keymap should work properly.
|
||||
* Added a new soundpack to the default installation of TWBlue, thanks to [@Deng90](https://twitter.com/deng90)
|
||||
* Now the changelog is written in an html File.
|
||||
* Added some missed dictionaries in last version for the spell checking feature.
|
||||
* Trimmed the beginnings of the sounds in the default soundpack. Thanks to [@masonasons](https://github.com/masonasons)
|
||||
* Added Opus support for sound playback in TWBlue. Thanks to [@masonasons](https://github.com/masonasons)
|
||||
* Added a source field in view tweet dialogue. Thanks to [@masonasons](https://github.com/masonasons)
|
||||
* You can load previous items in followers and friend buffers for others.
|
||||
* The Spell Checker dialogue should not display an error message when you have set "default language" in the global settings dialogue if your language is supported [#168](http://twblue.es/bugs/view.php?id=168)
|
||||
* Updated romanian translation.
|
||||
* Some code cleanups.
|
||||
* The bug reports feature is fully operational again.
|
||||
* TWBlue should work again for users that contains special characters in windows usernames.
|
||||
* Added more options for the tweet searches.
|
||||
* Added play_audio to the keymap editor.
|
||||
* Windows key is no longer required in the keymap editor
|
||||
* Switched to the Microsoft translator.
|
||||
* You can update the current buffer by pressing ctrl+win+shift+u in the default keymap or in the buffer menu.
|
||||
* Changed some keystrokes in the windows 10 default keymap
|
||||
* New followers and friends buffer for user timelines.
|
||||
|
||||
---
|
||||
Copyright © 2014-2017, Manuel Cortez.
|
@@ -2,7 +2,7 @@
|
||||
""" This script converts the hold documentation (saved in markdown files) in a python file with a list of strings to translate it using gettext."""
|
||||
|
||||
def prepare_documentation_in_file(fileSource, fileDest):
|
||||
""" This takes documentation written in a markdown file and put all the contents in a python file, to create a internationalized documentation.
|
||||
""" This takes documentation written in a markdown file and put all the contents in a python file, to create a translatable documentation.
|
||||
@fileSource str: A markdown(.md) file.
|
||||
@fileDest str: A file where this will put the new strings"""
|
||||
|
||||
@@ -10,14 +10,19 @@ def prepare_documentation_in_file(fileSource, fileDest):
|
||||
f2 = open(fileDest, "w")
|
||||
lns = f1.readlines()
|
||||
f2.write("# -*- coding: utf-8 -*-\n")
|
||||
f2.write("documentation = []\n")
|
||||
f2.write("documentation = [\n")
|
||||
for i in lns:
|
||||
if len(i) > 2:
|
||||
newvar = "documentation.append(_(u\"\"\"%s\"\"\"))\n" % (i[:-2])
|
||||
if "\n" == i:
|
||||
newvar = "\"\","
|
||||
elif "\n" == i[-1]:
|
||||
newvar = "_(u\"\"\"%s\"\"\"),\n" % (i[:-1])
|
||||
else:
|
||||
newvar = "documentation.append(_(u\"\"\"%s\"\"\"))\n" % (i)
|
||||
newvar = "_(u\"\"\"%s\"\"\"),\n" % (i)
|
||||
f2.write(newvar)
|
||||
f1.close()
|
||||
f2.write("]")
|
||||
f2.close()
|
||||
|
||||
|
||||
prepare_documentation_in_file("manual.md", "strings.py")
|
||||
prepare_documentation_in_file("changelog.md", "changelog.py")
|
@@ -5,16 +5,28 @@ from codecs import open as _open
|
||||
import languageHandler
|
||||
languageHandler.setLanguage("en")
|
||||
import strings
|
||||
import changelog
|
||||
|
||||
# the list of supported language codes of TW Blue
|
||||
languages = ["en", "es", "fr", "de", "it", "gl", "ja"]
|
||||
languages = ["en", "es", "fr", "de", "it", "gl", "ja", "ru", "ro", "eu", "ca", "da"]
|
||||
#"eu", "ar", "ca", "es", "fi", "fr", "gl", "hu", "it", "pl", "pt", "ru", "tr"]
|
||||
|
||||
def generate_document(language):
|
||||
def generate_document(language, document_type="documentation"):
|
||||
reload(languageHandler)
|
||||
languageHandler.setLanguage(language)
|
||||
if document_type == "documentation":
|
||||
translation_file = "twblue-documentation"
|
||||
languageHandler.setLanguage(language, translation_file)
|
||||
reload(strings)
|
||||
markdown_file = markdown.markdown("\n".join(strings.documentation[1:]), extensions=["markdown.extensions.toc"])
|
||||
title = strings.documentation[0]
|
||||
filename = "manual.html"
|
||||
elif document_type == "changelog":
|
||||
translation_file = "twblue-changelog"
|
||||
languageHandler.setLanguage(language, translation_file)
|
||||
reload(changelog)
|
||||
markdown_file = markdown.markdown("\n".join(changelog.documentation[1:]), extensions=["markdown.extensions.toc"])
|
||||
title = changelog.documentation[0]
|
||||
filename = "changelog.html"
|
||||
first_html_block = """<!doctype html>
|
||||
<html lang="%s">
|
||||
<head>
|
||||
@@ -23,12 +35,12 @@ def generate_document(language):
|
||||
</head>
|
||||
<body>
|
||||
<header><h1>%s</h1></header>
|
||||
""" % (language, strings.documentation[0], strings.documentation[0])
|
||||
""" % (language, title, title)
|
||||
first_html_block = first_html_block+ markdown_file
|
||||
first_html_block = first_html_block + "\n</body>\n</html>"
|
||||
if not os.path.exists(language):
|
||||
os.mkdir(language)
|
||||
mdfile = _open("%s/manual.html" % language, "w", encoding="utf-8")
|
||||
mdfile = _open("%s/%s" % (language, filename), "w", encoding="utf-8")
|
||||
mdfile.write(first_html_block)
|
||||
mdfile.close()
|
||||
|
||||
@@ -37,6 +49,7 @@ def create_documentation():
|
||||
for i in languages:
|
||||
print("Creating documentation for: %s" % (i,))
|
||||
generate_document(i)
|
||||
generate_document(i, "changelog")
|
||||
print("Done")
|
||||
|
||||
create_documentation()
|
@@ -117,7 +117,7 @@ def makePgettext(translations):
|
||||
return unicode(message)
|
||||
return pgettext
|
||||
|
||||
def setLanguage(lang):
|
||||
def setLanguage(lang, translation_file="twblue-documentation"):
|
||||
system = platform.system()
|
||||
global curLang
|
||||
try:
|
||||
@@ -127,10 +127,10 @@ def setLanguage(lang):
|
||||
localeName=locale.windows_locale[windowsLCID]
|
||||
else:
|
||||
localeName=locale.getlocale()[0]
|
||||
trans=gettext.translation('twblue-documentation', localedir="locales", languages=[localeName])
|
||||
trans=gettext.translation(translation_file, localedir="locales", languages=[localeName])
|
||||
curLang=localeName
|
||||
else:
|
||||
trans=gettext.translation("twblue-documentation", localedir="locales", languages=[lang])
|
||||
trans=gettext.translation(translation_file, localedir="locales", languages=[lang])
|
||||
curLang=lang
|
||||
localeChanged=False
|
||||
#Try setting Python's locale to lang
|
||||
@@ -150,7 +150,7 @@ def setLanguage(lang):
|
||||
LCID=localeNameToWindowsLCID(lang)
|
||||
ctypes.windll.kernel32.SetThreadLocale(LCID)
|
||||
except IOError:
|
||||
trans=gettext.translation("twblue-documentation",fallback=True)
|
||||
trans=gettext.translation(translation_file,fallback=True)
|
||||
curLang="en"
|
||||
trans.install(unicode=True)
|
||||
# Install our pgettext function.
|
||||
|
BIN
doc/locales/ca/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/ca/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1111
doc/locales/ca/lc_messages/twblue-changelog.po
Normal file
1111
doc/locales/ca/lc_messages/twblue-changelog.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/ca/lc_messages/twblue-documentation.mo
Normal file
BIN
doc/locales/ca/lc_messages/twblue-documentation.mo
Normal file
Binary file not shown.
2659
doc/locales/ca/lc_messages/twblue-documentation.po
Normal file
2659
doc/locales/ca/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/da/LC_MESSAGES/twblue-documentation.mo
Normal file
BIN
doc/locales/da/LC_MESSAGES/twblue-documentation.mo
Normal file
Binary file not shown.
1932
doc/locales/da/LC_MESSAGES/twblue-documentation.po
Normal file
1932
doc/locales/da/LC_MESSAGES/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/de/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/de/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1182
doc/locales/de/lc_messages/twblue-changelog.po
Normal file
1182
doc/locales/de/lc_messages/twblue-changelog.po
Normal file
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
doc/locales/es/LC_MESSAGES/twblue-changelog.mo
Normal file
BIN
doc/locales/es/LC_MESSAGES/twblue-changelog.mo
Normal file
Binary file not shown.
1162
doc/locales/es/LC_MESSAGES/twblue-changelog.po
Normal file
1162
doc/locales/es/LC_MESSAGES/twblue-changelog.po
Normal file
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
doc/locales/eu/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/eu/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1048
doc/locales/eu/lc_messages/twblue-changelog.po
Normal file
1048
doc/locales/eu/lc_messages/twblue-changelog.po
Normal file
File diff suppressed because it is too large
Load Diff
635
doc/locales/eu/lc_messages/twblue-changelog.temp.temp.po
Normal file
635
doc/locales/eu/lc_messages/twblue-changelog.temp.temp.po
Normal file
@@ -0,0 +1,635 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR ORGANIZATION
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2017-07-08 16:25+Hora de verano central (Mxico)\n"
|
||||
"PO-Revision-Date: 2017-07-15 19:44+0200\n"
|
||||
"Last-Translator: Sukil Etxenike <sukiletxe@yahoo.es>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: eu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 2.0.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: ../doc/changelog.py:3
|
||||
msgid "TWBlue Changelog"
|
||||
msgstr "TwBlueren aldaketak"
|
||||
|
||||
#: ../doc/changelog.py:4
|
||||
msgid "## changes in this version"
|
||||
msgstr "## Aldaketak bertsio honetan"
|
||||
|
||||
#: ../doc/changelog.py:5
|
||||
msgid ""
|
||||
"* TWBlue will show an error when trying to open a timeline for a suspended "
|
||||
"user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))"
|
||||
msgstr ""
|
||||
"* TWBluek errore bat erakutsiko du ezabatutako erabiltzaile batn denbora "
|
||||
"lerro bat irekitzen saiatzean . ([#128](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/128))"
|
||||
|
||||
#: ../doc/changelog.py:6
|
||||
msgid ""
|
||||
"* Removed TwUp as service as it no longer exists. ([#112](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/112))"
|
||||
msgstr ""
|
||||
"* TwUp zerbitzua kendu da, jada ez delako existitzen. ([#112](https://github."
|
||||
"com/manuelcortez/TWBlue/issues/112)) "
|
||||
|
||||
#: ../doc/changelog.py:7
|
||||
msgid ""
|
||||
"* Release audio files after uploading them. ([#130](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/130))"
|
||||
msgstr ""
|
||||
"* Orain audio fitxategiak askatzen dira igo ondoren. ([#130](https://github."
|
||||
"com/manuelcortez/TWBlue/issues/130))"
|
||||
|
||||
#: ../doc/changelog.py:8
|
||||
msgid ""
|
||||
"* Now TWBlue will use Yandex's translation services instead microsoft "
|
||||
"translator. ([#132](https://github.com/manuelcortez/TWBlue/issues/132))"
|
||||
msgstr ""
|
||||
"* Orain TWBluek Yandexen itzultzailea erabiltzen du Microsoften "
|
||||
"itzultzailearen ordez. ([#132](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/132))"
|
||||
|
||||
#: ../doc/changelog.py:9
|
||||
msgid ""
|
||||
"* SndUp users will be able to upload audio in their account by using their "
|
||||
"API Key again. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))"
|
||||
msgstr ""
|
||||
"* SndUp-en erabiltzaileek orain audioak igo ditzakete haien API kodea "
|
||||
"erabilita. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))"
|
||||
|
||||
#: ../doc/changelog.py:10
|
||||
msgid ""
|
||||
"* old tweets shouldn't be added as new items in buffers. ([#116,](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/133))"
|
||||
msgstr ""
|
||||
"* Txio zaharrak ez lirateke buferretan elementu berri gisa agertu behar. "
|
||||
"([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/133))"
|
||||
|
||||
#: ../doc/changelog.py:11
|
||||
msgid ""
|
||||
"* All mentionned users should be displayed correctly in Twishort's long "
|
||||
"tweets. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#135]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/135))"
|
||||
msgstr ""
|
||||
"* Aipatutako erabiltzaile guztiak ondo agertu beharko lirateke Tuishort-en "
|
||||
"txio luzeetan. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) "
|
||||
"([#135](https://github.com/manuelcortez/TWBlue/issues/135))"
|
||||
|
||||
#: ../doc/changelog.py:12
|
||||
msgid ""
|
||||
"* It is possible to select a language for OCR service from the extras panel, "
|
||||
"in the account settings dialogue. You can, however, set this to detect "
|
||||
"automatically. OCR should work better in languages with special characters "
|
||||
"or non-english symbols. ([#107](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/107))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:13
|
||||
msgid ""
|
||||
"* Fixed a problem with JAWS for Windows and TWBlue. Now JAWS will work "
|
||||
"normally in this update. [#100](https://github.com/manuelcortez/twblue/"
|
||||
"issues/100)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:14
|
||||
msgid "* And more ([#136,](https://github.com/manuelcortez/TWBlue/issues/136))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:15
|
||||
msgid "## Changes in version 0.90"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:16
|
||||
msgid ""
|
||||
"* Fixed a bug in long tweet parsing that was making TWBlue to disconnect the "
|
||||
"streaming API. ([#103](https://github.com/manuelcortez/TWBlue/issues/103))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:17
|
||||
msgid ""
|
||||
"* Now OCR will work in images from retweets. It fixes a bug where TWBlue was "
|
||||
"detecting images but couldn't apply OCR on them. ([#105](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/105))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:18
|
||||
msgid ""
|
||||
"* TWBlue won't try to load tweets already deleted, made with Twishort. "
|
||||
"Before, if someone posted a long tweet but deleted it in the Twishort's "
|
||||
"site, TWBlue was trying to load the tweet and it was causing problems in all "
|
||||
"the client. ([#113](https://github.com/manuelcortez/TWBlue/issues/113))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:19
|
||||
msgid ""
|
||||
"* TWBlue shows an error message when you try to view the profile of an user "
|
||||
"that does not exist or has been suspended. ([#114,](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/114) [#115](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/115))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:20
|
||||
msgid ""
|
||||
"* The spellchecker module should select the right language when is set to "
|
||||
"\"user default\". ([#117](https://github.com/manuelcortez/TWBlue/issues/117))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:21
|
||||
msgid ""
|
||||
"* Image description will be displayed in retweets too. ([#119](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/119))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:22
|
||||
msgid ""
|
||||
"* When reading a long tweet, you shouldn't read strange entities anymore. "
|
||||
"([#118](https://github.com/manuelcortez/twblue/issues/118))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:23
|
||||
msgid ""
|
||||
"* TWBlue will not try to load timelines if the user is blocking you. ([#125]"
|
||||
"(https://github.com/manuelcortez/twblue/issues/125))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:24
|
||||
msgid "## Changes in version 0.88 and 0.89"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:25
|
||||
msgid "* Fixed more issues with streams and reconnections."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:26
|
||||
msgid "* newer updates will indicate the release date in the updater."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:27
|
||||
msgid ""
|
||||
"* Changes to keystrokes are reflected in keystroke editor automatically."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:28
|
||||
msgid ""
|
||||
"* In replies with multiple users, if the mention to all checkbox is "
|
||||
"unchecked, you will see a checkbox per user so you will be able to control "
|
||||
"who will be mentioned in the reply."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:29
|
||||
msgid ""
|
||||
"* Fixed a bug that caused duplicated user mentions in replies when the tweet "
|
||||
"was made with Twishort."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:30
|
||||
msgid ""
|
||||
"* Retweets should be displayed normally again when the originating tweet is "
|
||||
"a Twishort's long tweet."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:31
|
||||
msgid ""
|
||||
"* Changed the way TWBlue saves user timelines in configuration. Now it uses "
|
||||
"user IDS instead usernames. With user IDS, if an user changes the username, "
|
||||
"TWBlue still will create his/her timeline. This was not possible by using "
|
||||
"usernames."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:32
|
||||
msgid ""
|
||||
"* Added a new setting in the account settings dialogue that makes TWBlue to "
|
||||
"show twitter usernames instead the full name."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:33
|
||||
msgid ""
|
||||
"* Added OCR in twitter pictures. There is a new item in the tweet menu that "
|
||||
"allows you to extract and display text in images. Also the keystroke alt+Win"
|
||||
"+o has been added for the same purpose from the invisible interface."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:34
|
||||
msgid "* Now TWBlue will play a sound when the focused tweet contains images."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:35
|
||||
msgid ""
|
||||
"* Your own quoted tweets will not appear in the mentions buffer anymore."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:36
|
||||
msgid ""
|
||||
"* The config file is saved in a different way, it should fix the bug where "
|
||||
"TWBlue needs to be restarted after the config folder is deleted."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:37
|
||||
msgid "* Mentioning people from friends or followers buffers works again."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:38
|
||||
msgid ""
|
||||
"* Support for proxy servers has been improved. Now TWBlue supports http, "
|
||||
"https, socks4 and socks5 proxies, with and without autentication."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:39
|
||||
msgid "## Changes in version 0.87"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:40
|
||||
msgid "* Fixed stream connection errors."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:41
|
||||
msgid ""
|
||||
"* Now TWBlue can handle properly a reply to the sender without including all "
|
||||
"other mentioned users."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:42
|
||||
msgid "* Updated translations."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:43
|
||||
msgid ""
|
||||
"* The status of the mention to all checkbox will be remembered the next time "
|
||||
"you reply to multiple users."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:44
|
||||
msgid "## Changes in version 0.86"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:45
|
||||
msgid ""
|
||||
"* Fixed a very important security issue. Now TWBlue will send tweets to "
|
||||
"twishort without using any other server."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:46
|
||||
msgid ""
|
||||
"* When you add a comment to a tweet, it will be sent as a quoted tweet, even "
|
||||
"if your reply plus the original tweet is not exceeding 140 characters."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:47
|
||||
msgid ""
|
||||
"* Updated windows 10 keymap for reflecting changes made in the last windows "
|
||||
"10 build."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:48
|
||||
msgid "* Added last changes in the twitter API."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:49
|
||||
msgid ""
|
||||
"* When replying, it will not show the twitter username in the text box. When "
|
||||
"you send the tweet, the username will be added automatically."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:50
|
||||
msgid ""
|
||||
"* When replying to multiple users, you'll have a checkbox instead a button "
|
||||
"for mentioning all people. If this is checked, twitter usernames will be "
|
||||
"added automatically when you send your reply."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:51
|
||||
msgid "## Changes in version 0.85"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:52
|
||||
msgid "* Long and quoted tweets should be displayed properly In lists."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:53
|
||||
msgid "* The connection should be more stable."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:54
|
||||
msgid "* Added an autostart option in the global settings dialogue."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:55
|
||||
msgid "* Updated translation."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:56
|
||||
msgid "* Updated russian documentation."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:57
|
||||
msgid "* Tweets in cached database should be loaded properly."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:58
|
||||
msgid "* Added some missed dictionaries for spelling correction."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:59
|
||||
msgid ""
|
||||
"* Timelines, lists and other buffer should be created in the right order at "
|
||||
"startup."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:60
|
||||
msgid "## Changes in version 0.84 "
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:61
|
||||
msgid "* More improvements in quoted and long tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:62
|
||||
msgid ""
|
||||
"* Updated translations: Russian, Italian, French, Romanian, Galician and "
|
||||
"Finnish."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:63
|
||||
msgid ""
|
||||
"* Improvements in the audio uploader module: Now it can handle audio with "
|
||||
"non-english characters."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:64
|
||||
msgid ""
|
||||
"* the title of the window should be updated properly when spellcheck, "
|
||||
"translate or shorten/unshorten URL buttons are pressed."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:65
|
||||
msgid ""
|
||||
"* the bug that changes the selected tweet in the home timeline shouldn't be "
|
||||
"happening so often."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:66
|
||||
msgid "## Changes in version 0.82 and 0.83"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:67
|
||||
msgid ""
|
||||
"* If the tweet source (client) is an application with unicode characters "
|
||||
"(example: российская газета) it will not break the tweet displayer."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:68
|
||||
msgid ""
|
||||
"* Added a new field for image description in tweet displayer. When "
|
||||
"available, it will show description for images posted in tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:69
|
||||
msgid ""
|
||||
"* users can add image descriptions to their photos. When uploading an image, "
|
||||
"a dialog will show for asking a description."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:70
|
||||
msgid "* Redesigned upload image dialog."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:71
|
||||
msgid "* Fixed photo uploads when posting tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:72
|
||||
msgid ""
|
||||
"* When getting tweets for a conversation, ignores deleted tweets or some "
|
||||
"errors, now TWBlue will try to get as much tweets as possible, even if some "
|
||||
"of these are no longer available."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:73
|
||||
msgid "* Added audio playback from soundcloud."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:74
|
||||
msgid "* Now the session mute option don't makes the screen reader speaks."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:75
|
||||
msgid "* Fixed the direct message dialog. Now it should be displayed properly."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:76
|
||||
msgid ""
|
||||
"* when a tweet is deleted in twitter, TWBlue should reflect this change and "
|
||||
"delete that tweet in every buffer it is displayed."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:77
|
||||
msgid ""
|
||||
"* If your session is broken, TWBlue will be able to remove it automatically "
|
||||
"instead just crashing."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:78
|
||||
msgid "* audio uploader should display the current progress."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:79
|
||||
msgid ""
|
||||
"* users can disable the check for updates feature at startup from the "
|
||||
"general tab, in the global settings dialogue."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:80
|
||||
msgid ""
|
||||
"* The invisible interface and the window should be synchronized when the "
|
||||
"client reconnects."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:81
|
||||
msgid "* The documentation option in the systray icon should be enabled."
|
||||
msgstr ""
|
||||
"* Sistemaren ikonoetako dokumentazioa ikusteko aukera erabilgarria egon "
|
||||
"beharko litzateke."
|
||||
|
||||
#: ../doc/changelog.py:82
|
||||
msgid ""
|
||||
"* In trending buffers, you can press enter for posting a tweet about the "
|
||||
"focused trend."
|
||||
msgstr ""
|
||||
"* Tendentzien buferretan, enter saka dezakezu enfokatutako tendentziari "
|
||||
"buruz txio bat argitaratzeko."
|
||||
|
||||
#: ../doc/changelog.py:83
|
||||
msgid ""
|
||||
"* Updated russian documentation and main program interface (thanks to "
|
||||
"Natalia Hedlund (Наталья Хедлунд), [@lifestar_n](https://twitter.com/"
|
||||
"lifestar_n) in twitter)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:84
|
||||
msgid "* updated translations."
|
||||
msgstr "* Itzulpenak eguneratuak izan dira."
|
||||
|
||||
#: ../doc/changelog.py:85
|
||||
msgid "## Changes in Version 0.81"
|
||||
msgstr "## 0.81bertsioaren aldaketak"
|
||||
|
||||
#: ../doc/changelog.py:86
|
||||
msgid "* Updated translations"
|
||||
msgstr "* Itzulpenak eguneratuak izan dira"
|
||||
|
||||
#: ../doc/changelog.py:87
|
||||
msgid ""
|
||||
"* The updater module has received some improvements. Now it includes a "
|
||||
"Mirror URL for checking updates if the main URL is not available at the "
|
||||
"moment. If something is wrong and both locations don't work, the program "
|
||||
"will start anyway."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:88
|
||||
msgid "* some GUI elements now use keyboard shortcuts for common actions."
|
||||
msgstr ""
|
||||
"* Interfaze grafikoko elementu batzuek lasterbide teklak dituzte ohiko "
|
||||
"ekintzetarako."
|
||||
|
||||
#: ../doc/changelog.py:89
|
||||
msgid "* fixed a bug in the geolocation dialog."
|
||||
msgstr "* Errore bat konpondu da geottxioen elkarrizketa-koadroan."
|
||||
|
||||
#: ../doc/changelog.py:90
|
||||
msgid "* the chicken nugget keymap should work properly."
|
||||
msgstr "* Chicken Nuggetaren teklatu-mapak ondo funtzionatu beharko luke."
|
||||
|
||||
#: ../doc/changelog.py:91
|
||||
msgid ""
|
||||
"* Added a new soundpack to the default installation of TWBlue, thanks to "
|
||||
"[@Deng90](https://twitter.com/deng90)"
|
||||
msgstr ""
|
||||
"* Soinu pakete berri bat gehitu zaio TWBlueren lehenetsitako instalazioari, "
|
||||
"eskerrak [@Deng90](https://twitter.com/deng90)"
|
||||
|
||||
#: ../doc/changelog.py:92
|
||||
msgid "* Now the changelog is written in an html File."
|
||||
msgstr "* Orain aldaketen fitxategia html fitxategi bat da."
|
||||
|
||||
#: ../doc/changelog.py:93
|
||||
msgid ""
|
||||
"* Added some missed dictionaries in last version for the spell checking "
|
||||
"feature."
|
||||
msgstr ""
|
||||
"* Aurreko bertsioan falta ziren hiztegi batzuk gehitu dira, zuzentzaleak "
|
||||
"erabiltzen dituenak."
|
||||
|
||||
#: ../doc/changelog.py:94
|
||||
msgid ""
|
||||
"* Trimmed the beginnings of the sounds in the default soundpack. Thanks to "
|
||||
"[@masonasons](https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
"* ehenetsitako soiinu paketearen soinuen hasierak moztu dira. Eskerrak "
|
||||
"[@masonasons-i.](https://github.com/masonasons)"
|
||||
|
||||
#: ../doc/changelog.py:95
|
||||
msgid ""
|
||||
"* Added Opus support for sound playback in TWBlue. Thanks to [@masonasons]"
|
||||
"(https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
"* Opus formatua erreproduzi daiteke, eskerrak [@masonasons-i.](https://"
|
||||
"github.com/masonasons)."
|
||||
|
||||
#: ../doc/changelog.py:96
|
||||
msgid ""
|
||||
"* Added a source field in view tweet dialogue. Thanks to [@masonasons]"
|
||||
"(https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
"* \"Iturria\" gehitu zaio txioa erakusteko elkarrizketa koadroari. Eskerrak "
|
||||
"[@masonasons-i.](https://github.com/masonasons)"
|
||||
|
||||
#: ../doc/changelog.py:97
|
||||
msgid ""
|
||||
"* You can load previous items in followers and friend buffers for others."
|
||||
msgstr ""
|
||||
"* Aurreko elementuak karga ditzakezu besteen jarraitzaile eta lagunen "
|
||||
"buferretan."
|
||||
|
||||
#: ../doc/changelog.py:98
|
||||
msgid ""
|
||||
"* The Spell Checker dialogue should not display an error message when you "
|
||||
"have set \"default language\" in the global settings dialogue if your "
|
||||
"language is supported [#168](http://twblue.es/bugs/view.php?id=168)"
|
||||
msgstr ""
|
||||
"* Zuzentzailearen elkarrizketa-koadroak ez luke errorerik erakutsi behar "
|
||||
"aukera globaletan \"Lehenetsitako hizkuntza\" aukeratua dagoenean eta zure "
|
||||
"hizkuntza erabilgarria denean [#168](http://twblue.es/bugs/view.php?id=168)"
|
||||
|
||||
#: ../doc/changelog.py:99
|
||||
msgid "* Updated romanian translation."
|
||||
msgstr "* Errumaniera itzulpena eguneratua izan da."
|
||||
|
||||
#: ../doc/changelog.py:100
|
||||
msgid "* Some code cleanups."
|
||||
msgstr "* Kode garbiketa batzuk."
|
||||
|
||||
#: ../doc/changelog.py:101
|
||||
msgid "* The bug reports feature is fully operational again."
|
||||
msgstr "* Arazoez informatzeko ezaugarriak berriz funtzionaten du"
|
||||
|
||||
#: ../doc/changelog.py:102
|
||||
msgid ""
|
||||
"* TWBlue should work again for users that contains special characters in "
|
||||
"windows usernames."
|
||||
msgstr ""
|
||||
"* TWBluek berriz funtzionatu beharko luke haien Windows erabiltzaile-"
|
||||
"izenetan karaktere bereziak dituzten erabiltzaileentzat."
|
||||
|
||||
#: ../doc/changelog.py:103
|
||||
msgid "* Added more options for the tweet searches."
|
||||
msgstr "* Txioen bilaketarako aukera gehiago gehitu dira."
|
||||
|
||||
#: ../doc/changelog.py:104
|
||||
msgid "* Added play_audio to the keymap editor."
|
||||
msgstr "* play_audio teklatu-mapen editorera gehitua izan da."
|
||||
|
||||
#: ../doc/changelog.py:105
|
||||
msgid "* Windows key is no longer required in the keymap editor"
|
||||
msgstr "* Windows tekla ez da jada bearrezkoa teklatu-mapen editorean."
|
||||
|
||||
#: ../doc/changelog.py:106
|
||||
msgid "* Switched to the Microsoft translator."
|
||||
msgstr "* Microsoften itzultzailera aldatu gara."
|
||||
|
||||
#: ../doc/changelog.py:107
|
||||
msgid ""
|
||||
"* You can update the current buffer by pressing ctrl+win+shift+u in the "
|
||||
"default keymap or in the buffer menu."
|
||||
msgstr ""
|
||||
"* Enfokatutako uferra ktrl+shift+win+u sakatuta (lehenetsitako teklatu-"
|
||||
"mapak) edo menuan eguneratu daitezke."
|
||||
|
||||
#: ../doc/changelog.py:108
|
||||
msgid "* Changed some keystrokes in the windows 10 default keymap"
|
||||
msgstr ""
|
||||
"* Lasterbide-tekla batzuk aldatuak izan dira Windows 10erako teklatu-mapan."
|
||||
|
||||
#: ../doc/changelog.py:109
|
||||
msgid "* New followers and friends buffer for user timelines."
|
||||
msgstr ""
|
||||
"* Jarraitzaileen eta lagunen bufer berria erabiltzaileen denbora-lerroentzat."
|
||||
|
||||
#: ../doc/changelog.py:110
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc/changelog.py:111
|
||||
msgid "Copyright © 2014-2017, Manuel Cortez."
|
||||
msgstr "Copyright © 2014-2017, Manuel Cortez."
|
BIN
doc/locales/eu/lc_messages/twblue-documentation.mo
Normal file
BIN
doc/locales/eu/lc_messages/twblue-documentation.mo
Normal file
Binary file not shown.
1879
doc/locales/eu/lc_messages/twblue-documentation.po
Normal file
1879
doc/locales/eu/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,184 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<title>Liste des Changements</title>
|
||||
<style type="text/css">code{white-space: pre;}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<h1 class="title">Liste des Changements</h1>
|
||||
</div>
|
||||
<h1 id="attention">Attention !</h1>
|
||||
<p>Avant de poursuivre l'essai du programme, il est considéré que c'est une version de développement. Plus précisément, la version 0.42. Cela signifie qu'il n'est pas seulement possible de trouver des erreurs, mais que vous les trouverez. L'idée est de signaler le plus d'erreurs possibles afin qu'ils puisse être résolus pour les prochaines alphas.</p>
|
||||
<p>Voici la liste des changements dans le programme. Si vous voulez lire comment l'utiliser, <a href="manual.html">voir ce document.</a> Si vous voyez un lien avec un signe dièse (#) et un code qui commence par plusieurs numéro, vous voyez une erreur qui a été signalé dans le Système de suivi d'incidences. N'hésitez pas à publier vos propres erreurs et demandes d'améliorations et nouvelles fonctionnalités à travers de cet outils, disponible dans le menu Aide de TW Blue.</p>
|
||||
<h2 id="changements-ajouter-dans-cette-nouvelle-version">Changements ajouter dans cette nouvelle version</h2>
|
||||
<ul>
|
||||
<li>Correction d'une erreur qu'elle ne permettait pas d'afficher les listes avec des accents ou des caractères spéciaux dans un tampon.</li>
|
||||
<li>Maintenant TW blue ne devrait pas actualiser les Tweets soudainement.</li>
|
||||
<li>Maintenant TW blue supporte l'option "muet" de Twitter. Lorsque cette option est activée pour un utilisateur, vous ne pouvez pas voir ces tweets ni ces mentions, mais vous le suivez toujours, et vous serez en mesure de être en contact avec lui à travers de message direct. Ceci est différent de la fonction Bloquer ou Ne pas suivre, avec cette option l'utilisateur sera pas au courant que vous avez activée l'option muet. sette option se trouvent dans la boîte de dialogue des actions utilisateur de l'interface invisible, ou dans le menu Utilisateur de l'interface graphique.</li>
|
||||
<li>Un onglet "Audio" a été ajoutée dans la boîte de dialogue de configuration qui vous permet de sélectionner les périphériques d'entrée et de sortie, régler le volume et activer/ désactiver tous les sons pour TW Blue. D'autres options ont été déplacées depuis l'onglet "Général" vers l'onglet "Audio".</li>
|
||||
<li>Le fichier de configuration a été repensé. La plupart des options devront être reconfigurés à nouveau.</li>
|
||||
<li>Vous pouvez maintenant désactiver SAPI5 afin qu'il n'intervienne pas s'il n'y a aucun lecteur d'écran supporté en cours d'exécution.</li>
|
||||
<li>Dans l'onglet Général, Vous pouvez modifier manuellement la langue. Tw Blue reqiere redémarré.</li>
|
||||
<li>Maintenant il y a une nouvelle boîte de dialogue où vous pouvez apprendre les différents sons de TW Blue.</li>
|
||||
<li>Il est possible maintenant de désactiver le son et notification d'un tampon. Le reste du client fonctionnera correctement. Appuyez sur Contrôle+Windows+Maj+m (interface invisible) ou le sélectionnez depuis le menu "Tampon" (interface visible) pour basculer entre cette fonctionnalité.</li>
|
||||
<li>Vous pouvez maintenant rechercher par utilisateur et par tweets. Les recherches de tweets sont sauvegardées dans la configuration, tandis que ceux des utilisateurs seront supprimer lors de la fermeture. Appuyez sur Ctrl+Windows+- (tiret) (interface invisible) ou le sélectionnez depuis le menu "Application" (interface visible).</li>
|
||||
<li>Vous pouvez ouvrir le tampon pour voir les favoris d'un utilisateur dans le menu "Utilisateur".</li>
|
||||
<li>Maintenant avec Contrôle+Windows+Maj+Flèche Haut / Bas (dans l'interface graphique) et Contrôle+Windows+Flèche Haut / Bas (dans l'interface invisible), vous pouvez aller au tweet précédent ou suivant dans la conversation. Pour que cela fonctionne les tweets de la conversation doivent être dans la chronologie principale.</li>
|
||||
<li>Au cours d'un enregistrement audio pour ajouter, maintenant vous pouvez mettre en pause ou reprendre l'enregistrement pour sauter des parties qui peuvent générer un audio très long.</li>
|
||||
<li>Il est maintenant possible de charger de l'audio vers Dropbox. Pour configurer le service aller dans l'onglet "Services audio" dans la boîte de dialogue de Configuration.</li>
|
||||
<li>Maintenant que vous pouvez charger de l'audio vers Dropbox, dans la boîte de dialogue pour ajouter un audio vous pouvez sélectionner le service auquelle vous souhaitez charger.</li>
|
||||
<li>Maintenant il comprend une boîte de dialogue pour la correction orthographique pour les tweets ou messages. Les langues actuellement disponibles sont: Espagnol, Anglais, Portugais, Russe et Polonais. La langue sera sélectionnée automatiquement selon la configuration de TW Blue.</li>
|
||||
<li>Ajouter la lecture automatique des Tweets pour un tampon. L'activation de cette fonctionnalité peut faire que TW Blue lit automatiquement les tweets lors de l'arrivée dans les tampons qui ont cette option activée. Appuyez sur Contrôle+Windows+e pour basculer entre cette fonction.</li>
|
||||
<li>Dans la boîte de dialogue de Configuration maintenant vous pouvez spécifiez si vous voulez que TW Blue démarre avec l'interface invisible.</li>
|
||||
<li>Les URLs s'affiche dans leur version originale. Uniquement les photos de Twitter ils apparaissent toujours comme réduites, et celles qui ont été réduites manuellement avant de les envoyer dans un tweet.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.40">Changements ajouter dans la version 0.40</h2>
|
||||
<ul>
|
||||
<li>Vous pouvez changer entre les différents paquets de sons utilisé par TW Blue et de créer vos propres sons. Chaque paquet doit être dans un répertoire par séparé dans le dossier sounds. Pour modifier le paquet de sons vous pouvez le sélectionner dans la boîte de dialogue de configuration.</li>
|
||||
<li>Les fichiers audio doivent être au format OGG.</li>
|
||||
<li>TW Blue doit être maintenant en mesure de fermer correctement.</li>
|
||||
<li>L'heure est écrit tenant en compte le format 12 heures (AM /P M).</li>
|
||||
<li>L'heure est écrit d'accord au fuseau horaire que vous avez défini dans votre compte Twitter.</li>
|
||||
<li>Ajout de nouvelles traductions en Portugais, Polonais et Russe. Merci les gars !</li>
|
||||
<li>TW Blue supprime de la configuration la chronologie de l'utilisateur qui ont changé leur noms ou supprimer leurs comptes Twitter.</li>
|
||||
<li>Maintenant est gérés la grande majorité des événements dans Twitter avec le tampon des événements.</li>
|
||||
<li>Il est maintenant possible de voir le texte des événements avec Contrôle+Maj+V (GUI) ou Contrôle+Windows+V (interface invisible).</li>
|
||||
<li>Gestionnaire de listes: Vous pouvez créer, modifier, supprimer, afficher une liste comme tampon dans TW Blue, ajouter et supprimer des membres d'une liste.</li>
|
||||
<li>Maintenant, si au démarrage de TW Blue il tente de charger une chronologie qui n'existe pas, automatiquement il la supprime de la configuration et il continue à charger normalement.</li>
|
||||
<li>Seuls seront chargées jusqu'à 400 following et followers pour éviter les problèmes avec l'API. Elle sera corrigée dans les versions futures.</li>
|
||||
<li>Pour le mode invisible, il inclus des raccourcis pour réentendre le tweet sur lequel vous êtes (Contrôle+Windows+espace) et pour copier le message dans le presse-papiers (Contrôle+Windows+c).</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.38">Changements ajouter dans la version 0.38</h2>
|
||||
<ul>
|
||||
<li>Correction d'une erreur qui empêchait en donnant l'ordre de fermer.</li>
|
||||
<li>Maintenant les tweets ne finissent pas par un point obligatoirement. Si le programme détecte que le tweet se termine par une lettre ou un chiffre, il va placez un point automatiquement. Si ce n'est pas le cas, il va laisser le texte tel qu'il est.</li>
|
||||
<li>Il est maintenant possible de charger des images aux tweets et réponses. Veuillez noter que la taille des images est mis en place par twitter.</li>
|
||||
<li>Pour se déplacer vers la gauche ou vers la droite en utilisant le mode invisible, maintenant il s'annonce uniquement des informations de la position dans la liste d'éléments.</li>
|
||||
<li>TW Blue devrait maintenant fonctionner pour Windows XP au moment de la demande d'autorisation pour l'application.</li>
|
||||
<li>Ajouté une nouvelle option dans la boîte de dialogue de configuration qui vous permet de revenir à vos tampons. Cela signifie que vous pouvez choisir si vous voulez voir les tweets comme jusqu'à maintenant, ou que les plus nouveaux soit placés vers le haut et les anciens vers le bas.</li>
|
||||
<li>Maintenant les photos peuvent être chargées aux profil de Twitter, disponible à partir de la boîte de dialogue Mettre à jour votre profil.</li>
|
||||
<li>Ajouté un tampon d'événements, où ils sont stockés pour le moment quelques événements qui se déroulent dans Twitter, comme suivre ou faire que quelqu'un vous suivent, marquer un favori, que un de vos tweet soit marqué comme favoris, Etc. Vous pouvez activer et désactiver ce tampon de la boîte de dialogue de configuration.</li>
|
||||
<li>Maintenant, vous pouvez supprimer des chronologies déjà créé qui ne contiennent pas des tweets, et il ne sera pas permit de créer des chronologies pour les utilisateurs sans tweets.</li>
|
||||
<li>L'interface de l'application est traduisible. Maintenant, n'importe quel utilisateur peut faire leurs propres traductions en différentes langues.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.36">Changements ajouter dans la version 0.36</h2>
|
||||
<ul>
|
||||
<li>Les utilisateurs brésiliens pourront voir quelques messages en Portugais. (Usuários brasileiros poderão ver algumas mensagens em Português).</li>
|
||||
<li>Correction d'une erreur qui fait que quelques sons ils peuvent s'entendre et d'autres non. Maintenant, ils devraient s'entendre tous.</li>
|
||||
<li>La réconnexion aussi a reçu une correction, parce que parfois, il s'effectué de façon incorrecte et il devait s'ouvrir à nouveau l'application.</li>
|
||||
<li>Maintenant TW Blue permet de supprimer uniquement les chronologies avec la commande correspondante. Avant il s'affichées la boîte de dialogue peu importe dans quel tampon vous aviez été.</li>
|
||||
<li>Vous êtes en mesure à nouveau de voir les détails des utilisateurs avec la touche Entrée étant dans le tampon pour les following ou followers.</li>
|
||||
<li>À partir de cette version, il n'y a pas de support pour les bases de données.</li>
|
||||
<li>Vous entendrez une notification vocale lorsque quelqu'un marque comme favori un de vos tweets.</li>
|
||||
<li>Les following et followers sont déjà mis à jour.</li>
|
||||
<li>lorsque vous suivez quelqu'un, il ne se produit aucune erreur Si ne sont pas affichées les following. C'est la même chose avec les followers.</li>
|
||||
<li>Vous pouvez effacer un tampon en appuyant sur Maj+Supprimer dans la fenêtre visible, et Contrôle+Windows+Maj+Supprimer dans la fenêtre invisible. Ceci va vider tous les tweets dans le tampon courant.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.35">Changements ajouter dans la version 0.35</h2>
|
||||
<ul>
|
||||
<li>Il existe un site Web officiel pour le programme, aller sur <a href="http://twblue.com.mx">twblue.com.mx.</a> Dans cet espace, vous trouverez le système de suivi d'erreurs, le blog avec les dernières nouvelles, et la dernière version disponible.</li>
|
||||
<li>TW Blue il annonce lorsque vous êtes mentionné, et lorsque vous obtenez un message direct.</li>
|
||||
<li>Jaws il ne dit pas le raccourci clavier qui est appuyé dans le mode invisible. <a href="http://twblue.a12x.net/errores/view.php?id=11">#11</a></li>
|
||||
<li>Dans le mode invisible, les commandes Contrôle+Windows+Origine, Contrôle+Windows+Fin, Contrôle+Windows+Page Suivante et Contrôle+Windows+Page Précédente va aller vers le haut de la liste, vers la fin, 20 éléments vers le bas et 20 éléments vers le haut respectivement. <a href="http://twblue.a12x.net/errores/view.php?id=10">#10,</a> <a href="http://twblue.a12x.net/errores/view.php?id=21">#21,</a> <a href="http://twblue.a12x.net/errores/view.php?id=22">#22</a></li>
|
||||
<li>Maintenant vous pouvez lire l'audios d'Audiobook.</li>
|
||||
<li>Maintenant, le flux doit être connecté une fois que la machine revient d'une suspension.</li>
|
||||
<li>Il est possible d'enregistrer de l'audio ou charger fichiers sur SndUp.net. Si vous êtes inscrit dans cette page, vous pouvez mettre dans la configuration votre API Key pour que les fichiers se charge sur votre nom. Vous pouvez charger des fichiers Wav, OGG et MP3. Les fichiers wav ils seront récodifier en OGG.</li>
|
||||
<li>Si vous n'utilisez aucun lecteur d'écran, quelques actions de TW blue utilisent la synthèse vocale SAPI5.</li>
|
||||
<li>Il existe une version pour les architectures de 64 Bits. Merci à <span class="citation">[@jmdaweb]</span>(https://twitter.com/jmdaweb) pour prendre le travail de faire fonctionner l'application dans cette architecture et la préparez pour sa distribution.</li>
|
||||
<li>Changement dans les sons du client. Merci à <span class="citation">[@guilevi_es]</span>(https://twitter.com/guilevi_es) pour la collaboration avec le paquet de sons.</li>
|
||||
<li>Quelques messages du programme peuvent être traduits. Dans des futures versions la totalité de l'interface sera internationalisé.</li>
|
||||
<li>Et quelques correction d'erreur en plus (<a href="http://twblue.com.mx/errores/view.php?id=5">#5,</a> <a href="http://twblue.com.mx/errores/view.php?id=7">#7,</a> <a href="http://twblue.com.mx/errores/view.php?id=8">#8,</a> <a href="http://twblue.com.mx/errores/view.php?id=9">#9,</a> <a href="http://twblue.com.mx/errores/view.php?id=12">#12,</a>)</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.3">Changements ajouter dans la version 0.3</h2>
|
||||
<ul>
|
||||
<li>Maintenant vous pouvez mettre à jour votre profil à partir de TW Blue. <a href="http://twblue.a12x.net/issues/view.php?id=19">#19</a></li>
|
||||
<li>Maintenant vous pouvez créer les chronologies à nouveau et ils ne donne pas de problèmes. <a href="http://twblue.a12x.net/issues/view.php?id=24">#24</a></li>
|
||||
<li>Maintenant les fichiers d'erreur sont enregistrés dans le répertoire "logs".</li>
|
||||
<li>Lorsque vous créez une chronologie, il sera mis à jour en temps réel dès le début au lieu de le mettre à jour toutes les 2 minutes.</li>
|
||||
<li>Vous pouvez maintenant demander davantage d'appels à l'API qui fonctionnera pour obtenir 200 tweets chaqu'une. Un appel est équivalent à 200 éléments de la liste principal, mentions, messages directs, favoris et chronologies. Dans le fichier de configuration Vous pouvez modifier l'option dans [twitter]/max_api_calls. Il est recommandé de ne pas demander à Twitter plus de 2 appels à l'API, ou sinon vous arriverez bientôt à la limite des appels autorisés et l'application échouera.</li>
|
||||
<li>Lorsque vous répondez à un Tweet, c'est envoyé comme réponse au même et pas comme s'il s'agissait d'un nouveau tweet.</li>
|
||||
<li>L'ancien système de rapport d'erreurs il a dû être changée. À partir de cette version, vous pouvez signaler des erreurs, directement depuis l'application. L'option Signaler une erreur ouvrira une boîte de dialogue qui vous demande des détails sur votre erreur et il va envoyer le rapport automatiquement.</li>
|
||||
<li>Ils sont déjà supprimées les following lorsque ils ne suivent pas un utilisateur.</li>
|
||||
<li>Aussi les favoris, au moment de retirer un tweet comme favori, il exécutent le changement.</li>
|
||||
<li>Ajouté une boîte de dialogue de configuration qui permet de contrôler le nombre d'appels à l'API à exécuter, si oui ou non utiliser des bases de données, et masquer ou afficher les listes de following, followers et favoris.</li>
|
||||
<li>En mentionnant les tweets, les guillemets qui entourent le message maintenant sont séparés par un espace de la dernière lettre. Il en est ainsi parce qu'avant, lorsque il y avait une URL, il causé que les guillemets facent partie de l'URL en envoyant vers des sites inexistants.</li>
|
||||
<li>Améliorations avec quelques chronologies. Vous pouvez maintenant enregistrer une chronologie sans problèmes. Il ne devrait pas faire des erreurs.</li>
|
||||
<li>Maintenant, l'audio est joué seulement avec Contrôle+Entrée, tandis que l'URL s'ouvrira avec la touche Entrée.</li>
|
||||
<li>Le flux tentera de se reconnecter à l'échec de la connexion internet.</li>
|
||||
<li>Maintenant depuis les followers et following on peut mentionner un utilisateur.</li>
|
||||
<li>Maintenant il est fournit un mode "invisible". Sous le menu "Application", dans l'option "Masquer la fenêtre" ou en appuyant sur Contrôle+M. Pour afficher la fenêtre à nouveau appuyez sur Contrôle+Windows+M.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.025">Changements ajouter dans la version 0.025</h2>
|
||||
<p>Veuillez noter que lorsque un utilisateur vous ne sui pas ou vous ne suivez pas quelqu'un d'autre, la liste des following ou des followers il ne sera pas mis à jour pour le moment. Lorsque vous redémarrez le programme, si les informations son correctes ils seront afficher.</p>
|
||||
<ul>
|
||||
<li>Correction d'une erreur qui rendait impossible de fermer l'application jusqu'à ce que le programme a annoncé qu'elle était prête. <a href="http://twblue.a12x.net/issues/view.php?id=17">#17</a> y <a href="http://twblue.a12x.net/issues/view.php?id=18">#18</a></li>
|
||||
<li>Changé la façon d'organiser les chronologies dans la configuration. Il est nécessaire de les recréer.</li>
|
||||
<li>Maintenant, vous pouvez envoyer un message direct aux following et followers en utilisant le bouton. Cela ne fonctionnait pas dans la version 0.02 et 0.021.</li>
|
||||
<li>Vous pouvez augmenter et diminuer le volume depuis la liste des followers et following.</li>
|
||||
<li>Dans la boîte de dialogue pour écrire un tweet peut être maintenant traduit le message à l'aide de Google Traductor. Une boîte de dialogue s'affiche pour demander les langues source et destination.</li>
|
||||
<li>Le menu fichier contient l'option Sortir.</li>
|
||||
<li>À partir de cette version ils se jouera uniquement les fichiers de'audio en appuyant sur Entrée s'ils contienne le hashtag #audio.</li>
|
||||
<li>Vous pouvez essayer de jouer une URL quelconque sans qui comporte le hashtag #audio en appuyant sur Contrôle+Entrée. Cette commande va tenter de reproduire la première URL trouvée.</li>
|
||||
<li>A été amélioré le moteur de recherche d'URLS, en rendant plus rapide la fonction et maintenant, devrait être capable de détecter toutes les URLS. <a href="http://twblue.a12x.net/issues/view.php?id=21">#21</a></li>
|
||||
<li>Maintenant, la boîte de dialogue qui s'affiche pour sélectionner l'utilisateur que vous souhaitez afficher les détails permet en plus de le sélectionner dans une liste, écrire le nom de l'utilisateur que vous souhaitez.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-0.02-et-0.021">Changements ajouter dans la version 0.02 et 0.021</h2>
|
||||
<ul>
|
||||
<li>Le message qui se reproduicé lorsque vous suivez un utilisateur maintenant dit "maintenant vous suivez à x utilisateur" en lieu de "maintenant vous ne suivez pas à x utilisateur". <a href="http://twblue.a12x.net/issues/view.php?id=5">#5</a></li>
|
||||
<li>Lorsque vous sorter une boîte de dialogue vous demandera si vous voulez le faire. Maintenant vous sorter d'une façon beaucoup plus proprement du programme, empêchant plusieurs erreurs pendant la fermeture.</li>
|
||||
<li>Changement des sons pour les dm entrant et sortant. Merci à <span class="citation">[@marcedsosa]</span>(https://twitter.com/marcedsosa) pour les nouveaux sons.</li>
|
||||
<li>Le Nom d'utilisateur de twitter il se lit dans le titre de la fenêtre.</li>
|
||||
<li>Les sons du programme aussi peuvent lire le volume depuis la configuration. Le module de sons devrait prendre moins de temps pour reproduire plusieurs des sons de l'application.</li>
|
||||
<li>Les actions d'augmenter et de diminuer le volume ils reproduisent un son indiquant que tant forts ça sonne.</li>
|
||||
<li>Il n'affichent plus les mentions de personnes qui ne vous suivent pas dans votre chronologie principal. <a href="http://twblue.a12x.net/issues/view.php?id=1">#1</a></li>
|
||||
<li>Vous pouvez maintenant supprimer les tweets et les messages directs. Vous ne pouvez supprimer que les tweets que vous avez écrit.</li>
|
||||
<li>Correction d'une erreur qui empêchait de charger correctement les différentes listes si dans quelques une d'elles ils n'y avait aucun tweet, utilisateur ou message direct. Ceci affectant surtout les comptes avec 0 favoris, 0 tweets, 0 envoyés ou 0 messages directes. <a href="http://twblue.a12x.net/issues/view.php?id=2">#2</a></li>
|
||||
<li>Maintenant à chaque fois qu'une nouvelle version est disponible, vous serez informé de cela. Si vous avez accès pour le télécharger, le programme va télécharger et copier tout ce dont vous avez besoin.</li>
|
||||
<li>Maintenant, vous pouvez obtenir la liste complète des following et followers.</li>
|
||||
<li>Ajouter la date du dernier tweet des followers et following.</li>
|
||||
<li>Les following et followers sont maintenant mis à jour en temps réel. (ToDo: Les following et followers ils ne montrent pas la date de ces dernier tweet lorsque une mise à jour est faite en temps réel. Ils le font lors du rechargement une fois redémarrée l'application).</li>
|
||||
<li>L'ordre des onglets il a changé. Maintenant ils sont classés en commençant par Principal, Mentions, Messages directs et Envoyés.</li>
|
||||
<li>Maintenant dans la liste de tweets envoyés les messages directs sont affichés lorsque le flux est chargé pour la première fois. Ceci ne était pas le cas et si l'utilisateur envoyés un DM à partir d'un autre client lorsque Tw Blue n'était pas ouvert, lors de l'ouverture de l'application il ne montré pas la dite DM. <a href="http://twblue.a12x.net/issues/view.php?id=8">#8</a></li>
|
||||
<li>Con Control+A, se puede seleccionar todo el texto de un mensaje. Funciona con Jaws y NVDA.</li>
|
||||
<li>Il y a des raccourcis clavier (détaillés dans la <a href="leeme.html">Documentation)</a> pour un grand nombre d'actions qui peut faire le programme.</li>
|
||||
<li>Maintenant TW Blue détecte plus d'audio dans les URLS qui vienne dans les retweets, et des audio partagé à partir de Dropbox. <a href="http://twblue.a12x.net/issues/view.php?id=3">#3</a></li>
|
||||
<li>Inclut la documentation pour l'application et les crédits.</li>
|
||||
<li>Si la connexion internet s'arrête de fonctionner, le flux va essayer de se reconnecter pendant 30 minutes.</li>
|
||||
<li>On a écrit un document qui détaille comment utiliser le programme.</li>
|
||||
<li>Il a été ouvert le <a href="http://twblue.a12x.net/issues/">Système de suivi d'incidents</a> où les utilisateurs peuvent signaler des erreurs et si vous le souhaitez, vous pouvez apporter de nouvelles idées pour le développement de l'application. Il existe un accès direct au formulaire réservée au rapport d'incidents dans le menu Aide.</li>
|
||||
<li>Il y a maintenant des crédits à partir de la version actuelle.</li>
|
||||
<li>Ajout d'une option dans menu Utilisateur pour afficher les détails. Cela fonctionne également si vous appuyez sur entrer sur un following ou follower.</li>
|
||||
</ul>
|
||||
<h2 id="changements-ajouter-dans-la-version-prealpha1">Changements ajouter dans la version Prealpha1</h2>
|
||||
<p>Veuillez noter que dans cette version les following et les followers ne sont pas mis à jour automatiquement. Cela s'ajoutera à une autre version. Vous ne pouvez pas également supprimer des tweet, ou DM. Tous les tweets, messages directs, mentions, favoris, followers et following lors de la mise à jour seront télécharger un maximum de 200. Bientôt ils s'ajouteront plus à la quantité lors des mises à jour. Ici les changements à partir de la première version.</p>
|
||||
<ul>
|
||||
<li>La date il s'affiche bien, selon le fuseau horaire de l'utilisateur.</li>
|
||||
<li>Maintenant, le curseur est placé au début lorsque vous allez à répondre ou faire un retweet.</li>
|
||||
<li>Si vous appuyez sur contrôle + E dans les zones d'édition, l'intégralité du message sera sélectionné.</li>
|
||||
<li>Quelques corrections pour la gestion des chronologies (j'ai besoin d'apporter des améliorations dans la façon de gérer cela).</li>
|
||||
<li>Les favoris sont mises à jour en temps réel.</li>
|
||||
<li>Vous entendrez un son lorsque vous passez par un tweet qui pourrait contenir un audio jouable.</li>
|
||||
<li>Supporte la lecture audio avec le hashtag #audio et une URL. Appuyez sur Entrée pour entendre la chanson. Appuyez sur F5 pour diminuer le volume de 5%, ou f6 pour augmenter d'un 5%. Si vous souhaitez arrêter la lecture, aller où il y a une audio, puis appuyez sur Entrée. Si le programme est incapable de reproduire quelque chose, il vous avertira. Le volume de la musique (pas pour les sons du programme pour l'instant) est enregistré dans la configuration, et le programme va le mémorisé pour la prochaine fois que vous jouez quelque chose.</li>
|
||||
<li>Vous pouvez voir les 200 premiers following et followers avec leurs noms d'utilisateur, nom réel et un peu d'informations utiles. Dans des futures versions vous pourrez tout voir si vous avez plus de 200. Veuillez noter que il y a des actions que vous ne pouvez pas faire avec ces utilisateurs dans la liste (par exemple, répondre ou retweet, parce qu'ils ne sont pas des tweets, sont utilisateurs), Mais oui, vous pouvez les suivre, ne pas les suivre, et faire presque tout (moins envoyer DM pour l'instant) ce que vous pourriez faire dans le menu Utilisateur.</li>
|
||||
</ul>
|
||||
<p>Maintenant, il faut l'utiliser et le tester et lorsque vous trouvez une erreur, s'il vous plaît veuillez regarder dans le dossier de l'application, puis il doit générer un fichier avec le nom du fichier exécutable, mais avec une extension .log à la fin. Eh bien, c'est vital pour moi de savoir où le programme a été cassé, et vous devriez être reconnaissant si vous me l'envoyer ainsi qu'une description de ce qui était plus ou moins ce qu'ils faisaient quand l'application fait ce qu'il avait à faire. Par exemple, « j'ai essayé de m'envoyer un DM, mais la boîte de dialogue de message direct jamais elle a été ouverte". Si vous pouvez le charger vers un serveur de stockage (comme Dropbox,](https://www.dropbox.com) par exemple), et me l'envoyer soit en mentionnant à <span class="citation">[@tw_blue2]</span>(https://twitter.com/tw_blue2) ou à <span class="citation">[@manuelcortez00,]</span>(https://twitter.com/manuelcortez00) ce serait formidable.</p>
|
||||
<p>Merci infiniment de l'essayer !</p>
|
||||
<h2 id="nouveautés-dans-la-version-prealpha-0">Nouveautés dans la version prealpha 0</h2>
|
||||
<ul>
|
||||
<li>Faire des tweets, répondre aux tweets des autres, mentionner tous les utilisateurs, lorsque il y a plus d'un dans le tweet, retweet ce qui vous plaît, ajouter ou non un commentaire au retweet et les supprimez.</li>
|
||||
<li>Ajouter ou supprimer des favoris un tweet.</li>
|
||||
<li>Réduire et élargir une URL lorsque vous écrivez un tweet ou dm (vous pouvez sélectionner quelle URL vous souhaitez réduire et élargir à partir d'une liste lorsque ils sont plus d'une).</li>
|
||||
<li>Ouvrir un navigateur Web avec l'URL venant dans le tweet, en appuyant sur Entrée. Lorsque il y a plusieurs URLs, vous verrez une liste où on vous demandera la quelles vous voulez.</li>
|
||||
<li>Utilisateurs: Vous pouvez Suivre, Ne pas suivre, Signaler comme spam, Bloquer et Envoyer un message direct aux utilisateurs.</li>
|
||||
<li>Vous pouvez ouvrir et supprimer des chronologies individuels pour chaque utilisateur.</li>
|
||||
<li>Vous pourrez aussi voir vos favoris.</li>
|
||||
<li>Et pour l'instant, à moins qu'il m'arrive d'oublier quelque chose, c'est tout.</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p>Copyright © 2013-2014, Manuel Cortéz</p>
|
||||
</body>
|
||||
</html>
|
@@ -1,178 +0,0 @@
|
||||
% Liste des Changements
|
||||
|
||||
#Attention !
|
||||
|
||||
Avant de poursuivre l'essai du programme, il est considéré que c'est une version de développement. Plus précisément, la version 0.42. Cela signifie qu'il n'est pas seulement possible de trouver des erreurs, mais que vous les trouverez. L'idée est de signaler le plus d'erreurs possibles afin qu'ils puisse être résolus pour les prochaines alphas.
|
||||
|
||||
Voici la liste des changements dans le programme. Si vous voulez lire comment l'utiliser, [voir ce document.](manual.html) Si vous voyez un lien avec un signe dièse (#) et un code qui commence par plusieurs numéro, vous voyez une erreur qui a été signalé dans le Système de suivi d'incidences. N'hésitez pas à publier vos propres erreurs et demandes d'améliorations et nouvelles fonctionnalités à travers de cet outils, disponible dans le menu Aide de TW Blue.
|
||||
|
||||
## Changements ajouter dans cette nouvelle version
|
||||
|
||||
* Correction d'une erreur qu'elle ne permettait pas d'afficher les listes avec des accents ou des caractères spéciaux dans un tampon.
|
||||
* Maintenant TW blue ne devrait pas actualiser les Tweets soudainement.
|
||||
* Maintenant TW blue supporte l'option "muet" de Twitter. Lorsque cette option est activée pour un utilisateur, vous ne pouvez pas voir ces tweets ni ces mentions, mais vous le suivez toujours, et vous serez en mesure de être en contact avec lui à travers de message direct. Ceci est différent de la fonction Bloquer ou Ne pas suivre, avec cette option l'utilisateur sera pas au courant que vous avez activée l'option muet. sette option se trouvent dans la boîte de dialogue des actions utilisateur de l'interface invisible, ou dans le menu Utilisateur de l'interface graphique.
|
||||
* Un onglet "Audio" a été ajoutée dans la boîte de dialogue de configuration qui vous permet de sélectionner les périphériques d'entrée et de sortie, régler le volume et activer/ désactiver tous les sons pour TW Blue. D'autres options ont été déplacées depuis l'onglet "Général" vers l'onglet "Audio".
|
||||
* Le fichier de configuration a été repensé. La plupart des options devront être reconfigurés à nouveau.
|
||||
* Vous pouvez maintenant désactiver SAPI5 afin qu'il n'intervienne pas s'il n'y a aucun lecteur d'écran supporté en cours d'exécution.
|
||||
* Dans l'onglet Général, Vous pouvez modifier manuellement la langue. Tw Blue reqiere redémarré.
|
||||
* Maintenant il y a une nouvelle boîte de dialogue où vous pouvez apprendre les différents sons de TW Blue.
|
||||
* Il est possible maintenant de désactiver le son et notification d'un tampon. Le reste du client fonctionnera correctement. Appuyez sur Contrôle+Windows+Maj+m (interface invisible) ou le sélectionnez depuis le menu "Tampon" (interface visible) pour basculer entre cette fonctionnalité.
|
||||
* Vous pouvez maintenant rechercher par utilisateur et par tweets. Les recherches de tweets sont sauvegardées dans la configuration, tandis que ceux des utilisateurs seront supprimer lors de la fermeture. Appuyez sur Ctrl+Windows+- (tiret) (interface invisible) ou le sélectionnez depuis le menu "Application" (interface visible).
|
||||
* Vous pouvez ouvrir le tampon pour voir les favoris d'un utilisateur dans le menu "Utilisateur".
|
||||
* Maintenant avec Contrôle+Windows+Maj+Flèche Haut / Bas (dans l'interface graphique) et Contrôle+Windows+Flèche Haut / Bas (dans l'interface invisible), vous pouvez aller au tweet précédent ou suivant dans la conversation. Pour que cela fonctionne les tweets de la conversation doivent être dans la chronologie principale.
|
||||
* Au cours d'un enregistrement audio pour ajouter, maintenant vous pouvez mettre en pause ou reprendre l'enregistrement pour sauter des parties qui peuvent générer un audio très long.
|
||||
* Il est maintenant possible de charger de l'audio vers Dropbox. Pour configurer le service aller dans l'onglet "Services audio" dans la boîte de dialogue de Configuration.
|
||||
* Maintenant que vous pouvez charger de l'audio vers Dropbox, dans la boîte de dialogue pour ajouter un audio vous pouvez sélectionner le service auquelle vous souhaitez charger.
|
||||
* Maintenant il comprend une boîte de dialogue pour la correction orthographique pour les tweets ou messages. Les langues actuellement disponibles sont: Espagnol, Anglais, Portugais, Russe et Polonais. La langue sera sélectionnée automatiquement selon la configuration de TW Blue.
|
||||
* Ajouter la lecture automatique des Tweets pour un tampon. L'activation de cette fonctionnalité peut faire que TW Blue lit automatiquement les tweets lors de l'arrivée dans les tampons qui ont cette option activée. Appuyez sur Contrôle+Windows+e pour basculer entre cette fonction.
|
||||
* Dans la boîte de dialogue de Configuration maintenant vous pouvez spécifiez si vous voulez que TW Blue démarre avec l'interface invisible.
|
||||
* Les URLs s'affiche dans leur version originale. Uniquement les photos de Twitter ils apparaissent toujours comme réduites, et celles qui ont été réduites manuellement avant de les envoyer dans un tweet.
|
||||
|
||||
## Changements ajouter dans la version 0.40
|
||||
|
||||
* Vous pouvez changer entre les différents paquets de sons utilisé par TW Blue et de créer vos propres sons. Chaque paquet doit être dans un répertoire par séparé dans le dossier sounds. Pour modifier le paquet de sons vous pouvez le sélectionner dans la boîte de dialogue de configuration.
|
||||
* Les fichiers audio doivent être au format OGG.
|
||||
* TW Blue doit être maintenant en mesure de fermer correctement.
|
||||
* L'heure est écrit tenant en compte le format 12 heures (AM /P M).
|
||||
* L'heure est écrit d'accord au fuseau horaire que vous avez défini dans votre compte Twitter.
|
||||
* Ajout de nouvelles traductions en Portugais, Polonais et Russe. Merci les gars !
|
||||
* TW Blue supprime de la configuration la chronologie de l'utilisateur qui ont changé leur noms ou supprimer leurs comptes Twitter.
|
||||
* Maintenant est gérés la grande majorité des événements dans Twitter avec le tampon des événements.
|
||||
* Il est maintenant possible de voir le texte des événements avec Contrôle+Maj+V (GUI) ou Contrôle+Windows+V (interface invisible).
|
||||
* Gestionnaire de listes: Vous pouvez créer, modifier, supprimer, afficher une liste comme tampon dans TW Blue, ajouter et supprimer des membres d'une liste.
|
||||
* Maintenant, si au démarrage de TW Blue il tente de charger une chronologie qui n'existe pas, automatiquement il la supprime de la configuration et il continue à charger normalement.
|
||||
* Seuls seront chargées jusqu'à 400 following et followers pour éviter les problèmes avec l'API. Elle sera corrigée dans les versions futures.
|
||||
* Pour le mode invisible, il inclus des raccourcis pour réentendre le tweet sur lequel vous êtes (Contrôle+Windows+espace) et pour copier le message dans le presse-papiers (Contrôle+Windows+c).
|
||||
|
||||
## Changements ajouter dans la version 0.38
|
||||
|
||||
* Correction d'une erreur qui empêchait en donnant l'ordre de fermer.
|
||||
* Maintenant les tweets ne finissent pas par un point obligatoirement. Si le programme détecte que le tweet se termine par une lettre ou un chiffre, il va placez un point automatiquement. Si ce n'est pas le cas, il va laisser le texte tel qu'il est.
|
||||
* Il est maintenant possible de charger des images aux tweets et réponses. Veuillez noter que la taille des images est mis en place par twitter.
|
||||
* Pour se déplacer vers la gauche ou vers la droite en utilisant le mode invisible, maintenant il s'annonce uniquement des informations de la position dans la liste d'éléments.
|
||||
* TW Blue devrait maintenant fonctionner pour Windows XP au moment de la demande d'autorisation pour l'application.
|
||||
* Ajouté une nouvelle option dans la boîte de dialogue de configuration qui vous permet de revenir à vos tampons. Cela signifie que vous pouvez choisir si vous voulez voir les tweets comme jusqu'à maintenant, ou que les plus nouveaux soit placés vers le haut et les anciens vers le bas.
|
||||
* Maintenant les photos peuvent être chargées aux profil de Twitter, disponible à partir de la boîte de dialogue Mettre à jour votre profil.
|
||||
* Ajouté un tampon d'événements, où ils sont stockés pour le moment quelques événements qui se déroulent dans Twitter, comme suivre ou faire que quelqu'un vous suivent, marquer un favori, que un de vos tweet soit marqué comme favoris, Etc. Vous pouvez activer et désactiver ce tampon de la boîte de dialogue de configuration.
|
||||
* Maintenant, vous pouvez supprimer des chronologies déjà créé qui ne contiennent pas des tweets, et il ne sera pas permit de créer des chronologies pour les utilisateurs sans tweets.
|
||||
* L'interface de l'application est traduisible. Maintenant, n'importe quel utilisateur peut faire leurs propres traductions en différentes langues.
|
||||
|
||||
## Changements ajouter dans la version 0.36
|
||||
|
||||
* Les utilisateurs brésiliens pourront voir quelques messages en Portugais. (Usuários brasileiros poderão ver algumas mensagens em Português).
|
||||
* Correction d'une erreur qui fait que quelques sons ils peuvent s'entendre et d'autres non. Maintenant, ils devraient s'entendre tous.
|
||||
* La réconnexion aussi a reçu une correction, parce que parfois, il s'effectué de façon incorrecte et il devait s'ouvrir à nouveau l'application.
|
||||
* Maintenant TW Blue permet de supprimer uniquement les chronologies avec la commande correspondante. Avant il s'affichées la boîte de dialogue peu importe dans quel tampon vous aviez été.
|
||||
* Vous êtes en mesure à nouveau de voir les détails des utilisateurs avec la touche Entrée étant dans le tampon pour les following ou followers.
|
||||
* À partir de cette version, il n'y a pas de support pour les bases de données.
|
||||
* Vous entendrez une notification vocale lorsque quelqu'un marque comme favori un de vos tweets.
|
||||
* Les following et followers sont déjà mis à jour.
|
||||
* lorsque vous suivez quelqu'un, il ne se produit aucune erreur Si ne sont pas affichées les following. C'est la même chose avec les followers.
|
||||
* Vous pouvez effacer un tampon en appuyant sur Maj+Supprimer dans la fenêtre visible, et Contrôle+Windows+Maj+Supprimer dans la fenêtre invisible. Ceci va vider tous les tweets dans le tampon courant.
|
||||
|
||||
## Changements ajouter dans la version 0.35
|
||||
|
||||
* Il existe un site Web officiel pour le programme, aller sur [twblue.com.mx.](http://twblue.com.mx) Dans cet espace, vous trouverez le système de suivi d'erreurs, le blog avec les dernières nouvelles, et la dernière version disponible.
|
||||
* TW Blue il annonce lorsque vous êtes mentionné, et lorsque vous obtenez un message direct.
|
||||
* Jaws il ne dit pas le raccourci clavier qui est appuyé dans le mode invisible. [#11](http://twblue.a12x.net/errores/view.php?id=11)
|
||||
* Dans le mode invisible, les commandes Contrôle+Windows+Origine, Contrôle+Windows+Fin, Contrôle+Windows+Page Suivante et Contrôle+Windows+Page Précédente va aller vers le haut de la liste, vers la fin, 20 éléments vers le bas et 20 éléments vers le haut respectivement. [#10,](http://twblue.a12x.net/errores/view.php?id=10) [#21,](http://twblue.a12x.net/errores/view.php?id=21) [#22](http://twblue.a12x.net/errores/view.php?id=22)
|
||||
* Maintenant vous pouvez lire l'audios d'Audiobook.
|
||||
* Maintenant, le flux doit être connecté une fois que la machine revient d'une suspension.
|
||||
* Il est possible d'enregistrer de l'audio ou charger fichiers sur SndUp.net. Si vous êtes inscrit dans cette page, vous pouvez mettre dans la configuration votre API Key pour que les fichiers se charge sur votre nom. Vous pouvez charger des fichiers Wav, OGG et MP3. Les fichiers wav ils seront récodifier en OGG.
|
||||
* Si vous n'utilisez aucun lecteur d'écran, quelques actions de TW blue utilisent la synthèse vocale SAPI5.
|
||||
* Il existe une version pour les architectures de 64 Bits. Merci à [@jmdaweb](https://twitter.com/jmdaweb) pour prendre le travail de faire fonctionner l'application dans cette architecture et la préparez pour sa distribution.
|
||||
* Changement dans les sons du client. Merci à [@guilevi_es](https://twitter.com/guilevi_es) pour la collaboration avec le paquet de sons.
|
||||
* Quelques messages du programme peuvent être traduits. Dans des futures versions la totalité de l'interface sera internationalisé.
|
||||
* Et quelques correction d'erreur en plus ([#5,](http://twblue.com.mx/errores/view.php?id=5) [#7,](http://twblue.com.mx/errores/view.php?id=7) [#8,](http://twblue.com.mx/errores/view.php?id=8) [#9,](http://twblue.com.mx/errores/view.php?id=9) [#12,](http://twblue.com.mx/errores/view.php?id=12))
|
||||
|
||||
## Changements ajouter dans la version 0.3
|
||||
|
||||
* Maintenant vous pouvez mettre à jour votre profil à partir de TW Blue. [#19](http://twblue.a12x.net/issues/view.php?id=19)
|
||||
* Maintenant vous pouvez créer les chronologies à nouveau et ils ne donne pas de problèmes. [#24](http://twblue.a12x.net/issues/view.php?id=24)
|
||||
* Maintenant les fichiers d'erreur sont enregistrés dans le répertoire "logs".
|
||||
* Lorsque vous créez une chronologie, il sera mis à jour en temps réel dès le début au lieu de le mettre à jour toutes les 2 minutes.
|
||||
* Vous pouvez maintenant demander davantage d'appels à l'API qui fonctionnera pour obtenir 200 tweets chaqu'une. Un appel est équivalent à 200 éléments de la liste principal, mentions, messages directs, favoris et chronologies. Dans le fichier de configuration Vous pouvez modifier l'option dans [twitter]/max_api_calls. Il est recommandé de ne pas demander à Twitter plus de 2 appels à l'API, ou sinon vous arriverez bientôt à la limite des appels autorisés et l'application échouera.
|
||||
* Lorsque vous répondez à un Tweet, c'est envoyé comme réponse au même et pas comme s'il s'agissait d'un nouveau tweet.
|
||||
* L'ancien système de rapport d'erreurs il a dû être changée. À partir de cette version, vous pouvez signaler des erreurs, directement depuis l'application. L'option Signaler une erreur ouvrira une boîte de dialogue qui vous demande des détails sur votre erreur et il va envoyer le rapport automatiquement.
|
||||
* Ils sont déjà supprimées les following lorsque ils ne suivent pas un utilisateur.
|
||||
* Aussi les favoris, au moment de retirer un tweet comme favori, il exécutent le changement.
|
||||
* Ajouté une boîte de dialogue de configuration qui permet de contrôler le nombre d'appels à l'API à exécuter, si oui ou non utiliser des bases de données, et masquer ou afficher les listes de following, followers et favoris.
|
||||
* En mentionnant les tweets, les guillemets qui entourent le message maintenant sont séparés par un espace de la dernière lettre. Il en est ainsi parce qu'avant, lorsque il y avait une URL, il causé que les guillemets facent partie de l'URL en envoyant vers des sites inexistants.
|
||||
* Améliorations avec quelques chronologies. Vous pouvez maintenant enregistrer une chronologie sans problèmes. Il ne devrait pas faire des erreurs.
|
||||
* Maintenant, l'audio est joué seulement avec Contrôle+Entrée, tandis que l'URL s'ouvrira avec la touche Entrée.
|
||||
* Le flux tentera de se reconnecter à l'échec de la connexion internet.
|
||||
* Maintenant depuis les followers et following on peut mentionner un utilisateur.
|
||||
* Maintenant il est fournit un mode "invisible". Sous le menu "Application", dans l'option "Masquer la fenêtre" ou en appuyant sur Contrôle+M. Pour afficher la fenêtre à nouveau appuyez sur Contrôle+Windows+M.
|
||||
|
||||
## Changements ajouter dans la version 0.025
|
||||
|
||||
Veuillez noter que lorsque un utilisateur vous ne sui pas ou vous ne suivez pas quelqu'un d'autre, la liste des following ou des followers il ne sera pas mis à jour pour le moment. Lorsque vous redémarrez le programme, si les informations son correctes ils seront afficher.
|
||||
|
||||
* Correction d'une erreur qui rendait impossible de fermer l'application jusqu'à ce que le programme a annoncé qu'elle était prête. [#17](http://twblue.a12x.net/issues/view.php?id=17) y [#18](http://twblue.a12x.net/issues/view.php?id=18)
|
||||
* Changé la façon d'organiser les chronologies dans la configuration. Il est nécessaire de les recréer.
|
||||
* Maintenant, vous pouvez envoyer un message direct aux following et followers en utilisant le bouton. Cela ne fonctionnait pas dans la version 0.02 et 0.021.
|
||||
* Vous pouvez augmenter et diminuer le volume depuis la liste des followers et following.
|
||||
* Dans la boîte de dialogue pour écrire un tweet peut être maintenant traduit le message à l'aide de Google Traductor. Une boîte de dialogue s'affiche pour demander les langues source et destination.
|
||||
* Le menu fichier contient l'option Sortir.
|
||||
* À partir de cette version ils se jouera uniquement les fichiers de'audio en appuyant sur Entrée s'ils contienne le hashtag #audio.
|
||||
* Vous pouvez essayer de jouer une URL quelconque sans qui comporte le hashtag #audio en appuyant sur Contrôle+Entrée. Cette commande va tenter de reproduire la première URL trouvée.
|
||||
* A été amélioré le moteur de recherche d'URLS, en rendant plus rapide la fonction et maintenant, devrait être capable de détecter toutes les URLS. [#21](http://twblue.a12x.net/issues/view.php?id=21)
|
||||
* Maintenant, la boîte de dialogue qui s'affiche pour sélectionner l'utilisateur que vous souhaitez afficher les détails permet en plus de le sélectionner dans une liste, écrire le nom de l'utilisateur que vous souhaitez.
|
||||
|
||||
## Changements ajouter dans la version 0.02 et 0.021
|
||||
|
||||
* Le message qui se reproduicé lorsque vous suivez un utilisateur maintenant dit "maintenant vous suivez à x utilisateur" en lieu de "maintenant vous ne suivez pas à x utilisateur". [#5](http://twblue.a12x.net/issues/view.php?id=5)
|
||||
* Lorsque vous sorter une boîte de dialogue vous demandera si vous voulez le faire. Maintenant vous sorter d'une façon beaucoup plus proprement du programme, empêchant plusieurs erreurs pendant la fermeture.
|
||||
* Changement des sons pour les dm entrant et sortant. Merci à [@marcedsosa](https://twitter.com/marcedsosa) pour les nouveaux sons.
|
||||
* Le Nom d'utilisateur de twitter il se lit dans le titre de la fenêtre.
|
||||
* Les sons du programme aussi peuvent lire le volume depuis la configuration. Le module de sons devrait prendre moins de temps pour reproduire plusieurs des sons de l'application.
|
||||
* Les actions d'augmenter et de diminuer le volume ils reproduisent un son indiquant que tant forts ça sonne.
|
||||
* Il n'affichent plus les mentions de personnes qui ne vous suivent pas dans votre chronologie principal. [#1](http://twblue.a12x.net/issues/view.php?id=1)
|
||||
* Vous pouvez maintenant supprimer les tweets et les messages directs. Vous ne pouvez supprimer que les tweets que vous avez écrit.
|
||||
* Correction d'une erreur qui empêchait de charger correctement les différentes listes si dans quelques une d'elles ils n'y avait aucun tweet, utilisateur ou message direct. Ceci affectant surtout les comptes avec 0 favoris, 0 tweets, 0 envoyés ou 0 messages directes. [#2](http://twblue.a12x.net/issues/view.php?id=2)
|
||||
* Maintenant à chaque fois qu'une nouvelle version est disponible, vous serez informé de cela. Si vous avez accès pour le télécharger, le programme va télécharger et copier tout ce dont vous avez besoin.
|
||||
* Maintenant, vous pouvez obtenir la liste complète des following et followers.
|
||||
* Ajouter la date du dernier tweet des followers et following.
|
||||
* Les following et followers sont maintenant mis à jour en temps réel. (ToDo: Les following et followers ils ne montrent pas la date de ces dernier tweet lorsque une mise à jour est faite en temps réel. Ils le font lors du rechargement une fois redémarrée l'application).
|
||||
* L'ordre des onglets il a changé. Maintenant ils sont classés en commençant par Principal, Mentions, Messages directs et Envoyés.
|
||||
* Maintenant dans la liste de tweets envoyés les messages directs sont affichés lorsque le flux est chargé pour la première fois. Ceci ne était pas le cas et si l'utilisateur envoyés un DM à partir d'un autre client lorsque Tw Blue n'était pas ouvert, lors de l'ouverture de l'application il ne montré pas la dite DM. [#8](http://twblue.a12x.net/issues/view.php?id=8)
|
||||
* Con Control+A, se puede seleccionar todo el texto de un mensaje. Funciona con Jaws y NVDA.
|
||||
* Il y a des raccourcis clavier (détaillés dans la [Documentation)](leeme.html) pour un grand nombre d'actions qui peut faire le programme.
|
||||
* Maintenant TW Blue détecte plus d'audio dans les URLS qui vienne dans les retweets, et des audio partagé à partir de Dropbox. [#3](http://twblue.a12x.net/issues/view.php?id=3)
|
||||
* Inclut la documentation pour l'application et les crédits.
|
||||
* Si la connexion internet s'arrête de fonctionner, le flux va essayer de se reconnecter pendant 30 minutes.
|
||||
* On a écrit un document qui détaille comment utiliser le programme.
|
||||
* Il a été ouvert le [Système de suivi d'incidents](http://twblue.a12x.net/issues/) où les utilisateurs peuvent signaler des erreurs et si vous le souhaitez, vous pouvez apporter de nouvelles idées pour le développement de l'application. Il existe un accès direct au formulaire réservée au rapport d'incidents dans le menu Aide.
|
||||
* Il y a maintenant des crédits à partir de la version actuelle.
|
||||
* Ajout d'une option dans menu Utilisateur pour afficher les détails. Cela fonctionne également si vous appuyez sur entrer sur un following ou follower.
|
||||
|
||||
## Changements ajouter dans la version Prealpha1
|
||||
|
||||
Veuillez noter que dans cette version les following et les followers ne sont pas mis à jour automatiquement. Cela s'ajoutera à une autre version. Vous ne pouvez pas également supprimer des tweet, ou DM. Tous les tweets, messages directs, mentions, favoris, followers et following lors de la mise à jour seront télécharger un maximum de 200. Bientôt ils s'ajouteront plus à la quantité lors des mises à jour. Ici les changements à partir de la première version.
|
||||
|
||||
* La date il s'affiche bien, selon le fuseau horaire de l'utilisateur.
|
||||
* Maintenant, le curseur est placé au début lorsque vous allez à répondre ou faire un retweet.
|
||||
* Si vous appuyez sur contrôle + E dans les zones d'édition, l'intégralité du message sera sélectionné.
|
||||
* Quelques corrections pour la gestion des chronologies (j'ai besoin d'apporter des améliorations dans la façon de gérer cela).
|
||||
* Les favoris sont mises à jour en temps réel.
|
||||
* Vous entendrez un son lorsque vous passez par un tweet qui pourrait contenir un audio jouable.
|
||||
* Supporte la lecture audio avec le hashtag #audio et une URL. Appuyez sur Entrée pour entendre la chanson. Appuyez sur F5 pour diminuer le volume de 5%, ou f6 pour augmenter d'un 5%. Si vous souhaitez arrêter la lecture, aller où il y a une audio, puis appuyez sur Entrée. Si le programme est incapable de reproduire quelque chose, il vous avertira. Le volume de la musique (pas pour les sons du programme pour l'instant) est enregistré dans la configuration, et le programme va le mémorisé pour la prochaine fois que vous jouez quelque chose.
|
||||
* Vous pouvez voir les 200 premiers following et followers avec leurs noms d'utilisateur, nom réel et un peu d'informations utiles. Dans des futures versions vous pourrez tout voir si vous avez plus de 200. Veuillez noter que il y a des actions que vous ne pouvez pas faire avec ces utilisateurs dans la liste (par exemple, répondre ou retweet, parce qu'ils ne sont pas des tweets, sont utilisateurs), Mais oui, vous pouvez les suivre, ne pas les suivre, et faire presque tout (moins envoyer DM pour l'instant) ce que vous pourriez faire dans le menu Utilisateur.
|
||||
|
||||
Maintenant, il faut l'utiliser et le tester et lorsque vous trouvez une erreur, s'il vous plaît veuillez regarder dans le dossier de l'application, puis il doit générer un fichier avec le nom du fichier exécutable, mais avec une extension .log à la fin. Eh bien, c'est vital pour moi de savoir où le programme a été cassé, et vous devriez être reconnaissant si vous me l'envoyer ainsi qu'une description de ce qui était plus ou moins ce qu'ils faisaient quand l'application fait ce qu'il avait à faire. Par exemple, « j'ai essayé de m'envoyer un DM, mais la boîte de dialogue de message direct jamais elle a été ouverte". Si vous pouvez le charger vers un serveur de stockage (comme Dropbox,](https://www.dropbox.com) par exemple), et me l'envoyer soit en mentionnant à [@tw_blue2](https://twitter.com/tw_blue2) ou à [@manuelcortez00,](https://twitter.com/manuelcortez00) ce serait formidable.
|
||||
|
||||
Merci infiniment de l'essayer !
|
||||
|
||||
## Nouveautés dans la version prealpha 0
|
||||
|
||||
* Faire des tweets, répondre aux tweets des autres, mentionner tous les utilisateurs, lorsque il y a plus d'un dans le tweet, retweet ce qui vous plaît, ajouter ou non un commentaire au retweet et les supprimez.
|
||||
* Ajouter ou supprimer des favoris un tweet.
|
||||
* Réduire et élargir une URL lorsque vous écrivez un tweet ou dm (vous pouvez sélectionner quelle URL vous souhaitez réduire et élargir à partir d'une liste lorsque ils sont plus d'une).
|
||||
* Ouvrir un navigateur Web avec l'URL venant dans le tweet, en appuyant sur Entrée. Lorsque il y a plusieurs URLs, vous verrez une liste où on vous demandera la quelles vous voulez.
|
||||
* Utilisateurs: Vous pouvez Suivre, Ne pas suivre, Signaler comme spam, Bloquer et Envoyer un message direct aux utilisateurs.
|
||||
* Vous pouvez ouvrir et supprimer des chronologies individuels pour chaque utilisateur.
|
||||
* Vous pourrez aussi voir vos favoris.
|
||||
* Et pour l'instant, à moins qu'il m'arrive d'oublier quelque chose, c'est tout.
|
||||
|
||||
---
|
||||
Copyright © 2013-2014, Manuel Cortéz
|
BIN
doc/locales/fr/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/fr/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1232
doc/locales/fr/lc_messages/twblue-changelog.po
Normal file
1232
doc/locales/fr/lc_messages/twblue-changelog.po
Normal file
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
doc/locales/gl/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/gl/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1150
doc/locales/gl/lc_messages/twblue-changelog.po
Normal file
1150
doc/locales/gl/lc_messages/twblue-changelog.po
Normal file
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
doc/locales/ja/lc_messages/twblue-changelog.mo
Normal file
BIN
doc/locales/ja/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
946
doc/locales/ja/lc_messages/twblue-changelog.po
Normal file
946
doc/locales/ja/lc_messages/twblue-changelog.po
Normal file
@@ -0,0 +1,946 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR ORGANIZATION
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2018-08-07 13:19+Hora de verano central (Mexico)\n"
|
||||
"PO-Revision-Date: 2018-08-08 19:52+0900\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: ja\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 2.1.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: ../doc/changelog.py:3
|
||||
msgid "TWBlue Changelog"
|
||||
msgstr "TWBlue 更新履歴"
|
||||
|
||||
#: ../doc/changelog.py:4
|
||||
msgid "## changes in this version"
|
||||
msgstr "## changes in this version"
|
||||
|
||||
#: ../doc/changelog.py:5
|
||||
msgid ""
|
||||
"* Added an option in the global settings dialog to disable the Streaming "
|
||||
"features of TWBlue. TWBlue will remove all Streaming features after August "
|
||||
"16, so this option will give people an idea about how it will be. ([#219]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/219))"
|
||||
msgstr ""
|
||||
"* TWBlueのストリーミング機能を無効化するオプションを全般設定ダイアログに追"
|
||||
"加。TWBlueは8月16日以降にすべてのストリーミング機能を削除するため、このオプ"
|
||||
"ションは、その後どのようになるかを提供します。([#219](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/219))"
|
||||
|
||||
#: ../doc/changelog.py:6
|
||||
msgid ""
|
||||
"* Due to Twitter API changes, Switched authorisation method to Pin-code "
|
||||
"based authorisation. When you add new accounts to TWBlue, you will be "
|
||||
"required to paste a code displayed in the Twitter website in order to grant "
|
||||
"access to TWBlue. ([#216](https://github.com/manuelcortez/TWBlue/issues/216))"
|
||||
msgstr ""
|
||||
"* Twitter APIの変更により、PINコードベースでの認証に切り替え。TWBlueに新しい"
|
||||
"アカウントを追加すると、TWBlueへのアクセスを許可するために、Twitterウェブサイ"
|
||||
"トに表示されたコードを貼り付ける必要があります。 ([#216](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/216))"
|
||||
|
||||
#: ../doc/changelog.py:7
|
||||
msgid ""
|
||||
"* In order to comply with latest Twitter changes, TWBlue has switched to the "
|
||||
"new method used to send and receive direct messages, according to issue "
|
||||
"[#215.](https://github.com/manuelcortez/twblue/issues/215)"
|
||||
msgstr ""
|
||||
"* Twitterの最新の変更に遵守するため、ダイレクトメッセージの送受信を新しい方法"
|
||||
"に切り替え。( [#215.](https://github.com/manuelcortez/twblue/issues/215))"
|
||||
|
||||
#: ../doc/changelog.py:8
|
||||
msgid ""
|
||||
" * The sent direct messages buffer has been removed. All direct messages "
|
||||
"will be placed in one buffer only. "
|
||||
msgstr ""
|
||||
" * 送信済みのダイレクトメッセージバッファは削除されました。すべてのダイレ"
|
||||
"クトメッセージは、1つのバッファに表示されます。"
|
||||
|
||||
#: ../doc/changelog.py:9
|
||||
msgid ""
|
||||
" * The new method does not allow direct messages to be processed in real "
|
||||
"time. Direct messages will be updated periodically."
|
||||
msgstr ""
|
||||
" * 新方式では、ダイレクトメッセージをリアルタイムで処理することはできませ"
|
||||
"ん。ダイレクトメッセージは定期的に更新されます。"
|
||||
|
||||
#: ../doc/changelog.py:10
|
||||
msgid ""
|
||||
" * When sending a direct message, you will hear a sound if the message "
|
||||
"has been sent properly, but the direct message will not be added to the "
|
||||
"buffer inmediately."
|
||||
msgstr ""
|
||||
" * ダイレクトメッセージを送信するときは、メッセージが正しく送信されていれ"
|
||||
"ばサウンドが聞こえますが、ダイレクトメッセージはすぐにバッファに追加されませ"
|
||||
"ん。"
|
||||
|
||||
#: ../doc/changelog.py:11
|
||||
msgid ""
|
||||
"* After august 16 or when streaming is disabled, the events buffer will no "
|
||||
"longer be created in TWBlue."
|
||||
msgstr ""
|
||||
"* 8月16日以降、またはストリーミングが無効になっていると、イベントバッファは"
|
||||
"TWBlueで作成されなくなるように変更。"
|
||||
|
||||
#: ../doc/changelog.py:12
|
||||
msgid ""
|
||||
"* You can configure frequency for buffer updates in TWBlue. By default, "
|
||||
"TWBlue will update all buffers every 2 minutes, but you can change this "
|
||||
"setting in the global settings dialog. ([#223](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/223))"
|
||||
msgstr ""
|
||||
"* TWBlueのバッファの更新の頻度を設定できるようにした。初期設定では、TWBlueは"
|
||||
"すべてのバッファを2分ごとに更新しますが、全般設定ダイアログでこの設定を変更で"
|
||||
"きます。([#223](https://github.com/manuelcortez/TWBlue/issues/223))"
|
||||
|
||||
#: ../doc/changelog.py:13
|
||||
msgid ""
|
||||
"* Added a new tab called feedback, in the account settings dialog. This tab "
|
||||
"allows you to control wether automatic speech or Braille feedbak in certain "
|
||||
"events (mentions and direct messages received) is enabled. Take into account "
|
||||
"that this option will take preference over automatic reading of buffers and "
|
||||
"any kind of automatic output. ([#203](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/203))"
|
||||
msgstr ""
|
||||
"* アカウント設定ダイアログに新しく「フィードバック」タブを追加。このタブで"
|
||||
"は、特定のイベント(受信したメンションとダイレクトメッセージ)の自動読み上げ"
|
||||
"または点字でのフィードバックを有効化することができます。このオプションは、"
|
||||
"バッファの自動読み上げとあらゆる種類の自動出力より優先されることを考慮してく"
|
||||
"ださい。 ([#203](https://github.com/manuelcortez/TWBlue/issues/203))"
|
||||
|
||||
#: ../doc/changelog.py:14
|
||||
msgid ""
|
||||
"* The spell checking dialog now has access keys defined for the most "
|
||||
"important actions. ([#211](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/211))"
|
||||
msgstr ""
|
||||
"* スペルチェックダイアログに最も重要な動作のためのアクセスキーを追加。([#211]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/211))"
|
||||
|
||||
#: ../doc/changelog.py:15
|
||||
msgid ""
|
||||
"* TWBlue now Uses WXPython 4.0.1. This will allow us to migrate all "
|
||||
"important components to Python 3 in the future. ([#207](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/207))"
|
||||
msgstr ""
|
||||
"* TWBlueは、WXPython4.0.1を使用するようにした。これにより、将来すべての重要な"
|
||||
"コンポーネントをPython 3に移行できます。([#207](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/207))"
|
||||
|
||||
#: ../doc/changelog.py:16
|
||||
msgid ""
|
||||
"* When you quote a Tweet, if the original tweet was posted with Twishort, "
|
||||
"TWBlue should display properly the quoted tweet. Before it was displaying "
|
||||
"the original tweet only. ([#206](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/206))"
|
||||
msgstr ""
|
||||
"* ツイートを引用すると、オリジナルのツイートがTwishortで投稿された場合、"
|
||||
"TWBlueは引用されたツイートを適切に表示するようになった。([#206](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/206))"
|
||||
|
||||
#: ../doc/changelog.py:17
|
||||
msgid ""
|
||||
"* It is possible to filter by retweets, quotes and replies when creating a "
|
||||
"new filter."
|
||||
msgstr ""
|
||||
"* 新しいフィルタを作成する際、リツイートや引用、リプライでフィルタ出来るよう"
|
||||
"になった。"
|
||||
|
||||
#: ../doc/changelog.py:18
|
||||
msgid ""
|
||||
"* Added support for playing youtube Links directly from the client. ([#94]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/94))"
|
||||
msgstr ""
|
||||
"* クライアントでYouTubeのリンクを直接再生することをサポートした。([#94]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/94))"
|
||||
|
||||
#: ../doc/changelog.py:19
|
||||
msgid "* Replaced Bass with libVLC for playing URL streams."
|
||||
msgstr "* URLストリームを再生するために、BassをlibVLCに置き換え。"
|
||||
|
||||
#: ../doc/changelog.py:20
|
||||
msgid ""
|
||||
"* the checkbox for indicating wether TWBlue will include everyone in a reply "
|
||||
"or not, will be unchecked by default."
|
||||
msgstr ""
|
||||
"* TWBlueで全員にリプライするかどうかのチェックボックスを初期設定でチェックな"
|
||||
"しにした。"
|
||||
|
||||
#: ../doc/changelog.py:21
|
||||
msgid ""
|
||||
"* You can request TWBlue to save the state for two checkboxes: Long tweet "
|
||||
"and mention all, from the global settings dialogue."
|
||||
msgstr ""
|
||||
"* 「全員にリプライ」および「ツイートを短縮して投稿」のチェック状態を保持する"
|
||||
"かどうかを全般設定ダイアログから変更できるようにした。"
|
||||
|
||||
#: ../doc/changelog.py:22
|
||||
msgid ""
|
||||
"* For windows 10 users, some keystrokes in the invisible user interface have "
|
||||
"been changed or merged:"
|
||||
msgstr ""
|
||||
"* Windows10のユーザー向けにGUI非標示インターフェースでのキーストロークを変"
|
||||
"更・マージ。"
|
||||
|
||||
#: ../doc/changelog.py:23
|
||||
msgid ""
|
||||
" * control+Windows+alt+F will be used for toggling between adding and "
|
||||
"removing a tweet to user's likes. This function will execute the needed "
|
||||
"action based in the current status for the focused tweet."
|
||||
msgstr ""
|
||||
" * Ctrl+Windows+Alt+Fは、ユーザーのツイートをいいね・いいね解除するために"
|
||||
"利用されます。この機能は、フォーカスされたツイートの現在のステータスに基づい"
|
||||
"て適切な動作を実行します。"
|
||||
|
||||
#: ../doc/changelog.py:24
|
||||
msgid "* TWBlue will show an error if something goes wrong in an audio upload."
|
||||
msgstr ""
|
||||
"* 音声のアップロードで何か問題が生じた場合、TWBlueはエラーを表示するように"
|
||||
"なった。"
|
||||
|
||||
#: ../doc/changelog.py:25
|
||||
msgid ""
|
||||
"* And more. ([#171,](https://github.com/manuelcortez/TWBlue/issues/171) "
|
||||
msgstr "* など。([#171,](https://github.com/manuelcortez/TWBlue/issues/171) "
|
||||
|
||||
#: ../doc/changelog.py:26
|
||||
#, fuzzy
|
||||
msgid "## Changes in version 0.93"
|
||||
msgstr "## バージョン0.87での変更点"
|
||||
|
||||
#: ../doc/changelog.py:27
|
||||
msgid ""
|
||||
"* A new soundpack has been added to TWBlue. Thanks to [@ValeriaK305](https://"
|
||||
"twitter.com/ValeriaK305)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:28
|
||||
msgid ""
|
||||
"* In the Windows 10 keymap, we have changed some default keystrokes as "
|
||||
"windows now uses some previously assigned shortcuts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:29
|
||||
msgid " * For liking a tweet, press Control+Windows+alt+f"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:30
|
||||
msgid " * for opening a trends buffer, press control+Windows+T"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:31
|
||||
msgid ""
|
||||
"* TWBlue has received improvements in some functions for handling extended "
|
||||
"tweets, long tweets and quoted retweets. It should render some tweets in a "
|
||||
"better way."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:32
|
||||
msgid ""
|
||||
"* In the spell checker module, there is a new button that will allow you to "
|
||||
"add your own words to your personal dictionary so the module won't mark them "
|
||||
"as mispelled the next time you will check spelling."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:33
|
||||
msgid ""
|
||||
"* Added filtering capabilities to TWBlue. ([#102](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/102))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:34
|
||||
msgid ""
|
||||
" * You can create a filter for the current buffer from the buffer menu in "
|
||||
"the menu bar. At this moment, invisible interface does not have any shorcut "
|
||||
"for this."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:35
|
||||
msgid " * You can create filters by word or languages."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:36
|
||||
msgid ""
|
||||
" * For deleting already created filters, you can go to the filter manager "
|
||||
"in the buffer menu and delete the filters you won't need."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:37
|
||||
msgid ""
|
||||
"* Links should be opened properly in quoted tweets ([#167,](https://github."
|
||||
"com/manuelcortez/TWBlue/issues/167) [#184](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/184))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:38
|
||||
msgid ""
|
||||
"* Increased display name limit up to 50 characters in update profile dialog."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:39
|
||||
msgid ""
|
||||
"* When authorising an account, you will see a dialogue with a cancel button, "
|
||||
"in case you want to abort the process. Also, NVDA will not be blocked when "
|
||||
"the process starts. ([#101](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/101))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:40
|
||||
msgid ""
|
||||
"* In the translator module, the list of available languages is fetched "
|
||||
"automatically from the provider. That means all of these languages will work "
|
||||
"and there will not be inconsistencies. Also we've removed the first combo "
|
||||
"box, because the language is detected automatically by Yandex'S API. ([#153]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/153))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:41
|
||||
msgid ""
|
||||
"* Trending topics, searches and conversation buffers will use mute settings "
|
||||
"set for the session in wich they were opened. ([#157](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/157))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:42
|
||||
msgid ""
|
||||
"* The Tweet limit is now 280 characters lenght instead 140. It means you can "
|
||||
"tweet longer tweets. ([#172](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/172))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:43
|
||||
msgid ""
|
||||
"* Per popular request, Status for mention to all and long tweet checkboxes "
|
||||
"will not be saved in settings. ([#170](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/170))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:44
|
||||
msgid ""
|
||||
"* Fixed a problem that was making TWBlue unable to start if it was being ran "
|
||||
"in Windows with Serbian language. ([#175](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/175))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:45
|
||||
#, fuzzy
|
||||
msgid "* Added Danish translation."
|
||||
msgstr "* 翻訳を更新。"
|
||||
|
||||
#: ../doc/changelog.py:46
|
||||
msgid ""
|
||||
"* And more. ([#156,](https://github.com/manuelcortez/TWBlue/issues/156) "
|
||||
"[#163,](https://github.com/manuelcortez/TWBlue/issues/163) [#159,](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/159) [#173,](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/173) [#174,](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/174) [#176,](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/176))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:47
|
||||
#, fuzzy
|
||||
msgid "## changes in version 0.91 and 0.92"
|
||||
msgstr "## バージョン0.82および0.83での変更点"
|
||||
|
||||
#: ../doc/changelog.py:48
|
||||
msgid ""
|
||||
"* Fixed incorrect unicode handling when copying tweet to clipboard. ([#150]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/150))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:49
|
||||
msgid ""
|
||||
"* TWBlue will show an error when trying to open a timeline for a suspended "
|
||||
"user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:50
|
||||
msgid ""
|
||||
"* Removed TwUp as service as it no longer exists. ([#112](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/112))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:51
|
||||
msgid ""
|
||||
"* Release audio files after uploading them. ([#130](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/130))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:52
|
||||
msgid ""
|
||||
"* Now TWBlue will use Yandex's translation services instead microsoft "
|
||||
"translator. ([#132](https://github.com/manuelcortez/TWBlue/issues/132))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:53
|
||||
msgid ""
|
||||
"* SndUp users will be able to upload audio in their account by using their "
|
||||
"API Key again. ([#134](https://github.com/manuelcortez/TWBlue/issues/134))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:54
|
||||
msgid ""
|
||||
"* old tweets shouldn't be added as new items in buffers. ([#116,](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/116)) ([#133](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/133))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:55
|
||||
msgid ""
|
||||
"* All mentionned users should be displayed correctly in Twishort's long "
|
||||
"tweets. ([#116,](https://github.com/manuelcortez/TWBlue/issues/116)) ([#135]"
|
||||
"(https://github.com/manuelcortez/TWBlue/issues/135))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:56
|
||||
msgid ""
|
||||
"* It is possible to select a language for OCR service from the extras panel, "
|
||||
"in the account settings dialogue. You can, however, set this to detect "
|
||||
"automatically. OCR should work better in languages with special characters "
|
||||
"or non-english symbols. ([#107](https://github.com/manuelcortez/TWBlue/"
|
||||
"issues/107))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:57
|
||||
msgid ""
|
||||
"* Fixed a problem with JAWS for Windows and TWBlue. Now JAWS will work "
|
||||
"normally in this update. [#100](https://github.com/manuelcortez/twblue/"
|
||||
"issues/100)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:58
|
||||
msgid "* And more ([#136,](https://github.com/manuelcortez/TWBlue/issues/136))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:59
|
||||
#, fuzzy
|
||||
msgid "## Changes in version 0.90"
|
||||
msgstr "## バージョン0.87での変更点"
|
||||
|
||||
#: ../doc/changelog.py:60
|
||||
msgid ""
|
||||
"* Fixed a bug in long tweet parsing that was making TWBlue to disconnect the "
|
||||
"streaming API. ([#103](https://github.com/manuelcortez/TWBlue/issues/103))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:61
|
||||
msgid ""
|
||||
"* Now OCR will work in images from retweets. It fixes a bug where TWBlue was "
|
||||
"detecting images but couldn't apply OCR on them. ([#105](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/105))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:62
|
||||
msgid ""
|
||||
"* TWBlue won't try to load tweets already deleted, made with Twishort. "
|
||||
"Before, if someone posted a long tweet but deleted it in the Twishort's "
|
||||
"site, TWBlue was trying to load the tweet and it was causing problems in all "
|
||||
"the client. ([#113](https://github.com/manuelcortez/TWBlue/issues/113))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:63
|
||||
msgid ""
|
||||
"* TWBlue shows an error message when you try to view the profile of an user "
|
||||
"that does not exist or has been suspended. ([#114,](https://github.com/"
|
||||
"manuelcortez/TWBlue/issues/114) [#115](https://github.com/manuelcortez/"
|
||||
"TWBlue/issues/115))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:64
|
||||
msgid ""
|
||||
"* The spellchecker module should select the right language when is set to "
|
||||
"\"user default\". ([#117](https://github.com/manuelcortez/TWBlue/issues/117))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:65
|
||||
msgid ""
|
||||
"* Image description will be displayed in retweets too. ([#119](https://"
|
||||
"github.com/manuelcortez/TWBlue/issues/119))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:66
|
||||
msgid ""
|
||||
"* When reading a long tweet, you shouldn't read strange entities anymore. "
|
||||
"([#118](https://github.com/manuelcortez/twblue/issues/118))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:67
|
||||
msgid ""
|
||||
"* TWBlue will not try to load timelines if the user is blocking you. ([#125]"
|
||||
"(https://github.com/manuelcortez/twblue/issues/125))"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:68
|
||||
#, fuzzy
|
||||
msgid "## Changes in version 0.88 and 0.89"
|
||||
msgstr "## バージョン0.82および0.83での変更点"
|
||||
|
||||
#: ../doc/changelog.py:69
|
||||
msgid "* Fixed more issues with streams and reconnections."
|
||||
msgstr "* ストリームと再接続に関するその他の問題を修正。"
|
||||
|
||||
#: ../doc/changelog.py:70
|
||||
msgid "* newer updates will indicate the release date in the updater."
|
||||
msgstr "* アップデータでリリース日を通知するように変更。"
|
||||
|
||||
#: ../doc/changelog.py:71
|
||||
msgid ""
|
||||
"* Changes to keystrokes are reflected in keystroke editor automatically."
|
||||
msgstr ""
|
||||
"* 変更したキーストロークがキーストロークエディタに反映されるように変更。"
|
||||
|
||||
#: ../doc/changelog.py:72
|
||||
msgid ""
|
||||
"* In replies with multiple users, if the mention to all checkbox is "
|
||||
"unchecked, you will see a checkbox per user so you will be able to control "
|
||||
"who will be mentioned in the reply."
|
||||
msgstr ""
|
||||
"* リプライに複数のユーザーが含まれている場合に、「全員にメンション」がチェッ"
|
||||
"クされていないとき、ユーザーごとにチェックボックスを表示し、誰に返信するか制"
|
||||
"御できるようにした。"
|
||||
|
||||
#: ../doc/changelog.py:73
|
||||
msgid ""
|
||||
"* Fixed a bug that caused duplicated user mentions in replies when the tweet "
|
||||
"was made with Twishort."
|
||||
msgstr ""
|
||||
"* 返信時にTwishortを利用してツイートを作成した際に、ユーザーが重複していたバ"
|
||||
"グを修正。"
|
||||
|
||||
#: ../doc/changelog.py:74
|
||||
msgid ""
|
||||
"* Retweets should be displayed normally again when the originating tweet is "
|
||||
"a Twishort's long tweet."
|
||||
msgstr ""
|
||||
"* 元のツイートがTwishortで作成した長いツイートのとき、リツイートが正常に表示"
|
||||
"されるように修正。"
|
||||
|
||||
#: ../doc/changelog.py:75
|
||||
msgid ""
|
||||
"* Changed the way TWBlue saves user timelines in configuration. Now it uses "
|
||||
"user IDS instead usernames. With user IDS, if an user changes the username, "
|
||||
"TWBlue still will create his/her timeline. This was not possible by using "
|
||||
"usernames."
|
||||
msgstr ""
|
||||
"* ユーザータイムラインの設定の保存方法を変更。ユーザー名の代わりにユーザーID"
|
||||
"を利用しています。ユーザーIDで保存することにより、ユーザー名を変えてもタイム"
|
||||
"ラインを作成することができます。ユーザー名を利用した場合は、これはできません"
|
||||
"でした。"
|
||||
|
||||
#: ../doc/changelog.py:76
|
||||
msgid ""
|
||||
"* Added a new setting in the account settings dialogue that makes TWBlue to "
|
||||
"show twitter usernames instead the full name."
|
||||
msgstr ""
|
||||
"* アカウント設定ダイアログにTWBlueが表示名の代わりにユーザー名を表示する項目"
|
||||
"を追加。"
|
||||
|
||||
#: ../doc/changelog.py:77
|
||||
msgid ""
|
||||
"* Added OCR in twitter pictures. There is a new item in the tweet menu that "
|
||||
"allows you to extract and display text in images. Also the keystroke alt+Win"
|
||||
"+o has been added for the same purpose from the invisible interface."
|
||||
msgstr ""
|
||||
"* ツイートに添付された画像をOCRする機能を追加。ツイートメニュー内に画像内のテ"
|
||||
"キストを抽出して表示する項目を追加しました。また、GUI非表示インターフェイス"
|
||||
"で、ALT + Windows + Oでもこの機能を実行することができます。"
|
||||
|
||||
#: ../doc/changelog.py:78
|
||||
msgid "* Now TWBlue will play a sound when the focused tweet contains images."
|
||||
msgstr "* 画像付きツイートを音声で通知するようにした。"
|
||||
|
||||
#: ../doc/changelog.py:79
|
||||
msgid ""
|
||||
"* Your own quoted tweets will not appear in the mentions buffer anymore."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:80
|
||||
msgid ""
|
||||
"* The config file is saved in a different way, it should fix the bug where "
|
||||
"TWBlue needs to be restarted after the config folder is deleted."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:81
|
||||
msgid "* Mentioning people from friends or followers buffers works again."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:82
|
||||
msgid ""
|
||||
"* Support for proxy servers has been improved. Now TWBlue supports http, "
|
||||
"https, socks4 and socks5 proxies, with and without autentication."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:83
|
||||
msgid "## Changes in version 0.87"
|
||||
msgstr "## バージョン0.87での変更点"
|
||||
|
||||
#: ../doc/changelog.py:84
|
||||
msgid "* Fixed stream connection errors."
|
||||
msgstr "* ストリーム接続時のエラーを修正。"
|
||||
|
||||
#: ../doc/changelog.py:85
|
||||
msgid ""
|
||||
"* Now TWBlue can handle properly a reply to the sender without including all "
|
||||
"other mentioned users."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:86
|
||||
msgid "* Updated translations."
|
||||
msgstr "* 翻訳を更新。"
|
||||
|
||||
#: ../doc/changelog.py:87
|
||||
msgid ""
|
||||
"* The status of the mention to all checkbox will be remembered the next time "
|
||||
"you reply to multiple users."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:88
|
||||
msgid "## Changes in version 0.86"
|
||||
msgstr "## バージョン0.86での変更点"
|
||||
|
||||
#: ../doc/changelog.py:89
|
||||
msgid ""
|
||||
"* Fixed a very important security issue. Now TWBlue will send tweets to "
|
||||
"twishort without using any other server."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:90
|
||||
msgid ""
|
||||
"* When you add a comment to a tweet, it will be sent as a quoted tweet, even "
|
||||
"if your reply plus the original tweet is not exceeding 140 characters."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:91
|
||||
msgid ""
|
||||
"* Updated windows 10 keymap for reflecting changes made in the last windows "
|
||||
"10 build."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:92
|
||||
msgid "* Added last changes in the twitter API."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:93
|
||||
msgid ""
|
||||
"* When replying, it will not show the twitter username in the text box. When "
|
||||
"you send the tweet, the username will be added automatically."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:94
|
||||
msgid ""
|
||||
"* When replying to multiple users, you'll have a checkbox instead a button "
|
||||
"for mentioning all people. If this is checked, twitter usernames will be "
|
||||
"added automatically when you send your reply."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:95
|
||||
msgid "## Changes in version 0.85"
|
||||
msgstr "## バージョン0.85での変更点"
|
||||
|
||||
#: ../doc/changelog.py:96
|
||||
msgid "* Long and quoted tweets should be displayed properly In lists."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:97
|
||||
msgid "* The connection should be more stable."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:98
|
||||
msgid "* Added an autostart option in the global settings dialogue."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:99
|
||||
msgid "* Updated translation."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:100
|
||||
msgid "* Updated russian documentation."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:101
|
||||
msgid "* Tweets in cached database should be loaded properly."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:102
|
||||
msgid "* Added some missed dictionaries for spelling correction."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:103
|
||||
msgid ""
|
||||
"* Timelines, lists and other buffer should be created in the right order at "
|
||||
"startup."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:104
|
||||
msgid "## Changes in version 0.84 "
|
||||
msgstr "## バージョン0.84での変更点"
|
||||
|
||||
#: ../doc/changelog.py:105
|
||||
msgid "* More improvements in quoted and long tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:106
|
||||
msgid ""
|
||||
"* Updated translations: Russian, Italian, French, Romanian, Galician and "
|
||||
"Finnish."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:107
|
||||
msgid ""
|
||||
"* Improvements in the audio uploader module: Now it can handle audio with "
|
||||
"non-english characters."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:108
|
||||
msgid ""
|
||||
"* the title of the window should be updated properly when spellcheck, "
|
||||
"translate or shorten/unshorten URL buttons are pressed."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:109
|
||||
msgid ""
|
||||
"* the bug that changes the selected tweet in the home timeline shouldn't be "
|
||||
"happening so often."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:110
|
||||
msgid "## Changes in version 0.82 and 0.83"
|
||||
msgstr "## バージョン0.82および0.83での変更点"
|
||||
|
||||
#: ../doc/changelog.py:111
|
||||
msgid ""
|
||||
"* If the tweet source (client) is an application with unicode characters "
|
||||
"(example: российская газета) it will not break the tweet displayer."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:112
|
||||
msgid ""
|
||||
"* Added a new field for image description in tweet displayer. When "
|
||||
"available, it will show description for images posted in tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:113
|
||||
msgid ""
|
||||
"* users can add image descriptions to their photos. When uploading an image, "
|
||||
"a dialog will show for asking a description."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:114
|
||||
msgid "* Redesigned upload image dialog."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:115
|
||||
msgid "* Fixed photo uploads when posting tweets."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:116
|
||||
msgid ""
|
||||
"* When getting tweets for a conversation, ignores deleted tweets or some "
|
||||
"errors, now TWBlue will try to get as much tweets as possible, even if some "
|
||||
"of these are no longer available."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:117
|
||||
msgid "* Added audio playback from soundcloud."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:118
|
||||
msgid "* Now the session mute option don't makes the screen reader speaks."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:119
|
||||
msgid "* Fixed the direct message dialog. Now it should be displayed properly."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:120
|
||||
msgid ""
|
||||
"* when a tweet is deleted in twitter, TWBlue should reflect this change and "
|
||||
"delete that tweet in every buffer it is displayed."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:121
|
||||
msgid ""
|
||||
"* If your session is broken, TWBlue will be able to remove it automatically "
|
||||
"instead just crashing."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:122
|
||||
msgid "* audio uploader should display the current progress."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:123
|
||||
msgid ""
|
||||
"* users can disable the check for updates feature at startup from the "
|
||||
"general tab, in the global settings dialogue."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:124
|
||||
msgid ""
|
||||
"* The invisible interface and the window should be synchronized when the "
|
||||
"client reconnects."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:125
|
||||
msgid "* The documentation option in the systray icon should be enabled."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:126
|
||||
msgid ""
|
||||
"* In trending buffers, you can press enter for posting a tweet about the "
|
||||
"focused trend."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:127
|
||||
msgid ""
|
||||
"* Updated russian documentation and main program interface (thanks to "
|
||||
"Natalia Hedlund (Наталья Хедлунд), [@lifestar_n](https://twitter.com/"
|
||||
"lifestar_n) in twitter)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:128
|
||||
msgid "* updated translations."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:129
|
||||
msgid "## Changes in Version 0.81"
|
||||
msgstr "## バージョン0.81での変更点"
|
||||
|
||||
#: ../doc/changelog.py:130
|
||||
msgid "* Updated translations"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:131
|
||||
msgid ""
|
||||
"* The updater module has received some improvements. Now it includes a "
|
||||
"Mirror URL for checking updates if the main URL is not available at the "
|
||||
"moment. If something is wrong and both locations don't work, the program "
|
||||
"will start anyway."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:132
|
||||
msgid "* some GUI elements now use keyboard shortcuts for common actions."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:133
|
||||
msgid "* fixed a bug in the geolocation dialog."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:134
|
||||
msgid "* the chicken nugget keymap should work properly."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:135
|
||||
msgid ""
|
||||
"* Added a new soundpack to the default installation of TWBlue, thanks to "
|
||||
"[@Deng90](https://twitter.com/deng90)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:136
|
||||
msgid "* Now the changelog is written in an html File."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:137
|
||||
msgid ""
|
||||
"* Added some missed dictionaries in last version for the spell checking "
|
||||
"feature."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:138
|
||||
msgid ""
|
||||
"* Trimmed the beginnings of the sounds in the default soundpack. Thanks to "
|
||||
"[@masonasons](https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:139
|
||||
msgid ""
|
||||
"* Added Opus support for sound playback in TWBlue. Thanks to [@masonasons]"
|
||||
"(https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:140
|
||||
msgid ""
|
||||
"* Added a source field in view tweet dialogue. Thanks to [@masonasons]"
|
||||
"(https://github.com/masonasons)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:141
|
||||
msgid ""
|
||||
"* You can load previous items in followers and friend buffers for others."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:142
|
||||
msgid ""
|
||||
"* The Spell Checker dialogue should not display an error message when you "
|
||||
"have set \"default language\" in the global settings dialogue if your "
|
||||
"language is supported [#168](http://twblue.es/bugs/view.php?id=168)"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:143
|
||||
msgid "* Updated romanian translation."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:144
|
||||
msgid "* Some code cleanups."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:145
|
||||
msgid "* The bug reports feature is fully operational again."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:146
|
||||
msgid ""
|
||||
"* TWBlue should work again for users that contains special characters in "
|
||||
"windows usernames."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:147
|
||||
msgid "* Added more options for the tweet searches."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:148
|
||||
msgid "* Added play_audio to the keymap editor."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:149
|
||||
msgid "* Windows key is no longer required in the keymap editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:150
|
||||
msgid "* Switched to the Microsoft translator."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:151
|
||||
msgid ""
|
||||
"* You can update the current buffer by pressing ctrl+win+shift+u in the "
|
||||
"default keymap or in the buffer menu."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:152
|
||||
msgid "* Changed some keystrokes in the windows 10 default keymap"
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:153
|
||||
msgid "* New followers and friends buffer for user timelines."
|
||||
msgstr ""
|
||||
|
||||
#: ../doc/changelog.py:154
|
||||
msgid "---"
|
||||
msgstr "---"
|
||||
|
||||
#: ../doc/changelog.py:155
|
||||
#, fuzzy
|
||||
msgid "Copyright © 2014-2017, Manuel Cortez."
|
||||
msgstr "Copyright © 2014-2016, Manuel Cortez."
|
||||
|
||||
#~ msgid "\\357\\273\\277TWBlue Changelog"
|
||||
#~ msgstr "\\357\\273\\277TWBlue 更新履歴"
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
doc/locales/ro/LC_MESSAGES/twblue-changelog.mo
Normal file
BIN
doc/locales/ro/LC_MESSAGES/twblue-changelog.mo
Normal file
Binary file not shown.
1145
doc/locales/ro/LC_MESSAGES/twblue-changelog.po
Normal file
1145
doc/locales/ro/LC_MESSAGES/twblue-changelog.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.
2646
doc/locales/ro/LC_MESSAGES/twblue-documentation.po
Normal file
2646
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-changelog.mo
Normal file
BIN
doc/locales/ru/lc_messages/twblue-changelog.mo
Normal file
Binary file not shown.
1140
doc/locales/ru/lc_messages/twblue-changelog.po
Normal file
1140
doc/locales/ru/lc_messages/twblue-changelog.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.
1938
doc/locales/ru/lc_messages/twblue-documentation.po
Normal file
1938
doc/locales/ru/lc_messages/twblue-documentation.po
Normal file
File diff suppressed because it is too large
Load Diff
353
doc/manual.md
Normal file
353
doc/manual.md
Normal file
@@ -0,0 +1,353 @@
|
||||
Documentation for TWBlue - 0.88
|
||||
|
||||
## Table of contents
|
||||
|
||||
[TOC]
|
||||
|
||||
## Warning!
|
||||
|
||||
You are reading documentation produced for a program still in development. The object of this manual is to explain some details of the operation of the program. Bear in mind that as the software is in the process of active development, parts of this user guide may change in the near future, so it is advisable to keep checking from time to time to avoid missing important information.
|
||||
|
||||
If you want to see what has changed from the previous version, [read the list of updates here.](changes.html)
|
||||
|
||||
## Introduction
|
||||
|
||||
TWBlue is an application to make Twitter simple and fast, while using as few resources as possible. With TWBlue, you can do things like the following:
|
||||
|
||||
* Tweet, reply to, retweet and delete tweets,
|
||||
* Like and unlike a tweet,
|
||||
* Send and delete direct messages,
|
||||
* See your friends and followers,
|
||||
* Follow, unfollow, report and block a user,
|
||||
* Open a user's timeline to see their tweets separately,
|
||||
* Open URLs from a tweet or direct message,
|
||||
* Play several types of audio files from addresses,
|
||||
* And more.
|
||||
|
||||
## Usage
|
||||
|
||||
Twitter is a social networking or micro-blogging tool which allows you to compose short status updates of your activities in 280 characters or less. 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.
|
||||
|
||||
You can monitor the status of updates from your friends, family or co-workers (known as following), and they in turn can read any updates you create, (known as followers). The updates are referred to as Tweets. The Tweets are posted to your Twitter profile or Blog and are searchable using Twitter Search.
|
||||
|
||||
In order to use TWBlue, you must first have created an account on the Twitter website. The process for signing up for a Twitter account is very accessible. During the account registration, you will need to choose a Twitter username. This serves two purposes. This is the method through which people will comunicate with you, but most importantly, your username and password will be required to connect TWBlue to your Twitter account. We suggest you choose a username which is memorable both to you and the people you hope will follow you.
|
||||
|
||||
We'll start from the premise that you have a Twitter account with its corresponding username and password.
|
||||
|
||||
### Authorising the application
|
||||
|
||||
First of all, it's necessary to authorise the program so it can access your Twitter account and act on your behalf. The authorisation process is quite simple, and the program never retains data such as your password. In order to authorise the application, you just need to run the main executable file, called TWBlue.exe (on some computers it may appear simply as TWBlue if Windows Explorer is not set to display file extensions). We suggest you may like to place a Windows shortcut on your Desktop pointing to this executable file for quick and easy location.
|
||||
|
||||
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.
|
||||
|
||||
Your default browser will open on the Twitter page to request authorisation. Enter your username and password into the appropriate edit fields if you're not already logged in, select the authorise button, and press it.
|
||||
|
||||
Once you've authorised your twitter account, the website will redirect you to a page which will notify you that TWBlue has been authorised successfully. Now you are able to close the page by pressing ALT+F4 which will return you to the Session Manager. On the session list, you will see a new item temporarily called "Authorised account x" -where x is a number. The session name will change once you open that session.
|
||||
|
||||
To start running TWBlue, press the Ok button in the Session Manager dialogue. By default, the program starts all the configured sessions automatically, however, you can change this behavior.
|
||||
|
||||
If all went well, the application will start playing sounds, indicating your data is being updated.
|
||||
|
||||
When the process is finished, by default the program will play another sound, and the screen reader will say "ready" (this behaviour can be configured).
|
||||
|
||||
## General concepts
|
||||
|
||||
Before starting to describe TWBlue's usage, we'll explain some concepts that will be used extensively throughout this manual.
|
||||
|
||||
### Buffer
|
||||
|
||||
A buffer is a list of items to manage the data which arrives from Twitter, after being processed by the application. When you configure a new session on TWBlue and start it, many buffers are created. Each of them may contain some of the items which this program works with: Tweets, direct messages, users, trends or events. According to the buffer you are focusing, you will be able to do different actions with these items.
|
||||
|
||||
The following is a description for every one of TWBlue's buffers and the kind of items they work with.
|
||||
|
||||
* Home: this shows all the tweets on the main timeline. These are the tweets by users you follow.
|
||||
* Mentions: if a user, whether you follow them or not, mentions you on Twitter, you will find it in this list.
|
||||
* Direct messages: here you will find the private direct messages you exchange with users who follow you , or with any user, if you allow direct messages from everyone (this setting is configurable from Twitter). This list only shows received messages.
|
||||
* Sent direct messages: this buffer shows all the direct messages sent from your account.
|
||||
* Sent tweets: this shows all the tweets sent from your account.
|
||||
* Likes: here you will see all the tweets you have liked.
|
||||
* Followers: when users follow you, you'll be able to see them on this buffer, with some of their account details.
|
||||
* Friends: the same as the previous buffer, but these are the users you follow.
|
||||
* User timelines: these are buffers you may create. They contain only the tweets by a specific user. They're used so you can see the tweets by a single person and you don't want to look all over your timeline. You may create as many as you like.
|
||||
* Events: An event is anything that happens on Twitter, such as when someone follows you, when someone adds or removes one of your tweets from their likes list, or when you subscribe to a list. There are many more, but the program shows the most common ones in the events buffer so that you can easily keep track of what is happening on your account.
|
||||
* Lists: A list is similar to a user timeline, except that you can configure it to contain tweets from multiple users.
|
||||
* Search: A search buffer contains the results of a search operation.
|
||||
* User likes: You can have the program create a buffer containing tweets liked by a particular user.
|
||||
* Trending Topics: a trend buffer shows the top ten most used terms in a geographical region. This region may be a country or a city. Trends are updated every five minutes.
|
||||
|
||||
If a tweet contains a URL, you can press enter in the GUI or Control + Windows + Enter in the invisible interface to open it. If it contains audio, you can press Control + Enter or Control + Windows + Alt + Enter to play it, respectively. TWBlue will play a sound if the tweet contains the \#audio hashtag, but there may be tweets which contain audio without this. Finally, if a tweet contains geographical information, you can press Control + Windows + G in the invisible interface to retrieve it.
|
||||
|
||||
### Username fields
|
||||
|
||||
These fields accept a Twitter username (without the at sign) as the input. They are present in the send direct message and the user actions dialogue boxes. Those dialogues will be discussed later. The initial value of these fields depends on where they were opened from. They are prepopulated with the username of the sender of the focused tweet (if they were opened from the home and sent timelines, from users' timelines or from lists), the sender of the focused direct message (if from the received or sent direct message buffers) or in the focused user (if from the followers' or friends' buffer). If one of those dialogue boxes is opened from a tweet, and if there are more users mentioned in it, you can use the arrow keys to switch between them. Alternatively, you can also type a username.
|
||||
|
||||
## The program's interfaces
|
||||
|
||||
### The graphical user interface (GUI)
|
||||
|
||||
The graphical user interface of TWBlue consists of a window containing:
|
||||
|
||||
* a menu bar accomodating six menus (application, tweet, user, buffer, audio and help);
|
||||
* One tree view,
|
||||
* One list of items
|
||||
* Four buttons in most dialogs: Tweet, retweet , reply and direct message.
|
||||
|
||||
The actions that are available for every item will be described later.
|
||||
|
||||
In summary, the GUI contains two core components. These are the controls you will find while pressing the Tab key within the program's interface, and the different elements present on the menu bar.
|
||||
|
||||
#### Buttons in the application
|
||||
|
||||
* Tweet: this button opens up a dialogue box to write your tweet. Normal tweets must not exceed 280 characters. However you can press the long tweet checkbox and your tweet will be posted throught Twishort, wich will allow you to write longer tweets (10000 characters). If you write past this limit, a sound will play to warn you. Note that the character count is displayed in the title bar. You may use the shorten and expand URL buttons to comply with the character limit. You can upload a picture, check spelling, attach audio or translate your message by selecting one of the available buttons in the dialogue box. In addition, you can autocomplete the entering of users by pressing Alt + C or the button for that purpose if you have the database of users configured. Press enter to send the tweet. If all goes well, you'll hear a sound confirming it. Otherwise, the screen reader will speak an error message in English describing the problem.
|
||||
* Retweet: this button retweets the message you're reading. After you press it, if you haven't configured the application not to do so, you'll be asked if you want to add a comment or simply send it as written. If you choose to add a comment, it will post a quoted tweet, that is, the comment with a link to the originating tweet.
|
||||
* Reply: when you're viewing a tweet, you can reply to the user who sent it by pressing this button. A dialogue will open up similar to the one for tweeting. If there are more users referred to in the tweet, you can press tab and activate the mention to all checkbox, or enabling checkbox for the users you want to mention separately. When you're on the friends or followers lists, the button will be called mention instead.
|
||||
* Direct message: exactly like sending a tweet, but it's a private message which can only be read by the user you send it to. Press shift-tab twice to see the recipient. If there were other users mentioned in the tweet you were reading, you can arrow up or down to choose which one to send it to, or write the username yourself without the at sign. In addition, you can autocomplete the entering of users by pressing Alt + C or the button for that purpose if you have the database of users configured.
|
||||
|
||||
Bear in mind that buttons will appear according to which actions are possible on the list you are browsing. For example, on the home timeline, mentions, sent, likes and user timelines you will see the four buttons, while on the direct messages list you'll only get the direct message and tweet buttons, and on friends and followers lists the direct message, tweet, and mention buttons will be available.
|
||||
|
||||
#### Menus
|
||||
|
||||
Visually, Towards the top of the main application window, can be found a menu bar which contains many of the same functions as listed in the previous section, together with some additional items. To access the menu bar, press the alt key. You will find six menus listed: application, tweet, user, buffer, audio and help. This section describes the items on each one of them.
|
||||
|
||||
##### Application menu
|
||||
|
||||
* Manage accounts: Opens a window with all the sessions configured in TWBlue, where you can add new sessions or delete the ones you've already created.
|
||||
* 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.
|
||||
* Hide window: turns off the Graphical User Interface. Read the section on the invisible interface for further details.
|
||||
* Search: shows a dialogue box where you can search for tweets or users on Twitter.
|
||||
* Lists Manager: This dialogue box allows you to manage your Twitter lists. In order to use them, you must first create them. Here, you can view, edit, create, delete or, optionally, open them in buffers similar to user timelines.
|
||||
* Edit keystrokes: this opens a dialogue where you can see and edit the shortcuts used in the invisible interface.
|
||||
* Account settings: Opens a dialogue box which lets you customize settings for the current account.
|
||||
* Global settings: Opens a dialogue which lets you configure settings for the entire application.
|
||||
* 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.
|
||||
|
||||
##### Tweet menu
|
||||
|
||||
* You will first find the items to tweet, reply and retweet, which are equivalent to the buttons with the same name.
|
||||
* Like: Adds the tweet you're viewing to your likes list.
|
||||
* Unlike: removes the tweet from your likes, but not from Twitter.
|
||||
* Show tweet: opens up a dialogue box where you can read the tweet, direct message, friend or follower which has focus. You can read the text with the arrow keys. It's a similar dialog box as used for composing tweets, without the ability to send the tweet, file attachment and autocompleting capabilities. It does however include a retweets and likes count. If you are in the followers or the friends list, it will only contain a read-only edit box with the information in the focused item and a close button.
|
||||
* 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.
|
||||
* View conversation: If you are focusing a tweet with a mention, it opens a buffer where you can view the whole conversation.
|
||||
* Read text in pictures: Attempt to apply OCR technology to the image attached to the tweet. The result will be displayed in another dialog.
|
||||
* Delete: permanently removes the tweet or direct message which has focus from Twitter and from your lists. Bear in mind that Twitter only allows you to delete tweets you have posted yourself.
|
||||
|
||||
##### User menu
|
||||
|
||||
* Actions: Opens a dialogue where you can interact with a user. This dialogue box will be populated with the user who sent the tweet or direct message in focus or the selected user in the friends or followers buffer. You can edit it or leave it as is and choose one of the following actions:
|
||||
* 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.
|
||||
* 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.
|
||||
* Mute: While muting someone, TWBlue won't show you nor his/her tweets on your main timeline; neither will you see that person's mentions. But you both will be able to exchange direct messages. The muted user is not informed of this action.
|
||||
* Unmute: this option allows TWBlue to display the user's tweets and mentions again.
|
||||
* Block: Blocks a user. This forces the user to unfollow you .
|
||||
* Unblock: Stops blocking a user.
|
||||
* Report as spam: this option sends a message to Twitter suggesting the user is performing prohibited practices on the social network.
|
||||
* Ignore tweets from this client: Adds the client from which the focused tweet was sent to the ignored clients list.
|
||||
* View timeline: Lets you open a user's timeline by choosing the user in a dialog box. It is created when you press enter. If you invoke this option relative to a user that has no tweets, the operation will fail. If you try creating an existing timeline the program will warn you and will not create it again.
|
||||
* Direct message: same action as the button.
|
||||
* Add to List: In order to see someone's tweets in one or more of your lists, you must add them first. In the dialogue box that opens after selecting the user, you will be asked to select the list you wish to add the user to. Thereafter, the list will contain a new member and their tweets will be displayed there.
|
||||
* Remove from list: lets you remove a user from a list.
|
||||
* View lists: Shows the lists created by a specified user.
|
||||
* Show user profile: opens a dialogue with the profile of the specified user.
|
||||
* View likes: Opens a buffer where you can see the tweets which have been liked by a particular user.
|
||||
|
||||
##### Buffer menu
|
||||
|
||||
* New trending topics buffer: This opens a buffer to get the worlwide trending topics or those of a country or a city. You'll be able to select from a dialogue box if you wish to retrieve countries' trends, cities' trends or worldwide trends (this option is in the cities' list) and choose one from the selected list. The trending topics buffer will be created once the "OK" button has been activated within the dialogue box. Remember this kind of buffer will be updated every five minutes.
|
||||
* Load previous items: This allows more items to be loaded for the specified buffer.
|
||||
* Mute: Mutes notifications of a particular buffer so you will not hear when new tweets arrive.
|
||||
* autoread: When enabled, the screen reader or SAPI 5 Text to Speech voice (if enabled) will read the text of incoming tweets. Please note that this could get rather chatty if there are a lot of incoming tweets.
|
||||
* Clear buffer: Deletes all items from the buffer.
|
||||
* Destroy: dismisses the list you're on.
|
||||
|
||||
##### Audio menu
|
||||
|
||||
* Play/pause: try to play audio for the selected item (if available), or stop the currently played audio.
|
||||
* Seek back 5 seconds: If an audio is being played, seek 5 seconds back in the playback. This will work only in audio files. This feature cannot be used in radio stations or other streamed files.
|
||||
* Seek forward 5 seconds: If an audio is being played, seek 5 seconds forward in the playback. This feature cannot be used in radio stations or other streamed files.
|
||||
|
||||
##### Help menu
|
||||
|
||||
* Documentation: opens up this file, where you can read some useful program concepts.
|
||||
* Sounds tutorial: Opens a dialog box where you can familiarize yourself with the different sounds of the program.
|
||||
* What's new in this version?: opens up a document with the list of changes from the current version to the earliest.
|
||||
* Check for updates: every time you open the program it automatically checks for new versions. If an update is available, it will ask you if you want to download the update. If you accept, the updating process will commence. When complete, TWBlue will be restarted. This item checks for new updates without having to restart the application.
|
||||
* TWBlue's website: visit our [home page](http://twblue.es) where you can find all relevant information and downloads for TWBlue and become a part of the community.
|
||||
* About TWBlue: shows the credits of the program.
|
||||
|
||||
### The invisible user interface
|
||||
|
||||
The invisible interface, as its name suggests, has no graphical window and 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, 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.
|
||||
|
||||
The next section contains a list of keyboard shortcuts for both interfaces. Bear in mind that we will only describe the default keymap.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
### Shortcuts of the graphical user interface (GUI)
|
||||
|
||||
* Enter: Open URL.
|
||||
* Control + Enter: Play audio.
|
||||
* Control + M: Hide the GUI.
|
||||
* Control + N: Compose a new tweet.
|
||||
* Control + R: Reply / mention.
|
||||
* Control + Shift + R: Retweet.
|
||||
* Control + D: Send a direct message.
|
||||
* control + F: Add tweet to likes.
|
||||
* Control + Shift + F: Remove a tweet from likes.
|
||||
* Control + S: Open the user actions dialogue.
|
||||
* Control + Shift + V: Show tweet.
|
||||
* Control + Q: Quit this program.
|
||||
* Control + I: Open user timeline.
|
||||
* Control + Shift + i: Destroy buffer.
|
||||
* F5: Increase volume by 5%.
|
||||
* F6: Decrease volume by 5%.
|
||||
* Control + P: Edit your profile.
|
||||
* Control + Delete: Delete a tweet or direct message.
|
||||
* Control + Shift + Delete: Empty the current buffer.
|
||||
|
||||
### Shortcuts of the invisible interface (default keymap)
|
||||
|
||||
The invisible interface of TWBlue can be customised by using a keymap. Every keymap defines a set of keystrokes to be used along with the invisible interface. You can change the keymap in the global settings dialogue, under the application menu in the menu bar, and check or edit keystrokes for the selected keymap in the keystroke editor, also available in the application menu.
|
||||
|
||||
* Control + Windows + Up Arrow: moves to the previous item in the buffer.
|
||||
* Control + Windows + Down Arrow: moves to the next item in the buffer.
|
||||
* Control + Windows + Left Arrow: Move to the previous buffer.
|
||||
* Control + Windows + Right Arrow: Move to the next buffer.
|
||||
* Control + Windows + Shift + Left: Focus the previous session.
|
||||
* Control + Windows + Shift + Right: Focus the next session.
|
||||
* Control + Windows + C: View conversation.
|
||||
* Control + Windows + Enter: Open URL.
|
||||
* Control + Windows + ALT + Enter: Play audio.
|
||||
* Control + Windows + M: Show or hide the GUI.
|
||||
* Control + Windows + N: New tweet.
|
||||
* Control + Windows + R: Reply / Mention.
|
||||
* Control + Windows + Shift + R: Retweet.
|
||||
* Control + Windows + D: Send direct message.
|
||||
* Windows+ Alt + F: Like a tweet.
|
||||
* Alt + Windows + Shift + F: Remove from likes.
|
||||
* Control + Windows + S: Open the user actions dialogue.
|
||||
* Control + Windows + Alt + N: See user details.
|
||||
* Control + Windows + V: Show tweet.
|
||||
* Control + Windows + F4: Quit TWBlue.
|
||||
* Control + Windows + I: Open user timeline.
|
||||
* Control + Windows + Shift + I: Destroy buffer.
|
||||
* Control + Windows + Alt + Up: Increase volume by 5%.
|
||||
* Control + Windows + Alt + Down: Decrease volume by 5%.
|
||||
* Control + Windows + Home: Jump to the first element of the current buffer.
|
||||
* Control + Windows + End: Jump to the last element of the current buffer.
|
||||
* Control + Windows + PageUp: Jump 20 elements up in the current buffer.
|
||||
* Control + Windows + PageDown: Jump 20 elements down in the current buffer.
|
||||
* Windows + Alt + P: Edit profile.
|
||||
* Control + Windows + Delete: Delete a tweet or direct message.
|
||||
* Control + Windows + Shift + Delete: Empty the current buffer.
|
||||
* Control + Windows + Space: Repeat last item.
|
||||
* Control + Windows + Shift + C: Copy to clipboard.
|
||||
* Control + Windows+ A: Add user to list.
|
||||
* Control + Windows + Shift + A: Remove user from list.
|
||||
* Control + Windows + Shift + M: Mute / unmute the current buffer.
|
||||
* Windows + Alt + M: Mute / unmute the current session.
|
||||
* Control + Windows + E: Toggle the automatic reading of incoming tweets in the current buffer.
|
||||
* Control + Windows + -: Search on Twitter.
|
||||
* Control + Windows + K: Show the keystroke editor.
|
||||
* Control + Windows + L: Show lists for a specified user.
|
||||
* Windows + Alt + PageUp: Load previous items for the current buffer.
|
||||
* Control + Windows + G: Get geolocation.
|
||||
* Control + Windows + Shift + G: Display the tweet's geolocation in a dialogue.
|
||||
* Control + Windows + T: Create a trending topics' buffer.
|
||||
* Control + Windows + {: Find a string in the current buffer.
|
||||
* Alt + Windows + O: Extracts text from the picture and display the result in a dialog.
|
||||
|
||||
## Configuration
|
||||
|
||||
As described above, this application has two configuration dialogues, the global settings dialogue and the account settings dialogue.
|
||||
|
||||
### The account settings dialogue
|
||||
|
||||
#### General tab
|
||||
|
||||
* Autocompletion settings: Allows you to configure the autocompletion database. You can add users manually or let TWBlue add your followers, friends or both.
|
||||
* 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.
|
||||
* API calls: Allows you to adjust the number of API calls to be made to Twitter by this program.
|
||||
* 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).
|
||||
* Inverted buffers: Allows you to specify whether the buffers should be inverted, which means that the oldest items will show at the end of them and the newest at the beginning.
|
||||
* 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.
|
||||
* 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 number, 0 to cache all items, or leave blank to disable caching entirely.
|
||||
|
||||
#### buffers tab
|
||||
|
||||
This tab displays a list for each buffer you have available in TWBlue, except for searches, timelines, likes' timelines and lists. You can show, hide and move them.
|
||||
|
||||
#### The ignored clients tab
|
||||
|
||||
In this tab, you can add and remove clients to be ignored by the program.
|
||||
|
||||
#### Sound tab
|
||||
|
||||
In this tab, you can adjust the sound volume, select the input and output device and set the soundpack used by the program.
|
||||
|
||||
#### Audio service tab
|
||||
|
||||
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 anonimously.
|
||||
|
||||
### Global settings
|
||||
|
||||
This dialogue allows you to configure some settings which will affect the entire application.
|
||||
|
||||
#### General tab {#general-tab_1}
|
||||
|
||||
* 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.
|
||||
* Ask before exiting TWBlue: This checkbox allows you to control whetherthe program will ask for confirmation before exiting.
|
||||
* Play a sound when TWBlue launches: This checkbox allows you to configure whether the application will play a sound when it has finished loading the buffers.
|
||||
* Speak a message when TWBlue launches: This is the same as the previous option, but this checkbox configures whether the screen reader will say "ready".
|
||||
* 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 option is checked, the invisible interface's shortcuts will be usable in the GUI.
|
||||
* Activate SAPI5 when any other screen reader is not being run: This checkbox allows to activate SAPI 5 TTS when no other screen reader is being run.
|
||||
* Hide GUI on launch: This allows you to configure whether TWBlue will start with the GUI or the invisible interface.
|
||||
* 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.
|
||||
|
||||
#### Proxi tab
|
||||
|
||||
In this tab you can configure TWBlue to use a Proxy server by completing the fields displayed (type, server, port, user and password).
|
||||
|
||||
## License, source code and donations
|
||||
|
||||
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>.
|
||||
|
||||
The source code of the program is available on GitHub at <https://www.github.com/manuelcortez/twblue>.
|
||||
|
||||
If you want to donate to the project, you can do so at <https://twblue.es/donate>. Thank you for your support!
|
||||
|
||||
## Contact
|
||||
|
||||
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://twitter.com/manuelcortez00) You can also visit [our website](https://twblue.es)
|
||||
|
||||
## Credits
|
||||
|
||||
TWBlue is developed and maintained by [Manuel Cortéz](https://twitter.com/manuelcortez00) and [José Manuel Delicado](https://twitter.com/jmdaweb).
|
||||
|
||||
We would also like to thank the translators of TWBlue, who have allowed the spreading of the application.
|
||||
|
||||
* Arabic: [Mohammed Al Shara,](https://twitter.com/mohammed0204) [Hatoun Felemban](https://twitter.com/HatounFelemban)
|
||||
* Basque: [Sukil Etxenike](https://twitter.com/sukil2011).
|
||||
* Catalan: [Francisco Torres](https://twitter.com/ftgalleg)
|
||||
* Croatian: [Zvonimir Stanečić](https://twitter.com/zvonimirek222).
|
||||
* English: [Manuel Cortéz](https://twitter.com/manuelcortez00).
|
||||
* Finnish: [Jani Kinnunen](https://twitter.com/jani_kinnunen).
|
||||
* French: [Rémy Ruiz](https://twitter.com/blindhelp38).
|
||||
* Galician: [Juan Buño](https://twitter.com/Quetzatl_).
|
||||
* German: [Steffen Schultz](https://twitter.com/schulle4u).
|
||||
* Hungarian: Robert Osztolykan.
|
||||
* Italian: [Christian Leo Mameli](https://twitter.com/llajta2012).
|
||||
* Japanese: [Riku](https://twitter.com/_riku02)
|
||||
* Polish: [Pawel Masarczyk.](https://twitter.com/Piciok)
|
||||
* Portuguese: [Odenilton Júnior Santos.](https://twitter.com/romaleif)
|
||||
* Romanian: [Florian Ionașcu](https://twitter.com/florianionascu7) and [Nicușor Untilă](https://twitter.com/dj_storm2001)
|
||||
* Russian: [Наталья Хедлунд](https://twitter.com/Lifestar_n) and [Валерия Кузнецова](https://twitter.com/ValeriaK305).
|
||||
* Serbian: [Aleksandar Đurić](https://twitter.com/sokodtreshnje)
|
||||
* Spanish: [Manuel Cortéz](https://twitter.com/manuelcortez00).
|
||||
* Turkish: [Burak Yüksek](https://twitter.com/burakyuksek).
|
||||
|
||||
Many thanks also to the people who worked on the documentation. Initially, [Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in Spanish, and translated to English by [Bryner Villalobos](https://twitter.com/Bry_StarkCR), [Robert Spangler](https://twitter.com/glasscity1837), [Sussan Rey](https://twitter.com/sussanrey17), [Anibal Hernandez](https://twitter.com/AnimalMetal), and [Holly Scott-Gardner](https://twitter.com/CatchTheseWords). It was updated by [Sukil Etxenike](https://twitter.com/sukil2011), with some valuable corrections by [Brian Hartgen](https://twitter.com/brianhartgen) and [Bill Dengler](https://twitter.com/codeofdusk).
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
Copyright © 2013-2017. Manuel Cortéz
|
432
doc/strings.py
432
doc/strings.py
@@ -1,432 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import application
|
||||
documentation = []
|
||||
documentation.append(_(u"""Documentation for TWBlue - {0}""").format(application.version))
|
||||
# Translators: This is the new line character, don't change it in the translations.
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Table of contents"""))
|
||||
# Table of contents for the python markdown extension
|
||||
documentation.append("""[TOC]""")
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Warning!"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""You are reading documentation produced for a program still in development. The object of this manual is to explain some details of the operation of the program. Bear in mind that as the software is in the process of active development, parts of this user guide may change in the near future, so it is advisable to keep checking from time to time to avoid missing important information."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""If you want to see what has changed from the previous version, [read the list of updates here.](changes.html)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Introduction"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""TWBlue is an application to make Twitter simple and fast, while using as few resources as possible. With TWBlue, you can do things like the following:"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Tweet, reply to, retweet and delete tweets,"""))
|
||||
documentation.append(_(u"""* Mark and unmark a tweet as favourite,"""))
|
||||
documentation.append(_(u"""* Send and delete direct messages,"""))
|
||||
documentation.append(_(u"""* See your friends and followers,"""))
|
||||
documentation.append(_(u"""* Follow, unfollow, report and block a user,"""))
|
||||
documentation.append(_(u"""* Open a user's timeline to see their tweets separately,"""))
|
||||
documentation.append(_(u"""* Open URLs from a tweet or direct message,"""))
|
||||
documentation.append(_(u"""* Play several types of audio files from addresses,"""))
|
||||
documentation.append(_(u"""* And more."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Usage"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Twitter is a social networking or micro-blogging tool which allows you to compose short status updates of your activities in 140 characters or less. 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."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""You can monitor the status of updates from your friends, family or co-workers (known as following), and they in turn can read any updates you create, (known as followers). The updates are referred to as Tweets. The Tweets are posted to your Twitter profile or Blog and are searchable using Twitter Search."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""In order to use TWBlue, you must first have created an account on the Twitter website. The process for signing up for a Twitter account is very accessible. During the account registration, you will need to choose a Twitter username. This serves two purposes. This is the method through which people will comunicate with you, but most importantly, your username and password will be required to connect TWBlue to your Twitter account. We suggest you choose a username which is memorable both to you and the people you hope will follow you."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""We'll start from the premise that you have a Twitter account with its corresponding username and password."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Authorising the application"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""First of all, it's necessary to authorise the program so it can access your Twitter account and act on your behalf. The authorisation process is quite simple, and the program never retains data such as your password. In order to authorise the application, you just need to run the main executable file, called TWBlue.exe (on some computers it may appear simply as TWBlue if Windows Explorer is not set to display file extensions). We suggest you may like to place a Windows shortcut on your Desktop pointing to this executable file for quick and easy location."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""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."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Your default browser will open on the Twitter page to request authorisation. Enter your username and password into the appropriate edit fields if you're not already logged in, select the authorise button, and press it."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Once you've authorised your twitter account, the website will redirect you to a page which will notify you that TWBlue has been authorised successfully. Now you are able to close the page by pressing ALT+F4 which will return you to the Session Manager. On the session list, you will see a new item temporarily called "Authorised account x" -where x is a number. The session name will change once you open that session."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""To start running TWBlue, press the Ok button in the Session Manager dialogue. By default, the program starts all the configured sessions automatically, however, you can change this behavior."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""If all went well, the application will start playing sounds, indicating your data is being updated."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""When the process is finished, by default the program will play another sound, and the screen reader will say "ready" (this behaviour can be configured)."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## General concepts"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Before starting to describe TWBlue's usage, we'll explain some concepts that will be used extensively throughout this manual."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Buffer"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""A buffer is a list of items to manage the data which arrives from Twitter, after being processed by the application. When you configure a new session on TWBlue and start it, many buffers are created. Each of them may contain some of the items which this program works with: Tweets, direct messages, users, trends or events. According to the buffer you are focusing, you will be able to do different actions with these items."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The following is a description for every one of TWBlue's buffers and the kind of items they work with."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Home: this shows all the tweets on the main timeline. These are the tweets by users you follow."""))
|
||||
documentation.append(_(u"""* Mentions: if a user, whether you follow them or not, mentions you on Twitter, you will find it in this list."""))
|
||||
documentation.append(_(u"""* Direct messages: here you will find the private direct messages you exchange with users who follow you , or with any user, if you allow direct messages from everyone (this setting is configurable from Twitter). This list only shows received messages."""))
|
||||
documentation.append(_(u"""* Sent direct messages: this buffer shows all the direct messages sent from your account."""))
|
||||
documentation.append(_(u"""* Sent tweets: this shows all the tweets sent from your account."""))
|
||||
documentation.append(_(u"""* Favourites: here you will see all the tweets you have favourited."""))
|
||||
documentation.append(_(u"""* Followers: when users follow you, you'll be able to see them on this buffer, with some of their account details."""))
|
||||
documentation.append(_(u"""* Friends: the same as the previous buffer, but these are the users you follow."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* 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 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."""))
|
||||
documentation.append(_(u"""* Lists: A list is similar to a user timeline, except that you can configure it to contain tweets from multiple users."""))
|
||||
documentation.append(_(u"""* Search: A search buffer contains the results of a search operation."""))
|
||||
documentation.append(_(u"""* User favourites: You can have the program create a buffer containing tweets favourited by a particular user."""))
|
||||
documentation.append(_(u"""* Trending Topics: a trend buffer shows the top ten most used terms in a geographical region. This region may be a country or a city. Trends are updated every five minutes."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""If a tweet contains a URL, you can press enter in the GUI or Control + Windows + Enter in the invisible interface to open it. If it contains audio, you can press Control + Enter or Control + Windows + Alt + Enter to play it, respectively. TWBlue will play a sound if the tweet contains the #audio hashtag, but there may be tweets which contain audio without this. Finally, if a tweet contains geographical information, you can press Control + Windows + G in the invisible interface to retrieve it."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Username fields"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""These fields accept a Twitter username (without the at sign) as the input. They are present in the send direct message and the user actions dialogue boxes. Those dialogues will be discussed later. The initial value of these fields depends on where they were opened from. They are prepopulated with the username of the sender of the focused tweet (if they were opened from the home and sent timelines, from users' timelines or from lists), the sender of the focused direct message (if from the received or sent direct message buffers) or in the focused user (if from the followers' or friends' buffer). If one of those dialogue boxes is opened from a tweet, and if there are more users mentioned in it, you can use the arrow keys to switch between them. Alternatively, you can also type a username."""))
|
||||
documentation.append(_(u"""## The program's interfaces"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### The graphical user interface (GUI)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The graphical user interface of TWBlue consists of a window containing:"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* a menu bar accomodating five menus (application, tweet, user, buffer and help);"""))
|
||||
documentation.append(_(u"""* One tree view,"""))
|
||||
documentation.append(_(u"""* One list of items"""))
|
||||
documentation.append(_(u"""* Four buttons in most dialogs: Tweet, retweet , reply and direct message."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The actions that are available for every item will be described later."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""In summary, the GUI contains two core components. These are the controls you will find while pressing the Tab key within the program's interface, and the different elements present on the menu bar."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### Buttons in the application"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* 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 sound will play to warn you. Note that the character count is displayed in the title bar. You may use the shorten and expand URL buttons to comply with the character limit. You can upload a picture, check spelling, attach audio or translate your message by selecting one of the available buttons in the dialogue box. In addition, you can autocomplete the entering of users by pressing Alt + A or the button for that purpose if you have the database of users configured. Press enter to send the tweet. If all goes well, you'll hear a sound confirming it. Otherwise, the screen reader will speak an error message in English describing the problem."""))
|
||||
documentation.append(_(u"""* Retweet: this button retweets the message you're reading. After you press it, if you haven't configured the application not to do so, you'll be asked if you want to add a comment or simply send it as written. If you choose to add a comment, 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 mention to the original user and a link to the originating tweet."""))
|
||||
documentation.append(_(u"""* Reply: when you're viewing a tweet, you can reply to the user who sent it by pressing this button. A dialogue will open up similar to the one for tweeting, but with the name of the user already filled in (for example @user) so you only need to write your message. If there are more users referred to in the tweet, you can press shift-tab and activate the mention all users button. When you're on the friends or followers lists, the button will be called mention instead."""))
|
||||
documentation.append(_(u"""* Direct message: exactly like sending a tweet, but it's a private message which can only be read by the user you send it to. Press shift-tab to see the recipient. If there were other users mentioned in the tweet you were reading, you can arrow up or down to choose which one to send it to, or write the username yourself without the at sign."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Bear in mind that buttons will appear according to which actions are possible on the list you are browsing. For example, on the home timeline, mentions, sent, favourites and user timelines you will see the four buttons, while on the direct messages list you'll only get the direct message and tweet buttons, and on friends and followers lists the direct message, tweet, and mention buttons will be available."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### Menus"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""Visually, Towards the top of the main application window, can be found a menu bar which contains many of the same functions as listed in the previous section, together with some additional items. To access the menu bar, press the alt key. You will find five menus listed: application, tweet, user, buffer and help. This section describes the items on each one of them."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""##### Application menu"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Manage accounts: Opens a window with all the sessions configured in TWBlue, where you can add new sessions or delete the ones you've already created."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* Hide window: turns off the Graphical User Interface. Read the section on the invisible interface for further details."""))
|
||||
documentation.append(_(u"""* Search: shows a dialogue box where you can search for tweets or users on Twitter."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* Edit keystrokes: this opens a dialogue where you can see and edit the shortcuts used in the invisible interface."""))
|
||||
documentation.append(_(u"""* Account settings: Opens a dialogue box which lets you customize settings for the current account."""))
|
||||
documentation.append(_(u"""* Global settings: Opens a dialogue which lets you configure settings for the entire application."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""##### Tweet menu"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* You will first find the items to tweet, reply and retweet, which are equivalent to the buttons with the same name."""))
|
||||
documentation.append(_(u"""* Add to favourites: marks the tweet you're viewing as a favourite."""))
|
||||
documentation.append(_(u"""* Remove from favourites: removes the tweet from your favourites, but not from Twitter."""))
|
||||
documentation.append(_(u"""* Show tweet: opens up a dialogue box where you can read the tweet, direct message, friend or follower which has focus. You can read the text with the arrow keys. It's a similar dialog box as used for composing tweets, without the ability to send the tweet, file attachment and autocompleting capabilities. It does however include a retweets and favourites count. If you are in the followers or the friends list, it will only contain a read-only edit box with the information in the focused item and a close button."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* View conversation: If you are focusing a tweet with a mention, it opens a buffer where you can view the whole conversation."""))
|
||||
documentation.append(_(u"""* Delete: permanently removes the tweet or direct message which has focus from Twitter and from your lists. Bear in mind that Twitter only allows you to delete tweets you have posted yourself."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""##### User menu"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Actions: Opens a dialogue where you can interact with a user. This dialogue box will be populated with the user who sent the tweet or direct message in focus or the selected user in the friends or followers buffer. You can edit it or leave it as is and choose one of the following actions:"""))
|
||||
documentation.append(_(u""" * 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."""))
|
||||
documentation.append(_(u""" * 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."""))
|
||||
documentation.append(_(u""" * Mute: While muting someone, TWBlue won't show you nor his/her tweets on your main timeline; neither will you see that person's mentions. But you both will be able to exchange direct messages. The muted user is not informed of this action."""))
|
||||
documentation.append(_(u""" * Unmute: this option allows TWBlue to display the user's tweets and mentions again."""))
|
||||
documentation.append(_(u""" * Block: Blocks a user. This forces the user to unfollow you ."""))
|
||||
documentation.append(_(u""" * Unblock: Stops blocking a user."""))
|
||||
documentation.append(_(u""" * Report as spam: this option sends a message to Twitter suggesting the user is performing prohibited practices on the social network."""))
|
||||
documentation.append(_(u""" * Ignore tweets from this client: Adds the client from which the focused tweet was sent to the ignored clients list."""))
|
||||
documentation.append(_(u"""* View timeline: Lets you open a user's timeline by choosing the user in a dialog box. It is created when you press enter. If you invoke this option relative to a user that has no tweets, the operation will fail. If you try creating an existing timeline the program will warn you and will not create it again."""))
|
||||
documentation.append(_(u"""* Direct message: same action as the button."""))
|
||||
documentation.append(_(u"""* Add to List: In order to see someone's tweets in one or more of your lists, you must add them first. In the dialogue box that opens after selecting the user, you will be asked to select the list you wish to add the user to. Thereafter, the list will contain a new member and their tweets will be displayed there."""))
|
||||
documentation.append(_(u"""* Remove from list: lets you remove a user from a list."""))
|
||||
documentation.append(_(u"""* View lists: Shows the lists created by a specified user."""))
|
||||
documentation.append(_(u"""* Show user profile: opens a dialogue with the profile of the specified user."""))
|
||||
documentation.append(_(u"""* View favourites: Opens a buffer where you can see the tweets which have been favourited by a particular user."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""##### Buffer menu"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* New trending topics buffer: This opens a buffer to get the worlwide trending topics or those of a country or a city. You'll be able to select from a dialogue box if you wish to retrieve countries' trends, cities' trends or worldwide trends (this option is in the cities' list) and choose one from the selected list. The trending topics buffer will be created once the "OK" button has been activated within the dialogue box. Remember this kind of buffer will be updated every five minutes."""))
|
||||
documentation.append(_(u"""* Load previous items: This allows more items to be loaded for the specified buffer."""))
|
||||
documentation.append(_(u"""* Mute: Mutes notifications of a particular buffer so you will not hear when new tweets arrive."""))
|
||||
documentation.append(_(u"""* autoread: When enabled, the screen reader or SAPI 5 Text to Speech voice (if enabled) will read the text of incoming tweets. Please note that this could get rather chatty if there are a lot of incoming tweets."""))
|
||||
documentation.append(_(u"""* Clear buffer: Deletes all items from the buffer."""))
|
||||
documentation.append(_(u"""* Destroy: dismisses the list you're on."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""##### Help menu"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Documentation: opens up this file, where you can read some useful program concepts."""))
|
||||
documentation.append(_(u"""* Sounds tutorial: Opens a dialog box where you can familiarize yourself with the different sounds of the program."""))
|
||||
documentation.append(_(u"""* What's new in this version?: opens up a document with the list of changes from the current version to the earliest."""))
|
||||
documentation.append(_(u"""* Check for updates: every time you open the program it automatically checks for new versions. If an update is available, it will ask you if you want to download the update. If you accept, the updating process will commence. When complete, TWBlue will be restarted. This item checks for new updates without having to restart the application."""))
|
||||
documentation.append(_(u"""* Report an error: opens up a dialogue box to report a bug by completing a small number of fields. Pressing enter will send the report. If the operation doesn't succeed the program will display a warning."""))
|
||||
documentation.append(_(u"""* TWBlue's website: visit our [home page](http://twblue.es) where you can find all relevant information and downloads for TWBlue and become a part of the community."""))
|
||||
documentation.append(_(u"""* About TWBlue: shows the credits of the program."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### The invisible user interface"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The invisible interface, as its name suggests, has no graphical window and 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, 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."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The next section contains a list of keyboard shortcuts for both interfaces. Bear in mind that we will only describe the default keymap."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Keyboard shortcuts"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Shortcuts of the graphical user interface (GUI)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Enter: Open URL."""))
|
||||
documentation.append(_(u"""* Control + Enter: Play audio."""))
|
||||
documentation.append(_(u"""* Control + M: Hide the GUI."""))
|
||||
documentation.append(_(u"""* Control + N: Compose a new tweet."""))
|
||||
documentation.append(_(u"""* Control + R: Reply / mention."""))
|
||||
documentation.append(_(u"""* Control + Shift + R: Retweet."""))
|
||||
documentation.append(_(u"""* Control + D: Send a direct message."""))
|
||||
documentation.append(_(u"""* control + F: Add tweet to favourites."""))
|
||||
documentation.append(_(u"""* Control + Shift + F: Remove a tweet from favourites."""))
|
||||
documentation.append(_(u"""* Control + S: Open the user actions dialogue."""))
|
||||
documentation.append(_(u"""* Control + Shift + V: Show tweet."""))
|
||||
documentation.append(_(u"""* Control + Q: Quit this program."""))
|
||||
documentation.append(_(u"""* Control + I: Open user timeline."""))
|
||||
documentation.append(_(u"""* Control + Shift + i: Destroy buffer."""))
|
||||
documentation.append(_(u"""* F5: Increase volume by 5%."""))
|
||||
documentation.append(_(u"""* F6: Decrease volume by 5%."""))
|
||||
documentation.append(_(u"""* Control + P: Edit your profile."""))
|
||||
documentation.append(_(u"""* Control + Delete: Delete a tweet or direct message."""))
|
||||
documentation.append(_(u"""* Control + Shift + Delete: Empty the current buffer."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Shortcuts of the invisible interface (default keymap)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Control + Windows + Up Arrow: moves to the previous item in the buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Down Arrow: moves to the next item in the buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Left Arrow: Move to the previous buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Right Arrow: Move to the next buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + Left: Focus the previous session."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + Right: Focus the next session."""))
|
||||
documentation.append(_(u"""* Control + Windows + C: View conversation."""))
|
||||
documentation.append(_(u"""* Control + Enter: Open URL."""))
|
||||
documentation.append(_(u"""* Control + Windows + Enter: Play audio."""))
|
||||
documentation.append(_(u"""* Control + Windows + M: Show or hide the GUI."""))
|
||||
documentation.append(_(u"""* Control + Windows + N: New tweet."""))
|
||||
documentation.append(_(u"""* Control + Windows + R: Reply / Mention."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + R: Retweet."""))
|
||||
documentation.append(_(u"""* Control + Windows + D: Send direct message."""))
|
||||
documentation.append(_(u"""* Windows+ Alt + F: Mark as favourite."""))
|
||||
documentation.append(_(u"""* Alt + Windows + Shift + F: Remove from favourites."""))
|
||||
documentation.append(_(u"""* Control + Windows + S: Open the user actions dialogue."""))
|
||||
documentation.append(_(u"""* Control + Windows + Alt + N: See user details."""))
|
||||
documentation.append(_(u"""* Control + Windows + V: Show tweet."""))
|
||||
documentation.append(_(u"""* Control + Windows + F4: Quit TWBlue."""))
|
||||
documentation.append(_(u"""* Control + Windows + I: Open user timeline."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + I: Destroy buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Alt + Up: Increase volume by 5%."""))
|
||||
documentation.append(_(u"""* Control + Windows + Alt + Down: Decrease volume by 5%."""))
|
||||
documentation.append(_(u"""* Control + Windows + Home: Jump to the first element of the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + End: Jump to the last element of the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + PageUp: Jump 20 elements up in the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + PageDown: Jump 20 elements down in the current buffer."""))
|
||||
documentation.append(_(u"""* Windows + Alt + P: Edit profile."""))
|
||||
documentation.append(_(u"""* Control + Windows + Delete: Delete a tweet or direct message."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + Delete: Empty the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + Space: Repeat last item."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + C: Copy to clipboard."""))
|
||||
documentation.append(_(u"""* Control + Windows+ A: Add user to list."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + A: Remove user from list."""))
|
||||
documentation.append(_(u"""* Control + Windows + M: Mute / unmute the current buffer."""))
|
||||
documentation.append(_(u"""* Windows + Alt + M: Mute / unmute the current session."""))
|
||||
documentation.append(_(u"""* Control + Windows + E: Toggle the automatic reading of incoming tweets in the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + -: Search on Twitter."""))
|
||||
documentation.append(_(u"""* Control + Windows + K: Show the keystroke editor."""))
|
||||
documentation.append(_(u"""* Control + Windows + L: Show lists for a specified user."""))
|
||||
documentation.append(_(u"""* Windows + Alt + PageUp: Load previous items for the current buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + G: Get geolocation."""))
|
||||
documentation.append(_(u"""* Control + Windows + Shift + G: Display the tweet's geolocation in a dialogue."""))
|
||||
documentation.append(_(u"""* Control + Windows + T: Create a trending topics' buffer."""))
|
||||
documentation.append(_(u"""* Control + Windows + {: Find a string in the current buffer."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Configuration"""))
|
||||
documentation.append(_(u"""As described above, this application has two configuration dialogues, the global settings dialogue and the account settings dialogue."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### The account settings dialogue"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### General tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* Autocompletion settings: Allows you to configure the autocompletion database. You can add users manually or let TWBlue add your followers, friends or both."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* API calls: Allows you to adjust the number of API calls to be made to Twitter by this program."""))
|
||||
documentation.append(_(u"""* 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)."""))
|
||||
documentation.append(_(u"""* Inverted buffers: Allows you to specify whether the buffers should be inverted, which means that the oldest items will show at the end of them and the newest at the beginning."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* 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 number, 0 to cache all items, or leave blank to disable caching entirely."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### buffers tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""This tab displays a list for each buffer you have available in TWBlue, except for searches, timelines, favourites' timelines and lists. You can show, hide and move them."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### The ignored clients tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""In this tab, you can add and remove clients to be ignored by the program."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### Sound tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""In this tab, you can adjust the sound volume, select the input and output device and set the soundpack used by the program."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### Audio service tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""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 anonimously."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""### Global settings"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""This dialogue allows you to configure some settings which will affect the entire application."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### General tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""* Ask before exiting TWBlue: This checkbox allows you to control whetherthe program will ask for confirmation before exiting."""))
|
||||
documentation.append(_(u"""* Play a sound when TWBlue launches: This checkbox allows you to configure whether the application will play a sound when it has finished loading the buffers."""))
|
||||
documentation.append(_(u"""* Speak a message when TWBlue launches: This is the same as the previous option, but this checkbox configures whether the screen reader will say \"ready\"."""))
|
||||
documentation.append(_(u"""* 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 option is checked, the invisible interface's shortcuts will be usable in the GUI."""))
|
||||
documentation.append(_(u"""* Activate SAPI5 when any other screen reader is not being run: This checkbox allows to activate SAPI 5 TTS when no other screen reader is being run."""))
|
||||
documentation.append(_(u"""* Hide GUI on launch: This allows you to configure whether TWBlue will start with the GUI or the invisible interface."""))
|
||||
documentation.append(_(u"""* 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."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""#### Proxi tab"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""In this tab you can configure TWBlue to use a Proxy server by completing the fields displayed (server, port, user and password)."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## License, source code and donations"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""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>."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""The source code of the program is available on GitHub at <https://www.github.com/manuelcortez/twblue>."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""If you want to donate to the project, you can do so at <http://twblue.es/?q=node/3&language=en>. Thank you for your support!"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Contact"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""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://twitter.com/manuelcortez00) You can also visit [our website](http://twblue.es)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""## Credits"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""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 supported and sponsored by [Technow S. L.](https://twitter.com/technow)"""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""We would also like to thank the translators of TWBlue, who have allowed the spreading of the application."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""* English: [Bryner Villalobos](https://twitter.com/Bry_StarkCR) and [Bill Dengler](https://twitter.com/codeofdusk)."""))
|
||||
documentation.append(_(u"""* Arabic: [Mohammed Al Shara](https://twitter.com/mohammed0204)."""))
|
||||
documentation.append(_(u"""* Catalan: [Joan Rabat](https://twitter.com/joanrabat) and Juan Carlos Rivilla."""))
|
||||
documentation.append(_(u"""* Spanish: [Manuel Cortéz](https://twitter.com/manuelcortez00)."""))
|
||||
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: [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"""* 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"""
|
||||
"""))
|
||||
documentation.append(_(u"""Many thanks also to the people who worked on the documentation. Initially, [Manuel Cortez](https://twitter.com/manuelcortez00) did the documentation in Spanish, and translated to English by [Bryner Villalobos](https://twitter.com/Bry_StarkCR), [Robert Spangler](https://twitter.com/glasscity1837), [Sussan Rey](https://twitter.com/sussanrey17), [Anibal Hernandez](https://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) and [Bill Dengler](https://twitter.com/codeofdusk)."""))
|
||||
documentation.append(_(u"""
|
||||
"""))
|
||||
documentation.append(_(u"""---"""))
|
||||
documentation.append(_(u"""Copyright © 2013-2015. Manuel Cortéz"""))
|
@@ -1,6 +1,6 @@
|
||||
[Format]
|
||||
Type=PortableApps.comFormat
|
||||
Version=3.0
|
||||
Version=3.5
|
||||
|
||||
[Details]
|
||||
Name=tw blue portable
|
||||
@@ -20,8 +20,8 @@ CommercialUse=true
|
||||
EULAVersion=2
|
||||
|
||||
[Version]
|
||||
PackageVersion=0.80.0.0
|
||||
DisplayVersion=0.80
|
||||
PackageVersion=0.94.0.0
|
||||
DisplayVersion=0.94
|
||||
|
||||
[Control]
|
||||
Icons=1
|
||||
|
23
requirements.txt
Normal file
23
requirements.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
wxpython
|
||||
six
|
||||
configobj
|
||||
markdown
|
||||
future
|
||||
requests
|
||||
oauthlib
|
||||
requests-oauthlib
|
||||
requests-toolbelt
|
||||
pypubsub==3.3.0
|
||||
pygeocoder
|
||||
arrow
|
||||
python-dateutil
|
||||
futures
|
||||
winpaths
|
||||
PySocks
|
||||
win_inet_pton
|
||||
yandex.translate
|
||||
idna
|
||||
chardet
|
||||
urllib3
|
||||
youtube-dl
|
||||
python-vlc
|
@@ -1,7 +1,9 @@
|
||||
!include "MUI2.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
!include "x64.nsh"
|
||||
Unicode true
|
||||
CRCCheck on
|
||||
ManifestSupportedOS all
|
||||
XPStyle on
|
||||
Name "TWBlue"
|
||||
OutFile "TWBlue_setup.exe"
|
||||
@@ -12,10 +14,11 @@ 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 2018 Manuel Cortéz."
|
||||
VIAddVersionKey ProductVersion "0.94"
|
||||
VIAddVersionKey FileVersion "0.94"
|
||||
VIProductVersion "0.94.0.0"
|
||||
VIFileVersion "0.94.0.0"
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
!define MUI_LICENSEPAGE_RADIOBUTTONS
|
||||
!insertmacro MUI_PAGE_LICENSE "license.txt"
|
||||
@@ -69,10 +72,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.94"
|
||||
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" 94
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\twblue" "NoRepair" 1
|
||||
SectionEnd
|
||||
|
@@ -9,11 +9,11 @@ relative_times = boolean(default=True)
|
||||
max_api_calls = integer(default=1)
|
||||
max_tweets_per_call = integer(default=100)
|
||||
reverse_timelines = boolean(default=False)
|
||||
time_to_check_streams = integer(default=30)
|
||||
announce_stream_status = boolean(default=True)
|
||||
retweet_mode = string(default="ask")
|
||||
persist_size = integer(default=0)
|
||||
buffer_order = list(default=list('home','mentions','dm','sent_dm','sent_tweets','favorites','followers','friends','blocks','muted','events'))
|
||||
show_screen_names = boolean(default=False)
|
||||
buffer_order = list(default=list('home','mentions', 'dm', 'sent_dm', 'sent_tweets','favorites','followers','friends','blocks','muted','events'))
|
||||
|
||||
[sound]
|
||||
volume = float(default=1.0)
|
||||
@@ -21,6 +21,9 @@ input_device = string(default="Default")
|
||||
output_device = string(default="Default")
|
||||
session_mute = boolean(default=False)
|
||||
current_soundpack = string(default="default")
|
||||
indicate_audio = boolean(default=True)
|
||||
indicate_geo = boolean(default=True)
|
||||
indicate_img = boolean(default=True)
|
||||
sndup_api_key = string(default="")
|
||||
|
||||
[other_buffers]
|
||||
@@ -38,7 +41,10 @@ autoread_buffers = list(default=list(mentions, direct_messages, events))
|
||||
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)
|
||||
ocr_language = string(default="")
|
||||
|
||||
[services]
|
||||
pocket_access_token = string(default="")
|
||||
[reporting]
|
||||
braille_reporting = boolean(default=True)
|
||||
speech_reporting = boolean(default=True)
|
||||
|
||||
[filters]
|
||||
|
@@ -9,8 +9,9 @@ class Auto(Output):
|
||||
self.outputs = []
|
||||
for output in output_classes:
|
||||
try:
|
||||
self.outputs.append(output())
|
||||
except OutputError:
|
||||
a=output()
|
||||
self.outputs.append(a)
|
||||
except:
|
||||
pass
|
||||
|
||||
def get_first_available_output(self):
|
||||
@@ -33,6 +34,7 @@ class Auto(Output):
|
||||
output = self.get_first_available_output()
|
||||
if output:
|
||||
output.speak(*args, **kwargs)
|
||||
output.braille(*args, **kwargs)
|
||||
|
||||
def is_system_output(self):
|
||||
output = self.get_first_available_output()
|
||||
|
@@ -5,9 +5,11 @@ ignored_sessions = list(default=list())
|
||||
|
||||
[app-settings]
|
||||
language = string(default="system")
|
||||
update_period = integer(default=2)
|
||||
hide_gui = boolean(default=False)
|
||||
voice_enabled = boolean(default=False)
|
||||
ask_at_exit = boolean(default=True)
|
||||
autostart = boolean(default=False)
|
||||
handle_longtweets = boolean(default=True)
|
||||
use_invisible_keyboard_shorcuts = boolean(default=True)
|
||||
play_ready_sound = boolean(default=True)
|
||||
@@ -15,8 +17,14 @@ 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)
|
||||
remember_mention_and_longtweet = boolean(default=False)
|
||||
longtweet = boolean(default=false)
|
||||
mention_all = boolean(default=False)
|
||||
no_streaming = boolean(default=False)
|
||||
|
||||
[proxy]
|
||||
type = string(default="Direct connection")
|
||||
server = string(default="")
|
||||
port = string(default="")
|
||||
user = string(default="")
|
||||
|
@@ -1,16 +1,35 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import datetime
|
||||
|
||||
name = 'TWBlue'
|
||||
snapshot = True
|
||||
snapshot = False
|
||||
if snapshot == False:
|
||||
version = "0.80"
|
||||
update_url = 'http://twblue.es/updates/twblue_ngen.json'
|
||||
version = "0.94"
|
||||
update_url = 'https://twblue.es/updates/stable.php'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json'
|
||||
else:
|
||||
version = "10.99"
|
||||
update_url = 'http://twblue.es/updates/snapshots_ngen.json'
|
||||
author = u"Manuel Cortéz"
|
||||
version = "8"
|
||||
update_url = 'https://twblue.es/updates/snapshot.php'
|
||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json'
|
||||
authors = [u"Manuel Cortéz", u"José Manuel Delicado"]
|
||||
authorEmail = "manuel@manuelcortez.net"
|
||||
copyright = u"Copyright (C) 2015, Technow S.L. \nCopyright (C) 2013-2015, Manuel cortéz."
|
||||
copyright = u"Copyright (C) 2013-2018, 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"
|
||||
translators = [u"Manuel Cortéz (English)", u"Mohammed Al Shara, Hatoun Felemban (Arabic)", u"Francisco Torres (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"Zvonimir Stanečić (Croatian)", u"Robert Osztolykan (Hungarian)", u"Christian Leo Mameli (Italian)", u"Riku (Japanese)", u"Paweł Masarczyk (Polish)", u"Odenilton Júnior Santos (Portuguese)", u"Florian Ionașcu, Nicușor Untilă (Romanian)", u"Natalia Hedlund, Valeria Kuznetsova (Russian)", u"Aleksandar Đurić (Serbian)", u"Burak Yüksek (Turkish)"]
|
||||
url = u"https://twblue.es"
|
||||
report_bugs_url = "https://github.com/manuelcortez/twblue/issues"
|
||||
supported_languages = []
|
||||
|
||||
def streaming_lives():
|
||||
""" Check if we are in August 16.
|
||||
ToDo: This method should be removed after deadline==True"""
|
||||
# Let's import config here so we will avoid breaking things when setup.py is going to be used.
|
||||
# Check if user has disabled the streaming API things from settings.
|
||||
import config
|
||||
if config.app != None:
|
||||
no_streaming = config.app["app-settings"]["no_streaming"]
|
||||
if no_streaming == True:
|
||||
return False
|
||||
deadline = datetime.date(2018, 8, 16)
|
||||
now = datetime.datetime.now().date()
|
||||
return deadline>now
|
@@ -2,6 +2,7 @@ from audio_services import matches_url
|
||||
import json
|
||||
import re
|
||||
import urllib
|
||||
import youtube_utils
|
||||
|
||||
@matches_url('https://audioboom.com')
|
||||
def convert_audioboom(url):
|
||||
@@ -10,7 +11,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))
|
||||
@@ -28,21 +29,9 @@ def convert_soundcloud (url):
|
||||
else:
|
||||
raise TypeError('%r is not streamable' % url)
|
||||
|
||||
@matches_url('http://twup.me')
|
||||
def convert_twup(url):
|
||||
result = re.match("^http://twup.me/(?P<audio_id>[A-Za-z0-9]+/?)$", url, re.I)
|
||||
if not result or result.group("audio_id") is None:
|
||||
raise TypeError('%r is not a valid URL' % url)
|
||||
audio_id = result.group("audio_id")
|
||||
return 'http://twup.me/%s' % audio_id
|
||||
|
||||
#@matches_url('http://sndup.net')
|
||||
#def convert_sndup(url):
|
||||
# result = re.match("^http://sndup.net/(?P<audio_id>[a-z0-9]+/?)(|d|l|a)/?$", url, re.I)
|
||||
# if not result or result.group("audio_id") is None:
|
||||
# raise TypeError('%r is not a valid URL' % url)
|
||||
# audio_id = result.group("audio_id")
|
||||
# return 'http://sndup.net/%s/a' % audio_id
|
||||
@matches_url ('https://www.youtube.com/watch')
|
||||
def convert_youtube_long (url):
|
||||
return youtube_utils.get_video_url(url)
|
||||
|
||||
def convert_generic_audio(url):
|
||||
return url
|
||||
|
4966
src/cacert.pem
4966
src/cacert.pem
File diff suppressed because it is too large
Load Diff
@@ -2,18 +2,26 @@
|
||||
import config_utils
|
||||
import paths
|
||||
import logging
|
||||
import platform
|
||||
|
||||
log = logging.getLogger("config")
|
||||
|
||||
MAINFILE = "twblue.conf"
|
||||
MAINSPEC = "app-configuration.defaults"
|
||||
|
||||
proxyTypes=[u"http", u"https", u"socks4", u"socks5"]
|
||||
app = None
|
||||
keymap=None
|
||||
changed_keymap = False
|
||||
|
||||
def setup ():
|
||||
global app
|
||||
log.debug("Loading global app settings...")
|
||||
app = config_utils.load_config(paths.config_path(MAINFILE), paths.app_path(MAINSPEC))
|
||||
log.debug("Loading keymap...")
|
||||
global keymap
|
||||
keymap = config_utils.load_config(paths.config_path("keymap.keymap"), paths.app_path("keymaps/"+app['app-settings']['load_keymap']))
|
||||
if float(platform.version()[:2]) >= 10 and app["app-settings"]["load_keymap"] == "default.keymap":
|
||||
app["app-settings"]["load_keymap"] = "Windows 10.keymap"
|
||||
app.write()
|
||||
global changed_keymap
|
||||
changed_keymap = True
|
||||
keymap = config_utils.load_config(paths.config_path("keymap.keymap"), paths.app_path("keymaps/"+app['app-settings']['load_keymap']), copy=False)
|
||||
|
@@ -3,21 +3,24 @@ 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):
|
||||
if os.path.exists(config_path):
|
||||
clean_config(config_path)
|
||||
def load_config(config_path, configspec_path=None, copy=True, *args, **kwargs):
|
||||
spec = ConfigObj(configspec_path, encoding='UTF8', list_values=False, _inspec=True)
|
||||
try:
|
||||
config = ConfigObj(infile=config_path, configspec=spec, create_empty=True, encoding='UTF8', *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=copy)
|
||||
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 +28,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)
|
File diff suppressed because it is too large
Load Diff
76
src/controller/filterController.py
Normal file
76
src/controller/filterController.py
Normal file
@@ -0,0 +1,76 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import time
|
||||
import widgetUtils
|
||||
import application
|
||||
from wxUI.dialogs import filterDialogs
|
||||
from wxUI import commonMessageDialogs
|
||||
|
||||
class filter(object):
|
||||
def __init__(self, buffer, filter_title=None, if_word_exists=None, in_lang=None, regexp=None, word=None, in_buffer=None):
|
||||
self.buffer = buffer
|
||||
self.dialog = filterDialogs.filterDialog(languages=[i["name"] for i in application.supported_languages])
|
||||
if self.dialog.get_response() == widgetUtils.OK:
|
||||
title = self.dialog.get("title")
|
||||
contains = self.dialog.get("contains")
|
||||
term = self.dialog.get("term")
|
||||
regexp = self.dialog.get("regexp")
|
||||
allow_rts = self.dialog.get("allow_rts")
|
||||
allow_quotes = self.dialog.get("allow_quotes")
|
||||
allow_replies = self.dialog.get("allow_replies")
|
||||
load_language = self.dialog.get("load_language")
|
||||
ignore_language = self.dialog.get("ignore_language")
|
||||
lang_option = None
|
||||
if ignore_language:
|
||||
lang_option = False
|
||||
elif load_language:
|
||||
lang_option = True
|
||||
langs = self.dialog.get_selected_langs()
|
||||
langcodes = []
|
||||
for i in application.supported_languages:
|
||||
if i["name"] in langs:
|
||||
langcodes.append(i["code"])
|
||||
d = dict(in_buffer=self.buffer.name, word=term, regexp=regexp, in_lang=lang_option, languages=langcodes, if_word_exists=contains, allow_rts=allow_rts, allow_quotes=allow_quotes, allow_replies=allow_replies)
|
||||
if self.buffer.session.settings["filters"].has_key(title):
|
||||
return commonMessageDialogs.existing_filter()
|
||||
self.buffer.session.settings["filters"][title] = d
|
||||
self.buffer.session.settings.write()
|
||||
|
||||
class filterManager(object):
|
||||
|
||||
def __init__(self, session):
|
||||
self.session = session
|
||||
self.dialog = filterDialogs.filterManagerDialog()
|
||||
self.insert_filters(self.session.settings["filters"])
|
||||
if self.dialog.filters.get_count() == 0:
|
||||
self.dialog.edit.Enable(False)
|
||||
self.dialog.delete.Enable(False)
|
||||
else:
|
||||
widgetUtils.connect_event(self.dialog.edit, widgetUtils.BUTTON_PRESSED, self.edit_filter)
|
||||
widgetUtils.connect_event(self.dialog.delete, widgetUtils.BUTTON_PRESSED, self.delete_filter)
|
||||
response = self.dialog.get_response()
|
||||
|
||||
def insert_filters(self, filters):
|
||||
self.dialog.filters.clear()
|
||||
for f in filters.keys():
|
||||
filterName = f
|
||||
buffer = filters[f]["in_buffer"]
|
||||
if filters[f]["if_word_exists"] == "True" and filters[f]["word"] != "":
|
||||
filter_by_word = "True"
|
||||
else:
|
||||
filter_by_word = "False"
|
||||
filter_by_lang = ""
|
||||
if filters[f]["in_lang"] != "None":
|
||||
filter_by_lang = "True"
|
||||
b = [f, buffer, filter_by_word, filter_by_lang]
|
||||
self.dialog.filters.insert_item(False, *b)
|
||||
|
||||
def edit_filter(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def delete_filter(self, *args, **kwargs):
|
||||
filter_title = self.dialog.filters.get_text_column(self.dialog.filters.get_selected(), 0)
|
||||
response = commonMessageDialogs.delete_filter()
|
||||
if response == widgetUtils.YES:
|
||||
self.session.settings["filters"].pop(filter_title)
|
||||
self.session.settings.write()
|
||||
self.insert_filters(self.session.settings["filters"])
|
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import platform
|
||||
import attach
|
||||
system = platform.system()
|
||||
import widgetUtils
|
||||
import output
|
||||
import url_shortener
|
||||
import sound
|
||||
import config
|
||||
from pubsub import pub
|
||||
if system == "Windows":
|
||||
from wxUI.dialogs import message, urlList
|
||||
from wxUI import commonMessageDialogs
|
||||
|
||||
from extra import translator, SpellChecker, autocompletionUsers
|
||||
from extra.AudioUploader import audioUploader
|
||||
elif system == "Linux":
|
||||
@@ -17,30 +21,32 @@ from twitter import utils
|
||||
|
||||
class basicTweet(object):
|
||||
""" This class handles the tweet main features. Other classes should derive from this class."""
|
||||
def __init__(self, session, title, caption, text, messageType="tweet", max=140):
|
||||
def __init__(self, session, title, caption, text, messageType="tweet", max=280, *args, **kwargs):
|
||||
super(basicTweet, self).__init__()
|
||||
self.max = max
|
||||
self.title = title
|
||||
self.session = session
|
||||
self.message = getattr(message, messageType)(title, caption, text)
|
||||
self.message = getattr(message, messageType)(title, caption, text, *args, **kwargs)
|
||||
widgetUtils.connect_event(self.message.spellcheck, widgetUtils.BUTTON_PRESSED, self.spellcheck)
|
||||
widgetUtils.connect_event(self.message.attach, widgetUtils.BUTTON_PRESSED, self.attach)
|
||||
# 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)
|
||||
if config.app["app-settings"]["remember_mention_and_longtweet"]:
|
||||
self.message.long_tweet.SetValue(config.app["app-settings"]["longtweet"])
|
||||
self.attachments = []
|
||||
|
||||
def translate(self, event=None):
|
||||
dlg = translator.gui.translateDialog()
|
||||
if dlg.get_response() == widgetUtils.OK:
|
||||
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)
|
||||
msg = translator.translator.translate(text=text_to_translate, target=dest)
|
||||
self.message.set_text(msg)
|
||||
self.text_processor()
|
||||
self.message.text_focus()
|
||||
output.speak(_(u"Translated"))
|
||||
else:
|
||||
@@ -54,6 +60,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()
|
||||
@@ -61,6 +68,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):
|
||||
@@ -71,6 +79,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()
|
||||
@@ -78,6 +87,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):
|
||||
@@ -99,65 +109,84 @@ 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:
|
||||
if "sndup.net/" in url:
|
||||
self.message.set_text(self.message.get_text()+url+" #audio")
|
||||
self.text_processor()
|
||||
else:
|
||||
output.speak(_(u"Unable to upload the audio"))
|
||||
commonMessageDialogs.common_error(url)
|
||||
|
||||
dlg.cleanup()
|
||||
dlg = audioUploader.audioUploader(self.session.settings, completed_callback)
|
||||
self.message.text_focus()
|
||||
|
||||
class tweet(basicTweet):
|
||||
def __init__(self, session, title, caption, text, twishort_enabled, messageType="tweet", max=140):
|
||||
super(tweet, self).__init__(session, title, caption, text, messageType, max)
|
||||
def __init__(self, session, title, caption, text, max=280, messageType="tweet", *args, **kwargs):
|
||||
super(tweet, self).__init__(session, title, caption, text, messageType, max, *args, **kwargs)
|
||||
self.image = None
|
||||
widgetUtils.connect_event(self.message.upload_image, widgetUtils.BUTTON_PRESSED, self.upload_image)
|
||||
widgetUtils.connect_event(self.message.autocompletionButton, widgetUtils.BUTTON_PRESSED, self.autocomplete_users)
|
||||
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)
|
||||
c.show_menu()
|
||||
|
||||
class reply(tweet):
|
||||
def __init__(self, session, title, caption, text, twishort_enabled, users=None):
|
||||
super(reply, self).__init__(session, title, caption, text, twishort_enabled, messageType="reply")
|
||||
def __init__(self, session, title, caption, text, users=[], ids=[]):
|
||||
super(reply, self).__init__(session, title, caption, text, messageType="reply", users=users)
|
||||
self.ids = ids
|
||||
self.users = users
|
||||
if self.users != None and len(self.users) > 1:
|
||||
widgetUtils.connect_event(self.message.mentionAll, widgetUtils.BUTTON_PRESSED, self.mention_all)
|
||||
if len(users) > 0:
|
||||
widgetUtils.connect_event(self.message.mentionAll, widgetUtils.CHECKBOX, self.mention_all)
|
||||
self.message.enable_button("mentionAll")
|
||||
if config.app["app-settings"]["remember_mention_and_longtweet"]:
|
||||
self.message.mentionAll.SetValue(config.app["app-settings"]["mention_all"])
|
||||
self.mention_all()
|
||||
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()
|
||||
if self.message.mentionAll.GetValue() == True:
|
||||
for i in self.message.checkboxes:
|
||||
i.SetValue(True)
|
||||
i.Hide()
|
||||
else:
|
||||
for i in self.message.checkboxes:
|
||||
i.SetValue(False)
|
||||
i.Show()
|
||||
|
||||
def get_ids(self):
|
||||
excluded_ids = ""
|
||||
for i in xrange(0, len(self.message.checkboxes)):
|
||||
if self.message.checkboxes[i].GetValue() == False:
|
||||
excluded_ids = excluded_ids + "{0},".format(self.ids[i],)
|
||||
return excluded_ids
|
||||
|
||||
def get_people(self):
|
||||
people = ""
|
||||
for i in xrange(0, len(self.message.checkboxes)):
|
||||
if self.message.checkboxes[i].GetValue() == True:
|
||||
people = people + "{0} ".format(self.message.checkboxes[i].GetLabel(),)
|
||||
return people
|
||||
|
||||
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)
|
||||
@@ -165,25 +194,67 @@ 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:
|
||||
self.title = _(u"Tweet")
|
||||
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 = "full_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"]["full_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"])
|
||||
if tweetList[i].has_key("retweeted_status") and tweetList[i]["retweeted_status"].has_key("extended_entities") and tweetList[i]["retweeted_status"]["extended_entities"].has_key("media"):
|
||||
for z in tweetList[i]["retweeted_status"]["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"])
|
||||
source = str(re.sub(r"(?s)<.*?>", "", tweet["source"]))
|
||||
# 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("message"):
|
||||
value = "message"
|
||||
else:
|
||||
value = "full_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") == False:
|
||||
text = "rt @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], tweet["retweeted_status"]["full_text"])
|
||||
else:
|
||||
text = tweet["text"]
|
||||
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,source)
|
||||
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"])
|
||||
if tweet.has_key("retweeted_status") and tweet["retweeted_status"].has_key("extended_entities") and tweet["retweeted_status"]["extended_entities"].has_key("media"):
|
||||
for z in tweet["retweeted_status"]["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:
|
||||
self.title = _(u"View item")
|
||||
text = tweet
|
||||
self.message = message.viewNonTweet(text)
|
||||
widgetUtils.connect_event(self.message.spellcheck, widgetUtils.BUTTON_PRESSED, self.spellcheck)
|
||||
@@ -202,5 +273,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,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import webbrowser
|
||||
#import pocket
|
||||
import sound_lib
|
||||
import paths
|
||||
import widgetUtils
|
||||
@@ -12,13 +11,14 @@ import application
|
||||
from wxUI.dialogs import configuration
|
||||
from wxUI import commonMessageDialogs
|
||||
from extra.autocompletionUsers import settings
|
||||
from extra.ocr import OCRSpace
|
||||
from pubsub import pub
|
||||
import logging
|
||||
import config_utils
|
||||
#from pocket_utils import authorisationHandler
|
||||
import BaseHTTPServer
|
||||
log = logging.getLogger("Settings")
|
||||
import keys
|
||||
from collections import OrderedDict
|
||||
from platform_utils.autostart import windows as autostart_windows
|
||||
|
||||
class globalSettingsController(object):
|
||||
def __init__(self):
|
||||
@@ -56,19 +56,32 @@ class globalSettingsController(object):
|
||||
self.dialog.create_general(langs,self.kmfriendlies)
|
||||
self.dialog.general.language.SetSelection(id)
|
||||
self.dialog.general.km.SetSelection(self.kmid)
|
||||
if paths.mode == "installed":
|
||||
self.dialog.set_value("general", "autostart", config.app["app-settings"]["autostart"])
|
||||
else:
|
||||
self.dialog.general.autostart.Enable(False)
|
||||
self.dialog.set_value("general", "ask_at_exit", config.app["app-settings"]["ask_at_exit"])
|
||||
|
||||
self.dialog.set_value("general", "no_streaming", config.app["app-settings"]["no_streaming"])
|
||||
self.dialog.set_value("general", "play_ready_sound", config.app["app-settings"]["play_ready_sound"])
|
||||
self.dialog.set_value("general", "speak_ready_msg", config.app["app-settings"]["speak_ready_msg"])
|
||||
self.dialog.set_value("general", "handle_longtweets", config.app["app-settings"]["handle_longtweets"])
|
||||
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.create_proxy()
|
||||
self.dialog.set_value("general", "update_period", config.app["app-settings"]["update_period"])
|
||||
self.dialog.set_value("general", "check_for_updates", config.app["app-settings"]["check_for_updates"])
|
||||
self.dialog.set_value("general", "remember_mention_and_longtweet", config.app["app-settings"]["remember_mention_and_longtweet"])
|
||||
proxyTypes=config.proxyTypes
|
||||
self.dialog.create_proxy([_(u"Direct connection")]+proxyTypes)
|
||||
if config.app["proxy"]["type"] not in proxyTypes:
|
||||
self.dialog.proxy.type.SetSelection(0)
|
||||
else:
|
||||
self.dialog.proxy.type.SetSelection(proxyTypes.index(config.app["proxy"]["type"])+1)
|
||||
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()
|
||||
|
||||
@@ -82,19 +95,30 @@ class globalSettingsController(object):
|
||||
kmFile = open(paths.config_path("keymap.keymap"), "w")
|
||||
kmFile.close()
|
||||
self.needs_restart = True
|
||||
|
||||
if config.app["app-settings"]["autostart"] != self.dialog.get_value("general", "autostart") and paths.mode == "installed":
|
||||
config.app["app-settings"]["autostart"] = self.dialog.get_value("general", "autostart")
|
||||
autostart_windows.setAutoStart(application.name, enable=self.dialog.get_value("general", "autostart"))
|
||||
if config.app["app-settings"]["use_invisible_keyboard_shorcuts"] != self.dialog.get_value("general", "use_invisible_shorcuts"):
|
||||
config.app["app-settings"]["use_invisible_keyboard_shorcuts"] = self.dialog.get_value("general", "use_invisible_shorcuts")
|
||||
pub.sendMessage("invisible-shorcuts-changed", registered=self.dialog.get_value("general", "use_invisible_shorcuts"))
|
||||
if config.app["app-settings"]["no_streaming"] != self.dialog.get_value("general", "no_streaming"):
|
||||
config.app["app-settings"]["no_streaming"] = self.dialog.get_value("general", "no_streaming")
|
||||
self.needs_restart = True
|
||||
if config.app["app-settings"]["update_period"] != self.dialog.get_value("general", "update_period"):
|
||||
config.app["app-settings"]["update_period"] = self.dialog.get_value("general", "update_period")
|
||||
self.needs_restart = True
|
||||
config.app["app-settings"]["voice_enabled"] = self.dialog.get_value("general", "disable_sapi5")
|
||||
config.app["app-settings"]["hide_gui"] = self.dialog.get_value("general", "hide_gui")
|
||||
config.app["app-settings"]["ask_at_exit"] = self.dialog.get_value("general", "ask_at_exit")
|
||||
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")
|
||||
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"):
|
||||
config.app["app-settings"]["check_for_updates"] = self.dialog.get_value("general", "check_for_updates")
|
||||
config.app["app-settings"]["remember_mention_and_longtweet"] = self.dialog.get_value("general", "remember_mention_and_longtweet")
|
||||
if config.app["proxy"]["type"]!=self.dialog.get_value("proxy", "type") or 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
|
||||
config.app["proxy"]["type"]=self.dialog.get_value("proxy", "type")
|
||||
config.app["proxy"]["server"] = self.dialog.get_value("proxy", "server")
|
||||
config.app["proxy"]["port"] = self.dialog.get_value("proxy", "port")
|
||||
config.app["proxy"]["user"] = self.dialog.get_value("proxy", "user")
|
||||
@@ -113,6 +137,8 @@ class accountSettingsController(globalSettingsController):
|
||||
self.dialog.create_general_account()
|
||||
widgetUtils.connect_event(self.dialog.general.au, widgetUtils.BUTTON_PRESSED, self.manage_autocomplete)
|
||||
self.dialog.set_value("general", "relative_time", self.config["general"]["relative_times"])
|
||||
self.dialog.set_value("general", "show_screen_names", self.config["general"]["show_screen_names"])
|
||||
if application.streaming_lives():
|
||||
self.dialog.set_value("general", "apiCalls", self.config["general"]["max_api_calls"])
|
||||
self.dialog.set_value("general", "itemsPerApiCall", self.config["general"]["max_tweets_per_call"])
|
||||
self.dialog.set_value("general", "reverse_timelines", self.config["general"]["reverse_timelines"])
|
||||
@@ -124,6 +150,9 @@ class accountSettingsController(globalSettingsController):
|
||||
else:
|
||||
self.dialog.set_value("general", "retweet_mode", _(u"Retweet with comments"))
|
||||
self.dialog.set_value("general", "persist_size", str(self.config["general"]["persist_size"]))
|
||||
self.dialog.create_reporting()
|
||||
self.dialog.set_value("reporting", "speech_reporting", self.config["reporting"]["speech_reporting"])
|
||||
self.dialog.set_value("reporting", "braille_reporting", self.config["reporting"]["braille_reporting"])
|
||||
self.dialog.create_other_buffers()
|
||||
buffer_values = self.get_buffers_list()
|
||||
self.dialog.buffers.insert_buffers(buffer_values)
|
||||
@@ -146,13 +175,13 @@ class accountSettingsController(globalSettingsController):
|
||||
self.dialog.set_value("sound", "output", self.config["sound"]["output_device"])
|
||||
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)
|
||||
self.dialog.set_value("services", "apiKey", self.config["sound"]["sndup_api_key"])
|
||||
self.dialog.set_value("sound", "indicate_audio", self.config["sound"]["indicate_audio"])
|
||||
self.dialog.set_value("sound", "indicate_geo", self.config["sound"]["indicate_geo"])
|
||||
self.dialog.set_value("sound", "indicate_img", self.config["sound"]["indicate_img"])
|
||||
self.dialog.create_extras(OCRSpace.translatable_langs)
|
||||
self.dialog.set_value("extras", "sndup_apiKey", self.config["sound"]["sndup_api_key"])
|
||||
language_index = OCRSpace.OcrLangs.index(self.config["mysc"]["ocr_language"])
|
||||
self.dialog.extras.ocr_lang.SetSelection(language_index)
|
||||
self.dialog.realize()
|
||||
self.dialog.set_title(_(u"Account settings for %s") % (self.user,))
|
||||
self.response = self.dialog.get_response()
|
||||
@@ -161,6 +190,8 @@ class accountSettingsController(globalSettingsController):
|
||||
if self.config["general"]["relative_times"] != self.dialog.get_value("general", "relative_time"):
|
||||
self.needs_restart = True
|
||||
self.config["general"]["relative_times"] = self.dialog.get_value("general", "relative_time")
|
||||
self.config["general"]["show_screen_names"] = self.dialog.get_value("general", "show_screen_names")
|
||||
if application.streaming_lives():
|
||||
self.config["general"]["max_api_calls"] = self.dialog.get_value("general", "apiCalls")
|
||||
self.config["general"]["max_tweets_per_call"] = self.dialog.get_value("general", "itemsPerApiCall")
|
||||
if self.config["general"]["persist_size"] != self.dialog.get_value("general", "persist_size"):
|
||||
@@ -187,7 +218,9 @@ class accountSettingsController(globalSettingsController):
|
||||
if set(self.config["general"]["buffer_order"]) != set(buffers_list) or buffers_list != self.config["general"]["buffer_order"]:
|
||||
self.needs_restart = True
|
||||
self.config["general"]["buffer_order"] = buffers_list
|
||||
|
||||
self.config["reporting"]["speech_reporting"] = self.dialog.get_value("reporting", "speech_reporting")
|
||||
self.config["reporting"]["braille_reporting"] = self.dialog.get_value("reporting", "braille_reporting")
|
||||
self.config["mysc"]["ocr_language"] = OCRSpace.OcrLangs[self.dialog.extras.ocr_lang.GetSelection()]
|
||||
# if self.config["other_buffers"]["show_followers"] != self.dialog.get_value("buffers", "followers"):
|
||||
# self.config["other_buffers"]["show_followers"] = self.dialog.get_value("buffers", "followers")
|
||||
# pub.sendMessage("create-new-buffer", buffer="followers", account=self.user, create=self.config["other_buffers"]["show_followers"])
|
||||
@@ -221,9 +254,13 @@ class accountSettingsController(globalSettingsController):
|
||||
self.config["sound"]["volume"] = self.dialog.get_value("sound", "volumeCtrl")/100.0
|
||||
self.config["sound"]["session_mute"] = self.dialog.get_value("sound", "session_mute")
|
||||
self.config["sound"]["current_soundpack"] = self.dialog.sound.get("soundpack")
|
||||
self.config["sound"]["indicate_audio"] = self.dialog.get_value("sound", "indicate_audio")
|
||||
self.config["sound"]["indicate_geo"] = self.dialog.get_value("sound", "indicate_geo")
|
||||
self.config["sound"]["indicate_img"] = self.dialog.get_value("sound", "indicate_img")
|
||||
self.config["sound"]["sndup_api_key"] = self.dialog.get_value("extras", "sndup_apiKey")
|
||||
self.buffer.session.sound.config = self.config["sound"]
|
||||
self.buffer.session.sound.check_soundpack()
|
||||
self.config["sound"]["sndup_api_key"] = self.dialog.get_value("services", "apiKey")
|
||||
self.config.write()
|
||||
|
||||
def toggle_state(self,*args,**kwargs):
|
||||
return self.dialog.buffers.change_selected_item()
|
||||
@@ -245,14 +282,26 @@ class accountSettingsController(globalSettingsController):
|
||||
self.dialog.ignored_clients.remove_(id)
|
||||
|
||||
def get_buffers_list(self):
|
||||
all_buffers = ['home','mentions','dm','sent_dm','sent_tweets','favorites','followers','friends','blocks','muted','events']
|
||||
all_buffers=OrderedDict()
|
||||
all_buffers['home']=_(u"Home")
|
||||
all_buffers['mentions']=_(u"Mentions")
|
||||
all_buffers['dm']=_(u"Direct Messages")
|
||||
all_buffers['sent_dm']=_(u"Sent direct messages")
|
||||
all_buffers['sent_tweets']=_(u"Sent tweets")
|
||||
all_buffers['favorites']=_(u"Likes")
|
||||
all_buffers['followers']=_(u"Followers")
|
||||
all_buffers['friends']=_(u"Friends")
|
||||
all_buffers['blocks']=_(u"Blocked users")
|
||||
all_buffers['muted']=_(u"Muted users")
|
||||
if application.streaming_lives():
|
||||
all_buffers['events']=_(u"Events")
|
||||
list_buffers = []
|
||||
hidden_buffers=[]
|
||||
for i in all_buffers:
|
||||
for i in all_buffers.keys():
|
||||
if i in self.config["general"]["buffer_order"]:
|
||||
list_buffers.append((i, True))
|
||||
list_buffers.append((i, all_buffers[i], True))
|
||||
else:
|
||||
hidden_buffers.append((i, False))
|
||||
hidden_buffers.append((i, all_buffers[i], False))
|
||||
list_buffers.extend(hidden_buffers)
|
||||
return list_buffers
|
||||
|
||||
@@ -260,26 +309,3 @@ class accountSettingsController(globalSettingsController):
|
||||
change = self.dialog.buffers.get_event(ev)
|
||||
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 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"] = ""
|
||||
self.dialog.services.set_pocket(False)
|
||||
|
@@ -1,8 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import wx
|
||||
import webbrowser
|
||||
import widgetUtils
|
||||
import output
|
||||
from wxUI.dialogs import update_profile, show_user
|
||||
import logging
|
||||
log = logging.getLogger("controller.user")
|
||||
from twython import TwythonError
|
||||
|
||||
class profileController(object):
|
||||
@@ -12,14 +15,22 @@ class profileController(object):
|
||||
self.session = session
|
||||
self.user = user
|
||||
if user == None:
|
||||
self.dialog = update_profile.updateProfileDialog()
|
||||
self.get_data(screen_name=self.session.db["user_name"])
|
||||
self.dialog = update_profile.updateProfileDialog()
|
||||
self.fill_profile_fields()
|
||||
self.uploaded = False
|
||||
widgetUtils.connect_event(self.dialog.upload_image, widgetUtils.BUTTON_PRESSED, self.upload_image)
|
||||
else:
|
||||
self.dialog = show_user.showUserProfile()
|
||||
try:
|
||||
self.get_data(screen_name=self.user)
|
||||
except TwythonError as err:
|
||||
if err.error_code == 404:
|
||||
wx.MessageDialog(None, _(u"That user does not exist"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
||||
if err.error_code == 403:
|
||||
wx.MessageDialog(None, _(u"User has been suspended"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
||||
log.error("error %d: %s" % (err.error_code, err.msg))
|
||||
return
|
||||
self.dialog = show_user.showUserProfile()
|
||||
string = self.get_user_info()
|
||||
self.dialog.set("text", string)
|
||||
self.dialog.set_title(_(u"Information for %s") % (self.data["screen_name"]))
|
||||
@@ -31,6 +42,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 +103,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")
|
||||
|
@@ -77,3 +77,4 @@ class userActionsController(object):
|
||||
client = re.sub(r"(?s)<.*?>", "", tweet["source"])
|
||||
if client not in self.session.settings["twitter"]["ignored_clients"]:
|
||||
self.session.settings["twitter"]["ignored_clients"].append(client)
|
||||
self.session.settings.write()
|
@@ -52,22 +52,17 @@ class audioUploader(object):
|
||||
self.uploaderDialog = wx_transfer_dialogs.UploadDialog(self.file)
|
||||
output.speak(_(u"Attaching..."))
|
||||
if self.dialog.get("services") == "SNDUp":
|
||||
base_url = "http://sndup.net/post.php"
|
||||
base_url = "https://sndup.net/post.php"
|
||||
if len(self.config["sound"]["sndup_api_key"]) > 0:
|
||||
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")
|
||||
return services
|
||||
|
||||
@@ -116,6 +111,7 @@ class audioUploader(object):
|
||||
if self.playing:
|
||||
self._stop()
|
||||
if self.recording != None:
|
||||
self.cleanup()
|
||||
self.dialog.disable_control("attach")
|
||||
self.dialog.disable_control("play")
|
||||
self.file = None
|
||||
@@ -174,10 +170,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,45 +1,44 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import pycurl
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import json
|
||||
import logging
|
||||
from utils import *
|
||||
from utils import convert_bytes
|
||||
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
|
||||
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.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)
|
||||
self.local_filename=os.path.basename(self.filename)
|
||||
if isinstance(self.local_filename, unicode):
|
||||
self.local_filename=self.local_filename.encode(sys.getfilesystemencoding())
|
||||
self.fin=open(self.filename, 'rb')
|
||||
self.m = MultipartEncoder(fields={field:(self.local_filename, self.fin, "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, down_total, down_current, up_total, up_current):
|
||||
def progress_callback(self, monitor):
|
||||
progress = {}
|
||||
progress["total"] = up_total
|
||||
progress["current"] = up_current
|
||||
# else:
|
||||
# print "Killed function"
|
||||
# return
|
||||
progress["total"] = monitor.len
|
||||
progress["current"] = monitor.bytes_read
|
||||
if progress["current"] == 0:
|
||||
progress["percent"] = 0
|
||||
self.transfer_rate = 0
|
||||
@@ -56,51 +55,29 @@ class Transfer(object):
|
||||
def perform_transfer(self):
|
||||
log.debug("starting upload...")
|
||||
self.start_time = time.time()
|
||||
self.curl.perform()
|
||||
self.curl.close()
|
||||
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):
|
||||
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.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
|
||||
self.completed_callback(self.obj)
|
||||
if hasattr(self,'fin') and callable(self.fin.close):
|
||||
self.fin.close()
|
||||
|
||||
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()
|
||||
try:
|
||||
data = self.response.json()
|
||||
except:
|
||||
return _("Error in file upload: {0}").format(self.data.content,)
|
||||
if data.has_key("url") and data["url"] != "0":
|
||||
return data["url"]
|
||||
elif data.has_key("error") and data["error"] != "0":
|
||||
return data["error"]
|
||||
else:
|
||||
return _("Error in file upload: {0}").format(self.data.content,)
|
@@ -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.ID_ANY, *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()
|
||||
|
@@ -10,6 +10,7 @@ actions = reverse_sort.reverse_sort([ ("audio", _(u"Audio tweet.")),
|
||||
("favourite", _(u"Tweet liked.")),
|
||||
("favourites_timeline_updated", _(u"Likes buffer updated.")),
|
||||
("geo", _(u"Geotweet.")),
|
||||
("image", _("Tweet contains one or more images")),
|
||||
("limit", _(u"Boundary reached.")),
|
||||
("list_tweet", _(u"List updated.")),
|
||||
("max_length", _(u"Too many characters.")),
|
||||
|
@@ -1,33 +1,43 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import logging
|
||||
log = logging.getLogger("extra.SpellChecker.spellChecker")
|
||||
import wx_ui
|
||||
import widgetUtils
|
||||
import output
|
||||
import config
|
||||
import languageHandler
|
||||
import enchant
|
||||
import paths
|
||||
import twitterFilter
|
||||
from enchant.checker import SpellChecker
|
||||
from enchant.errors import DictNotFoundError
|
||||
from enchant import tokenize
|
||||
import twitterFilter
|
||||
log = logging.getLogger("extra.SpellChecker.spellChecker")
|
||||
|
||||
class spellChecker(object):
|
||||
def __init__(self, text, dictionary):
|
||||
super(spellChecker, self).__init__()
|
||||
# Set Dictionary path if not set in a previous call to this method.
|
||||
# Dictionary path will be located in user config, see https://github.com/manuelcortez/twblue/issues/208
|
||||
dict_path = enchant.get_param("enchant.myspell.dictionary.path")
|
||||
if dict_path == None:
|
||||
enchant.set_param("enchant.myspell.dictionary.path", os.path.join(paths.config_path(), "dicts"))
|
||||
log.debug("Dictionary path set to %s" % (os.path.join(paths.config_path(), "dicts"),))
|
||||
log.debug("Creating the SpellChecker object. Dictionary: %s" % (dictionary,))
|
||||
self.active = True
|
||||
try:
|
||||
if config.app["app-settings"]["language"] == "system":
|
||||
log.debug("Using the system language")
|
||||
self.checker = SpellChecker(filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter])
|
||||
self.dict = enchant.DictWithPWL(languageHandler.curLang[:2], paths.config_path("wordlist.dict"))
|
||||
else:
|
||||
log.debug("Using language: %s" % (languageHandler.getLanguage(),))
|
||||
self.checker = SpellChecker(languageHandler.getLanguage(), filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter])
|
||||
self.checker.set_text(text)
|
||||
self.dict = enchant.DictWithPWL(languageHandler.getLanguage()[:2], paths.config_path("wordlist.dict"))
|
||||
except DictNotFoundError:
|
||||
log.exception("Dictionary for language %s not found." % (dictionary,))
|
||||
wx_ui.dict_not_found_error()
|
||||
self.active = False
|
||||
self.checker = SpellChecker(self.dict, filters=[twitterFilter.TwitterFilter, tokenize.EmailFilter, tokenize.URLFilter])
|
||||
self.checker.set_text(text)
|
||||
if self.active == True:
|
||||
log.debug("Creating dialog...")
|
||||
self.dialog = wx_ui.spellCheckerDialog()
|
||||
@@ -35,6 +45,7 @@ class spellChecker(object):
|
||||
widgetUtils.connect_event(self.dialog.ignoreAll, widgetUtils.BUTTON_PRESSED, self.ignoreAll)
|
||||
widgetUtils.connect_event(self.dialog.replace, widgetUtils.BUTTON_PRESSED, self.replace)
|
||||
widgetUtils.connect_event(self.dialog.replaceAll, widgetUtils.BUTTON_PRESSED, self.replaceAll)
|
||||
widgetUtils.connect_event(self.dialog.add, widgetUtils.BUTTON_PRESSED, self.add)
|
||||
self.check()
|
||||
self.dialog.get_response()
|
||||
self.fixed_text = self.checker.get_text()
|
||||
@@ -51,8 +62,6 @@ class spellChecker(object):
|
||||
log.debug("Process finished.")
|
||||
wx_ui.finished()
|
||||
self.dialog.Destroy()
|
||||
# except AttributeError:
|
||||
# pass
|
||||
|
||||
def ignore(self, ev):
|
||||
self.check()
|
||||
@@ -68,3 +77,7 @@ class spellChecker(object):
|
||||
def replaceAll(self, ev):
|
||||
self.checker.replace_always(self.dialog.get_selected_suggestion())
|
||||
self.check()
|
||||
|
||||
def add(self, ev):
|
||||
self.checker.add()
|
||||
self.check()
|
||||
|
@@ -18,6 +18,7 @@
|
||||
############################################################
|
||||
import wx
|
||||
import application
|
||||
|
||||
class spellCheckerDialog(wx.Dialog):
|
||||
def __init__(self):
|
||||
super(spellCheckerDialog, self).__init__(None, 1)
|
||||
@@ -38,16 +39,18 @@ class spellCheckerDialog(wx.Dialog):
|
||||
suggestionsBox = wx.BoxSizer(wx.HORIZONTAL)
|
||||
suggestionsBox.Add(suggest, 0, wx.ALL, 5)
|
||||
suggestionsBox.Add(self.suggestions, 0, wx.ALL, 5)
|
||||
self.ignore = wx.Button(panel, -1, _(u"Ignore"))
|
||||
self.ignoreAll = wx.Button(panel, -1, _(u"Ignore all"))
|
||||
self.replace = wx.Button(panel, -1, _(u"Replace"))
|
||||
self.replaceAll = wx.Button(panel, -1, _(u"Replace all"))
|
||||
self.ignore = wx.Button(panel, -1, _(u"&Ignore"))
|
||||
self.ignoreAll = wx.Button(panel, -1, _(u"I&gnore all"))
|
||||
self.replace = wx.Button(panel, -1, _(u"&Replace"))
|
||||
self.replaceAll = wx.Button(panel, -1, _(u"R&eplace all"))
|
||||
self.add = wx.Button(panel, -1, _(u"&Add to personal dictionary"))
|
||||
close = wx.Button(panel, wx.ID_CANCEL)
|
||||
btnBox = wx.BoxSizer(wx.HORIZONTAL)
|
||||
btnBox.Add(self.ignore, 0, wx.ALL, 5)
|
||||
btnBox.Add(self.ignoreAll, 0, wx.ALL, 5)
|
||||
btnBox.Add(self.replace, 0, wx.ALL, 5)
|
||||
btnBox.Add(self.replaceAll, 0, wx.ALL, 5)
|
||||
btnBox.Add(self.add, 0, wx.ALL, 5)
|
||||
btnBox.Add(close, 0, wx.ALL, 5)
|
||||
sizer.Add(wordBox, 0, wx.ALL, 5)
|
||||
sizer.Add(contextBox, 0, wx.ALL, 5)
|
||||
|
@@ -10,7 +10,7 @@ class menu(wx.Menu):
|
||||
|
||||
def append_options(self, options):
|
||||
for i in options:
|
||||
item = wx.MenuItem(self, wx.NewId(), "%s (@%s)" % (i[1], i[0]))
|
||||
item = wx.MenuItem(self, wx.ID_ANY, "%s (@%s)" % (i[1], i[0]))
|
||||
self.AppendItem(item)
|
||||
self.Bind(wx.EVT_MENU, lambda evt, temp=i[0]: self.select_text(evt, temp), item)
|
||||
|
||||
|
43
src/extra/ocr/OCRSpace.py
Normal file
43
src/extra/ocr/OCRSpace.py
Normal file
@@ -0,0 +1,43 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
""" original module taken and modified from https://github.com/ctoth/cloudOCR"""
|
||||
import requests
|
||||
|
||||
translatable_langs = [_(u"Detect automatically"), _(u"Danish"), _(u"Dutch"), _(u"English"), _(u"Finnish"), _(u"French"), _(u"German"), _(u"Hungarian"), _(u"Korean"), _(u"Italian"), _(u"Japanese"), _(u"Polish"), _(u"Portuguese"), _(u"Russian"), _(u"Spanish"), _(u"Turkish")]
|
||||
short_langs = ["", "da", "du", "en", "fi", "fr", "de", "hu", "ko", "it", "ja", "pl", "pt", "ru", "es", "tr"]
|
||||
OcrLangs = ["", "dan", "dut", "eng", "fin", "fre", "ger", "hun", "kor", "ita", "jpn", "pol", "por", "rus", "spa", "tur"]
|
||||
|
||||
class APIError(Exception):
|
||||
pass
|
||||
|
||||
class OCRSpaceAPI(object):
|
||||
|
||||
def __init__(self, key="4e72ae996f88957", url='https://api.ocr.space/parse/image'):
|
||||
self.key = key
|
||||
self.url = url
|
||||
|
||||
def OCR_URL(self, url, overlay=False, lang=None):
|
||||
payload = {
|
||||
'url': url,
|
||||
'isOverlayRequired': overlay,
|
||||
'apikey': self.key,
|
||||
}
|
||||
if lang != None:
|
||||
payload.update(language=lang)
|
||||
r = requests.post(self.url, data=payload)
|
||||
result = r.json()['ParsedResults'][0]
|
||||
if result['ErrorMessage']:
|
||||
raise APIError(result['ErrorMessage'])
|
||||
return result
|
||||
|
||||
def OCR_file(self, fileobj, overlay=False):
|
||||
payload = {
|
||||
'isOverlayRequired': overlay,
|
||||
'apikey': self.key,
|
||||
'lang': 'es',
|
||||
}
|
||||
r = requests.post(self.url, data=payload, files={'file': fileobj})
|
||||
results = r.json()['ParsedResults']
|
||||
if results[0]['ErrorMessage']:
|
||||
raise APIError(results[0]['ErrorMessage'])
|
||||
return results
|
||||
|
@@ -1 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import OCRSpace
|
@@ -1,11 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from microsofttranslator import Translator
|
||||
|
||||
def translate(text="", source="auto", target="en"):
|
||||
t = Translator("twblue", "4KZA26GYIfmVAqQA/z16Hlucbg64hVSDTIpRjT2FqIU=")
|
||||
return t.translate(text, target)
|
||||
from yandex_translate import YandexTranslate
|
||||
|
||||
def translate(text="", target="en"):
|
||||
t = YandexTranslate("trnsl.1.1.20161012T134532Z.d01b9c75fc39aa74.7d1be75a5166a80583eeb020e10f584168da6bf7")
|
||||
vars = dict(text=text, lang=target)
|
||||
return t.translate(**vars)["text"][0]
|
||||
|
||||
supported_langs = None
|
||||
d = None
|
||||
languages = {
|
||||
"af": _(u"Afrikaans"),
|
||||
"sq": _(u"Albanian"),
|
||||
@@ -71,7 +73,7 @@ languages = {
|
||||
"ps": _(u"Pashto"),
|
||||
"fa": _(u"Persian"),
|
||||
"pl": _(u"Polish"),
|
||||
"pt-PT": _(u"Portuguese"),
|
||||
"pt": _(u"Portuguese"),
|
||||
"pa": _(u"Punjabi"),
|
||||
"ro": _(u"Romanian"),
|
||||
"ru": _(u"Russian"),
|
||||
@@ -101,8 +103,11 @@ languages = {
|
||||
}
|
||||
|
||||
def available_languages():
|
||||
l = languages.keys()
|
||||
d = languages.values()
|
||||
l.insert(0, '')
|
||||
d.insert(0, _(u"autodetect"))
|
||||
return sorted(zip(l, d))
|
||||
global supported_langs, d
|
||||
if supported_langs == None and d == None:
|
||||
t = YandexTranslate("trnsl.1.1.20161012T134532Z.d01b9c75fc39aa74.7d1be75a5166a80583eeb020e10f584168da6bf7")
|
||||
supported_langs = t.langs
|
||||
d = []
|
||||
for i in supported_langs:
|
||||
d.append(languages[i])
|
||||
return sorted(zip(supported_langs, d))
|
||||
|
@@ -25,15 +25,11 @@ class translateDialog(baseDialog.BaseWXDialog):
|
||||
super(translateDialog, self).__init__(None, -1, title=_(u"Translate message"))
|
||||
panel = wx.Panel(self)
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
staticSource = wx.StaticText(panel, -1, _(u"Source language"))
|
||||
self.source_lang = wx.ComboBox(panel, -1, choices=[x[1] for x in translator.available_languages()], style = wx.CB_READONLY)
|
||||
self.source_lang.SetFocus()
|
||||
staticDest = wx.StaticText(panel, -1, _(u"Target language"))
|
||||
self.source_lang.SetSelection(0)
|
||||
self.dest_lang = wx.ComboBox(panel, -1, choices=[x[1] for x in translator.available_languages()], style = wx.CB_READONLY)
|
||||
self.dest_lang.SetFocus()
|
||||
self.dest_lang.SetSelection(0)
|
||||
listSizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
listSizer.Add(staticSource)
|
||||
listSizer.Add(self.source_lang)
|
||||
listSizer.Add(staticDest)
|
||||
listSizer.Add(self.dest_lang)
|
||||
ok = wx.Button(panel, wx.ID_OK)
|
||||
|
@@ -4,9 +4,12 @@ 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(True)
|
||||
else:
|
||||
fix_requests.fix(False)
|
||||
fix_urllib3_warnings.fix()
|
@@ -1,29 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
from arrow import locales
|
||||
from arrow.locales import Locale
|
||||
|
||||
def fix():
|
||||
''' This function adds the Catala, Basque and galician locales to the list of locales supported in Arrow.
|
||||
it also fixes capitalizations in names from turkish and arabian locales.
|
||||
see https://github.com/crsmithdev/arrow/pull/207 for following the pull request.'''
|
||||
locales.CatalaLocale = CatalaLocale
|
||||
locales.GalicianLocale = GalicianLocale
|
||||
locales.BasqueLocale = BasqueLocale
|
||||
locales.TurkishLocale.names[-1] = "tr_tr"
|
||||
locales.ArabicLocale.names[-1] = "ar_eg"
|
||||
# insert a modified function so if there is no language available in arrow, returns English locale.
|
||||
locales.get_locale = get_locale
|
||||
# We need to reassign the locales list for updating the list with our new contents.
|
||||
locales._locales = locales._map_locales()
|
||||
|
||||
def get_locale(name):
|
||||
locale_cls = locales._locales.get(name.lower())
|
||||
if locale_cls is None:
|
||||
name = name[:2]
|
||||
locale_cls = locales._locales.get(name.lower())
|
||||
if locale_cls == None:
|
||||
return locales.EnglishLocale()
|
||||
return locale_cls()
|
||||
|
||||
class CatalaLocale(Locale):
|
||||
names = ['ca', 'ca_ca']
|
||||
names = ['ca', 'ca_es', 'ca_ca']
|
||||
past = 'Fa {0}'
|
||||
future = '{0}' # I don't know what's the right phrase in catala for the future.
|
||||
|
||||
@@ -48,9 +41,9 @@ class CatalaLocale(Locale):
|
||||
day_abbreviations = ['', 'Dilluns', 'Dimars', 'Dimecres', 'Dijous', 'Divendres', 'Disabte', 'Diumenge']
|
||||
|
||||
class GalicianLocale(Locale):
|
||||
names = ['gl', 'gl_gl']
|
||||
names = ['gl', 'gl_es', 'gl_gl']
|
||||
past = 'Fai {0}'
|
||||
future = '{0}' # I don't know what's the right phrase in Galician for the future.
|
||||
future = 'En {0}'
|
||||
|
||||
timeframes = {
|
||||
'now': 'Agora mesmo',
|
||||
@@ -73,7 +66,7 @@ class GalicianLocale(Locale):
|
||||
day_abbreviations = ['', 'Lun', 'Mar', 'Mer', 'xov', 'Ven' 'Sab', 'Dom']
|
||||
|
||||
class BasqueLocale(Locale):
|
||||
names = ['eu', 'eu_eu']
|
||||
names = ['eu', 'eu_es', 'eu_eu']
|
||||
past = 'duela {0}'
|
||||
future = '{0} igarota'
|
||||
|
||||
|
26
src/fixes/fix_requests.py
Normal file
26
src/fixes/fix_requests.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from requests import certs, utils, adapters
|
||||
import paths
|
||||
import config
|
||||
import requests.sessions
|
||||
orig_session_init=requests.sessions.Session.__init__
|
||||
|
||||
def patched_where():
|
||||
return paths.app_path(u"cacert.pem")
|
||||
|
||||
def fix(frozen):
|
||||
if frozen==True:
|
||||
certs.where=patched_where
|
||||
utils.DEFAULT_CA_BUNDLE_PATH=patched_where()
|
||||
adapters.DEFAULT_CA_BUNDLE_PATH=patched_where()
|
||||
requests.sessions.Session.__init__=patched_session_init
|
||||
requests.Session.__init__=patched_session_init
|
||||
requests.session.__init__=patched_session_init
|
||||
|
||||
def patched_session_init(self):
|
||||
orig_session_init(self)
|
||||
if config.app["proxy"]["server"] != "" and config.app["proxy"]["port"] != "" and config.app["proxy"]["type"] in config.proxyTypes:
|
||||
self.proxies={"http":"{0}://{1}:{2}/".format(config.app["proxy"]["type"], config.app["proxy"]["server"], config.app["proxy"]["port"]),
|
||||
"https": "{0}://{1}:{2}/".format(config.app["proxy"]["type"], config.app["proxy"]["server"], config.app["proxy"]["port"])}
|
||||
if config.app["proxy"]["user"] != "" and config.app["proxy"]["password"] != "":
|
||||
self.proxies={"http": "{0}://{1}:{2}@{3}:{4}/".format(config.app["proxy"]["type"], config.app["proxy"]["user"], config.app["proxy"]["password"], config.app["proxy"]["server"], config.app["proxy"]["port"]),
|
||||
"https": "{0}://{1}:{2}@{3}:{4}/".format(config.app["proxy"]["type"], config.app["proxy"]["user"], config.app["proxy"]["password"], config.app["proxy"]["server"], config.app["proxy"]["port"])}
|
@@ -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()
|
||||
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,8 +28,9 @@ 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")
|
||||
update_buffer = string(default="control+win+shift+u")
|
||||
ocr_image = string(default="win+alt+o")
|
@@ -52,3 +52,4 @@ list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
||||
ocr_image = string(default="win+alt+o")
|
@@ -11,14 +11,13 @@ right = string(default="alt+win+right")
|
||||
next_account = string(default="alt+win+shift+right")
|
||||
previous_account = string(default="alt+win+shift+left")
|
||||
open_conversation = string(default="alt+win+c")
|
||||
show_hide = string(default="alt+win+w")
|
||||
show_hide = string(default="control+win+w")
|
||||
post_tweet = string(default="alt+win+n")
|
||||
post_reply = string(default="control+win+r")
|
||||
post_retweet = string(default="alt+win+shift+r")
|
||||
send_dm = string(default="alt+win+d")
|
||||
add_to_favourites = string(default="alt+win+f")
|
||||
remove_from_favourites = string(default="alt+shift+win+f")
|
||||
follow = string(default="alt+win+s")
|
||||
send_dm = string(default="alt+win+shift+d")
|
||||
toggle_like = string(default="control+alt+win+f")
|
||||
follow = string(default="alt+win+shift+s")
|
||||
user_details = string(default="alt+win+shift+n")
|
||||
view_item = string(default="alt+win+v")
|
||||
exit = string(default="alt+win+f4")
|
||||
@@ -48,9 +47,10 @@ view_user_lists = string(default="alt+win+l")
|
||||
get_more_items = string(default="alt+win+pageup")
|
||||
reverse_geocode = string(default="alt+win+g")
|
||||
view_reverse_geocode = string(default="alt+win+shift+g")
|
||||
get_trending_topics = string(default="alt+win+t")
|
||||
get_trending_topics = string(default="control+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")
|
||||
update_buffer = string(default="control+alt+shift+u")
|
||||
ocr_image = string(default="win+alt+o")
|
@@ -55,3 +55,4 @@ list_manager = string(default="control+win+shift+l")
|
||||
configuration = string(default="control+win+o")
|
||||
accountConfiguration = string(default="control+win+shift+o")
|
||||
update_buffer = string(default="control+win+shift+u")
|
||||
ocr_image = string(default="win+alt+o")
|
@@ -5,15 +5,15 @@ 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":
|
||||
#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("stable_api_keys32", x86_path=paths.app_path("keys/lib"))
|
||||
else:
|
||||
else:
|
||||
lib = load_library("stable_api_keys64", x64_path=paths.app_path("keys/lib"))
|
||||
|
||||
# import linuxKeys
|
||||
|
@@ -12,6 +12,7 @@ actions = {
|
||||
"post_retweet": _(u"Retweet"),
|
||||
"send_dm": _(u"Send direct message"),
|
||||
"add_to_favourites": _(u"Like a tweet"),
|
||||
"toggle_like": _(u"Like/unlike a tweet"),
|
||||
"remove_from_favourites": _(u"Unlike a tweet"),
|
||||
"follow": _(u"Open the user actions dialogue"),
|
||||
"user_details": _(u"See user details"),
|
||||
@@ -52,4 +53,5 @@ actions = {
|
||||
"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."),
|
||||
"ocr_image": _(u"Extracts the text from a picture and displays the result in a dialog."),
|
||||
}
|
@@ -28,6 +28,7 @@ class KeystrokeEditor(object):
|
||||
if new_keystroke != self.map[action]:
|
||||
self.changed = True
|
||||
self.map[action] = new_keystroke
|
||||
self.dialog.put_keystrokes(constants.actions, self.map)
|
||||
|
||||
def set_keystroke(self, keystroke, dialog):
|
||||
for i in keystroke.split("+"):
|
||||
|
@@ -29,6 +29,8 @@ class keystrokeEditorDialog(baseDialog.BaseWXDialog):
|
||||
self.SetClientSize(sizer.CalcMin())
|
||||
|
||||
def put_keystrokes(self, actions, keystrokes):
|
||||
selection = self.keys.get_selected()
|
||||
self.keys.clear()
|
||||
for i in keystrokes:
|
||||
if actions.has_key(i) == False:
|
||||
continue
|
||||
@@ -36,6 +38,7 @@ class keystrokeEditorDialog(baseDialog.BaseWXDialog):
|
||||
self.actions.append(i)
|
||||
keystroke = keystrokes[i]
|
||||
self.keys.insert_item(False, *[action, keystroke])
|
||||
self.keys.select_item(selection)
|
||||
|
||||
def get_action(self):
|
||||
return self.keys.get_selected()
|
||||
|
@@ -3,6 +3,8 @@ import os
|
||||
import sys
|
||||
import ctypes
|
||||
import locale
|
||||
# add mapping for Serbian (latin) language
|
||||
locale.windows_locale[9242]='sr_RS'
|
||||
import gettext
|
||||
import paths
|
||||
import platform
|
||||
@@ -190,7 +192,8 @@ def langToWindowsLocale(lang):
|
||||
languages = {"en": "eng",
|
||||
"ar": "ara",
|
||||
"ca": "cat",
|
||||
"de": "deu",
|
||||
"da": "dan",
|
||||
"de": "deu",
|
||||
"es": "esp",
|
||||
"fi": "fin",
|
||||
"fr": "fre_FRA",
|
||||
|
@@ -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__, "."))
|
||||
@@ -20,6 +20,7 @@ def load_com(*names):
|
||||
global fixed
|
||||
if fixed==False:
|
||||
gencache._GetModule=patched_getmodule
|
||||
prepare_gencache()
|
||||
fixed=True
|
||||
result = None
|
||||
for name in names:
|
||||
|
@@ -29,7 +29,7 @@ class LibraryLoadError(OSError): pass
|
||||
|
||||
def load_library(library, x86_path='.', x64_path='.', *args, **kwargs):
|
||||
lib = find_library_path(library, x86_path=x86_path, x64_path=x64_path)
|
||||
loaded = _do_load(lib, *args, **kwargs)
|
||||
loaded = _do_load(str(lib), *args, **kwargs)
|
||||
if loaded is not None:
|
||||
return loaded
|
||||
raise LibraryLoadError('unable to load %r. Provided library path: %r' % (library, lib))
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user