turpial-3.0+dfsg.orig/0000755000000000000000000000000012254451540011602 5ustar turpial-3.0+dfsg.orig/setup.py0000644000000000000000000000472512254451435013327 0ustar #!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from babel.messages import frontend as babel from distutils.command.build import build as _build from turpial import VERSION LONG_DESCRIPTION = """ Turpial is a light, fast and beautiful microblogging client written in Python """ class build(_build): def get_sub_commands(self): sub_commands = _build.get_sub_commands(self) print sub_commands return [('compile_catalog', None), ] + sub_commands # TODO: Maybe find some better ways to do this # looking distutils's copy_tree method data_files=[ ('share/icons/scalable/apps', ['turpial/data/pixmaps/turpial.svg']), ('share/pixmaps', ['turpial/data/pixmaps/turpial.png']), ('share/applications', ['turpial.desktop']), ('share/doc/turpial', ['ChangeLog', 'README.rst', 'AUTHORS', 'COPYING', 'TRANSLATORS', 'THANKS']), ] setup(name="turpial", version=VERSION, description="A light, beautiful and functional microblogging client", long_description=LONG_DESCRIPTION, author="Wil Alvarez", author_email="wil.alejandro@gmail.com", maintainer="Wil Alvarez", maintainer_email="wil.alejandro@gmail.com", url="http://turpial.org.ve", download_url="http://turpial.org.ve/downloads", license="GPLv3", keywords='twitter identi.ca microblogging turpial', classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: X11 Applications :: Qt", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Communications" ], include_package_data=True, packages=find_packages(), package_data={ 'turpial': ['data/pixmaps/*', 'data/sounds/*', 'data/fonts/*', 'turpial/ui/qt/*', 'turpial/i18n/*', 'turpial/ui/qt/templates/*'], }, entry_points={ 'console_scripts': [ 'turpial = turpial.main:main', #'turpial-unity-daemon = turpial.ui.unity.daemon:main', ], }, cmdclass={ 'compile_catalog': babel.compile_catalog, 'extract_messages': babel.extract_messages, 'init_catalog': babel.init_catalog, 'update_catalog': babel.update_catalog, }, data_files=data_files, ) turpial-3.0+dfsg.orig/ChangeLog0000644000000000000000000000572012254451435013363 0ustar v3.0 (Dec 18, 2013): * Final release v3.0-b2 (Dec 8, 2013): * Fixed issue with closing action in tray icon menu * Removed unneccessary fonts * Updated TRANSLATORS file * Added darker buttons for tweets * Removed filters because they are causing tweets duplication * Fixed welcome string after adding the first accounts * Fixed issue with apostrophe in status text v3.0-b1 (Nov 29, 2013): * Just update the tweets * Improved setup.py * Added startup screen while Turpial loads * Sorted list of services * Fixed tweet interaction from profile dialog * Restored window geometry at startup * Updated requirements.txt * Added translations ca, de, eo, es, fr, it, ja, pt_BR, pt_PT, ru_RU, tr * Fixed statuses duplication * Fixed tray icon menu * Minor fixes v2.9.6-a1 (Nov 20, 2013): * New backend on top of libturpial * Rewrite of the whole interface using Qt * Support for multiple accounts and multiple columns * No more login with user & password * Added queue for messages * Enhanced filters * Added support for Mac OS (and Windows theoretically) * Support for broadcasting messages * Cleaned and improved overall UI * Improved user interaction with tweets * Links, mentions and hashtags are clickable * Enhanced twitter search * Added more services to short url and upload pictures * Implemented previsualization of images and user avatars * Improved conversation interface v1.7.6-a1 (Mar 18, 2012): * Bug #308: Improved URL detection * Bug #504: Content menu doesn't show in secondary columns * Bug #506: Change the menu for direct statuses * Feature #66: Open images in a embedded window * Feature #116: Preferences dialog (with advance options) * Feature #117: Vista de tweets usando WebKit * Feature #118: Broadcasting when update status * Feature #190: Dialog to send DMs * Feature #211: Undo feature support (ctlr + z) * Feature #224: Show profile image at real size when user click it * Feature #226: Autoshort URL * Feature #260: Add favorites as columns * Feature #313: Configuration for having only one instance of Turpial * Feature #325: Embedded profiles visualization * Feature #330: New dialog for username autocomplete * Feature #334: Improved the conversations dialog * Feature #358: Support to handle as columns as the user wants * Feature #468: Ubuntu integration * Feature #473: Add/remove favorites * Feature #474: Implement retweet * Feature #475: Update status, make replies and quotes * Feature #477: Add public timeline to columns * Feature #484: Undo retweet * Feature #485: Go on the top of the tweet list * Feature #487: Delete statuses * Feature #488: Implement block and report as spam features * Feature #489: Implement mute/unmute features * Feature #491: Implement follow/unfollow feature (just from profile dialog) * Feature #497: Implement notifications (visual and sound) * Feature #513: Implement support for the openmedia module turpial-3.0+dfsg.orig/turpial.desktop0000644000000000000000000000054712254451435014666 0ustar [Desktop Entry] Version=2.0 Name=Turpial Name[es]=Turpial GenericName=Microblogging client GenericName[es]=Cliente de microblogging Comment=A light, beautiful and functional microblogging client Comment[es]=Un cliente de microblogging ligero, bonito y funcional Exec=turpial Icon=turpial Terminal=false Type=Application Categories=Network; StartupNotify=true turpial-3.0+dfsg.orig/pylintrc0000644000000000000000000002155412254451435013403 0ustar # lint Python modules using external checkers. # # This is the main checker controlling the other ones and the reports # generation. It is itself both a raw checker and an astng checker in order # to: # * handle message activation / deactivation at the module level # * handle some basic but necessary stats'data (number of classes, methods...) # [MASTER] # Specify a configuration file. #rcfile= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). #init-hook= # Profiled execution. profile=no # Add to the black list. It should be a base name, not a # path. You may set this option multiple times. ignore=.git, oauth_client, oauth, s60tweetphoto, poster # Pickle collected data for later comparisons. persistent=yes # Set the cache size for astng objects. cache-size=500 # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. load-plugins= [MESSAGES CONTROL] # Enable only checker(s) with the given id(s). This option conflicts with the # disable-checker option #enable-checker= # Enable all checker(s) except those with the given id(s). This option # conflicts with the enable-checker option #disable-checker= # Enable all messages in the listed categories (IRCWEF). #enable-msg-cat= # Disable all messages in the listed categories (IRCWEF). disable-msg-cat=I # Enable the message(s) with the given id(s). #enable-msg= # Disable the message(s) with the given id(s). disable-msg=W0704 [REPORTS] # Set the output format. Available formats are text, parseable, colorized, msvs # (visual studio) and html output-format=text # Include message's id in output include-ids=no # Put messages in a separate file for each module / package specified on the # command line instead of printing them on stdout. Reports (if any) will be # written in a file name "pylint_global.[txt|html]". files-output=no # Tells whether to display a full report or only the messages reports=yes # Python expression which should return a note less than 10 (10 is the highest # note). You have access to the variables errors warning, statement which # respectively contain the number of errors / warnings messages and the total # number of statements analyzed. This is used by the global evaluation report # (R0004). evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) # Add a comment according to your evaluation note. This is used by the global # evaluation report (R0004). comment=no # Enable the report(s) with the given id(s). #enable-report= # Disable the report(s) with the given id(s). #disable-report= # try to find bugs in the code using type inference # [TYPECHECK] # Tells whether missing members accessed in mixin class should be ignored. A # mixin class is detected if its name ends with "mixin" (case insensitive). ignore-mixin-members=yes # List of classes names for which member attributes should not be checked # (useful for classes with attributes dynamically set). ignored-classes=SQLObject # When zope mode is activated, add a predefined set of Zope acquired attributes # to generated-members. zope=no # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E0201 when accessed. generated-members=REQUEST,acl_users,aq_parent # checks for : # * doc strings # * modules / classes / functions / methods / arguments / variables name # * number of arguments, local variables, branches, returns and statements in # functions, methods # * required module attributes # * dangerous default values as arguments # * redefinition of function / method / class # * uses of the global statement # [BASIC] # Required attributes for module, separated by a comma required-attributes= # Regular expression which should only match functions or classes name which do # not require a docstring no-docstring-rgx=__.*__ # Regular expression which should only match correct module names module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ # Regular expression which should only match correct module level names const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ # Regular expression which should only match correct class names class-rgx=[A-Z_][a-zA-Z0-9]+$ # Regular expression which should only match correct function names function-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct method names method-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct instance attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct argument names argument-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct variable names #variable-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct list comprehension / # generator expression variable names inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ # Good variable names which should always be accepted, separated by a comma good-names=i,j,k,ex,Run,_ # Bad variable names which should always be refused, separated by a comma bad-names=foo,bar,baz,toto,tutu,tata # List of builtins function names that should not be used, separated by a comma bad-functions=map,filter,apply,input # checks for # * unused variables / imports # * undefined variables # * redefinition of variable from builtins or from an outer scope # * use of variable before assignment # [VARIABLES] # Tells whether we should check for unused import in __init__ files. init-import=no # A regular expression matching names used for dummy variables (i.e. not used). dummy-variables-rgx=_|dummy # List of additional names supposed to be defined in builtins. Remember that # you should avoid to define new builtins when possible. additional-builtins=_ # checks for sign of poor/misdesign: # * number of methods, attributes, local variables... # * size, complexity of functions, methods # [DESIGN] # Maximum number of arguments for function / method max-args=5 # Maximum number of locals for function / method body max-locals=15 # Maximum number of return / yield for function / method body max-returns=6 # Maximum number of branch for function / method body max-branchs=12 # Maximum number of statements in function / method body max-statements=50 # Maximum number of parents for a class (see R0901). max-parents=7 # Maximum number of attributes for a class (see R0902). max-attributes=7 # Minimum number of public methods for a class (see R0903). min-public-methods=2 # Maximum number of public methods for a class (see R0904). max-public-methods=20 # checks for : # * methods without self as first argument # * overridden methods signature # * access only to existent members via self # * attributes not defined in the __init__ method # * supported interfaces implementation # * unreachable code # [CLASSES] # List of interface methods to ignore, separated by a comma. This is used for # instance to not check methods defines in Zope's Interface base class. ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by # List of method names used to declare (i.e. assign) instance attributes. defining-attr-methods=__init__,__new__,setUp # checks for # * external modules dependencies # * relative / wildcard imports # * cyclic imports # * uses of deprecated modules # [IMPORTS] # Deprecated modules which should not be used, separated by a comma deprecated-modules=regsub,string,TERMIOS,Bastion,rexec # Create a graph of every (i.e. internal and external) dependencies in the # given file (report R0402 must not be disabled) import-graph= # Create a graph of external dependencies in the given file (report R0402 must # not be disabled) ext-import-graph= # Create a graph of internal dependencies in the given file (report R0402 must # not be disabled) int-import-graph= # checks for : # * unauthorized constructions # * strict indentation # * line length # * use of <> instead of != # [FORMAT] # Maximum number of characters on a single line. max-line-length=80 # Maximum number of lines in a module max-module-lines=1000 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 # tab). indent-string=' ' # checks for: # * warning notes in the code like FIXME, XXX # * PEP 263: source code with non ascii character but no encoding declaration # [MISCELLANEOUS] # List of note tags to take in consideration, separated by a comma. notes=FIXME,XXX,TODO # checks for similarities and duplicated code. This computation may be # memory / CPU intensive, so you should disable it if you experiments some # problems. # [SIMILARITIES] # Minimum lines number of a similarity. min-similarity-lines=4 # Ignore comments when computing similarities. ignore-comments=yes # Ignore docstrings when computing similarities. ignore-docstrings=yes turpial-3.0+dfsg.orig/ez_setup.py0000644000000000000000000002404512254451435014022 0ustar #!python """Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() If you want to require a specific version of setuptools, set a download mirror, or use an alternate download directory, you can do so by supplying the appropriate options to ``use_setuptools()``. This file can also be run as a script to install or upgrade setuptools. """ import sys DEFAULT_VERSION = "0.6c11" DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3] md5_data = { 'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca', 'setuptools-0.6b1-py2.4.egg': 'b79a8a403e4502fbb85ee3f1941735cb', 'setuptools-0.6b2-py2.3.egg': '5657759d8a6d8fc44070a9d07272d99b', 'setuptools-0.6b2-py2.4.egg': '4996a8d169d2be661fa32a6e52e4f82a', 'setuptools-0.6b3-py2.3.egg': 'bb31c0fc7399a63579975cad9f5a0618', 'setuptools-0.6b3-py2.4.egg': '38a8c6b3d6ecd22247f179f7da669fac', 'setuptools-0.6b4-py2.3.egg': '62045a24ed4e1ebc77fe039aa4e6f7e5', 'setuptools-0.6b4-py2.4.egg': '4cb2a185d228dacffb2d17f103b3b1c4', 'setuptools-0.6c1-py2.3.egg': 'b3f2b5539d65cb7f74ad79127f1a908c', 'setuptools-0.6c1-py2.4.egg': 'b45adeda0667d2d2ffe14009364f2a4b', 'setuptools-0.6c10-py2.3.egg': 'ce1e2ab5d3a0256456d9fc13800a7090', 'setuptools-0.6c10-py2.4.egg': '57d6d9d6e9b80772c59a53a8433a5dd4', 'setuptools-0.6c10-py2.5.egg': 'de46ac8b1c97c895572e5e8596aeb8c7', 'setuptools-0.6c10-py2.6.egg': '58ea40aef06da02ce641495523a0b7f5', 'setuptools-0.6c11-py2.3.egg': '2baeac6e13d414a9d28e7ba5b5a596de', 'setuptools-0.6c11-py2.4.egg': 'bd639f9b0eac4c42497034dec2ec0c2b', 'setuptools-0.6c11-py2.5.egg': '64c94f3bf7a72a13ec83e0b24f2749b2', 'setuptools-0.6c11-py2.6.egg': 'bfa92100bd772d5a213eedd356d64086', 'setuptools-0.6c2-py2.3.egg': 'f0064bf6aa2b7d0f3ba0b43f20817c27', 'setuptools-0.6c2-py2.4.egg': '616192eec35f47e8ea16cd6a122b7277', 'setuptools-0.6c3-py2.3.egg': 'f181fa125dfe85a259c9cd6f1d7b78fa', 'setuptools-0.6c3-py2.4.egg': 'e0ed74682c998bfb73bf803a50e7b71e', 'setuptools-0.6c3-py2.5.egg': 'abef16fdd61955514841c7c6bd98965e', 'setuptools-0.6c4-py2.3.egg': 'b0b9131acab32022bfac7f44c5d7971f', 'setuptools-0.6c4-py2.4.egg': '2a1f9656d4fbf3c97bf946c0a124e6e2', 'setuptools-0.6c4-py2.5.egg': '8f5a052e32cdb9c72bcf4b5526f28afc', 'setuptools-0.6c5-py2.3.egg': 'ee9fd80965da04f2f3e6b3576e9d8167', 'setuptools-0.6c5-py2.4.egg': 'afe2adf1c01701ee841761f5bcd8aa64', 'setuptools-0.6c5-py2.5.egg': 'a8d3f61494ccaa8714dfed37bccd3d5d', 'setuptools-0.6c6-py2.3.egg': '35686b78116a668847237b69d549ec20', 'setuptools-0.6c6-py2.4.egg': '3c56af57be3225019260a644430065ab', 'setuptools-0.6c6-py2.5.egg': 'b2f8a7520709a5b34f80946de5f02f53', 'setuptools-0.6c7-py2.3.egg': '209fdf9adc3a615e5115b725658e13e2', 'setuptools-0.6c7-py2.4.egg': '5a8f954807d46a0fb67cf1f26c55a82e', 'setuptools-0.6c7-py2.5.egg': '45d2ad28f9750e7434111fde831e8372', 'setuptools-0.6c8-py2.3.egg': '50759d29b349db8cfd807ba8303f1902', 'setuptools-0.6c8-py2.4.egg': 'cba38d74f7d483c06e9daa6070cce6de', 'setuptools-0.6c8-py2.5.egg': '1721747ee329dc150590a58b3e1ac95b', 'setuptools-0.6c9-py2.3.egg': 'a83c4020414807b496e4cfbe08507c03', 'setuptools-0.6c9-py2.4.egg': '260a2be2e5388d66bdaee06abec6342a', 'setuptools-0.6c9-py2.5.egg': 'fe67c3e5a17b12c0e7c541b7ea43a8e6', 'setuptools-0.6c9-py2.6.egg': 'ca37b1ff16fa2ede6e19383e7b59245a', } import sys, os try: from hashlib import md5 except ImportError: from md5 import md5 def _validate_md5(egg_name, data): if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: print >>sys.stderr, ( "md5 validation of %s failed! (Possible download problem?)" % egg_name ) sys.exit(2) return data def use_setuptools( version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, download_delay=15 ): """Automatically find/download setuptools and make it available on sys.path `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where setuptools will be downloaded, if it is not already available. If `download_delay` is specified, it should be the number of seconds that will be paused before initiating a download, should one be required. If an older version of setuptools is installed, this routine will print a message to ``sys.stderr`` and raise SystemExit in an attempt to abort the calling script. """ was_imported = 'pkg_resources' in sys.modules or 'setuptools' in sys.modules def do_download(): egg = download_setuptools(version, download_base, to_dir, download_delay) sys.path.insert(0, egg) import setuptools; setuptools.bootstrap_install_from = egg try: import pkg_resources except ImportError: return do_download() try: pkg_resources.require("setuptools>="+version); return except pkg_resources.VersionConflict, e: if was_imported: print >>sys.stderr, ( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" ) % (version, e.args[0]) sys.exit(2) else: del pkg_resources, sys.modules['pkg_resources'] # reload ok return do_download() except pkg_resources.DistributionNotFound: return do_download() def download_setuptools( version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, delay = 15 ): """Download setuptools from a specified location and return its filename `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ import urllib2 egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) src = dst = None if not os.path.exists(saveto): # Avoid repeated downloads try: from distutils import log if delay: log.warn(""" --------------------------------------------------------------------------- This script requires setuptools version %s to run (even to display help). I will attempt to download it for you (from %s), but you may need to enable firewall access for this script first. I will start the download in %d seconds. (Note: if this machine does not have network access, please obtain the file %s and place it in this directory before rerunning this script.) ---------------------------------------------------------------------------""", version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) src = urllib2.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) dst = open(saveto,"wb"); dst.write(data) finally: if src: src.close() if dst: dst.close() return os.path.realpath(saveto) def main(argv, version=DEFAULT_VERSION): """Install or upgrade setuptools and EasyInstall""" try: import setuptools except ImportError: egg = None try: egg = download_setuptools(version, delay=0) sys.path.insert(0,egg) from setuptools.command.easy_install import main return main(list(argv)+[egg]) # we're done here finally: if egg and os.path.exists(egg): os.unlink(egg) else: if setuptools.__version__ == '0.0.1': print >>sys.stderr, ( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." ) sys.exit(2) req = "setuptools>="+version import pkg_resources try: pkg_resources.require(req) except pkg_resources.VersionConflict: try: from setuptools.command.easy_install import main except ImportError: from easy_install import main main(list(argv)+[download_setuptools(delay=0)]) sys.exit(0) # try to force an exit else: if argv: from setuptools.command.easy_install import main main(argv) else: print "Setuptools version",version,"or greater has been installed." print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' def update_md5(filenames): """Update our built-in md5 registry""" import re for name in filenames: base = os.path.basename(name) f = open(name,'rb') md5_data[base] = md5(f.read()).hexdigest() f.close() data = [" %r: %r,\n" % it for it in md5_data.items()] data.sort() repl = "".join(data) import inspect srcfile = inspect.getsourcefile(sys.modules[__name__]) f = open(srcfile, 'rb'); src = f.read(); f.close() match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: print >>sys.stderr, "Internal error!" sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] f = open(srcfile,'w') f.write(src) f.close() if __name__=='__main__': if len(sys.argv)>2 and sys.argv[1]=='--md5update': update_md5(sys.argv[2:]) else: main(sys.argv[1:]) turpial-3.0+dfsg.orig/THANKS0000644000000000000000000000076112254451435012524 0ustar * Edwind Contreras * Efrain Valles * Gabriela Gonzalez * Miguel Landaeta * Andrea Rodríguez ---- And everyone who keeps supporting, packaging, sending feedback, helping us improve Turpial. NOTE: Apologies to everyone we forgot to mention, but without whose invaluable help, Turpial would not continue to rapidly evolve, you know who you are. Keep it hard, Y'ALL RULE! turpial-3.0+dfsg.orig/TRANSLATORS0000644000000000000000000000110012254451435013334 0ustar * Spanish (es): Andrea Rodríguez (@andrearrs) * German (de): Raúl Escalante (@t6435bm), Dietmar Janowski (@robologo) * French (fr): Serge-Étienne Parent (@SergeEtiParent) * Portuguese (pt_BR): Luiz Gregorio (@luizggregorio) * Turkish (tr): Mehmet Nur Olcay (@mnurolcay) * Russian (ru_RU): Andrey Kozhevnikov (@icoderus) * Japanese (ja): Osamu Kubo (@kougasha1) * Catalan (ca): Juan Carlos Melitón Mainero (@jcmeliton) * Italian (it): Giuseppe Gangi (@ggangix), Claudio Valente (@SnookerClaudio), Nicola Gramola () * Esperanto (eo): Ĥŭanĉjo Quintero Santacruz (@Siriox) turpial-3.0+dfsg.orig/setup.cfg0000644000000000000000000000101312254451540013416 0ustar [egg_info] tag_build = tag_svn_revision = 0 tag_date = 0 [extract_messages] add_comments = TRANSLATOR: copyright_holder = Turpial msgid_bugs_address = turpial-dev@googlegroups.com output_file = turpial/i18n/turpial.pot keywords = _ ngettext:1,2 N_ tag_ tagn_:1,2 [init_catalog] domain = turpial input_file = turpial/i18n/turpial.pot output_dir = turpial/i18n [compile_catalog] domain = turpial directory = turpial/i18n [update_catalog] domain = turpial input_file = turpial/i18n/turpial.pot output_dir = turpial/i18n turpial-3.0+dfsg.orig/turpial.egg-info/0000755000000000000000000000000012254451540014754 5ustar turpial-3.0+dfsg.orig/turpial.egg-info/top_level.txt0000644000000000000000000000001012254451540017475 0ustar turpial turpial-3.0+dfsg.orig/turpial.egg-info/dependency_links.txt0000644000000000000000000000000112254451540021022 0ustar turpial-3.0+dfsg.orig/turpial.egg-info/SOURCES.txt0000644000000000000000000001073612254451540016647 0ustar AUTHORS COPYING ChangeLog MANIFEST.in README.rst THANKS TRANSLATORS ez_setup.py pylintrc setup.cfg setup.py turpial.desktop turpial/__init__.py turpial/main.py turpial/singleton.py turpial.egg-info/PKG-INFO turpial.egg-info/SOURCES.txt turpial.egg-info/dependency_links.txt turpial.egg-info/entry_points.txt turpial.egg-info/top_level.txt turpial/data/fonts/MavenProLight-300.otf turpial/data/fonts/Monda-Regular.ttf turpial/data/fonts/TitilliumWeb-Bold.ttf turpial/data/fonts/TitilliumWeb-Regular.ttf turpial/data/fonts/Ubuntu-L.ttf turpial/data/fonts/Ubuntu-R.ttf turpial/data/pixmaps/action-delete-shadowed.png turpial/data/pixmaps/action-delete.png turpial/data/pixmaps/action-favorite-shadowed.png turpial/data/pixmaps/action-favorite.png turpial/data/pixmaps/action-quote-shadowed.png turpial/data/pixmaps/action-quote.png turpial/data/pixmaps/action-refresh.png turpial/data/pixmaps/action-repeat-shadowed.png turpial/data/pixmaps/action-repeat.png turpial/data/pixmaps/action-reply-direct-shadowed.png turpial/data/pixmaps/action-reply-direct.png turpial/data/pixmaps/action-reply-shadowed.png turpial/data/pixmaps/action-reply.png turpial/data/pixmaps/action-shorten.png turpial/data/pixmaps/action-status-menu.png turpial/data/pixmaps/action-upload.png turpial/data/pixmaps/default.png turpial/data/pixmaps/dock-messages.png turpial/data/pixmaps/dock-preferences.png turpial/data/pixmaps/dock-search.png turpial/data/pixmaps/dock-stats.png turpial/data/pixmaps/dock-updates.png turpial/data/pixmaps/icon-bio.png turpial/data/pixmaps/icon-home.png turpial/data/pixmaps/icon-location.png turpial/data/pixmaps/identica.png turpial/data/pixmaps/mark-favorited.png turpial/data/pixmaps/mark-favorited2.png turpial/data/pixmaps/mark-protected.png turpial/data/pixmaps/mark-repeated.png turpial/data/pixmaps/mark-repeated2.png turpial/data/pixmaps/mark-reposted.png turpial/data/pixmaps/mark-verified.png turpial/data/pixmaps/mark-verified2.png turpial/data/pixmaps/turpial-196.png turpial/data/pixmaps/turpial-256.png turpial/data/pixmaps/turpial-notification.png turpial/data/pixmaps/turpial-tray-update.png turpial/data/pixmaps/turpial-tray-update2.png turpial/data/pixmaps/turpial-tray.png turpial/data/pixmaps/turpial.png turpial/data/pixmaps/turpial.svg turpial/data/pixmaps/twitter.png turpial/data/pixmaps/unknown.png turpial/data/sounds/mencion.ogg turpial/data/sounds/notification-1.ogg turpial/data/sounds/notification-2.ogg turpial/data/sounds/startup.ogg turpial/data/sounds/turpial.ogg turpial/i18n/ca/LC_MESSAGES/turpial.po turpial/i18n/de/LC_MESSAGES/turpial.po turpial/i18n/eo/LC_MESSAGES/turpial.po turpial/i18n/es/LC_MESSAGES/turpial.po turpial/i18n/fr/LC_MESSAGES/turpial.po turpial/i18n/it/LC_MESSAGES/turpial.po turpial/i18n/ja/LC_MESSAGES/turpial.po turpial/i18n/pt_BR/LC_MESSAGES/turpial.po turpial/i18n/pt_PT/LC_MESSAGES/turpial.po turpial/i18n/ru_RU/LC_MESSAGES/turpial.po turpial/i18n/tr/LC_MESSAGES/turpial.po turpial/ui/__init__.py turpial/ui/base.py turpial/ui/html.py turpial/ui/lang.py turpial/ui/notification.py turpial/ui/sound.py turpial/ui/util.py turpial/ui/cmd/__init__.py turpial/ui/cmd/main.py turpial/ui/gtk/__init__.py turpial/ui/gtk/about.py turpial/ui/gtk/accounts.py turpial/ui/gtk/column.py turpial/ui/gtk/common.py turpial/ui/gtk/container.py turpial/ui/gtk/dock.py turpial/ui/gtk/factory.py turpial/ui/gtk/htmlview.py turpial/ui/gtk/imagebutton.py turpial/ui/gtk/imageview.py turpial/ui/gtk/indicator.py turpial/ui/gtk/main.py turpial/ui/gtk/markuplabel.py turpial/ui/gtk/oauth.py turpial/ui/gtk/profiles.py turpial/ui/gtk/proof.py turpial/ui/gtk/search.py turpial/ui/gtk/statusmenu.py turpial/ui/gtk/statuswidget.py turpial/ui/gtk/tray.py turpial/ui/gtk/updatebox.py turpial/ui/gtk/worker.py turpial/ui/gtk/preferences/__init__.py turpial/ui/gtk/preferences/tabs.py turpial/ui/gtk/preferences/widgets.py turpial/ui/qt/__init__.py turpial/ui/qt/about.py turpial/ui/qt/accounts.py turpial/ui/qt/column.py turpial/ui/qt/container.py turpial/ui/qt/dock.py turpial/ui/qt/filters.py turpial/ui/qt/imageview.py turpial/ui/qt/loader.py turpial/ui/qt/main.py turpial/ui/qt/oauth.py turpial/ui/qt/preferences.py turpial/ui/qt/profile.py turpial/ui/qt/queue.py turpial/ui/qt/search.py turpial/ui/qt/selectfriend.py turpial/ui/qt/tray.py turpial/ui/qt/updatebox.py turpial/ui/qt/webview.py turpial/ui/qt/widgets.py turpial/ui/qt/worker.py turpial/ui/qt/templates/column.html turpial/ui/qt/templates/status.html turpial/ui/qt/templates/style.css turpial/ui/unity/__init__.py turpial/ui/unity/daemon.py turpial/ui/unity/unitylauncher.pyturpial-3.0+dfsg.orig/turpial.egg-info/entry_points.txt0000644000000000000000000000005712254451540020254 0ustar [console_scripts] turpial = turpial.main:main turpial-3.0+dfsg.orig/turpial.egg-info/PKG-INFO0000644000000000000000000000143512254451540016054 0ustar Metadata-Version: 1.1 Name: turpial Version: 3.0 Summary: A light, beautiful and functional microblogging client Home-page: http://turpial.org.ve Author: Wil Alvarez Author-email: wil.alejandro@gmail.com License: GPLv3 Download-URL: http://turpial.org.ve/downloads Description: Turpial is a light, fast and beautiful microblogging client written in Python Keywords: twitter identi.ca microblogging turpial Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: X11 Applications :: Qt Classifier: Intended Audience :: End Users/Desktop Classifier: License :: OSI Approved :: GNU General Public License (GPL) Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Topic :: Communications turpial-3.0+dfsg.orig/AUTHORS0000644000000000000000000000013012254451435012647 0ustar Developers * Wil Alvarez (@satanas82) Testers * Azrael Arocha * José Leonel Subero turpial-3.0+dfsg.orig/COPYING0000644000000000000000000010451312254451536012646 0ustar GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . turpial-3.0+dfsg.orig/turpial/0000755000000000000000000000000012254451540013262 5ustar turpial-3.0+dfsg.orig/turpial/singleton.py0000644000000000000000000000260712254451436015647 0ustar # -*- coding: utf-8 -*- # Singleton for Turpial # # Author: Wil Alvarez (aka Satanas) # Dic 20, 2011 import os import sys import logging import tempfile from libturpial.common.tools import * if detect_os() == OS_LINUX: import fcntl class Singleton: def __init__(self, pid_name='turpial.pid'): self.fd = None self.log = logging.getLogger('Sys') self.filepath = os.path.abspath(os.path.join(tempfile.gettempdir(), pid_name)) if detect_os() == OS_LINUX: self.fd = open(self.filepath, 'w') try: fcntl.lockf(self.fd, fcntl.LOCK_EX | fcntl.LOCK_NB) except IOError: self.__exit() elif detect_os() == OS_WINDOWS: try: # If file already exists, we try to remove it (in case previous # execution was interrupted) if os.path.exists(self.filepath): os.unlink(self.filepath) self.fd = os.open(self.filepath, os.O_CREAT|os.O_EXCL|os.O_RDWR) except OSError, err: if err.errno == 13: self.__exit() def __del__(self): if detect_os() == OS_WINDOWS: if self.fd: os.close(self.fd) os.unlink(self.filepath) def __exit(self): self.log.error("Another instance is already running") sys.exit(-1) turpial-3.0+dfsg.orig/turpial/data/0000755000000000000000000000000012254707142014175 5ustar turpial-3.0+dfsg.orig/turpial/data/pixmaps/0000755000000000000000000000000012254451540015654 5ustar turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-repeat.png0000644000000000000000000000053212254451435021120 0ustar PNG  IHDRabKGDC pHYs  tIME/6kYIDAT8˭Y0   Ilpa n@G`S5>;ق?F I=] ff'fFV.lsN`f6}ǖvhBy;[L?1ƫuK>`{ǖ{5:3\<gP{IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-upload.png0000644000000000000000000000050312254451435021122 0ustar PNG  IHDRa IDAT8On1Ew (uH>uRإȲl ahۛ&'IL`'n tHG*⟸1 F^ugA~0o-<^ l;_`K0#gK~n7Po L1wcwo3~ * t# 8*1mIĺp.t ,L5VqzH~^lg:d1,(^IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-repeat-shadowed.png0000644000000000000000000000051312254451435022713 0ustar PNG  IHDRabKGD6668~ pHYs  tIME  6IDAT8˭@S(\DJЁJJTe&AyŅX7'6i'̬qjf+ pp%@#wNa1T1fVxɁ%p ѱWpo{f}6$nB+s;_ͬRJ:yP/n|OJ&(iEwlБ> >SqqTS&yWIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-reply.png0000644000000000000000000000064212254451435020775 0ustar PNG  IHDRabKGDC pHYs  tIME%:e/IDAT8˝M0?{2B;A (d 7A ؀N@:Aa ]"ˎݻ2kxTIw!O@#)IJ@w1OZ8j/|7*`:,8 01Xfhhg8rg|*`,gB~UL--+Xy1WiAa\eU~q`q;[ÿ .9ҙYu:7{)fHGFV^+S vLI0m%ƹ]/IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/turpial.png0000644000000000000000000001302412254451435020045 0ustar PNG  IHDR``w8sRGBbKGDB pHYs B(xtIME 7NIDATxyxu?}g&d$mteiZ@Pڲ(B\Y"x}xGdEA"\EeS"V+,Ӓ6i&3ɬ{NI;Y&-93OIf}=w~o,e)KYR,e)KYR|%E 衠HW!~TS)"SU@v`!= Po!U=\DXTEPU$__D$J0\z:p|Xr}W~'"Rg#{9P`w _"T\Dt$ץ;#]*|.'";nAw|]Dt,# o<l"'[UDc0&3Yc5j/oTDgEdE^UD!TՅh,vP+ӀG!^,䯧 ]3uf!8PdܪJj,lFjH$ض]tnh$#%"Wq^g27̬Yd-~{﹇D*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}ǍzM+hOQV;Xܥۆĉ'ˏTLrg|͘1c9c D:;yc=g*n/}Fk~b5M(+mFsu&W^#|_խ[7OʑPUeB= sύ6`_=/gN rںヒm[H{jCEfHks^LfF!O8iݲy=HЙ3giiiukYj{aal}='OqrOwĎj. 2 zQ #ˁ"m_EU5/oq^ 9fXMWW=DtzGD8;v03,ݶmLӠں:jVUN;wH$VCL3H]T#1{6s" N(_ <ϕ2q ؖ3Fh}o'j_cTi*^45vP]Zپm+TJUURi8|Yu9U Ok}~6zU@0+"g^GdCrc. JFX)aLyNEuuc3f,>_0]oB"T0D %srzWn'Uh9HC sU:lt#"j n$TT*E&&ɒdl mlQ;aa澚iRSQAEEO^jlhXH ! p̌DG:SɯO^H/(n7[4/91 b&&#{M6Q-Y}q%p4jY9,l*m#}}e!CȁLoXRZP}BDNW3qnZJ*cj$qG,g4G >#@i9`P'"~*(ZU) YQiETN"5d,%kvULU2^w{ |UfF~ P8?* ؏N9rsĜ ?,.d1N|fl O#dZpޠSD^Q?3?͔W'6#Y GX|hV} 2º"4Tx6BUpJq3cY19y(2EdfF2ML0:0:#= 4/ 8/O^Mȼl$y,L\+M9)̆nHjc(VE'UucM"J?gP/H&[H4VNUS (&m{k@%PRn0Oxy35IY C47CoY%rw Q9ͶE~h, 8.$ZP+mUM{#ފUcUjIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/turpial.svg0000644000000000000000000001330212254451435020057 0ustar image/svg+xml turpial-3.0+dfsg.orig/turpial/data/pixmaps/turpial-196.png0000644000000000000000000002457612254451435020400 0ustar PNG  IHDRkbKGD6668~ pHYs B(xtIME  Hv IDATxw|[jX-KގC␰)вw^eBX?@K)RF --->O-hqK{li5[il@y}~琄x.+?0vX6Xx}v)!$FGD1@7 xxMrHB$](&W<}/^?& !1* xxX7䐄ppu-mOx}J !}<0H x AR(rxɿs1HAzܮ]{.1nv3^ReCv骜"2:|ORe*r"c=nc' Y+EF 52$$|4ȞA7>@c(n\l^/ {2L0(ef/p*.M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H*-mxB]Ԋ)WCI2}t/dnݍ!F]c(**bÆH$lׂx♞8QnN'qL>|s4w5tkQv1cq]˲hjjbzWo`WY Mqq16l^dQ8q?g!,XJ0T1F{jp\.ĉt^&>\-Oyy'zeY|{}|w Q&rL{pgMke+xezˢZ,pu X^$Q(O^ZΙ;[K3{cAB&Ӊ7d>|XM}=7hŖ2 ^z˖=ױrS!AUFEOSTkD\yg]M?+gJ0=ޫ>TU}ո~Xd||FEzAᆧ:t5k_`Ŋ:/ >oH֖B *3*\=3 s^Uf,Yr444`u!+U @%PAv y>@yY4fE$ҳ Bij_DGCyp;w@ ˑ}qIOI}C@6}5^ ͋n uP055c4*#Hhܩgw/P/D#[*FIs;#?[I:V]{4"p4d4}g((RCJ%sZu˲  3hgڤ, }Ɣ FdVĀK˲~ kS6UUqq/Lk^<q,UQ˨Μ~蚮H 6ޛĐU pJG\-ٛ/Z!>MwO e222sJvPb87!Ub]gbjԳ'1C nW8D-R0hUՕ"QͅDyηv;ul[[XKѻ[,s4 Ϋ߸(K#+z}Q{*Ҽ]Ӻ-$@9F飱Xw9f7TE6Asc_4F]́7?.q1kANoq܋Y{[2"H{oQB ֣W{0w&дj}UEʱY[8 @`ȯn!6k{QC6m;KK"e}EuZYZ1)通'-tv(yIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/dock-stats.png0000644000000000000000000000054712254451435020447 0ustar PNG  IHDRa.IDAT8Ocd 8I0i;T{ 4dL@y@@P 70(;6%w@52P݀@5 @ '} E (P 4a Lr- jz ^O4aa pgPnua`1dpzns@a.x Ќ<@yA'׈0$yLzR%,lds>fUBSe>P rz A*3v MIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-delete.png0000644000000000000000000000045712254451435021110 0ustar PNG  IHDRabKGDC pHYs  tIME8 *IDAT8˭@ Db!%:*ɤt@ t _7N;#6+FUVd"2I:?@DDA<^wf#(2#nAkf}⁻"2Vr"Q$!\j _;LLDv%Y0fVp\*v&5{?/,mJZjIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-refresh.png0000644000000000000000000000061212254451435021275 0ustar PNG  IHDRaQIDAT8O=NC11 QNr@Qh "QsAԑ@:7X9XK#?w͎m7EQ`9[A fSVkV`uO6+`!sm%$oAP0N}RAP!ɇY/@l= '@6h9C‰B^"c&=Ty`KB=߂.zDSic{ 6;Dя"'^䖷xsEA#AG$Zﳖ_u:1U h0sIMG= |qpIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/icon-bio.png0000644000000000000000000000036112254451435020064 0ustar PNG  IHDRaIDAT8Ocd0/b' ]c3@  )~dql*Ჵ@B*aBY{gѝ l7$&A.Ec#Gcш# âp@H@ @ NX @~Ɩp@ uBp U !d f'\hW LIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-quote-shadowed.png0000644000000000000000000000036612254451435022576 0ustar PNG  IHDRabKGD6668~ pHYs  tIME  G/1oIDAT8풱 0 /Q`& `6 u l A>-'vEU\ў &@īn)985Pf JH7¯/͍oW8C|a/ĝHLp|28?_+ B:@= IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/mark-verified2.png0000644000000000000000000000047112254451435021176 0ustar PNG  IHDRabKGDC pHYs B(xtIME4٥IDAT8ˍ 0 Dl@[ =pO t35pK`/7H#q{ yL@oo*xh=%8`N<e?uf @GR[ć ;UVPG.ͽ67QASlm/=wL0 tµZXכ r""-*29 3}j/FIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/dock-messages.png0000644000000000000000000000035112254451435021111 0ustar PNG  IHDRaIDAT8Ocd0R?kU ڞĉ@LOkzE(PGA Aya6n @ J4l>lhj`>PD M@@AA. [ J65DF{  b 0C(sr&%b56QaH<IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/twitter.png0000644000000000000000000000144012254451435020066 0ustar PNG  IHDRabKGDC pHYs  tIME  -iTXtCommentCreated with GIMPd.eIDAT8˅Kla7 E D܉[.jQa46, AT-%q Hqdz?Jz6w;o7 Q{~G͍-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jv4t=P#1 H38p܌BO@ALpt H38D:,8!,X#FiN5U)H#8*+qD@J>f9E4B3I#0"sL) gNT%3F|;F?@ L`R msL҄ DOoTKL+- ROe&*9<@ƈ)@!A#@ Hci  1B4F@!A#@ Hci  1B4F@!A#@ Hci  1B4F@!A#@ HciQ,z+IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-reply-direct-shadowed.png0000644000000000000000000000056712254451435024047 0ustar PNG  IHDRabKGD6668~ pHYs  tIME :IDAT8ҡJCq]8fA1 d38 3hXrKF8X`,grÄO:|sX0 Y]sN}1"41C;D3E/mcyF+K3.0A֤ urt>C Ai"2; @~*6[vXfIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/turpial-notification.png0000644000000000000000000000454512254451435022541 0ustar PNG  IHDR00WsRGBbKGDB pHYs B(xtIME 5~ IDATh{p\u?w7Hݻͣ Gi#-5V 2"AGZhA<|Eg02A(@y SؖFB4MRhJM?nӆ$}8vgfgro=cv̎Qm\̱ˣƘ)"Tz]LGБmR^Sic̕:3ԳjU}xx vvG9MUb}DU^Ttb Бpə'Qpj [DTygۗˊ.{\?#(J!#`/f/P2,xUg^` A/_ e*HDǑ &`!AU1fxM4Z~{Xصs'mmHMy?.zY Qp z8q4L%ӕ1E8ƶmRm[xe=TVVcn<47ٱO"UbFN"ÔF[bGqEȞl6K$%p0q}^֭{s f\|1b1gK tG2e?wۮhEĔUD0Ɛ2̚5ŋ@:pkX9'Mfk[+BV$ "yNA SF9T hfY4oK/93gP-I ˲hoogzWq?* TDN/U"mXj5/"'LKywyܲDzFVnܾ}F>ڶ>n\*+],yt?,R[[{ ~!T7n_x&ճՕa^]1.˖=8mLאL&OQcJ !:' ;ᡇp 0 >0\H$:d{tMl֊D"oB%\ʢE0o,]Xl6/6.w^41ͣ@2&,"RbTyeXτF=b1U& 5AD(iHmnܾUU-mT^~</~p8<ΎR Woe&bD +}fʍӁK9y,zZZZ7Z؈ՌcwJ2s=("<3,+wH|pWY^^ζ|3h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a-"]`="m93es@0zlpEUeY=׺.!)&`ƀ h뺁 ڈ+l*^H$r7N?>2}\ kVL RKLJV H&wJ@V{7 ^4ͭph4zhMYVDd[DQW Ɉ_5MX,Bn?Qi?uή vg_C]at\=S$l6{=y$^Sa=1H|[<g4}b繹\_;ivyizr}\di{8NX,8??^(z,weC_:sd ]mIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/mark-repeated.png0000644000000000000000000000031612254451435021106 0ustar PNG  IHDRabKGDC pHYs  tIME!,FJ_DAT8c`v a.%200G2$T CjF7~r 0( u&"P1r"19 22oe7*ͮTIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/icon-home.png0000644000000000000000000000025712254451435020247 0ustar PNG  IHDRavIDAT8Ocd0d\<x.Cpf9Ȑh fb>l`ӌdV 2&0Hь&  79@CؤKs``sQ.b(Tx#+IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-reply-direct.png0000644000000000000000000000056412254451435022250 0ustar PNG  IHDRabKGDC pHYs  tIME aIDAT8!KQg]8$ c`[i`b3̠auƒQ,&:_܂']yϹ\DjkA)2 `wNabuN0,\b:yAv&>01BkFnQ1v#f%(acaFc Ifm3vx) x5'\Vq\9(iM~}l0gqEx?O47l6.@FkIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/dock-search.png0000644000000000000000000000054012254451435020547 0ustar PNG  IHDRa'IDAT8O=OAz!FB!HAO6$Г@h5^=3]{7ۙٙUG _tӾXRccS.?cQ#||]BCt<js]23wcL/Ч "&)U 8żF9`B҂฾*m|GXp#=0\"yX 2< e!W$J gac\̫"k9u6",f6$yЃL<NRv%zaDIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/default.png0000644000000000000000000000242712254451435020016 0ustar PNG  IHDR00`nsRGBbKGD pHYs  tIME 1ҰIDATXXϋE}{ff J# ?/=(Wxx5BAhVh&3]P5LBCTwW=UO2p-@[m٦D 3HU@`_hA+/ <~pW m<GQ^Ν| pĴ%075}ԑJۗ+o/0vn3rAO|oQ ;j7?1f pG$2U3'w/TM RWv7U]:,=I182$ Rh]X: ª?ttbaV6o*=z3s:=Tf4isG!=SN:CoXkq=mDOR߮Pv,3I@if8,QGHyS5@*]_hQ禾|DIp_ _\xehݬBo] odn0[XIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-shorten.png0000644000000000000000000000050712254451435021324 0ustar PNG  IHDRaIDAT8ORKQN@%ؓ,1 lm v*$]_s)".'cW 5(\n6h!7*Yp%pCiF#^(U \u,d IXL2ȐSK@zbHjm7"R3 ׁDv vXX1)+QgO,?U$}9Qn-SxE;.ATʮE"8 @ÜHKD'`qmSJwxῡ; a5-$"$0 .y zݾ@9t"y XB'YIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/action-delete-shadowed.png0000644000000000000000000000040112254451435022671 0ustar PNG  IHDRabKGD6668~ pHYs  tIME TAIDAT8˭S SzIlRFG?OP;`Hу*!WF|;2 K].u?IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/turpial-tray.png0000644000000000000000000000440212254451435021022 0ustar PNG  IHDR00WbKGDC pHYs B(xtIME  $8wIDATh{pT?w}$&b*By$H)bZ>@팭u:U":X;}Tgi ֢8v-VpƶE($A {w6{G gfg޹{s~=wN);e'ɧc1sӁ )"MDrgցSEc5(@Uبk1Ow{.G9KUe=wUMv(:UrswQU0 "&Uz;W~}@]&!*tp=pS sTx/3yd<#Bqp q)m 部* ԩӨ?{{}{ڂ5@q/^ lS3Elj0Tw\&,mH$hmɁ.OǻbsM7ҰI>hjcFSD҇dmǔbKx*:ٓN CEVd*ɻ[ѮVBLƮ1aë$S)Dl6kx"P([ I͟O˜?o-|-*e']]L: ,6:q(v]0>mٰa#?&OM,x?rbۨe-Kш˼ 5kÜ#KŢ44<>L},]-TWWC"/D19 -2}}}\{"ֿ*@W֯'VV!CarJeQ4`]jan"yd%w /3zdn L`h#,&:c}lmÒ0,TUYQ.5k$%~W% 1v  $"1ɛZ~[~x3k@ Tp8LwOPOa7b#v OU9x /Vn`ժcXtvt:٬r\q_o4A#_yh3?xJ6eŊK' YbW5(rMh|XEqY{DXy4fE$2,))aw[;_l>h3x?gMعc"\G%=K␓³"R#ucށl6w  6R2nd)ATs.o鴺*w.׷KAdpgzyp(p~iJUYx17of۶D"!UJ,U76s}5_ BEDE)K4*, 'ڶ.2"B<ıK,k$s.gb4,Wu@Utpʦ*n7EsHzK"**2t"}޽FˢWU'")2zpdo@B"ReҧJ~B{?nı=̝9 Y໗TA pNU]#"5nVފ|}c߼~]smiK{;6Eш@ѶF#9/'R;Dz9igS8xwA0r@D6~J%73OE'BO0ۜSvNh?>MTIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/dock-preferences.png0000644000000000000000000000046612254451435021612 0ustar PNG  IHDRaIDAT8OM@  Xk8Z@ ]Z++{54tμ{U9~!Ũ$fj:&x U8:"wC$%z2Ӂr~, c͹P/<೅( W9f9nԑöjHҷ  r`.̷SH\Sk.?N}5 @SB;9,kvz`8KIENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/unknown.png0000644000000000000000000000210212254451435020057 0ustar PNG  IHDR00`n pHYs+tIME  u4"IDATXW=K+M٘hFPR`k!Xk[#_DmD񣑐F;5%wY|oq7.a3g<"C=8ƘR1֤aYkB <!cc1Zk3p.8!RZk1<}cv.cccrP(0<{yyjZ<:%Zv %ja6VJQT( pZ1ёVk2ZkpacgggS hooZRJkmERJ)%uss3::sB-Brjz\4LOOB: sppERR` !@?*!y>|crZu]s9gr9r|{{ m(zyBc0G6}}}}5sqq9|c+JPJp`(Rݍ0D'q>/,,9 !BE& RJcsq PJq xx躮IuP2w0㛛oooaB(FFFH%$IѰֶZ-,km[[[RX,"]g:== A;77@i>3c^YY9;;R&gvw2A㻻;)%[Z6FKhBRIAS\Zqvv3?tK)A ;qR44"RBcZF}(DaI) !sfP(4Mc c,gGA)!WJrd~H!UiZݠ ttWdCCCl~||B~зoF()Go3M3:Ez,&:IENDB`turpial-3.0+dfsg.orig/turpial/data/pixmaps/identica.png0000644000000000000000000000155112254451536020151 0ustar PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8}oeǿϻsw)%m.M&hSSDH ICs3c,Yv$;Y_1A[x߭ۅ߇,$RbΝrG+hƫVO\Xr= z=!Dql ,"D=F'>ux޽.]oߦٌR) z^mzڝ /3Bqō [8>E=ԉϳl2Oh4CT+5ӲNWMkI\j3 /+惿%fV[aũ2D;@3}< @#P;`t8BduMnYJ3KߏA'O *lͬtÌ$]gpaLA*=U﹘y#?&r*X9L؆2%wI4q&F{{ l}XIENDB`turpial-3.0+dfsg.orig/turpial/data/sounds/0000755000000000000000000000000012254451540015506 5ustar turpial-3.0+dfsg.orig/turpial/data/sounds/turpial.ogg0000644000000000000000000023203312254451435017672 0ustar OggS9k5KOFvorbisDmOggS9k5Pj-SvorbisXiph.Org libVorbis I 20090709vorbis+BCV1L ŀАU`$)fI)(yHI)0c1c1c 4d( Ij9g'r9iN8 Q9 &cnkn)% Y@H!RH!b!b!r!r * 2 L2餓N:騣:(B -JL1Vc]|s9s9s BCV BdB!R)r 2ȀАU GI˱$O,Q53ESTMUUUUu]Wvevuv}Y[}Y[؅]aaaa}}} 4d #9)"9d ")Ifjihm˲,˲ iiiiiiifYeYeYeYeYeYeYeYeYeYeYeYeY@h*@@qq$ER$r, Y@R,r4Gs4s@BDFHJLNPRT> "9@@OggS 9k5jM!J<aT'!K2N;M~{9FUr^ۘ娤}:_e`~yd=5 hЛpꟑl9?in~"=4=Mu^PzzeֻMm}}t;/Ԏ^J7^c"j3G`nQS&3G=r?GSUGAMPЈ Q9n4N=:eT";OC|~hX1j2@d3N(l%i߷!}WdH@op/58Յ#ِ@HdQ,0,,[ $9ZlGu -P#]!n['go/Lh1^M I :G_6}UCM2e܅ϔǫ7;D4ȗX{jEpN{յє|'8H;8TPh^ }T<0=LUJ &xmT]tҵ-o6'P;Ձ܏4-:n:PQvfa l9W[=?ñ9BdR]<;{Rf7pa{>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pial-3.0+dfsg.orig/turpial/ui/base.py0000644000000000000000000001103012254451436015162 0ustar # -*- coding: utf-8 -*- # Base class for all the Turpial interfaces # # Author: Wil Alvarez (aka Satanas) # Oct 09, 2011 import os import time from turpial.ui.lang import i18n from turpial.singleton import Singleton from libturpial.common import OS_MAC from libturpial.common.tools import detect_os MIN_WINDOW_WIDTH = 250 class Base(Singleton): ACTION_REPEAT = 'repeat' ACTION_UNREPEAT = 'unrepeat' ACTION_FAVORITE = 'favorite' ACTION_UNFAVORITE = 'unfavorite' '''Parent class for every UI interface''' def __init__(self): Singleton.__init__(self, 'turpial.pid') self.images_path = os.path.realpath(os.path.join( os.path.dirname(__file__), '..', 'data', 'pixmaps')) self.sounds_path = os.path.realpath(os.path.join( os.path.dirname(__file__), '..', 'data', 'sounds')) self.fonts_path = os.path.realpath(os.path.join( os.path.dirname(__file__), '..', 'data', 'fonts')) # Keep a list of installed app fonts to ease registration # in the toolkit side self.fonts = [ os.path.join(self.fonts_path, f) for f in os.listdir(self.fonts_path) ] self.home_path = os.path.expanduser('~') if detect_os() == OS_MAC: self.shortcut_key = 'Cmd' else: self.shortcut_key = 'Ctrl' self.bgcolor = "#363636" self.fgcolor = "#fff" # Unity integration #self.unitylauncher = UnityLauncherFactory().create(); #self.unitylauncher.add_quicklist_button(self.show_update_box, i18n.get('new_tweet'), True) #self.unitylauncher.add_quicklist_checkbox(self.sound.disable, i18n.get('enable_sounds'), True, not self.sound._disable) #self.unitylauncher.add_quicklist_button(self.show_update_box_for_direct, i18n.get('direct_message'), True) #self.unitylauncher.add_quicklist_button(self.show_accounts_dialog, i18n.get('accounts'), True) #self.unitylauncher.add_quicklist_button(self.show_preferences, i18n.get('preferences'), True) #self.unitylauncher.add_quicklist_button(self.main_quit, i18n.get('exit'), True) #self.unitylauncher.show_menu() # TODO: Put this in util.py def humanize_size(self, size): if size == 0: return '0 B' kbsize = size / 1024 if kbsize > 0: mbsize = kbsize / 1024 if mbsize > 0: gbsize = mbsize / 1024 if gbsize > 0: return "%.2f GB" % (mbsize / 1024.0) else: return "%.2f MB" % (kbsize / 1024.0) else: return "%.2f KB" % (size / 1024.0) else: return "%.2f B" % size def humanize_timestamp(self, status_timestamp): now = time.time() # FIXME: Workaround to fix the timestamp offset = time.timezone if (time.localtime().tm_isdst == 0) else time.altzone seconds = now - status_timestamp + offset minutes = seconds / 60.0 if minutes < 1.0: timestamp = i18n.get('now') else: if minutes < 60.0: timestamp = "%i m" % minutes else: hours = minutes / 60.0 if hours < 24.0: timestamp = "%i h" % hours else: dt = time.localtime(status_timestamp) month = time.strftime(u'%b', dt) year = dt.tm_year if year == time.localtime(now).tm_year: timestamp = u"%i %s" % (dt.tm_mday, month) else: timestamp = u"%i %s %i" % (dt.tm_mday, month, year) return timestamp def humanize_time_intervals(self, interval): if interval > 1: unit = i18n.get('minutes') else: unit = i18n.get('minute') return " ".join([str(interval), unit]) def get_shortcut_string(self, key): return "+".join([self.shortcut_key, key]) #================================================================ # Common methods to all interfaces #================================================================ #================================================================ # Methods to override #================================================================ def main_loop(self): raise NotImplementedError def main_quit(self, widget=None, force=False): raise NotImplementedError def show_main(self): raise NotImplementedError turpial-3.0+dfsg.orig/turpial/ui/unity/0000755000000000000000000000000012254451540015047 5ustar turpial-3.0+dfsg.orig/turpial/ui/unity/daemon.py0000644000000000000000000002012712254451436016672 0ustar #!/usr/bin/env python # -*- coding: utf-8 -*- # TurpialUnityDaemon a separate process to launch to use unity API without conflicts # # Author: Andrea Stagi (aka 4ndreaSt4gi) # May 22, 2012 try: import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop from gi.repository import Unity, GObject, Dbusmenu UNITY_SUPPORT = True except Exception, e: print 'Could not load all modules for Unity support: %s' % e print 'Disabling Unity support' UNITY_SUPPORT = False import os import sys import time import atexit import tempfile from signal import SIGTERM BUS_NAME = "org.turpial.ve" CONTROLLER_OBJ_PATH = "/org/turpial/ve/turpialunity" class Daemon: """ A generic daemon class. Usage: subclass the Daemon class and override the run() method """ def __init__(self, pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): self.stdin = stdin self.stdout = stdout self.stderr = stderr self.pidfile = pidfile def daemonize(self): """ do the UNIX double-fork magic, see Stevens' "Advanced Programming in the UNIX Environment" for details (ISBN 0201563177) http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16 """ try: pid = os.fork() if pid > 0: # exit first parent sys.exit(0) except OSError, e: sys.stderr.write("fork #1 failed: %d (%s)\n" % (e.errno, e.strerror)) sys.exit(1) # decouple from parent environment os.chdir("/") os.setsid() os.umask(0) # do second fork try: pid = os.fork() if pid > 0: # exit from second parent sys.exit(0) except OSError, e: sys.stderr.write("fork #2 failed: %d (%s)\n" % (e.errno, e.strerror)) sys.exit(1) # redirect standard file descriptors sys.stdout.flush() sys.stderr.flush() si = file(self.stdin, 'r') so = file(self.stdout, 'a+') se = file(self.stderr, 'a+', 0) os.dup2(si.fileno(), sys.stdin.fileno()) os.dup2(so.fileno(), sys.stdout.fileno()) os.dup2(se.fileno(), sys.stderr.fileno()) # write pidfile atexit.register(self.delpid) pid = str(os.getpid()) file(self.pidfile,'w+').write("%s\n" % pid) def delpid(self): os.remove(self.pidfile) def start(self): """ Start the daemon """ # Check for a pidfile to see if the daemon already runs try: pf = file(self.pidfile,'r') pid = int(pf.read().strip()) pf.close() except IOError: pid = None if pid: message = "pidfile %s already exist. Daemon already running?\n" sys.stderr.write(message % self.pidfile) sys.exit(1) # Start the daemon self.daemonize() self.run() def stop(self): """ Stop the daemon """ # Get the pid from the pidfile try: pf = file(self.pidfile,'r') pid = int(pf.read().strip()) pf.close() except IOError: pid = None if not pid: message = "pidfile %s does not exist. Daemon not running?\n" sys.stderr.write(message % self.pidfile) return # not an error in a restart # Try killing the daemon process try: while 1: os.kill(pid, SIGTERM) time.sleep(0.1) except OSError, err: err = str(err) if err.find("No such process") > 0: if os.path.exists(self.pidfile): os.remove(self.pidfile) else: print str(err) sys.exit(1) def restart(self): """ Restart the daemon """ self.stop() self.start() def run(self): pass if UNITY_SUPPORT: class TurpialUnity(dbus.service.Object): def __init__(self, loop): self.loop = loop bus = dbus.service.BusName(BUS_NAME, bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus, CONTROLLER_OBJ_PATH) self.launcher = Unity.LauncherEntry.get_for_desktop_id("turpial.desktop") self.ql = Dbusmenu.Menuitem.new() @dbus.service.method(BUS_NAME) def set_count(self, count): self.launcher.set_property("count", count) @dbus.service.method(BUS_NAME) def set_count_visible(self, visible): self.launcher.set_property("count_visible", visible) @dbus.service.method(BUS_NAME) def add_quicklist_button(self, label, visible): def _pressCallback(arg1, arg2, arg3): self.buttonPressed(label) item = Dbusmenu.Menuitem.new() item.property_set(Dbusmenu.MENUITEM_PROP_LABEL, label) item.property_set_bool(Dbusmenu.MENUITEM_PROP_VISIBLE, visible) item.connect("item-activated", _pressCallback, None) self.ql.child_append(item) @dbus.service.method(BUS_NAME) def add_quicklist_checkbox(self, label, visible, status): def _check_callback(menuitem, a, b): if menuitem.property_get_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE) == Dbusmenu.MENUITEM_TOGGLE_STATE_CHECKED: menuitem.property_set_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE, Dbusmenu.MENUITEM_TOGGLE_STATE_UNCHECKED) self.checkChanged(label, False) else: menuitem.property_set_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE, Dbusmenu.MENUITEM_TOGGLE_STATE_CHECKED) self.checkChanged(label, True) check = Dbusmenu.Menuitem.new () check.property_set (Dbusmenu.MENUITEM_PROP_LABEL, label) check.property_set (Dbusmenu.MENUITEM_PROP_TOGGLE_TYPE, Dbusmenu.MENUITEM_TOGGLE_CHECK) if status: check.property_set_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE, Dbusmenu.MENUITEM_TOGGLE_STATE_CHECKED) else: check.property_set_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE, Dbusmenu.MENUITEM_TOGGLE_STATE_UNCHECKED) check.connect (Dbusmenu.MENUITEM_SIGNAL_ITEM_ACTIVATED, _check_callback, None) check.property_set_bool (Dbusmenu.MENUITEM_PROP_VISIBLE, visible) self.ql.child_append(check) @dbus.service.method(BUS_NAME) def show_menu(self): self.launcher.set_property("quicklist", self.ql) @dbus.service.method(BUS_NAME) def clean_quicklist(self): pass @dbus.service.method(BUS_NAME) def quit(self): self.loop.quit() @dbus.service.signal(BUS_NAME) def buttonPressed(self, signal): pass def checkChanged(self, signal, value): pass class TurpialUnityDaemon(Daemon): def __init__(self): pid_path = os.path.abspath(os.path.join(tempfile.gettempdir(), 'turpial-daemon.pid')) stderr_path = os.path.abspath(os.path.join(tempfile.gettempdir(), 'turpial-daemon.log')) Daemon.__init__(self, pid_path, stderr=stderr_path) self.mainloop = None self.service = None def stop(self): Daemon.stop(self) def run(self): DBusGMainLoop(set_as_default=True) self.mainloop = GObject.MainLoop() self.service = TurpialUnity(self.mainloop) self.mainloop.run() def main(): if len(sys.argv) != 2: print "Usage: %s start|stop|restart" % sys.argv[0] sys.exit(2) try: if UNITY_SUPPORT: daemon = TurpialUnityDaemon() else: sys.exit(-1) except Exception, e: print "Error running the Unity Daemon: %s" % e sys.exit(-1) cmd = sys.argv[1] if cmd == 'start': daemon.start() elif cmd == 'stop': daemon.stop() elif cmd == 'restart': daemon.restart() else: print "Unknown command" sys.exit(2) if __name__ == '__main__': main() turpial-3.0+dfsg.orig/turpial/ui/unity/__init__.py0000644000000000000000000000000012254451436017152 0ustar turpial-3.0+dfsg.orig/turpial/ui/unity/unitylauncher.py0000644000000000000000000000530712254451436020324 0ustar # -*- coding: utf-8 -*- # UnityLauncher to integrate Turpial in Unity # # Author: Andrea Stagi (aka 4ndreaSt4gi) # Feb 22, 2012 try: import dbus from dbus.mainloop.glib import DBusGMainLoop import_success = True except ImportError: import_success = False BUS_NAME = "org.turpial.ve" CONTROLLER_OBJ_PATH = "/org/turpial/ve/turpialunity" class NoneUnityDBusController(object): def __init__ (self): pass def onSignalReceived(self, label_selected): pass def set_count(self, count): pass def increment_count(self, count): pass def get_count(self): pass def set_count_visible(self, visible): pass def add_quicklist_button(self, callback, label, visible): pass def add_quicklist_checkbox(self, callback, label, visible, status): pass def is_supported(self): return False def show_menu(self): pass def quit(self): pass class UnityLauncher(object): def __init__ (self): self.dbus_loop = DBusGMainLoop(set_as_default=True) self.count = 0 self.callbacks = {} self.bus = dbus.SessionBus(mainloop=self.dbus_loop) self.service = self.bus.get_object(BUS_NAME, CONTROLLER_OBJ_PATH) self.service.connect_to_signal("buttonPressed", self.onButtonPressed) self.service.connect_to_signal("checkChanged", self.onCheckChanged) def onButtonPressed(self, label_selected): self.callbacks[label_selected]() def onCheckChanged(self, label_selected, value): self.callbacks[label_selected](value) def set_count(self, count): self.count = count self.service.set_count(self.count) def increment_count(self, count): self.count += count self.set_count(self.count) def get_count(self): return self.count def set_count_visible(self, visible): self.service.set_count_visible(visible) def add_quicklist_button(self, callback, label, visible): self.service.add_quicklist_button(label, visible) self.callbacks[label] = callback def add_quicklist_checkbox(self, callback, label, visible, status): self.service.add_quicklist_checkbox(label, visible, status) self.callbacks[label] = callback def is_supported(self): return True def show_menu(self): self.service.show_menu() def quit(self): self.service.quit() self.bus.close() class UnityLauncherFactory: def create(self): if not import_success: return NoneUnityDBusController() try: return UnityLauncher() except dbus.exceptions.DBusException: return NoneUnityDBusController() turpial-3.0+dfsg.orig/turpial/ui/sound.py0000644000000000000000000000516312254451436015412 0ustar # -*- coding: utf-8 -*- # Base class for Turpial sound module using Qt""" import os SYSTEM = None try: import gst import gobject gobject.threads_init() SYSTEM = 'gst' except: try: from PyQt4.phonon import Phonon SYSTEM = 'phonon' except Exception, e: print e print "DEBUG::Using %s as sound system" % SYSTEM class SoundSystem: def __init__(self, sounds_path, disable=False): self.sounds_path = sounds_path self.activate() self.disable = disable self.sounds = {} if SYSTEM == 'gst': self.sounds['startup'] = GstSound(os.path.join(self.sounds_path, 'startup.ogg')) self.sounds['notification_1'] = GstSound(os.path.join(self.sounds_path, 'notification-1.ogg')) self.sounds['notification_2'] = GstSound(os.path.join(self.sounds_path, 'notification-2.ogg')) elif SYSTEM == 'phonon': self.sounds['startup'] = QtSound(os.path.join(self.sounds_path, 'startup.ogg')) self.sounds['notification_1'] = QtSound(os.path.join(self.sounds_path, 'notification-1.ogg')) self.sounds['notification_2'] = QtSound(os.path.join(self.sounds_path, 'notification-2.ogg')) else: self.sounds['startup'] = DummySound() self.sounds['notification_1'] = DummySound() self.sounds['notification_2'] = DummySound() def activate(self): self.active = True def deactivate(self): self.active = False def startup(self): self.sounds['startup'].play() def updates(self): self.sounds['notification_1'].play() def notification(self): self.sounds['notification_2'].play() class GstSound: def __init__(self, file_path): self.player = gst.element_factory_make("playbin2", "player") bus = self.player.get_bus() bus.add_signal_watch() bus.connect("message", self.__on_gst_message) self.player.set_property("uri", "file://" + file_path) def __on_gst_message(self, bus, message): type_ = message.type if type_ == gst.MESSAGE_EOS: self.player.set_state(gst.STATE_NULL) elif type_ == gst.MESSAGE_ERROR: self.player.set_state(gst.STATE_NULL) err, debug = message.parse_error() def play(self): self.player.set_state(gst.STATE_PLAYING) class QtSound: def __init__(self, file_path): self.sound = Phonon.createPlayer(Phonon.MusicCategory, Phonon.MediaSource(file_path)) def play(self): self.sound.play() class DummySound: def __init__(self): pass def play(self): pass turpial-3.0+dfsg.orig/turpial/ui/html.py0000644000000000000000000006174012254451436015231 0ustar # -*- coding: utf-8 -*- # Webkit container for Turpial # # Author: Wil Alvarez (aka Satanas) # Oct 05, 2011 import re import os import sys import urllib from turpial import VERSION from turpial.ui.lang import i18n from libturpial.common import ARG_SEP, LoginStatus from libturpial.api.services.showmedia import utils as showmediautils #pyinstaller compatibility validation if getattr(sys, 'frozen', None): DATA_DIR = os.path.realpath(os.path.join(sys._MEIPASS)) else: DATA_DIR = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'data')) IMAGES_DIR = os.path.join(DATA_DIR, 'pixmaps') LAYOUT_DIR = os.path.join(DATA_DIR, 'layout') JS_LAYOUT_DIR = os.path.join(LAYOUT_DIR, 'js') CSS_LAYOUT_DIR = os.path.join(LAYOUT_DIR, 'css') IMG_PATTERN = re.compile('(<% img [\'"](.*?)[\'"] %>)') RESIZED_IMG_PATTERN = re.compile('(<% rimg [\'"](.*?)[\'"], (.*?), (.*?) %>)') CSS_IMG_PATTERN = re.compile('(<% css_img [\'"](.*?)[\'"] %>)') PARTIAL_PATTERN = re.compile('(<% partial [\'"](.*?)[\'"] %>)') I18N_PATTERN = re.compile('(<% \$(.*?) %>)') class HtmlParser: def __init__(self,*args): self.scripts = [] self.scripts_impress = [] self.styles = [] self.styles_impress = [] self.partials = {} def __url_quote(self, text): ntext = text.encode('utf-8').replace('\\\\', '\\') return urllib.quote(ntext) def __open_template(self, res): filepath = os.path.realpath(os.path.join(LAYOUT_DIR, res + '.template')) fd = open(filepath, 'r') resource = fd.read() fd.close() return resource def __open_partial(self, name): filepath = os.path.join(LAYOUT_DIR, name + '.partial') fd = open(filepath, 'r') resource = fd.read() fd.close() return resource def __load_layout(self, res): self.scripts = [] self.scripts_impress = [] self.styles = [] self.styles_impress = [] self.partials = {} self.app_layout = self.__open_template(res) # Load default js for js in ['jquery', 'jquery.hotkeys', 'jquery.autocomplete', 'common']: filepath = os.path.realpath(os.path.join(JS_LAYOUT_DIR, js + '.js')) self.scripts.append(filepath) for js in ['animation', 'fx-m']: filepath = os.path.realpath(os.path.join(JS_LAYOUT_DIR, js + '.js')) self.scripts_impress.append(filepath) # Load default css for css in ['common', 'jquery.autocomplete', 'grids-min']: filepath = os.path.realpath(os.path.join(CSS_LAYOUT_DIR, css + '.css')) self.styles.append(filepath) # Load default css_impress for css in ['general', 'index']: filepath = os.path.realpath(os.path.join(CSS_LAYOUT_DIR, css + '.css')) self.styles_impress.append(filepath) js_file = os.path.realpath(os.path.join(LAYOUT_DIR, 'js', res + '.js')) if os.path.isfile(js_file): self.scripts.append(js_file) css_file = os.path.realpath(os.path.join(LAYOUT_DIR, 'css', res + '.css')) if os.path.isfile(css_file): self.styles.append(css_file) def __image_tag(self, filename, base=True, width=None, height=None, class_=None, visible=True, tooltip=''): if base: filepath = os.path.realpath(os.path.join(IMAGES_DIR, filename)) else: filepath = os.path.realpath(os.path.join(DEFAULT_IMAGES_DIR, filename)) class_tag = '' if class_: class_tag = "class='%s'" % class_ visible_tag = '' if not visible: visible_tag = "style='display: none;'" tooltip_tag = '' if tooltip: tooltip_tag = """ title="%s" alt="%s" """ % (tooltip, tooltip) if width and height: return "" % (filepath, width, height, class_tag, visible_tag, tooltip_tag) else: return "" % (filepath, class_tag, visible_tag, tooltip_tag) def __query_tag(self): return "" def __verified_tag(self, verified): if verified: return self.__image_tag("mark-verified.png", 16, 16, class_='mark') else: return '' def __protected_tag(self, protected): if protected: return self.__image_tag("mark-locked.png", 16, 16, class_='mark') else: return '' def __reposted_tag(self, reposted): if reposted: return self.__image_tag("mark-repeated.png", 16, 16, class_='repost_mark') else: return '' def __favorite_tag(self, favorite): if favorite: return self.__image_tag("action-fav.png", 16, 16, class_='star') else: return self.__image_tag("action-unfav.png", 16, 16, class_='star') def __retweeted_tag(self): return self.__image_tag("mark-retweeted.png", 16, 16, class_='retweeted') def __retweeted_visible(self, status): if status.retweeted: return 'display: block;' return 'display: none;' def __favorite_visible(self, status): if status.is_favorite: return 'display: block;' return 'display: none;' def __login_action_tag(self, account): if account.logged_in == LoginStatus.NONE: return "%s" % (account.id_, i18n.get('login')) elif account.logged_in == LoginStatus.IN_PROGRESS: return "%s" % (i18n.get('in_progress')) elif account.logged_in == LoginStatus.DONE: return "%s" % (i18n.get('logged_in')) def __highlight_username(self, status): args = "'%s', '%s'" % (status.account_id, status.username) return '%s' % (args, status.username) def __highlight_hashtags(self, status, text): for h in status.entities['hashtags']: cad = '%s' % (h.url, h.display_text) text = text.replace(h.search_for, cad) return text def __highlight_groups(self, status, text): for h in status.entities['groups']: cad = '%s' % (h.url, h.display_text) text = text.replace(h.search_for, cad) return text def __highlight_mentions(self, status, text): for h in status.entities['mentions']: args = "'%s', '%s'" % (status.account_id, h.display_text[1:]) cad = '%s' % (args, h.display_text) pattern = re.compile(h.search_for, re.IGNORECASE) text = pattern.sub(cad, text) return text def __highlight_urls(self, status, text): for url in status.entities['urls']: if url.url == None: url.url = url.search_for #if url.url[0:7] != "http://": # url.url = "http://%s" % url.url if not showmediautils.is_service_supported(url.url): cad = '%s' % (url.url, url.url, url.display_text) else: pars = ARG_SEP.join([url.url.replace(":", "$"), status.account_id]) cad = '%s' % (pars, url.url, url.display_text) text = text.replace(url.search_for, cad) return text def __build_status_menu(self, status): menu = '' if not status.is_own and not status.is_direct(): # Reply mentions = status.get_reply_mentions() str_mentions = '[\'' + '\',\''.join(mentions) + '\']' title = i18n.get('in_reply_to').capitalize() + " " + mentions[0] cmd = "'%s','%s','%s',%s" % (status.account_id, status.id_, title, str_mentions) menu += "%s" % (cmd, self.__image_tag('action-reply.png', tooltip=i18n.get('reply'))) # Repeat args = ARG_SEP.join([status.account_id, status.id_, status.username, self.__url_quote(status.text)]) menu += "%s" % (args, self.__image_tag('action-repeat.png', tooltip=i18n.get('repeat'))) # Conversation if status.in_reply_to_user: args = ARG_SEP.join([status.account_id, status.id_, '%s' % status.in_reply_to_id]) menu += """%s""" % (args, self.__image_tag('action-conversation.png', tooltip=i18n.get('conversation'))) elif not status.is_own and status.is_direct(): # Reply cmd = "'%s','%s'" % (status.account_id, status.username) menu += "%s" % (cmd, self.__image_tag('action-reply.png', tooltip=i18n.get('reply'))) # Delete cmd = ARG_SEP.join([status.account_id, status.id_]) menu += """%s""" % ( i18n.get('confirm_delete'), i18n.get('do_you_want_to_delete_direct_message'), cmd, self.__image_tag('action-delete.png', tooltip=i18n.get('delete'))) elif status.is_own and not status.is_direct(): cmd = ARG_SEP.join([status.account_id, status.id_]) menu += """%s""" % ( i18n.get('confirm_delete'), i18n.get('do_you_want_to_delete_status'), cmd, self.__image_tag('action-clear.png', tooltip=i18n.get('delete'))) elif status.is_own and status.is_direct(): cmd = ARG_SEP.join([status.account_id, status.id_]) menu += """%s""" % ( i18n.get('confirm_delete'), i18n.get('do_you_want_to_delete_direct_message'), cmd, self.__image_tag('action-clear.png', tooltip=i18n.get('delete'))) return menu def __build_profile_menu(self, profile): if profile.is_me(): return "%s" % (i18n.get('this_is_you')) menu = '' cmd = "'%s','%s'" % (profile.account_id, profile.username) # Direct Messages menu += "%s" % (cmd, i18n.get('message')) # Follow cmd = ARG_SEP.join([profile.account_id, profile.username]) if profile.following: label = i18n.get('do_you_want_to_unfollow_user') % profile.username menu += """%s""" % ( i18n.get('confirm_unfollow'), label, cmd, i18n.get('unfollow')) elif profile.follow_request: menu += "%s" % (i18n.get('requested')) else: menu += "%s" % (cmd, i18n.get('follow')) # Mute if profile.muted: menu += "%s" % (profile.username, i18n.get('unmute')) else: menu += "%s" % (profile.username, i18n.get('mute')) # Block menu += "%s" % (cmd, i18n.get('block')) # Spam menu += "%s" % (cmd, i18n.get('spam')) return menu def __account_buttons(self, accounts): buttons = '' for acc in accounts: name = acc.split('-')[0] image_name = acc.split('-')[1] + ".png" image = self.__image_tag(image_name, 16, 16) #buttons += "%s" % (name, image) buttons += "
%s
" % (name, image, name, acc, acc) return buttons def __parse_tags(self, page): for part in PARTIAL_PATTERN.findall(page): page = page.replace(part[0], self.partials[part[1]]) for img in IMG_PATTERN.findall(page): page = page.replace(img[0], self.__image_tag(img[1])) for img in RESIZED_IMG_PATTERN.findall(page): page = page.replace(img[0], self.__image_tag(img[1], width=img[2], height=img[3])) for img in CSS_IMG_PATTERN.findall(page): filepath = os.path.realpath(os.path.join(IMAGES_DIR, img[1])) page = page.replace(img[0], 'file://' + filepath) for text in I18N_PATTERN.findall(page): # TODO: Escape invalid characters page = page.replace(text[0], i18n.get(text[1])) return page def __render(self, tofile=True): page = self.app_layout js_tags = '' page = page.replace('<% javascripts %>', js_tags) js_tags = '' page = page.replace('<% javascripts_impress %>', js_tags) css_tags = '' page = page.replace('<% stylesheets %>', css_tags) css_tags = '' page = page.replace('<% stylesheets_impress %>', css_tags) page = page.replace('<% query %>', self.__query_tag()) page = self.__parse_tags(page) if tofile: fd = open('/tmp/output.html', 'w') fd.write(page) fd.close() return page def js_string_array(self, array): return '["' + '","'.join(array) + '"]' def parse_command(self, command): action = command.split(':')[0] try: args = command.split(':')[1].split(ARG_SEP) except IndexError: args = [] return action, args def empty(self): self.__load_layout('empty') return self.__render() def main(self, accounts, columns): self.__load_layout('main') hdr_content = '' col_content = '' for column in columns: hdr, col = self.render_column(column) hdr_content += hdr col_content += col acc_buttons = self.__account_buttons(accounts) self.app_layout = self.app_layout.replace('<% @headers %>', hdr_content) self.app_layout = self.app_layout.replace('<% @columns %>', col_content) self.app_layout = self.app_layout.replace('<% @account_buttons %>', acc_buttons) page = self.__render(tofile=False) # TODO: Look for a better way of handle javascript code from python page = page.replace('<% @arg_sep %>', ARG_SEP) page = page.replace('<% @num_columns %>', str(len(columns))) fd = open('/tmp/output.html', 'w') fd.write(page) fd.close() return page def accounts(self, accounts): self.__load_layout('accounts') acc_list = self.render_account_list(accounts) self.app_layout = self.app_layout.replace('<% @accounts %>', acc_list) return self.__render() def about(self): self.__load_layout('about2') self.app_layout = self.app_layout.replace('<% VERSION %>', VERSION) return self.__render() def account_form(self, plist, user='', pwd='', prot=''): self.__load_layout('account_form') protocols = self.protocols_for_options(plist, prot) self.app_layout = self.app_layout.replace('<% @user %>', user) self.app_layout = self.app_layout.replace('<% @pwd %>', pwd) self.app_layout = self.app_layout.replace('<% @protocols %>', protocols) return self.__render() def protocols_for_options(self, plist, default=''): ''' Receive an array of protocols like ['protocol1', 'protocol2'] ''' protocols = '' % i18n.get('--select--') for p in plist: checked = '' if p == default: checked = 'checked="checked"' protocols += '' % (p, checked, p.capitalize()) return protocols def render_account_list(self, accounts): self.partials['accounts'] = '' partial = self.__open_partial('account') for acc in accounts: section = partial.replace('<% @account_id %>', acc.id_) section = section.replace('<% @account_name %>', acc.profile.username) section = section.replace('<% @protocol_id %>', acc.id_.split('-')[1]) section = section.replace('@protocol_img', acc.id_.split('-')[1] + '.png') section = section.replace('<% @login_action %>', self.__login_action_tag(acc)) self.partials['accounts'] += section + '\n' page = self.__parse_tags(self.partials['accounts']) return page def statuses(self, statuses): result = '' for status in statuses: result += self.status(status) + '\n' page = self.__parse_tags(result) return page def single_status(self, status): result = self.status(status) page = self.__parse_tags(result) return page def render_column(self, column): protocol_img = column.protocol_id + '.png' label = '' if column.column_name == 'public': label = "%s :: %s" % (column.column_name, i18n.get('timeline')) else: label = "%s :: %s" % (column.account_id.split('-')[0], column.column_name) col_header = self.__open_partial('column_header') col_header = col_header.replace('<% @column_label %>', label) col_header = col_header.replace('<% @column_id %>', column.id_) col_header = col_header.replace('@protocol_img', protocol_img) col_content = self.__open_partial('column_content') col_content = col_content.replace('<% @column_id %>', column.id_) header = self.__parse_tags(col_header) column = self.__parse_tags(col_content) return header, column def status(self, status, ignore_reply=False, profile_status=False): timestamp = status.datetime if status.source: if status.source.url: timestamp += ' %s %s' % (i18n.get('from'), status.source.url, status.source.name) else: timestamp += ' %s %s' % (i18n.get('from'), status.source.name) if status.in_reply_to_user and not ignore_reply: timestamp += ' %s %s' % (i18n.get('in_reply_to'), status.in_reply_to_user) reposted_by = '' if status.reposted_by: count = len(status.reposted_by) if count > 1: temp = '%i %s' % (count, i18n.get('people')) elif count == 1: temp = '1 %s' % i18n.get('person') reposted_by = '%s %s' % (i18n.get('retweeted_by'), status.reposted_by) args = ARG_SEP.join([status.account_id, status.id_]) tmp_cmd = "%s" if status.is_favorite: cmd = "cmd:unfav_status:%s" % args fav_cmd = tmp_cmd % (cmd, self.__image_tag('action-fav.png', tooltip=i18n.get('-fav'))) is_fav = 'true' show_fav = '' else: cmd = "cmd:fav_status:%s" % args fav_cmd = tmp_cmd % (cmd, self.__image_tag('action-unfav.png', tooltip=i18n.get('+fav'))) is_fav = 'false' show_fav = 'display: none' message = self.__highlight_urls(status, status.text) message = self.__highlight_hashtags(status, message) message = self.__highlight_groups(status, message) message = self.__highlight_mentions(status, message) message = message.replace('\r', ' ') message = message.replace('\\"', '"') message = message.replace('\\', "\") username = self.__highlight_username(status) menu = self.__build_status_menu(status) args = ARG_SEP.join([status.account_id, status.id_]) # Decide what template to use if profile_status: section = self.__open_partial('profile_status') else: section = self.__open_partial('status') section = section.replace('<% @status_id %>', status.id_) section = section.replace('<% @status_display_id %>', status.display_id) if status.in_reply_to_id: section = section.replace('<% @status_replyto_id %>', '%s' % status.id_) else: section = section.replace('<% @status_replyto_id %>', '') section = section.replace('<% @avatar %>', status.avatar) section = section.replace('<% @account_id %>', status.account_id) section = section.replace('<% @clean_username %>', status.username) section = section.replace('<% @username %>', username) section = section.replace('<% @message %>', message) section = section.replace('<% @timestamp %>', timestamp) section = section.replace('<% @reposted_by %>', reposted_by) section = section.replace('<% @verified %>', self.__verified_tag(status.is_verified)) section = section.replace('<% @protected %>', self.__protected_tag(status.is_protected)) section = section.replace('<% @reposted %>', self.__reposted_tag(status.reposted_by)) section = section.replace('<% @is_fav %>', is_fav) section = section.replace('<% @show_favorite %>', show_fav) section = section.replace('<% @favorite_cmd %>', fav_cmd) section = section.replace('<% @retweeted_visible %>', self.__retweeted_visible(status)) section = section.replace('<% @retweeted %>', self.__retweeted_tag()) section = section.replace('<% @menu %>', menu) return section def profile(self, profile): bio_icon = self.__image_tag('icon-bio.png', width='16', height='16', class_='mark') loc_icon = self.__image_tag('icon-location.png', width='16', height='16', class_='mark') web_icon = self.__image_tag('icon-web.png', width='16', height='16', class_='mark') url = '' if profile.url != '' and profile.url != None: url = '%s' % (profile.url, profile.url) bio = '' if profile.bio: bio = profile.bio location = '' if profile.location: location = profile.location section = self.__open_partial('profile') section = section.replace('<% @account_id %>', profile.account_id) section = section.replace('<% @avatar %>', profile.avatar) section = section.replace('<% @fullname %>', profile.fullname) section = section.replace('<% @username %>', profile.username) section = section.replace('<% @verified %>', self.__verified_tag(profile.verified)) section = section.replace('<% @protected %>', self.__protected_tag(profile.protected)) section = section.replace('<% @bio_icon %>', bio_icon) section = section.replace('<% @location_icon %>', loc_icon) section = section.replace('<% @web_icon %>', web_icon) section = section.replace('<% @bio %>', bio) section = section.replace('<% @location %>', location) section = section.replace('<% @web %>', url) section = section.replace('<% @following %>', str(profile.friends_count)) section = section.replace('<% @followers %>', str(profile.followers_count)) section = section.replace('<% @posts %>', str(profile.statuses_count)) section = section.replace('<% @favorites %>', str(profile.favorites_count)) section = section.replace('<% @menu %>', self.__build_profile_menu(profile)) recent = '' for status in profile.recent_updates: recent += self.status(status, profile_status=True) section = section.replace('<% @recent_updates %>', recent) page = self.__parse_tags(section) #print page return page turpial-3.0+dfsg.orig/turpial/ui/notification.py0000644000000000000000000000477512254451436016760 0ustar # -*- coding: utf-8 -*- # Notification module for Turpial """ import os import logging from turpial.ui.lang import i18n NOTIFY = True try: import pynotify except ImportError: NOTIFY = False class OSNotificationSystem: def __init__(self, images_path, disable=False): self.images_path = images_path self.activate() self.disable = disable if not NOTIFY: self.disable = True return def activate(self): self.active = True def deactivate(self): self.active = False def notify(self, title, message, icon=None): if self.disable: return if self.active and not self.disable: if pynotify.init("Turpial"): if not icon: iconpath = os.path.join(self.images_path, 'turpial-notification.png') icon = os.path.realpath(iconpath) icon = "file://%s" % icon notification = pynotify.Notification(title, message, icon) try: notification.show() except Exception, e: print e def updates(self, column, count, filtered=0): if count > 1: message = i18n.get('new_tweets_updated') % count else: message = i18n.get('new_tweet_updated') title = " ".join([i18n.get('updated'), column.slug]) self.notify(title, message) def user_followed(self, username): self.notify(i18n.get('follow'), i18n.get('you_are_now_following') % username) def user_unfollowed(self, username): self.notify(i18n.get('unfollow'), i18n.get('you_are_no_longer_following') % username) def user_reported_as_spam(self, username): self.notify(i18n.get('report_as_spam'), i18n.get('has_been_reported_as_spam') % username) def user_blocked(self, username): self.notify(i18n.get('block'), i18n.get('has_been_blocked') % username) def user_muted(self, username): self.notify(i18n.get('mute'), i18n.get('has_been_muted') % username) def user_unmuted(self, username): self.notify(i18n.get('unmute'), i18n.get('has_been_unmuted') % username) def message_from_queue_posted(self): self.notify(i18n.get('update_status'), i18n.get('message_from_queue_has_been_posted')) def following_error(self, message, follow): if follow: self.popup(i18n.get('turpial_follow'), message) else: self.popup(i18n.get('turpial_unfollow'), message) turpial-3.0+dfsg.orig/turpial/ui/qt/0000755000000000000000000000000012254451540014323 5ustar turpial-3.0+dfsg.orig/turpial/ui/qt/column.py0000644000000000000000000004617212254451436016210 0ustar # -*- coding: utf-8 -*- # Qt widget to implement statuses column in Turpial #from PyQt4 import QtCore from PyQt4.QtCore import Qt from PyQt4.QtCore import QSize from PyQt4.QtCore import QRect from PyQt4.QtCore import QLine from PyQt4.QtGui import QFont from PyQt4.QtGui import QColor from PyQt4.QtGui import QLabel from PyQt4.QtGui import QPixmap from PyQt4.QtGui import QWidget from PyQt4.QtGui import QMessageBox from PyQt4.QtGui import QTextDocument from PyQt4.QtGui import QStyledItemDelegate from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from turpial.ui.lang import i18n from turpial.ui.qt.widgets import ImageButton from turpial.ui.qt.loader import BarLoadIndicator from turpial.ui.qt.webview import StatusesWebView from libturpial.common import get_preview_service_from_url, OS_MAC from libturpial.common.tools import get_account_id_from, get_column_slug_from, get_protocol_from,\ get_username_from, detect_os class StatusesColumn(QWidget): NOTIFICATION_ERROR = 'error' NOTIFICATION_SUCCESS = 'success' NOTIFICATION_WARNING = 'warning' NOTIFICATION_INFO = 'notice' def __init__(self, base, column_id, include_header=True): QWidget.__init__(self) self.base = base self.setMinimumWidth(280) self.statuses = [] self.conversations = {} self.id_ = None #self.fgcolor = "#e3e3e3" #self.fgcolor = "#f9a231" #self.updating = False self.last_id = None self.loader = BarLoadIndicator() self.loader.setVisible(False) self.webview = StatusesWebView(self.base, self.id_) self.webview.link_clicked.connect(self.__link_clicked) self.webview.hashtag_clicked.connect(self.__hashtag_clicked) self.webview.profile_clicked.connect(self.__profile_clicked) self.webview.cmd_clicked.connect(self.__cmd_clicked) layout = QVBoxLayout() layout.setSpacing(0) layout.setContentsMargins(0, 0, 0, 0) if include_header: header = self.__build_header(column_id) layout.addWidget(header) layout.addWidget(self.loader) layout.addWidget(self.webview, 1) self.setLayout(layout) def __build_header(self, column_id): self.set_column_id(column_id) username = get_username_from(self.account_id) column_slug = get_column_slug_from(column_id) column_slug = column_slug.replace('%23', '#') column_slug = column_slug.replace('%40', '@') #font = QFont('Titillium Web', 18, QFont.Normal, False) # This is to handle the 96dpi vs 72dpi screen resolutions on Mac vs the world if detect_os() == OS_MAC: font = QFont('Maven Pro Light', 25, 0, False) font2 = QFont('Monda', 14, 0, False) else: font = QFont('Maven Pro Light', 16, QFont.Light, False) font2 = QFont('Monda', 10, QFont.Light, False) bg_style = "background-color: %s; color: %s;" % (self.base.bgcolor, self.base.fgcolor) label = "%s : %s" % (username, column_slug) caption = QLabel(username) caption.setStyleSheet("QLabel { %s }" % bg_style) caption.setFont(font) caption2 = QLabel(column_slug) caption2.setStyleSheet("QLabel { %s }" % bg_style) caption2.setFont(font2) caption2.setAlignment(Qt.AlignLeft | Qt.AlignBottom) caption_box = QHBoxLayout() caption_box.setSpacing(8) caption_box.addWidget(caption) caption_box.addWidget(caption2) caption_box.addStretch(1) close_button = ImageButton(self.base, 'action-delete-shadowed.png', i18n.get('delete_column')) close_button.clicked.connect(self.__delete_column) close_button.setStyleSheet("QToolButton { %s border: 0px solid %s;}" % (bg_style, self.base.bgcolor)) header_layout = QHBoxLayout() header_layout.addLayout(caption_box, 1) header_layout.addWidget(close_button) header = QWidget() header.setStyleSheet("QWidget { %s }" % bg_style) header.setLayout(header_layout) return header def __delete_column(self): self.base.core.delete_column(self.id_) def __link_clicked(self, url): url = str(url) preview_service = get_preview_service_from_url(url) self.base.open_url(url) def __hashtag_clicked(self, hashtag): self.base.add_search_column(self.account_id, str(hashtag)) def __profile_clicked(self, username): self.base.show_profile_dialog(self.account_id, str(username)) def __cmd_clicked(self, url): status_id = str(url.split(':')[1]) cmd = url.split(':')[0] status = None try: print 'Seeking for status in self array' for status_ in self.statuses: if status_.id_ == status_id: status = status_ break if status is None: raise KeyError except KeyError: print 'Seeking for status in conversations array' for status_root, statuses in self.conversations.iteritems(): for item in statuses: if item.id_ == status_id: status = item break if status is not None: break if status is None: self.notify_error(status_id, i18n.get('try_again')) if cmd == 'reply': self.__reply_status(status) elif cmd == 'quote': self.__quote_status(status) elif cmd == 'repeat': self.__repeat_status(status) elif cmd == 'delete': self.__delete_status(status) elif cmd == 'favorite': self.__mark_status_as_favorite(status) elif cmd == 'unfavorite': self.__unmark_status_as_favorite(status) elif cmd == 'delete_direct': self.__delete_direct_message(status) elif cmd == 'reply_direct': self.__reply_direct_message(status) elif cmd == 'view_conversation': self.__view_conversation(status) elif cmd == 'hide_conversation': self.__hide_conversation(status) elif cmd == 'show_avatar': self.__show_avatar(status) def __reply_status(self, status): self.base.show_update_box_for_reply(self.account_id, status) def __quote_status(self, status): self.base.show_update_box_for_quote(self.account_id, status) def __repeat_status(self, status): confirmation = self.base.show_confirmation_message(i18n.get('confirm_retweet'), i18n.get('do_you_want_to_retweet_status')) if confirmation: self.lock_status(status.id_) self.base.repeat_status(self.id_, self.account_id, status) def __delete_status(self, status): confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), i18n.get('do_you_want_to_delete_status')) if confirmation: self.lock_status(status.id_) self.base.delete_status(self.id_, self.account_id, status) def __delete_direct_message(self, status): confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), i18n.get('do_you_want_to_delete_direct_message')) if confirmation: self.base.delete_direct_message(self.id_, self.account_id, status) def __reply_direct_message(self, status): self.base.show_update_box_for_reply_direct(self.account_id, status) def __mark_status_as_favorite(self, status): self.lock_status(status.id_) self.base.mark_status_as_favorite(self.id_, self.account_id, status) def __unmark_status_as_favorite(self, status): self.lock_status(status.id_) self.base.unmark_status_as_favorite(self.id_, self.account_id, status) def __view_conversation(self, status): self.webview.view_conversation(status.id_) self.base.get_conversation(self.account_id, status, self.id_, status.id_) def __hide_conversation(self, status): del self.conversations[status.id_] self.webview.clear_conversation(status.id_) def __show_avatar(self, status): self.base.show_profile_image(self.account_id, status.username) def __set_last_status_id(self, statuses): if statuses[0].repeated_by: self.last_id = statuses[0].original_status_id else: self.last_id = statuses[0].id_ def set_column_id(self, column_id): self.id_ = column_id self.account_id = get_account_id_from(column_id) self.protocol_id = get_protocol_from(self.account_id) self.webview.column_id = column_id def clear(self): self.webview.clear() def start_updating(self): self.loader.setVisible(True) return self.last_id def stop_updating(self): self.loader.setVisible(False) def update_timestamps(self): self.webview.sync_timestamps(self.statuses) def update_statuses(self, statuses): self.__set_last_status_id(statuses) self.update_timestamps() self.webview.update_statuses(statuses) # Filter repeated statuses # FIXME: This should be done with list comprehension using comparation methods on status.py unique_statuses = [] for s1 in statuses: exist = False for s2 in self.statuses: if s1.id_ == s2.id_: exist = True break if not exist: unique_statuses.append(s1) # Remove old conversations to_remove = self.statuses[-(len(unique_statuses)):] self.statuses = statuses + self.statuses[: -(len(unique_statuses))] for status in to_remove: if self.conversations.has_key(status.id_): del self.conversations[status.id_] def update_conversation(self, status, status_root_id): status_root_id = str(status_root_id) self.webview.update_conversation(status, status_root_id) if status_root_id in self.conversations: self.conversations[status_root_id].append(status) else: self.conversations[status_root_id] = [status] def error_in_conversation(self, status_root_id): self.webview.clear_conversation(status_root_id) def mark_status_as_favorite(self, status_id): mark = "setFavorite('%s')" % status_id self.webview.execute_javascript(mark) def unmark_status_as_favorite(self, status_id): mark = "unsetFavorite('%s');" % status_id self.webview.execute_javascript(mark) def mark_status_as_repeated(self, status_id): mark = "setRepeated('%s');" % status_id self.webview.execute_javascript(mark) def remove_status(self, status_id): operation = "removeStatus('%s');" % status_id self.webview.execute_javascript(operation) def lock_status(self, status_id): operation = "lockStatus('%s');" % status_id self.webview.execute_javascript(operation) def release_status(self, status_id): operation = "releaseStatus('%s');" % status_id self.webview.execute_javascript(operation) def notify(self, id_, type_, message): message = message.replace("'", "\"") notification = "addNotify('%s', '%s', '%s');" % (id_, type_, message) self.webview.execute_javascript(notification) def notify_error(self, id_, message): self.notify(id_, self.NOTIFICATION_ERROR, message) def notify_success(self, id_, message): self.notify(id_, self.NOTIFICATION_SUCCESS, message) def notify_warning(self, id_, message): self.notify(id_, self.NOTIFICATION_WARNING, message) def notify_info(self, id_, message): self.notify(id_, self.NOTIFICATION_INFO, message) class StatusDelegate(QStyledItemDelegate): FullnameRole = Qt.UserRole + 100 UsernameRole = Qt.UserRole + 101 AvatarRole = Qt.UserRole + 102 MessageRole = Qt.UserRole + 103 DateRole = Qt.UserRole + 104 RepostedRole = Qt.UserRole + 105 ProtectedRole = Qt.UserRole + 106 FavoritedRole = Qt.UserRole + 107 RepeatedRole = Qt.UserRole + 108 VerifiedRole = Qt.UserRole + 109 URLsEntitiesRole = Qt.UserRole + 110 AVATAR_SIZE = 48 BOX_MARGIN = 2 LEFT_MESSAGE_MARGIN = 8 TOP_MESSAGE_MARGIN = 0 BOTTOM_MESSAGE_MARGIN = 0 COMPLEMENT_HEIGHT = 5 def __init__(self, base): QStyledItemDelegate.__init__(self) self.favorite_icon = base.load_image('mark-favorite.png', True) self.verified_icon = base.load_image('mark-verified.png', True) self.protected_icon = base.load_image('mark-protected.png', True) self.repeated_icon = base.load_image('mark-repeated.png', True) self.reposted_icon = base.load_image('mark-reposted.png', True) self.avatar = None def __calculate_text_width(self, width): width -= ((self.BOX_MARGIN * 2) + self.AVATAR_SIZE + self.LEFT_MESSAGE_MARGIN) return width def __render_fullname(self, width, index): fullname = index.data(self.FullnameRole).toPyObject() doc = QTextDocument() doc.setHtml("%s" % fullname) doc.setDefaultFont(FULLNAME_FONT) doc.setTextWidth(self.__calculate_text_width(width)) return doc def __render_status_message(self, width, index): message = unicode(index.data(self.MessageRole).toPyObject()) urls = index.data(self.URLsEntitiesRole).toPyObject() for url in urls: pretty_url = "%s" % (url.url, url.display_text) message = message.replace(url.search_for, pretty_url) doc = QTextDocument() doc.setHtml(message) doc.setTextWidth(self.__calculate_text_width(width)) return doc def __render_username(self, width, index): username_string = index.data(self.UsernameRole).toPyObject() username = QTextDocument() if username_string != '': username.setHtml("@%s" % username_string) else: username.setHtml("" % username_string) username.setDefaultFont(USERNAME_FONT) username.setTextWidth(self.__calculate_text_width(width)) return username def sizeHint(self, option, index): fullname = self.__render_fullname(option.rect.size().width(), index) message = self.__render_status_message(option.rect.size().width(), index) height = option.rect.top() + fullname.size().height() + self.TOP_MESSAGE_MARGIN + message.size().height() if height < self.AVATAR_SIZE: height = self.AVATAR_SIZE + self.COMPLEMENT_HEIGHT height += self.BOTTOM_MESSAGE_MARGIN + 16 + (self.BOX_MARGIN * 3) self.size = QSize(option.rect.width(), height) return self.size def paint(self, painter, option, index): painter.save() cell_width = self.size.width() #if option.state & QStyle.State_Selected: # painter.fillRect(option.rect, option.palette.highlight()) #painter.drawRect(option.rect) # Draw marks before translating painter # ===================================== # Draw avatar if not self.avatar: avatar_filepath = index.data(self.AvatarRole).toPyObject() self.avatar = QPixmap(avatar_filepath) x = option.rect.left() + (self.BOX_MARGIN * 2) y = option.rect.top() + (self.BOX_MARGIN * 2) rect = QRect(x, y, self.AVATAR_SIZE, self.AVATAR_SIZE) painter.drawPixmap(rect, self.avatar) # Draw verified account icon if index.data(self.VerifiedRole).toPyObject(): rect2 = QRect(rect.right() - 11, rect.bottom() - 10, 16, 16) painter.drawPixmap(rect2, self.verified_icon) marks_margin = 0 # Favorite mark if index.data(self.FavoritedRole).toPyObject(): x = cell_width - 16 - self.BOX_MARGIN y = option.rect.top() + self.BOX_MARGIN rect = QRect(x, y, 16, 16) painter.drawPixmap(rect, self.favorite_icon) marks_margin = 16 # Draw reposted icon if index.data(self.RepeatedRole).toPyObject(): x = cell_width - 16 - self.BOX_MARGIN - marks_margin y = option.rect.top() + self.BOX_MARGIN rect = QRect(x, y, 16, 16) painter.drawPixmap(rect, self.repeated_icon) # Draw protected account icon protected_icon_margin = 0 if index.data(self.ProtectedRole).toPyObject(): x = option.rect.left() + self.BOX_MARGIN + self.AVATAR_SIZE + self.LEFT_MESSAGE_MARGIN y = option.rect.top() + self.BOX_MARGIN rect = QRect(x, y, 16, 16) painter.drawPixmap(rect, self.protected_icon) protected_icon_margin = 16 # ==== End of pixmap drawing ==== accumulated_height = 0 # Draw fullname fullname = self.__render_fullname(cell_width, index) x = option.rect.left() + self.BOX_MARGIN + self.AVATAR_SIZE x += self.LEFT_MESSAGE_MARGIN + protected_icon_margin y = option.rect.top() painter.translate(x, y) fullname.drawContents(painter) # Draw username username = self.__render_username(cell_width, index) painter.translate(fullname.idealWidth(), 0) username.drawContents(painter) # Draw status message x = -fullname.idealWidth() - protected_icon_margin y = fullname.size().height() + self.TOP_MESSAGE_MARGIN painter.translate(x, y) message = self.__render_status_message(cell_width, index) message.drawContents(painter) accumulated_height += y + message.size().height() # Draw reposted by x = self.BOX_MARGIN + 16 - (self.LEFT_MESSAGE_MARGIN + self.AVATAR_SIZE) y = message.size().height() + self.BOTTOM_MESSAGE_MARGIN if accumulated_height < self.AVATAR_SIZE: y += (self.AVATAR_SIZE - accumulated_height) + self.COMPLEMENT_HEIGHT painter.translate(x, y) reposted_by = index.data(self.RepostedRole).toPyObject() if reposted_by: reposted = QTextDocument() reposted.setHtml("%s" % reposted_by) reposted.setDefaultFont(FOOTER_FONT) reposted.setTextWidth(self.__calculate_text_width(cell_width)) reposted.drawContents(painter) # Draw reposted icon rect2 = QRect(-16, 3, 16, 16) painter.drawPixmap(rect2, self.reposted_icon) # Draw datetime datetime = index.data(self.DateRole).toPyObject() timestamp = QTextDocument() timestamp.setHtml("%s" % datetime) timestamp.setDefaultFont(FOOTER_FONT) timestamp.setTextWidth(self.__calculate_text_width(cell_width)) x = self.size.width() - timestamp.idealWidth() - 20 - self.BOX_MARGIN painter.translate(x, 0) timestamp.drawContents(painter) painter.resetTransform() painter.translate(0, option.rect.bottom()) line = QLine(0, 0, option.rect.width(), 0) painter.setPen(QColor(230, 230, 230)) painter.drawLine(line) painter.restore() turpial-3.0+dfsg.orig/turpial/ui/qt/preferences.py0000644000000000000000000005121212254451436017203 0ustar # -*- coding: utf-8 -*- # Qt preferences dialog for Turpial import subprocess from datetime import datetime, timedelta from PyQt4.QtGui import QLabel from PyQt4.QtGui import QWidget from PyQt4.QtGui import QSlider from PyQt4.QtGui import QComboBox from PyQt4.QtGui import QCheckBox from PyQt4.QtGui import QLineEdit from PyQt4.QtGui import QTabWidget from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QButtonGroup from PyQt4.QtGui import QRadioButton from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from PyQt4.QtCore import Qt from PyQt4.QtCore import pyqtSignal from turpial.ui.lang import i18n from turpial.ui.qt.widgets import Window #TODO: Enable tp open dialog in a specific tab class PreferencesDialog(Window): def __init__(self, base): Window.__init__(self, base, i18n.get('preferences')) self.setFixedSize(450, 360) self.current_config = self.base.get_config() self.tabbar = QTabWidget() self.tabbar.setTabsClosable(False) self.tabbar.setMovable(False) self.tabbar.setUsesScrollButtons(True) self.tabbar.setElideMode(Qt.ElideNone) self.general_page = GeneralPage(base) self.notifications_page = NotificationsPage(base) self.services_page = ServicesPage(base) self.browser_page = BrowserPage(base) self.proxy_page = ProxyPage(base) self.advanced_page = AdvancedPage(base) self.tabbar.addTab(self.general_page, i18n.get('general')) self.tabbar.addTab(self.notifications_page, i18n.get('notifications')) self.tabbar.addTab(self.services_page, i18n.get('services')) self.tabbar.addTab(self.browser_page, i18n.get('web_browser')) self.tabbar.addTab(self.proxy_page, i18n.get('proxy')) self.tabbar.addTab(self.advanced_page, i18n.get('advanced')) self.save_button = QPushButton(i18n.get('save')) self.save_button.clicked.connect(self.__on_save) self.close_button = QPushButton(i18n.get('close')) self.close_button.clicked.connect(self.__on_close) button_box = QHBoxLayout() button_box.addStretch(1) button_box.setSpacing(4) button_box.addWidget(self.close_button) button_box.addWidget(self.save_button) vbox = QVBoxLayout() vbox.addWidget(self.tabbar, 1) vbox.addLayout(button_box) vbox.setContentsMargins(10, 10, 10, 10) self.setLayout(vbox) self.show() def __on_close(self): self.close() def __on_save(self): notif, sounds = self.notifications_page.get_config() new_config = { 'General': self.general_page.get_config(), 'Notifications': notif, 'Sounds': sounds, 'Services': self.services_page.get_config(), 'Browser': self.browser_page.get_config(), 'Proxy': self.proxy_page.get_config(), 'Advanced': self.advanced_page.get_config() } self.base.update_config(new_config) self.close() class BasePage(QWidget): def __init__(self, caption): QWidget.__init__(self) description = QLabel(caption) description.setWordWrap(True) self.layout = QVBoxLayout() self.layout.setContentsMargins(10, 10, 10, 10) self.layout.addWidget(description) self.layout.addSpacing(15) self.layout.setSpacing(5) self.setLayout(self.layout) class GeneralPage(BasePage): def __init__(self, base): BasePage.__init__(self, i18n.get('general_tab_description')) update_frecuency = base.core.get_update_interval() queue_frecuency = base.core.get_queue_interval() statuses = base.core.get_statuses_per_column() minimize_on_close = base.core.get_minimize_on_close() self.update_frecuency = Slider(i18n.get('update_frecuency'), unit='min', default_value=update_frecuency, tooltip=i18n.get('update_frecuency_tooltip')) self.statuses_per_column = Slider(i18n.get('statuses_per_column'), minimum_value=20, maximum_value=200, default_value=statuses) self.queue_frecuency = Slider(i18n.get('queue_frecuency'), minimum_value=5, maximum_value=720, default_value=queue_frecuency, single_step=15, time=True, tooltip=i18n.get('queue_frecuency_tooltip')) self.minimize_on_close = CheckBox(i18n.get('minimize_on_close'), checked=minimize_on_close, tooltip=i18n.get('minimize_on_close_tooltip')) self.layout.addWidget(self.update_frecuency) self.layout.addWidget(self.queue_frecuency) self.layout.addWidget(self.statuses_per_column) self.layout.addSpacing(10) self.layout.addWidget(self.minimize_on_close) self.layout.addStretch(1) def get_config(self): minimize = 'on' if self.minimize_on_close.get_value() else 'off' return { 'update-interval': self.update_frecuency.get_value(), 'statuses': self.statuses_per_column.get_value(), 'queue-interval': self.queue_frecuency.get_value(), 'minimize-on-close': minimize } class NotificationsPage(BasePage): def __init__(self, base): BasePage.__init__(self, i18n.get('notifications_tab_description')) notify_on_updates = base.core.get_notify_on_updates() notify_on_actions = base.core.get_notify_on_actions() sound_on_login = base.core.get_sound_on_login() sound_on_updates = base.core.get_sound_on_updates() self.notify_on_updates = CheckBox(i18n.get('notify_on_updates'), checked=notify_on_updates, tooltip=i18n.get('notify_on_updates_toolip')) self.notify_on_actions = CheckBox(i18n.get('notify_on_actions'), checked=notify_on_actions, tooltip=i18n.get('notify_on_actions_toolip')) self.sound_on_login = CheckBox(i18n.get('sound_on_login'), checked=sound_on_login, tooltip=i18n.get('sound_on_login_tooltip')) self.sound_on_updates = CheckBox(i18n.get('sound_on_updates'), checked=sound_on_updates, tooltip=i18n.get('sound_on_updates_tooltip')) self.layout.addWidget(self.notify_on_updates) self.layout.addWidget(self.notify_on_actions) self.layout.addSpacing(15) self.layout.addWidget(self.sound_on_login) self.layout.addWidget(self.sound_on_updates) self.layout.addStretch(1) def get_config(self): notif = { 'updates': 'on' if self.notify_on_updates.get_value() else 'off', 'actions': 'on' if self.notify_on_actions.get_value() else 'off' } sound = { 'login': 'on' if self.sound_on_login.get_value() else 'off', 'updates': 'on' if self.sound_on_updates.get_value() else 'off' } return notif, sound class ServicesPage(BasePage): def __init__(self, base): BasePage.__init__(self, i18n.get('services_tab_description')) short_url_services = base.core.get_available_short_url_services() default_short_url_service = base.core.get_shorten_url_service() self.short_url = ComboBox(i18n.get('short_urls'), sorted(short_url_services), default_short_url_service, expand_combo=True) upload_media_services = base.core.get_available_upload_media_services() default_upload_media_service = base.core.get_upload_media_service() self.upload_media = ComboBox(i18n.get('upload_image'), sorted(upload_media_services), default_upload_media_service, expand_combo=True) self.layout.addWidget(self.short_url) self.layout.addSpacing(5) self.layout.addWidget(self.upload_media) self.layout.addStretch(1) def get_config(self): return { 'shorten-url': self.short_url.get_value(), 'upload-pic': self.upload_media.get_value() } class BrowserPage(QWidget): def __init__(self, base): QWidget.__init__(self) current_browser = base.core.get_default_browser() description = QLabel(i18n.get('web_browser_tab_description')) description.setWordWrap(True) self.command = QLineEdit() self.default_browser = RadioButton(i18n.get('use_default_browser'), self) self.default_browser.selected.connect(self.__on_defaul_selected) self.custom_browser = RadioButton(i18n.get('set_custom_browser'), self) self.custom_browser.selected.connect(self.__on_custom_selected) custom_label = QLabel(i18n.get('command')) self.open_button = QPushButton(i18n.get('open')) self.test_button = QPushButton(i18n.get('test')) self.test_button.clicked.connect(self.__on_test) command_box = QHBoxLayout() command_box.setSpacing(5) command_box.addWidget(custom_label) command_box.addWidget(self.command, 1) #command_box.addWidget(self.open_button) command_box.addWidget(self.test_button) self.button_group = QButtonGroup() self.button_group.addButton(self.default_browser.radiobutton) self.button_group.addButton(self.custom_browser.radiobutton) self.button_group.setExclusive(True) vbox = QVBoxLayout() vbox.setSpacing(0) vbox.setContentsMargins(5, 5, 5, 0) vbox.addWidget(description) vbox.addSpacing(15) vbox.addWidget(self.default_browser) vbox.addSpacing(10) vbox.addWidget(self.custom_browser) vbox.addLayout(command_box) vbox.addStretch(1) self.setLayout(vbox) if current_browser == '': self.default_browser.set_value(True) self.command.setText('') self.__on_defaul_selected() else: self.custom_browser.set_value(True) self.command.setText(current_browser) self.__on_custom_selected() def __on_test(self): cmd = str(self.command.text()) if cmd != '': subprocess.Popen([cmd, 'http://turpial.org.ve/']) def __on_defaul_selected(self): self.open_button.setEnabled(False) self.test_button.setEnabled(False) self.command.setEnabled(False) def __on_custom_selected(self): self.open_button.setEnabled(True) self.test_button.setEnabled(True) self.command.setEnabled(True) def get_config(self): if self.default_browser.get_value(): cmd = '' else: cmd = str(self.command.text()) return { 'cmd': cmd } class ProxyPage(BasePage): def __init__(self, base): BasePage.__init__(self, i18n.get('proxy_tab_description')) config = base.core.get_proxy_configuration() if config['username'] != '': default_authenticated = True else: default_authenticated = False self.protocol = ComboBox(i18n.get('type'), ['HTTP', 'HTTPS'], 'HTTP', expand_combo=True) self.host = LineEdit(i18n.get('host'), default_value=config['server']) self.port = LineEdit(i18n.get('port'), text_size=100, default_value=config['port']) self.authenticated = CheckBox(i18n.get('with_authentication'), checked=default_authenticated) self.authenticated.status_changed.connect(self.__on_click_authenticated) self.username = LineEdit(i18n.get('username'), default_value=config['username']) self.password = LineEdit(i18n.get('password'), default_value=config['password']) self.layout.addWidget(self.protocol) self.layout.addWidget(self.host) self.layout.addWidget(self.port) self.layout.addWidget(self.authenticated) self.layout.addWidget(self.username) self.layout.addWidget(self.password) self.layout.addStretch(1) self.__on_click_authenticated(default_authenticated) def __on_click_authenticated(self, checked): self.__show_authentication_widgets(checked) def __show_authentication_widgets(self, visible): self.username.set_visible(visible) self.password.set_visible(visible) def get_config(self): if self.authenticated.get_value(): username = self.username.get_value() password = self.password.get_value() else: username = '' password = '' return { 'protocol': self.protocol.get_value(), 'server': self.host.get_value(), 'port': self.port.get_value(), 'username': username, 'password': password } class AdvancedPage(BasePage): def __init__(self, base): BasePage.__init__(self, i18n.get('advanced_tab_description')) self.base = base socket_timeout = base.core.get_socket_timeout() show_avatars = base.core.get_show_user_avatars() clean_cache_caption = "%s\n(%s)" % (i18n.get('delete_all_files_in_cache'), base.get_cache_size()) self.clean_cache = PushButton(clean_cache_caption, i18n.get('clean_cache')) self.clean_cache.clicked.connect(self.__on_clean_cache) self.restore_config = PushButton(i18n.get('restore_config_to_default'), i18n.get('restore_config')) self.restore_config.clicked.connect(self.__on_config_restore) self.socket_timeout = Slider(i18n.get('socket_timeout'), default_value=socket_timeout, minimum_value=5, maximum_value=120, unit='sec', tooltip=i18n.get('socket_timeout_tooltip')) self.show_avatars = CheckBox(i18n.get('show_avatars'), checked=show_avatars, tooltip=i18n.get('show_avatars_tooltip')) self.layout.addWidget(self.clean_cache) self.layout.addWidget(self.restore_config) self.layout.addSpacing(15) self.layout.addWidget(self.socket_timeout) self.layout.addSpacing(10) self.layout.addWidget(self.show_avatars) self.layout.addStretch(1) def __on_clean_cache(self): self.base.clean_cache() clean_cache_caption = "%s\n(0 B)" % (i18n.get('delete_all_files_in_cache')) self.clean_cache.button.setEnabled(False) self.clean_cache.description.setText(clean_cache_caption) def __on_config_restore(self): confirmation = self.base.show_confirmation_message(i18n.get('confirm_restore'), i18n.get('do_you_want_to_restore_config')) if confirmation: self.base.restore_config() self.base.show_information_message(i18n.get('restart_turpial'), i18n.get('config_restored_successfully')) self.base.main_quit() def get_config(self): show_avatars = 'on' if self.show_avatars.get_value() else 'off' return { 'socket-timeout': self.socket_timeout.get_value(), 'show-user-avatars': show_avatars } ################################################################################ ### Widgets ################################################################################ # TODO: Add tooltips class Slider(QWidget): def __init__(self, caption, default_value, minimum_value=1, maximum_value=60, single_step=1, page_step=6, caption_size=None, unit='', time=False, tooltip=''): QWidget.__init__(self) self.value = default_value self.unit = unit self.time = time description = QLabel(caption) description.setWordWrap(True) description.setToolTip(tooltip) if caption_size: description.setMaximumWidth(caption_size) self.slider = QSlider(Qt.Horizontal) self.slider.setMaximum(maximum_value) self.slider.setMinimum(minimum_value) self.slider.setSingleStep(single_step) self.slider.setPageStep(page_step) self.slider.setToolTip(tooltip) #self.slider.setTickInterval(2) #self.slider.setTickPosition(QSlider.TicksBelow) self.slider.valueChanged.connect(self.__on_change) self.value_label = QLabel() hbox = QHBoxLayout() hbox.addWidget(description) hbox.addWidget(self.slider) hbox.addWidget(self.value_label) hbox.setMargin(0) self.setLayout(hbox) self.setContentsMargins(5, 0, 5, 0) self.slider.setValue(self.value) self.__on_change(self.value) def __on_change(self, value): # FIXME: Fill with spaces to reach the maximum length self.value = value unit = self.unit if self.time: minutes = timedelta(minutes=self.value) date = datetime(1, 1, 1) + minutes text = "%02dh %02dm" % (date.hour, date.minute) else: text = "%s %s" % (self.value, self.unit) self.value_label.setText(text) def get_value(self): return int(self.slider.value()) class CheckBox(QWidget): status_changed = pyqtSignal(bool) def __init__(self, caption, checked=False, tooltip=''): QWidget.__init__(self) self.value = checked self.checkbox = QCheckBox(caption) self.checkbox.stateChanged.connect(self.__on_change) self.checkbox.setToolTip(tooltip) hbox = QHBoxLayout() hbox.addWidget(self.checkbox) hbox.setMargin(0) self.setLayout(hbox) #self.setContentsMargins(5, 0, 5, 0) self.setContentsMargins(0, 0, 0, 0) self.checkbox.setChecked(self.value) def __on_change(self, value): self.value = value if value == Qt.Unchecked: self.status_changed.emit(False) else: self.status_changed.emit(True) def get_value(self): return self.checkbox.isChecked() class ComboBox(QWidget): def __init__(self, caption, values, default_value, caption_size=None, expand_combo=False): QWidget.__init__(self) self.values = values description = QLabel(caption) description.setWordWrap(True) if caption_size: description.setMaximumWidth(caption_size) self.combo = QComboBox() for item in values: self.combo.addItem(item, item) for i in range(0, len(values)): if values[i] == default_value: self.combo.setCurrentIndex(i) break hbox = QHBoxLayout() hbox.addWidget(description) hbox.addSpacing(10) if expand_combo: hbox.addWidget(self.combo, 1) else: hbox.addWidget(self.combo) hbox.setMargin(0) self.setLayout(hbox) self.setContentsMargins(0, 0, 0, 0) def get_value(self): return str(self.values[self.combo.currentIndex()]) class RadioButton(QWidget): selected = pyqtSignal() def __init__(self, caption, parent, selected=False): QWidget.__init__(self) self.value = selected self.radiobutton = QRadioButton(caption, parent) self.radiobutton.clicked.connect(self.__on_change) hbox = QHBoxLayout() hbox.addWidget(self.radiobutton) hbox.setMargin(0) self.setLayout(hbox) self.setContentsMargins(0, 0, 0, 0) self.radiobutton.setChecked(self.value) def __on_change(self): self.value = True self.selected.emit() def set_value(self, value): self.radiobutton.setChecked(value) def get_value(self): return self.radiobutton.isChecked() class PushButton(QWidget): clicked = pyqtSignal() def __init__(self, caption, button_text, caption_size=None): QWidget.__init__(self) self.description = QLabel(caption) self.description.setWordWrap(True) if caption_size: self.description.setMaximumWidth(caption_size) self.button = QPushButton(i18n.get(button_text)) self.button.clicked.connect(self.__on_click) hbox = QHBoxLayout() hbox.addWidget(self.description, 1) hbox.addSpacing(10) hbox.addWidget(self.button) hbox.setMargin(0) self.setLayout(hbox) self.setContentsMargins(0, 0, 0, 0) def __on_click(self): self.clicked.emit() class LineEdit(QWidget): def __init__(self, caption, default_value=None, caption_size=None, text_size=None): QWidget.__init__(self) self.description = QLabel(caption) self.description.setWordWrap(True) if caption_size: self.description.setMaximumWidth(caption_size) self.line_edit = QLineEdit() if default_value: self.line_edit.setText(default_value) if text_size: self.line_edit.setMaximumWidth(text_size) hbox = QHBoxLayout() hbox.addWidget(self.description) hbox.addSpacing(10) hbox.addWidget(self.line_edit) if text_size: hbox.addStretch(1) hbox.setMargin(0) self.setLayout(hbox) self.setContentsMargins(0, 0, 0, 0) def set_visible(self, value): self.description.setVisible(value) self.line_edit.setVisible(value) def get_value(self): return str(self.line_edit.text()) turpial-3.0+dfsg.orig/turpial/ui/qt/templates/0000755000000000000000000000000012254451540016321 5ustar turpial-3.0+dfsg.orig/turpial/ui/qt/templates/column.html0000644000000000000000000001304412254451436020512 0ustar
{{ content }}
turpial-3.0+dfsg.orig/turpial/ui/qt/templates/style.css0000644000000000000000000001241712254451436020204 0ustar * { margin: 0; padding: 0; } *:focus { outline: none; } body { background-color: #b4bbc1; } /*::-webkit-scrollbar { background: transparent; overflow: visible; width: 15px; } ::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.15); border: solid #fff; min-height: 30px; } ::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.2); } ::-webkit-scrollbar-corner { background: transparent; }*/ .alert { color: #555; font-family: 'Ubuntu'; font-size: 13px; position: fixed; top: 0px; left: 0px; width: 98%; z-index: 2; } .alert td { border-radius: 5px; padding: 4px 6px; margin: 1px 1px; cursor: pointer; } .error { border: 1px solid #f5aca6; background-color: #ffecec; } .warning { border: 1px solid #f2c779; background-color: #fff8c4; } .success { border: 1px solid #a6ca8a; background-color: #e9ffd9; } .notice { border: 1px solid #8ed9f6; background-color: #e3f7fc; } .user-info { margin: 0px; } .status { width: 100%; border-bottom: 1px solid #eee; border-collapse: collapse; background-color: #fff; } .status tr { background-color: #fff; } .status td { text-align: left; vertical-align: top; background-color: #fff; } .avatar-row { position: relative; width: 58px; } .avatar { width: 48px; height: 48px; margin: 10px; border-radius: 5px; } .verified { top: 48px; left: 48px; z-index: 1; position: absolute; width: 16px; height: 16px; background: url("file://{{ mark_verified }}") no-repeat; } .username, .username_protected { float: left; font-family: 'Titillium Web'; font-size: 16px; font-weight: bold; margin-top: 5px; margin-bottom: 0px; overflow: hidden; text-overflow: ellipsis; } .username a, .username_protected a { color: #000; text-decoration: none; } .username a:hover, .username_protected a:hover { color: #888; } .username_protected { padding-left: 18px; background: url("file://{{ mark_protected }}") no-repeat 0px 5px; } .favorited { float: right; width: 16px; height: 16px; margin-top: 10px; background: url("file://{{ mark_favorited }}") no-repeat; } .repeated { float: right; width: 16px; height: 16px; margin-top: 10px; background: url("file://{{ mark_repeated }}") no-repeat; } .message { font-family: 'Ubuntu'; font-size: 14px; word-break: break-word; line-height: 1.3; margin-right: 10px; /* Space between message and footer */ margin-bottom: 5px; } .footer, .timestamp { font-family: 'Titillium Web'; font-size: 12px; color: #999; } .reposted { margin-top: 2px; float: left; margin-left: 10px; padding-left: 18px; background: url("file://{{ mark_reposted }}") no-repeat; overflow: hidden; text-overflow: ellipsis; width: 80%; } .in_reply_to { vertical-align: middle; margin: 2px 5px 2px 10px; float: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 90%; } .timestamp { float: right; margin: 7px 10px 6px 10px; } .entity, a { color: #f5861c; text-decoration: none; } .entity:hover, a:hover { color: #f6b26f; } .extra { float: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 58%; } .buttons { float: right; bottom: 0px; padding-right: 4px; height: 100%; width: 100px; } .buttons a { display: block; float: right; margin-left: 5px; } .action_reply { width: 20px; height: 20px; background: url("file://{{ action_reply_shadowed }}") no-repeat; } .action_reply_direct { width: 20px; height: 20px; background: url("file://{{ action_reply_direct_shadowed }}") no-repeat; } .action_repeat { width: 20px; height: 20px; background: url("file://{{ action_repeat_shadowed }}") no-repeat; } .action_quote { width: 20px; height: 20px; background: url("file://{{ action_quote_shadowed }}") no-repeat; } .action_favorite { width: 20px; height: 20px; background: url("file://{{ action_favorite_shadowed }}") no-repeat; } .action_delete { width: 20px; height: 20px; background: url("file://{{ action_delete_shadowed }}") no-repeat; } .action_reply:hover { background: url("file://{{ action_reply }}") no-repeat; } .action_reply_direct:hover { background: url("file://{{ action_reply_direct }}") no-repeat; } .action_repeat:hover { background: url("file://{{ action_repeat }}") no-repeat; } .action_quote:hover { background: url("file://{{ action_quote }}") no-repeat; } .action_favorite:hover { background: url("file://{{ action_favorite }}") no-repeat; } .action_delete:hover { background: url("file://{{ action_delete }}") no-repeat; } .conversation table { border-left: 10px solid #999; } .conversation table td { background-color: #f6f6f6; } .operation-loader { text-align: right; } .separator-5 { height: 5px; } .separator-15 { height: 15px; } .hidden { display: none; } .clearfix:before, .clearfix:after { content: "."; display: block; height: 0; overflow: hidden; visibility: hidden; } .clearfix:after { clear: both; } turpial-3.0+dfsg.orig/turpial/ui/qt/templates/status.html0000644000000000000000000000764312254451436020550 0ustar {% if conversation_id %} {% endif %}
{% if status.is_verified %}
{% endif %}
{{ message }}
turpial-3.0+dfsg.orig/turpial/ui/qt/accounts.py0000644000000000000000000002317512254451436016530 0ustar # -*- coding: utf-8 -*- # Qt account manager for Turpial import os import sys import traceback from PyQt4.QtGui import QIcon from PyQt4.QtGui import QFont from PyQt4.QtGui import QMenu from PyQt4.QtGui import QStyle from PyQt4.QtGui import QAction from PyQt4.QtGui import QPixmap from PyQt4.QtGui import QDialog from PyQt4.QtGui import QListView from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QTextDocument from PyQt4.QtGui import QStandardItem from PyQt4.QtGui import QAbstractItemView from PyQt4.QtGui import QStandardItemModel from PyQt4.QtGui import QStyledItemDelegate from PyQt4.QtGui import QHBoxLayout, QVBoxLayout from PyQt4.QtCore import Qt from PyQt4.QtCore import QSize from PyQt4.QtCore import QRect from PyQt4.QtCore import QTimer from turpial.ui.lang import i18n from turpial.ui.qt.oauth import OAuthDialog from turpial.ui.qt.widgets import ModalDialog, ErrorLabel from libturpial.api.models.account import Account from libturpial.common.tools import get_protocol_from, get_username_from USERNAME_FONT = QFont("Helvetica", 14) PROTOCOL_FONT = QFont("Helvetica", 11) class AccountsDialog(ModalDialog): def __init__(self, base): ModalDialog.__init__(self, 380,325) self.base = base self.setWindowTitle(i18n.get('accounts')) self.list_ = QListView() self.list_.setResizeMode(QListView.Adjust) self.list_.setVerticalScrollMode(QAbstractItemView.ScrollPerPixel) account_delegate = AccountDelegate(base) self.list_.setItemDelegate(account_delegate) self.list_.setContextMenuPolicy(Qt.CustomContextMenu) self.list_.clicked.connect(self.__account_clicked) twitter_menu = QAction(i18n.get('twitter'), self) twitter_menu.setIcon(QIcon(base.load_image('twitter.png', True))) twitter_menu.setToolTip(i18n.get('register_a_twitter_account')) twitter_menu.triggered.connect(self.__register_twitter_account) # TODO: Enable when identi.ca support is ready identica_menu = QAction(i18n.get('identica'), self) identica_menu.setIcon(QIcon(base.load_image('identica.png', True))) identica_menu.setToolTip(i18n.get('register_an_identica_account')) identica_menu.setEnabled(False) self.menu = QMenu() self.menu.addAction(twitter_menu) self.menu.addAction(identica_menu) self.new_button = QPushButton(i18n.get('new')) self.new_button.setMenu(self.menu) self.new_button.setToolTip(i18n.get('register_a_new_account')) self.delete_button = QPushButton(i18n.get('delete')) self.delete_button.setEnabled(False) self.delete_button.setToolTip(i18n.get('delete_an_existing_account')) self.delete_button.clicked.connect(self.__delete_account) self.relogin_button = QPushButton(i18n.get('relogin')) self.relogin_button.setEnabled(False) self.relogin_button.setToolTip(i18n.get('relogin_this_account')) self.relogin_button.clicked.connect(self.__relogin_account) button_box = QHBoxLayout() button_box.addStretch(1) button_box.setSpacing(4) button_box.addWidget(self.new_button) button_box.addWidget(self.delete_button) button_box.addWidget(self.relogin_button) self.error_message = ErrorLabel() self.error_message.setVisible(False) layout = QVBoxLayout() layout.addWidget(self.list_) layout.addWidget(self.error_message) layout.addLayout(button_box) layout.setSpacing(5) layout.setContentsMargins(5, 5, 5, 5) self.setLayout(layout) self.__update() self.base.account_deleted.connect(self.__update) self.base.account_loaded.connect(self.__update) self.base.account_registered.connect(self.__update) self.exec_() def __update(self): model = QStandardItemModel() self.list_.setModel(model) accounts = self.base.core.get_registered_accounts() count = 0 for account in accounts: item = QStandardItem() filepath = os.path.join(self.base.images_path, 'unknown.png') item.setData(filepath, AccountDelegate.AvatarRole) item.setData(get_username_from(account.id_), AccountDelegate.UsernameRole) item.setData(get_protocol_from(account.id_).capitalize(), AccountDelegate.ProtocolRole) item.setData(account.id_, AccountDelegate.IdRole) model.appendRow(item) count += 1 self.__enable(True) self.delete_button.setEnabled(False) self.relogin_button.setEnabled(False) def __account_clicked(self, point): self.delete_button.setEnabled(True) self.relogin_button.setEnabled(True) def __delete_account(self): self.__enable(False) selection = self.list_.selectionModel() index = selection.selectedIndexes()[0] account_id = str(index.data(AccountDelegate.IdRole).toPyObject()) message = i18n.get('delete_account_confirm') % account_id confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), message) if not confirmation: self.__enable(True) return self.base.delete_account(account_id) def __register_twitter_account(self): self.__enable(False) account = Account.new('twitter') try: oauth_dialog = OAuthDialog(self, account.request_oauth_access()) except Exception, e: err_msg = "%s: %s" % (sys.exc_info()[0], sys.exc_info()[1]) print traceback.format_exc() print err_msg self.error(i18n.get('problems_registering_new_account')) self.__enable(True) return if oauth_dialog.result() == QDialog.Accepted: pin = oauth_dialog.pin.text() try: account.authorize_oauth_access(pin) self.base.save_account(account) except Exception, e: err_msg = "%s: %s" % (sys.exc_info()[0], sys.exc_info()[1]) print traceback.format_exc() print err_msg self.error(i18n.get('problems_registering_new_account')) self.__enable(True) def __relogin_account(self): self.__enable(False) selection = self.list_.selectionModel() try: index = selection.selectedIndexes()[0] account_id = str(index.data(AccountDelegate.IdRole).toPyObject()) self.base.load_account(account_id) except Exception, e: err_msg = "%s: %s" % (sys.exc_info()[0], sys.exc_info()[1]) print traceback.format_exc() print err_msg self.error(i18n.get('that_account_does_not_exist')) self.__enable(True) def __enable(self, value): # TODO: Display a loading message/indicator self.list_.setEnabled(value) self.new_button.setEnabled(value) self.delete_button.setEnabled(value) self.relogin_button.setEnabled(value) def __on_timeout(self): self.error_message.setText('') self.error_message.setVisible(False) def error(self, message): self.error_message.setText(message) self.error_message.setVisible(True) self.timer = QTimer() self.timer.timeout.connect(self.__on_timeout) self.timer.start(5000) class AccountDelegate(QStyledItemDelegate): UsernameRole = Qt.UserRole + 100 ProtocolRole = Qt.UserRole + 101 AvatarRole = Qt.UserRole + 102 IdRole = Qt.UserRole + 103 AVATAR_SIZE = 48 BOX_MARGIN = 4 TEXT_MARGIN = 0 def __init__(self, base): QStyledItemDelegate.__init__(self) self.avatar = None def sizeHint(self, option, index): height = self.AVATAR_SIZE + (self.BOX_MARGIN * 2) self.size = QSize(option.rect.width(), height) return self.size def paint(self, painter, option, index): painter.save() selected = False cell_width = self.size.width() rect = option.rect rect.width = self.size.width() rect.height = self.size.height() protocol_color = "999" if option.state & QStyle.State_Selected: painter.fillRect(rect, option.palette.highlight()) protocol_color = "ddd" selected = True # Draw avatar if not self.avatar: avatar_filepath = index.data(self.AvatarRole).toPyObject() self.avatar = QPixmap(avatar_filepath) x = option.rect.left() + self.BOX_MARGIN y = option.rect.top() + self.BOX_MARGIN rect = QRect(x, y, self.AVATAR_SIZE, self.AVATAR_SIZE) painter.drawPixmap(rect, self.avatar) # Draw username username_string = index.data(self.UsernameRole).toPyObject() username = QTextDocument() username.setHtml("%s" % username_string) username.setDefaultFont(USERNAME_FONT) #username.setTextWidth(self.__calculate_text_width(width)) x = option.rect.left() + self.BOX_MARGIN + self.AVATAR_SIZE y = option.rect.top() + self.BOX_MARGIN painter.translate(x, y) if selected: painter.setPen(option.palette.highlightedText().color()) username.drawContents(painter) # Draw protocol y = username.size().height() + self.TEXT_MARGIN painter.translate(0, y) protocol_string = index.data(self.ProtocolRole).toPyObject() protocol = QTextDocument() protocol.setHtml("%s" % (protocol_color, protocol_string)) protocol.setDefaultFont(PROTOCOL_FONT) protocol.drawContents(painter) painter.restore() turpial-3.0+dfsg.orig/turpial/ui/qt/loader.py0000644000000000000000000000046512254451436016154 0ustar # -*- coding: utf-8 -*- # Qt loaders for Turpial from PyQt4.QtGui import QProgressBar class BarLoadIndicator(QProgressBar): def __init__(self): QProgressBar.__init__(self) self.setMinimum(0) self.setMaximum(0) self.setMaximumHeight(6) self.setTextVisible(False) turpial-3.0+dfsg.orig/turpial/ui/qt/oauth.py0000644000000000000000000000265612254451436016032 0ustar # -*- coding: utf-8 -*- # Qt OAuth dialog for Turpial from PyQt4.QtCore import QUrl from PyQt4.QtWebKit import QWebView from PyQt4.QtGui import QLabel from PyQt4.QtGui import QDialog from PyQt4.QtGui import QLineEdit from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from turpial.ui.lang import i18n class OAuthDialog(QDialog): def __init__(self, base, url): QDialog.__init__(self) self.base = base self.setWindowTitle(i18n.get('authorize_turpial')) self.resize(800, 550) self.setModal(True) self.webview = QWebView() qurl = QUrl(url) self.webview.setUrl(qurl) message = QLabel(i18n.get('copy_the_pin')) #message.setAlignment(Qt.AlignRight) self.pin = QLineEdit() self.pin.setPlaceholderText(i18n.get('type_the_pin')) authorize_btn = QPushButton(i18n.get('save')) authorize_btn.clicked.connect(self.accept) widgets_box = QHBoxLayout() widgets_box.setSpacing(3) widgets_box.setContentsMargins(3, 3, 3, 3) widgets_box.addWidget(message, 1) widgets_box.addWidget(self.pin) widgets_box.addWidget(authorize_btn) layout = QVBoxLayout() layout.addWidget(self.webview) layout.addLayout(widgets_box) layout.setSpacing(0) layout.setContentsMargins(0, 0, 0, 0) self.setLayout(layout) self.exec_() turpial-3.0+dfsg.orig/turpial/ui/qt/selectfriend.py0000644000000000000000000000473512254451436017361 0ustar # -*- coding: utf-8 -*- # Qt select friend dialog for Turpial from PyQt4.QtGui import QIcon from PyQt4.QtGui import QComboBox from PyQt4.QtGui import QLineEdit from PyQt4.QtGui import QCompleter from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QFormLayout, QVBoxLayout, QHBoxLayout from PyQt4.QtCore import Qt from turpial.ui.lang import i18n from turpial.ui.qt.widgets import ModalDialog from libturpial.common.tools import get_protocol_from, get_username_from class SelectFriendDialog(ModalDialog): def __init__(self, base): ModalDialog.__init__(self, 290, 110) self.base = base self.setWindowTitle(i18n.get('select_friend_to_send_message')) self.accounts_combo = QComboBox() accounts = self.base.core.get_registered_accounts() for account in accounts: protocol = get_protocol_from(account.id_) icon = QIcon(base.get_image_path('%s.png' % protocol)) self.accounts_combo.addItem(icon, get_username_from(account.id_), account.id_) completer = QCompleter(self.base.load_friends_list()) completer.setCaseSensitivity(Qt.CaseInsensitive) self.friend = QLineEdit() self.friend.setCompleter(completer) select_button = QPushButton(i18n.get('select')) select_button.clicked.connect(self.__validate) friend_caption = "%s (@)" % i18n.get('friend') form = QFormLayout() form.addRow(friend_caption, self.friend) form.addRow(i18n.get('account'), self.accounts_combo) form.setContentsMargins(30, 10, 10, 5) form.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow) button = QPushButton(i18n.get('search')) button_box = QHBoxLayout() button_box.addStretch(0) button_box.addWidget(select_button) button_box.setContentsMargins(0, 0, 15, 15) layout = QVBoxLayout() layout.addLayout(form) layout.addLayout(button_box) layout.setSpacing(5) layout.setContentsMargins(0, 0, 0, 0) self.setLayout(layout) #load_button = ImageButton(base, 'action-status-menu.png', # i18n.get('load_friends_list')) self.exec_() def __validate(self): if self.get_username() != '': self.accept() def get_account(self): index = self.accounts_combo.currentIndex() return str(self.accounts_combo.itemData(index).toPyObject()) def get_username(self): return str(self.friend.text()) turpial-3.0+dfsg.orig/turpial/ui/qt/webview.py0000644000000000000000000002076412254451436016362 0ustar # -*- coding: utf-8 -*- # Qt widget to show statusesin Turpial using a QWebView import re import os from jinja2 import Template from PyQt4.QtWebKit import QWebView from PyQt4.QtWebKit import QWebPage from PyQt4.QtWebKit import QWebSettings from PyQt4.QtCore import Qt from PyQt4.QtCore import pyqtSignal from turpial.ui.lang import i18n class StatusesWebView(QWebView): link_clicked = pyqtSignal(str) hashtag_clicked = pyqtSignal(str) profile_clicked = pyqtSignal(str) cmd_clicked = pyqtSignal(str) EMPTY_PAGE= '' def __init__(self, base, column_id): QWebView.__init__(self) self.base = base self.column_id = column_id self.linkClicked.connect(self.__element_clicked) page = self.page() page.setLinkDelegationPolicy(QWebPage.DelegateAllLinks) page.settings().setAttribute(QWebSettings.DeveloperExtrasEnabled, True) if not self.base.debug: self.setContextMenuPolicy(Qt.NoContextMenu) self.setPage(page) self.status_template = self.__load_template('status.html') self.stylesheet = self.__load_stylesheet() self.show() def __element_clicked(self, qurl): url = str(qurl.toString()) if url.startswith('http'): self.link_clicked.emit(url) elif url.startswith('hashtag'): hashtag = "#%s" % url.split(':')[2] self.hashtag_clicked.emit(hashtag) elif url.startswith('profile'): self.profile_clicked.emit(url.split(':')[1]) elif url.startswith('cmd'): self.cmd_clicked.emit(url.split('cmd:')[1]) def __load_template(self, name): path = os.path.join(self.base.templates_path, name) fd = open(path) content = fd.read() fd.close() return Template(content) def __load_stylesheet(self): attrs = { 'mark_protected': os.path.join(self.base.images_path, 'mark-protected.png'), 'mark_favorited': os.path.join(self.base.images_path, 'mark-favorited2.png'), 'mark_repeated': os.path.join(self.base.images_path, 'mark-repeated2.png'), 'mark_reposted': os.path.join(self.base.images_path, 'mark-reposted.png'), 'mark_verified': os.path.join(self.base.images_path, 'mark-verified.png'), 'action_reply': os.path.join(self.base.images_path, 'action-reply.png'), 'action_reply_direct': os.path.join(self.base.images_path, 'action-reply-direct.png'), 'action_repeat': os.path.join(self.base.images_path, 'action-repeat.png'), 'action_quote': os.path.join(self.base.images_path, 'action-quote.png'), 'action_favorite': os.path.join(self.base.images_path, 'action-favorite.png'), 'action_reply_shadowed': os.path.join(self.base.images_path, 'action-reply-shadowed.png'), 'action_reply_direct_shadowed': os.path.join(self.base.images_path, 'action-reply-direct-shadowed.png'), 'action_repeat_shadowed': os.path.join(self.base.images_path, 'action-repeat-shadowed.png'), 'action_quote_shadowed': os.path.join(self.base.images_path, 'action-quote-shadowed.png'), 'action_favorite_shadowed': os.path.join(self.base.images_path, 'action-favorite-shadowed.png'), 'action_delete': os.path.join(self.base.images_path, 'action-delete.png'), 'action_delete_shadowed': os.path.join(self.base.images_path, 'action-delete-shadowed.png'), } stylesheet = self.__load_template('style.css') return stylesheet.render(attrs) def __render_status(self, status, with_conversation=True): repeated_by = None conversation_id = None view_conversation = None hide_conversation = None message = status.text message = message.replace('\n', '
') message = message.replace('\'', ''') timestamp = self.base.humanize_timestamp(status.timestamp) if status.entities: # Highlight URLs for url in status.entities['urls']: pretty_url = "%s" % (url.url, url.display_text) message = message.replace(url.search_for, pretty_url) # Highlight hashtags sorted_hashtags = {} for hashtag in status.entities['hashtags']: pretty_hashtag = "%s" % (hashtag.account_id, hashtag.display_text[1:], hashtag.display_text) pattern = r"%s\b" % hashtag.search_for message = re.sub(pattern, pretty_hashtag, message) # Highlight mentions for mention in status.entities['mentions']: pretty_mention = "%s" % (mention.url, mention.display_text) message = message.replace(mention.search_for, pretty_mention) if status.repeated_by: repeated_by = "%s %s" % (i18n.get('retweeted_by'), status.repeated_by) if status.in_reply_to_id and with_conversation: conversation_id = "%s-conversation-%s" % (self.column_id, status.id_) view_conversation = i18n.get('view_conversation') hide_conversation = i18n.get('hide_conversation') if self.base.core.get_show_user_avatars(): avatar = status.avatar else: avatar = "file://%s" % os.path.join(self.base.images_path, 'unknown.png') attrs = {'status': status, 'message': message, 'repeated_by': repeated_by, 'timestamp': timestamp, 'view_conversation': view_conversation, 'reply': i18n.get('reply'), 'hide_conversation': hide_conversation, 'quote': i18n.get('quote'), 'retweet': i18n.get('retweet'), 'mark_as_favorite': i18n.get('mark_as_favorite'), 'delete': i18n.get('delete'), 'remove_from_favorites': i18n.get('remove_from_favorites'), 'conversation_id': conversation_id, 'in_progress': i18n.get('in_progress'), 'loading': i18n.get('loading'), 'avatar': avatar} return self.status_template.render(attrs) def update_statuses(self, statuses): statuses_ = statuses[:] content = '' current_page = self.page().currentFrame().toHtml() if current_page == self.EMPTY_PAGE: for status in statuses_: content += self.__render_status(status) column = self.__load_template('column.html') args = {'stylesheet': self.stylesheet, 'content': content, 'favorite_tooltip': i18n.get('mark_as_favorite'), 'unfavorite_tooltip': i18n.get('remove_from_favorites')} html = column.render(args) fd = open('/tmp/turpial-debug.html', 'w') fd.write(html.encode('ascii', 'ignore')) fd.close() self.setHtml(html) else: statuses_.reverse() for status in statuses_: content = self.__render_status(status) self.append_status(content, status.id_) def clear(self): self.setHtml('') def execute_javascript(self, js_cmd): self.page().mainFrame().evaluateJavaScript(js_cmd) def update_conversation(self, status, status_root_id): status_rendered = self.__render_status(status, with_conversation=False) status_rendered = status_rendered.replace("\n", '') status_rendered = status_rendered.replace('\'', '"') conversation = """updateConversation('%s', '%s')""" % (status_root_id, status_rendered) self.execute_javascript(conversation) def view_conversation(self, status_root_id): conversation = "viewConversation('%s')" % status_root_id self.execute_javascript(conversation) def clear_conversation(self, status_root_id): conversation = "clearConversation('%s')" % status_root_id self.execute_javascript(conversation) def append_status(self, html, status_id): html = html.replace("\n", '') html = html.replace('\'', '"') fd = open('/tmp/turpial-update-column.html', 'w') fd.write(html.encode('ascii', 'ignore')) fd.close() cmd = """appendStatus('%s', '%s')""" % (html, status_id) self.execute_javascript(cmd) def sync_timestamps(self, statuses): for status in statuses: new_timestamp = self.base.humanize_timestamp(status.timestamp) cmd = """updateTimestamp('%s', '%s')""" % (status.id_, new_timestamp) self.execute_javascript(cmd) turpial-3.0+dfsg.orig/turpial/ui/qt/queue.py0000644000000000000000000001455212254451436016034 0ustar # -*- coding: utf-8 -*- # Qt status queue for Turpial import time from PyQt4.QtGui import QIcon from PyQt4.QtGui import QLabel from PyQt4.QtGui import QTableView from PyQt4.QtGui import QHeaderView from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QHBoxLayout from PyQt4.QtGui import QVBoxLayout from PyQt4.QtGui import QAbstractItemView from PyQt4.QtGui import QStandardItem from PyQt4.QtGui import QStandardItemModel from PyQt4.QtCore import Qt from PyQt4.QtCore import QTimer from PyQt4.QtCore import QString from turpial.ui.lang import i18n from turpial.ui.qt.widgets import Window from libturpial.common.tools import get_protocol_from, get_username_from class QueueDialog(Window): def __init__(self, base): Window.__init__(self, base, i18n.get('messages_queue')) self.setFixedSize(500, 400) self.last_timestamp = None self.showed = False self.list_ = QTableView() self.list_.setSelectionBehavior(QAbstractItemView.SelectRows) self.list_.clicked.connect(self.__account_clicked) self.caption = QLabel() self.caption.setWordWrap(True) self.caption.setAlignment(Qt.AlignCenter) self.estimated_time = QLabel() self.estimated_time.setWordWrap(True) self.estimated_time.setAlignment(Qt.AlignCenter) self.delete_button = QPushButton(i18n.get('delete')) self.delete_button.setEnabled(False) self.delete_button.setToolTip(i18n.get('delete_selected_message')) self.delete_button.clicked.connect(self.__delete_message) self.clear_button = QPushButton(i18n.get('delete_all')) self.clear_button.setEnabled(False) self.clear_button.setToolTip(i18n.get('delete_all_messages_in_queue')) self.clear_button.clicked.connect(self.__delete_all) button_box = QHBoxLayout() button_box.addStretch(1) button_box.addWidget(self.clear_button) button_box.addWidget(self.delete_button) layout = QVBoxLayout() layout.addWidget(self.list_, 1) layout.addWidget(self.caption) layout.addWidget(self.estimated_time) layout.addLayout(button_box) layout.setSpacing(5) layout.setContentsMargins(5, 5, 5, 5) self.setLayout(layout) def __account_clicked(self, point): self.delete_button.setEnabled(True) self.clear_button.setEnabled(True) def __delete_message(self): self.__disable() selection = self.list_.selectionModel() index = selection.selectedIndexes()[0] message = i18n.get('delete_message_from_queue_confirm') confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), message) if not confirmation: self.__enable() return self.base.delete_message_from_queue(index.row()) def __delete_all(self): self.__disable() message = i18n.get('clear_message_queue_confirm') confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), message) if not confirmation: self.__enable() return self.base.clear_queue() def __enable(self): self.list_.setEnabled(True) self.delete_button.setEnabled(False) if len(self.base.core.list_statuses_queue()) > 0: self.clear_button.setEnabled(True) else: self.clear_button.setEnabled(False) def __disable(self): self.list_.setEnabled(False) self.delete_button.setEnabled(False) self.clear_button.setEnabled(False) def __on_timeout(self): now = int(time.time()) interval = self.base.core.get_queue_interval() * 60 if self.last_timestamp: est_time = ((self.last_timestamp + interval) - now) / 60 else: est_time = 0 humanized_est_time = self.base.humanize_time_intervals(est_time) next_message = ' '.join([i18n.get('next_message_should_be_posted_in'), humanized_est_time]) if len(self.base.core.list_statuses_queue()) == 0: self.estimated_time.setText('') else: self.estimated_time.setText(next_message) def start(self): self.timer = QTimer() self.timer.timeout.connect(self.__on_timeout) self.timer.start(60000) def closeEvent(self, event=None): if event: event.ignore() self.hide() self.showed = False def show(self): if self.showed: self.raise_() return self.update() Window.show(self) self.showed = True def update(self): model = QStandardItemModel() model.setHorizontalHeaderItem(0, QStandardItem(i18n.get('account'))) model.setHorizontalHeaderItem(1, QStandardItem(i18n.get('message'))) self.list_.setModel(model) now = int(time.time()) interval = self.base.core.get_queue_interval() * 60 if self.last_timestamp: est_time = ((self.last_timestamp + interval) - now) / 60 else: est_time = 0 row = 0 for status in self.base.core.list_statuses_queue(): username = get_username_from(status.account_id) protocol_image = "%s.png" % get_protocol_from(status.account_id) item = QStandardItem(QString.fromUtf8(username)) item.setIcon(QIcon(self.base.load_image(protocol_image, True))) model.setItem(row, 0, item) model.setItem(row, 1, QStandardItem(QString.fromUtf8(status.text))) row += 1 humanized_interval = self.base.humanize_time_intervals(self.base.core.get_queue_interval()) humanized_est_time = self.base.humanize_time_intervals(est_time) warning = i18n.get('messages_will_be_send') % humanized_interval next_message = ' '.join([i18n.get('next_message_should_be_posted_in'), humanized_est_time]) self.caption.setText(warning) if row == 0: self.estimated_time.setText('') else: self.estimated_time.setText(next_message) self.list_.horizontalHeader().setResizeMode(1, QHeaderView.Stretch) self.list_.resizeColumnsToContents() self.__enable() def update_timestamp(self): if len(self.base.core.list_statuses_queue()) > 0: self.last_timestamp = int(time.time()) else: self.last_timestamp = None turpial-3.0+dfsg.orig/turpial/ui/qt/worker.py0000644000000000000000000005751012254451436016222 0ustar # -*- coding: utf-8 -*- # Qt Worker for Turpial import os import Queue from PyQt4.QtCore import QThread from PyQt4.QtCore import pyqtSignal from libturpial.api.core import Core from libturpial.api.models.status import Status from libturpial.api.models.column import Column from libturpial.common.tools import get_account_id_from, get_column_slug_from class CoreWorker(QThread): ready = pyqtSignal(object) status_updated = pyqtSignal(object, str) status_broadcasted = pyqtSignal(object) status_repeated = pyqtSignal(object, str, str, str) status_deleted = pyqtSignal(object, str, str, str) status_pushed_to_queue = pyqtSignal(str) status_poped_from_queue = pyqtSignal(object) status_deleted_from_queue = pyqtSignal() queue_cleared = pyqtSignal() status_posted_from_queue = pyqtSignal(object, str, str) message_deleted = pyqtSignal(object, str, str) message_sent = pyqtSignal(object, str) column_updated = pyqtSignal(object, tuple) account_saved = pyqtSignal() account_loaded = pyqtSignal() account_deleted = pyqtSignal() column_saved = pyqtSignal(str) column_deleted = pyqtSignal(str) status_marked_as_favorite = pyqtSignal(object, str, str, str) status_unmarked_as_favorite = pyqtSignal(object, str, str, str) fetched_user_profile = pyqtSignal(object, str) urls_shorted = pyqtSignal(object) media_uploaded = pyqtSignal(object) friends_list_updated = pyqtSignal() user_muted = pyqtSignal(str) user_unmuted = pyqtSignal(str) user_blocked = pyqtSignal(object) user_reported_as_spam = pyqtSignal(object) user_followed = pyqtSignal(object, str) user_unfollowed = pyqtSignal(object, str) exception_raised = pyqtSignal(object) status_from_conversation = pyqtSignal(object, str, str) fetched_profile_image = pyqtSignal(object) fetched_avatar = pyqtSignal(object, str) fetched_image_preview = pyqtSignal(object) cache_deleted = pyqtSignal() ERROR = -1 LOADING = 0 READY = 1 def __init__(self): QThread.__init__(self) self.queue = Queue.Queue() self.exit_ = False self.status = self.LOADING #self.core = Core() #self.queue_path = os.path.join(self.core.config.basedir, 'queue') #if not os.path.isfile(self.queue_path): # open(self.queue_path, 'w').close() self.core = None self.restart() #def __del__(self): # self.wait() def restart(self): self.register(self.login, (), self.__after_login, None) def add_friend(self, username): # FIXME: On libturpial friends = self.core.config.load_friends() friends.append(username) self.core.config.save_friends(friends) def remove_friend(self, username): # FIXME: On libturpial friends = self.core.config.load_friends() if username in friends: friends.remove(username) self.core.config.save_friends(friends) def __get_from_queue(self, index=0): lines = open(self.queue_path).readlines() if not lines: return None row = lines[index].strip() account_id, message = row.split("\1") del lines[index] open(self.queue_path, 'w').writelines(lines) status = Status() status.account_id = account_id status.text = message return status def __get_column_num_from_id(self, column_id): column_key = None for i in range(1, len(self.get_registered_columns()) + 1): column_num = "column%s" % i stored_id = self.core.config.read('Columns', column_num) if stored_id == column_id: column_key = column_num else: i += 1 return column_key #================================================================ # Core methods #================================================================ def login(self): self.core = Core() self.queue_path = os.path.join(self.core.config.basedir, 'queue') if not os.path.isfile(self.queue_path): open(self.queue_path, 'w').close() def get_default_browser(self): return self.core.get_default_browser() def get_update_interval(self): return self.core.get_update_interval() def get_statuses_per_column(self): return self.core.get_max_statuses_per_column() def get_minimize_on_close(self): return self.core.minimize_on_close() # FIXME: Implement support on libturpial def get_proxy_configuration(self): return self.core.config.read_section('Proxy') # FIXME: Implement support on libturpial def get_socket_timeout(self): return int(self.core.config.read('Advanced', 'socket-timeout')) def get_show_user_avatars(self): show_avatars = self.core.config.read('Advanced', 'show-user-avatars') return True if show_avatars == 'on' else False def get_update_interval_per_column(self, column_id): column_key = self.__get_column_num_from_id(column_id) key = "%s-update-interval" % column_key interval = self.core.config.read('Intervals', key) if not interval: # FIXME: Fix in libturpial config = self.core.config.read_all() if not config.has_key('Intervals'): config['Intervals'] = {key: 5} self.core.config.save(config) else: self.core.config.write('Intervals', key, 5) config = self.core.config.read_all() interval = "5" return int(interval) def set_update_interval_in_column(self, column_id, interval): column_key = self.__get_column_num_from_id(column_id) key = "%s-update-interval" % column_key self.core.config.write('Intervals', key, interval) return interval def get_show_notifications_in_column(self, column_id): column_key = self.__get_column_num_from_id(column_id) key = "%s-notifications" % column_key notifications = self.core.config.read('Notifications', key) if not notifications: # FIXME: Fix in libturpial config = self.core.config.read_all() if not config.has_key('Notifications'): config['Notifications'] = {} self.core.config.save(config) self.core.config.write('Notifications', key, 'on') notifications = 'on' if notifications == 'on': return True return False def set_show_notifications_in_column(self, column_id, value): column_key = self.__get_column_num_from_id(column_id) key = "%s-notifications" % column_key if value: notifications = 'on' else: notifications = 'off' self.core.config.write('Notifications', key, notifications) return value # FIXME: Fix this on libturpial def get_cache_size(self): total_size = 0 for account in self.get_all_accounts(): total_size += account.get_cache_size() return total_size # FIXME: Fix this on libturpial def delete_cache(self): for account in self.get_all_accounts(): account.delete_cache() def get_sound_on_login(self): sound_on_login = self.core.config.read('Sounds', 'login') if sound_on_login is None: self.core.config.write('Sounds', 'login', 'on') return True else: if sound_on_login == 'on': return True return False def get_sound_on_updates(self): sound_on_update = self.core.config.read('Sounds', 'updates') if sound_on_update is None: self.core.config.write('Sounds', 'updates', 'on') return True else: if sound_on_update == 'on': return True return False def get_notify_on_updates(self): try: notify_on_update = self.core.config.cfg.get('Notifications', 'updates', raw=True) if notify_on_update == 'on': return True return False except: config = self.read_config() config['Notifications']['on-updates'] = 'on' self.core.save_all_config(config) return True def get_notify_on_actions(self): try: notify_on_actions = self.core.config.cfg.get('Notifications', 'actions', raw=True) if notify_on_actions == 'on': return True return False except: config = self.read_config() config['Notifications']['actions'] = 'on' self.core.save_all_config(config) return True def get_queue_interval(self): try: queue_interval = self.core.config.cfg.get('General', 'queue-interval', raw=True) return int(queue_interval) except: config = self.read_config() config['General']['queue-interval'] = 30 self.core.save_all_config(config) return config['General']['queue-interval'] def read_config(self): config = {} # FIXME: Implemen this on libturpial for section in self.core.config.cfg.sections(): if not config.has_key(section): config[section] = {} for item in self.core.config.cfg.items(section, raw=True): for value in item: config[section][item[0]] = item[1] return config def update_config(self, new_config): self.core.save_all_config(new_config) def get_shorten_url_service(self): return self.core.get_shorten_url_service() def get_upload_media_service(self): return self.core.get_upload_media_service() def get_available_columns(self): return self.core.available_columns() def get_all_accounts(self): return self.core.registered_accounts() def get_all_columns(self): return self.core.all_columns() def get_registered_accounts(self): return self.core.registered_accounts() def get_available_short_url_services(self): return self.core.available_short_url_services() def get_available_upload_media_services(self): return self.core.available_upload_media_services() def get_registered_columns(self): i = 1 columns = [] while True: column_num = "column%s" % i column_id = self.core.config.read('Columns', column_num) if column_id: account_id = get_account_id_from(column_id) column_slug = get_column_slug_from(column_id) columns.append(Column(account_id, column_slug)) i += 1 else: break return columns def is_muted(self, username): return self.core.is_muted(username) def load_friends_list(self): return self.core.load_all_friends_list() def save_account(self, account): account_id = self.core.register_account(account) self.load_account(account_id, trigger_signal=False) self.__after_save_account() # FIXME: Remove this after implement this in libturpial def load_account(self, account_id, trigger_signal=True): if trigger_signal: self.register(self.core.accman.load, (account_id), self.__after_load_account) else: self.core.accman.load(account_id) self.__after_load_account() def delete_account(self, account_id): # FIXME: Implement try/except for col in self.get_registered_columns(): if col.account_id == account_id: self.delete_column(col.id_) self.core.unregister_account(str(account_id), True) self.__after_delete_account() def save_column(self, column_id): #FIXME: Hack to avoid the libturpial error saving config self.update_config(self.read_config()) reg_column_id = self.core.register_column(column_id) self.__after_save_column(reg_column_id) def delete_column(self, column_id): deleted_column = self.core.unregister_column(column_id) self.__after_delete_column(column_id) def get_column_statuses(self, column, last_id): count = self.core.get_max_statuses_per_column() self.register(self.core.get_column_statuses, (column.account_id, column.slug, count, last_id), self.__after_update_column, (column, count)) def update_status(self, account_id, message, in_reply_to_id=None): self.register(self.core.update_status, (account_id, message, in_reply_to_id), self.__after_update_status, account_id) def broadcast_status(self, accounts, message): self.register(self.core.broadcast_status, (accounts, message), self.__after_broadcast_status) def repeat_status(self, column_id, account_id, status_id): self.register(self.core.repeat_status, (account_id, status_id), self.__after_repeat_status, (column_id, account_id, status_id)) def delete_status(self, column_id, account_id, status_id): self.register(self.core.destroy_status, (account_id, status_id), self.__after_delete_status, (column_id, account_id, status_id)) def delete_direct_message(self, column_id, account_id, status_id): self.register(self.core.destroy_direct_message, (account_id, status_id), self.__after_delete_direct_message, (column_id, account_id)) def send_direct_message(self, account_id, username, message): self.register(self.core.send_direct_message, (account_id, username, message), self.__after_send_direct_message, account_id) def mark_status_as_favorite(self, column_id, account_id, status_id): self.register(self.core.mark_status_as_favorite, (account_id, status_id), self.__after_mark_status_as_favorite, (column_id, account_id, status_id)) def unmark_status_as_favorite(self, column_id, account_id, status_id): self.register(self.core.unmark_status_as_favorite, (account_id, status_id), self.__after_unmark_status_as_favorite, (column_id, account_id, status_id)) def get_user_profile(self, account_id, user_profile=None): self.register(self.core.get_user_profile, (account_id, user_profile), self.__after_get_user_profile, account_id) def short_urls(self, message): self.register(self.core.short_url_in_message, (message), self.__after_short_urls) def upload_media(self, account_id, filepath): self.register(self.core.upload_media, (account_id, filepath), self.__after_upload_media) def get_friends_list(self): self.register(self.core.get_all_friends_list, None, self.__after_get_friends_list) def mute(self, username): self.register(self.core.mute, username, self.__after_mute_user) def unmute(self, username): self.register(self.core.unmute, username, self.__after_unmute_user) def block(self, account_id, username): self.register(self.core.block, (account_id, username), self.__after_block_user) def report_as_spam(self, account_id, username): self.register(self.core.report_as_spam, (account_id, username), self.__after_report_user_as_spam) def follow(self, account_id, username): self.register(self.core.follow, (account_id, username), self.__after_follow_user, account_id) def unfollow(self, account_id, username): self.register(self.core.unfollow, (account_id, username), self.__after_unfollow_user, account_id) def get_status_from_conversation(self, account_id, status_id, column_id, status_root_id): self.register(self.core.get_single_status, (account_id, status_id), self.__after_get_status_from_conversation, (column_id, status_root_id)) def get_profile_image(self, account_id, username): self.register(self.core.get_profile_image, (account_id, username), self.__after_get_profile_image) def get_avatar_from_status(self, status): self.register(self.core.get_status_avatar, (status), self.__after_get_avatar_from_status, status.username) def get_image_preview(self, preview_service, url): self.register(preview_service.do_service, (url), self.__after_get_image_preview) def push_status_to_queue(self, account_id, message): fd = open(self.queue_path, 'a+') row = "%s\1%s\n" % (account_id, message) fd.write(row.encode('utf-8')) fd.close() self.__after_push_status_to_queue(account_id) def pop_status_from_queue(self): status = self.__get_from_queue() self.__after_pop_status_from_queue(status) def delete_status_from_queue(self, index=0): status = self.__get_from_queue(index) self.__after_delete_status_from_queue() def list_statuses_queue(self): statuses = [] lines = [] if os.path.exists(self.queue_path): lines = open(self.queue_path).readlines() for line in lines: account_id, message = line.strip().split("\1") status = Status() status.account_id = account_id status.text = message statuses.append(status) return statuses def clear_statuses_queue(self): open(self.queue_path, 'w').writelines([]) self.__after_clear_queue() def post_status_from_queue(self, account_id, message): self.register(self.core.update_status, (account_id, message), self.__after_post_status_from_queue, (account_id, message)) def delete_cache(self): self.register(self.core.delete_cache, None, self.__after_delete_cache) def list_filters(self): return self.core.list_filters() def save_filters(self, filters): self.core.save_filters(filters) def restore_config(self): self.core.delete_current_config() def get_window_size(self): try: size = self.core.config.cfg.get('Window', 'size', raw=True) window_size = int(size.split(',')[0]), int(size.split(',')[1]) return window_size except: config = self.read_config() config['Window']['size'] = "320,480" self.core.save_all_config(config) return config['Window']['size'] def set_window_size(self, width, height): window_size = "%s,%s" % (width, height) #FIXME: Hack to avoid the libturpial error saving config self.update_config(self.read_config()) self.core.config.write('Window', 'size', window_size) #================================================================ # Callbacks #================================================================ def __after_login(self, response): self.ready.emit(response) def __after_save_account(self): self.account_saved.emit() def __after_load_account(self, response=None): self.account_loaded.emit() def __after_delete_account(self): self.account_deleted.emit() def __after_save_column(self, column_id): self.column_saved.emit(column_id) def __after_delete_column(self, column_id): self.column_deleted.emit(column_id) def __after_update_column(self, response, data): self.column_updated.emit(response, data) def __after_update_status(self, response, account_id): self.status_updated.emit(response, account_id) def __after_broadcast_status(self, response): self.status_broadcasted.emit(response) def __after_repeat_status(self, response, args): column_id = args[0] account_id = args[1] status_id = args[2] self.status_repeated.emit(response, column_id, account_id, status_id) def __after_delete_status(self, response, args): column_id = args[0] account_id = args[1] status_id = args[2] self.status_deleted.emit(response, column_id, account_id, status_id) def __after_delete_direct_message(self, response, args): column_id = args[0] account_id = args[1] self.message_deleted.emit(response, column_id, account_id) def __after_send_direct_message(self, response, account_id): self.message_sent.emit(response, account_id) def __after_mark_status_as_favorite(self, response, args): column_id = args[0] account_id = args[1] status_id = args[2] self.status_marked_as_favorite.emit(response, column_id, account_id, status_id) def __after_unmark_status_as_favorite(self, response, args): column_id = args[0] account_id = args[1] status_id = args[2] self.status_unmarked_as_favorite.emit(response, column_id, account_id, status_id) def __after_get_user_profile(self, response, account_id): self.fetched_user_profile.emit(response, account_id) def __after_short_urls(self, response): self.urls_shorted.emit(response) def __after_upload_media(self, response): self.media_uploaded.emit(response) def __after_get_friends_list(self, response): self.friends_list_updated.emit() def __after_mute_user(self, response): self.user_muted.emit(response) def __after_unmute_user(self, response): self.user_unmuted.emit(response) def __after_block_user(self, response): self.user_blocked.emit(response) def __after_report_user_as_spam(self, response): self.user_reported_as_spam.emit(response) def __after_follow_user(self, response, account_id): self.user_followed.emit(response, account_id) def __after_unfollow_user(self, response, account_id): self.user_unfollowed.emit(response, account_id) def __after_get_status_from_conversation(self, response, args): column_id = args[0] status_root_id = args[1] self.status_from_conversation.emit(response, column_id, status_root_id) def __after_get_profile_image(self, response): self.fetched_profile_image.emit(response) def __after_get_avatar_from_status(self, response, args): username = args self.fetched_avatar.emit(response, username) def __after_get_image_preview(self, response): self.fetched_image_preview.emit(response) def __after_push_status_to_queue(self, account_id): self.status_pushed_to_queue.emit(account_id) def __after_pop_status_from_queue(self, status): self.status_poped_from_queue.emit(status) def __after_delete_status_from_queue(self): self.status_deleted_from_queue.emit() def __after_clear_queue(self): self.queue_cleared.emit() def __after_post_status_from_queue(self, response, args): account_id = args[0] message = args[1] self.status_posted_from_queue.emit(response, account_id, message) def __after_delete_cache(self): self.cache_deleted.emit() #================================================================ # Worker methods #================================================================ def register(self, funct, args, callback, user_data=None): self.queue.put((funct, args, callback, user_data)) def quit(self): self.exit_ = True def run(self): while not self.exit_: try: req = self.queue.get(True, 0.3) except Queue.Empty: continue except: continue (funct, args, callback, user_data) = req try: if type(args) == tuple: rtn = funct(*args) elif args: rtn = funct(args) else: rtn = funct() except Exception, e: #self.exception_raised.emit(e) #continue rtn = e if callback: if user_data: callback(rtn, user_data) else: callback(rtn) turpial-3.0+dfsg.orig/turpial/ui/qt/profile.py0000644000000000000000000002575712254451436016361 0ustar # -*- coding: utf-8 -*- # Qt profile dialog for Turpial from PyQt4.QtGui import QFont from PyQt4.QtGui import QLabel from PyQt4.QtGui import QCursor from PyQt4.QtGui import QWidget from PyQt4.QtGui import QTabWidget from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from PyQt4.QtCore import Qt from PyQt4.QtCore import QPoint from PyQt4.QtCore import QTimer from PyQt4.QtCore import pyqtSignal from turpial.ui.lang import i18n from turpial.ui.qt.column import StatusesColumn from turpial.ui.qt.loader import BarLoadIndicator from turpial.ui.qt.widgets import ImageButton, VLine, HLine, Window, ErrorLabel from libturpial.common.tools import get_username_from class ProfileDialog(Window): options_clicked = pyqtSignal(QPoint, object) def __init__(self, base): Window.__init__(self, base, i18n.get('user_profile')) self.account_id = None self.setFixedSize(380, 450) self.username = QLabel('') self.username.setTextFormat(Qt.RichText) self.fullname = QLabel('') self.options = ImageButton(base, 'action-status-menu.png', i18n.get('')) self.options.clicked.connect(self.__options_clicked) self.verified_icon = QLabel() self.verified_icon.setPixmap(base.load_image('mark-verified.png', True)) self.protected_icon = QLabel() self.protected_icon.setPixmap(base.load_image('mark-protected.png', True)) self.avatar = ClickableLabel() self.avatar.setPixmap(base.load_image('unknown.png', True)) self.avatar.clicked.connect(self.__show_avatar) self.you_label = QLabel(i18n.get('this_is_you')) self.you_label.setVisible(False) info_line1 = QHBoxLayout() info_line1.setSpacing(5) info_line1.addWidget(self.username) info_line1.addSpacing(5) info_line1.addWidget(self.verified_icon) info_line1.addWidget(self.protected_icon) info_line1.addStretch(0) info_line2 = QHBoxLayout() info_line2.addWidget(self.fullname, 1) info_line2.addWidget(self.options) info_line2.addWidget(self.you_label) user_info = QVBoxLayout() user_info.addLayout(info_line1) user_info.addLayout(info_line2) self.loader = BarLoadIndicator() self.loader.setVisible(False) self.error_message = ErrorLabel() self.error_message.setVisible(False) header = QHBoxLayout() header.setContentsMargins(5, 10, 5, 0) header.addWidget(self.avatar) header.addSpacing(10) header.addLayout(user_info) # User Info self.bio = UserField(base, 'bio', 'icon-bio.png') self.bio.set_word_wrap(True) self.bio.set_info('') self.location = UserField(base, 'location', 'icon-location.png') self.location.set_info('') self.web = UserField(base, 'web', 'icon-home.png') self.web.set_info('') self.tweets = StatInfoBox('tweets', '') self.following = StatInfoBox('following', '') self.followers = StatInfoBox('followers', '') self.favorites = StatInfoBox('favorites', '') footer_layout = QHBoxLayout() footer_layout.setContentsMargins(0, 5, 0, 10) footer_layout.setSpacing(0) footer_layout.addLayout(self.tweets) footer_layout.addWidget(VLine()) footer_layout.addLayout(self.following) footer_layout.addWidget(VLine()) footer_layout.addLayout(self.followers) footer_layout.addWidget(VLine()) footer_layout.addLayout(self.favorites) footer = QWidget() footer.setLayout(footer_layout) footer.setStyleSheet("QWidget { background-color: #333; color: white; }") body_layout = QVBoxLayout() body_layout.setSpacing(15) body_layout.setContentsMargins(0, 0, 0, 0) body_layout.addLayout(self.bio) body_layout.addLayout(self.location) body_layout.addLayout(self.web) body_layout.addWidget(footer) body = QWidget() body.setLayout(body_layout) self.last_statuses = StatusesColumn(self.base, None, False) self.tabs = QTabWidget(self) self.tabs.setTabsClosable(False) self.tabs.setMovable(False) self.tabs.addTab(body, i18n.get('info')) self.tabs.addTab(self.last_statuses, i18n.get('recent')) self.hline = HLine() self.hline.setMinimumHeight(2) layout = QVBoxLayout() layout.addLayout(header) layout.addSpacing(10) layout.addWidget(self.hline) layout.addWidget(self.loader) layout.addWidget(self.error_message) layout.addSpacing(10) layout.addWidget(self.tabs, 1) layout.setSpacing(0) layout.setContentsMargins(5, 5, 5, 5) self.setLayout(layout) self.__clear() def __clear(self): self.profile = None self.showed = False self.account_id = None self.verified_icon.setVisible(False) self.protected_icon.setVisible(False) self.you_label.setVisible(False) self.options.setVisible(False) self.loader.setVisible(False) self.error_message.setVisible(False) self.avatar.setPixmap(self.base.load_image('unknown.png', True)) self.bio.set_info('') self.location.set_info('') self.web.set_info('') self.tweets.set_value('') self.following.set_value('') self.followers.set_value('') self.favorites.set_value('') self.last_statuses.id_ = None self.last_statuses.clear() self.tabs.setCurrentIndex(0) def __options_clicked(self): self.options_clicked.emit(QCursor.pos(), self.profile) def __show_avatar(self): self.base.show_profile_image(self.account_id, self.profile.username) def __on_timeout(self): self.error_message.setText('') self.error_message.setVisible(False) def closeEvent(self, event=None): if event: event.ignore() self.__clear() self.hide() def start_loading(self, profile_username): self.__clear() self.hline.setVisible(False) self.loader.setVisible(True) self.username.setText('%s' % profile_username) self.fullname.setText(i18n.get('loading')) self.show() self.raise_() self.showed = True def loading_finished(self, profile, account_id): self.profile = profile self.account_id = str(account_id) self.loader.setVisible(False) self.hline.setVisible(False) self.username.setText('%s' % profile.username) self.fullname.setText(profile.fullname) if get_username_from(account_id) == profile.username: self.you_label.setVisible(True) self.options.setVisible(False) else: self.you_label.setVisible(False) self.options.setVisible(True) self.verified_icon.setVisible(profile.verified) self.protected_icon.setVisible(profile.protected) self.avatar.setPixmap(self.base.load_image('unknown.png', True)) self.bio.set_info(profile.bio) self.location.set_info(profile.location) self.web.set_info(profile.url) self.tweets.set_value(str(profile.statuses_count)) self.following.set_value(str(profile.friends_count)) self.followers.set_value(str(profile.followers_count)) self.favorites.set_value(str(profile.favorites_count)) column_id = "%s-profile_recent" % self.account_id self.last_statuses.set_column_id(column_id) self.last_statuses.update_statuses(profile.recent_updates) self.show() self.raise_() def is_for_profile(self, column_id): if column_id.find('profile_recent') > 0: return True return False def update_avatar(self, image_path, username): if username != self.profile.username or not self.showed: return self.avatar.setPixmap(self.base.load_image(image_path, True)) def update_following(self, username, following): if username != self.profile.username or not self.showed: return self.profile.following = following def error(self, message): self.loader.setVisible(False) self.hline.setVisible(False) self.fullname.setText('') self.error_message.setText(message) self.error_message.setVisible(True) self.timer = QTimer() self.timer.timeout.connect(self.__on_timeout) self.timer.start(5000) self.show() self.raise_() def error_marking_status_as_favorite(self, status_id): self.last_statuses.release_status(status_id) self.last_statuses.notify_error(status_id, i18n.get('error_marking_status_as_favorite')) def error_unmarking_status_as_favorite(self, status_id): self.last_statuses.release_status(status_id) self.last_statuses.notify_error(status_id, i18n.get('error_unmarking_status_as_favorite')) def error_repeating_status(self, status_id): self.last_statuses.release_status(status_id) self.last_statuses.notify_error(status_id, i18n.get('error_repeating_status')) def error_loading_conversation(self, status_root_id): self.last_statuses.error_in_conversation(status_root_id) self.last_statuses.notify_error(self.base.random_id(), i18n.get('error_loading_conversation')) class UserField(QVBoxLayout): def __init__(self, base, title, image, text=None, text_as_link=False): QVBoxLayout.__init__(self) icon = QLabel() icon.setPixmap(base.load_image(image, True)) caption = QLabel("%s" % i18n.get(title)) header = QHBoxLayout() header.addWidget(icon) header.addWidget(caption, 1) if text: self.text = QLabel(text) else: self.text = QLabel() self.setSpacing(5) self.setContentsMargins(10, 0, 10, 0) self.addLayout(header) self.addWidget(self.text) def set_info(self, text=None): if text is not None: self.text.setText(text) def set_word_wrap(self, value): self.text.setWordWrap(value) class StatInfoBox(QVBoxLayout): def __init__(self, title, value=None): QVBoxLayout.__init__(self) value = value or '0' font = QFont() font.setPointSize(16) font.setBold(True) self.stat = QLabel(value) self.stat.setAlignment(Qt.AlignCenter) self.stat.setFont(font) font2 = QFont() font2.setPointSize(10) caption = QLabel(i18n.get(title)) caption.setAlignment(Qt.AlignCenter) caption.setFont(font2) self.setSpacing(5) self.setContentsMargins(0, 0, 0, 0) self.addWidget(self.stat) self.addWidget(caption) def set_value(self, value): self.stat.setText(value) class ClickableLabel(QLabel): clicked = pyqtSignal() def __init__(self): QLabel.__init__(self) def mousePressEvent(self, event): if event.button() == Qt.LeftButton: self.clicked.emit() turpial-3.0+dfsg.orig/turpial/ui/qt/dock.py0000644000000000000000000001275112254451436015627 0ustar # -*- coding: utf-8 -*- # Qt dock for Turpial from functools import partial from PyQt4.QtGui import QMenu from PyQt4.QtGui import QAction from PyQt4.QtGui import QWidget from PyQt4.QtGui import QCursor from PyQt4.QtGui import QToolBar from PyQt4.QtGui import QStatusBar from PyQt4.QtGui import QSizePolicy from PyQt4.QtCore import QPoint from PyQt4.QtCore import pyqtSignal from turpial.ui.lang import i18n from turpial.ui.qt.widgets import ImageButton class Dock(QStatusBar): accounts_clicked = pyqtSignal() columns_clicked = pyqtSignal(QPoint) search_clicked = pyqtSignal() updates_clicked = pyqtSignal() messages_clicked = pyqtSignal() queue_clicked = pyqtSignal() filters_clicked = pyqtSignal() preferences_clicked = pyqtSignal() LOADING = -1 EMPTY = 0 WITH_ACCOUNTS = 1 NORMAL = 2 def __init__(self, base): QStatusBar.__init__(self) self.base = base self.status = self.LOADING style = "background-color: %s; border: 0px solid %s;" % (self.base.bgcolor, self.base.bgcolor) self.updates_button = ImageButton(base, 'dock-updates.png', i18n.get('update_status')) self.messages_button = ImageButton(base, 'dock-messages.png', i18n.get('send_direct_message')) self.search_button = ImageButton(base, 'dock-search.png', i18n.get('search')) self.settings_button = ImageButton(base, 'dock-preferences.png', i18n.get('settings')) self.updates_button.clicked.connect(self.__updates_clicked) self.messages_button.clicked.connect(self.__messages_clicked) self.search_button.clicked.connect(self.__search_clicked) self.settings_button.clicked.connect(self.__settings_clicked) separator = QWidget() separator.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred) toolbar = QToolBar() toolbar.addWidget(self.settings_button) toolbar.addWidget(separator) toolbar.addWidget(self.search_button) toolbar.addWidget(self.messages_button) toolbar.addWidget(self.updates_button) toolbar.setMinimumHeight(30) toolbar.setContentsMargins(0, 0, 0, 0) toolbar.setStyleSheet("QToolBar { %s }; QToolButton { %s opacity: 128; }; QToolButton:hover { %s opacity: 255;}" % (style, style, style)) self.addPermanentWidget(toolbar, 1) self.setSizeGripEnabled(False) self.setContentsMargins(0, 0, 0, 0) self.setStyleSheet("QStatusBar { %s }" % style) self.loading() def __accounts_clicked(self): self.accounts_clicked.emit() def __columns_clicked(self): self.columns_clicked.emit(QCursor.pos()) def __search_clicked(self): self.search_clicked.emit() def __updates_clicked(self): self.updates_clicked.emit() def __messages_clicked(self): self.messages_clicked.emit() def __queue_clicked(self): self.queue_clicked.emit() def __filters_clicked(self): self.filters_clicked.emit() def __preferences_clicked(self): self.preferences_clicked.emit() def __about_clicked(self): self.base.show_about_dialog() def __settings_clicked(self): self.settings_menu = QMenu(self) accounts = QAction(i18n.get('accounts'), self) accounts.triggered.connect(partial(self.__accounts_clicked)) queue = QAction(i18n.get('messages_queue'), self) queue.triggered.connect(partial(self.__queue_clicked)) columns = QAction(i18n.get('columns'), self) filters = QAction(i18n.get('filters'), self) filters.triggered.connect(partial(self.__filters_clicked)) preferences = QAction(i18n.get('preferences'), self) preferences.triggered.connect(partial(self.__preferences_clicked)) about_turpial = QAction(i18n.get('about_turpial'), self) about_turpial.triggered.connect(partial(self.__about_clicked)) if self.status > self.EMPTY: columns_menu = self.base.build_columns_menu() columns.setMenu(columns_menu) elif self.status == self.EMPTY: queue.setEnabled(False) columns.setEnabled(False) elif self.status == self.LOADING: accounts.setEnabled(False) queue.setEnabled(False) columns.setEnabled(False) filters.setEnabled(False) preferences.setEnabled(False) self.settings_menu.addAction(accounts) self.settings_menu.addAction(columns) #self.settings_menu.addAction(filters) self.settings_menu.addAction(queue) self.settings_menu.addSeparator() self.settings_menu.addAction(preferences) self.settings_menu.addSeparator() self.settings_menu.addAction(about_turpial) self.settings_menu.exec_(QCursor.pos()) def loading(self): self.updates_button.setEnabled(False) self.messages_button.setEnabled(False) self.search_button.setEnabled(False) self.status = self.LOADING def empty(self, with_accounts=None): self.updates_button.setEnabled(False) self.messages_button.setEnabled(False) self.search_button.setEnabled(False) if with_accounts: self.status = self.WITH_ACCOUNTS else: self.status = self.EMPTY def normal(self): self.updates_button.setEnabled(True) self.messages_button.setEnabled(True) self.search_button.setEnabled(True) self.status = self.NORMAL turpial-3.0+dfsg.orig/turpial/ui/qt/imageview.py0000644000000000000000000000416112254451436016660 0ustar # -*- coding: utf-8 -*- # Qt image view for Turpial from PyQt4.QtGui import QLabel from PyQt4.QtGui import QPixmap from PyQt4.QtGui import QPalette from PyQt4.QtGui import QSizePolicy from PyQt4.QtGui import QScrollArea from PyQt4.QtGui import QVBoxLayout from PyQt4.QtCore import Qt from turpial.ui.lang import i18n from turpial.ui.qt.widgets import Window from turpial.ui.qt.loader import BarLoadIndicator class ImageView(Window): def __init__(self, base): Window.__init__(self, base, i18n.get('image_preview')) self.loader = BarLoadIndicator() self.view = QLabel() self.view.setSizePolicy(QSizePolicy.Ignored, QSizePolicy.Ignored) self.view.setScaledContents(True) scroll_area = QScrollArea() scroll_area.setBackgroundRole(QPalette.Dark) scroll_area.setWidget(self.view) scroll_area.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff) scroll_area.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.error_label = QLabel(i18n.get('error_loading_image')) self.error_label.setAlignment(Qt.AlignHCenter) self.error_label.setStyleSheet("QLabel {background-color: #ffecec;}") layout = QVBoxLayout() layout.setSpacing(0) layout.setContentsMargins(0, 0, 0, 0) layout.addWidget(self.loader) layout.addWidget(self.error_label) layout.addWidget(scroll_area) self.setLayout(layout) self.__clear() def __clear(self): self.resize(350, 350) self.view.setPixmap(QPixmap()) def closeEvent(self, event): event.ignore() self.__clear() self.hide() def start_loading(self): self.loader.setVisible(True) self.error_label.setVisible(False) self.show() def loading_finished(self, url): self.loader.setVisible(False) pix = self.base.load_image(url, True) self.view.setPixmap(pix) self.view.adjustSize() self.resize(pix.width() + 2, pix.height() + 2) self.show() def error(self): self.loader.setVisible(False) self.error_label.setVisible(True) turpial-3.0+dfsg.orig/turpial/ui/qt/__init__.py0000644000000000000000000000000012254451436016426 0ustar turpial-3.0+dfsg.orig/turpial/ui/qt/search.py0000644000000000000000000000421112254451436016144 0ustar # -*- coding: utf-8 -*- # Qt search dialog for Turpial from PyQt4.QtGui import QIcon from PyQt4.QtGui import QDialog from PyQt4.QtGui import QComboBox from PyQt4.QtGui import QLineEdit from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QFormLayout, QVBoxLayout, QHBoxLayout from PyQt4.QtCore import Qt from turpial.ui.lang import i18n from libturpial.common.tools import get_protocol_from, get_username_from class SearchDialog(QDialog): def __init__(self, base): QDialog.__init__(self) self.base = base self.setWindowTitle(i18n.get('search')) self.setFixedSize(270, 110) self.setWindowFlags(Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.CustomizeWindowHint) self.setModal(True) self.accounts_combo = QComboBox() accounts = self.base.core.get_registered_accounts() for account in accounts: protocol = get_protocol_from(account.id_) icon = QIcon(base.get_image_path('%s.png' % protocol)) self.accounts_combo.addItem(icon, get_username_from(account.id_), account.id_) self.criteria = QLineEdit() self.criteria.setToolTip(i18n.get('criteria_tooltip')) form = QFormLayout() form.addRow(i18n.get('criteria'), self.criteria) form.addRow(i18n.get('account'), self.accounts_combo) form.setContentsMargins(30, 10, 10, 5) form.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow) button = QPushButton(i18n.get('search')) button_box = QHBoxLayout() button_box.addStretch(0) button_box.addWidget(button) button_box.setContentsMargins(0, 0, 15, 15) button.clicked.connect(self.accept) layout = QVBoxLayout() layout.addLayout(form) layout.addLayout(button_box) layout.setSpacing(5) layout.setContentsMargins(0, 0, 0, 0) self.setLayout(layout) self.criteria.setFocus() self.exec_() def get_criteria(self): return self.criteria.text() def get_account(self): index = self.accounts_combo.currentIndex() return self.accounts_combo.itemData(index) turpial-3.0+dfsg.orig/turpial/ui/qt/tray.py0000644000000000000000000000525512254451436015667 0ustar # -*- coding: utf-8 -*- # Qt tray icon for Turpial from PyQt4.QtGui import QMenu from PyQt4.QtGui import QIcon from PyQt4.QtGui import QCursor from PyQt4.QtGui import QAction from PyQt4.QtGui import QSystemTrayIcon from PyQt4.QtCore import QPoint from PyQt4.QtCore import pyqtSignal from turpial import DESC from turpial.ui.lang import i18n class TrayIcon(QSystemTrayIcon): settings_clicked = pyqtSignal(QPoint) updates_clicked = pyqtSignal() messages_clicked = pyqtSignal() toggled = pyqtSignal() def __init__(self, base): QSystemTrayIcon.__init__(self) self.base = base icon = QIcon(base.get_image_path('turpial-tray.png')) self.setIcon(icon) self.setToolTip(DESC) self.activated.connect(self.__activated) self.loading() self.show() def __build_common_menu(self): settings = QAction(i18n.get('settings'), self) settings.triggered.connect(self.__settings_clicked) quit = QAction(i18n.get('quit'), self) #FIXME: create a signal for this quit.triggered.connect(self.base.main_quit) self.menu.addAction(settings) self.menu.addSeparator() self.menu.addAction(quit) def __settings_clicked(self): self.settings_clicked.emit(QCursor.pos()) def __updates_clicked(self): self.updates_clicked.emit() def __messages_clicked(self): self.messages_clicked.emit() def __activated(self, reason): if reason == QSystemTrayIcon.Trigger: self.toggled.emit() elif reason == QSystemTrayIcon.Context: self.menu.popup(QCursor.pos()) def empty(self): self.menu = QMenu() self.__build_common_menu() self.setContextMenu(self.menu) def loading(self): self.menu = QMenu() loading = QAction(i18n.get('loading'), self) loading.setEnabled(False) self.menu.addAction(loading) self.setContextMenu(self.menu) def normal(self): self.menu = QMenu() updates = QAction(i18n.get('update_status'), self) updates.triggered.connect(self.__updates_clicked) messages = QAction(i18n.get('send_direct_message'), self) messages.triggered.connect(self.__messages_clicked) self.menu.addAction(updates) self.menu.addAction(messages) self.__build_common_menu() self.setContextMenu(self.menu) # Change the tray icon image to indicate updates def notify(self): self.set_from_pixbuf(self.base.load_image('turpial-tray-update.png', True)) # Clear the tray icon image def clear(self): self.set_from_pixbuf(self.base.load_image('turpial-tray.png', True)) turpial-3.0+dfsg.orig/turpial/ui/qt/main.py0000644000000000000000000010361612254451436015634 0ustar # -*- coding: utf-8 -*- # Qt main view for Turpial import os import sys import random import urllib2 import webbrowser import subprocess from functools import partial from PyQt4.QtGui import ( QMenu, QImage, QWidget, QAction, QPixmap, QDialog, QMessageBox, QVBoxLayout, QApplication, QFontDatabase, QIcon, QDesktopWidget ) from PyQt4.QtCore import QTimer, pyqtSignal, QRect from turpial.ui.base import * #NOQA from turpial.ui.sound import SoundSystem from turpial.ui.notification import OSNotificationSystem from turpial.ui.qt.dock import Dock from turpial.ui.qt.tray import TrayIcon from turpial.ui.qt.worker import CoreWorker from turpial.ui.qt.queue import QueueDialog from turpial.ui.qt.about import AboutDialog from turpial.ui.qt.search import SearchDialog from turpial.ui.qt.updatebox import UpdateBox from turpial.ui.qt.container import Container from turpial.ui.qt.imageview import ImageView from turpial.ui.qt.filters import FiltersDialog from turpial.ui.qt.profile import ProfileDialog from turpial.ui.qt.accounts import AccountsDialog from turpial.ui.qt.preferences import PreferencesDialog from turpial.ui.qt.selectfriend import SelectFriendDialog from libturpial.common import ColumnType, get_preview_service_from_url # Exceptions #{u'errors': [{u'message': u'Sorry, you are not authorized to see this status.', u'code': 179}]} #Exception 'id' class Main(Base, QWidget): account_deleted = pyqtSignal() account_loaded = pyqtSignal() account_registered = pyqtSignal() def __init__(self, debug=False): self.app = QApplication(['Turpial'] + sys.argv) Base.__init__(self) QWidget.__init__(self) self.debug = debug for font_path in self.fonts: QFontDatabase.addApplicationFont(font_path) #database = QFontDatabase() #for f in database.families(): # print f self.templates_path = os.path.realpath(os.path.join( os.path.dirname(__file__), 'templates')) self.setWindowTitle('Turpial') self.app.setApplicationName('Turpial') self.setWindowIcon(QIcon(self.get_image_path('turpial.svg'))) self.resize(320, 480) self.center_on_screen() self.ignore_quit = True self.showed = True self.core_ready = False self.timers = {} self.extra_friends = [] self.update_box = UpdateBox(self) self.profile_dialog = ProfileDialog(self) self.profile_dialog.options_clicked.connect(self.show_profile_menu) self.image_view = ImageView(self) self.queue_dialog = QueueDialog(self) self.core = CoreWorker() self.core.ready.connect(self.after_core_initialized) self.core.status_updated.connect(self.after_update_status) self.core.status_broadcasted.connect(self.after_broadcast_status) self.core.status_repeated.connect(self.after_repeat_status) self.core.status_deleted.connect(self.after_delete_status) self.core.message_deleted.connect(self.after_delete_message) self.core.message_sent.connect(self.after_send_message) self.core.column_updated.connect(self.after_update_column) self.core.account_saved.connect(self.after_save_account) self.core.account_loaded.connect(self.after_load_account) self.core.account_deleted.connect(self.after_delete_account) self.core.column_saved.connect(self.after_save_column) self.core.column_deleted.connect(self.after_delete_column) self.core.status_marked_as_favorite.connect(self.after_marking_status_as_favorite) self.core.status_unmarked_as_favorite.connect(self.after_unmarking_status_as_favorite) self.core.fetched_user_profile.connect(self.after_get_user_profile) self.core.urls_shorted.connect(self.update_box.after_short_url) self.core.media_uploaded.connect(self.update_box.after_upload_media) self.core.friends_list_updated.connect(self.update_box.update_friends_list) self.core.user_muted.connect(self.after_mute_user) self.core.user_unmuted.connect(self.after_unmute_user) self.core.user_blocked.connect(self.after_block_user) self.core.user_reported_as_spam.connect(self.after_report_user_as_spam) self.core.user_followed.connect(self.after_follow_user) self.core.user_unfollowed.connect(self.after_unfollow_user) self.core.status_from_conversation.connect(self.after_get_status_from_conversation) self.core.fetched_profile_image.connect(self.after_get_profile_image) self.core.fetched_avatar.connect(self.update_profile_avatar) self.core.fetched_image_preview.connect(self.after_get_image_preview) self.core.status_pushed_to_queue.connect(self.after_push_status_to_queue) self.core.status_poped_from_queue.connect(self.after_pop_status_from_queue) self.core.status_posted_from_queue.connect(self.after_post_status_from_queue) self.core.status_deleted_from_queue.connect(self.after_delete_status_from_queue) self.core.queue_cleared.connect(self.after_clear_queue) self.core.exception_raised.connect(self.on_exception) self.core.start() self._container = Container(self) self.os_notifications = OSNotificationSystem(self.images_path) self.sounds = SoundSystem(self.sounds_path) self.dock = Dock(self) self.dock.accounts_clicked.connect(self.show_accounts_dialog) self.dock.columns_clicked.connect(self.show_column_menu) self.dock.search_clicked.connect(self.show_search_dialog) self.dock.updates_clicked.connect(self.show_update_box) self.dock.messages_clicked.connect(self.show_friends_dialog_for_direct_message) self.dock.queue_clicked.connect(self.show_queue_dialog) #self.dock.filters_clicked.connect(self.show_filters_dialog) self.dock.preferences_clicked.connect(self.show_preferences_dialog) self.tray = TrayIcon(self) self.tray.toggled.connect(self.toggle_tray_icon) self.tray.updates_clicked.connect(self.show_update_box) self.tray.messages_clicked.connect(self.show_friends_dialog_for_direct_message) self.tray.settings_clicked.connect(self.show_preferences_dialog) layout = QVBoxLayout() layout.setSpacing(0) layout.setMargin(0) layout.setContentsMargins(0, 0, 0, 0) layout.addLayout(self._container, 1) layout.addWidget(self.dock) self.setLayout(layout) def __open_in_browser(self, url): browser = self.core.get_default_browser() if browser != '': cmd = browser.split(' ') cmd.append(url) subprocess.Popen(cmd) else: webbrowser.open(url) def toggle_tray_icon(self): if self.showed: if self.isActiveWindow(): self.showed = False self.hide() else: self.raise_() else: self.showed = True self.show() self.raise_() def add_extra_friends_from_statuses(self, statuses): current_friends_list = self.load_friends_list() for status in statuses: for user in status.get_mentions(): if user not in current_friends_list and user not in self.extra_friends: self.extra_friends.append(user) def is_exception(self, response): return isinstance(response, Exception) def random_id(self): return str(random.getrandbits(128)) def center_on_screen(self): current_position = self.frameGeometry() current_position.moveCenter(self.app.desktop().availableGeometry().center()) self.move(current_position.topLeft()) def resizeEvent(self, event): if self.core.status > self.core.LOADING: self.core.set_window_size(event.size().width(), event.size().height()) def closeEvent(self, event=None): if event: event.ignore() if self.core.status > self.core.LOADING: if self.core.get_minimize_on_close(): self.hide() self.showed = False else: self.main_quit() else: confirmation = self.show_confirmation_message(i18n.get('confirm_close'), i18n.get('do_you_want_to_close_turpial')) if confirmation: self.main_quit() #================================================================ # Overrided methods #================================================================ def start(self): pass def restart(self): self.core.restart() self._container.loading() def main_loop(self): try: self.app.exec_() except Exception: sys.exit(0) def main_quit(self, widget=None, force=False): self.app.quit() sys.exit(0) def show_main(self): self.start() self.show() #================================================================ # Main methods #================================================================ def show_error_message(self, title, message, error): full_message = "%s (%s)" % (message, error) message = QMessageBox.critical(self, title, full_message, QMessageBox.Ok) def show_information_message(self, title, message): message = QMessageBox.information(self, title, message, QMessageBox.Ok) def show_confirmation_message(self, title, message): confirmation = QMessageBox.question(self, title, message, QMessageBox.Yes | QMessageBox.No, QMessageBox.No) if confirmation == QMessageBox.No: return False return True def show_about_dialog(self): AboutDialog(self) def show_accounts_dialog(self): accounts = AccountsDialog(self) def show_queue_dialog(self): self.queue_dialog.show() def show_profile_dialog(self, account_id, username): self.profile_dialog.start_loading(username) self.core.get_user_profile(account_id, username) def show_preferences_dialog(self): self.preferences_dialog = PreferencesDialog(self) def show_search_dialog(self): search = SearchDialog(self) if search.result() == QDialog.Accepted: account_id = str(search.get_account().toPyObject()) criteria = str(search.get_criteria()) self.add_search_column(account_id, criteria) def show_filters_dialog(self): self.filters_dialog = FiltersDialog(self) def show_profile_image(self, account_id, username): self.image_view.start_loading() self.core.get_profile_image(account_id, username) def show_update_box(self): self.update_box.show() def show_update_box_for_reply(self, account_id, status): self.update_box.show_for_reply(account_id, status) def show_update_box_for_quote(self, account_id, status): self.update_box.show_for_quote(account_id, status) def show_update_box_for_send_direct(self, account_id, username): self.update_box.show_for_send_direct(account_id, username) def show_update_box_for_reply_direct(self, account_id, status): self.update_box.show_for_reply_direct(account_id, status) def show_column_menu(self, point): self.columns_menu = self.build_columns_menu() self.columns_menu.exec_(point) def show_profile_menu(self, point, profile): self.profile_menu = QMenu(self) if profile.following: unfollow_menu = QAction(i18n.get('unfollow'), self) unfollow_menu.triggered.connect(partial(self.unfollow, profile.account_id, profile.username)) message_menu = QAction(i18n.get('send_direct_message'), self) message_menu.triggered.connect(partial( self.show_update_box_for_send_direct, profile.account_id, profile.username)) self.profile_menu.addAction(unfollow_menu) self.profile_menu.addSeparator() self.profile_menu.addAction(message_menu) elif profile.follow_request: follow_menu = QAction(i18n.get('follow_requested'), self) follow_menu.setEnabled(False) self.profile_menu.addAction(follow_menu) self.profile_menu.addSeparator() else: follow_menu = QAction(i18n.get('follow'), self) follow_menu.triggered.connect(partial(self.follow, profile.account_id, profile.username)) self.profile_menu.addAction(follow_menu) self.profile_menu.addSeparator() if self.core.is_muted(profile.username): mute_menu = QAction(i18n.get('unmute'), self) mute_menu.triggered.connect(partial(self.unmute, profile.username)) else: mute_menu = QAction(i18n.get('mute'), self) mute_menu.triggered.connect(partial(self.mute, profile.username)) block_menu = QAction(i18n.get('block'), self) block_menu.triggered.connect(partial(self.block, profile.account_id, profile.username)) spam_menu = QAction(i18n.get('report_as_spam'), self) spam_menu.triggered.connect(partial(self.report_as_spam, profile.account_id, profile.username)) self.profile_menu.addAction(mute_menu) self.profile_menu.addAction(block_menu) self.profile_menu.addAction(spam_menu) self.profile_menu.exec_(point) def show_friends_dialog_for_direct_message(self): friend = SelectFriendDialog(self) if friend.is_accepted(): self.show_update_box_for_send_direct(friend.get_account(), friend.get_username()) def save_account(self, account): self.core.save_account(account) def load_account(self, account_id): self.core.load_account(account_id) def delete_account(self, account_id): self.core.delete_account(account_id) def add_column(self, column_id): self.core.save_column(column_id) def add_search_column(self, account_id, criteria): column_id = "%s-%s:%s" % (account_id, ColumnType.SEARCH, urllib2.quote(criteria)) self.add_column(column_id) def get_column_from_id(self, column_id): columns = self.core.get_registered_columns() for column in columns: if column_id == column.id_: return column return None def get_shorten_url_service(self): return self.core.get_shorten_url_service() def get_upload_media_service(self): return self.core.get_upload_media_service() def load_friends_list(self): return self.core.load_friends_list() def load_friends_list_with_extras(self): return self.extra_friends + self.core.load_friends_list() def open_url(self, url): preview_service = get_preview_service_from_url(url) if preview_service: self.core.get_image_preview(preview_service, url) self.image_view.start_loading() else: self.__open_in_browser(url) def load_image(self, filename, pixbuf=False): img_path = os.path.join(self.images_path, filename) if pixbuf: return QPixmap(img_path) return QImage(img_path) def get_image_path(self, filename): return os.path.join(self.images_path, filename) def update_dock(self): accounts = self.core.get_registered_accounts() columns = self.core.get_registered_columns() if len(columns) == 0: if len(accounts) == 0: self.dock.empty(False) else: self.dock.normal() else: self.dock.normal() def update_container(self): accounts = self.core.get_registered_accounts() columns = self.core.get_registered_columns() if len(columns) == 0: if len(accounts) == 0: self._container.empty(False) self.dock.empty(False) else: self._container.empty(True) self.dock.normal() self.tray.empty() else: self._container.normal() self.dock.normal() self.tray.normal() for column in columns: self.download_stream(column) self.add_timer(column) self.fetch_friends_list() def build_columns_menu(self): columns_menu = QMenu(self) available_columns = self.core.get_available_columns() accounts = self.core.get_all_accounts() if len(accounts) == 0: empty_menu = QAction(i18n.get('no_registered_accounts'), self) empty_menu.setEnabled(False) columns_menu.addAction(empty_menu) else: for account in accounts: name = "%s (%s)" % (account.username, i18n.get(account.protocol_id)) account_menu = QAction(name, self) if len(available_columns[account.id_]) > 0: available_columns_menu = QMenu(self) for column in available_columns[account.id_]: item = QAction(column.slug, self) if column.__class__.__name__ == 'List': #FIXME: Uncomment this after fixing the error with get_list_id in libturpial #column_id = "-".join([account.id_, column.id_]) #item.triggered.connect(partial(self.add_column, column_id)) continue else: item.triggered.connect(partial(self.add_column, column.id_)) available_columns_menu.addAction(item) account_menu.setMenu(available_columns_menu) else: account_menu.setEnabled(False) columns_menu.addAction(account_menu) return columns_menu def update_status(self, account_id, message, in_reply_to_id=None): self.core.update_status(account_id, message, in_reply_to_id) def broadcast_status(self, message): accounts = [] for account in self.core.get_registered_accounts(): accounts.append(account.id_) self.core.broadcast_status(accounts, message) def repeat_status(self, column_id, account_id, status): self.core.repeat_status(column_id, account_id, status.id_) def delete_status(self, column_id, account_id, status): self.core.delete_status(column_id, account_id, status.id_) def delete_direct_message(self, column_id, account_id, status): self.core.delete_direct_message(column_id, account_id, status.id_) def send_direct_message(self, account_id, username, message): self.core.send_direct_message(account_id, username, message) def mark_status_as_favorite(self, column_id, account_id, status): self.core.mark_status_as_favorite(column_id, account_id, status.id_) def unmark_status_as_favorite(self, column_id, account_id, status): self.core.unmark_status_as_favorite(column_id, account_id, status.id_) def short_urls(self, message): self.core.short_urls(message) def upload_media(self, account_id, filename): self.core.upload_media(account_id, filename) def fetch_friends_list(self): self.core.get_friends_list() def mute(self, username): self.core.mute(username) def unmute(self, username): self.core.unmute(username) def block(self, account_id, username): self.core.block(account_id, username) def report_as_spam(self, account_id, username): self.core.report_as_spam(account_id, username) def follow(self, account_id, username): self.core.follow(account_id, username) def unfollow(self, account_id, username): self.core.unfollow(account_id, username) def get_conversation(self, account_id, status, column_id, status_root_id): self.core.get_status_from_conversation(account_id, status.in_reply_to_id, column_id, status_root_id) def push_status_to_queue(self, account_id, message): self.core.push_status_to_queue(account_id, message) def update_status_from_queue(self, args=None): self.core.pop_status_from_queue() def delete_message_from_queue(self, index): self.core.delete_status_from_queue(index) def clear_queue(self): self.core.clear_statuses_queue() def get_config(self): return self.core.read_config() def get_cache_size(self): return self.humanize_size(self.core.get_cache_size()) def clean_cache(self): self.core.delete_cache() def save_filters(self, filters): self.core.save_filters(filters) def update_config(self, new_config): current_config = self.core.read_config() current_update_interval = int(current_config['General']['update-interval']) current_queue_interval = int(current_config['General']['queue-interval']) self.core.update_config(new_config) if current_update_interval != new_config['General']['update-interval']: columns = self.core.get_registered_columns() for column in columns: self.add_timer(column) if current_queue_interval != new_config['General']['queue-interval']: self.turn_on_queue_timer(force=True) def restore_config(self): self.core.restore_config() #================================================================ # Hooks definitions #================================================================ def after_core_initialized(self, response): if self.is_exception(response): self.core.status = self.core.ERROR self._container.error() else: width, height = self.core.get_window_size() self.resize(width, height) self.center_on_screen() if self.core.get_sound_on_login(): self.sounds.startup() self.queue_dialog.start() self.update_container() self.turn_on_queue_timer() self.core.status = self.core.READY def after_save_account(self): self.account_registered.emit() if len(self.core.get_registered_accounts()) == 1: self.update_container() self.update_dock() def after_load_account(self): self.account_loaded.emit() def after_delete_account(self): self.account_deleted.emit() def after_delete_column(self, column_id): column_id = str(column_id) self._container.remove_column(column_id) self.remove_timer(column_id) columns = self.core.get_registered_columns() if len(columns) == 0: self.update_container() def after_save_column(self, column_id): column_id = str(column_id) self._container.add_column(column_id) column = self.get_column_from_id(column_id) self.download_stream(column) self.add_timer(column) def after_update_column(self, response, data): column, max_ = data if self.is_exception(response): self._container.error_updating_column(column.id_) else: count = len(response) if count > 0: if self.core.get_notify_on_updates(): self.os_notifications.updates(column, count) if self.core.get_sound_on_updates(): self.sounds.updates() self._container.update_column(column.id_, response) else: self._container.update_timestamps(column.id_) def after_update_status(self, response, account_id): if self.is_exception(response): self.update_box.error(i18n.get('error_posting_status')) else: self.update_box.done() def after_broadcast_status(self, response): if self.is_exception(response): self.update_box.error(i18n.get('error_posting_status')) else: self.update_box.done() def after_repeat_status(self, response, column_id, account_id, status_id): column_id = str(column_id) if self.is_exception(response): if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.error_repeating_status(status_id) else: self._container.error_repeating_status(column_id, status_id) else: message = i18n.get('status_repeated') self._container.mark_status_as_repeated(response.id_) if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.last_statuses.mark_status_as_repeated(response.id_) self.profile_dialog.last_statuses.release_status(response.id_) self.profile_dialog.last_statuses.notify_success(response.id_, message) else: self._container.notify_success(column_id, response.id_, message) def after_delete_status(self, response, column_id, account_id, status_id): if self.is_exception(response): self._container.error_deleting_status(column_id, status_id) else: self._container.remove_status(response.id_) self._container.notify_success(column_id, response.id_, i18n.get('status_deleted')) def after_delete_message(self, response, column_id, account_id): self._container.remove_status(response.id_) self._container.notify_success(column_id, response.id_, i18n.get('direct_message_deleted')) def after_send_message(self, response, account_id): if self.is_exception(response): self.update_box.error(i18n.get('can_not_send_direct_message')) else: self.update_box.done() def after_marking_status_as_favorite(self, response, column_id, account_id, status_id): column_id = str(column_id) if self.is_exception(response): if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.error_marking_status_as_favorite(status_id) else: self._container.error_marking_status_as_favorite(column_id, status_id) else: message = i18n.get('status_marked_as_favorite') self._container.mark_status_as_favorite(response.id_) if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.last_statuses.mark_status_as_favorite(response.id_) self.profile_dialog.last_statuses.release_status(response.id_) self.profile_dialog.last_statuses.notify_success(response.id_, message) else: self._container.notify_success(column_id, response.id_, message) def after_unmarking_status_as_favorite(self, response, column_id, account_id, status_id): column_id = str(column_id) if self.is_exception(response): if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.error_unmarking_status_as_favorite(status_id) else: self._container.error_unmarking_status_as_favorite(column_id, status_id) else: message = i18n.get('status_removed_from_favorites') self._container.unmark_status_as_favorite(response.id_) if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.last_statuses.unmark_status_as_favorite(response.id_) self.profile_dialog.last_statuses.release_status(response.id_) self.profile_dialog.last_statuses.notify_success(response.id_, message) else: self._container.notify_success(column_id, response.id_, message) def after_get_user_profile(self, response, account_id): if self.is_exception(response): self.profile_dialog.error(i18n.get('problems_loading_user_profile')) else: self.profile_dialog.loading_finished(response, account_id) self.core.get_avatar_from_status(response) def after_mute_user(self, username): if self.core.get_notify_on_actions(): self.os_notifications.user_muted(username) def after_unmute_user(self, username): if self.core.get_notify_on_actions(): self.os_notifications.user_unmuted(username) def after_block_user(self, profile): if self.is_exception(profile): self.profile_dialog.error(i18n.get('could_not_block_user')) else: self.core.remove_friend(profile.username) if self.core.get_notify_on_actions(): self.os_notifications.user_blocked(profile.username) def after_report_user_as_spam(self, profile): if self.is_exception(profile): self.profile_dialog.error(i18n.get('having_issues_reporting_user_as_spam')) else: if self.core.get_notify_on_actions(): self.os_notifications.user_reported_as_spam(profile.username) def after_follow_user(self, profile): if self.is_exception(profile): self.profile_dialog.error(i18n.get('having_trouble_to_follow_user')) else: self.core.add_friend(profile.username) self.profile_dialog.update_following(profile.username, True) if self.core.get_notify_on_actions(): self.os_notifications.user_followed(profile.username) def after_unfollow_user(self, profile): if self.is_exception(profile): self.profile_dialog.error(i18n.get('having_trouble_to_unfollow_user')) else: self.core.remove_friend(profile.username) self.profile_dialog.update_following(profile.username, False) if self.core.get_notify_on_actions(): self.os_notifications.user_unfollowed(profile.username) def after_get_status_from_conversation(self, response, column_id, status_root_id): column_id = str(column_id) if self.is_exception(response): if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.error_loading_conversation(status_root_id) else: self._container.error_loading_conversation(column_id, status_root_id) else: if self.profile_dialog.is_for_profile(column_id): self.profile_dialog.last_statuses.update_conversation(response, status_root_id) else: self._container.update_conversation(response, column_id, status_root_id) if response.in_reply_to_id: self.core.get_status_from_conversation(response.account_id, response.in_reply_to_id, column_id, status_root_id) def after_get_profile_image(self, image_path): self.image_view.loading_finished(str(image_path)) def update_profile_avatar(self, image_path, username): if not self.is_exception(image_path): self.profile_dialog.update_avatar(str(image_path), str(username)) def after_get_image_preview(self, response): if self.is_exception(response): self.image_view.error() else: self.image_view.loading_finished(str(response.path)) def after_push_status_to_queue(self, account_id): self.update_box.done() self.turn_on_queue_timer() def after_pop_status_from_queue(self, status): if status: self.core.post_status_from_queue(status.account_id, status.text) def after_post_status_from_queue(self, response, account_id, message): if self.is_exception(response): # TODO: OS Notification print "+++Message enqueued again for error posting" self.push_status_to_queue(account_id, message) else: self.turn_off_queue_timer() if self.core.get_notify_on_actions(): self.os_notifications.message_from_queue_posted() def after_delete_status_from_queue(self): self.queue_dialog.update() def after_clear_queue(self): self.queue_dialog.update() self.queue_dialog.update_timestamp() self.turn_off_queue_timer() def on_exception(self, exception): print 'Exception', exception # ------------------------------------------------------------ # Timer Methods # ------------------------------------------------------------ def add_timer(self, column): self.remove_timer(column.id_) interval = self.core.get_update_interval() * 60 * 1000 timer = Timer(interval, column, self.download_stream) self.timers[column.id_] = timer print '--Created timer for %s every %i sec' % (column.id_, interval) def remove_timer(self, column_id): if self.timers.has_key(column_id): self.timers[column_id].stop() del self.timers[column_id] print '--Removed timer for %s' % column_id def download_stream(self, column): if self._container.is_updating(column.id_): return True last_id = self._container.start_updating(column.id_) self.core.get_column_statuses(column, last_id) return True def set_queue_timer(self): self.remove_timer('queue') interval = self.core.get_queue_interval() * 60 * 1000 timer = Timer(interval, None, self.update_status_from_queue) self.timers['queue'] = timer print '--Created timer for queue every %i sec' % interval def turn_on_queue_timer(self, force=False): self.queue_dialog.update() if len(self.core.list_statuses_queue()) > 0 and (not self.timers.has_key('queue') or force): self.set_queue_timer() self.queue_dialog.update_timestamp() def turn_off_queue_timer(self): self.queue_dialog.update() if len(self.core.list_statuses_queue()) == 0: self.remove_timer('queue') self.queue_dialog.update_timestamp() class Timer: def __init__(self, interval, column, callback): self.interval = interval self.column = column self.callback = callback self.timer = QTimer() self.timer.timeout.connect(self.__on_timeout) self.timer.start(interval) def __on_timeout(self): self.callback(self.column) def get_id(self): return self.timer.timerId() def stop(self): self.timer.stop() turpial-3.0+dfsg.orig/turpial/ui/qt/container.py0000644000000000000000000002501212254451436016663 0ustar # -*- coding: utf-8 -*- # Qt container for all columns in Turpial from PyQt4.QtCore import Qt from PyQt4.QtGui import QFont from PyQt4.QtGui import QLabel from PyQt4.QtGui import QCursor from PyQt4.QtGui import QWidget from PyQt4.QtGui import QScrollArea from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from turpial.ui.lang import i18n from turpial.ui.qt.column import StatusesColumn from turpial.ui.qt.loader import BarLoadIndicator from libturpial.common import OS_MAC from libturpial.common.tools import detect_os class Container(QVBoxLayout): def __init__(self, base): QVBoxLayout.__init__(self) self.base = base self.child = None self.columns = {} self.is_empty = None self.loading() def __link_clicked(self, url): if url == 'cmd:add_columns': self.base.show_column_menu(QCursor.pos()) elif url == 'cmd:add_accounts': self.base.show_accounts_dialog() elif url == 'cmd:restart': self.base.restart() def clear_layout(self, layout): if layout is not None: while layout.count(): item = layout.takeAt(0) widget = item.widget() if widget is not None: widget.deleteLater() else: self.clear_layout(item.layout()) def empty(self, with_accounts=None): if self.child: self.clear_layout(self) image = self.base.load_image('turpial-196.png', True) logo = QLabel() logo.setPixmap(image) logo.setAlignment(Qt.AlignCenter) logo.setContentsMargins(0, 80, 0, 0) appname = QLabel('Turpial 3') if detect_os() == OS_MAC: font = QFont('Maven Pro Light', 28, 0, False) font2 = QFont('Ubuntu', 16, 0, False) else: font = QFont('Maven Pro Light', 18, QFont.Light, False) font2 = QFont('Ubuntu', 12, QFont.Normal, False) appname.setFont(font) welcome = QLabel() welcome.setText(i18n.get('welcome')) welcome.setAlignment(Qt.AlignCenter) welcome.setFont(font) message = QLabel() if with_accounts: text = "%s %s" % (i18n.get('you_have_accounts_registered'), i18n.get('add_some_columns')) else: text = "%s %s" % (i18n.get('add_new_account'), i18n.get('to_start_using_turpial')) message.setText(text) message.linkActivated.connect(self.__link_clicked) message.setAlignment(Qt.AlignCenter) message.setWordWrap(True) message.setFont(font2) self.child = QVBoxLayout() self.child.addWidget(logo) self.child.addWidget(welcome) self.child.setSpacing(10) self.child.addWidget(message) self.child.setSpacing(10) self.child.setContentsMargins(30, 0, 30, 60) self.insertLayout(0, self.child) self.is_empty = True def loading(self): if self.child: self.clear_layout(self) image = self.base.load_image('turpial-196.png', True) logo = QLabel() logo.setPixmap(image) logo.setAlignment(Qt.AlignCenter) logo.setContentsMargins(0, 80, 0, 0) appname = QLabel('Turpial 3') if detect_os() == OS_MAC: font = QFont('Maven Pro Light', 28, 0, False) font2 = QFont('Ubuntu', 16, 0, False) else: font = QFont('Maven Pro Light', 18, QFont.Light, False) font2 = QFont('Ubuntu', 12, QFont.Normal, False) appname.setFont(font) welcome = QLabel() welcome.setText(i18n.get('hi_there')) welcome.setAlignment(Qt.AlignCenter) welcome.setFont(font) message = QLabel() message.setText(i18n.get('give_me_a_minute')) message.setAlignment(Qt.AlignCenter) message.setWordWrap(True) message.setFont(font2) loader = BarLoadIndicator() self.child = QVBoxLayout() self.child.addWidget(logo) self.child.addWidget(welcome) self.child.addSpacing(10) self.child.addWidget(message) #self.child.setSpacing(10) self.child.addStretch(1) self.child.addWidget(loader) self.child.setContentsMargins(30, 0, 30, 30) self.insertLayout(0, self.child) self.is_empty = True def error(self): if self.child: self.clear_layout(self) image = self.base.load_image('turpial-196.png', True) logo = QLabel() logo.setPixmap(image) logo.setAlignment(Qt.AlignCenter) logo.setContentsMargins(0, 80, 0, 0) appname = QLabel('Turpial 3') if detect_os() == OS_MAC: font = QFont('Maven Pro Light', 28, 0, False) font2 = QFont('Ubuntu', 16, 0, False) else: font = QFont('Maven Pro Light', 18, QFont.Light, False) font2 = QFont('Ubuntu', 12, QFont.Normal, False) appname.setFont(font) welcome = QLabel() welcome.setText(i18n.get('oh_oh')) welcome.setAlignment(Qt.AlignCenter) welcome.setFont(font) message = QLabel() text = "%s. %s" % (i18n.get('something_terrible_happened'), i18n.get('try_again')) message.setText(text) message.linkActivated.connect(self.__link_clicked) message.setAlignment(Qt.AlignCenter) message.setWordWrap(True) message.setFont(font2) self.child = QVBoxLayout() self.child.addWidget(logo) self.child.addWidget(welcome) self.child.addSpacing(10) self.child.addWidget(message) #self.child.setSpacing(10) self.child.addStretch(1) self.child.setContentsMargins(30, 0, 30, 30) self.insertLayout(0, self.child) self.is_empty = True def normal(self): columns = self.base.core.get_registered_columns() if self.child: self.clear_layout(self) hbox = QHBoxLayout() hbox.setSpacing(0) hbox.setContentsMargins(0, 0, 0, 0) self.columns = {} for column in columns: self.columns[column.id_] = StatusesColumn(self.base, column.id_) hbox.addWidget(self.columns[column.id_], 1) viewport = QWidget() viewport.setLayout(hbox) self.child = QScrollArea() self.child.setWidgetResizable(True) self.child.setWidget(viewport) self.addWidget(self.child, 1) self.is_empty = False def start_updating(self, column_id): return self.columns[column_id].start_updating() def stop_updating(self, column_id, errmsg=None, errtype=None): self.columns[column_id].stop_updating() def is_updating(self, column_id): #return self.columns[column_id].updating return False def update_timestamps(self, column_id): self.columns[column_id].update_timestamps() self.stop_updating(column_id) def update_column(self, column_id, statuses): self.columns[column_id].update_statuses(statuses) self.stop_updating(column_id) self.base.add_extra_friends_from_statuses(statuses) def add_column(self, column_id): if self.is_empty: self.normal() else: viewport = self.child.widget() hbox = viewport.layout() self.columns[column_id] = StatusesColumn(self.base, column_id) hbox.addWidget(self.columns[column_id], 1) def remove_column(self, column_id): self.columns[column_id].deleteLater() del self.columns[column_id] def mark_status_as_favorite(self, status_id): for id_, column in self.columns.iteritems(): column.mark_status_as_favorite(status_id) column.release_status(status_id) def unmark_status_as_favorite(self, status_id): for id_, column in self.columns.iteritems(): column.unmark_status_as_favorite(status_id) column.release_status(status_id) def mark_status_as_repeated(self, status_id): for id_, column in self.columns.iteritems(): column.mark_status_as_repeated(status_id) column.release_status(status_id) def remove_status(self, status_id): for id_, column in self.columns.iteritems(): column.remove_status(status_id) def update_conversation(self, status, column_id, status_root_id): for id_, column in self.columns.iteritems(): if id_ == column_id: column.update_conversation(status, status_root_id) def error_loading_conversation(self, column_id, status_root_id): for id_, column in self.columns.iteritems(): if id_ == column_id: column.error_in_conversation(status_root_id) self.notify_error(column_id, self.base.random_id(), i18n.get('error_loading_conversation')) def error_updating_column(self, column_id): self.stop_updating(column_id) self.notify_error(column_id, self.base.random_id(), i18n.get('error_updating_column')) def error_repeating_status(self, column_id, status_id): for id_, column in self.columns.iteritems(): column.release_status(status_id) self.notify_error(column_id, status_id, i18n.get('error_repeating_status')) def error_deleting_status(self, column_id, status_id): for id_, column in self.columns.iteritems(): column.release_status(status_id) self.notify_error(column_id, status_id, i18n.get('error_deleting_status')) def error_marking_status_as_favorite(self, column_id, status_id): for id_, column in self.columns.iteritems(): column.release_status(status_id) self.notify_error(column_id, status_id, i18n.get('error_marking_status_as_favorite')) def error_unmarking_status_as_favorite(self, column_id, status_id): for id_, column in self.columns.iteritems(): column.release_status(status_id) self.notify_error(column_id, status_id, i18n.get('error_unmarking_status_as_favorite')) def notify_error(self, column_id, id_, message): self.columns[str(column_id)].notify_error(id_, message) def notify_success(self, column_id, id_, message): self.columns[str(column_id)].notify_success(id_, message) def notify_warning(self, column_id, id_, message): self.columns[str(column_id)].notify_warning(id_, message) def notify_info(self, column_id, id_, message): self.columns[str(column_id)].notify_info(id_, message) turpial-3.0+dfsg.orig/turpial/ui/qt/about.py0000644000000000000000000000276212254451436016022 0ustar # -*- coding: utf-8 -*- # Qt about dialog for Turpial from PyQt4.QtGui import QLabel from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QVBoxLayout, QHBoxLayout from PyQt4.QtCore import Qt from turpial.ui.lang import i18n from turpial.ui.qt.widgets import ModalDialog from turpial import VERSION class AboutDialog(ModalDialog): def __init__(self, base): ModalDialog.__init__(self, 320, 250) self.setWindowTitle(i18n.get('about_turpial')) icon = QLabel() icon.setPixmap(base.load_image('turpial.png', True)) icon.setAlignment(Qt.AlignCenter) app_name = QLabel("Turpial %s" % VERSION) app_name.setAlignment(Qt.AlignCenter) app_description = QLabel(i18n.get('about_description')) app_description.setAlignment(Qt.AlignCenter) copyright = QLabel('Copyleft (C) 2009 - 2013 Wil Alvarez') copyright.setAlignment(Qt.AlignCenter) close_button = QPushButton(i18n.get('close')) close_button.clicked.connect(self.__on_close) button_box = QHBoxLayout() button_box.addStretch(1) button_box.setSpacing(4) button_box.addWidget(close_button) vbox = QVBoxLayout() vbox.setSpacing(10) vbox.addWidget(icon, 1) vbox.addWidget(app_name) vbox.addWidget(app_description) vbox.addWidget(copyright) vbox.addLayout(button_box) self.setLayout(vbox) self.exec_() def __on_close(self): self.close() turpial-3.0+dfsg.orig/turpial/ui/qt/updatebox.py0000644000000000000000000003657312254451436016712 0ustar # -*- coding: utf-8 -*- # Qt update box for Turpial from PyQt4.QtGui import QFont from PyQt4.QtGui import QIcon from PyQt4.QtGui import QLabel from PyQt4.QtGui import QWidget from PyQt4.QtGui import QComboBox from PyQt4.QtGui import QTextEdit from PyQt4.QtGui import QCompleter from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QTextCursor from PyQt4.QtGui import QVBoxLayout from PyQt4.QtGui import QHBoxLayout from PyQt4.QtGui import QFileDialog from PyQt4.QtCore import Qt from PyQt4.QtCore import QTimer from PyQt4.QtCore import pyqtSignal from turpial.ui.lang import i18n from turpial.ui.qt.loader import BarLoadIndicator from turpial.ui.qt.widgets import ImageButton, ErrorLabel from libturpial.common.tools import get_urls from libturpial.common import get_username_from, get_protocol_from MAX_CHAR = 140 class UpdateBox(QWidget): def __init__(self, base): QWidget.__init__(self) self.base = base self.showed = False self.setFixedSize(500, 120) self.text_edit = CompletionTextEdit() self.upload_button = ImageButton(base, 'action-upload.png', i18n.get('upload_image')) self.short_button = ImageButton(base, 'action-shorten.png', i18n.get('short_urls')) font = QFont() font.setPointSize(18) font.setBold(True) self.char_count = QLabel('140') self.char_count.setFont(font) self.update_button = QPushButton(i18n.get('update')) self.update_button.setToolTip(self.base.get_shortcut_string('Enter')) self.queue_button = QPushButton(i18n.get('add_to_queue')) self.queue_button.setToolTip(self.base.get_shortcut_string('P')) self.accounts_combo = QComboBox() buttons = QHBoxLayout() buttons.setSpacing(4) buttons.addWidget(self.accounts_combo) buttons.addWidget(self.upload_button) buttons.addWidget(self.short_button) buttons.addStretch(0) buttons.addWidget(self.char_count) buttons.addWidget(self.queue_button) buttons.addWidget(self.update_button) self.loader = BarLoadIndicator() self.error_message = ErrorLabel() self.update_button.clicked.connect(self.__update_status) self.queue_button.clicked.connect(self.__queue_status) self.short_button.clicked.connect(self.__short_urls) self.upload_button.clicked.connect(self.__upload_image) self.text_edit.textChanged.connect(self.__update_count) self.text_edit.quit.connect(self.closeEvent) self.text_edit.activated.connect(self.__update_status) self.text_edit.enqueued.connect(self.__queue_status) layout = QVBoxLayout() layout.setSpacing(0) layout.addWidget(self.text_edit) layout.addWidget(self.loader) layout.addSpacing(5) layout.addWidget(self.error_message) layout.addLayout(buttons) layout.setContentsMargins(5, 5, 5, 5) self.setLayout(layout) self.__clear() def __count_chars(self): message = self.text_edit.toPlainText() urls = [str(url) for url in get_urls(message) if len(url) > 23] for url in urls: message = message.replace(url, '0' * 23) return MAX_CHAR - len(message) def __update_count(self): remaining_chars = self.__count_chars() if remaining_chars <= 10: self.char_count.setStyleSheet("QLabel { color: #D40D12 }") elif remaining_chars > 10 and remaining_chars <= 20: self.char_count.setStyleSheet("QLabel { color: #D4790D }") else: self.char_count.setStyleSheet("QLabel { color: #000000 }") self.char_count.setText(str(remaining_chars)) def __validate(self, message, accounts, index): if len(message) == 0: self.error(i18n.get('you_can_not_submit_an_empty_message')) return False if index == 0 and len(accounts) > 1: self.error(i18n.get('select_an_account_before_post')) return False if self.__count_chars() < 0: self.error(i18n.get('message_too_long')) return False return True def __short_urls(self): self.enable(False) message = unicode(self.text_edit.toPlainText()) self.base.short_urls(message) def __upload_image(self): index = self.accounts_combo.currentIndex() accounts = self.base.core.get_registered_accounts() if index == 0 and len(accounts) > 1: self.error(i18n.get('select_an_account_before_post')) return False account_id = str(self.accounts_combo.itemData(index).toPyObject()) filename = str(QFileDialog.getOpenFileName(self, i18n.get('upload_image'), self.base.home_path)) if filename != '': self.enable(False) self.base.upload_media(account_id, filename) def __update_status(self): index = self.accounts_combo.currentIndex() accounts = self.base.core.get_registered_accounts() message = unicode(self.text_edit.toPlainText()) if not self.__validate(message, accounts, index): self.enable(True) return self.enable(False) account_id = str(self.accounts_combo.itemData(index).toPyObject()) if self.direct_message_to: self.base.send_direct_message(account_id, self.direct_message_to, message) else: if account_id == 'broadcast': self.base.broadcast_status(message) else: self.base.update_status(account_id, message, self.in_reply_to_id) def __queue_status(self): index = self.accounts_combo.currentIndex() accounts = self.base.core.get_registered_accounts() account_id = str(self.accounts_combo.itemData(index).toPyObject()) message = unicode(self.text_edit.toPlainText()) if not self.__validate(message, accounts, index): self.enable(True) return self.enable(False) self.base.push_status_to_queue(account_id, message) def __clear(self): self.account_id = None self.in_reply_to_id = None self.in_reply_to_user = None self.direct_message_to = None self.quoting = False self.message = None self.cursor_position = None self.text_edit.setText('') self.accounts_combo.setCurrentIndex(0) self.queue_button.setEnabled(True) self.loader.setVisible(False) self.error_message.setVisible(False) self.error_message.setText('') self.enable(True) self.showed = False def __show(self): self.update_friends_list() short_service = self.base.get_shorten_url_service() short_tooltip = "%s (%s)" % (i18n.get('short_url'), short_service) self.short_button.setToolTip(short_tooltip) upload_service = self.base.get_upload_media_service() upload_tooltip = "%s (%s)" % (i18n.get('upload_image'), upload_service) self.upload_button.setToolTip(upload_tooltip) self.accounts_combo.clear() accounts = self.base.core.get_registered_accounts() if len(accounts) > 1: self.accounts_combo.addItem('--', '') for account in accounts: protocol = get_protocol_from(account.id_) icon = QIcon(self.base.get_image_path('%s.png' % protocol)) self.accounts_combo.addItem(icon, get_username_from(account.id_), account.id_) if len(accounts) > 1: icon = QIcon(self.base.get_image_path('action-conversation.png')) self.accounts_combo.addItem(icon, i18n.get('broadcast'), 'broadcast') if self.account_id: index = self.accounts_combo.findData(self.account_id) if index > 0: self.accounts_combo.setCurrentIndex(index) self.accounts_combo.setEnabled(False) if self.message: self.text_edit.setText(self.message) cursor = self.text_edit.textCursor() cursor.movePosition(self.cursor_position, QTextCursor.MoveAnchor) self.text_edit.setTextCursor(cursor) QWidget.show(self) self.showed = True def __on_timeout(self): self.error_message.setText('') self.error_message.setVisible(False) def show(self): if self.showed: return self.raise_() self.setWindowTitle(i18n.get('whats_happening')) self.__show() def show_for_reply(self, account_id, status): if self.showed: return self.raise_() title = "%s @%s" % (i18n.get('reply_to'), status.username) self.setWindowTitle(title) self.account_id = account_id self.in_reply_to_id = status.id_ self.in_reply_to_user = status.username mentions = ' '.join(["@%s" % user for user in status.get_mentions()]) self.message = "%s " % mentions self.cursor_position = QTextCursor.End self.__show() def show_for_send_direct(self, account_id, username): if self.showed: return self.raise_() title = "%s @%s" % (i18n.get('send_message_to'), username) self.setWindowTitle(title) self.account_id = account_id self.direct_message_to = username self.__show() self.queue_button.setEnabled(False) def show_for_reply_direct(self, account_id, status): if self.showed: return self.raise_() title = "%s @%s" % (i18n.get('send_message_to'), status.username) self.setWindowTitle(title) self.account_id = account_id self.direct_message_to = status.username self.__show() self.queue_button.setEnabled(False) def show_for_quote(self, account_id, status): if self.showed: return self.raise_() self.setWindowTitle(i18n.get('quoting')) self.account_id = account_id self.message = " RT @%s %s" % (status.username, status.text) self.cursor_position = QTextCursor.Start self.quoting = True self.__show() self.queue_button.setEnabled(False) def closeEvent(self, event=None): message = unicode(self.text_edit.toPlainText()) if len(message) > 0: confirmation = self.base.show_confirmation_message(i18n.get('confirm_discard'), i18n.get('do_you_want_to_discard_message')) if not confirmation: return if event: event.ignore() self.__clear() self.hide() def enable(self, value): self.text_edit.setEnabled(value) if not self.account_id: self.accounts_combo.setEnabled(value) if self.in_reply_to_id or self.direct_message_to or self.quoting: self.queue_button.setEnabled(False) else: self.queue_button.setEnabled(value) self.upload_button.setEnabled(value) self.short_button.setEnabled(value) self.update_button.setEnabled(value) self.loader.setVisible(not value) def done(self): self.__clear() self.hide() def error(self, message): self.enable(True) self.error_message.setText(message) self.error_message.setVisible(True) self.timer = QTimer() self.timer.timeout.connect(self.__on_timeout) self.timer.start(5000) def after_short_url(self, message): if self.base.is_exception(message): self.error(i18n.get('error_shorting_url')) else: self.text_edit.setText(message) self.enable(True) def after_upload_media(self, media_url): if self.base.is_exception(media_url): self.error(i18n.get('error_uploading_image')) else: text_cursor = self.text_edit.textCursor() text_cursor.select(QTextCursor.WordUnderCursor) if text_cursor.selectedText() != '': media_url = " %s" % media_url text_cursor.clearSelection() text_cursor.insertText(media_url) self.text_edit.setTextCursor(text_cursor) self.enable(True) def update_friends_list(self): completer = QCompleter(self.base.load_friends_list_with_extras()) self.text_edit.setCompleter(completer) class CompletionTextEdit(QTextEdit): IGNORED_KEYS = ( Qt.Key_Enter, Qt.Key_Return, Qt.Key_Escape, Qt.Key_Tab, Qt.Key_Backtab ) quit = pyqtSignal() activated = pyqtSignal() enqueued = pyqtSignal() def __init__(self): QTextEdit.__init__(self) self.completer = None self.setAcceptRichText(False) self.setTabChangesFocus(True) def setCompleter(self, completer): if self.completer: self.completer.activated.disconnect() self.completer = completer self.completer.setCaseSensitivity(Qt.CaseInsensitive) self.completer.setWidget(self) self.completer.activated.connect(self.insertCompletion) def insertCompletion(self, completion): if self.completer.widget() != self: return tc = self.textCursor() extra = (completion.length() - self.completer.completionPrefix().length()) tc.movePosition(QTextCursor.StartOfWord) tc.select(QTextCursor.WordUnderCursor) tc.insertText(''.join([str(completion), ' '])) self.setTextCursor(tc) def textUnderCursor(self): tc = self.textCursor() text = "" while True: tc.movePosition(QTextCursor.Left, QTextCursor.KeepAnchor) text = tc.selectedText() if tc.position() == 0: break if text.startsWith(' '): text = text[1:] break return text def focusInEvent(self, event): if self.completer: self.completer.setWidget(self) QTextEdit.focusInEvent(self, event) def keyPressEvent(self, event): #print self.completer if self.completer and self.completer.popup().isVisible(): if event.key() in self.IGNORED_KEYS: event.ignore() return if event.key() == Qt.Key_Escape: self.quit.emit() return QTextEdit.keyPressEvent(self, event) hasModifier = event.modifiers() != Qt.NoModifier enterKey = event.key() == Qt.Key_Enter or event.key() == Qt.Key_Return queueKey = event.key() == Qt.Key_P if hasModifier and event.modifiers() == Qt.ControlModifier and enterKey: self.activated.emit() return if hasModifier and event.modifiers() == Qt.ControlModifier and queueKey: self.enqueued.emit() return completionPrefix = self.textUnderCursor() if hasModifier or event.text().isEmpty() or not completionPrefix.startsWith('@'): self.completer.popup().hide() #print 'me fui', event.key(), int(event.modifiers()) return if completionPrefix.startsWith('@') and completionPrefix[1:] != self.completer.completionPrefix(): self.completer.setCompletionPrefix(completionPrefix[1:]) popup = self.completer.popup() popup.setCurrentIndex(self.completer.completionModel().index(0, 0)) cursor_rect = self.cursorRect() cursor_rect.setWidth(self.completer.popup().sizeHintForColumn(0) + self.completer.popup().verticalScrollBar().sizeHint().width()) self.completer.complete(cursor_rect) turpial-3.0+dfsg.orig/turpial/ui/qt/widgets.py0000644000000000000000000000477012254451436016357 0ustar # -*- coding: utf-8 -*- # Qt util widgets for Turpial from PyQt4.QtCore import Qt from PyQt4.QtGui import QIcon from PyQt4.QtGui import QFont from PyQt4.QtGui import QFrame from PyQt4.QtGui import QLabel from PyQt4.QtGui import QWidget from PyQt4.QtGui import QDialog from PyQt4.QtGui import QToolButton class ImageButton(QToolButton): def __init__(self, base, image, tooltip): QToolButton.__init__(self) icon = QIcon(base.get_image_path(image)) self.setIcon(icon) self.setToolTip(tooltip) self.setMaximumSize(24, 24) class HLine(QFrame): def __init__(self): QFrame.__init__(self) self.setFrameShape(QFrame.HLine) self.setFrameShadow(QFrame.Sunken) self.setMinimumHeight(20) class VLine(QFrame): def __init__(self): QFrame.__init__(self) self.setFrameShape(QFrame.VLine) self.setFrameShadow(QFrame.Sunken) self.setMinimumWidth(5) class ToggleButton(QToolButton): def __init__(self, base, image, text=None, tooltip=None): QToolButton.__init__(self) icon = QIcon(base.get_image_path(image)) self.setIcon(icon) self.setCheckable(True) if text: self.setText(text) self.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) self.setMaximumHeight(24) else: self.setMaximumSize(24, 24) if tooltip: self.setToolTip(tooltip) class ModalDialog(QDialog): def __init__(self, width, height): QDialog.__init__(self) self.setFixedSize(width, height) self.setWindowFlags(Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint) self.setModal(True) def is_accepted(self): return self.result() == QDialog.Accepted class Window(QWidget): def __init__(self, base, title): QWidget.__init__(self) self.setWindowTitle(title) self.base = base def __center_on_parent(self): geo = self.base.geometry() cx = geo.x() + (geo.width() / 2) cy = geo.y() + (geo.height() / 2) geo2 = self.geometry() fx = cx - (geo2.width() / 2) fy = cy - (geo2.height() / 2) self.setGeometry(fx,fy, geo2.width(), geo2.height()) def show(self): QWidget.show(self) self.__center_on_parent() class ErrorLabel(QLabel): def __init__(self): QLabel.__init__(self) font = QFont() font.setPointSize(10) self.setFont(font) self.setStyleSheet("QLabel {color: #f00}") turpial-3.0+dfsg.orig/turpial/ui/qt/filters.py0000644000000000000000000000661512254451436016361 0ustar # -*- coding: utf-8 -*- # Qt filters dislog for Turpial from PyQt4.QtGui import QLineEdit from PyQt4.QtGui import QListWidget from PyQt4.QtGui import QPushButton from PyQt4.QtGui import QHBoxLayout from PyQt4.QtGui import QVBoxLayout from turpial.ui.lang import i18n from turpial.ui.qt.widgets import Window class FiltersDialog(Window): def __init__(self, base): Window.__init__(self, base, i18n.get('filters')) self.setFixedSize(280, 360) self.expression = QLineEdit() self.expression.returnPressed.connect(self.__new_filter) self.new_button = QPushButton(i18n.get('add_filter')) self.new_button.setToolTip(i18n.get('create_a_new_filter')) self.new_button.clicked.connect(self.__new_filter) expression_box = QHBoxLayout() expression_box.addWidget(self.expression) expression_box.addWidget(self.new_button) self.list_ = QListWidget() self.list_.clicked.connect(self.__filter_clicked) self.delete_button = QPushButton(i18n.get('delete')) self.delete_button.setEnabled(False) self.delete_button.setToolTip(i18n.get('delete_selected_filter')) self.delete_button.clicked.connect(self.__delete_filter) self.clear_button = QPushButton(i18n.get('delete_all')) self.clear_button.setEnabled(False) self.clear_button.setToolTip(i18n.get('delete_all_filters')) self.clear_button.clicked.connect(self.__delete_all) button_box = QHBoxLayout() button_box.addStretch(1) button_box.addWidget(self.clear_button) button_box.addWidget(self.delete_button) layout = QVBoxLayout() layout.addLayout(expression_box) layout.addWidget(self.list_, 1) layout.addLayout(button_box) layout.setSpacing(5) layout.setContentsMargins(5, 5, 5, 5) self.setLayout(layout) self.__update() self.show() def __update(self): row = 0 self.expression.setText('') self.list_.clear() for expression in self.base.core.list_filters(): self.list_.addItem(expression) row += 1 self.__enable(True) self.delete_button.setEnabled(False) if row == 0: self.clear_button.setEnabled(False) self.expression.setFocus() def __filter_clicked(self, point): self.delete_button.setEnabled(True) self.clear_button.setEnabled(True) def __new_filter(self): expression = str(self.expression.text()) self.list_.addItem(expression) self.__save_filters() def __delete_filter(self): self.list_.takeItem(self.list_.currentRow()) self.__save_filters() def __delete_all(self): self.__enable(False) message = i18n.get('clear_filters_confirm') confirmation = self.base.show_confirmation_message(i18n.get('confirm_delete'), message) if not confirmation: self.__enable(True) return self.list_.clear() self.__save_filters() def __enable(self, value): self.list_.setEnabled(value) self.delete_button.setEnabled(value) self.clear_button.setEnabled(value) def __save_filters(self): filters = [] for i in range(self.list_.count()): filters.append(str(self.list_.item(i).text())) self.base.save_filters(filters) self.__update() turpial-3.0+dfsg.orig/turpial/ui/lang.py0000644000000000000000000002543012254451436015202 0ustar # -*- coding: utf-8 -*- # Module to handle i18n import os import gettext # Initialize gettext gettext_domain = 'turpial' # localedir definition in development mode if os.path.isdir(os.path.join(os.path.dirname(__file__), '..', 'i18n')): localedir = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'i18n')) trans = gettext.install(gettext_domain, localedir, unicode=1) else: trans = gettext.install(gettext_domain, unicode=1) STRINGS = { 'welcome': _('Welcome!'), 'twitter': 'Twitter', 'identica': 'Identi.ca', 'add_new_account': _('Add a new account'), 'to_start_using_turpial': _('to start using Turpial'), 'you_have_accounts_registered': _('You have accounts registered, now'), 'add_some_columns': _('add some columns'), 'update_status': _('Update status'), 'send_direct_message': _('Send direct message'), 'settings': _('Settings'), 'preferences': _('Preferences'), 'about_turpial': _('About Turpial'), 'search': _('Search'), 'account': _('Account'), 'accounts': _('Accounts'), 'columns': _('Columns'), 'authorize_turpial': _('Authorize Turpial'), 'type_the_pin': _('Type the PIN'), 'save': _('Save'), 'copy_the_pin': _('Authorize Turpial and copy the PIN in the text box'), 'user_profile': _("User Profile"), 'bio': _("Bio"), 'location': _("Location"), 'web': _("Web"), 'tweets': _('Tweets'), 'following': _('Following'), 'followers': _('Followers'), 'favorites': _('Favorites'), 'criteria': _('Criteria'), 'criteria_tooltip': _('Use hashtags, mentions or any text you want as search criteria'), 'select_friend_to_send_message': _('Select friend to send message'), 'friend': _('Friend'), 'select': _('Select'), 'load_friends_list': _('Load friends list'), 'whats_happening': _("What's happening?"), 'upload_image': _("Upload image"), 'short_urls': _("Short URLs"), 'update': _('Update'), 'delete_column': _("Delete Column"), 'now': _("now"), 'retweeted_by': _("Retweeted by"), 'new': _('New'), 'delete': _('Delete'), 'relogin': _('Relogin'), 'register_a_new_account': _('Register a new account'), 'delete_an_existing_account': _('Delete an existing account'), 'register_a_twitter_account': _('Register a Twitter account'), 'register_an_identica_account': _('Register an Identi.ca account'), 'no_registered_accounts': _('No registered accounts'), 'problems_registering_new_account': _('Problems registering a new account'), 'broadcast': _('Broadcast'), 'you_can_not_submit_an_empty_message': _("You can not submit an empty message"), 'message_too_long': _("Hey! That message is too long, it looks like a testament"), 'view_conversation': _("View conversation"), 'hide_conversation': _("Hide conversation"), 'reply': _('Reply'), 'quote': _('Quote'), 'retweet': _('Retweet'), 'mark_as_favorite': _('Mark as favorite'), 'remove_from_favorites': _('Remove from favorites'), 'reply_to': _('Reply to'), 'quoting': _('Quoting'), 'confirm_retweet': _('Confirm Retweet'), 'do_you_want_to_retweet_status': _('Do you want to retweet this status to all your friends?'), 'confirm_delete': _('Confirm Delete'), 'do_you_want_to_delete_status': _('Do you want to delete this status?'), 'do_you_want_to_delete_direct_message': _('Do you want to delete this direct message?'), 'loading': _('Loading...'), 'status_repeated': _('Status repeated'), 'status_deleted': _('Status deleted'), 'direct_message_deleted': _('Direct message deleted'), 'status_marked_as_favorite': _('Status marked as favorite'), 'status_removed_from_favorites': _('Status removed from favorites'), 'send_message_to': _('Send message to'), 'follow': _('Follow'), 'follow_requested': _('Follow requested'), 'unfollow': _('Unfollow'), 'mute': _("Mute"), 'unmute': _("Unmute"), 'block': _("Block"), 'report_as_spam': _("Report as spam"), 'this_is_you': _("This is you!"), 'conversation': _("Conversation"), 'quit': _('Quit'), 'in_progress': _("In progress..."), 'select_an_account_before_post': _("Select an account before post"), 'image_preview': _("Image Preview"), 'confirm_discard': _('Confirm Discard'), 'do_you_want_to_discard_message': _('Do you want to discard this message?'), 'info': _('Info'), 'recent': _('Recent'), 'delete_account_confirm': _("Do you really want to delete the account %s?"), 'messages_queue': _('Messages queue'), 'delete_selected_message': _('Delete selected message'), 'delete_all': _('Delete all'), 'delete_all_messages_in_queue': _('Delete all messages in queue'), 'message': _('Message'), 'delete_message_from_queue_confirm': _('Do you want to delete this message from the queue?'), 'clear_message_queue_confirm': _('Do you want to clear the queue?'), 'messages_will_be_send': _('Messages will be send every %s as long as Turpial remain open'), 'next_message_should_be_posted_in': _('Next message should be posted in'), 'minute': _("minute"), 'minutes': _("minutes"), 'add_to_queue': _('Add to Queue'), 'about_description': _('Microblogging client written in Python'), 'you_are_now_following': _("You are now following @%s"), 'you_are_no_longer_following': _("You are no longer following @%s"), 'has_been_reported_as_spam': _("@%s has been reported as spam"), 'has_been_blocked': _("@%s has been blocked"), 'has_been_muted': _("@%s has been muted"), 'has_been_unmuted': _("@%s has been unmuted"), 'message_from_queue_has_been_posted': _('Message from queue has been posted'), 'close': _('Close'), 'general': _('General'), 'notifications': _('Notifications'), 'services': _('Services'), 'web_browser': _('Web Browser'), 'filters': _('Filters'), 'proxy': _('Proxy'), 'advanced': _('Advanced'), 'general_tab_description': _("Adjust update frecuency and other general parameters"), 'notifications_tab_description': _("Select the notifications you want to receive from Turpial"), 'web_browser_tab_description': _('Setup your favorite web browser to open links'), 'services_tab_description': _("Select your preferred service to short URLs and upload images"), 'proxy_tab_description': _("Proxy settings for Turpial (Need Restart)"), 'advanced_tab_description': _("Advanced options. Please, keep away unless you know what you are doing"), 'update_frecuency': _("Update frecuency"), 'queue_frecuency': _("Queue frecuency"), 'statuses_per_column': _("Statuses per column"), 'minimize_on_close': _("Minimize on close"), 'notify_on_updates': _("Notify on updates"), 'notify_on_actions': _("Notify on actions"), 'sound_on_login': _("Sound on login"), 'sound_on_updates': _("Sound on updates"), 'use_default_browser': _("Use default browser"), 'set_custom_browser': _("Set custom browser"), 'command': _("Command"), 'clean_cache': _("Clean cache"), 'delete_all_files_in_cache': _("Delete all files in cache"), 'restore_config_to_default': _("Restore configuration to default"), 'restore_config': _("Restore config"), 'socket_timeout': _("Socket timeout"), 'show_avatars': _("Show user avatars"), 'type': _("Type"), 'host': _("Host"), 'port': _("Port"), 'with_authentication': _("With authentication"), 'username': _("Username"), 'password': _("Password"), 'filters': _("Filters"), 'add_filter': _("Add filter"), 'create_a_new_filter': _("Create a new filter"), 'delete_selected_filter': _("Delete selected filter"), 'delete_all_filters': _("Delete all filters"), 'clear_filters_confirm': _('Do you want to clear all the filters?'), 'error_loading_image': _("Error loading image"), 'error_loading_conversation': _("Error loading conversation"), 'error_updating_column': _("Error updating column"), 'error_repeating_status': _("Error repeating status"), 'error_deleting_status': _("Error deleting status"), 'error_marking_status_as_favorite': _("Error marking status as favorite"), 'error_unmarking_status_as_favorite': _("Error unmarking status as favorite"), 'error_posting_status': _("Error posting status"), 'problems_loading_user_profile': _("Problems loading user profile"), 'having_trouble_to_follow_user': _("Having some troubles to follow this user"), 'having_trouble_to_unfollow_user': _("Having some troubles to unfollow this user"), 'could_not_block_user': _("Uh oh, I could not block this user"), 'having_issues_reporting_user_as_spam': _("Having issues reporting this user as spam"), 'can_not_send_direct_message': _("Can not send direct message"), 'error_shorting_url': _("Error shorting URL"), 'error_uploading_image': _("Error uploading image"), 'new_tweet_updated': _("1 new tweet updated"), 'new_tweets_updated': _("%s new tweets updated"), 'test': _("Test"), 'open': _("Open"), 'update_frecuency_tooltip': _("Set how often are updated the columns"), 'queue_frecuency_tooltip': _("Set how often are posted messages from the queue"), 'minimize_on_close_tooltip': _("Send Turpial to system tray instead of closing"), 'notify_on_updates_toolip': _("Display system notifications when you get updates"), 'notify_on_actions_toolip': _("Display system notifications when you perform action like follow, block, etc"), 'sound_on_login_tooltip': _("Play sounds at startup"), 'sound_on_updates_tooltip': _("Play sounds when you get updates"), 'socket_timeout_tooltip': _("Set the timeout to wait before closing the connection"), 'show_avatars_tooltip': _("When selected Turpial show user avatars, Otherwise it will show a black box (recommended for slow or limited internet connections)"), 'confirm_restore': _("Confirm restore"), 'do_you_want_to_restore_config': _("Do you want to restore your configuration to default? Turpial will be closed and must be restarted after this operation"), 'config_restored_successfully': _("Configuration restored to default successfully. Please, restart Turpial"), 'that_account_does_not_exist': _("Wait! That account does not exist"), 'hi_there': _("Hi there!"), 'give_me_a_minute': _("Give me a minute, I am shaking my feathers and stretching my wings..."), 'confirm_close': _("Confirm close"), 'do_you_want_to_close_turpial': _("Do you want to close Turpial?"), 'oh_oh': _("Uh oh..."), 'something_terrible_happened': _("Something terrible happened, I could not reach the Internet"), 'try_again': _("Try again"), #'i_couldnt_update_status': _("Oh oh... I couldn't update your status"), #'couldnt_shrink_urls': _("Oops... I couldn't shrink all URLs"), } class i18n: @staticmethod def get(key): try: return STRINGS[key] except KeyError: return key turpial-3.0+dfsg.orig/turpial/ui/util.py0000644000000000000000000000253212254451436015234 0ustar # -*- coding: utf-8 -*- # Utilities for Turpial interfaces import xml.sax.saxutils as saxutils from libturpial.common.tools import * try: # TODO: Implement this function for other platforms if detect_os() == OS_LINUX: import ctypes libc = ctypes.CDLL('libc.so.6') libc.prctl(15, 'turpial', 0, 0) except ImportError, exc: print exc INTERFACES = {} DEFAULT_INTERFACE = None # Load gtk3 #try: # from turpial.ui.gtk.main import Main as _GTK # INTERFACES['gtk'] = _GTK # DEFAULT_INTERFACE = DEFAULT_INTERFACE or 'gtk' #except ImportError, exc: # print 'Could not initialize GTK interface.' # print exc # Load qt try: from turpial.ui.qt.main import Main as _QT INTERFACES['qt'] = _QT DEFAULT_INTERFACE = DEFAULT_INTERFACE or 'qt' except ImportError, exc: print 'Could not initialize QT interface.' print exc # Load cmd try: from turpial.ui.cmd.main import Main as _CMD INTERFACES['cmd'] = _CMD DEFAULT_INTERFACE = DEFAULT_INTERFACE or 'cmd' except ImportError, exc: print 'Could not initialize CMD interface.' print exc def available_interfaces(): return ', '.join(INTERFACES.keys()) def unescape_text(text): text = saxutils.unescape(text) text = text.replace('"', '"') text = text.replace('\r\n', ' ') text = text.replace('\n', ' ') return text turpial-3.0+dfsg.orig/turpial/ui/cmd/0000755000000000000000000000000012254451540014442 5ustar turpial-3.0+dfsg.orig/turpial/ui/cmd/__init__.py0000644000000000000000000000000012254451436016545 0ustar turpial-3.0+dfsg.orig/turpial/ui/cmd/main.py0000644000000000000000000006570512254451436015761 0ustar # -*- coding: utf-8 -*- """Shell interface for Turpial""" # # Author: Wil Alvarez (aka Satanas) # 26 Jun, 2011 import cmd import getpass import logging VERSION = '2.0' INTRO = [ 'Welcome to Turpial (shell mode).', 'Type "help" to get a list of available commands.', 'Type "help " to get a detailed help about that command' ] ARGUMENTS = { 'account': ['add', 'edit', 'delete', 'list', 'change', 'default'], 'status': ['update', 'reply', 'delete', 'conversation'], 'profile': ['me', 'user', 'update'], 'friend': ['list', 'follow', 'unfollow', 'block', 'unblock', 'spammer', 'check'], 'direct': ['send', 'delete'], 'favorite': ['mark', 'unmark'], } class Main(cmd.Cmd): def __init__(self, core): cmd.Cmd.__init__(self) self.log = logging.getLogger('Turpial:CMD') self.prompt = 'turpial> ' self.intro = '\n'.join(INTRO) self.core = core self.account = None def show_main(self): pass def main_loop(self): try: self.cmdloop() except KeyboardInterrupt: self.do_exit() except EOFError: self.do_exit() def __validate_index(self, index, array, blank=False): try: a = array[int(index)] return True except IndexError: return False except ValueError: if blank and index == '': return True elif not blank and index == '': return False elif blank and index != '': return False except TypeError: if index is None: return False def __validate_accounts(self): if len(self.core.list_accounts()) > 0: return True print "You don't have any registered account. Run 'account add' command" return False def __validate_default_account(self): if self.account: return True print "You don't have a default account. Run 'account change' command" return False def __validate_arguments(self, arg_array, value): if value in arg_array: return True else: print 'Invalid Argument' return False def __build_message_menu(self): text = raw_input('Message: ') if text == '': print 'You must write something to post' return None if len(text) > 140: trunc = raw_input ('Your message has more than 140 characters. Do you want truncate it? [Y/n]: ') if trunc.lower() == 'y' or trunc == '': return text[:140] return None return text def __build_accounts_menu(self, _all=False): if len(self.core.list_accounts()) == 1: return self.core.list_accounts()[0] index = None while 1: accounts = self.__show_accounts() if _all: index = raw_input('Select account (or Enter for all): ') else: index = raw_input('Select account: ') if not self.__validate_index(index, accounts, _all): print "Invalid account" else: break if index == '': return '' else: return accounts[int(index)] def __build_password_menu(self, account): passwd = None while 1: passwd = getpass.unix_getpass("Password for '%s' in '%s': " % ( account.split('-')[0], account.split('-')[1])) if passwd: return passwd else: print "Password can't be blank" def __build_change_account_menu(self): if len(self.core.list_accounts()) == 1: if self.account: print "Your unique account is already your default" else: self.__add_first_account_as_default() elif len(self.core.list_accounts()) > 1: while 1: accounts = self.__show_accounts() index = raw_input('Select you new default account (or Enter for keep current): ') if index == '': print "Default account remain with no changes" return True if not self.__validate_index(index, accounts): print "Invalid account" else: break self.account = accounts[int(index)] print "Set %s in %s as your new default account" % ( self.account.split('-')[0], self.account.split('-')[1]) def __build_protocols_menu(self): index = None protocols = self.core.list_protocols() while 1: print "Available protocols:" for i in range(len(protocols)): print "[%i] %s" % (i, protocols[i]) index = raw_input('Select protocol: ') if not self.__validate_index(index, protocols): print "Invalid protocol" else: break return protocols[int(index)] def __build_confirm_menu(self, message): confirm = raw_input(message + ' [y/N]: ') if confirm.lower() == 'y': return True else: return False def __user_input(self, message, blank=False): while 1: text = raw_input(message) if text == '' and not blank: print "You can't leave this field blank" continue break return text def __add_first_account_as_default(self): self.account = self.core.list_accounts()[0] print "Selected account %s in %s as default (*)" % ( self.account.split('-')[0], self.account.split('-')[1]) def __show_accounts(self): if len(self.core.list_accounts()) == 0: print "There are no registered accounts" return accounts = [] print "Available accounts:" for acc in self.core.list_accounts(): ch = '' if acc == self.account: ch = ' (*)' print "[%i] %s - %s%s" % (len(accounts), acc.split('-')[0], acc.split('-')[1], ch) accounts.append(acc) return accounts def __show_profiles(self, people): if not statuses: print "There are no profiles to show" return if people.code > 0: print people.errmsg return for p in people: protected = '' if p.protected else '' following = '' if p.following else '' header = "@%s (%s) %s %s" % (p.username, p.fullname, following, protected) print header print '-' * len(header) print "URL: %s" % p.url print "Location: %s" % p.location print "Bio: %s" % p.bio if p.last_update: print "Last: %s" % p.last_update print '' def __show_statuses(self, statuses): if not statuses: print "There are no statuses to show" return if statuses.code > 0: print statuses.errmsg return count = 1 for status in statuses: text = status.text.replace('\n', ' ') inreply = '' client = '' if status.in_reply_to_user: inreply = ' in reply to %s' % status.in_reply_to_user if status.source: client = ' from %s' % status.source.name print "%d. @%s: %s (id: %s)" % (count, status.username, text, status.id_) print "%s%s%s" % (status.datetime, client, inreply) if status.reposted_by: users = '' for u in status.reposted_by: users += u + ' ' print 'Retweeted by %s' % status.reposted_by print count += 1 def __process_login(self, acc): if not self.core.has_stored_passwd(acc): passwd = self.__build_password_menu(acc) username = acc.split('-')[0] protocol = acc.split('-')[1] self.core.register_account(username, protocol, passwd) rtn = self.core.login(acc) if rtn.code > 0: print rtn.errmsg return auth_obj = rtn.items if auth_obj.must_auth(): print "Please visit %s, authorize Turpial and type the pin returned" % auth_obj.url pin = self.__user_input('Pin: ') self.core.authorize_oauth_token(acc, pin) rtn = self.core.auth(acc) if rtn.code > 0: print rtn.errmsg else: print 'Logged in with account %s' % acc.split('-')[0] def default(self, line): print '\n'.join(['Command not found.', INTRO[1], INTRO[2]]) def emptyline(self): pass def do_account(self, arg): if not self.__validate_arguments(ARGUMENTS['account'], arg): self.help_account(False) return False if arg == 'add': username = raw_input('Username: ') password = getpass.unix_getpass('Password: ') remember = self.__build_confirm_menu('Remember password') protocol = self.__build_protocols_menu() acc_id = self.core.register_account(username, protocol, password, remember) print 'Account added' if len(self.core.list_accounts()) == 1: self.__add_first_account_as_default() elif arg == 'edit': if not self.__validate_default_account(): return False password = getpass.unix_getpass('New Password: ') username = self.account.split('-')[0] protocol = self.account.split('-')[1] remember = self.__build_confirm_menu('Remember password') self.core.register_account(username, protocol, password, remember) print 'Account edited' elif arg == 'delete': if not self.__validate_accounts(): return False account = self.__build_accounts_menu() conf = self.__build_confirm_menu('Do you want to delete account %s?' % account) if not conf: print 'Command cancelled' return False del_all = self.__build_confirm_menu('Do you want to delete all data?') self.core.unregister_account(account, del_all) if self.account == account: self.account = None print 'Account deleted' elif arg == 'change': if not self.__validate_accounts(): return False self.__build_change_account_menu() elif arg == 'list': self.__show_accounts() elif arg == 'default': print "Your default account is %s in %s" % ( self.account.split('-')[0], self.account.split('-')[1]) def help_account(self, desc=True): text = 'Manage user accounts' if not desc: text = '' print '\n'.join([text, 'Usage: account \n', 'Possible arguments are:', ' add:\t\t Add a new user account', ' edit:\t\t Edit an existing user account', ' delete:\t Delete a user account', ' list:\t\t Show all registered accounts', ' default:\t Show default account', ]) def do_login(self, arg): if not self.__validate_accounts(): return False _all = True if len(self.core.list_accounts()) > 1: _all = self.__build_confirm_menu('Do you want to login with all available accounts?') if _all: work = False for acc in self.core.list_accounts(): if self.core.is_account_logged_in(acc): continue work = True self.__process_login(acc) if not work: print "Already logged in with all available accounts" else: acc = self.__build_accounts_menu() self.__process_login(acc) def help_login(self): print 'Login with one or many accounts' def do_profile(self, arg): if not self.__validate_arguments(ARGUMENTS['profile'], arg): self.help_profile(False) return False if not self.__validate_default_account(): return False if arg == 'me': profile = self.core.get_own_profile(self.account) if profile is None: print 'You must be logged in' else: self.__show_profiles(profile) elif arg == 'user': username = raw_input('Type the username: ') if username == '': print 'You must specify a username' return False profile = self.core.get_user_profile(self.account, username) if profile is None: print 'You must be logged in' else: self.__show_profiles(profile) elif arg == 'update': args = {} name = raw_input('Type your name (ENTER for none): ') bio = raw_input('Type your bio (ENTER for none): ') url = raw_input('Type your url (ENTER for none): ') location = raw_input('Type your location (ENTER for none): ') if name != '': args['name'] = name if bio != '': args['description'] = bio if url != '': args['url'] = url if location != '': args['location'] = location result = self.core.update_profile(self.account, args) if result.code > 0: print result.errmsg else: print 'Profile updated' def help_profile(self, desc=True): text = 'Manage user profile' if not desc: text = '' print '\n'.join([text, 'Usage: profile \n', 'Possible arguments are:', ' me:\t\t Show own profile', ' user:\t\t Show profile for a specific user', ' update:\t Update own profile', ]) def do_status(self, arg): if not self.__validate_default_account(): return False if not self.__validate_arguments(ARGUMENTS['status'], arg): self.help_status(False) return False if arg == 'update': message = self.__build_message_menu() if not message: print 'You must to write something' return False broadcast = self.__build_confirm_menu('Do you want to post the message in all available accounts?') if broadcast: for acc in self.core.list_accounts(): rtn = self.core.update_status(acc, message) if rtn.code > 0: print rtn.errmsg else: print 'Message posted in account %s' % acc.split('-')[0] else: rtn = self.core.update_status(self.account, message) if rtn.code > 0: print rtn.errmsg else: print 'Message posted in account %s' % self.account.split('-')[0] elif arg == 'reply': reply_id = raw_input('Status ID: ') if reply_id == '': print "You must specify a valid id" return False message = self.__build_message_menu() if not message: print 'You must to write something' return False rtn = self.core.update_status(self.account, message, reply_id) if rtn.code > 0: print rtn.errmsg else: print 'Reply posted in account %s' % self.account.split('-')[0] elif arg == 'delete': status_id = raw_input('Status ID: ') if status_id == '': print "You must specify a valid id" return False rtn = self.core.destroy_status(self.account, status_id) if rtn.code > 0: print rtn.errmsg else: print 'Status deleted' elif arg == 'conversation': status_id = raw_input('Status ID: ') if status_id == '': print "You must specify a valid id" return False rtn = self.core.get_conversation(self.account, status_id) if rtn.code > 0: print rtn.errmsg else: self.__show_statuses(rtn) def help_status(self, desc=True): text = 'Manage statuses for each protocol' if not desc: text = '' print '\n'.join([text, 'Usage: status \n', 'Possible arguments are:', ' update:\t Update status ', ' delete:\t Delete status', ' conversation:\t Show related tweets as conversation', ]) def do_column(self, arg): if not self.__validate_default_account(): return False lists = self.core.list_columns_per_account(self.account) if arg == '': self.help_column(False) elif arg == 'list': if len(lists) == 0: print "No column available. Maybe you need to login" return False print "Available columns:" for li in lists: print " %s" % li elif arg == 'public': rtn = self.core.get_public_timeline(self.account) self.__show_statuses(rtn) else: if len(lists) == 0: print "No column available. Maybe you need to login" return False if arg in lists: rtn = self.core.get_column_statuses(self.account, arg) self.__show_statuses(rtn) else: print "Invalid column '%s'" % arg def help_column(self, desc=True): text = 'Show user columns' if not desc: text = '' print '\n'.join([text, 'Usage: column \n', 'Possible arguments are:', ' list:\t\t List all available columns for that account', ' timeline:\t Show timeline', ' replies:\t Show replies', ' directs:\t Show directs messages', ' favorites:\t Show statuses marked as favorites', ' public:\t Show public timeline', ' :\t Show statuses for the user list with id ', ]) def do_friend(self, arg): if not self.__validate_default_account(): return False if not self.__validate_arguments(ARGUMENTS['friend'], arg): self.help_friend(False) return False if arg == 'list': friends = self.core.get_friends(self.account) if friends.code > 0: print rtn.errmsg return False if len(friends) == 0: print "Hey! What's wrong with you? You've no friends" return False print "Friends list:" for fn in friends: print "+ @%s (%s)" % (fn.username, fn.fullname) elif arg == 'follow': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.follow(self.account, username) if rtn.code > 0: print rtn.errmsg return False print "Following %s" % user elif arg == 'unfollow': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.unfollow(self.account, username) if rtn.code > 0: print rtn.errmsg return False print "Not following %s" % user elif arg == 'block': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.block(self.account, username) if rtn.code > 0: print rtn.errmsg return False print "Blocking user %s" % username elif arg == 'unblock': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.unblock(self.account, username) if rtn.code > 0: print rtn.errmsg return False print "Unblocking user %s" % username elif arg == 'spammer': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.report_spam(self.account, username) if rtn.code > 0: print rtn.errmsg return False print "Reporting user %s as spammer" % username elif arg == 'check': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False rtn = self.core.is_friend(self.account, username) if rtn.code > 0: print rtn.errmsg return False if rtn.items: print "%s is following you" % username else: print "%s is not following you" % username def help_friend(self, desc=True): text = 'Manage user friends' if not desc: text = '' print '\n'.join([text, 'Usage: friend \n', 'Possible arguments are:', ' list:\t\t List all friends', ' follow:\t Follow user', ' unfollow:\t Unfollow friend', ' block:\t Block user', ' unblock:\t Unblock user', ' spammer:\t Report user as spammer', ' check:\t Verify if certain user is following you', ]) def do_direct(self, arg): if not self.__validate_default_account(): return False if not self.__validate_arguments(ARGUMENTS['direct'], arg): self.help_direct(False) return False if arg == 'send': username = raw_input('Username: ') if username == '': print "You must specify a valid user" return False message = self.__build_message_menu() if not message: print 'You must to write something' return False rtn = self.core.send_direct(self.account, username, message) if rtn.code > 0: print rtn.errmsg else: print 'Direct message sent' elif arg == 'delete': dm_id = raw_input('Direct message ID: ') if dm_id == '': print "You must specify a valid id" return False rtn = self.core.destroy_direct(self.account, dm_id) if rtn.code > 0: print rtn.errmsg else: print 'Direct message deleted' def help_direct(self, desc=True): text = 'Manage user direct messages' if not desc: text = '' print '\n'.join([text, 'Usage: direct \n', 'Possible arguments are:', ' send:\t\t Send direct message', ' delete:\t Destroy direct message', ]) def do_favorite(self, arg): if not self.__validate_default_account(): return False if not self.__validate_arguments(ARGUMENTS['favorite'], arg): self.help_status(False) return False if arg == 'mark': status_id = raw_input('Status ID: ') if status_id == '': print "You must specify a valid id" return False rtn = self.core.mark_favorite(self.account, status_id) if rtn.code > 0: print rtn.errmsg else: print 'Status marked as favorite' elif arg == 'unmark': status_id = raw_input('Status ID: ') if status_id == '': print "You must specify a valid id" return False rtn = self.core.unmark_favorite(self.account, status_id) if rtn.code > 0: print rtn.errmsg else: print 'Status unmarked as favorite' def help_favorite(self, desc=True): text = 'Manage favorite marks of statuses' if not desc: text = '' print '\n'.join([text, 'Usage: direct \n', 'Possible arguments are:', ' mark:\t\t Mark a status as favorite', ' unmark:\t Remove favorite mark from a status', ]) def do_search(self, arg=None): if not self.__validate_default_account(): return False if arg: self.help_search() return False query = raw_input('Type what you want to search for: ') rtn = self.core.search(self.account, query) self.__show_statuses(rtn) def help_search(self): print 'Search for a pattern' def do_trends(self, arg=None): if not self.__validate_default_account(): return False if arg: self.help_trends() return False trends = self.core.trends(self.account) if trends.code > 0: print trends.errmsg return False for trend in trends: print trend.title print "=" * len(trend.title) for topic in trend.items: promoted = '' if topic.promoted: promoted = '*' print "%s%s |" % (topic.name, promoted), print def help_trends(self): print 'Show global and local trends' def do_EOF(self, line): return self.do_exit('') def do_exit(self, line=None): print self.log.debug('Bye') return True def help_help(self): print 'Show help. Dah!' def help_exit(self): print 'Close the application' def help_EOF(self): print 'Close the application' def show_shorten_url(self, text): print "URL Cortada:", text turpial-3.0+dfsg.orig/turpial/ui/__init__.py0000644000000000000000000000000012254451436016002 0ustar turpial-3.0+dfsg.orig/turpial/ui/gtk/0000755000000000000000000000000012254451540014464 5ustar turpial-3.0+dfsg.orig/turpial/ui/gtk/column.py0000644000000000000000000004412512254451436016345 0ustar # -*- coding: utf-8 -*- # GTK3 widget to implement columns in Turpial import pdb import time import urllib2 from xml.sax.saxutils import unescape from gi.repository import Gtk from gi.repository import Gdk from gi.repository import Pango from gi.repository import GObject from gi.repository import GdkPixbuf from gi.repository import PangoCairo from turpial.ui.lang import i18n from libturpial.common import StatusType ICON_MARGIN = 5 class StatusesColumn(Gtk.VBox): def __init__(self, base, column): Gtk.VBox.__init__(self) self.base = base self.set_size_request(250, -1) #self.set_double_buffered(True) # Variables that defines column status self.last_id = None self.updating = False self.menu = None self.column = column self.status_ref = [] # Header #============================================================ # TODO: Implement factory for this images img = '%s.png' % column.protocol_id caption = "%s :: %s" % (column.account_id.split('-')[0], urllib2.unquote(column.column_name)) icon = Gtk.Image() icon.set_from_pixbuf(self.base.load_image(img, True)) icon.set_margin_top(ICON_MARGIN) icon.set_margin_right(ICON_MARGIN * 2) icon.set_margin_bottom(ICON_MARGIN) icon.set_margin_left(ICON_MARGIN) label = Gtk.Label() label.set_use_markup(True) label.set_justify(Gtk.Justification.LEFT) label.set_markup('%s' % (caption)) label.set_alignment(0, 0.5) btn_close = Gtk.Button() btn_close.set_image(self.base.load_image('action-delete.png')) btn_close.set_relief(Gtk.ReliefStyle.NONE) btn_close.set_tooltip_text(i18n.get('delete_column')) btn_close.connect('clicked', self.__delete_column, column.id_) self.btn_config = Gtk.Button() self.btn_config.set_image(self.base.load_image('action-refresh.png')) self.btn_config.set_relief(Gtk.ReliefStyle.NONE) self.btn_config.set_tooltip_text(i18n.get('column_options')) self.btn_config.connect('clicked', self.show_config_menu) self.connect('realize', self.__on_realize) self.spinner = Gtk.Spinner() inner_header = Gtk.HBox() inner_header.pack_start(icon, False, False, 0) inner_header.pack_start(label, True, True, 0) inner_header.pack_start(btn_close, False, False, 0) inner_header.pack_start(self.btn_config, False, False, 0) inner_header.pack_start(self.spinner, False, False, 0) header = Gtk.EventBox() header.add(inner_header) header.modify_bg(Gtk.StateType.NORMAL, Gdk.Color(0, 0, 0)) # Content #============================================================ self._list = Gtk.TreeView() self._list.set_headers_visible(False) #self._list.set_events(gtk.gdk.POINTER_MOTION_MASK) self._list.set_level_indentation(0) #self._list.set_resize_mode(gtk.RESIZE_IMMEDIATE) self.model = Gtk.ListStore( GdkPixbuf.Pixbuf, # avatar str, # id str, # username str, # plain text message str, # datetime str, # client bool, # favorited? bool, # repeated? bool, # own? bool, # protected? bool, # verified? str, # in_reply_to_id str, # in_reply_to_user str, # reposted_by Gdk.Color, # color int, # status type str, # account_id float, # unix timestamp object, #status ) # Sort by unix timestamp #self.model.set_sort_column_id(17, Gtk.SortType.DESCENDING) cell_avatar = Gtk.CellRendererPixbuf() cell_avatar.set_property('yalign', 0) cell_status = StatusCellRenderer(self.base, self._list) cell_status.set_property('wrap-mode', Pango.WrapMode.WORD_CHAR) cell_status.set_property('wrap-width', 260) cell_status.set_property('yalign', 0) cell_status.set_property('xalign', 0) column = Gtk.TreeViewColumn('tweets') column.set_alignment(0.0) column.pack_start(cell_avatar, False) column.pack_start(cell_status, True) column.set_attributes(cell_status, text=3, datetime=4, client=5, favorited=6, repeated=7, protected=9, verified=10, username=2, in_reply_to_user=12, reposted_by=13, cell_background_gdk=14, timestamp=17, entities=18) column.set_attributes(cell_avatar, pixbuf=0, cell_background_gdk=14) self._list.set_model(self.model) self._list.append_column(column) #self._list.connect("button-release-event", self.__on_click) #self.click_handler = self._list.connect("cursor-changed", self.__on_select) scroll = Gtk.ScrolledWindow() scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) scroll.add_with_viewport(self._list) scroll.set_margin_top(ICON_MARGIN) scroll.set_margin_right(ICON_MARGIN) scroll.set_margin_bottom(ICON_MARGIN) scroll.set_margin_left(ICON_MARGIN) content = Gtk.EventBox() content.add(scroll) self.pack_start(header, False, False, 0) self.pack_start(content, True, True, 0) self.show_all() self.btn_config.hide() self.spinner.show() def __delete_column(self, widget, column_id): self.base.delete_column(column_id) def __mark_favorite(self, child, status): if child.status.id_ != status.id_: return child.set_favorited_mark(True) def __unmark_favorite(self, child, status): if child.status.id_ != status.id_: return child.set_favorited_mark(False) def __mark_repeat(self, child, status): if child.status.id_ != status.id_: return child.set_repeated_mark(True) def __unmark_repeat(self, child, status): if child.status.id_ != status.id_: return child.set_repeated_mark(False) def __delete_status(self, child, status): if child.status.id_ != status.id_: return self._list.remove(child) def __refresh(self, widget, column_id): self.base.refresh_column(column_id) def __on_realize(self, widget, data=None): # Assuming that this code is only executed the first time you instance # a Status Column self.btn_config.hide() self.spinner.start() self.spinner.show() def clear(self): self._list.get_model().clear() def start_updating(self): pdb.set_trace() self.spinner.start() self.spinner.show() self.btn_config.hide() self.updating = True return self.last_id def stop_updating(self): pdb.set_trace() self.spinner.stop() self.spinner.hide() self.btn_config.show() self.updating = False def update(self, statuses): pdb.set_trace() num_to_del = 0 num_new_statuses = len(statuses) num_curr_statuses = len(self.status_ref) max_statuses = self.base.get_max_statuses_per_column() model = self._list.get_model() # Set last_id before reverse, that way we guarantee that last_id holds # the id for the newest status self.last_id = statuses[0].id_ # We need to reverse statuses because they come ordered as the newest first statuses.reverse() for status in statuses: # We don't insert duplicated statuses if status.id_ in self.status_ref: continue print ' Adding: %s' % status.text[:30] pix = self.base.factory.unknown_avatar() row = [pix, str(status.id_), status.username, status.text, status.datetime, status.source.name, status.favorited, status.repeated, status.is_own, status.protected, status.verified, str(status.in_reply_to_id), status.in_reply_to_user, status.reposted_by, None, StatusType.NORMAL, status.account_id, status.timestamp, status.entities] # We ensure that status is inserted at top model.prepend(row) self.status_ref.insert(0, status.id_) num_curr_statuses += 1 # We only delete statuses if we overpass the max allowed if (num_curr_statuses) > max_statuses: num_to_del = num_curr_statuses - max_statuses ids_to_del = self.status_ref[-num_to_del:] for id_ in ids_to_del: iter_ = model.get_iter_first() while iter_: if model.get_value(iter_, 1) == str(id_): print ' Deleting: %s' % model.get_value(iter_, 3)[:30] model.remove(iter_) index = self.status_ref.index(id_) del(self.status_ref[index]) num_curr_statuses -= 1 break iter_ = self.model.iter_next(iter_) print ' %i statuses after update' % num_curr_statuses #self.mark_all_as_read() #self.__set_last_time() #if self.get_vadjustment().get_value() == 0.0: # self.list.scroll_to_cell((0,)) #self.click_handler = self.list.connect("cursor-changed", self.__on_select) ###def mark_favorite(self, status): ### self._list.foreach(self.__mark_favorite, status) ###def unmark_favorite(self, status): ### self._list.foreach(self.__unmark_favorite, status) ###def mark_repeat(self, status): ### self._list.foreach(self.__mark_repeat, status) ###def unmark_repeat(self, status): ### self._list.foreach(self.__unmark_repeat, status) ###def delete_status(self, status): ### self._list.foreach(self.__delete_status, status) def show_config_menu(self, widget): notif = Gtk.CheckMenuItem(i18n.get('notificate')) sound = Gtk.CheckMenuItem(i18n.get('sound')) refresh = Gtk.MenuItem(i18n.get('manual_update')) refresh.connect('activate', self.__refresh, self.column.id_) self.menu = Gtk.Menu() self.menu.append(sound) self.menu.append(notif) self.menu.append(refresh) self.menu.show_all() self.menu.popup(None, None, None, None, 0, Gtk.get_current_event_time()) class StatusCellRenderer(Gtk.CellRendererText): username = GObject.property(type=str, default='') datetime = GObject.property(type=str, default='') client = GObject.property(type=str, default='') favorited = GObject.property(type=bool, default=False) repeated = GObject.property(type=bool, default=False) protected = GObject.property(type=bool, default=False) verified = GObject.property(type=bool, default=False) in_reply_to_user = GObject.property(type=str, default='') reposted_by = GObject.property(type=str, default='') timestamp= GObject.property(type=float) entities = GObject.property(type=object) HEADER_PADDING = MESSAGE_PADDING = 4 FOOTER_PADDING = 2 def __init__(self, base, treeview): GObject.GObject.__init__(self) self.base = base #self._layout = treeview.create_pango_layout('') # With this, we accumulate the width of each part of header self.accum_header_width = 0 # This holds the total height for a given status self.total_height = 0 def __highlight_elements(self, text): for elements in self.get_property('entities').values(): for u in elements: cad = u'%s' % ( self.base.get_color_scheme('links'), u.display_text) text = text.replace(u.search_for, cad) return text def __render_reposted_icon(self, cr, cell_area): if not self.get_property('reposted_by'): self.accum_header_width += self.HEADER_PADDING return y = cell_area.y x = cell_area.x + self.HEADER_PADDING icon = self.base.factory.reposted_mark() Gdk.cairo_set_source_pixbuf(cr, icon, x, y) self.accum_header_width += icon.get_width() + self.HEADER_PADDING cr.paint() return def __render_username(self, context, cr, cell_area, layout): username = self.get_property('username').decode('utf-8') y = cell_area.y x = cell_area.x + self.accum_header_width user = '%s' % ( self.base.get_color_scheme('links'), username) layout.set_markup(user, -1) inkRect, logicalRect = layout.get_pixel_extents() self.accum_header_width += logicalRect.width + self.HEADER_PADDING self.total_height = 20 context.save() Gtk.render_layout(context, cr, x, y, layout) context.restore() return def __render_protected_icon(self, cr, cell_area): if not self.get_property('protected'): return y = cell_area.y x = cell_area.x + self.accum_header_width icon = self.base.factory.protected_mark() Gdk.cairo_set_source_pixbuf(cr, icon, x, y) self.accum_header_width += icon.get_width() + self.HEADER_PADDING cr.paint() return def __render_verified_icon(self, cr, cell_area): if not self.get_property('verified'): return y = cell_area.y x = cell_area.x + self.accum_header_width icon = self.base.factory.verified_mark() Gdk.cairo_set_source_pixbuf(cr, icon, x, y) # TODO: Do it with cairo_context.move_to self.accum_header_width += icon.get_width() + self.HEADER_PADDING cr.paint() return def __render_message(self, context, cr, cell_area, layout): y = cell_area.y + self.total_height x = cell_area.x + self.MESSAGE_PADDING text = self.get_property('text').decode('utf-8') #escaped_text = GObject.markup_escape_text(text) pango_text = u'%s' % text pango_text = self.__highlight_elements(pango_text) layout.set_markup(pango_text, -1) inkRect, logicalRect = layout.get_pixel_extents() self.total_height += logicalRect.height + self.MESSAGE_PADDING context.save() Gtk.render_layout(context, cr, x, y, layout) context.restore() return def __render_datetime(self, context, cr, cell_area, layout): #datetime = self.get_property('datetime').decode('utf-8') # Ported to base datetime = self.base.humanize_timestamp(self.get_property('timestamp')) in_reply_to_user = self.get_property('in_reply_to_user') y = cell_area.y + self.total_height x = cell_area.x + self.MESSAGE_PADDING if in_reply_to_user: pango_text = u'%s %s %s' % ( datetime, i18n.get('in_reply_to'), in_reply_to_user) else: pango_text = u'%s' % datetime layout.set_markup(pango_text, -1) inkRect, logicalRect = layout.get_pixel_extents() self.total_height += logicalRect.height + self.FOOTER_PADDING context.save() Gtk.render_layout(context, cr, x, y, layout) context.restore() return def __render_reposted_by(self, context, cr, cell_area, layout): reposted_by = self.get_property('reposted_by') if not reposted_by: return y = cell_area.y + self.total_height x = cell_area.x + self.MESSAGE_PADDING reposted_by = reposted_by.decode('utf-8') pango_text = u'%s %s' % ( i18n.get('retweeted_by'), reposted_by) layout.set_markup(pango_text, -1) inkRect, logicalRect = layout.get_pixel_extents() self.total_height += logicalRect.height + self.FOOTER_PADDING context.save() Gtk.render_layout(context, cr, x, y, layout) context.restore() return def do_set_property(self, pspec, value): setattr(self, pspec.name, value) def do_get_property(self, pspec): return getattr(self, pspec.name) #def do_get_preferred_size(self, treeview): def do_get_preferred_height_for_width(self, treeview, width): column = treeview.get_column(0) column_width = column.get_width() - 50 text = self.get_property('text') text = text.decode('utf-8') font = Pango.FontDescription('Sans') layout = treeview.create_pango_layout('') layout.set_wrap(Pango.WrapMode.WORD) layout.set_font_description(font) layout.set_width(Pango.SCALE * column_width) layout.set_text(self.get_property('text'), -1) inkRect, logicalRect = layout.get_pixel_extents() height = 40 if self.get_property('reposted_by'): height += 15 height += logicalRect.height #print 'calculating height ******************', width, column_width, height return height, height def do_render(self, cr, widget, bg_area, cell_area, flags): # Initialize values self.accum_header_width = 0 self.total_height = 0 context = widget.get_style_context() xpad = self.get_property('xpad') ypad = self.get_property('ypad') # Setting up font and layout font = Pango.FontDescription('Sans') layout = PangoCairo.create_layout(cr) layout.set_wrap(Pango.WrapMode.WORD) layout.set_font_description(font) layout.set_width(Pango.SCALE * cell_area.width) context.save() # Render header self.__render_reposted_icon(cr, cell_area) self.__render_username(context, cr, cell_area, layout) self.__render_protected_icon(cr, cell_area) self.__render_verified_icon(cr, cell_area) # Render body self.__render_message(context, cr, cell_area, layout) self.__render_datetime(context, cr, cell_area, layout) self.__render_reposted_by(context, cr, cell_area, layout) context.restore() return turpial-3.0+dfsg.orig/turpial/ui/gtk/statuswidget.py0000644000000000000000000002153212254451436017574 0ustar # -*- coding: utf-8 -*- # GTK3 widget to implement statuses in Turpial import re from gi.repository import Gtk from gi.repository import Gdk from gi.repository import Pango from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from turpial.ui.gtk.common import * from turpial.ui.gtk.statusmenu import StatusMenu #from turpial.ui.gtk.imagebutton import ImageButton from turpial.ui.gtk.markuplabel import MarkupLabel class StatusWidget(Gtk.EventBox): def __init__(self, base, status): Gtk.EventBox.__init__(self) self.base = base self.status = status self.set_margin_bottom(OUTTER_BOTTOM_MARGIN) self.modify_bg(Gtk.StateType.NORMAL, Gdk.Color(65535, 65535, 65535)) # Variables to control work in progress over the status self.in_progress = { StatusProgress.FAVING: False, StatusProgress.UNFAVING: False, StatusProgress.RETWEETING: False, StatusProgress.UNRETWEETING: False, StatusProgress.DELETING: False, } self.avatar = Gtk.Image() self.avatar.set_margin_right(AVATAR_MARGIN) self.avatar_box = Gtk.Alignment() self.avatar_box.add(self.avatar) self.avatar_box.set(0.5, 0, -1, -1) self.favorited_mark = Gtk.Image() self.protected_mark = Gtk.Image() self.verified_mark = Gtk.Image() self.reposted_mark = Gtk.Image() self.repeated_mark = Gtk.Image() self.username = MarkupLabel(act_as_link=True) self.username.set_ellipsize(Pango.EllipsizeMode.END) self.status_text = MarkupLabel() self.footer = MarkupLabel() # Setting user image self.avatar.set_from_pixbuf(self.base.load_image('unknown.png', True)) # Building the status style user = '%s' % ( self.base.get_color_scheme('links'), status.username ) self.username.set_markup(user) text = status.text.replace('>', '>') text = text.replace('<', '<') pango_text = '%s' % escape_text_for_markup(text) pango_text = self.__highlight_urls(status, pango_text) pango_text = self.__highlight_hashtags(status, pango_text) pango_text = self.__highlight_groups(status, pango_text) pango_text = self.__highlight_mentions(status, pango_text) self.status_text.set_markup(pango_text) footer = '%s' % status.datetime if status.source: footer += ' %s %s' % (_('from'), status.source.name) if status.in_reply_to_user: footer += ' %s %s' % (_('in reply to'), status.in_reply_to_user) if status.reposted_by: footer += '\n%s %s' % (_('Retweeted by'), status.reposted_by) footer += '' self.footer.set_markup(footer) starbox = Gtk.HBox() starbox.pack_start(self.repeated_mark, False, False, 2) starbox.pack_start(self.favorited_mark, False, False, 2) staralign = Gtk.Alignment() staralign.set(1, -1, -1, -1) staralign.add(starbox) header = Gtk.HBox() header.pack_start(self.reposted_mark, False, False, 2) header.pack_start(self.username, False, False, 2) header.pack_start(self.verified_mark, False, False, 2) header.pack_start(self.protected_mark, False, False, 0) header.pack_start(staralign, True, True, 0) content = Gtk.VBox() content.pack_start(header, False, False, 0) content.pack_start(self.status_text, True, True, 0) content.pack_start(self.footer, False, False, 0) box = Gtk.HBox() box.pack_start(self.avatar_box, False, False, 0) box.pack_start(content, True, True, 0) bbox = Gtk.VBox() bbox.pack_start(box, True, True, 0) self.add(bbox) self.show_all() # After showing all widgets we set the marks self.set_favorited_mark(status.favorited) self.set_protected_mark(status.protected) self.set_verified_mark(status.verified) self.set_repeated_mark(status.repeated) self.set_reposted_mark(status.reposted_by) self.connect('button-release-event', self.__on_click) self.click_url_handler = self.status_text.connect('activate-link', self.__open_url) self.click_avatar_handler = self.avatar_box.connect('button-press-event', self.__on_click_avatar) self.click_username_handler = self.username.connect('button-release-event', self.__on_click_username) self.base.fetch_status_avatar(status, self.update_avatar) def __on_click_username(self, widget, event=None): print 'clicked username', widget, event def __on_click(self, widget, event=None, data=None): # Capture clicks for avatar if event.x <= 48 and event.y <= 48 and event.button == 1: self.__on_click_avatar() return True print event.x, event.y if event.button != 3: return False self.menu = StatusMenu(self.base, self.status, self.in_progress) self.menu.show_all() self.menu.popup(None, None, None, None, 0, Gtk.get_current_event_time()) def __on_click_avatar(self): self.base.show_user_avatar(self.status.account_id, self.status.username) def __highlight_urls(self, status, text): for url in status.entities['urls']: if url.url == None: url.url = url.search_for cad = "%s" % (escape_text_for_markup(url.url), escape_text_for_markup(url.display_text)) text = text.replace(url.search_for, cad) return text def __highlight_hashtags(self, status, text): for h in status.entities['hashtags']: url = "%s-search:%%23%s" % (self.status.account_id, h.display_text[1:]) cad = '%s' % (url, h.display_text) text = text.replace(h.search_for, cad) return text def __highlight_groups(self, status, text): for h in status.entities['groups']: cad = '%s' % (h.url, h.display_text) text = text.replace(h.search_for, cad) return text def __highlight_mentions(self, status, text): for h in status.entities['mentions']: args = "%s:%s" % (status.account_id, h.display_text[1:]) cad = '%s' % (args, h.display_text) pattern = re.compile(h.search_for, re.IGNORECASE) text = pattern.sub(cad, text) return text def __open_url(self, widget, url): if url.startswith('http'): self.base.open_url(url) elif url.startswith('hashtag'): column_id = url.replace('hashtags:', '') self.base.save_column(column_id) elif url.startswith('groups'): print "Opening groups" elif url.startswith('profile'): url = url.replace('profile:', '') account_id = url.split(':')[0] username = url.split(':')[1] self.base.show_user_profile(account_id, username) return True def __del__(self): print 'garbage collected' def release(self): self.avatar_box.disconnect(self.click_avatar_handler) self.username.disconnect(self.click_username_handler) self.status_text.disconnect(self.click_url_handler) def update(self, status): self.status = status # render again def update_avatar(self, response): if response.code == 0: pix = GdkPixbuf.Pixbuf.new_from_file_at_scale(response.items, 48, 48, True) self.avatar.set_from_pixbuf(pix) del pix def set_favorited_mark(self, value): if value: self.favorited_mark.set_from_pixbuf(self.base.load_image('mark-favorite.png', True)) else: self.favorited_mark.set_from_pixbuf(None) self.status.favorited = value def set_repeated_mark(self, value): if value: self.repeated_mark.set_from_pixbuf(self.base.load_image('mark-repeated.png', True)) else: self.repeated_mark.set_from_pixbuf(None) self.status.repeated = value def set_protected_mark(self, value): if value: self.protected_mark.set_from_pixbuf(self.base.load_image('mark-protected.png', True)) else: self.protected_mark.set_from_pixbuf(None) def set_verified_mark(self, value): if value: self.verified_mark.set_from_pixbuf(self.base.load_image('mark-verified.png', True)) else: self.verified_mark.set_from_pixbuf(None) def set_reposted_mark(self, value): if value: self.reposted_mark.set_from_pixbuf(self.base.load_image('mark-reposted.png', True)) else: self.reposted_mark.set_from_pixbuf(None) turpial-3.0+dfsg.orig/turpial/ui/gtk/proof.py0000644000000000000000000001174112112403377016165 0ustar import cairo from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject from gi.repository import GdkPixbuf GObject.threads_init() class CellTestRenderer(Gtk.CellRendererText): protected = GObject.property(type=bool, default=False) verified = GObject.property(type=bool, default=False) favorited = GObject.property(type=bool, default=False) def __init__(self, layout): GObject.GObject.__init__(self) self._layout = layout self.accumulative_width = 0 def _render_icon(self, cr, cell_area, xpad, ypad): self.accumulative_width = 0 icon = GdkPixbuf.Pixbuf.new_from_file('/tmp/mark-reposted.png') x = cell_area.x y = cell_area.y + ypad Gdk.cairo_set_source_pixbuf(cr, icon, x, y) self.accumulative_width += icon.get_width() del icon cr.paint() return def _render_username(self, text, context, cr, cell_area, layout, xpad, ypad): y = cell_area.y + ypad extent = cr.text_extents(text) x = cell_area.x + 2 + xpad + self.accumulative_width self.accumulative_width += extent[4] + (extent[4]/2) layout.set_markup(text, -1) #layout.set_markup('ola bale', -1) context.save() Gtk.render_layout(context, cr, x, y, layout) context.restore() return def _render_protected(self, cr, cell_area, xpad, ypad): icon = GdkPixbuf.Pixbuf.new_from_file('/tmp/mark-protected.png') x = cell_area.x + xpad + self.accumulative_width y = cell_area.y + ypad Gdk.cairo_set_source_pixbuf(cr, icon, x, y) del icon cr.paint() return def _render_verified(self, cr, cell_area, xpad, ypad): icon = GdkPixbuf.Pixbuf.new_from_file('/tmp/mark-verified.png') x = cell_area.x + xpad + self.accumulative_width y = cell_area.y + ypad Gdk.cairo_set_source_pixbuf(cr, icon, x, y) del icon cr.paint() return def do_set_property(self, pspec, value): setattr(self, pspec.name, value) def do_get_property(self, pspec): return getattr(self, pspec.name) def do_get_preferred_height_for_width(self, treeview, width): return 56, width def do_render(self, cr, widget, bg_area, cell_area, flags): context = widget.get_style_context() xpad = self.get_property('xpad') ypad = self.get_property('ypad') layout = self._layout text = self.get_property('text') print cell_area.width context.save() self._render_icon(cr, cell_area, xpad, ypad) self._render_username(text, context, cr, cell_area, layout, xpad, ypad) if self.get_property('protected'): self._render_protected(cr, cell_area, xpad, ypad) if self.get_property('verified'): self._render_verified(cr, cell_area, xpad, ypad) context.restore() return class AvatarTest(Gtk.Alignment): def __init__(self): Gtk.Alignment.__init__(self) def set_image(self, image): context = self.get_window().cairo_create() icon = GdkPixbuf.Pixbuf.new_from_file('/tmp/arch.png') context.set_source_pixbuf(icon) del icon class AvatarTest2(Gtk.DrawingArea): def __init__(self): Gtk.DrawingArea.__init__(self) self.connect('draw', self.draw) #self.image = cairo.ImageSurface.create_from_png('/tmp/arch.png') self.image = None def draw(self, widget, cr): if not self.image: return img_height = self.image.get_height() img_width = self.image.get_width() width_ratio = float(48) / float(img_width) height_ratio = float(48) / float(img_height) scale_xy = min(height_ratio, width_ratio) #cr.save() cr.scale(scale_xy, scale_xy) cr.set_source_surface(self.image) cr.paint() #cr.restore() def _cell_data_func_cb(col, cell, model, it, user_data): print model.get_value(it, 0) cell.props.markup = model.get_value(it, 0) #cell.set_property('markup', ) treeview = Gtk.TreeView() model = Gtk.ListStore(str, bool, bool) model.append(['epale', True, False]) model.append(['que dice', False, False]) model.append(['hola', False, True]) model.append(['mundo', False, False]) treeview.set_model(model) tr = CellTestRenderer(treeview.create_pango_layout('')) column = Gtk.TreeViewColumn('Columna 1') column.pack_start(tr, True) #column.set_cell_data_func(tr, _cell_data_func_cb) column.set_attributes(tr, markup=0, protected=1, verified=2) treeview.append_column(column) a = AvatarTest2() window = Gtk.Window() window.set_title('Proof of concept') window.set_size_request(250, 250) window.set_default_size(300, 480) window.set_position(Gtk.WindowPosition.CENTER) window.set_gravity(Gdk.Gravity.STATIC) window.connect('delete-event', Gtk.main_quit) window.add(treeview) #window.add(a) window.show_all() #a.set_image('/tmp/arch.png') if __name__ == "__main__": Gtk.main() turpial-3.0+dfsg.orig/turpial/ui/gtk/htmlview.py0000644000000000000000000001011712254451436016701 0ustar # -*- coding: utf-8 -*- # Widget for HTML view in Turpial # # Author: Wil Alvarez (aka Satanas) import os from gi.repository import Gtk from gi.repository import GLib from gi.repository import WebKit from gi.repository import GObject class HtmlView(Gtk.VBox): __gsignals__ = { "action-request": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, (GObject.TYPE_STRING, )), "link-request": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, (GObject.TYPE_STRING, )), "load-started": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, ()), "load-finished": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, ()), } def __init__(self, coding='utf-8'): Gtk.VBox.__init__(self, False) self.coding = coding self.uri = 'file://' + os.path.dirname(__file__) self.settings = WebKit.WebSettings() self.settings.set_property('enable-default-context-menu', False) self.settings.set_property('enable-developer-extras', True) self.settings.set_property('enable-plugins', True) self.settings.set_property('enable-java_applet', False) self.settings.set_property('enable-page-cache', True) self.settings.set_property('enable-file-access-from-file-uris', True) self.settings.set_property('enable-offline-web-application_cache', False) self.settings.set_property('enable-html5-local-storage', False) self.settings.set_property('enable-html5-database', False) self.settings.set_property('enable-xss-auditor', False) try: self.settings.set_property('enable-dns-prefetching', False) except TypeError: pass self.settings.set_property('enable-caret-browsing', False) self.settings.set_property('resizable-text-areas', False) self.settings.web_security_enabled = False try: self.settings.set_property('enable-accelerated-compositing', True) except TypeError: print "No support for accelerated compositing" self.view = WebKit.WebView() self.view.set_settings(self.settings) #Added new properties in this way cause 'from' is recognized as a key word self.view.get_settings().set_property('enable-universal-access-from-file-uris', True) self.view.connect('load-started', self.__started) self.view.connect('load-finished', self.__finished) self.view.connect('console-message', self.__console_message) self.view.connect('navigation-policy-decision-requested', self.__process) self.view.connect('new-window-policy-decision-requested', self.__on_new_window_requested); scroll = Gtk.ScrolledWindow() scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) scroll.set_shadow_type(Gtk.ShadowType.IN) scroll.add(self.view) self.pack_start(scroll, True, True, 0) def __on_new_window_requested(self, view, frame, request, decision, u_data): self.emit('link-request', request.get_uri()) def __console_message(self, view, message, line, source_id, data=None): #print "%s <%s:%i>" % (message, source_id, line) print "%s" % message return True def __process(self, view, frame, request, action, policy, data=None): url = request.get_uri() if url is None: pass elif url.startswith('cmd:'): policy.ignore() self.emit('action-request', url[4:]) elif url.startswith('link:'): policy.ignore() self.emit('link-request', url[5:]) policy.use() def __started(self, widget, frame): self.emit('load-started') def __finished(self, widget, frame): self.emit('load-finished') def load(self, url): GLib.idle_add(self.view.load_uri, url) def render(self, html): GLib.idle_add(self.view.load_string, html, "text/html", self.coding, self.uri) def execute(self, script): script = script.replace('\n', ' ') self.view.execute_script(script) def stop(self): self.view.stop_loading() GObject.type_register(HtmlView) turpial-3.0+dfsg.orig/turpial/ui/gtk/accounts.py0000644000000000000000000003456512254451436016676 0ustar # -*- coding: utf-8 -*- # GTK account manager for Turpial # # Author: Wil Alvarez (aka Satanas) import logging from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from turpial.ui.gtk.markuplabel import MarkupLabel from libturpial.common import LoginStatus log = logging.getLogger('Gtk') class AccountsDialog(Gtk.Window): def __init__(self, base): Gtk.Window.__init__(self) self.base = base self.set_title(i18n.get('accounts')) self.set_size_request(360, 320) self.set_resizable(False) self.set_icon(self.base.load_image('turpial.png', True)) self.set_transient_for(base) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.set_gravity(Gdk.Gravity.STATIC) self.connect('delete-event', self.__close) self.connect('key-press-event', self.__key_pressed) self.model = Gtk.ListStore(GdkPixbuf.Pixbuf, str, GdkPixbuf.Pixbuf, str, object) self.model.set_sort_column_id(1, Gtk.SortType.DESCENDING) icon = Gtk.CellRendererPixbuf() icon.set_property('yalign', 0.5) icon.set_property('xalign', 0.5) icon.set_padding(7,7) account = Gtk.CellRendererText() account.set_property('wrap-width', 260) account.set_property('yalign', 0.5) account.set_property('xalign', 0) status = Gtk.CellRendererPixbuf() status.set_property('yalign', 0.5) status.set_property('xalign', 0.5) status.set_padding(7,7) column = Gtk.TreeViewColumn('accounts') column.set_alignment(0.0) column.pack_start(icon, False) column.pack_start(account, True) column.pack_start(status, False) column.add_attribute(account, 'markup', 1) column.add_attribute(icon, 'pixbuf', 0) column.add_attribute(status, 'pixbuf', 2) self.acc_list = Gtk.TreeView() self.acc_list.set_headers_visible(False) #self.acc_list.set_events(gtk.gdk.POINTER_MOTION_MASK) self.acc_list.set_level_indentation(0) self.acc_list.set_resize_mode(Gtk.ResizeMode.IMMEDIATE) self.acc_list.set_model(self.model) self.acc_list.set_tooltip_column(0) self.acc_list.append_column(column) self.acc_list.connect("query-tooltip", self.__tooltip_query) ###self.acc_list.connect("cursor-changed", self.__on_select) select = self.acc_list.get_selection() select.connect('changed', self.__on_select) #self.acc_list.connect("button-release-event", self.__on_click) #self.click_handler = self.list.connect("cursor-changed", self.__on_select) scroll = Gtk.ScrolledWindow() scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) scroll.set_shadow_type(Gtk.ShadowType.IN) scroll.add(self.acc_list) self.btn_add = Gtk.Button(i18n.get('add')) self.btn_login = Gtk.Button(i18n.get('login')) self.btn_login.set_sensitive(False) self.btn_delete = Gtk.Button(i18n.get('delete')) self.btn_add.connect('clicked', self.__on_add) self.btn_delete.connect('clicked', self.__on_delete) self.btn_login.connect('clicked', self.__on_login) box_button = Gtk.HButtonBox() box_button.set_spacing(6) box_button.set_layout(Gtk.ButtonBoxStyle.END) box_button.pack_start(self.btn_delete, False, False, 0) box_button.pack_start(self.btn_login, False, False, 0) box_button.pack_start(self.btn_add, False, False, 0) vbox = Gtk.VBox(False) vbox.set_border_width(6) vbox.pack_start(scroll, True, True, 0) vbox.pack_start(box_button, False, False, 6) self.add(vbox) self.showed = False self.form = None def __close(self, widget, event=None): self.showed = False self.hide() return True def __key_pressed(self, widget, event): keyname = Gdk.keyval_name(event.keyval) if keyname == 'Escape': self.__close(widget) def __get_selected(self): select = self.acc_list.get_selection() if select is None: return None model, row = select.get_selected() if row is None: return None acc = model.get_value(row, 4) return acc def __tooltip_query(self, treeview, x, y, mode, tooltip): path = treeview.get_path_at_pos(x, y) if path: treepath, column = path[:2] model = treeview.get_model() iter_ = model.get_iter(treepath) text = model.get_value(iter_, 3) tooltip.set_text(text) return False def __on_select(self, widget): acc = self.__get_selected() if acc is None: self.btn_delete.set_sensitive(False) self.btn_login.set_sensitive(False) self.btn_login.set_label(i18n.get('login')) return if acc.logged_in == LoginStatus.NONE: self.btn_login.set_label(i18n.get('login')) self.btn_login.set_sensitive(True) self.btn_delete.set_sensitive(True) elif acc.logged_in == LoginStatus.IN_PROGRESS: self.btn_login.set_label(i18n.get('in_progress')) self.btn_login.set_sensitive(False) self.btn_delete.set_sensitive(False) elif acc.logged_in == LoginStatus.DONE: self.btn_login.set_label(i18n.get('logged_in')) self.btn_login.set_sensitive(False) self.btn_delete.set_sensitive(True) def __on_delete(self, widget): acc = self.__get_selected() if acc is None: return self.__lock(True) self.base.delete_account(acc.id_) def __on_login(self, widget): acc = self.__get_selected() if acc is None: return self.base.login(acc.id_) self.btn_login.set_label(i18n.get('in_progress')) self.btn_login.set_sensitive(False) def __on_add(self, widget): self.form = AccountForm(self.base, self) def __lock(self, value): value = not value self.acc_list.set_sensitive(value) self.btn_login.set_sensitive(value) self.btn_add.set_sensitive(value) self.btn_delete.set_sensitive(value) def update(self): if self.showed: self.model.clear() empty = True self.btn_login.set_sensitive(False) self.btn_delete.set_sensitive(False) for acc in self.base.get_all_accounts(): empty = False imagename = "%s.png" % acc.protocol_id pix = self.base.load_image(imagename, True) username = "%s" % acc.username status = '' status_pix = None if acc.logged_in == LoginStatus.NONE: status = i18n.get('disconnected') status_pix = self.base.load_image('mark-disconnected.png', True) elif acc.logged_in == LoginStatus.IN_PROGRESS: status = i18n.get('connecting...') status_pix = self.base.load_image('mark-connecting.png', True) elif acc.logged_in == LoginStatus.DONE: status = i18n.get('connected') status_pix = self.base.load_image('mark-connected.png', True) self.model.append([pix, username, status_pix, status, acc]) del pix del status_pix if empty: self.btn_login.set_label(i18n.get('login')) else: self.acc_list.set_cursor((0, )) def cancel_login(self, message): if self.form: # Delete account if wasn't configured properly iter_ = self.model.get_iter_first() # If this is the first account you try to add delete it, else loop # throught the model and see which ones are registered but are not # in the model if iter_ is None: try: self.base.delete_account(self.base.get_accounts_list()[0]) except: pass else: curr_acc = [] while iter_: acc = self.model.get_value(iter_, 4) curr_acc.append(acc.id_) iter_ = self.model.iter_next(iter_) for acc_id in self.base.get_accounts_list(): if acc_id not in curr_acc: self.base.delete_account(acc_id) self.form.cancel('' + message + '') self.update() def done_login(self): if self.form: self.form.done() return True return False def done_delete(self): self.__lock(False) self.update() def status_message(self, message): if self.form: self.form.set_loading_message(message) def show(self): if self.showed: self.present() else: self.showed = True self.update() self.show_all() def quit(self): self.destroy() # Update list after add account class AccountForm(Gtk.Window): def __init__(self, base, parent, user=None, pwd=None, protocol=None): Gtk.Window.__init__(self) self.base = base self.set_transient_for(parent) self.set_modal(True) self.set_title(i18n.get('create_account')) self.set_size_request(290, 200) self.set_resizable(False) self.set_position(Gtk.WindowPosition.CENTER) self.set_gravity(Gdk.Gravity.STATIC) self.connect('delete-event', self.__close) self.connect('key-press-event', self.__key_pressed) plabel = Gtk.Label(i18n.get('protocol')) plabel.set_alignment(0, 0.5) plist = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str) for p in self.base.get_protocols_list(): image = '%s.png' % p t_icon = self.base.load_image(image, True) plist.append([t_icon, p, p]) self.protocol = Gtk.ComboBox() self.protocol.set_model(plist) icon = Gtk.CellRendererPixbuf() txt = Gtk.CellRendererText() self.protocol.pack_start(icon, False) self.protocol.pack_start(txt, False) self.protocol.add_attribute(icon, 'pixbuf', 0) self.protocol.add_attribute(txt, 'markup', 1) self.username = Gtk.Entry() user_box = Gtk.HBox(False) user_box.pack_start(self.username, True, True, 0) self.password = Gtk.Entry() self.password.set_visibility(False) pass_box = Gtk.HBox(True) pass_box.pack_start(self.password, True, True, 0) self.cred_label = Gtk.Label(i18n.get('user_and_password')) self.cred_label.set_alignment(0, 0.5) cred_box = Gtk.VBox(False) cred_box.pack_start(self.cred_label, False, False, 0) cred_box.pack_start(user_box, False, False, 0) cred_box.pack_start(pass_box, False, False, 0) self.btn_signin = Gtk.Button(i18n.get('signin')) self.spinner = Gtk.Spinner() self.waiting_label = MarkupLabel(xalign=0.5) waiting_box = Gtk.HBox() waiting_box.pack_start(self.spinner, False, False, 10) waiting_box.pack_start(self.waiting_label, True, False, 0) vbox = Gtk.VBox(False) vbox.set_border_width(12) vbox.pack_start(plabel, False, False, 0) vbox.pack_start(self.protocol, False, False, 0) vbox.pack_start(Gtk.EventBox(), False, False, 6) vbox.pack_start(cred_box, True, True, 0) vbox.pack_start(waiting_box, False, False, 0) vbox.pack_start(self.btn_signin, False, False, 6) self.add(vbox) self.show_all() self.protocol.connect('changed', self.__on_change_protocol) self.password.connect('activate', self.__on_sign_in) self.btn_signin.connect('clicked', self.__on_sign_in) self.protocol.set_active(0) self.working = False self.spinner.hide() def __close(self, widget, event=None): if not self.working: self.destroy() return False else: return True def __key_pressed(self, widget, event): keyname = Gdk.keyval_name(event.keyval) if keyname == 'Escape': self.__close(widget) def __on_change_protocol(self, widget): index = widget.get_active() model = widget.get_model() if index < 0: return self.waiting_label.set_text('') protocol = model[index][1] if protocol == 'twitter': self.username.set_visible(False) self.password.set_visible(False) self.cred_label.set_visible(False) self.btn_signin.grab_focus() elif protocol == 'identica': self.username.set_visible(True) self.password.set_visible(True) self.cred_label.set_visible(True) self.username.grab_focus() def __on_sign_in(self, widget): self.working = True username = self.username.get_text() passwd = self.password.get_text() model = self.protocol.get_model() pindex = self.protocol.get_active() protocol = model[pindex][1] # Validate if protocol == 'identica': if username == '' or passwd == '': self.waiting_label.set_error_text(i18n.get('credentials_could_not_be_empty')) return True self.__lock() self.waiting_label.set_text(i18n.get('connecting')) self.spinner.show() self.spinner.start() self.base.save_account(username, protocol, passwd) def __lock(self): self.username.set_sensitive(False) self.password.set_sensitive(False) self.protocol.set_sensitive(False) self.btn_signin.set_sensitive(False) def __unlock(self): self.username.set_sensitive(True) self.password.set_sensitive(True) self.protocol.set_sensitive(True) self.btn_signin.set_sensitive(True) def cancel(self, message): self.working = False self.__unlock() self.waiting_label.set_error_text(message) self.spinner.stop() self.spinner.hide() def set_loading_message(self, message): self.waiting_label.set_text(message) def done(self): self.working = False self.destroy() turpial-3.0+dfsg.orig/turpial/ui/gtk/markuplabel.py0000644000000000000000000000210412254451436017336 0ustar # -*- coding: utf-8 -*- # GTK3 widget to implement labels with markup in Turpial from gi.repository import Gtk from gi.repository import Gdk from gi.repository import Pango from turpial.ui.gtk.common import * class MarkupLabel(Gtk.Label): def __init__(self, xalign=0, yalign=0.5, act_as_link=False): Gtk.Label.__init__(self) self.act_as_link = act_as_link self.set_use_markup(True) self.set_justify(Gtk.Justification.LEFT) self.set_alignment(xalign, yalign) self.set_line_wrap(True) self.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) def set_error_text(self, text): text = escape_text_for_markup(text) self.set_markup("%s" % text) # size='small' def set_handy_cursor(self): handy_cursor = Gdk.Cursor(Gdk.CursorType.HAND1) print handy_cursor self.get_window().set_cursor(handy_cursor) print self.get_window().get_cursor() def show(self): Gtk.Label.show(self) if self.act_as_link: self.set_handy_cursor() turpial-3.0+dfsg.orig/turpial/ui/gtk/profiles.py0000644000000000000000000002210012254451436016660 0ustar # -*- coding: utf-8 -*- # GTK profile dialog for Turpial # # Author: Wil Alvarez (aka Satanas) import logging from gi.repository import Gtk from gi.repository import Gdk from gi.repository import Pango from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from turpial.ui.gtk.common import * from turpial.ui.gtk.markuplabel import MarkupLabel log = logging.getLogger('Gtk') BORDER_WIDTH = 8 class ProfileDialog(Gtk.Window): STATUS_IDLE = 0 STATUS_LOADING = 1 STATUS_LOADED = 2 def __init__(self, base): Gtk.Window.__init__(self) self.base = base self.window_width = 300 self.set_title(i18n.get('user_profile')) self.set_default_size(self.window_width, 250) #self.set_resizable(False) self.set_icon(self.base.load_image('turpial.png', True)) self.set_transient_for(self.base) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.set_gravity(Gdk.Gravity.STATIC) self.connect('delete-event', self.__close) #self.connect('key-press-event', self.__key_pressed) self.profile_box = ProfileBox(self.base) # Error stuffs self.error_msg = Gtk.Label() self.error_msg.set_alignment(0.5, 0.5) self.spinner = Gtk.Spinner() self.loading_box = Gtk.Box(spacing=0) self.loading_box.set_orientation(Gtk.Orientation.VERTICAL) self.loading_box.pack_start(self.spinner, True, False, 0) self.loading_box.pack_start(self.error_msg, True,True, 0) self.showed = False def __close(self, widget, event=None): self.showed = False self.hide() return True def __key_pressed(self, widget, event): keyname = Gdk.keyval_name(event.keyval) if keyname == 'Escape': self.__close(widget) def __clear(self): current_child = self.get_child() if current_child: self.remove(current_child) self.status = self.STATUS_IDLE self.error_msg.hide() def loading(self): self.__clear() self.spinner.start() self.add(self.loading_box) self.status = self.STATUS_LOADING self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.show_all() def update(self, profile): self.__clear() self.add(self.profile_box) self.profile_box.update(profile) self.show_all() self.status = self.STATUS_LOADED self.present() def show(self, profile): if self.showed: self.present() else: self.showed = True self.show_all() self.update(profile) def error(self, error=''): if error: self.error_msg.set_label(error) else: self.error_msg.set_label(i18n.get('error_loading_profile')) self.spinner.stop() self.spinner.hide() def quit(self): self.destroy() class ProfileBox(Gtk.VBox): def __init__(self, base): Gtk.VBox.__init__(self, spacing=0) self.base = base self.avatar = Gtk.Image() self.avatar.set_margin_right(AVATAR_MARGIN) # This resize is to avoid bad redimentioning on parent window self.set_size_request(300, -1) avatar_box = Gtk.Alignment() avatar_box.add(self.avatar) avatar_box.set(0.5, 0, -1, -1) #avatar_box.connect('button-press-event', self.__on_click_avatar) self.favorited_mark = Gtk.Image() self.protected_mark = Gtk.Image() self.verified_mark = Gtk.Image() self.reposted_mark = Gtk.Image() self.repeated_mark = Gtk.Image() self.username = MarkupLabel() self.username.set_ellipsize(Pango.EllipsizeMode.END) self.fullname = MarkupLabel() fullname_box = Gtk.HBox() fullname_box.pack_start(self.fullname, False, False, 2) fullname_box.pack_start(self.verified_mark, False, False, 2) fullname_box.pack_start(self.protected_mark, False, False, 0) userdata_box = Gtk.VBox() userdata_box.pack_start(fullname_box, False, False, 2) userdata_box.pack_start(self.username, False, False, 2) header_box = Gtk.HBox() header_box.set_border_width(BORDER_WIDTH) header_box.pack_start(avatar_box, False, False, 0) header_box.pack_start(userdata_box, False, False, 0) self.bio = DescriptionBox(self.base, 'icon-bio.png', i18n.get('bio')) self.location = DescriptionBox(self.base, 'icon-location.png', i18n.get('location')) self.web = DescriptionBox(self.base, 'icon-home.png', i18n.get('web')) desc_box = Gtk.VBox(spacing=0) desc_box.set_border_width(BORDER_WIDTH) desc_box.pack_start(self.bio, False, False, 0) desc_box.pack_start(self.location, False, False, 0) desc_box.pack_start(self.web, False, False, 0) self.following = StatBox(i18n.get('following')) self.followers = StatBox(i18n.get('followers')) self.statuses = StatBox(i18n.get('statuses')) self.favorites = StatBox(i18n.get('favorites')) stats_box = Gtk.HBox(spacing=0) stats_box.set_border_width(BORDER_WIDTH) stats_box.pack_start(self.following, True, True, 0) stats_box.pack_start(Gtk.VSeparator(), False, False, 2) stats_box.pack_start(self.followers, True, True, 0) stats_box.pack_start(Gtk.VSeparator(), False, False, 2) stats_box.pack_start(self.statuses, True, True, 0) stats_box.pack_start(Gtk.VSeparator(), False, False, 2) stats_box.pack_start(self.favorites, True, True, 0) self.pack_start(header_box, False, False, 0) self.pack_start(Gtk.HSeparator(), False, False, 0) self.pack_start(desc_box, False, False, 0) self.pack_start(Gtk.HSeparator(), False, False, 0) self.pack_start(stats_box, False, False, 0) def update(self, profile): self.base.fetch_status_avatar(profile, self.update_avatar) self.avatar.set_from_pixbuf(self.base.load_image('unknown.png', True)) name = '%s' % ( self.base.get_color_scheme('links'), profile.fullname ) self.fullname.set_markup(name) self.username.set_markup('@' + profile.username) if profile.bio != '': self.bio.set_description(profile.bio) if profile.location != '': self.location.set_description(profile.location) if profile.url: self.web.set_description(profile.url, True) # After showing all widgets we set the marks if profile.protected: self.set_protected_mark(True) else: self.set_protected_mark(False) if profile.verified: self.set_verified_mark(True) else: self.set_verified_mark(False) self.following.set_value(profile.friends_count) self.followers.set_value(profile.followers_count) self.statuses.set_value(profile.statuses_count) self.favorites.set_value(profile.favorites_count) def update_avatar(self, response): if response.code == 0: pix = GdkPixbuf.Pixbuf.new_from_file_at_scale(response.items, 48, 48, True) self.avatar.set_from_pixbuf(pix) del pix def set_protected_mark(self, value): if value: self.protected_mark.set_from_pixbuf(self.base.load_image('mark-protected.png', True)) else: self.protected_mark.set_from_pixbuf(None) def set_verified_mark(self, value): if value: self.verified_mark.set_from_pixbuf(self.base.load_image('mark-verified.png', True)) else: self.verified_mark.set_from_pixbuf(None) class DescriptionBox(Gtk.VBox): def __init__(self, base, image, caption): Gtk.VBox.__init__(self, spacing=0) icon = Gtk.Image() icon.set_from_pixbuf(base.load_image(image, True)) title = MarkupLabel() title.set_markup('%s' % caption) self.description = MarkupLabel() self.description.set_margin_bottom(10) title_box = Gtk.HBox() title_box.set_margin_bottom(4) title_box.pack_start(icon, False, False, 0) title_box.pack_start(title, False, False, 5) desc_box = Gtk.HBox() desc_box.pack_start(self.description, True, True, 0) self.pack_start(title_box, False, False, 0) self.pack_start(desc_box, False, False, 0) def set_description(self, message, as_link=False): if as_link: self.description.set_markup('%s' % (message, message)) else: self.description.set_markup(message) class StatBox(Gtk.VBox): def __init__(self, caption): Gtk.VBox.__init__(self, spacing=0) self.value = MarkupLabel(xalign=0.5) self.value.set_margin_bottom(6) self.caption = MarkupLabel(xalign=0.5) self.caption.set_text(caption) self.pack_start(self.value, False, False, 0) self.pack_start(self.caption, False, False, 0) def set_value(self, value): self.value.set_markup('%s' % value) turpial-3.0+dfsg.orig/turpial/ui/gtk/oauth.py0000644000000000000000000000713612254451436016171 0ustar # -*- coding: utf-8 -*- """ Widget to make the OAuth dance from Turpial""" # # Author: Wil Alvarez (aka Satanas) from gi.repository import Gtk from gi.repository import GObject from turpial.ui.lang import i18n from turpial.ui.gtk.htmlview import HtmlView DELETE_COOKIES_SCRIPT = """ function delete_cookies() { var cookies = document.cookie.split(';'); for (var i=0; i', '>') return text turpial-3.0+dfsg.orig/turpial/ui/gtk/dock.py0000644000000000000000000001122512254451436015763 0ustar # -*- coding: utf-8 -*- # GTK3 dock for Turpial from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from libturpial.common import ProtocolType class Dock(Gtk.EventBox): def __init__(self, base): Gtk.EventBox.__init__(self) self.base = base self.column_menu = None self.modify_bg(Gtk.StateType.NORMAL, Gdk.Color(0, 0, 0)) self.btn_updates = DockButton(base, 'dock-updates.png', i18n.get('update_status')) self.btn_messages = DockButton(base, 'dock-messages.png', i18n.get('direct_messages')) self.btn_search = DockButton(base, 'dock-search.png', i18n.get('search')) self.btn_stats = DockButton(base, 'dock-stats.png', i18n.get('statistics')) self.btn_columns = DockButton(base, 'dock-columns.png', i18n.get('columns')) self.btn_accounts = DockButton(base, 'dock-accounts.png', i18n.get('accounts')) self.btn_preferences = DockButton(base, 'dock-preferences.png', i18n.get('preferences')) self.btn_about = DockButton(base, 'dock-about.png', i18n.get('about')) self.btn_updates.connect('clicked', self.base.show_update_box) self.btn_messages.connect('clicked', self.base.show_update_box, True) self.btn_search.connect('clicked', self.base.show_search_dialog) self.btn_columns.connect('clicked', self.show_columns_menu) self.btn_accounts.connect('clicked', self.base.show_accounts_dialog) self.btn_preferences.connect('clicked', self.base.show_preferences_dialog) self.btn_about.connect('clicked', self.base.show_about_dialog) box = Gtk.HBox() box.pack_end(self.btn_updates, False, False, 0) box.pack_end(self.btn_messages, False, False, 0) box.pack_end(self.btn_columns, False, False, 0) box.pack_end(self.btn_accounts, False, False, 0) box.pack_end(self.btn_search, False, False, 0) box.pack_end(self.btn_stats, False, False, 0) box.pack_end(self.btn_preferences, False, False, 0) box.pack_end(self.btn_about, False, False, 0) align = Gtk.Alignment() align.set(1, -1, -1, -1) align.add(box) self.add(align) def __save_column(self, widget, column_id): self.base.save_column(column_id) def empty(self): self.btn_updates.hide() self.btn_messages.hide() self.btn_stats.hide() def normal(self): self.btn_updates.show() self.btn_messages.show() self.btn_stats.show() def show_columns_menu(self, widget): self.menu = Gtk.Menu() empty = True columns = self.base.get_all_columns() reg_columns = self.base.get_registered_columns() for acc in self.base.get_all_accounts(): name = "%s (%s)" % (acc.username, i18n.get(acc.protocol_id)) temp = Gtk.MenuItem(name) if acc.logged_in: # Build submenu for columns in each account temp_menu = Gtk.Menu() for key, col in columns[acc.id_].iteritems(): item = Gtk.MenuItem(key) if col.id_ != "": item.set_sensitive(False) item.connect('activate', self.__save_column, col.build_id()) temp_menu.append(item) # Add public timeline public_tl = Gtk.MenuItem(i18n.get('public_timeline').lower()) public_tl.connect('activate', self.__save_column, acc.id_ + '-public') temp_menu.append(public_tl) temp.set_submenu(temp_menu) # Add view profile item temp_menu.append(Gtk.SeparatorMenuItem()) item = Gtk.MenuItem(i18n.get('view_profile')) item.connect('activate', self.__save_column, acc.id_) temp_menu.append(item) else: temp.set_sensitive(False) self.menu.append(temp) empty = False if empty: empty_menu = Gtk.MenuItem(i18n.get('no_registered_accounts')) empty_menu.set_sensitive(False) self.menu.append(empty_menu) else: self.menu.append(Gtk.SeparatorMenuItem()) self.menu.show_all() self.menu.popup(None, None, None, None, 0, Gtk.get_current_event_time()) class DockButton(Gtk.Button): def __init__(self, base, image, tooltip): Gtk.Button.__init__(self) self.set_image(base.load_image(image)) self.set_relief(Gtk.ReliefStyle.NONE) self.set_tooltip_text(tooltip) self.set_size_request(24, 24) #self.btn_updates.set_default_size(24, 24) turpial-3.0+dfsg.orig/turpial/ui/gtk/imageview.py0000644000000000000000000000735712254451436017033 0ustar # -*- coding: utf-8 -*- """ Window to show embedded images """ # # Author: Wil Alvarez (aka Satanas) # Aug 31, 2012 from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GdkPixbuf from turpial.ui.lang import i18n class ImageView(Gtk.Window): STATUS_IDLE = 0 STATUS_LOADING = 1 STATUS_LOADED = 2 def __init__(self, baseui): Gtk.Window.__init__(self) self.mainwin = baseui self.set_title(i18n.get('image_preview')) self.set_size_request(100, 100) self.set_default_size(300, 300) self.set_transient_for(baseui) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.connect('delete-event', self.quit) self.connect('size-allocate', self.__resize) self.error_msg = Gtk.Label() self.error_msg.set_alignment(0.5, 0.5) self.spinner = Gtk.Spinner() self.spinner.set_size_request(96, 96) self.loading_box = Gtk.Box(spacing=0) self.loading_box.set_orientation(Gtk.Orientation.VERTICAL) self.loading_box.pack_start(self.spinner, True, False, 0) self.loading_box.pack_start(self.error_msg, True,True, 0) self.image = Gtk.Image() self.image_box = Gtk.ScrolledWindow() self.image_box.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) image_box = Gtk.EventBox() image_box.add(self.image) image_box.modify_bg(Gtk.StateType.NORMAL, Gdk.Color(0, 0, 0)) self.image_box.add_with_viewport(image_box) self.last_size = (0, 0) self.status = self.STATUS_IDLE self.pixbuf = None def __resize(self, widget, allocation=None): if self.status != self.STATUS_LOADED: return if allocation: if self.last_size == (allocation.width, allocation.height): return win_width, win_height = allocation.width, allocation.height else: win_width, win_height = self.get_size() scale = min(float(win_width)/self.pix_width, float(win_height)/self.pix_height) new_width = int(scale * self.pix_width) new_height = int(scale * self.pix_height) pix = self.pixbuf.scale_simple(new_width, new_height, GdkPixbuf.InterpType.BILINEAR) self.image.set_from_pixbuf(pix) del pix self.last_size = self.get_size() def __clear(self): current_child = self.get_child() if current_child: self.remove(current_child) del self.pixbuf self.pixbuf = None self.status = self.STATUS_IDLE self.error_msg.hide() def loading(self): self.__clear() self.spinner.start() self.resize(300, 300) self.add(self.loading_box) self.status = self.STATUS_LOADING self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.show_all() def update(self, path): self.__clear() self.spinner.stop() self.add(self.image_box) # Picture information. This will not change until the next update self.pixbuf = GdkPixbuf.Pixbuf.new_from_file(path) self.pix_width = self.pixbuf.get_width() self.pix_height = self.pixbuf.get_height() self.pix_rate = self.pix_width / self.pix_height self.status = self.STATUS_LOADED self.resize(self.pix_width, self.pix_height) self.show_all() self.present() def error(self, error=''): if error: self.error_msg.set_label(error) else: self.error_msg.set_label(i18n.get('error_loading_image')) self.spinner.stop() self.spinner.hide() def quit(self, widget, event): self.hide() self.__clear() self.last_size = (300, 300) return True turpial-3.0+dfsg.orig/turpial/ui/gtk/__init__.py0000644000000000000000000000000012254451436016567 0ustar turpial-3.0+dfsg.orig/turpial/ui/gtk/search.py0000644000000000000000000001106412254451436016311 0ustar # -*- coding: utf-8 -*- # GTK search for Turpial # # Author: Wil Alvarez (aka Satanas) import urllib2 import logging from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from turpial.ui.gtk.markuplabel import MarkupLabel from libturpial.common import ColumnType from libturpial.common import LoginStatus log = logging.getLogger('Gtk') class SearchDialog(Gtk.Window): def __init__(self, base): Gtk.Window.__init__(self) self.base = base self.set_title(i18n.get('search')) self.set_size_request(300, 120) self.set_resizable(False) self.set_icon(self.base.load_image('turpial.png', True)) self.set_transient_for(base) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.set_gravity(Gdk.Gravity.STATIC) self.set_modal(True) self.connect('delete-event', self.__close) alabel = Gtk.Label(i18n.get('account')) clabel = Gtk.Label(i18n.get('criteria')) alist = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str) for acc in self.base.get_accounts_list(): image = '%s.png' % acc.split('-')[1] icon = self.base.load_image(image, True) alist.append([icon, acc.split('-')[0], acc]) self.account = Gtk.ComboBox() self.account.set_model(alist) icon = Gtk.CellRendererPixbuf() txt = Gtk.CellRendererText() self.account.pack_start(icon, False) self.account.pack_start(txt, False) self.account.add_attribute(icon, 'pixbuf', 0) self.account.add_attribute(txt, 'markup', 1) self.account.connect('changed', self.__reset_error) self.criteria = Gtk.Entry() self.criteria.connect('activate', self.__on_add) self.criteria.set_tooltip_text(i18n.get('search_criteria_tooltip')) self.criteria.connect('changed', self.__reset_error) help_text = i18n.get('this_search_support_advanced_operators') help_text += ' "", OR, -, from, to, filter, source, place, since, until. ' help_text += i18n.get('for_more_information_visit') help_text += " %s" % ( i18n.get('twitter_search_documentation')) help_label = MarkupLabel() help_label.set_markup(help_text) help_label.set_margin_top(10) help_label.set_size_request(300, -1) self.error_message = MarkupLabel(xalign=0.5) table = Gtk.Table(3, 2, False) table.attach(alabel, 0, 1, 0, 1, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(self.account, 1, 2, 0, 1, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(clabel, 0, 1, 1, 2, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(self.criteria, 1, 2, 1, 2, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(help_label, 0, 2, 2, 3, Gtk.AttachOptions.SHRINK) table.set_margin_top(4) table.set_row_spacing(0, 2) table.set_row_spacing(1, 2) self.btn_add = Gtk.Button(i18n.get('add')) self.btn_close = Gtk.Button(i18n.get('close')) self.btn_add.connect('clicked', self.__on_add) self.btn_close.connect('clicked', self.__close) box_button = Gtk.HButtonBox() box_button.set_spacing(6) box_button.set_layout(Gtk.ButtonBoxStyle.END) box_button.pack_start(self.btn_close, False, False, 0) box_button.pack_start(self.btn_add, False, False, 0) box_button.set_margin_top(10) vbox = Gtk.VBox(False) vbox.set_border_width(6) vbox.pack_start(table, False, False, 0) vbox.pack_start(self.error_message, False, False, 5) vbox.pack_start(box_button, False, False, 0) self.add(vbox) def __close(self, widget, event=None): self.destroy() return True def __reset_error(self, widget=None): self.error_message.set_markup('') def __on_add(self, widget, event=None): model = self.account.get_model() index = self.account.get_active() criteria = self.criteria.get_text() if index < 0 or criteria == '': self.error_message.set_error_text(i18n.get('fields_cant_be_empty')) self.error_message.set_size_request(-1, 10) else: account_id = model[index][2] column_id = "%s-%s:%s" % (account_id, ColumnType.SEARCH, urllib2.quote(criteria)) self.base.save_column(column_id) self.__close(None) def show(self): self.show_all() turpial-3.0+dfsg.orig/turpial/ui/gtk/tray.py0000644000000000000000000000410312254451436016017 0ustar # -*- coding: utf-8 -*- # GTK3 tray icon for Turpial from gi.repository import Gtk from turpial import DESC from turpial.ui.lang import i18n class TrayIcon(Gtk.StatusIcon): def __init__(self, base): Gtk.StatusIcon.__init__(self) self.base = base self.set_from_pixbuf(self.base.load_image('turpial-tray.png', True)) self.set_tooltip_text(DESC) self.menu = Gtk.Menu() def __build_common_menu(self): accounts = Gtk.MenuItem(i18n.get('accounts')) preferences = Gtk.MenuItem(i18n.get('preferences')) sounds = Gtk.CheckMenuItem(i18n.get('enable_sounds')) #sound_.set_active(not self.sound._disable) exit_ = Gtk.MenuItem(i18n.get('exit')) self.menu.append(accounts) self.menu.append(preferences) self.menu.append(sounds) self.menu.append(Gtk.SeparatorMenuItem()) self.menu.append(exit_) accounts.connect('activate', self.base.show_accounts_dialog) preferences.connect('activate', self.base.show_preferences_dialog) sounds.connect('toggled', self.base.disable_sound) exit_.connect('activate', self.base.main_quit) def empty(self): self.menu = Gtk.Menu() self.__build_common_menu() def normal(self): self.menu = Gtk.Menu() tweet = Gtk.MenuItem(i18n.get('new_tweet')) tweet.connect('activate', self.base.show_update_box) direct = Gtk.MenuItem(i18n.get('direct_message')) direct.connect('activate', self.base.show_update_box, True) self.menu.append(tweet) self.menu.append(direct) self.__build_common_menu() def popup(self, button, activate_time): self.menu.show_all() self.menu.popup(None, None, None, None, button, activate_time) return True # Change the tray icon image to indicate updates def notify(self): self.set_from_pixbuf(self.base.load_image('turpial-tray-update.png', True)) # Clear the tray icon image def clear(self): self.set_from_pixbuf(self.base.load_image('turpial-tray.png', True)) turpial-3.0+dfsg.orig/turpial/ui/gtk/preferences/0000755000000000000000000000000012254451540016765 5ustar turpial-3.0+dfsg.orig/turpial/ui/gtk/preferences/tabs.py0000644000000000000000000003523612254451436020305 0ustar # -*- coding: utf-8 -*- """ Preferences tabs for Turpial""" # # Author: Wil Alvarez (aka Satanas) import subprocess from turpial.ui.lang import i18n from turpial.ui.gtk.preferences.widgets import * from libturpial.api.services.shorturl import URL_SERVICES from libturpial.api.services.uploadpic import PIC_SERVICES class GeneralTab(GenericTab): def __init__(self, current): GenericTab.__init__( self, _('Adjust update frequency for columns'), current ) interval = int(self.current['update-interval']) tweets = int(self.current['statuses']) profile = True if self.current['profile-color'] == 'on' else False minimize = True if self.current['minimize-on-close'] == 'on' else False self.interval = TimeScroll(_('Update Interval'), interval, unit='min') self.tweets = TimeScroll(_('Statuses'), tweets, min=20, max=200) self.profile_colors = CheckBox(_('Load profile color'), profile, _('Use your profile color for highlighted elements')) self.profile_colors.set_sensitive(False) self.minimize = CheckBox(_('Minimize to tray'), minimize, _('Send Turpial to system tray when closing main window')) self.add_child(self.interval, False, False, 5) self.add_child(self.tweets, False, False, 5) self.add_child(HSeparator(), False, False) self.add_child(self.profile_colors, False, False, 2) self.add_child(self.minimize, False, False, 2) self.show_all() def get_config(self): minimize = 'on' if self.minimize.get_active() else 'off' profile = 'on' if self.profile_colors.get_active() else 'off' return { 'update-interval': int(self.interval.value), 'profile-color': profile, 'minimize-on-close': minimize, 'statuses': int(self.tweets.value), } class NotificationsTab(GenericTab): def __init__(self, notif, sounds): GenericTab.__init__( self, _('Select the notifications you want to receive from Turpial'), None ) self.notif = notif self.sounds = sounds nupdates = True if self.notif['updates'] == 'on' else False nlogin = True if self.notif['login'] == 'on' else False nicon = True if self.notif['icon'] == 'on' else False slogin = True if self.sounds['login'] == 'on' else False supdates = True if self.sounds['updates'] == 'on' else False self.nupdates = CheckBox(_('Updates'), nupdates, _('Show a notification when you get updates'), 10) self.nlogin = CheckBox(_('Login'), nlogin, _('Show a notification at login with user profile'), 10) self.nicon = CheckBox(_('Tray icon'), nicon, _('Change the tray icon when you have notifications'), 10) self.slogin = CheckBox(_('Login'), slogin, _('Play a sound when you login'), 10) self.supdates = CheckBox(_('Updates'), supdates, _('Play a sound when you get updates'), 10) self.add_child(TitleLabel(_('Notifications')), False, False) self.add_child(self.nlogin, False, False, 2) self.add_child(self.nupdates, False, False, 2) self.add_child(self.nicon, False, False, 2) self.add_child(TitleLabel(_('Sounds')), False, False) self.add_child(self.slogin, False, False, 2) self.add_child(self.supdates, False, False, 2) self.show_all() def get_config(self): nupdates = 'on' if self.nupdates.get_active() else 'off' nlogin = 'on' if self.nlogin.get_active() else 'off' nicon = 'on' if self.nicon.get_active() else 'off' slogin = 'on' if self.slogin.get_active() else 'off' supdates = 'on' if self.supdates.get_active() else 'off' return { 'updates': nupdates, 'login': nlogin, 'icon': nicon, }, { 'login': slogin, 'updates': supdates, } class ServicesTab(GenericTab): def __init__(self, current): GenericTab.__init__( self, _('Select your preferred services to shorten URLs and to upload images'), current ) self.shorten = ComboBox(_('Shorten URL'), URL_SERVICES, self.current['shorten-url']) self.upload = ComboBox(_('Upload images'), PIC_SERVICES, self.current['upload-pic']) self.add_child(self.shorten, False, False, 2) self.add_child(self.upload, False, False, 2) self.show_all() def get_config(self): return { 'shorten-url': self.shorten.get_active_text(), 'upload-pic': self.upload.get_active_text(), } class FilterTab(GenericTab): def __init__(self, parent): GenericTab.__init__( self, _("Filter out anything that bothers you") ) self.mainwin = parent self.filtered = self.mainwin.get_filters() self.updated_filtered = set(self.filtered) self.term_input = Gtk.Entry() self.term_input.connect('activate', self.__add_filter) add_button = Gtk.Button(stock=Gtk.STOCK_ADD) add_button.set_size_request(80, -1) add_button.connect("clicked", self.__add_filter) self.del_button = Gtk.Button(stock=Gtk.STOCK_DELETE) self.del_button.set_size_request(80, -1) self.del_button.set_sensitive(False) self.del_button.connect("clicked", self.__remove_filter) input_box = Gtk.HBox() input_box.pack_start(self.term_input, True, True, 2) input_box.pack_start(add_button, False, False, 0) input_box.pack_start(self.del_button, False, False, 0) self.model = Gtk.ListStore(str) self._list = Gtk.TreeView() self._list.set_headers_visible(False) self._list.set_level_indentation(0) self._list.set_rules_hint(True) self._list.set_resize_mode(Gtk.ResizeMode.IMMEDIATE) self._list.set_model(self.model) self._list.connect('cursor-changed', self.__cursor_changed) column = Gtk.TreeViewColumn('') column.set_alignment(0.0) term = Gtk.CellRendererText() column.pack_start(term, True) column.add_attribute(term, 'markup', 0) self._list.append_column(column) scroll = Gtk.ScrolledWindow() scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) scroll.set_shadow_type(Gtk.ShadowType.IN) scroll.add(self._list) for filtered_item in self.filtered: self.model.append([filtered_item]) self.add_child(input_box, False, False, 2) self.add_child(scroll, True, True, 2) self.show_all() def __process(self, model, path, iter_): filtered_item = model.get_value(iter_, 0) self.filtered.append(filtered_item) def __cursor_changed(self, widget): self.del_button.set_sensitive(True) def __add_filter(self, widget): new_filter = self.term_input.get_text() if (new_filter != '') and (new_filter not in self.updated_filtered): self.model.append([new_filter]) self.updated_filtered.add(new_filter) self.term_input.set_text("") self.term_input.grab_focus() def __remove_filter(self, widget): model, term = self._list.get_selection().get_selected() if term: str_term = self.model.get_value(term, 0) self.model.remove(term) self.updated_filtered.remove(str_term) self.del_button.set_sensitive(False) self.term_input.grab_focus() def get_filters(self): self.filtered = [] self.model.foreach(self.__process, None) return self.filtered class BrowserTab(GenericTab): def __init__(self, parent, current): GenericTab.__init__( self, _('Setup your favorite web browser to open all links'), current ) self.mainwin = parent chk_default = Gtk.RadioButton.new_with_label_from_widget(None, _('Default web browser')) chk_other = Gtk.RadioButton.new_with_label_from_widget(chk_default, _('Choose another web browser')) cmd_lbl = Gtk.Label(_('Command')) cmd_lbl.set_size_request(90, -1) cmd_lbl.set_alignment(1.0, 0.5) self.command = Gtk.Entry() btn_test = Gtk.Button(_('Test')) btn_browse = Gtk.Button(_('Browse')) cmd_box = Gtk.HBox(False) cmd_box.pack_start(cmd_lbl, False, False, 3) cmd_box.pack_start(self.command, True, True, 3) buttons_box = Gtk.HButtonBox() buttons_box.set_spacing(6) buttons_box.set_layout(Gtk.ButtonBoxStyle.END) buttons_box.pack_start(btn_test, False, False, 0) buttons_box.pack_start(btn_browse, False, False, 0) self.other_vbox = Gtk.VBox(False, 2) self.other_vbox.pack_start(cmd_box, False, False, 2) self.other_vbox.pack_start(buttons_box, False, False, 2) self.other_vbox.set_sensitive(False) self.add_child(chk_default, False, False, 2) self.add_child(chk_other, False, False, 2) self.add_child(self.other_vbox, False, False, 2) if current['cmd'] != '': self.other_vbox.set_sensitive(True) self.command.set_text(current['cmd']) chk_other.set_active(True) btn_browse.connect('clicked', self.__browse) btn_test.connect('clicked', self.__test) chk_default.connect('toggled', self.__activate, 'default') chk_other.connect('toggled', self.__activate, 'other') self.show_all() def __test(self, widget): cmd = self.command.get_text() if cmd != '': subprocess.Popen([cmd, 'http://turpial.org.ve/']) def __browse(self, widget): dia = Gtk.FileChooserDialog( title = _('Select the full path of your web browser'), parent=self.mainwin, action=Gtk.FILE_CHOOSER_ACTION_OPEN, buttons=(Gtk.STOCK_CANCEL, Gtk.RESPONSE_CANCEL, Gtk.STOCK_OK, Gtk.RESPONSE_OK)) resp = dia.run() if resp == Gtk.RESPONSE_OK: self.command.set_text(dia.get_filename()) dia.destroy() def __activate(self, widget, param): if param == 'default': self.other_vbox.set_sensitive(False) self.command.set_text('') else: self.other_vbox.set_sensitive(True) def get_config(self): return { 'cmd': self.command.get_text() } class AdvancedTab(GenericTab): def __init__(self, mainwin, current): GenericTab.__init__( self, _('Advanced options. Use it only if you know what you do'), current ) self.mainwin = mainwin cache_size = self.mainwin.get_cache_size() label = "%s %s" % ( i18n.get('delete_all_images_in_cache'), cache_size) self.cachelbl = Gtk.Label() self.cachelbl.set_use_markup(True) self.cachelbl.set_markup(label) self.cachelbl.set_alignment(0.0, 0.5) self.cachebtn = Gtk.Button(_('Clean cache')) self.cachebtn.set_size_request(110, -1) self.cachebtn.connect('clicked', self.__clean_cache) if cache_size == '0 B': self.cachebtn.set_sensitive(False) configlbl = Gtk.Label(_('Restore config to default')) configlbl.set_alignment(0.0, 0.5) self.configbtn = Gtk.Button(_('Restore config')) self.configbtn.set_size_request(110, -1) self.configbtn.connect('clicked', self.__restore_default_config) table = Gtk.Table(2, 2, False) table.attach(self.cachebtn, 0, 1, 0, 1, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(self.cachelbl, 1, 2, 0, 1, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL, xpadding=5) table.attach(self.configbtn, 0, 1, 1, 2, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL) table.attach(configlbl, 1, 2, 1, 2, Gtk.AttachOptions.EXPAND|Gtk.AttachOptions.FILL, xpadding=5) timeout = int(self.current['socket-timeout']) show_avatars = True if self.current['show-user-avatars'] == 'on' else False self.timeout = TimeScroll(_('Timeout'), timeout, min=5, max=120, unit='sec', lbl_size=120) self.show_avatars = CheckBox(_('Load user avatars'), show_avatars, _('Disable loading user avatars for slow connections')) self.show_avatars.set_sensitive(False) self.add_child(TitleLabel(_('Maintenance')), False, False, 2) self.add_child(table, False, False, 2) self.add_child(TitleLabel(_('Connection')), False, False, 2) self.add_child(self.timeout, False, False, 2) self.add_child(self.show_avatars, False, False, 2) self.show_all() def __clean_cache(self, widget): self.mainwin.delete_all_cache() self.cachebtn.set_sensitive(False) label = "%s %s" % ( i18n.get('delete_all_images_in_cache'), self.mainwin.get_cache_size()) self.cachelbl.set_markup(label) def __restore_default_config(self, widget): message = Gtk.MessageDialog(self.mainwin, Gtk.DIALOG_MODAL | Gtk.DIALOG_DESTROY_WITH_PARENT, Gtk.MESSAGE_QUESTION, Gtk.BUTTONS_YES_NO) message.set_markup(i18n.get('restore_config_warning')) response = message.run() message.destroy() if response == Gtk.RESPONSE_YES: self.mainwin.restore_default_config() self.configbtn.set_sensitive(False) self.mainwin.main_quit(force=True) def get_config(self): show_avatars = 'on' if self.show_avatars.get_active() else 'off' return { 'socket-timeout': int(self.timeout.value), 'show-user-avatars': show_avatars, } class ProxyTab(GenericTab): def __init__(self, current): GenericTab.__init__( self, _('Proxy settings for Turpial (Need Restart)'), current ) self.server = ProxyField(_('Server/Port'), current['server'], current['port']) self.username = FormField(_('Username'), current['username']) self.password = FormField(_('Password'), current['password'], True) self.add_child(self.server, False, False, 2) self.add_child(self.username, False, False, 2) self.add_child(self.password, False, False, 2) self.show_all() def get_config(self): server, port = self.server.get_proxy() return { 'username': self.username.get_text(), 'password': self.password.get_text(), 'server': server, 'port': port, } turpial-3.0+dfsg.orig/turpial/ui/gtk/preferences/__init__.py0000644000000000000000000000676612254451436021121 0ustar # -*- coding: utf-8 -*- """ Preferences window for Turpial""" # # Author: Wil Alvarez (aka Satanas) from gi.repository import Gtk from turpial.ui.lang import i18n from turpial.ui.gtk.preferences.tabs import * class PreferencesDialog(Gtk.Window): def __init__(self, parent=None, mode='user'): Gtk.Window.__init__(self, Gtk.WindowType.TOPLEVEL) self.mainwin = parent self.current = parent.get_config() self.set_default_size(450, 400) self.set_title(i18n.get('preferences')) self.set_border_width(6) self.set_transient_for(parent) self.set_modal(True) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) btn_save = Gtk.Button(i18n.get('save')) btn_close = Gtk.Button(i18n.get('close')) box_button = Gtk.HButtonBox() box_button.set_spacing(6) box_button.set_layout(Gtk.ButtonBoxStyle.END) box_button.pack_start(btn_close, False, False, 0) box_button.pack_start(btn_save, False, False, 0) notebook = Gtk.Notebook() notebook.set_scrollable(True) notebook.set_border_width(3) notebook.set_properties('tab-pos', Gtk.PositionType.LEFT) # Tabs self.general = GeneralTab(self.current['General']) self.notif = NotificationsTab(self.current['Notifications'], self.current['Sounds']) self.services = ServicesTab(self.current['Services']) self.browser = BrowserTab(self.mainwin, self.current['Browser']) self.filtered = FilterTab(self.mainwin) #self.proxy = ProxyTab(self.current['Proxy']) self.advanced = AdvancedTab(self.mainwin, self.current['Advanced']) notebook.append_page(self.general, Gtk.Label(i18n.get('general'))) notebook.append_page(self.notif, Gtk.Label(i18n.get('notifications'))) notebook.append_page(self.services, Gtk.Label(i18n.get('services'))) notebook.append_page(self.browser, Gtk.Label(i18n.get('web_browser'))) notebook.append_page(self.filtered, Gtk.Label(i18n.get('filters'))) #notebook.append_page(self.proxy, Gtk.Label(i18n.get('proxy'))) notebook.append_page(self.advanced, Gtk.Label(i18n.get('advanced'))) vbox = Gtk.VBox() #vbox.set_spacing(4) vbox.pack_start(notebook, True, True, 0) vbox.pack_start(box_button, False, False, 0) btn_close.connect('clicked', self.__close) btn_save.connect('clicked', self.__save) self.connect('delete-event', self.__close) self.add(vbox) self.showed = False def __close(self, widget, event=None): self.showed = False self.hide() return True def show(self): if self.showed: self.present() else: self.showed = True self.show_all() def quit(self): self.destroy() def __save(self, widget): general = self.general.get_config() notif, sounds = self.notif.get_config() services = self.services.get_config() browser = self.browser.get_config() #proxy = self.proxy.get_config() advanced = self.advanced.get_config() new_config = { 'General': general, 'Notifications': notif, 'Sounds': sounds, 'Services': services, 'Browser': browser, #'Proxy': proxy, 'Advanced': advanced, } self.mainwin.save_config(new_config) self.mainwin.save_filters(self.filtered.get_filters()) self.hide() turpial-3.0+dfsg.orig/turpial/ui/gtk/preferences/widgets.py0000644000000000000000000001176212254451436021020 0ustar # -*- coding: utf-8 -*- """ Preferences widgets for Turpial""" # # Author: Wil Alvarez (aka Satanas) from gi.repository import Gtk class GenericTab(Gtk.VBox): def __init__(self, desc, current=None): Gtk.VBox.__init__(self, False) self.current = current description = Gtk.Label() description.set_line_wrap(True) description.set_use_markup(True) description.set_markup(desc) description.set_justify(Gtk.Justification.FILL) desc_align = Gtk.Alignment(xalign=0.0, yalign=0.0) desc_align.set_padding(0, 5, 10, 10) desc_align.add(description) self._container = Gtk.VBox(False, 2) hbox = Gtk.HBox(False, 10) hbox.pack_start(self._container, True, True, 10) self.pack_start(desc_align, False, False, 5) self.pack_start(hbox, True, True, 0) def add_child(self, child, expand=True, fill=True, padding=0): self._container.pack_start(child, expand, fill, padding) def get_config(self): raise NotImplemented class TitleLabel(Gtk.Alignment): def __init__(self, text, padding=0): Gtk.Alignment.__init__(self, xalign=0.0, yalign=0.0) caption ="%s" % text label = Gtk.Label() label.set_line_wrap(True) label.set_use_markup(True) label.set_markup(caption) label.set_justify(Gtk.Justification.FILL) self.set_padding(10, 0, padding, 0) self.add(label) class CheckBox(Gtk.Alignment): def __init__(self, title, is_active, tooltip, padding=0): Gtk.Alignment.__init__(self) self.set_padding(0, 0, padding, 0) self.checkbtn = Gtk.CheckButton(title) self.checkbtn.set_active(is_active) try: self.checkbtn.set_has_tooltip(True) self.checkbtn.set_tooltip_text(tooltip) except Exception: pass self.add(self.checkbtn) def get_active(self): return self.checkbtn.get_active() class ComboBox(Gtk.HBox): def __init__(self, caption, array, current): Gtk.HBox.__init__(self, False) i = 0 default = -1 lbl = Gtk.Label(caption) lbl.set_alignment(0.0, 0.5) self.combo = Gtk.ComboBoxText() self.combo.set_size_request(180, -1) for key, v in array.iteritems(): self.combo.append_text(key) if key == current: default = i i += 1 self.combo.set_active(default) self.pack_start(self.combo, False, False, 5) self.pack_start(lbl, True, True, 5) def get_active_text(self): return self.combo.get_active_text() class FormField(Gtk.HBox): def __init__(self, caption, current, password=False): Gtk.HBox.__init__(self, False) lbl = Gtk.Label(caption) lbl.set_alignment(0.0, 0.5) self.entry = Gtk.Entry() if password: self.entry.set_visibility(False) self.entry.set_size_request(180, -1) self.entry.set_text(current) self.pack_start(self.entry, False, False, 2) self.pack_start(lbl, True, True, 5) def get_text(self): return self.entry.get_text() class ProxyField(Gtk.HBox): def __init__(self, caption, server, port): Gtk.HBox.__init__(self, False) lbl = Gtk.Label(caption) lbl.set_alignment(0.0, 0.5) self.server = Gtk.Entry() self.server.set_size_request(130, -1) self.server.set_text(server) self.port = Gtk.Entry() self.port.set_size_request(50, -1) self.port.set_text(port) self.pack_start(self.server, False, False, 2) self.pack_start(self.port, False, False, 2) self.pack_start(lbl, True, True, 5) def get_proxy(self): return self.server.get_text(), self.port.get_text() class HSeparator(Gtk.HBox): def __init__(self, spacing=15): Gtk.HBox.__init__(self, False) self.set_size_request(-1, spacing) class TimeScroll(Gtk.HBox): def __init__(self, caption='', val=5, min=1, max=60, step=3, page=6, size=0, lbl_size=150, unit=''): Gtk.HBox.__init__(self, False) self.value = val self.unit = unit self.caption = caption self.label = Gtk.Label() self.label.set_size_request(lbl_size, -1) self.label.set_alignment(xalign=0.0, yalign=0.5) self.label.set_use_markup(True) adj = Gtk.Adjustment(val, min, max, step, page, size) scale = Gtk.HScale() scale.set_draw_value(False) scale.set_adjustment(adj) scale.set_property('value-pos', Gtk.PositionType.RIGHT) self.pack_start(scale, True, True, 3) self.pack_start(self.label, False, False, 3) self.show_all() self.__on_change(scale) scale.connect('value-changed', self.__on_change) def __on_change(self, widget): self.value = widget.get_value() label = "%s %i %s" % (self.caption, self.value, self.unit) self.label.set_markup(label) turpial-3.0+dfsg.orig/turpial/ui/gtk/main.py0000644000000000000000000004411512254451436015773 0ustar # -*- coding: utf-8 -*- # GTK3 main view for Turpial import os import urllib2 from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject from gi.repository import GdkPixbuf from turpial import DESC from turpial.ui.base import * from turpial.ui.gtk.dock import Dock from turpial.ui.gtk.tray import TrayIcon from turpial.ui.gtk.worker import Worker from turpial.ui.gtk.container import Container from turpial.ui.gtk.imageview import ImageView from turpial.ui.gtk.indicator import Indicators from turpial.ui.gtk.factory import ImagesFactory # Dialogs from turpial.ui.gtk.about import AboutDialog from turpial.ui.gtk.oauth import OAuthDialog from turpial.ui.gtk.search import SearchDialog from turpial.ui.gtk.updatebox import UpdateBox from turpial.ui.gtk.profiles import ProfileDialog from turpial.ui.gtk.accounts import AccountsDialog from turpial.ui.gtk.preferences import PreferencesDialog #gtk.gdk.set_program_class("Turpial") GObject.threads_init() # TODO: Improve all splits for accounts_id with a common function class Main(Base, Gtk.Window): def __init__(self, core): Base.__init__(self, core) Gtk.Window.__init__(self) self.log = logging.getLogger('Gtk') self.set_title(DESC) self.set_size_request(250, 250) self.set_default_size(300, 480) self.set_icon(self.load_image('turpial.svg', True)) self.set_position(Gtk.WindowPosition.CENTER) self.set_gravity(Gdk.Gravity.STATIC) self.connect('delete-event', self.__on_close) self.connect('key-press-event', self.__on_key_press) self.connect('focus-in-event', self.__on_focus) #self.connect('size-request', self.__size_request) # Configuration self.showed = True self.minimize = 'on' self.is_fullscreen = False self.timers = {} self.updating = {} self.columns = {} self.indicator = Indicators() self.indicator.connect('main-clicked', self.__on_main_indicator_clicked) self.indicator.connect('indicator-clicked', self.__on_indicator_clicked) self.openstatuses = {} self.worker = Worker() self.worker.set_timeout_callback(self.__worker_timeout_callback) self.worker.start() self.avatars_worker = Worker() self.avatars_worker.set_timeout_callback(self.__worker_timeout_callback) self.avatars_worker.start() self.factory = ImagesFactory(self) # Persistent dialogs self.accounts_dialog = AccountsDialog(self) self.profile_dialog = ProfileDialog(self) self.update_box = UpdateBox(self) self.imageview = ImageView(self) self.tray = TrayIcon(self) self.tray.connect("activate", self.__on_tray_click) self.tray.connect("popup-menu", self.__show_tray_menu) self.dock = Dock(self) self._container = Container(self) vbox = Gtk.VBox() vbox.pack_start(self._container, True, True, 0) vbox.pack_start(self.dock, False, False, 0) self.add(vbox) def __on_close(self, widget, event=None): if self.core.minimize_on_close(): self.showed = False if self.unitylauncher.is_supported(): self.iconify() else: self.hide() else: self.main_quit(widget) return True def __on_key_press(self, widget, event): keyname = Gdk.keyval_name(event.keyval) if keyname.upper() == 'F' and event.state & Gdk.ModifierType.CONTROL_MASK: self.__toogle_fullscreen() return True return False def __toogle_fullscreen(self): if self.is_fullscreen: self.unfullscreen() self.is_fullscreen = False else: self.fullscreen() self.is_fullscreen = True #================================================================ # Tray icon #================================================================ def __on_tray_click(self, widget): if self.showed: self.showed = False self.hide() else: self.showed = True self.show() def __show_tray_menu(self, widget, button, activate_time): return self.tray.popup(button, activate_time) def __on_main_indicator_clicked(self, indicator): self.showed = True self.show() self.present() def __on_indicator_clicked(self, indicator, data): self.indicator.clean() self.__on_main_indicator_clicked(indicator) def __on_focus(self, widget, event): try: self.set_urgency_hint(False) self.unitylauncher.set_count_visible(False) self.unitylauncher.set_count(0) except Exception: pass self.tray.clear() #================================================================ # Overrided methods #================================================================ def main_loop(self): try: Gdk.threads_enter() Gtk.main() Gdk.threads_leave() except Exception: sys.exit(0) def main_quit(self, widget=None, force=False): self.log.debug('Exiting...') self.unitylauncher.quit() self.destroy() self.tray = None self.worker.quit() self.worker.join() self.avatars_worker.quit() self.avatars_worker.join() if widget: Gtk.main_quit() if force: sys.exit(0) def show_main(self): self.start() self.show_all() self.update_container() def show_notice(self, message, type_): pass def show_media(self, url): self.imageview.loading() self.worker.register(self.core.get_media_content, (url, None), self.__show_media_callback) def show_user_avatar(self, account_id, user): self.imageview.loading() self.worker.register(self.core.get_profile_image, (account_id, user), self.__show_user_avatar_callback) def show_user_profile(self, account_id, user): self.profile_dialog.loading() self.worker.register(self.core.get_user_profile, (account_id, user), self.__show_user_profile_callback) def login(self, account_id): #return self.accounts_dialog.update() self.worker.register(self.core.login, (account_id), self.__login_callback, account_id) #================================================================ # Hooks definitions #================================================================ def after_delete_account(self, deleted, err_msg=None): self.accounts_dialog.done_delete() def after_save_account(self, account_id, err_msg=None): self.worker.register(self.core.login, (account_id), self.__login_callback, account_id) def after_save_column(self, column, err_msg=None): self._container.add_column(column) self.dock.normal() self.tray.normal() self.download_stream(column) self.__add_timer(column) def after_delete_column(self, column_id, err_msg=None): self._container.remove_column(column_id) if len(self.get_registered_columns()) == 0: self.dock.empty() self.tray.empty() self.__remove_timer(column_id) def after_login(self): #self.worker.register(self.core.load_all_friends_list, (), self.load_all_friends_response) pass def after_update_status(self, response, account_id): if response.code > 0: self.update_box.update_error(response.errmsg) else: self.update_box.done() def after_broadcast_status(self, response): bad_acc = [] good_acc = [] error = False for resp in response: if resp.code > 0: error = True protocol = i18n.get(resp.account_id.split('-')[1]) bad_acc.append("%s (%s)" % (resp.account_id.split('-')[0], protocol)) else: good_acc.append(resp.account_id) if error: self.update_box.broadcast_error(good_acc, bad_acc) else: self.update_box.done() def after_direct_message(self, response): if response.code > 0: self.update_box.update_error(response.errmsg) else: self.update_box.done() def after_favorite(self, response, action): # TODO: Check for errors if action == self.ACTION_FAVORITE: self._container.mark_status_favorite(response.items) else: self._container.unmark_status_favorite(response.items) def after_repeat(self, response, action): # TODO: Check for errors if action == self.ACTION_REPEAT: self._container.mark_status_repeat(response.items) else: self._container.unmark_status_repeat(response.items) def after_delete_status(self, response): if response.code > 0: # show notice # unlock status pass else: self._container.delete_status(response.items) def after_autoshort_url(self, response): self.update_box.update_after_short_url(response) #================================================================ # Own methods #================================================================ def load_image(self, filename, pixbuf=False): img_path = os.path.join(self.images_path, filename) pix = GdkPixbuf.Pixbuf.new_from_file(img_path) if pixbuf: return pix avatar = Gtk.Image() avatar.set_from_pixbuf(pix) del pix return avatar def show_about_dialog(self, widget=None): about_dialog = AboutDialog(self) about_dialog.show() def show_accounts_dialog(self, widget=None): self.accounts_dialog.show() def show_preferences_dialog(self, widget=None): preferences_dialog = PreferencesDialog(self) preferences_dialog.show() def show_search_dialog(self, widget=None): search_dialog = SearchDialog(self) search_dialog.show() def show_update_box(self, widget=None, direct=False): self.update_box.show() def show_update_box_for_reply(self, in_reply_id, account_id, in_reply_user): self.update_box.show_for_reply(in_reply_id, account_id, in_reply_user) def show_update_box_for_reply_direct(self, in_reply_id, account_id, in_reply_user): self.update_box.show_for_reply_direct(in_reply_id, account_id, in_reply_user) def show_update_box_for_quote(self, message): self.update_box.show_for_quote(message) def show_confirm_dialog(self, message, callback, *args): dialog = Gtk.MessageDialog(self, Gtk.DialogFlags.MODAL, Gtk.MessageType.QUESTION, Gtk.ButtonsType.YES_NO, message) response = dialog.run() dialog.destroy() if response == Gtk.ResponseType.YES: callback(*args) def confirm_repeat_status(self, status): self.show_confirm_dialog(i18n.get('do_you_want_to_repeat_status'), self.repeat_status, status) def confirm_unrepeat_status(self, status): self.show_confirm_dialog(i18n.get('do_you_want_to_undo_repeat_status'), self.unrepeat_status, status) def confirm_favorite_status(self, status): self.favorite_status(status) def confirm_unfavorite_status(self, status): self.unfavorite_status(status) def confirm_delete_status(self, status): self.show_confirm_dialog(i18n.get('do_you_want_to_delete_status'), self.delete_status, status) def update_column(self, arg, data): column, notif, max_ = data if arg.code > 0: self._container.stop_updating(column.id_, arg.errmsg, 'error') print arg.errmsg return # Notifications # FIXME count = len(arg.items) if count > 0: self.log.debug('Updated %s statuses in column %s' % (count, column.id_)) self._container.update_column(column.id_, arg.items) else: self.log.debug('Column %s not updated' % column.id_) self._container.stop_updating(column.id_) # if notif and self.core.show_notifications_in_updates(): # self.notify.updates(column, count) # if self.core.play_sounds_in_updates(): # self.sound.updates() # if not self.is_active(): # self.unitylauncher.increment_count(count) # self.unitylauncher.set_count_visible(True) # else: # self.unitylauncher.set_count_visible(False) #column.inc_size(count) # self.restore_open_tweets() ??? def update_container(self): columns = self.get_registered_columns() if len(columns) == 0: self._container.empty() self.dock.empty() self.tray.empty() else: self._container.normal(self.get_accounts_list(), columns) self.dock.normal() self.tray.normal() def fetch_status_avatar(self, status, callback): self.worker.register(self.core.get_status_avatar, (status), callback) #================================================================ # Callbacks #================================================================ def __login_callback(self, arg, account_id): if arg.code > 0: # FIXME: Implemente notice # self.show_notice(arg.errmsg, 'error') self.accounts_dialog.cancel_login(arg.errmsg) return self.accounts_dialog.status_message(i18n.get('authenticating')) auth_obj = arg.items if auth_obj.must_auth(): oauthwin = OAuthDialog(self, self.accounts_dialog.form, account_id) oauthwin.connect('response', self.__oauth_callback) oauthwin.connect('cancel', self.__cancel_callback) oauthwin.open(auth_obj.url) else: self.__auth_callback(arg, account_id, False) def __oauth_callback(self, widget, verifier, account_id): self.accounts_dialog.status_message(i18n.get('authorizing')) self.worker.register(self.core.authorize_oauth_token, (account_id, verifier), self.__auth_callback, account_id) def __cancel_callback(self, widget, reason, account_id): self.delete_account(account_id) self.accounts_dialog.cancel_login(i18n.get(reason)) def __auth_callback(self, arg, account_id, register = True): if arg.code > 0: # FIXME: Implemente notice #self.show_notice(msg, 'error') self.accounts_dialog.cancel_login(arg.errmsg) else: self.worker.register(self.core.auth, (account_id), self.__done_callback, (account_id, register)) def __done_callback(self, arg, userdata): (account_id, register) = userdata if arg.code > 0: self.core.change_login_status(account_id, LoginStatus.NONE) self.accounts_dialog.cancel_login(arg.errmsg) #self.show_notice(msg, 'error') else: if register: account_id = self.core.name_as_id(account_id) self.accounts_dialog.done_login() self.accounts_dialog.update() response = self.core.get_own_profile(account_id) if response.code > 0: #self.show_notice(response.errmsg, 'error') pass else: pass #if self.core.show_notifications_in_login(): # self.notify.login(response.items) for col in self.get_registered_columns(): if col.account_id == account_id: self.download_stream(col, True) self.__add_timer(col) def __show_media_callback(self, response): if response.err: self.imageview.error(response.errmsg) else: content_obj = response.response if content_obj.is_image(): content_obj.save_content() self.imageview.update(content_obj.path) elif content_obj.is_video() or content_obj.is_map(): self.imageview.error('Media not supported yet') def __show_user_avatar_callback(self, response): if response.code > 0: self.imageview.error(response.errmsg) else: self.imageview.update(response.items) def __show_user_profile_callback(self, response): if response.code > 0: self.profile_dialog.error(response.errmsg) else: self.profile_dialog.update(response.items) def __worker_timeout_callback(self, funct, arg, user_data): if user_data: GObject.timeout_add(Worker.TIMEOUT, funct, arg, user_data) else: GObject.timeout_add(Worker.TIMEOUT, funct, arg) #================================================================ # Timer Methods #================================================================ def __add_timer(self, column): self.__remove_timer(column.id_) interval = self.core.get_update_interval() self.timers[column.id_] = GObject.timeout_add(interval * 60 * 1000, self.download_stream, column) self.log.debug('--Created timer for %s every %i min' % (column.id_, interval)) def __remove_timer(self, column_id): if self.timers.has_key(column_id): GObject.source_remove(self.timers[column_id]) self.log.debug('--Removed timer for %s' % column_id) def download_stream(self, column, notif=True): if self._container.is_updating(column.id_): return True last_id = self._container.start_updating(column.id_) count = self.core.get_max_statuses_per_column() self.worker.register(self.core.get_column_statuses, (column.account_id, column.column_name, count, last_id), self.update_column, (column, notif, count)) return True def refresh_column(self, column_id): for col in self.get_registered_columns(): if col.slug == column_id: self.download_stream(col) turpial-3.0+dfsg.orig/turpial/ui/gtk/indicator.py0000644000000000000000000000516612254451436017026 0ustar # -*- coding: utf-8 -*- """ Indicator module for Turpial """ # # Author: Wil Alvarez (aka Satanas) import os import logging from gi.repository import GObject from turpial.ui.lang import i18n log = logging.getLogger('Indicator') INDICATOR = True try: #from gi.repository import Indicate INDICATOR = False except ImportError, exc: log.info('Could not import Indicate module. Support for indicators disabled') INDICATOR = False class Indicators(GObject.GObject): __gsignals__ = { "main-clicked": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, ()), "indicator-clicked": (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, (GObject.TYPE_PYOBJECT, )), } def __init__(self, disable=False): GObject.GObject.__init__(self) self.indicators = {} self.activate() self.disable = disable if not INDICATOR: log.debug('Module not available') self.disable = True return if disable: log.debug('Module disabled') return desktop_file = os.path.join(os.getcwd(), "turpial.desktop") server = Indicate.indicate_server_ref_default() server.set_type("message.micro") server.set_desktop_file(desktop_file) server.show() server.connect("server-display", self.__on_server_display) def __on_server_display(self, server, data): self.emit('main-clicked') def __on_user_display(self, indicator, data): self.emit('indicator-clicked', indicator) def toggle_activation(self): if self.active: self.active = False else: self.active = True def activate(self): self.active = True def deactivate(self): self.active = False def add_update(self, column, count): if self.disable: log.debug('Module disabled. Adding no indicators') return global INDICATOR if self.active and INDICATOR: message = "%s :: %s (%s)" % (column.account_id.split('-')[0], column.column_name, i18n.get(column.protocol_id)) indicator = Indicate.Indicator() indicator.connect("user-display", self.__on_user_display) indicator.set_property("name", message) indicator.set_property("count", str(count)) indicator.label = message self.indicators[message] = indicator self.indicators[message].show() def clean(self): for key, indicator in self.indicators.iteritems(): print indicator indicator.hide() GObject.type_register(Indicators) turpial-3.0+dfsg.orig/turpial/ui/gtk/container.py0000644000000000000000000001031412254451436017023 0ustar # -*- coding: utf-8 -*- # GTK3 container for all columns in Turpial from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject from gi.repository import GdkPixbuf from turpial.ui.lang import i18n from turpial.ui.gtk.column import StatusesColumn class Container(Gtk.VBox): def __init__(self, base): Gtk.VBox.__init__(self) self.base = base self.child = None #self.set_double_buffered(True) self.columns = {} self.modify_bg(Gtk.StateType.NORMAL, Gdk.Color(65535, 65535,65535)) def __scrolling_right(self): if len(self.columns) > 0: adjustment = self.child.get_hadjustment() max_value = adjustment.get_upper() adjustment.set_value(max_value) def empty(self): if self.child: self.remove(self.child) placeholder = Gtk.Image() image = Gtk.Image() image.set_from_pixbuf(self.base.load_image('logo.png', True)) welcome = Gtk.Label() welcome.set_use_markup(True) welcome.set_markup('' + i18n.get('welcome') + '') no_accounts = Gtk.Label() no_accounts.set_use_markup(True) no_accounts.set_line_wrap(True) no_accounts.set_justify(Gtk.Justification.CENTER) if len(self.base.get_accounts_list()) > 0: no_accounts.set_markup(i18n.get('no_registered_columns')) else: no_accounts.set_markup(i18n.get('no_active_accounts')) self.child = Gtk.VBox() self.child.pack_start(placeholder, False, False, 40) self.child.pack_start(image, False, False, 20) self.child.pack_start(welcome, False, False, 10) self.child.pack_start(no_accounts, False, False, 0) self.add(self.child) self.show_all() def normal(self, accounts, columns): self.columns = {} box = Gtk.HBox() for col in columns: self.columns[col.id_] = StatusesColumn(self.base, col) box.pack_start(self.columns[col.id_], True, True, 0) self.child = Gtk.ScrolledWindow() self.child.add_with_viewport(box) self.add(self.child) self.show_all() def start_updating(self, column_id): return self.columns[column_id].start_updating() def stop_updating(self, column_id, errmsg=None, errtype=None): self.columns[column_id].stop_updating() if errmsg: self.base.show_notice(errmsg, errtype) def is_updating(self, column_id): return self.columns[column_id].updating def update_column(self, column_id, statuses): self.columns[column_id].update(statuses) self.stop_updating(column_id) def add_column(self, column): if len(self.columns) > 1: self.columns[column.id_] = StatusesColumn(self.base, column) hbox = self.child.get_children()[0].get_child() hbox.pack_start(self.columns[column.id_], True, True, 0) else: self.remove(self.child) accounts = self.base.get_accounts_list() columns = self.base.get_registered_columns() self.normal(accounts, columns) self.show_all() self.scroll() def remove_column(self, column_id): hbox = self.child.get_children()[0].get_child() hbox.remove(self.columns[column_id]) del self.columns[column_id] if len(self.columns) == 0: self.empty() def mark_status_favorite(self, status): # TODO: Optimize this function. Map? for key, column in self.columns.iteritems(): column.mark_favorite(status) def unmark_status_favorite(self, status): for key, column in self.columns.iteritems(): column.unmark_favorite(status) def mark_status_repeat(self, status): for key, column in self.columns.iteritems(): column.mark_repeat(status) def unmark_status_repeat(self, status): for key, column in self.columns.iteritems(): column.unmark_repeat(status) def delete_status(self, status): for key, column in self.columns.iteritems(): column.delete_status(status) def scroll(self): GObject.timeout_add(250, self.__scrolling_right) turpial-3.0+dfsg.orig/turpial/ui/gtk/about.py0000644000000000000000000000471512254451436016163 0ustar # -*- coding: utf-8 -*- # Ventana para subir el ego de los desarrolladores de Turpial xD # # Author: Wil Alvarez (aka Satanas) # Dic 21, 2009 import os from gi.repository import Gtk from turpial import NAME from turpial import VERSION from turpial.ui.lang import i18n class AboutDialog(Gtk.AboutDialog): def __init__(self, parent=None): Gtk.AboutDialog.__init__(self) self.set_logo(parent.load_image('turpial.png', True)) self.set_name(NAME) self.set_version(VERSION) self.set_modal(True) self.set_copyright('Copyright (C) 2009 - 2012 Wil Alvarez') self.set_comments(i18n.get('about_description')) self.set_website('http://turpial.org.ve') try: path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', '..', '..', 'COPYING')) lic = file(path, 'r') license = lic.read() lic.close() except Exception, msg: license = 'This script is free software; you can redistribute it ' license += 'and/or modify it under the\nterms of the GNU General Public ' license += 'License as published by the Free Software\nFoundation; either ' license += 'version 3 of the License, or (at your option) any later version.' license += '\n\nYou should have received a copy of the GNU General Public ' license += 'License along with\nthis script (see license); if not, write to ' license += 'the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, ' license += 'Boston, MA 02111-1307 USA' self.set_license(license) authors = [] try: path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', '..', '..', 'AUTHORS')) f = file(path, 'r') for line in f: authors.append(line.strip('\n')) f.close() except Exception, msg: authors = [i18n.get('file_not_found')] self.set_authors(authors) self.connect("response", self.__response) self.connect("close", self.__close) self.connect("delete_event", self.__close) def __response(self, dialog, response, *args): if response < 0: dialog.destroy() dialog.emit_stop_by_name('response') def __close(self, widget, event=None): self.destroy() return True def quit(self): self.destroy() turpial-3.0+dfsg.orig/turpial/ui/gtk/updatebox.py0000644000000000000000000003273712254451436017051 0ustar # -*- coding: utf-8 -*- """ Widget to update statuses in Turpial """ # # Author: Wil Alvarez (aka Satanas) from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GObject from turpial.ui.lang import i18n SPELLING = False try: #import gtkspell SPELLING = False except: pass #from turpial.ui.Gtk.friendwin import FriendsWin from turpial.ui.gtk.markuplabel import MarkupLabel MAX_CHAR = 140 class UpdateBox(Gtk.Window): def __init__(self, base): Gtk.Window.__init__(self) self.blocked = False self.base = base self.title_caption = i18n.get('whats_happening') #self.set_resizable(False) self.set_default_size(500, 120) self.set_transient_for(base) self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.set_gravity(Gdk.Gravity.STATIC) self.update_text = MessageTextView() scroll = Gtk.ScrolledWindow() scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) scroll.set_shadow_type(Gtk.ShadowType.IN) scroll.add(self.update_text) self.btn_update = Gtk.Button(i18n.get('update')) self.btn_update.set_tooltip_text(i18n.get('update_status') + ' (Ctrl + Enter)') self.btn_short = Gtk.Button() self.btn_short.set_image(self.base.load_image('action-shorten.png')) self.btn_short.set_tooltip_text(i18n.get('short_urls')) self.btn_upload = Gtk.Button() self.btn_upload.set_image(self.base.load_image('action-upload.png')) self.btn_upload.set_tooltip_text(i18n.get('upload_image')) self.spinner = Gtk.Spinner() self.message = MarkupLabel(xalign=1) opt_box = Gtk.HBox() opt_box.pack_start(self.btn_upload, False, False, 1) opt_box.pack_start(self.btn_short, False, False, 1) opt_align = Gtk.Alignment() opt_align.set(0, -1, -1, -1) opt_align.add(opt_box) box = Gtk.HBox() box.pack_start(opt_align, False, False, 0) box.pack_start(self.message, True, True, 0) box.pack_start(self.spinner, False, False, 5) box.pack_start(self.btn_update, False, False, 2) buttonbox = Gtk.Alignment() buttonbox.set_property('xalign', 1) buttonbox.add(box) self.accounts = {} self.accbox = Gtk.HBox() for account in self.base.get_all_accounts(): chk = Gtk.CheckButton(account.id_.split('-')[0]) chk.set_margin_right(5) img = Gtk.Image() img.set_from_pixbuf(self.base.load_image(account.id_.split('-')[1] + '.png', True)) self.accbox.pack_start(img, False, False, 0) self.accbox.pack_start(chk, False, False, 0) self.accounts[account.id_] = chk vbox = Gtk.VBox() vbox.pack_start(scroll, True, True, 3) vbox.pack_start(buttonbox, False, False, 0) vbox.pack_start(self.accbox, False, False, 0) vbox.set_margin_right(3) vbox.set_margin_left(3) self.add(vbox) _buffer = self.update_text.get_buffer() #self.connect('key-press-event', self.__detect_shortcut) _buffer.connect('changed', self.__count_chars) self.connect('delete-event', self.__unclose) #self.btn_upload.connect('clicked', self.__release) self.btn_short.connect('clicked', self.__short_url) self.btn_update.connect('clicked', self.__update_callback) #self.btn_url.connect('clicked', self.short_url) #self.btn_url.set_sensitive(False) self.update_text.connect('key-press-event', self.__on_key_pressed) if SPELLING: try: self.spell = Gtkspell.Spell (self.update_text) except Exception, e_msg: # FIXME: Usar el log print 'DEBUG:UI:Can\'t load Gtkspell -> %s' % e_msg else: # FIXME: Usar el log print 'DEBUG:UI:Can\'t load Gtkspell' self.__reset() self.__count_chars() def __on_key_pressed(self, widget, event): keyname = Gdk.keyval_name(event.keyval) if keyname == 'Return' and event.state & Gdk.ModifierType.CONTROL_MASK: self.__update_callback(widget) return True elif keyname == 'Escape': self.__unclose(widget) return True return False def __unclose(self, widget, event=None): if not self.blocked: if self.__count_chars() < 140: self.base.show_confirm_dialog(i18n.get('do_you_want_to_discard_message'), self.done) else: self.done() return True def __reset(self): self._account_id = None self._in_reply_id = None self._in_reply_user = None self._message = None self._direct_message_to = None self.message.set_markup('') def __count_chars(self, widget=None): _buffer = self.update_text.get_buffer() remain = MAX_CHAR - _buffer.get_char_count() self.set_title("%s (%i)" % (self.title_caption, remain)) return remain def __update_callback(self, widget): status = self.update_text.get_text() accounts = [] for key, chk in self.accounts.iteritems(): if chk.get_active(): accounts.append(key) # Validate basic variables if len(accounts) == 0: self.message.set_error_text(i18n.get('select_account_to_post')) return if status == '': self.message.set_error_text(i18n.get('you_must_write_something')) return if len(status) > MAX_CHAR: self.message.set_error_text(i18n.get('message_looks_like_testament')) return # Send direct message if self._direct_message_to: if len(accounts) > 1: self.message.set_error_text(i18n.get('can_send_message_to_one_account')) else: self.lock(i18n.get('sending_message')) self.base.direct_message(accounts[0], self._direct_message_to, status) # Send regular status else: self.lock(i18n.get('updating_status')) self.base.update_status(accounts, status, self._in_reply_id) def __show(self, message=None, status_id=None, account_id=None, reply_id=None, reply_user=None, ): # Check for new accounts for account in self.base.get_all_accounts(): if not account.id_ in self.accounts: chk = Gtk.CheckButton(account.id_.split('-')[0]) chk.set_margin_right(5) img = Gtk.Image() img.set_from_pixbuf(self.base.load_image(account.id_.split('-')[1] + '.png', True)) self.accbox.pack_start(img, False, False, 0) self.accbox.pack_start(chk, False, False, 0) self.accounts[account.id_] = chk self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) self.set_focus(self.update_text) if self._message: self.update_text.set_text(self._message) # TODO: Save the previous state of checkboxes if self._account_id: for key, account in self.accounts.iteritems(): account.set_sensitive(False) account.set_active(False) self.accounts[self._account_id].set_active(True) self.show_all() self.unlock() self.__count_chars() def __short_url(self, widget): self.lock(i18n.get('shorting_urls')) message = self.update_text.get_text() if len(message) == 0: self.unlock(i18n.get('no_url_to_short')) else: self.base.autoshort_url(message) def close(self): self.__unclose(None) def show(self): self.title_caption = i18n.get('whats_happening') self.__show() def show_for_quote(self, message): self.title_caption = i18n.get('update_status') self._message = message self.__show() self.update_text.move_cursor(MessageTextView.CURSOR_START) def show_for_reply(self, in_reply_id, account_id, in_reply_user): self.title_caption = i18n.get('reply_status') self._in_reply_id = in_reply_id self._in_reply_user = in_reply_user self._account_id = account_id self._message = "%s " % (in_reply_user) self.__show() self.update_text.move_cursor(MessageTextView.CURSOR_END) def show_for_direct(self, account_id, username): self.title_caption = "%s @%s" % (i18n.get('send_message_to'), username) self._account_id = account_id self._direct_message_to = username self.__show() def show_for_reply_direct(self, in_reply_id, account_id, username): self.title_caption = "%s @%s" % (i18n.get('reply_message_to'), username) self._in_reply_id = in_reply_id self._account_id = account_id self._direct_message_to = username self.__show() def done(self, widget=None, event=None): self.update_text.clear() self.__reset() self.hide() return True def clear(self, widget): self.update_text.clear() self._direct_message_to = None def lock(self, msg): self.blocked = True self.update_text.set_sensitive(False) self.btn_update.set_sensitive(False) self.spinner.start() self.spinner.show() self.message.set_markup(msg) for key, account in self.accounts.iteritems(): account.set_sensitive(False) def unlock(self, msg=None): self.blocked = False self.update_text.set_sensitive(True) self.btn_update.set_sensitive(True) self.spinner.stop() self.spinner.hide() if not self._account_id: for key, account in self.accounts.iteritems(): account.set_sensitive(True) if msg: if msg != 'Unknown error': self.message.set_error_text(msg) else: self.message.set_error_text(i18n.get('i_couldnt_update_status')) else: self.message.set_text('') self.set_focus(self.update_text) def update_error(self, msg=None): self.unlock(msg) def broadcast_error(self, posted_accounts, err_accounts): errmsg = i18n.get('error_posting_to') % (', '.join(err_accounts)) self.unlock(errmsg) for account_id in posted_accounts: self.accounts[account_id].set_sensitive(False) self.accounts[account_id].set_active(False) def update_after_short_url(self, response): if response.code == 815: self.unlock(i18n.get('url_already_short')) elif response.code == 812: self.unlock(i18n.get('no_url_to_short')) elif response.code > 0: self.unlock(i18n.get('couldnt_shrink_urls')) else: self.update_text.set_text(response.items) self.update_text.move_cursor(MessageTextView.CURSOR_END) self.unlock() """ def show_friend_dialog(self, widget): f = FriendsWin(self, self.add_friend, self.base.request_friends_list()) def add_friend(self, user): if user is None: return _buffer = self.update_text.get_buffer() end_offset = _buffer.get_property('cursor-position') start_offset = end_offset - 1 end = _buffer.get_iter_at_offset(end_offset) start = _buffer.get_iter_at_offset(start_offset) text = _buffer.get_text(start, end) if (text != ' ') and (start_offset > 0): user = ' ' + user _buffer.insert_at_cursor(user) def __on_url_changed(self, widget): url_lenght = widget.get_text_length() if url_lenght == 0: self.btn_url.set_sensitive(False) else: self.btn_url.set_sensitive(True) return False def __detect_shortcut(self, widget, event=None): keyname = Gtk.gdk.keyval_name(event.keyval) if (event.state & Gtk.gdk.CONTROL_MASK) and keyname.lower() == 'f': self.show_friend_dialog(widget) return True elif (event.state & Gtk.gdk.CONTROL_MASK) and keyname.lower() == 'l': self.clear(widget) return True elif (event.state & Gtk.gdk.CONTROL_MASK) and keyname.lower() == 't': self.update(widget) return True return False """ class MessageTextView(Gtk.TextView): '''Class for the message textview (where user writes new messages) for chat/groupchat windows''' CURSOR_START = 1 CURSOR_END = 2 def __init__(self): GObject.GObject.__init__(self) Gtk.TextView.__init__(self) self.set_wrap_mode(Gtk.WrapMode.WORD) self.set_accepts_tab(False) def destroy(self): import gc GObject.idle_add(lambda:gc.collect()) def clear(self, widget=None): self.get_buffer().set_text('') def set_text(self, message): self.get_buffer().set_text(message) def get_text(self): _buffer = self.get_buffer() start, end = _buffer.get_bounds() return _buffer.get_text(start, end, False) def move_cursor(self, position=CURSOR_END): _buffer = self.get_buffer() start_iter = _buffer.get_start_iter() end_iter = _buffer.get_end_iter() length = len(_buffer.get_text(start_iter, end_iter, False)) if position == self.CURSOR_START: _buffer.place_cursor(start_iter) elif position == self.CURSOR_END: _buffer.place_cursor(end_iter) else: pass turpial-3.0+dfsg.orig/turpial/ui/gtk/imagebutton.py0000644000000000000000000000302212044556130017347 0ustar # -*- coding: utf-8 -*- # GTK3 widget to implement statuses in Turpial import os from gi.repository import Gtk from gi.repository import GObject from gi.repository import GdkPixbuf class ImageButton(Gtk.EventBox): __gsignals__ = { 'clicked': (GObject.SIGNAL_RUN_FIRST, None, ()) } def __init__(self, basedir, pattern): Gtk.EventBox.__init__(self) self.image = Gtk.Image() self.set_visible_window(False) # This receives a pattern like "my-image-*" and replace the wildcard # to build the name for the normal and hover image normal_image_file = os.path.join(basedir, pattern.replace('*', 'normal.png')) hover_image_file = os.path.join(basedir, pattern.replace('*', 'hover.png')) # Loading both images on memory to speed up things self.normal_image = GdkPixbuf.Pixbuf.new_from_file(normal_image_file) self.hover_image = GdkPixbuf.Pixbuf.new_from_file(hover_image_file) self.add(self.image) self.__on_leave(None, None) self.connect('enter-notify-event', self.__on_hover) self.connect('leave-notify-event', self.__on_leave) self.connect('button-release-event', self.__on_click) def __on_hover(self, widget, event, data=None): self.image.set_from_pixbuf(self.hover_image) def __on_leave(self, widget, event, data=None): self.image.set_from_pixbuf(self.normal_image) def __on_click(self, widget, event, data=None): self.__on_leave(None, None) self.emit('clicked') turpial-3.0+dfsg.orig/turpial/__init__.py0000644000000000000000000000010212254451435015367 0ustar VERSION = "3.0" NAME = "Turpial" DESC = "%s %s" % (NAME, VERSION) turpial-3.0+dfsg.orig/turpial/main.py0000644000000000000000000000652212254451536014572 0ustar #!/usr/bin/python # -*- coding: utf-8 -*- # Turpial # # Author: Wil Alvarez (aka Satanas) # Oct 7, 2011 import os import sys import logging import subprocess from optparse import OptionParser, SUPPRESS_HELP from turpial import DESC from turpial.ui import util from libturpial.api.core import Core from libturpial.common.tools import * from libturpial import VERSION as LIBTURPIAL_VERSION LOG_FMT = logging.Formatter('[%(asctime)s] [%(name)s::%(levelname)s] %(message)s', '%Y%m%d-%H:%M') class Turpial: def __init__(self): parser = OptParser() parser.add_option('-d', '--debug', dest='debug', action='store_true', help='show debug info in shell during execution', default=False) parser.add_option('-i', '--interface', dest='interface', help='select interface to use. Available: %s' % util.available_interfaces(), default=util.DEFAULT_INTERFACE) parser.add_option('-c', '--clean', dest='clean', action='store_true', help='clean all bytecodes', default=False) parser.add_option('--version', dest='version', action='store_true', help='show the version of Turpial and exit', default=False) parser.add_option('-s', dest='mac', action='store_true', default=False, help=SUPPRESS_HELP) parser.add_option('-p', dest='mac', action='store_true', default=False, help=SUPPRESS_HELP) (options, args) = parser.parse_args() if not options.mac and parser.failed: parser.print_help() sys.exit(-2) self.interface = options.interface if options.debug or options.clean: logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.INFO) self.log = logging.getLogger('Controller') #handler = logging.StreamHandler() #handler.setFormatter(LOG_FMT) #self.log.addHandler(handler) if options.clean: clean_bytecodes(__file__, self.log) sys.exit(0) # TODO: Override with any configurated value if options.interface in util.INTERFACES.keys(): self.ui = util.INTERFACES[options.interface](debug=options.debug) else: print "'%s' is not a valid interface. Availables interfaces are %s" % ( options.interface, util.available_interfaces()) sys.exit(-1) if options.version: print DESC print "libturpial v%s" % LIBTURPIAL_VERSION print "Python v%X" % sys.hexversion sys.exit(0) self.log.debug('Starting %s' % DESC) self.ui.show_main() try: self.ui.main_loop() except KeyboardInterrupt: self.log.debug('Intercepted Keyboard Interrupt') self.ui.main_quit() class OptParser(OptionParser): def __init__(self): OptionParser.__init__(self) self.failed = False def error(self, error): print error self.failed = True def exit(self): pass def main(): #try: # subprocess.call(['turpial-unity-daemon', 'stop']) # subprocess.call(['turpial-unity-daemon', 'start']) #except: # pass t = Turpial() #try: # subprocess.call(['turpial-unity-daemon', 'stop']) #except: # pass if __name__ == '__main__': sys.exit(main()) turpial-3.0+dfsg.orig/turpial/i18n/0000755000000000000000000000000012254451540014041 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ja/0000755000000000000000000000000012254451540014433 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ja/LC_MESSAGES/0000755000000000000000000000000012254451540016220 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ja/LC_MESSAGES/turpial.po0000644000000000000000000005770112254451435020255 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # kougasha , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-26 01:56+0000\n" "Last-Translator: kougasha \n" "Language-Team: Japanese (http://www.transifex.com/projects/p/turpial-1/language/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "ようこそ!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "アカウントを追加する" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "Turpialを使い始めるには" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "現在登録されているアカウントがあります" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "カラムを追加する" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "更新を確認する" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "ダイレクトメッセージを送る" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "設定" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "初期設定" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Turpialについて" #: turpial/ui/lang.py:30 msgid "Search" msgstr "検索" #: turpial/ui/lang.py:31 msgid "Account" msgstr "アカウント" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "アカウント" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "カラム" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Turpialを認証する" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "PINコードを入力" #: turpial/ui/lang.py:36 msgid "Save" msgstr "保存" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Turpialを認証してPINコードをテキストボックスにコピーする" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "ユーザープロフィール" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "自己紹介" #: turpial/ui/lang.py:40 msgid "Location" msgstr "位置" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "ツイート" #: turpial/ui/lang.py:43 msgid "Following" msgstr "フォロー" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "フォロワー" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "お気に入り" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "条件" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "検索条件としてハッシュタグ、メンション、テキストを使う" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "メッセージを送る友だちを選ぶ" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "友だち" #: turpial/ui/lang.py:50 msgid "Select" msgstr "選択" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "友だちのリストを読み込む" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "いまどうしてる?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "画像をアップロード" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "短縮URL" #: turpial/ui/lang.py:55 msgid "Update" msgstr "更新" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "カラムを削除する" #: turpial/ui/lang.py:57 msgid "now" msgstr "今" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "がリツイート" #: turpial/ui/lang.py:59 msgid "New" msgstr "New" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "削除" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "再ログイン" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "新しいアカウントを登録する" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "アカウントの削除する" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Twitterアカウントを登録する" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Identi.caアカウントを登録する" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "登録されているアカウントはありません" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "新しいアカウントの登録に問題が発生しました" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "一斉送信" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "空のメッセージを送ることはできません" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "メッセージが長すぎます。ごめんね" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "会話を表示" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "会話を隠す" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "返信" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "引用" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "リツイート" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "お気に入りに登録" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "お気に入りから削除" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "に返信" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "引用" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "リツイートを許可" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "リツイートを友だちに通知しますか?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "許可を取り消す" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "このステータスを削除してもよろしいですか?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "このダイレクトメッセージを削除してもよろしいですか?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "ロード中..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "繰り返しの状態" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "削除されたステータス" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "ダイレクトメッセージを削除" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "お気に入り登録されたステータス" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "お気に入りから削除されたステータス" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "さんへメッセージを送る" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "フォロー" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "フォローリクエスト" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "フォローを解除" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "ミュート" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "ミュートを解除" #: turpial/ui/lang.py:97 msgid "Block" msgstr "ブロック" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "スパムを報告として" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "あなたへ" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "会話" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "終了" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "進行中..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "投稿する前にアカウントを選ぶ" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "画像のプレビュー" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "認証を破棄" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "このメッセージを破棄してもよろしいですか?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "詳細" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "最新" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "アカウント%sを削除してもよろしいですか?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "メッセージキュー" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "選択したメッセージを削除" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "全て削除" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "キューにあるすべてのメッセージを削除" #: turpial/ui/lang.py:114 msgid "Message" msgstr "メッセージ" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "このメッセージをキューから削除してもよろしいですか?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "キューをクリアしてもよろしいですか?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Turpialが起動している間はすべての%sにメッセージが送られます" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "次のメッセージは" #: turpial/ui/lang.py:119 msgid "minute" msgstr "分" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "分" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "キューに追加" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Pythonで書かれたマイクロブログクライアント" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "あなたは@%sをフォローしています" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "あなたは@%sをフォローしていません" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%sをスパムとして報告しました" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%sをブロックしました" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%sをミュートにしました" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%sのミュートを解除しました" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "キューからメッセージを送りました" #: turpial/ui/lang.py:130 msgid "Close" msgstr "閉じる" #: turpial/ui/lang.py:131 msgid "General" msgstr "一般" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "通知" #: turpial/ui/lang.py:133 msgid "Services" msgstr "サービス" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "ウェブブラウザ" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "フィルタ" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "プロキシ" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "高度な設定" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "更新頻度とその他の設定" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Turpialからの通知方法を選ぶ" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "リンクを開くブラウザの設定" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "短縮URLと画像アップロードのサービスを選ぶ" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Turpialのプロキシを設定(再起動が必要です)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "高度な設定。理解できない場合は変更しないでください" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "更新頻度" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "キューの頻度" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "カラムごとのステータス" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "閉じるボタンで最小化する" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "更新を通知する" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "アクションを通知する" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "ログイン時に音で知らせる" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "更新時に音で知らせる" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "既定のブラウザを使う" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "別のブラウザを設定" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "コマンド" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "キャッシュを削除" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "キャッシュにあるすべてのファイルを削除" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "デフォルトの設定に戻す" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "設定を戻す" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "接続のタイムアウト" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "ユーザーのアイコンを表示する" #: turpial/ui/lang.py:161 msgid "Type" msgstr "タイプ" #: turpial/ui/lang.py:162 msgid "Host" msgstr "ホスト" #: turpial/ui/lang.py:163 msgid "Port" msgstr "ポート" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "認証" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "ユーザー名" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "パスワード" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "フィルターを追加" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "新しいフィルターを作る" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "選択したフィルターを削除する" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "すべてのフィルターを削除する" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "すべてのフィルターを削除してもよろしいですか?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "画像読み込みエラー" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "会話の読み込みエラー" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "カラムのアップデートエラー" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "返信エラー" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "ステータスの返信エラー" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "お気に入り登録のエラー" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "お気に入り登録解除のエラー" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "ステータス投稿のエラー" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "ユーザープロフィールの読み込み中に問題が発生しました" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "ユーザーのフォローに問題が発生しました" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "ユーザーのフォロー解除に問題が発生しました" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "あれ?このユーザーをブロックできませんでした" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "ユーザーをスパムとして報告するのに問題が発生しました" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "ダイレクトメッセージを送ることができません" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "短縮URLのエラー" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "画像アップロードのエラー" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1件の新しいツイートを更新しました" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s件の新しいツイートを更新しました" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "テスト" #: turpial/ui/lang.py:192 msgid "Open" msgstr "開く" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "カラムの更新頻度を設定する" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "キューからメッセージを投稿する頻度を設定する" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "閉じる代わりにTurpialをシステムトレイに送る" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "更新を取得したときにシステム通知を表示する" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "フォローやブロックなどのアクションがあった時にシステム通知を表示する" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "起動時に音を鳴らす" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "更新を取得したときに音を鳴らす" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "接続を閉じるまでのタイムアウトを設定する" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Turpialでアイコンを表示するように設定されている時、代わりに真っ黒のアイコンを表示する(低速あるいは制限されたインターネット接続で推奨)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "認証を復元" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "設定をデフォルトに戻してもよろしいですか?この操作の後にTurpialは終了し、再起動する必要があります" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "設定をデフォルトに戻しました。Turpialを再起動してください" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "そのアカウントは存在しません" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "こんにちは!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "ちょっと待ってね。エンジン温めてるから..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "認証を閉じる" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Turpialを閉じてもよろしいですか?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "おっと…" #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "インターネットに接続できません" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "もう一度行なってください" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "から" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "返信" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "カラムの更新頻度を調整する" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "更新間隔" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "ステータス" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "プロフィールカラーを読み込む" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "ハイライト表示の要素にプロフィールカラーを使う" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "トレイを縮小" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "メインウィンドウを閉じるときTurpialをシステムトレイに送る" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "更新" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "更新があった時に通知する" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "ログイン" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "ユーザー プロファイルにログイン時の通知を表示する" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "トレイアイコン" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "通知があるときにトレイアイコンを変更する" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "ログイン時に音を鳴らす" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "更新を取得したときに音を鳴らす" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "音" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "短縮URLと画像アップロードのサービスを選ぶ" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "短縮URL" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "画像アップロード" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "フィルタリングする" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "リンクを開くブラウザを設定する" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "既定のブラウザ" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "別のブラウザを選ぶ" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "閲覧" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "ブラウザのパスを選ぶ" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "高度な設定。理解できる場合のみ設定してください" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "デフォルトに戻す" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "タイムアウト" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "ユーザーのアイコンを読み込む" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "接続が遅い間はアイコンの読み込みを無効にする" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "メンテナンス" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "接続" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "サーバー/ポート" turpial-3.0+dfsg.orig/turpial/i18n/pt_BR/0000755000000000000000000000000012254451540015047 5ustar turpial-3.0+dfsg.orig/turpial/i18n/pt_BR/LC_MESSAGES/0000755000000000000000000000000012254451540016634 5ustar turpial-3.0+dfsg.orig/turpial/i18n/pt_BR/LC_MESSAGES/turpial.po0000644000000000000000000005566112254451435020674 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # lggregorio , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-28 18:45+0000\n" "Last-Translator: Wil Alvarez \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/turpial-1/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Bem-vindo!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Adicione uma nova conta" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "para começar a usar o Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Você tem contas registradas, agora" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "adicione algumas colunas" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Atualizar o status" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Enviar mensagem direta" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Configurações" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferências" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Sobre o Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Busca" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Conta" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Contas" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Colunas" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autorizar o Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Digite o PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Salvar" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autorize o Turpial e copie o PIN na caixa de texto" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Perfil do usuário" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Localização" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Endereço Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Seguindo" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Seguidores" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoritos" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Critério" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Use hashtags, menções ou qualquer texto que você queira como critério de busca" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Selecione um amigo para enviar uma mensagem" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amigo" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Selecionar" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Carregar lista de amigos" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "O que está acontecendo?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Carregar uma imagem" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Encurtar URLs" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Atualizar" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Apagar coluna" #: turpial/ui/lang.py:57 msgid "now" msgstr "agora" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweetado por" #: turpial/ui/lang.py:59 msgid "New" msgstr "Novo" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Apagar" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Reconectar" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registrar uma nova conta" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Apagar uma conta existente" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registrar uma conta no Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registrar uma conta no Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Sem contas registradas" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemas ao registrar uma nova conta" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Transmitir" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Você não pode enviar uma mensagem vazia" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Ei! Essa mensagem é muito longa, parece um testamento" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Ver conversa" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Esconder conversa" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Responder" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citar" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweetar" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marcar como favorito" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Remover dos favoritos" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Responder para" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citando" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Confirmar Retweet" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Você quer retweetar este status para todos os seus amigos?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Confirmar exclusão" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Você quer apagar este status?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Você quer apagar esta mensagem direta?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Carregando..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Status repetido" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Status apagado" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Mensagem direta apagada" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Status marcado como favorito" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Status removido dos favoritos" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Enviar mensagem para" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Seguir" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Pedido enviado" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Parar se seguir" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Silenciar" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Remover silenciar" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloquear" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Reportar como spam" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Este é você" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversação" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Sair" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "Em progresso..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Selecionar uma conta antes de postar" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Pré-visualização da imagem" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Confirmar descarte" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Você quer descartar essa mensagem?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Informação" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Recente" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Você quer realmente pagar a conta %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Fila de mensagens" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Apagar mensagem selecionada" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Apagar tudo" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Apagar todas as mensagens na fila" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Mensagem" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Você quer apagar esta mensagem da fila?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Você quer limpar a fila?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "As mensagens serão enviadas a cada %s enquanto o Turpial permanecer aberto" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "A próxima mensagem deve ser postada em" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minuto" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minutos" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Adicionar à fila" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Cliente de microblogging escrito em Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Você está seguindo @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Você não está mais seguindo @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s foi reportado como spam" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s foi bloqueado" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s foi silenciado" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s não está mais silenciado" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "A mensagem da fila foi postada" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Fechar" #: turpial/ui/lang.py:131 msgid "General" msgstr "Geral" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Notificações" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Serviços" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Navegador" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtros" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avançado" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Ajuste a frequência de atualizações e outros parâmetros gerais" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Selecione as notificações que você quer receber do Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configure seu navegador favorito para abrir links" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Selecione seu serviço favorito para encurtar URLs e carregar imagens" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Configurações de Proxy para o Turpial (Necessário reiniciar)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Opções avançadas. Por favor, fique longe a não ser que você saiba o que está fazendo" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Frequência de atualização" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Frequência da fila" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Status por coluna" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimizar ao fechar" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notificar ao receber atualizações" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notificar ao receber ações" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Som ao fazer login" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Som ao receber atualizações" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Usar navegador padrão" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Configurar navegador personalizado " #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Comando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Limpar cache" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Apagar todos os arquivos em cache" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Restaurar para configuração padrão" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaurar configuração" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Tempo de espera do Socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Mostrar avatares de usuários" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipo" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Host" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Porta" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Com autenticação" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nome de usuário" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Senha" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Adicionar filtro" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Criar novo filtro" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Apagar filtro selecionado" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Apagar todos os filtros" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Você quer apagar todos os filtros?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Erro ao carregar imagem" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Erro ao carregar conversa" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Erro ao atualizar coluna" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Erro ao repetir status" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Erro ao apagar status" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Erro ao marcar status como favorito" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Erro ao desmarcar status como favorito" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Erro ao postar status" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problema ao carregar o perfil de usuário" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Tendo alguns problemas para seguir este usuário" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Tendo alguns problemas para deixar de seguir este usuário" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Ops, eu não consegui bloquear este usuário" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Tendo alguns problemas para reportar este usuário como spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Não é possível enviar mensagem direta" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Erro ao encurtar URL" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Erro ao carregar imagem" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 novo tweet atualizado" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s novos tweets atualizados" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Teste" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Abrir" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Ajudar a frequência em que as colunas são atualizadas" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Ajustar a frequência em que as as mensagens da fila são postadas" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Enviar o Turpial para a bandeja do sistema ao invés de fechá-lo" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Mostrar notificações do sistema quando receber atualizações" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Monstrar notificações do sistema quando você realizar ações como seguir, bloquear, etc" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Tocar sons ao iniciar" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Tocar sons quando você receber atualizações" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Configure o tempo de espera antes de a conexão ser fechada" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Quando selecionado, o Turpial mostrará os avatares dos usuários, caso contrário mostrará uma caixa preta (recomendado para conexões lentas ou limitadas)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Confirmar a restauração" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Você quer restaurar suas configurações para o padrão? O Turpial será fechado e deve ser reiniciado após esta operação" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Configuração restaurada com sucesso para o padrão. Por favor, reinicie o Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Espere! Esta conta não existe" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Olá!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Um minuto, estou balançando minhas penas e esticando minhas asas..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Confirmar o fechamento" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Você quer fechar o Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Ops..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Algo terrível aconteceu, eu não consegui acessar a internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Tente novamente" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "de" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "em reposta a" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Ajustar a frequência de atualização para as colunas" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Atualizar intervalo" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Status" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Carregar cor do perfil" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Usar a cor do seu perfil para os elementos selecionados" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimizar para a bandeja do sistema" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Minimizar o Turpial para a bandeja do sistema ao fechar a janela principal" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Atualizações" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Mostrar uma notificação quando você recebe atualizações" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Login" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Mostrar uma notificação ao logar com o perfil de usuário" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Ícone da bandeja do sistema" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Mudar o ícone da bandeja quando você tiver notificações" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Tocar som quando você fizer login" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Tocar som quando você receber atualizações" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sons" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Selecionar seus serviços favoritos para encurtar URLs e carregar imagens" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Encurtar URL" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Carregar imagens" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtrar qualquer coisa que incomode você" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configurar seu navegador favorito para abrir todos os links" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navegador padrão" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Escolha outro navegador" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Navegar" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Selecione o caminho completo do seu navegador" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Opções avançadas. Use somente se você sabe o que está fazendo" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Restaurar para configurações padrão" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Tempo de espera" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Carregar avatares dos usuários" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Desabilitar o carregamento dos avatares dos usuários para conexões lentas" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Manutenção" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Conexão" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Servidor/Porta" turpial-3.0+dfsg.orig/turpial/i18n/eo/0000755000000000000000000000000012254451540014444 5ustar turpial-3.0+dfsg.orig/turpial/i18n/eo/LC_MESSAGES/0000755000000000000000000000000012254451540016231 5ustar turpial-3.0+dfsg.orig/turpial/i18n/eo/LC_MESSAGES/turpial.po0000644000000000000000000005474412254451435020272 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # Ĥŭanĉjo Quintero Santacruz , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-28 11:33+0000\n" "Last-Translator: Ĥŭanĉjo Quintero Santacruz \n" "Language-Team: Esperanto (http://www.transifex.com/projects/p/turpial-1/language/eo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: eo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Bonvenon!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Aldoni novan konton" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "por komenci uzi Turpial-on" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Vi havas registritajn kontojn, nun" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "aldoni kelkajn kolonojn" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "ĝisdatigi statuson" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Sendi rektan mensaĝon" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Agordoj" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferoj" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Pri Turpial-o" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Serĉi" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Konto" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Kontoj" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Kolonoj" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Permesi Turpial-on" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Tajpu la PIN-on" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Savi" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Permesi Turpial-on kaj kopii la PIN-on en la teksta kadro" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Uzantprofilo" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Lokiĝo" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Retejo" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Pepoj" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Sekvante" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Sekvantoj" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Preferataj" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Kriterio" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Uzu hashtags-ojn, menciojn aŭ ajnan tekston kiujn vi celas serĉi" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Elektu amikon por sendi mesaĝon" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amiko" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Elekti" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Ŝarĝi liston de amikoj" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Kio okazas?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Alŝuti bildon" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Mallongigi URL-ojn" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Ĝistadigi" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Forigi kolonon" #: turpial/ui/lang.py:57 msgid "now" msgstr "nun" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Repepita far" #: turpial/ui/lang.py:59 msgid "New" msgstr "Nova" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Forigi" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Reensaluti" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registri novan konton" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Forigi ekzistantan konton" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registri konton de Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registri konton de identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Neniu konto registrita" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemoj registrinte novan konton" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Elsendi" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Vi ne povas sendi mesaĝon malplenan" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "HEj! La mesaĝo tro longas, ĝi ŝajnas testamenton" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Vidi konversacion" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Kaŝi konversacion" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Respondi" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citi" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Repepi" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marki kiel preferatan" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Forigi el preferataj" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Respondi al" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citante" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Konfirmi repepon" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Ĉu vi volas repepi ĉi tiun statuson al ĉiuj viaj amikoj?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Konfirmi forigon" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Ĉu vi volas forigi ĉi tiun statuson?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Ĉu vi volas forigi ĉi tiun rektan mesaĝon?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Ŝarĝante..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Statuso ripetita" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Statuso forigita" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Rekta mesaĝo forigita" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Statuso markita kiel preferata" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Statuso forigita el preferataj" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Sendi mesaĝon al" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Sekvi" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Sekvad-peto sendita" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Malsekvi" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Silentigi" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Malsilentigi" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloki" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Raporti kiel spamon" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Ĉi tiu estas vi!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Konversacio" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Elsaluti" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "Progresante..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Elekti konton antaŭ ol pepi" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Bilda antaŭvido" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Konfirmi formeton" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Ĉu vi volas formeti ĉi tiun mesaĝon?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Info" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Freŝe" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Ĉu vi vere volas forigi la konton %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Mesaĝa vico" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Forigi elektitan mesaĝon" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Forigi ĉion" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Forigi ĉiujn mesaĝojn en la vico" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Mesaĝo" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Ĉu vi volas forigi ĉi tiun mesaĝon el la vico?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Ĉu vi volas purigi la vicon de mesaĝoj?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Mesaĝoj estos daŭre elsendataj ĉiu %s tiel longe kiel Turpial-o restu malferma" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Venonta mesaĝo estus afiŝita je" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minuto" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minutoj" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Aldoni vicon" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Mikroblogilo skribita en Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Vi nun sekvas @%s-on" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Vi ne plu sekvas @%s-on" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s estis raportata kiel spamo" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s estas blokita" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s estas silentigita" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s estas malsilentigita" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Mesaĝo el la vico estis publikigita" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Fermi" #: turpial/ui/lang.py:131 msgid "General" msgstr "Ĝenerale" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Sciigoj" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Servoj" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Retumilo" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtroj" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Progresinta" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Agordi ĝisdatig-frekvencon kaj aliajn parametrojn" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Elektu la sciigojn kiujn vi volas ricevi de Turpial-o" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Agordu vian preferatan retumilon por malfermi ligilojn" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Elektu vian preferatan servon por mallongigi URL-ojn kaj alŝuti bildojn" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Proxy-aj agordoj por Turpial-o (Necesas restarti)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Progresintaj preferoj. Bonvole, restu malproksima krom se vi scias kion fari" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Ĝisdatiga frekvenco" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Vica frekvenco" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Statusoj po kolono" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Malgrandigi dum fermo" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Sciigi ĉe ĝisdatigoj" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Sciigi ĉe agadoj" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Sono dum ensalutado" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Sono dum ĝisdatigoj" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Uzi defaŭltan retumilon" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Elekti persone retumilon" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Komando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Vakigi kaŝmemoron" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Forigi ĉiujn dosierojn el kaŝmemoro" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Restaŭri agordojn defaŭlte" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaŭri agordojn" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Atendotempo de Socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Montri uzantajn avatarojn" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipo" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Gastiga retejo" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Pordo" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Kun aŭtentigado" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Uzantonomo" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Pasvorto" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Aldoni filtrilon" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Krei novan filtrilon" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Forigi elektitan filtrilon" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Forigi ĉiujn filtrilojn" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Ĉu vi volas vakigi ĉiujn la filtrilojn?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Eraro ŝarĝante bildon" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Eraro ŝarĝante konversacion" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Eraro ĝisdatigante kolonon" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Eraro ripetante statuson" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Eraro forigante statuson" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Eraro markante statuson kiel preferata" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Eraro malmarkante statuson kiel preferata" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Eraro afiŝante statuson" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problemoj ŝarĝante uzanton profilon" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Havante kelkajn problemojn por sekvi tiun ĉi uzanton" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Havante kelkajn problemojn por malsekvi ĉi tiun uzanton" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Ho ve, mi ne povas bloki tiun ĉi uzanton" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Havante problemojn raportante ĉi tiun uzanton pro spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Ne eblas sendi rektan mesaĝon" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Eraro mallongigante URL-on" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Eraro alŝutante bildon" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 nova pepaĵo ĝisdatigita" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s novaj pepaĵoj ĝisdatigitaj" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Provo" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Malfermi" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Elekti kiom ofte estos ĝisdatigitaj la kolonoj" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Elektu kiom ofte estos afiŝitaj mesaĝoj el la vico" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Sendi Turpial-on al la taskopleto anstataŭ fermi ĝin" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Montri sistemajn sciigojn kiam vi ricevu ĝisdatigojn" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Montri sistemajn sciigojn kiam vi efektivigu agadojn kiel sekvi, bloki, ktp" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Ludi sonojn dum starto" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Ludi sonojn kiam vi ricevu ĝisdatigojn" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Elekti la atendotempon por atendi antaŭ ol malfermi la konekton" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Kiam elektita Turpial-o montras uzantajn avatarojn, male ĝi montron nigran skatolon (konsilinda por malrapidaj aŭ limigitaj konektoj)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Konfirmi restaŭron" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Ĉu vi volas restaŭri vian agordojn defaŭlte? Turpial-o fermiĝos kaj devos esti restartita post tiu ĉi agado" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Agordado restaŭrita sukcese defaŭlte. Bonvole, restartigu Turpial-on" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Atendu! Tiu konto ne ekzistas" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Saluton!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Donu min minuton, mi skuas miajn plumojn kaj etendas miajn flugilojn" #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Konfirmi malfermon" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Ĉu vi volas malfermi Turpial-on?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Ho ve..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Io terura okazis, mi ne povas atingi la interreton" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Provu ree" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "el" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "Repondante al" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Agordi ĝisdatigan frekvencon por kolonoj" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Ĝisdatiga intervalo" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Statusoj" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Ŝarĝi profilan koloron" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Uzu vian profilan koloron por reliefigitaj elementoj" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Malgrandigi al la taskopleto" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Sendi Turpial-on al taskopleto kiam vi fermu la ĉefan fenestron" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Ĝisdatigoj" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Montri sciigojn kiam vi ricevu ĝisdatigojn" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Ensalutado" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Montri sciigojn kiam ensalutante kun la uzanta profilo" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Pleta bildo" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Ŝanĝi la pletan bildon kiam vi havu sciigojn" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Ludi sonon kiam vi ensalutu" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Ludi sonon kiam vi havu ĝisdatigojn" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sonoj" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Elektu vian preferatan servon por mallongigi URL-ojn kaj alŝuti bildojn" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Mallongigi URL-ojn" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Alŝuti bildon" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtri ion ajn kion ĝenu vin" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Agordu vian preferatan retumilon por malfermi ĉiujn ligilojn" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Defaŭlta retumilo" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Elekti alian retumilon" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Retumi" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Elektu la plenan vojon al via retumilo" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Progresintaj preferoj. Uzu ilin nur se vi scias kion fari" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Restaŭri agordojn defaŭlte" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Atendotempo" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Ŝarĝi uzantajn avatarojn" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Malvalidigi ŝarĝadon de uzantaj avataroj por malrapidaj konektoj" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Bontenado" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Konektado" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Gastiga retejo/Pordo" turpial-3.0+dfsg.orig/turpial/i18n/ru_RU/0000755000000000000000000000000012254451540015075 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ru_RU/LC_MESSAGES/0000755000000000000000000000000012254451540016662 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ru_RU/LC_MESSAGES/turpial.po0000644000000000000000000006674712254451435020731 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # coderus , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-25 16:39+0000\n" "Last-Translator: coderus \n" "Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/turpial-1/language/ru_RU/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: ru_RU\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Добро пожаловать" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Новая учетная запись" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "чтобы использовать Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Учетная запись добавлена, теперь" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "выберите нужные колонки" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Обновить статус" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Отправить Сообщение" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Настройки" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Параметры" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "О программе" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Поиск" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Учетная запись" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Учетные записи" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Колонки" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Авторизовать Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Введите PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Сохранить" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Авторизуйте Turpial и введите PIN в текстовое поле" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Профиль" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Информация" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Местоположение" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Веб-адрес" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Твиты" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Читают" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Читатели" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Избранное" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Критерии" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Введите параметры поиска, например #знаменитости или @NSA" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Выберите получателя сообщения" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Друзья" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Выбрать" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Показать список друзей" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Что происходит?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Отправить изображение" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Сокращать ссылки" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Обновить" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Удалить колонку" #: turpial/ui/lang.py:57 msgid "now" msgstr "сейчас" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Ретвит от" #: turpial/ui/lang.py:59 msgid "New" msgstr "Новое" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Удалить" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Повторить вход" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Создать новую учетную запись" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Удалить учетную запись" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Получить учетную запись Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Получить учетную запись Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Учетных записей нет" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Проблемы при создании учетной записи" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Массовая рассылка" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Нельзя отправлять пустые сообщения" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Сообщение слишком длинное для отправки" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Показать беседу" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Скрыть беседу" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Ответить" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Цитировать" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Ретвит" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Добавить в избранное" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Убрать из избранного" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Ответить на" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Йитирование" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Подтвердите ретвит" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Вы правда хотите сделать ретвит, чтобы сообщение увидели все ваши друзья?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Подтвердите удаление" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Вы правда хотите удалить это сообщение?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Вы правда хотите удалить это сообщение?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Загружается..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Дублирующееся сообщение" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Сообщение удалено" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Сообщение удалено" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Сообщение добавлено в избранные" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Сообщение убрано из избранных" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Отправить сообщение" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Читать" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Подписка отправлена" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Не читать" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Игнорировать" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Не игнорировать" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Блокировать" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Сообщить о спаме" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Это же вы!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Беседа" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Выход" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "Выполняется..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Для начала выберите учетную запись" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Просмотр изображения" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Подтвердите отмену" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Вы правда не хотите отправлять это сообщение?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Информация" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Недавние" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Вы правда хотите удалить учетную запись %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Очередь сообщений" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Удалить выбранное сообщение" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Удалить все" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Удалить все сообщения в очереди" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Сообщение" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Вы правда хотите удалить это сообщение из очереди?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Вы правда хотите очистить очередь?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Сообщения будут отправляться каждые %s пока Turpial запущен." #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Следующее сообщение будет отправлено через" #: turpial/ui/lang.py:119 msgid "minute" msgstr "минуту" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "минут(ы)" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Добавить в очередь" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Твиттер-клиент, написанный на языке Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Вы читаете %s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Вы больше не читаете %s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s был помечен как спамер" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s был заблокирован" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s теперь игнорируется" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s больше не игнорируется" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Отправлено сообщение из очереди" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Закрыть" #: turpial/ui/lang.py:131 msgid "General" msgstr "Основные" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Уведомления" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Сервисы" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Веб-браузер" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Фильтры" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Прокси" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Дополнительные" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Изменение периода обновления и других основных настроек" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Выберите уведомления, которые вы хотели бы получать от Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Выберите ваш любимый браузер для открытия ссылок" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Выберите ваш любимый сервис для загрузки изображений и сокращения ссылок" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Настройки подключения через прокси (нужен перезапуск программы)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Дополнительные настройки. Пожалуйста, не трогайте, если вы не смыслите в том, что делаете" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Период обновления" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Период отправки из очереди" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Количество на колонку" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Сворачивать при закрытии" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Уведомлять об обновлениях" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Уведомлять о действиях" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Мелодия при подключении" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Мелодия при обновлении" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Использовать стандартный браузер" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Использовать другой браузер" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Уоманда запуска" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Очистить кэш" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Удалить все кэшированные файлы" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Вернуть настройки по-умолчанию" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Сбросить настройки" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Таймаут сокета" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Отображать аватарки" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Тип" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Адрес" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Порт" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Нужна аутентификация" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Имя пользователя" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Пароль" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Добавить фильтр" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Создать новый фильтр" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Удалить выбранные фильтры" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Убрать все фильтры" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Вы правда хотите убрать все фильтры?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Ошибка при загрузке изображения" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Ошибка при загрузке беседы" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Ошибка при обновлении колонки" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Ошибка при отправке сообщения" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Ошибка при удалении сообщения" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Ошибка при добавлении в избранное" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Ошибка при удалении из избранного" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Ошибка при отправке сообщения" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Проблемы при загрузке профиля" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Проблемы при запросе на чтение этого пользователя" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Проблемы при отмене чтения этого пользователя" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Почему-то не получается заблокировать этого пользователя" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Ошибка при отправке сообщения о спаме" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Не получается отправить сообщение" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Не получается сократить ссылку" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "не получаается загрузить изображение" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "Одно новое сообщение" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s новых сообщений" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Тест" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Открыть" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Период обновления колонок" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Период отправки сообщений из очереди" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Сворачивать Turpial в область уведомлений вместо закрытия" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Показывать уведомления при получении сообщений" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Показывать уведомления, когда вы кого-то добавляете друзья, блокируете и т.п." #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Проигрывать мелодию при запуске приложения" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Проигрывать мелодию при получении сообщений" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Установить период ожидания при проверке подключения к сети" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Turpial будет показывать черный квадрат, если эта настройка выключена. Подходит для медленных или ограниченых тарифов" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Подтвердите сброс настроек" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Вы правда хотите сбросить все настройки на стандартные? Turpial будет перезапущен" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Настройки успешно сброшены на стандартные. Перезапустите Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Эта учетная запись не существует!" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Привет!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Одно мнговение, встряхну свои перья и расправлю крылья..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Подтвердите выход" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Вы правда хотите закрыть Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Вот незадача..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Что случилось? Я не могу подключиться к интернету" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Попробовать снова" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "от" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "ответ на" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Измените интервал обновления колонок" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Интервал обновления" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Сообщения" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Загрузить цвет профиля" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Использовать цвет вашего профиля для подсветки элементов" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Свернуть в область уведомлений" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Сворачивать Turpial в область уведомлений при закрытии главного окна" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Обновления" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Отображать уведомления при получении обновлений" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "При подключении" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Отображать уведомление при подключении" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Область уведомлений" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Изменить изобрадение в области уведомлений при получении уведомлений" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Проигрывать мелодию при подключении" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Проигрывать мелодию при обнаружении обновлений" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Звуки" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Выберите свои любимые сервисы для сокращения ссылок и загрузки изображений" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Сокращение ссылок" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Загрузка изображений" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Отфильтруйте все, что вам не нравится" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Выберите ваш любимый браузер для открытия ссылок" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Предпочитаемый браузер" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Выберите другой браузер" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Выбрать" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Укажите полный путь до исполняемого файла" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Дополнительные настройки. Используйте их если точно уверены, что они вам нужны" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Сбросить настройки на стандартные" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Интервал" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Загрузка аватарок" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Отключите загрузку аватарок при медленном подключении" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Техобслуживание" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Подключение" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Сервер/Порт" turpial-3.0+dfsg.orig/turpial/i18n/pt_PT/0000755000000000000000000000000012254451540015067 5ustar turpial-3.0+dfsg.orig/turpial/i18n/pt_PT/LC_MESSAGES/0000755000000000000000000000000012254451540016654 5ustar turpial-3.0+dfsg.orig/turpial/i18n/pt_PT/LC_MESSAGES/turpial.po0000644000000000000000000005550712254451435020713 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # Bruno Guerreiro , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-26 18:14+0000\n" "Last-Translator: Bruno Guerreiro \n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/projects/p/turpial-1/language/pt_PT/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Bem-vindo!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Adicionar uma nova conta" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "para começar a usar o Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Tem contas registadas, agora" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "adicione algumas colunas" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Atualize o status" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Enviar mensagem direta" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Definições" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferências" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Sobre Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Procura" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Conta" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Contas" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Colunas" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autorize o Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Escreva o PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Gravar" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autorize o Turpial e copie o PIN na caixa de texto" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Perfil do Utilizador" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Localização" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Seguindo" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Seguidores" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoritos" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Critério" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Use hashtags, menções ou qualquer texto que quer como critérios de pesquisa" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Selecione um amigo para enviar uma mensagem" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amigo" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Selecionar" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Carregar lista de amigos" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "O que está a acontecer?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Enviar uma imagem" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "URL's Curtos" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Actualizar" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Apagar Coluna" #: turpial/ui/lang.py:57 msgid "now" msgstr "agora" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweet por" #: turpial/ui/lang.py:59 msgid "New" msgstr "Novo" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Apagar" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Reconectar" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registar uma nova conta" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Apagar uma conta existeste" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registar uma conta do Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registar uma conta do Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Sem contas registadas" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemas ao registar uma nova conta" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Transmissão" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Não pode enviar uma mensagem vazia" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Ei! Essa mensagem é muito longa, parece um testamento" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Mostrar a conversa" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Esconder conversa" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Responder" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citar" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweet" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marcar como favorito" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Remover dos favoritos" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Responder para" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citando" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Confirmar Retweet" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Quer fazer retweet deste status para todos os seus amigos?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Confirmar a Remoção" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Quer apagar este status?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Quer apagar esta mensagem direta?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "A carregar..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Status repetido" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Status apagado" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Mensagem direta apagada" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Status marcado como favorito" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Status removido dos favoritos" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Enviar a mensagem para" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Seguir" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Pedido enviado" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Deixar de seguir" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Silenciar" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Remover silenciar" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloquear" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Reportar como spam" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Este é você!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversação" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Sair" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "Em progresso..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Selecione uma conta antes de publicar" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Antever Imagem" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Confirme Descartar" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Quer descartar essa mensagem?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Info" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Recente" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Quer realmente pagar a conta %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Fila de mensagens" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Apagar mensagem selecionada" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Apagar tudo" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Apagar todas as mensagens na fila" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Mensagem" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Quer apagar esta mensagem da fila?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Quer limpar a fila?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "As mensagens serão enviadas a cada %s enquanto o Turpial permanecer aberto" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Próxima mensagem deve ser publicada em" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minuto" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minutos" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Adicionar à fila" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Cliente de microblogging escrito em Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Está a seguir @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Deixou de seguir @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s foi reportado como spam" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s foi bloqueado" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s foi silenciado" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s não está mais silenciado" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "A mensagem da fila foi publicada" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Fechar" #: turpial/ui/lang.py:131 msgid "General" msgstr "Geral" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Notificações" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Serviços" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Navegador Web" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtros" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avançado" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Ajuste a frequência de atualizações e outros parâmetros gerais" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Selecione as notificações que quer receber do Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configure o seu navegador web favorito para abrir endereços" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Selecione o serviço favorito para encurtar URLs e carregar imagens" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Configurações de Proxy para o Turpial (Necessário reiniciar)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Opções avançadas. Por favor, manter-se longe a não ser que saiba o que está a fazer" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Frequência de atualização" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Frequência da fila" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Status por coluna" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimizar ao fechar" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notificar ao receber atualizações" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notificar ao receber ações" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Som ao fazer login" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Som ao receber atualizações" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Usar o navegador predefinido" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Configurar navegador personalizado" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Comando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Limpar cache" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Apagar todos os ficheiros em cache" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Restaurar para configuração padrão" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaurar configuração" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Tempo limite do Socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Mostrar avatares do utilizador" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipo" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Servidor" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Porta" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Com autenticação" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nome de utilizador" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Senha" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Adicionar um filtro" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Cria novo filtro" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Apagar filtro selecionado" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Apagar todos os filtros" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Quer apagar todos os filtros?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Erro ao carregar imagem" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Erro ao carregar conversa" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Erro ao atualizar coluna" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Erro ao repetir status" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Erro ao apagar status" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Erro ao marcar status como favorito" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Erro ao desmarcar status como favorito" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Erro ao publicar status" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problema ao carregar o perfil de utilizador" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Tendo alguns problemas para seguir este utilizador" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Tendo alguns problemas para parar de seguir este utilizador" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Ops, eu não consegui bloquear este utilizador" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Tendo alguns problemas para reportar este utilizador como spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Não é possível enviar mensagem direta" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Erro ao encurtar URL" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Erro ao enviar imagem" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 novo tweet atualizado" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s novos tweets atualizados" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Teste" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Abrir" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Defina a frequência com que são atualizadas as colunas" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Defina a frequência com que são publicadas as mensagens da fila" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Enviar Turpial para a bandeja do sistema em vez de fechar" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Mostrar notificações do sistema quando receber atualizações" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Mostrar notificações do sistema quando realizar ações como seguir, bloquear, etc" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Tocar sons ao iniciar" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Tocar sons quando receber atualizações" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Configure o tempo de espera antes de a ligação ser fechada" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Quando selecionado o Turpial mostrará os avatares do utilizador, caso contrário mostrará uma caixa preta (recomendado para ligações lentas ou limitadas)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Confirme restaurar" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Quer restaurar suas configurações para o padrão? O Turpial será fechado e deve ser reiniciado após esta operação" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Configuração restaurada com sucesso para o padrão. Por favor, reinicie o Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Espere! Esta conta não existe" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Olá!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Um minuto, estou a sacudir as minhas penas e a esticar as minhas asas..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Confirmar fechar" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Quer fechar Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Ops..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Algo terrível aconteceu, eu não consegui acessar a Internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Tentar novamente" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "de" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "em resposta a" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Ajustar a frequência de atualização das colunas" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Intervalo de Actualização" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Status" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Carregar cor do perfil" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Usar a cor do seu perfil para os elementos selecionados" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimizar para a bandeja" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Minimizar o Turpial para a bandeja do sistema ao fechar a janela principal" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Atualizações" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Mostrar notificações ao receber atualizações" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Iniciar Sessão" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Mostrar uma notificação ao iniciar sessão com o perfil de utilizador" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Ícone na área de notificação" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Mudar o ícone da bandeja quando houver notificações" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Tocar um som iniciar a sessão" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Tocar um som quando receber atualizações" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sons" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Selecione o serviço favorito para encurtar URLs e carregar imagens" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "URL's Curtos" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Enviar imagens" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtrar qualquer coisa que o incomode" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configure o seu navegador web favorito para abrir todos os endereços" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navegador web predefinido" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Escolher outros navegador web" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Navegar" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Selecione o caminho completo do seu navegador web" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Opções avançadas. Use somente se souber o que está a fazer" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Restaurar para configuração padrão" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Tempo de espera" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Mostrar avatares do utilizador" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Desativar carregar avatares dos utilizadores para ligações lentas" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Manutenção" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Ligação" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Servidor/Porta" turpial-3.0+dfsg.orig/turpial/i18n/it/0000755000000000000000000000000012254451540014455 5ustar turpial-3.0+dfsg.orig/turpial/i18n/it/LC_MESSAGES/0000755000000000000000000000000012254451540016242 5ustar turpial-3.0+dfsg.orig/turpial/i18n/it/LC_MESSAGES/turpial.po0000644000000000000000000005612512254451435020276 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # cvalenti , 2013 # ggangix , 2013 # ggangix , 2013 # n1k9 , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-28 13:53+0000\n" "Last-Translator: cvalenti \n" "Language-Team: Italian (http://www.transifex.com/projects/p/turpial-1/language/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Benvenuto!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Aggiungi un nuovo account" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "inizia a usare Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Adesso, il tuo account è registrato" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "aggiungi colonne" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Aggiornamento dello stato" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Spedisci un messaggio diretto" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Impostazioni" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferenze" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Su di Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Ricerca" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Account" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Gli account" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Colonne" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autorizzare Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Digita il PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Salva" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autorizzare Turpial e copiare il codice PIN nella casella di testo" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Profilo Utente" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Biografia" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Localizzazione" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Segui" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Sei seguito" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Preferiti" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Criteri" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Utilizzare hashtags, menzioni o qualsiasi testo che si desidera come criteri di ricerca" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Selezionare amico per inviare messaggio" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amico" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Seleziona" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Carica la lista degli amici" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Cosa sta succedendo?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Carica immagine" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "URL corti" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Aggiorna" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Elimina Colonna" #: turpial/ui/lang.py:57 msgid "now" msgstr "adesso" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweetato da" #: turpial/ui/lang.py:59 msgid "New" msgstr "Nuovo" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Elimina" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Rientra" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registra un nuovo account" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Eliminare un account esistente" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Creare un account in Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Creare un account in Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Nessun account registrato" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemi per registrazione di nuovo account" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Broadcast" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Non è possibile inviare un messaggio vuoto" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Hey! Il messaggio è troppo lungo, sembra un testamento" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Visualizza conversazione" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Nascondi conversazione" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Risposta" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citare" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweeta" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Segna come favorito" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Rimuovi dai favoriti" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Rispondi a" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citando" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Conferma Retweet" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Vuoi ritwittarlo ai tuoi follower?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Conferma cancellazione" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Vuole cancellare questo stato?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Vuole cancellare questo Messaggio Diretto?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Caricamento..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Stato ripetuto" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Stato eliminato" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Messaggio diretto eliminato" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Stato marcato come preferito" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Stato rimosso dai preferiti" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Inviare messaggio a" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Segui" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Segui richiesto" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Smetti di seguire" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Tacere" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Rimuovere tacere" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Blocca" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Segnala per spam" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Questo sei tu!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversazione" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Esci" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "In corso..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Selezionare un account prima del post" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Visualizza immagine in anteprima" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Conferma scarto" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Vuoi scartare questo messaggio?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Informazioni" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Recenti" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Vuoi davvero eliminare l'account %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Coda messaggi" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Cancella i messaggi selezionati" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Cancella tutto" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Cancella tutti i messaggi in coda" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Messaggio" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Vuoi eliminare questo messaggio dalla coda?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Vuoi cancellare la coda di messaggi?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "I messaggi saranno inviati ogni %s finchè Turpial rimangono aperto" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Prossimo messaggio dovrebbe essere pubblicato in" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minuto" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minuti" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Aggiungi alla coda" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Cliente di Microblogging scritto in Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Ora stai seguendo @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Non sei più seguito @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s è stato segnalato come spam" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s è stato bloccato" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s è stato tacque" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s é stato rimosso il suo tacere" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Un messaggio della coda è stato pubblicato" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Chiudi" #: turpial/ui/lang.py:131 msgid "General" msgstr "Generale" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Segnalazioni" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Servizi" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Web Browser" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtri" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avanzato" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Regolare la frequenza di aggiornamento e altri parametri generali" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Selezionare le notifiche che vuoi ricevere da Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configura il tuo navigatore preferito per aprire i link" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Selezionare il tuo servizio preferito per abbreviare indirizzi e caricare immagini" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Impostazioni del proxy per Turpial (Bisogna riavviare)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr " Opzioni avanzate. Per piacere, rimanere lontano se non sai cosa fai" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Frequenza di aggiornamento" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Frequenza della coda" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Stati per colonna" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimizza alla chiusura" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notifica gli aggiornamenti" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notifica sulle azioni" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Suono su accesso" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Suono sugli aggiornamenti" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Utilizzare navigatore predefinito" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Impostare browser personalizzato" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Comando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Pulisci cache" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Eliminare tutti i file nella cache" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Ripristina le impostazioni predefinite" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Ripristina le impostazioni" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr " Timeout del socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Mostrare avatar utenti" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipo" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Host" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Porta" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Con l'autenticazione" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Utente" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Password" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Aggiungere un filtro" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Crea un nuovo filtro" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Cancella filtro selezionato" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Cancella tutti i filtri" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Vuoi cancellare tutti i filtri?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Errore nel caricamento dell'immagine" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Errore nel caricamento della conversazione" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Errore nel caricamento della colonna" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Errore ripetendo stato" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Errore nella cancellazione dello stato" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Errore segnando stato come preferito" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Errore nella cancellazione stato come preferito" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Errore nella pubblicazione stato" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problemi nel caricamento del profilo utente" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Avendo alcuni problemi per seguire questo utente" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Avendo alcuni problemi per smetti di seguire questo utente" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Oh oh, non potevo bloccare questo utente" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Avendo alcuni problemi segnalando questo utente come spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Impossibile inviare il messaggio diretto" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Errore nell'abbrevianzione dell'indirizzo" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Errore nel caricamento dell'immagine" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 nuovo tweet aggiornato" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s nuovi tweets aggiornati" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Test" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Apri" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Impostare ogni quanto si aggiornano le colonne" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Imposta ogni quanto i messaggi sono pubblicati della coda" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Invia Turpial nel vassoio di sistema invece di chiudere" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Mostrare una notifica di sistema quando si ricevono aggiornamenti" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Mostrare una notificazione di sistema quando fare azioni come segue, blocchi, ecc" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Riprodurre un suono all'avvio" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Riprodurre suoni quando si ricevono aggiornamenti" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Imposta il timeout aspettare prima di chiudere la connessione" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Quando è selezionato Turpial mostra avatar utenti, Altrimenti mostrerà una scatola nera. (consigliato per connessioni internet lente o limitato)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Conferma ripristino" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Vuoi ripristinare le impostazioni predefinite? Turpial si chiuderà e dovrà essere riavviato dopo questa operazione" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Configurazione ripristinata per difetto correttamente. Per favore, riavviare Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Aspetta! Quell'account non esiste" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Ciao!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Dammi un minuto, sto tremando le mie piume e stretching mie ali..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Conferma la chiusura" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Vuoi chiudere Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Oh oh..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Qualche cosa di terribile è successo, non ho potuto raggiungere Internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Riprova" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "da" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "In risposta a" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Regolare la frequenza di aggiornamento per colonne" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Intervallo di aggiornamento" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Stati" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Carica colore di profilo" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Usa il tuo colore di profilo per gli elementi evidenziati" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimizzare nel vassoio di sistema" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Invia Turpial nel vassoio di sistema quando chiudere la finestra principale" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Aggiornamenti" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Mostrare una notifica quando si riceve aggiornamenti" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Accesso" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Mostrare una notifica al momento dell'accesso con il profilo utente" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Icona di vassoio di sistema" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Cambiare l'icona del vassoio di sistema quando si hanno le notifiche" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Riprodurre un suono quando si effettua l'accesso" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Riprodurre un suono quando si ricevono aggiornamenti" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Suoni" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Selezioni il tuo servizio preferito per abbrevia indirizzi e caricare immagini" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Abbreviare indirizzo" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Carica immagini" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtrare qualsiasi cosa chi ti dà fastidio" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configura il tuo navigatore preferito per aprire tutti i link" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navigatore predefinito" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Scegli altro navigatore" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Naviga" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Seleziona il percorso completo del tuo navigatore" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Opzioni avanzate. Usate solo se sapete quello che fate." #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Ripristina le impostazioni predefinite" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Timeout" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Carica avatar utenti" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Disabilita il caricamento di avatar utente per le connessioni lente" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Manutenzione" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Connessione" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Server/Porta" turpial-3.0+dfsg.orig/turpial/i18n/tr/0000755000000000000000000000000012254451540014466 5ustar turpial-3.0+dfsg.orig/turpial/i18n/tr/LC_MESSAGES/0000755000000000000000000000000012254451540016253 5ustar turpial-3.0+dfsg.orig/turpial/i18n/tr/LC_MESSAGES/turpial.po0000644000000000000000000005452612254451435020312 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # mehmet nur olcay , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-25 17:18+0000\n" "Last-Translator: mehmet nur olcay \n" "Language-Team: Turkish (http://www.transifex.com/projects/p/turpial-1/language/tr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Hoş Geldiniz!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Yeni hesap ekleyip" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "Turpial'ı kullanmaya başlayın" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Hesabınız oluşturuldu, şimdi" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "istediğiniz sütunları ekleyin" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Durumunuzu güncelleyin" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Özel mesaj gönderin" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Ayarlar" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Seçenekler" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Turpial Hakkında" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Arama" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Hesap" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Hesaplar" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Sütunlar" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Turpial'a izin verin" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "PIN kodu girin" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Kaydet" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Turpial'a izin vermek için PIN kodunu girin" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Kullanıcı Profili" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Konum" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Twitler" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Takip edilenler" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Takip edenler" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoriler" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Kriterler" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Arama kriterleri oluşturmak için etiket, mention veya herhangi bir metin kullanabilirsiniz" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Mesaj göndereceğiniz kişiyi seçin" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Arkadaşlar" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Seçin" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Arkadaş listesini yükle" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Neler oluyor?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Resim yükle" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "URL'leri kısalt" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Güncelle" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Sütunu Sil" #: turpial/ui/lang.py:57 msgid "now" msgstr "şimdi" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweet edenler" #: turpial/ui/lang.py:59 msgid "New" msgstr "Yeni" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Kaldır" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Yeniden giriş yap" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Yeni hesap aç" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Mevcut hesabı kaldır" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Twitter hesabı oluştur" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Identi.ca hesabı oluştur" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Kayıtlı hesabınız yok" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Yeni hesap oluştururken sorun çıktı" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Yayımla" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Boş bir mesaj gönderemezsiniz" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Mesajınız fazla uzun" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Konuşmayı görüntüle" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Konuşmayı gizle" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Yanıtla" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Alıntıla" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweetle" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Favori olarak işaretle" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Favorilerden kaldır" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Yanıtla" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Alıntı" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Retweet'i Onayı" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Bu durumu bütün takipçilerinize retweet etmek istiyor musunuz?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Silme Onayı" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Bu durumu silmek istiyor musunuz?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Bu mesajı silmek istiyor musunuz?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Yükleniyor..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Durum yeniden gönderildi" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Durum silindi" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Mesaj silindi" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Durum favorilere eklendi" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Durum favorilerden kaldırıldı" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Mesaj gönder" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Takip et" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Takip bekleyenler" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Takibi bırak" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Gizle" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Gizleme" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Engelle" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Spam bildir" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Bu sizsiniz!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Konuşma" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Çıkış" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "Yükleniyor..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Göndereceğiniz hesabı seçin" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Resim Önizleme" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "İptal Onayı" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Mesajı iptal etmek istiyor musunuz?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Bilgi" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Yeniler" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "%s hesabını silmek istiyor musunuz?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Bekleyen mesajlar" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Seçili mesajı sil" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Hepsini sil" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Bekleyen bütün mesajları sil" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Mesajlar" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Bu mesajı bekleyenlerden kaldırmak istiyor musunuz?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Bekleyenlerin hepsini kaldırmak ister misiniz?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Turpial'ı kapatmadığınız sürece mesaj %s'da gönderilecek" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Sonraki mesaj kaç" #: turpial/ui/lang.py:119 msgid "minute" msgstr "dakika içinde gönderilmeli" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "dakika içinde gönderilme" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Bekleynlere ekle" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Python ile yazılmış mikroblok istemcisi" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "@%s'i takip etmeye başladınız" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "@%s'i takip etmeyi bıraktınız" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s spam olarak bildirildi" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s engellendi" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s gizlendi" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s gizlenenlerden çıkarıldı" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Bekleyen mesaj gönderildi" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Kapat" #: turpial/ui/lang.py:131 msgid "General" msgstr "Genel" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Bildirimler" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Servisler" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Web Tarayıcı" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtreler" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Gelişmiş" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Güncelleme aralığını ve genel parametreleri düzenleyin" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Turpial'dan almak istediğiniz bildirimleri işaretleyin" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Linkleri açmak için tarayıcı seçin" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "URL kısaltmak ve resim yüklemek için servis seçin" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Turpial proxy ayarları (Yeniden başlatma gerektirir)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Gelişmiş ayarlar. Ne yaptığınızı bilmiyorsanız değiştirmeyin" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Güncelleme sıklığı" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Bekleme sıklığı" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Her sütundaki bildirim sayısı" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Kapatınca küçült" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Güncellemeleri bildir" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Gelişmeleri bildir" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Giriş sesi" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Güncelleme sesi" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Varsayılan tarayıcıyı kullan" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Farklı bir tarayıcı seçin" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Komutlar" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Ön belleği temizle" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Önbellekteki herşeyi sil" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Varsayılan ayarlara dön" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Ayarları geri yükle" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Soket zaman aşımı" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Kullanıcı avatarlarını göster" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tip" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Host" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Port" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Onay bekle" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Kullanıcı adı" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Şifre" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Filtre ekle" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Yeni filtre oluştur" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Seçili filtreyi kaldır" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Bütün filtreleri kaldır" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Bütün filtreleri kaldırmak ister misiniz" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Resim yüklenirken hata oluştu" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Konuşma yüklenirken hata oluştu" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Sütun güncellenirken hata oluştu" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Yeniden gönderme sırasında hata oluştu" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Durumu silerken hata oluştu" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Favorilere eklerken hata oluştu" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Favorilerden kaldırılırken hata oluştu" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Durum gönderilirken hata oluştu" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Kullanıcı profili yüklenirken sorun çıktı" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Kullanıcıyı takibe almakta sorun çıktı" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Kullanıcıyı takipten çıkarmada sorun çıktı" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Galiba, bu kullanıcıyı engelleyemedim" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Kullanıcıyı spam olarak bildirmede hata oluştu" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Özel mesaj gönderilemez" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "URL kısaltılamadı" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Resim yüklenirken hata oluştu" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 yeni tweet" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s yeni tweet" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Test" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Aç" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Sütunların güncellenme sıklığını seçin" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Bekleyen mesajların gönderilme sıklığını seçin" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Turpial'ı sistem tepsisine gönder" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Güncellemeler için sistem bildirimlerini kullan" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Takip, engelleme gibi durumlar için sistem bildirimlerini kullan" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Başlangıç için sesli uyarı" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Güncellemeler için sesli uyarı" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Bağlantı için zaman aşımı" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Seçili iken kullanıcı avatarları gösterilir. Değilse siyah bir kare görürsünüz (limitli veya sorunlu bağlantılar için önerilir)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Geri yüklemeyi onayla" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Varsayılan ayarlara dönmek ister misiniz ? Turpial'ı kapatıp yeniden başlatmanız gerekecektir" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Varsayılan ayarlara dönüldü. Lütfen Turpial'ı yeniden başlatın" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Böyle bir hesap yok ki!" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Merhaba!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Biraz daha bekleyin, kanatlanmama az kaldı..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Kapatma onayı" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Turpial'ı kapatmak ister misiniz?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Eee şey..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Ciddi bir sorun oldu. Internete bağlanılamıyor" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Tekrar dene" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "gönderen" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "yanıtlanan" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Sütunlar için güncelleme sıklığını düzenle" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Güncelleme aralığı" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Durumlar" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Profil rengi yükle" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Öncelikli elemanlar için profil renginiz kullanılsın" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Sistem tepsisine küçült" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Turpial kapatılınca sistem tepsisine gönder" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Güncellemeler" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Güncellemer için bildirim göster" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Giriş" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Profilinizle girişte bildirim göster" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Sistem tepsisi ikonu" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Bildirim geldiğinde sistem tepsisi ikonunu değiştir" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Girişi için sesli uyarı" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Güncellemeler için sesli uyarı" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sesler" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "URL kısaltmak ve resim yüklemek için servis seçin" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "URL kısalt" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Resim yükle" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "İstemedikleriniz için filtre oluşturun" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Linkleri açmak için tarayıcı seçin" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Varsayılan tarayıcı" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Farklı bir tarayıcı seçin" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Gözat" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Tarayıcının tam adresini yazın" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Gelişmiş seçenekler. Ne yaptığınızı bilmiyorsanız değiştirmeyin" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Varsayılan ayarlara dön" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Zamanaşımı" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Kullanıcı avatarlarını göster" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Avatarları gösterme (yavaş bağlantılar için)" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Bakım" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Bağlantı" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Server/Port" turpial-3.0+dfsg.orig/turpial/i18n/fr/0000755000000000000000000000000012254451540014450 5ustar turpial-3.0+dfsg.orig/turpial/i18n/fr/LC_MESSAGES/0000755000000000000000000000000012254451540016235 5ustar turpial-3.0+dfsg.orig/turpial/i18n/fr/LC_MESSAGES/turpial.po0000644000000000000000000005733712254451536020301 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # ced117 , 2013 # separent , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-23 21:30+0000\n" "Last-Translator: separent \n" "Language-Team: French (http://www.transifex.com/projects/p/turpial-1/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Bienvenue !" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Ajouter un nouveau compte" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "pour démarrer l'utilisation de Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Vous avez des comptes enregistrés, maintenant" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "Ajouter des colonnes" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Mettre à jour le status" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Envoyer un message direct" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Paramètres" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Préférences" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "A propos de Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Rechercher" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Compte" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Comptes" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Colonnes" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autoriser Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Entrer le code PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Enregistrer" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autoriser Turpial et copier le code pin dans la zone de texte" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Profile utilisateur" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Localisation" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Abonnements" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Abonnés" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoris" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Critères" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Utiliser des hashtags, mentions ou n'importe quel texte que vous voulez comme critère de recherche" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Sélectionner un ami auquel vous voulez envoyer un message" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Ami" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Sélectionner " #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Charger la liste d'ami" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Qu'est se passe-t-il ?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Uploader une image" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "URL courtes" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Mise à jour" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Supprimer colonne" #: turpial/ui/lang.py:57 msgid "now" msgstr "maintenant" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweeté par" #: turpial/ui/lang.py:59 msgid "New" msgstr "Nouveau" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Supprimer" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Se reconnecter" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Enregistrer un nouveau compte" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Supprimer un compte existant" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Enregistrer un compte Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Enregistrer un compte Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Pas de comptes enregistrés" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Une erreur c'est produite lors de l'enregistrement d'un nouveau compte" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Diffusion" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Vous ne pouvez pas envoyer un message vide" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Hé! Ce message est trop long, il ressemble à un testament" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Voir la conversation" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Cacher la conversation" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Répondre" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citer" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweet" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marquer comme favori" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Supprimer des favoris" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Répondre à" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citant" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Confirmer le retweet" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Vous voulez retweeter ce status à tout vos amis?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Confirmer la suppression " #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Vous voulez supprimer ce status?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Vous voulez supprimer ce message direct ?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Chargement..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Status répété" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Status supprimé" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Message direct supprimé" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Status marqué comme favori" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Status supprimé des favoris" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Envoyer un message à" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Suivre" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Demande d'abonnement" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Se désabonner" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Désactiver le son" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Activer le son" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloquer" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Signaler comme spam" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "C'est vous !" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversation" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Quitter" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "En cours..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Sélectionner un compte avant de poster" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Prévisualisation de l'image" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Confirmer la suppression " #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Voulez-vous supprimer ce message?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Info" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Récent" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Vous voulez vraiment supprimer le compte %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "File d'attente des messages" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Supprimer le message sélectionné " #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Supprimer tout" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Supprimer tous les messages en file d'attente" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Message" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Voulez-vous supprimer ce message de la file d'attente?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Voulez-vous effacer la file d'attente?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Les messages seront envoyés à chaque %s tant que Turpial sera en fonction." #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Le prochain message devrait être posté" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minute" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minutes" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Ajouter à la file d'attente" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Client de microblogage écrit en Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Vous suivez maintenant @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Vous ne suivez plus @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr " @%s a été rapporté comme indésirable" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr " @%s a été bloqué" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr " @%s a été mis en sourdine" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr " @%s n'est plus en sourdine" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Les messages de la file d'attente ont été postés" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Fermer" #: turpial/ui/lang.py:131 msgid "General" msgstr "Général" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Notifications" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Services" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Navigateur web" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtres" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avancé" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Ajuster la fréquence de mise à jour et autres paramètres généraux" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Sélectionnez les notifications que vous désirer recevoir de Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configurez votre navigateur web préféré pour ouvrir les liens" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Sélectionner votre service favori de raccourcissement d'URLs et de mise en ligne d'images" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Paramètres proxy pour Turpial (demande un redémarrage)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Options avancées. N'y touchez pas à moins que vous sachiez ce que vous faites" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Fréquence de mise à jour" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Fréquence de file d'attente" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Statuts par colonne" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimiser à la fermeture" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notifier lors des mises à jour" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notifier lors des actions" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Son lors de l'authentification" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Son lors de mises à jour" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Utiliser le navigateur web par défaut" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Choisir un navigateur personnalisé" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Commande" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Nettoyer le cache" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Supprimer tous les fichiers du cahce" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Revenir à la configuration par défaut" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaurer la config" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Délai de déconnection" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Montrer les avatars de l'utilisateur" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Type" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Hôte" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Port" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Avec authentification" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nom d'utilisateur" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Mot de passe" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Ajouter filtre" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Créer un nouveau filtre" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Supprimer le filtre sélectionné " #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Supprimer tout les filtres" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Vous voulez effacer tout les filtres?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Erreur lors du chargement de l'image" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Erreur lors du chargement de la discussion" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Erreur lors de la mise à jour de la colonne" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Erreur lors de la répétition du status" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Erreur lors de la suppression du status" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Erreur lors du marquage du status en tant que favori" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Erreur lors du démarquage du status en tant que favori" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Erreur lors de la publication du status" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Erreur lors du chargement du profile de l'utilisateur" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Ayant des problèmes pour suivre cet utilisateur" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Ayant des problèmes lors du désabonnement de cet utilisateur" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Oups, je n'ai pas pu bloqué cet utilisateur" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Ayant des problèmes pour signaler cet utilisateur en tant que spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Ne peut pas envoyer de message direct" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Erreur lors du raccourcissement de l'URL" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Erreur lors de la mise en ligne de l'image" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 nouveau tweet mis à jour" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s nouveau tweets mises à jour" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Tester" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Ouvrir" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Configurer la fréquence des mises à jour des colonnes" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Configurer la fréquence de postage des messages de la file d'attente" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Envoyer Turpial dans la barre d'état du système au lieu de fermer" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Présenter des notifications système lorsque vous recevez des mises à jour" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Présenter des notifications système lorsque vous effectuez des actions comme suivre, bloquer, etc." #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Jouer des sons au démarrage" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Jouer des sons lorsque vous recevez des mises à jour" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Configurer le délai d'attente avant de fermer la connection" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Lorsque sélectionné, Turpial montre les avatars. Autrement, Turpial montrera une boîte noire (recommandé pour les connections Internet lentes ou limitées)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Confirmez la restauration" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Voulez-vous restaurer la configuration par défaut? Turpial sera fermé et devra être relancé après cette opération" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "La configuration a été réinitialisée avec succès. Veuillez redémarrer Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Attendez! Ce compte n'existe pas" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Salut la compagnie!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Donnez-moi une minute: je suis en train de me secouer les plumes et de me réchauffer les ailes..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Confirmer la fermeture" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Voulez-vous fermer Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Oups..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Quelque chose de terrible est arrivé: je n'ai pas pu me connecter à Internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Essayez encore" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "de" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "en réponse à" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Ajuster la fréquence de mise à jours par colonnes" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Intervalle de mise à jour" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Statuts" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Charger la couleur du profil" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Utiliser votre couleur de profil pour les éléments en surbrillance" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimiser dans la barre d'état " #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Envoyer Turpial dans la barre d'état lors de la fermeture de la fenêtre principale" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Mises à jour" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Montrer une notification lors de la réception de mise à jours" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Authentification" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Montrer une notification lors de l'authentification au profil de l'utilisateur" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Icône de la barre d'état" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Modifier l’icône de la barre d'état quand vous avez des notifications" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Jouer un son lors de l'authentification" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Jouer un son quand vous recevez des mise à jours" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sons" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Sélectionner votre service favori pour le raccourcissement d'URLs et la mise en ligne d'images" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Raccourcir l'URL" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Uploader des images" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtrer quoi que ce soit qui vous dérange" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configurez votre navigateur web préféré pour ouvrir tous les liens" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navigateur web par défaut" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Choisir un autre navigateur web" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Sélectionner" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Sélectionner le chemin complet de votre navigateur web" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Options avancées. Ne les utilisées que si vous savez ce que vous faites" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Réinitialiser la configuration" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Délai" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Charger les avatars" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Désactiver le chargement des avatars pour les connexions lentes" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Maintenance" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Connexion" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Serveur/Port" turpial-3.0+dfsg.orig/turpial/i18n/es/0000755000000000000000000000000012254451540014450 5ustar turpial-3.0+dfsg.orig/turpial/i18n/es/LC_MESSAGES/0000755000000000000000000000000012254451540016235 5ustar turpial-3.0+dfsg.orig/turpial/i18n/es/LC_MESSAGES/turpial.po0000644000000000000000000005574512254451536020302 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # andrearrs , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-23 14:07+0000\n" "Last-Translator: andrearrs \n" "Language-Team: Spanish (http://www.transifex.com/projects/p/turpial-1/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "¡Bienvenido!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Añade una cuenta" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "para comenzar a usar Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Tienes cuentas registradas, ahora" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "añade algunas columnas" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Actualizar estado" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Enviar mensaje directo" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Configuración" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferencias" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Acerca de Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Búsqueda" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Cuenta" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Cuentas" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Columnas" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autorizar Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Escribe el PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Guardar" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autoriza Turpial y copia el PIN en el cuadro de texto" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Perfil de usuario" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Biografía " #: turpial/ui/lang.py:40 msgid "Location" msgstr "Ubicación " #: turpial/ui/lang.py:41 msgid "Web" msgstr "Sitio Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Siguiendo" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Seguidores" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoritos" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Criterio" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Utiliza hashtags, menciones o el texto que desees como criterio de busqueda" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Selecciona un amigo para enviar el mensaje" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amigo" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Seleccionar" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Cargar lista de amigos" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "¿Qué está pasando?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Subir imagen" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Acortar URLs" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Actualizar" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Borrar columna" #: turpial/ui/lang.py:57 msgid "now" msgstr "ahora" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retwitteado por" #: turpial/ui/lang.py:59 msgid "New" msgstr "Nuevo" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Borrar" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Reiniciar sesión " #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registra una cuenta nueva" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Borra una cuenta existente" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registra una cuenta de Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registra una cuenta de identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "No hay cuentas registradas" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemas registrando una cuenta nueva" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Difundir" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "No puedes enviar un mensaje vacio" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "¡Hey! El mensaje es muy largo, parece un testamento" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Ver conversación " #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Ocultar conversación " #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Responder" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Citar" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retwittear" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marcar como favorito" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Remover de favoritos" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Responder a" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citando" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Confirmar Retwitt" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "¿Quieres retwittear este estado a todos tus amigos?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Confirmar Borrado" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "¿Quieres borrar este estado?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "¿Quieres borrar este mensaje directo?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Cargando..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Estado repetido" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Estado borrado" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Mensaje directo borrado" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Estado marcado como favorito" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Estado removido de favoritos" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Enviar mensaje a" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Seguir" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Petición enviada" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Dejar de seguir" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Silenciar" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Quitar silencio" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloquear" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Reportar como spam" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "¡Este eres tu!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversación " #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Salir" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "En progreso..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Selecciona una cuenta antes de publicar" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Previsualización de Imagen" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Confirmar Descarte" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "¿Quieres descartar este mensaje?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Información" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Reciente" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "¿Realmente quieres borrar la cuenta %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Cola de mensajes" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Borrar el mensaje seleccionado" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Borrar todo" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Borrar todos los mensajes en la cola" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Mensaje" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "¿Quieres borrar este mensaje de la cola?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "¿Quieres limpiar la cola de mensajes?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Los mensajes seran enviados cada %s siempre y cuando Turpial este abierto" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "El próximo mensaje debería ser publicado en" #: turpial/ui/lang.py:119 msgid "minute" msgstr "minuto" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "minutos" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Añadir a la cola" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Cliente de microblogging escrito en Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Ahora estas siguiendo a @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Ya no estas siguiendo a @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s ha sido reportado como spam" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s ha sido bloqueado" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s ha sido silenciado" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s se le ha quitado el silencio" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Un mensaje de la cola ha sido publicado" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Cerrar" #: turpial/ui/lang.py:131 msgid "General" msgstr "General" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Notificaciones" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Servicios" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Navegador web" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtros" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avanzado" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Ajusta la frecuencia de actualización y otros parámetros generales" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Selecciona las notificaciones que quieres recibir de Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configura tu navegador favorito para abrir enlaces" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Selecciona tu servicio preferido para acortar URLs y subir imágenes" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Configuración de proxy para Turpial (necesita reiniciar)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Opciones avanzadas. Por favor, mantente alejado a menos que sepas lo que estas haciendo" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Frecuencia de actualización" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Frecuencia de la cola" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Estados por columna" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimizar al cerrar" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notificar en actualizaciones" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notficar en acciones" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Sonido al iniciar sesión " #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Sonido en actualizaciones" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Utilizar el navegador predeterminado" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Establecer navegador personalizado" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Comando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Limpiar caché" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Borrar todos los archivos en caché" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Restaurar la configuración por defecto" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaurar configuración" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Tiempo de espera del socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Mostrar avatares de usuarios" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipo" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Host" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Puerto" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Con autenticación" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nombre de usuario" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Contraseña" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Añadir filtro" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Crear un nuevo filtro" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Borrar el filtro seleccionado" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Borrar todos los filtros" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "¿Quieres borrar todos los filtros?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Error cargando imagen" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Error cargando conversación " #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Error actualizando columna" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Error repitiendo estado" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Error borrando estado" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Error marcando estado como favorito" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Error desmarcando estado como favorito" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Error publicando estado" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problemas cargando el perfil de usuario" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Tengo dificultades para seguir a este usuario" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Tengo dificultades para dejar de seguir a este usuario" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Oh oh, no pude bloquear a este usuario" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Tengo problemas al reportar a este usuario como spam" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "No pude enviar el mensaje directo" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Error acortando URLs" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Error subiendo imagen" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 nuevo tweet actualizado" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s nuevos tweets actualizados" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Prueba" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Abrir" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Establece la frecuencia de actualización de las columnas" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Establece la frecuencia con que son publicados los mensajes de la cola" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Envía a Turpial a la bandeja de sistema en lugar de cerrarlo" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Muestra notificaciones del sistema cuando tienes actualizaciones" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Muestra notificaciones del sistema cuando realizas acciones como seguir, bloquear, etc" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Reproduce sonidos en el inicio" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Reproduce sonidos cuando tienes actualizaciones" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Establece el limite de tiempo de espera antes de cerrar la conexión" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Cuando esta seleccionado Turpial muestra avatares de usuario. De lo contrario mostrara un cuadro negro (recomendado para conexiones de internet lentas o limitadas)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Confirmar restauración " #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "¿Quieres restaurar la configuración predeterminada? Turpial se cerrará y se debe reiniciar luego de esta operación" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Configuración predeterminada restaurada con éxito. Por favor, reinicia Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "¡Espera! Esa cuenta no existe" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "¡Hola!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Dame un minuto, estoy sacudiendo mis plumas y estirando mis alas..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Confirmar salida" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "¿Quieres cerrar Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Oh oh..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Algo terrible sucedió, no puedo llegar al internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Intenta de nuevo" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "de" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "en respuesta a" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Ajusta la frecuencia de actualización de las columnas" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Intervalo de actualización" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Estados" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Cargar color de perfil" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Utiliza el color de tu perfil para elementos resaltados" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimizar a la bandeja de sistema" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Enviar Turpial a la bandeja de sistema cuando cierres la ventana principal" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Actualizaciones" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Muestra una notificación cuando recibas actualizaciones" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Iniciar sesión" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Muestra una notificación al iniciar sesión con el perfil de usuario" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Icono de la bandeja de sistema" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Cambia el icono de la bandeja de sistema cuando tienes notificaciones" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Reproduce un sonido cuando inicias sesión" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Reproduce un sonido cuando recibes actualizaciones" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sonidos" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Selecciona tus servicios favoritos para acortar URLs y subir imágenes" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Acortar URL" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Subir imágenes" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtra cualquier cosa que te moleste" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configura tu navegador web favorito para abrir todos los enlaces" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navegador web predeterminado" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Elige otro navegador web" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Explorar" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Selecciona la ruta completa del navegador web" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Opciones avanzadas. Úsalas sólo si sabes lo que haces" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Restaurar las configuraciones predeterminadas" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Tiempo de espera" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Cargar avatares de usuarios" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Desactiva la carga de los avatares de usuarios para conexiones lentas" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Mantenimiento" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Conexión" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Servidor/Puerto" turpial-3.0+dfsg.orig/turpial/i18n/de/0000755000000000000000000000000012254451540014431 5ustar turpial-3.0+dfsg.orig/turpial/i18n/de/LC_MESSAGES/0000755000000000000000000000000012254451540016216 5ustar turpial-3.0+dfsg.orig/turpial/i18n/de/LC_MESSAGES/turpial.po0000644000000000000000000005635312254451536020257 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # Bobbel , 2013 # condorotto , 2013 # t6435bm , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-26 15:04+0000\n" "Last-Translator: Bobbel \n" "Language-Team: German (http://www.transifex.com/projects/p/turpial-1/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Willkommen!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Neues Konto hinzufügen," #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "um Turpial zu benutzen" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Du hast Kontos registriert. Jetzt" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "füge einige Spalten hinzu" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Aktualisierungsstatus" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Sende eine Direktnachricht" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Globale Einstellungen" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Einstellungen" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Über Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Suche" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Konto" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Konten" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Spalten" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autorisiere Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Gib die PIN ein" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Speichern" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autorisiere Turpial und kopiere die PIN in das Textfeld" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Nutzerprofil" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Bio" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Ort" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Internet" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tweets" #: turpial/ui/lang.py:43 msgid "Following" msgstr "folgen" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Followers" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favoriten" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Kriterium" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Nutze hashtags, Erwähnungen oder beliebigen anderen Text als Suchkriterium" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Wähle einen Freund aus, um ihm eine Nachricht zu senden" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Freund" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Auswählen" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Lade die Freundesliste" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Was ist los?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Lade ein Bild hoch" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Kürze URLs" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Aktualisieren" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Lösche Spalte" #: turpial/ui/lang.py:57 msgid "now" msgstr "jetzt" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retweeted von" #: turpial/ui/lang.py:59 msgid "New" msgstr "Neu" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Löschen" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Neu anmelden" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Lege ein neues Konto an" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Lösche ein bestehendes Konto" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registriere ein Twitterkonto" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registriere ein Identi.cakonto" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "Keine registrierten Konten" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problem, ein neues Konto zu registrieren" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Übertragung" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "Du kannst keine leere Nachricht senden" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "He! Diese Nachricht ist zu lang. Sie sieht wie ein Testament aus" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Unterhaltung anschauen" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Unterhaltung verbergen" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Antworten" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Zitat" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retweet" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Als Favoriten markieren" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Aus Favoriten entfernen" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Antwort an" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Zitieren" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Retweet bestätigen" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Möchtest Du diese Nachricht an alle deine Freunde weiterleiten?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Löschen bestätigen" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Möchtest Du diese Nachricht löschen?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Möchtest du diese Direktnachricht löschen?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Laden..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Nachricht wiederholt" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Nachricht gelöscht" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Direktnachricht gelöscht" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Nachricht wurde favorisiert" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Nachricht aus Favoriten entfernt" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Sende Nachricht an" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Folgen" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Followeranfrage gesendet" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Entfolgen" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Stumm schalten" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Stummschaltung aufheben" #: turpial/ui/lang.py:97 msgid "Block" msgstr "blockieren" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Als Spam melden" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Das bist Du!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Unterhaltung" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Verlassen" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "In Bearbeitung..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Wähle vor dem Senden ein Konto aus" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Vorschaubild" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Verwerfen bestätigen" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Möchtest du diese Nachricht verwerfen?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Info" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Letzter" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Möchtest du dieses Konto wirklich löschen %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Nachrichten in der Warteschlange" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Lösche gewählte Nachricht" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Lösche alles" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Lösche alle Nachrichten in der Warteschlange" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Nachricht" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Möchtest du diese Nachricht aus der Warteschlange entfernen?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Möchtest du die Warteschlange leeren?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Nachrichten werden alle %s gesendet, so lange Turpial geöffnet bleibt" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "Nächste Nachricht sollte gesendet werden in" #: turpial/ui/lang.py:119 msgid "minute" msgstr "Minute" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "Minuten" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Zur Warteschlange hinzufügen" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Microblogging Client in Python geschrieben" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Du folgst jetzt @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Du folgst nicht mehr @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s wurde als Spam gemeldet" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s wurde blockiert" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s wurde stumm geschaltet" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s Stummschaltung wurde aufgehoben" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Nachricht aus der Warteschlange wurde gesendet" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Schließen" #: turpial/ui/lang.py:131 msgid "General" msgstr "Allgemein" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Benachrichtigungen" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Dienste" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Web Browser" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filter" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Fortgeschritten" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Aktualisierungsintervall und andere Parameter einstellen" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Wähle die Mitteilungen, die du von Turpial erhalten möchtest" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Wähle Deinen Standardbrowser um Links zu öffnen" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Wähle deine bevorzugten Dienste, um URLs zu kürzen und Bilder hochzuladen" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Proxyeinstellungen für Turpial (erfordert Neustart)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Erweiterte Optionen. Bitte keine Veränderungen vornehmen, wenn du nicht genau weißt, was du tust" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Aktualisierungsintervall" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Warteschlangenhäufigkeit" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Nachrichten pro Spalte" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Beim Schließen minimieren" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Bei Aktualisierungen benachrichtigen" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Bei Aktionen benachrichtigen" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "Klang beim Anmelden" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "Klang bei neuen Nachrichten" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Nutze den Standardbrowser" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Wähle einen anderen Browser" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Befehl" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Cache leeren" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Lösche alle Dateien im Cache" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Ausgangskonfiguration wiederherstellen" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "config wiederherstellen" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Socket Zeitüberschreitung" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Zeige Nutzeravatare" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Eingabe" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Host" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Port" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Mit Authentifizierung" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nutzername" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Passwort" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Filter hinzufügen" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Filter hinzufügen" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Ausgewählten Filter löschen" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Alle Filter löschen" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Möchtest du alle Filter zurücksetzen?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Fehler beim Laden des Bildes" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Fehler beim Laden der Unterhaltung" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Fehler beim Aktualisieren der Spalte" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Fehler beim Wiederholen des Status" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Fehler beim Löschen der Nachricht" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Fehler beim favorisieren der Nachricht" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Fehler beim Entfernen des Favoritenstatus" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Fehler beim Senden der Nachricht" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Probleme beim Laden des Nutzerprofils" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Schwierigkeiten, diesem Nutzer zu folgen" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Schwierigkeiten, diesem Nutzer zu entfolgen" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Auweia, ich kann diesen Nutzer nicht blockieren" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Problem, diesen Nutzer als Spam zu melden" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "Fehler beim Senden der Direktnachricht" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Fehler beim Kürzen der URL" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Fehler beim Hochladen des Bildes" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 neuer Tweet vorhanden" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s neue Tweets vorhanden" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Test" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Öffnen" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Setze das Aktualisierungsintervall für die Spalten" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Stelle ein, wie häufig Nachrichten aus der Warteschlange gesendet werden" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Minimiere Turpial anstatt zu beenden" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Zeige Systembenachrichtigungen beim Erhalt von Nachrichten" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Zeige Systembenachrichtigungen, wenn du Aktionen wie Folgen, Blockieren etc. durchführst" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Spiele Klänge beim Starten" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Spiele Klänge, wenn du Nachrichten erhältst" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Setze die abzuwartende Zeitüberschreitung vor dem Schließen der Verbindung" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Wenn Turpial ausgewählt ist, zeige Nutzeravatare. Anderenfalls wird ein schwarzes Feld angezeigt (empfohlen für langsame oder eingeschränkte Internetverbindungen)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Bestätige Wiederherstellung" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Möchtest Du deine Konfiguration auf die Voreinstellung zurücksetzen? Turpial wird geschlossen und muss danach neu gestartet werden." #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Standardeinstellungen erfolgreich wiederhergestellt. Bitte Turpial neu starten" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Warte! Das Konto existiert nicht" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Hallo!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Gib mir eine Minute. Ich schüttele meine Federn und strecke meine Flügel..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Bestätige Schließen" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Möchtest du Turpial beenden?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Auweia..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Etwas Schreckliches ist passiert. Ich komme nicht ins Internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Versuche es erneut" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "von" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "als Antwort auf" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Stelle das Aktualisierungsintervall für Spalten ein" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Aktualisierungsintervall" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Status" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Lade Profilfarbe" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Nutze deine Profilfarbe, um Elemente zu hervorzuheben" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "In Benachrichtigungsleiste minimieren" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Minimiere Turpial in die Benachrichtigungsleiste, wenn das Hauptfenster geschlossen wird" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Aktualisierungen" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Zeige eine Benachrichtigung, wenn Aktualisierungen vorhanden sind" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Anmelden" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Zeige eine Benachrichtigung mit Nutzerprofil beim Anmelden" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Symbol in Benachrichtigungsleiste" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Ändere das Symbol in der Benachrichtigungsleiste bei neuen Nachrichten" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Spiele einen Klang beim Anmelden" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Spiele einen Klang bei neuen Nachrichten" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Klänge" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Wähle deine bevorzugten Dienste zum Kürzen von URLs und für das Hochladen von Bildern" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "Kürze URL" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Lade Bilder hoch" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtere alles heraus, was dich stört" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Richte deinen Standardbrowser ein, um Links zu öffnen" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Standardbrowser" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Wähle einen anderen Web Browser" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Browse" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Wähle den vollen Pfad für deinen Web Browser" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Erweiterte Optionen. Nutze sie nur, wenn du genau weißt, was du tust" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Wiederherstellen der Standardeinstellungen" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Zeitüberschreitung" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Lade Nutzeravatare" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Deaktiviere das Laden der Nutzeravatare bei langsamen Verbindungen" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Wartungsarbeiten" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Verbindung" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Server/Port" turpial-3.0+dfsg.orig/turpial/i18n/ca/0000755000000000000000000000000012254451540014424 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ca/LC_MESSAGES/0000755000000000000000000000000012254451540016211 5ustar turpial-3.0+dfsg.orig/turpial/i18n/ca/LC_MESSAGES/turpial.po0000644000000000000000000005540712254451435020247 0ustar # Translations template for turpial. # Copyright (C) 2013 Turpial # This file is distributed under the same license as the turpial project. # # Translators: # jcmeliton , 2013 msgid "" msgstr "" "Project-Id-Version: Turpial\n" "Report-Msgid-Bugs-To: turpial-dev@googlegroups.com\n" "POT-Creation-Date: 2013-11-23 11:04-0300\n" "PO-Revision-Date: 2013-11-26 13:54+0000\n" "Last-Translator: jcmeliton \n" "Language-Team: Catalan (http://www.transifex.com/projects/p/turpial-1/language/ca/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" "Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: turpial/ui/lang.py:18 msgid "Welcome!" msgstr "Benvingut!" #: turpial/ui/lang.py:21 msgid "Add a new account" msgstr "Afegir un nou compte" #: turpial/ui/lang.py:22 msgid "to start using Turpial" msgstr "Per començar a utilitzar Turpial" #: turpial/ui/lang.py:23 msgid "You have accounts registered, now" msgstr "Tens comptes registrats, ara" #: turpial/ui/lang.py:24 msgid "add some columns" msgstr "Afegir algunes columnes" #: turpial/ui/lang.py:25 msgid "Update status" msgstr "Actualitzar estat" #: turpial/ui/lang.py:26 msgid "Send direct message" msgstr "Enviar missatge directe" #: turpial/ui/lang.py:27 msgid "Settings" msgstr "Configuració" #: turpial/ui/lang.py:28 msgid "Preferences" msgstr "Preferències" #: turpial/ui/lang.py:29 msgid "About Turpial" msgstr "Sobre Turpial" #: turpial/ui/lang.py:30 msgid "Search" msgstr "Cerca" #: turpial/ui/lang.py:31 msgid "Account" msgstr "Compte" #: turpial/ui/lang.py:32 msgid "Accounts" msgstr "Comptes" #: turpial/ui/lang.py:33 msgid "Columns" msgstr "Columnes" #: turpial/ui/lang.py:34 msgid "Authorize Turpial" msgstr "Autoritzar Turpial" #: turpial/ui/lang.py:35 msgid "Type the PIN" msgstr "Escriu el PIN" #: turpial/ui/lang.py:36 msgid "Save" msgstr "Guardar" #: turpial/ui/lang.py:37 msgid "Authorize Turpial and copy the PIN in the text box" msgstr "Autoritzar Turpial i copiar el PIN al quadre de text" #: turpial/ui/lang.py:38 msgid "User Profile" msgstr "Perfil d'usuari" #: turpial/ui/lang.py:39 msgid "Bio" msgstr "Biografia" #: turpial/ui/lang.py:40 msgid "Location" msgstr "Ubicació" #: turpial/ui/lang.py:41 msgid "Web" msgstr "Web" #: turpial/ui/lang.py:42 msgid "Tweets" msgstr "Tuits" #: turpial/ui/lang.py:43 msgid "Following" msgstr "Seguint" #: turpial/ui/lang.py:44 msgid "Followers" msgstr "Seguidors" #: turpial/ui/lang.py:45 msgid "Favorites" msgstr "Favorits" #: turpial/ui/lang.py:46 msgid "Criteria" msgstr "Criteri" #: turpial/ui/lang.py:47 msgid "Use hashtags, mentions or any text you want as search criteria" msgstr "Utilitzeu hashtags, mencions o qualsevol text que desitgeu com a criteri de cerca" #: turpial/ui/lang.py:48 msgid "Select friend to send message" msgstr "Seleccioneu amic per enviar un missatge" #: turpial/ui/lang.py:49 msgid "Friend" msgstr "Amic" #: turpial/ui/lang.py:50 msgid "Select" msgstr "Selecciona" #: turpial/ui/lang.py:51 msgid "Load friends list" msgstr "Carregar llista d'amics" #: turpial/ui/lang.py:52 msgid "What's happening?" msgstr "Què està passant?" #: turpial/ui/lang.py:53 msgid "Upload image" msgstr "Pujar una imatge" #: turpial/ui/lang.py:54 msgid "Short URLs" msgstr "Escurçar URLs" #: turpial/ui/lang.py:55 msgid "Update" msgstr "Actualitzar" #: turpial/ui/lang.py:56 msgid "Delete Column" msgstr "Eliminar columna" #: turpial/ui/lang.py:57 msgid "now" msgstr "Ara" #: turpial/ui/lang.py:58 turpial/ui/gtk/statuswidget.py:77 msgid "Retweeted by" msgstr "Retuitejat per" #: turpial/ui/lang.py:59 msgid "New" msgstr "Nou" #: turpial/ui/lang.py:60 msgid "Delete" msgstr "Esborrar" #: turpial/ui/lang.py:61 msgid "Relogin" msgstr "Reiniciar sessió" #: turpial/ui/lang.py:62 msgid "Register a new account" msgstr "Registrar un nou compte" #: turpial/ui/lang.py:63 msgid "Delete an existing account" msgstr "Eliminar un compte existent" #: turpial/ui/lang.py:64 msgid "Register a Twitter account" msgstr "Registrar un compte de Twitter" #: turpial/ui/lang.py:65 msgid "Register an Identi.ca account" msgstr "Registrar un compte de Identi.ca" #: turpial/ui/lang.py:66 msgid "No registered accounts" msgstr "No hi ha comptes registrades" #: turpial/ui/lang.py:67 msgid "Problems registering a new account" msgstr "Problemes registrant un compte nou" #: turpial/ui/lang.py:68 msgid "Broadcast" msgstr "Difondre" #: turpial/ui/lang.py:69 msgid "You can not submit an empty message" msgstr "No pots enviar un missatge buit" #: turpial/ui/lang.py:70 msgid "Hey! That message is too long, it looks like a testament" msgstr "Hey! Aquest missatge és massa llarg, sembla un testament" #: turpial/ui/lang.py:71 msgid "View conversation" msgstr "Veure conversa" #: turpial/ui/lang.py:72 msgid "Hide conversation" msgstr "Amaga conversa" #: turpial/ui/lang.py:73 msgid "Reply" msgstr "Respondre" #: turpial/ui/lang.py:74 msgid "Quote" msgstr "Cita" #: turpial/ui/lang.py:75 msgid "Retweet" msgstr "Retuitar" #: turpial/ui/lang.py:76 msgid "Mark as favorite" msgstr "Marcar com a favorit" #: turpial/ui/lang.py:77 msgid "Remove from favorites" msgstr "Eliminar dels favorits" #: turpial/ui/lang.py:78 msgid "Reply to" msgstr "Respondre a" #: turpial/ui/lang.py:79 msgid "Quoting" msgstr "Citant" #: turpial/ui/lang.py:80 msgid "Confirm Retweet" msgstr "Confirmar Retuit" #: turpial/ui/lang.py:81 msgid "Do you want to retweet this status to all your friends?" msgstr "Vols retuitar aquest estat a tots els teus amics?" #: turpial/ui/lang.py:82 msgid "Confirm Delete" msgstr "Confirmar eliminació" #: turpial/ui/lang.py:83 msgid "Do you want to delete this status?" msgstr "Vols esborrar aquest estatus?" #: turpial/ui/lang.py:84 msgid "Do you want to delete this direct message?" msgstr "Vols esborrar aquest missatge directe?" #: turpial/ui/lang.py:85 msgid "Loading..." msgstr "Carregant..." #: turpial/ui/lang.py:86 msgid "Status repeated" msgstr "Estat repetit" #: turpial/ui/lang.py:87 msgid "Status deleted" msgstr "Estat esborrat" #: turpial/ui/lang.py:88 msgid "Direct message deleted" msgstr "Missatge directe esborrat" #: turpial/ui/lang.py:89 msgid "Status marked as favorite" msgstr "Estat marcat com a favorit" #: turpial/ui/lang.py:90 msgid "Status removed from favorites" msgstr "Estat esborrat de favorits" #: turpial/ui/lang.py:91 msgid "Send message to" msgstr "Enviar un missatge a" #: turpial/ui/lang.py:92 msgid "Follow" msgstr "Segueix" #: turpial/ui/lang.py:93 msgid "Follow requested" msgstr "Petició enviada" #: turpial/ui/lang.py:94 msgid "Unfollow" msgstr "Deixa de seguir" #: turpial/ui/lang.py:95 msgid "Mute" msgstr "Silenciar" #: turpial/ui/lang.py:96 msgid "Unmute" msgstr "Treure silenci" #: turpial/ui/lang.py:97 msgid "Block" msgstr "Bloquejar" #: turpial/ui/lang.py:98 msgid "Report as spam" msgstr "Marca com a SPAM" #: turpial/ui/lang.py:99 msgid "This is you!" msgstr "Aquest ets tu!" #: turpial/ui/lang.py:100 msgid "Conversation" msgstr "Conversa" #: turpial/ui/lang.py:101 msgid "Quit" msgstr "Sortir" #: turpial/ui/lang.py:102 msgid "In progress..." msgstr "En curs..." #: turpial/ui/lang.py:103 msgid "Select an account before post" msgstr "Seleccioneu un compte abans de publicar" #: turpial/ui/lang.py:104 msgid "Image Preview" msgstr "Previsualització d'imatge" #: turpial/ui/lang.py:105 msgid "Confirm Discard" msgstr "Confirmar Descart" #: turpial/ui/lang.py:106 msgid "Do you want to discard this message?" msgstr "Vols descartar aquest missatge?" #: turpial/ui/lang.py:107 msgid "Info" msgstr "Informació" #: turpial/ui/lang.py:108 msgid "Recent" msgstr "Recent" #: turpial/ui/lang.py:109 #, python-format msgid "Do you really want to delete the account %s?" msgstr "Realment voleu eliminar el compte %s?" #: turpial/ui/lang.py:110 msgid "Messages queue" msgstr "Cua de missatges" #: turpial/ui/lang.py:111 msgid "Delete selected message" msgstr "Esborrar el missatge seleccionat" #: turpial/ui/lang.py:112 msgid "Delete all" msgstr "Esborrar tot" #: turpial/ui/lang.py:113 msgid "Delete all messages in queue" msgstr "Esborrar tots els missatges a la cua" #: turpial/ui/lang.py:114 msgid "Message" msgstr "Missatge" #: turpial/ui/lang.py:115 msgid "Do you want to delete this message from the queue?" msgstr "Vols esborrar aquest missatge de la cua?" #: turpial/ui/lang.py:116 msgid "Do you want to clear the queue?" msgstr "Vols esborrar la cua?" #: turpial/ui/lang.py:117 #, python-format msgid "Messages will be send every %s as long as Turpial remain open" msgstr "Els missatges s'envien cada %s, sempre que romangui obert Turpial" #: turpial/ui/lang.py:118 msgid "Next message should be posted in" msgstr "El missatge següent ha de ser publicat en el" #: turpial/ui/lang.py:119 msgid "minute" msgstr "Minut" #: turpial/ui/lang.py:120 msgid "minutes" msgstr "Minuts" #: turpial/ui/lang.py:121 msgid "Add to Queue" msgstr "Afegir a la cua" #: turpial/ui/lang.py:122 msgid "Microblogging client written in Python" msgstr "Client de microblogging escrit en Python" #: turpial/ui/lang.py:123 #, python-format msgid "You are now following @%s" msgstr "Ara segueixes a @%s" #: turpial/ui/lang.py:124 #, python-format msgid "You are no longer following @%s" msgstr "Ja no estàs seguint a @%s" #: turpial/ui/lang.py:125 #, python-format msgid "@%s has been reported as spam" msgstr "@%s s'ha reportat com a SPAM" #: turpial/ui/lang.py:126 #, python-format msgid "@%s has been blocked" msgstr "@%s ha estat bloquejat" #: turpial/ui/lang.py:127 #, python-format msgid "@%s has been muted" msgstr "@%s ha estat silenciat" #: turpial/ui/lang.py:128 #, python-format msgid "@%s has been unmuted" msgstr "@%s si li ha tret el silenci" #: turpial/ui/lang.py:129 msgid "Message from queue has been posted" msgstr "Un missatge de la cua s'ha publicat" #: turpial/ui/lang.py:130 msgid "Close" msgstr "Tancar" #: turpial/ui/lang.py:131 msgid "General" msgstr "General" #: turpial/ui/lang.py:132 turpial/ui/gtk/preferences/tabs.py:88 msgid "Notifications" msgstr "Notificacions" #: turpial/ui/lang.py:133 msgid "Services" msgstr "Serveis" #: turpial/ui/lang.py:134 msgid "Web Browser" msgstr "Navegador Web" #: turpial/ui/lang.py:135 turpial/ui/lang.py:167 msgid "Filters" msgstr "Filtres" #: turpial/ui/lang.py:136 msgid "Proxy" msgstr "Proxy" #: turpial/ui/lang.py:137 msgid "Advanced" msgstr "Avançat" #: turpial/ui/lang.py:138 msgid "Adjust update frecuency and other general parameters" msgstr "Ajusta freqüència d'actualització i altres paràmetres generals" #: turpial/ui/lang.py:139 turpial/ui/gtk/preferences/tabs.py:61 msgid "Select the notifications you want to receive from Turpial" msgstr "Selecciona les notificacions que vols rebre de Turpial" #: turpial/ui/lang.py:140 msgid "Setup your favorite web browser to open links" msgstr "Configura el teu navegador web favorit per obrir enllaços" #: turpial/ui/lang.py:141 msgid "Select your preferred service to short URLs and upload images" msgstr "Selecciona el seu servei preferit a les URL curtes i pujar imatges" #: turpial/ui/lang.py:142 turpial/ui/gtk/preferences/tabs.py:383 msgid "Proxy settings for Turpial (Need Restart)" msgstr "Configuració de proxy per Turpial (Necessita Reiniciar)" #: turpial/ui/lang.py:143 msgid "Advanced options. Please, keep away unless you know what you are doing" msgstr "Opcions avançades. Si us plau, mantingui lluny a menys que sàpiga el que està fent" #: turpial/ui/lang.py:144 msgid "Update frecuency" msgstr "Freqüència d'actualització" #: turpial/ui/lang.py:145 msgid "Queue frecuency" msgstr "Freqüencia de la cua" #: turpial/ui/lang.py:146 msgid "Statuses per column" msgstr "Estats per columna" #: turpial/ui/lang.py:147 msgid "Minimize on close" msgstr "Minimitzar al tancar" #: turpial/ui/lang.py:148 msgid "Notify on updates" msgstr "Notificar-me les actualitzacions" #: turpial/ui/lang.py:149 msgid "Notify on actions" msgstr "Notificar-me les accions" #: turpial/ui/lang.py:150 msgid "Sound on login" msgstr "So en iniciar sessió" #: turpial/ui/lang.py:151 msgid "Sound on updates" msgstr "So en les actualitzacions" #: turpial/ui/lang.py:152 msgid "Use default browser" msgstr "Utilitzeu el navegador per defecte" #: turpial/ui/lang.py:153 msgid "Set custom browser" msgstr "Establir navegador personalitzat" #: turpial/ui/lang.py:154 turpial/ui/gtk/preferences/tabs.py:232 msgid "Command" msgstr "Comando" #: turpial/ui/lang.py:155 turpial/ui/gtk/preferences/tabs.py:316 msgid "Clean cache" msgstr "Netejar memòria cau" #: turpial/ui/lang.py:156 msgid "Delete all files in cache" msgstr "Elimineu tots els arxius a la memòria cau" #: turpial/ui/lang.py:157 msgid "Restore configuration to default" msgstr "Restaurar configuració per defecte" #: turpial/ui/lang.py:158 turpial/ui/gtk/preferences/tabs.py:324 msgid "Restore config" msgstr "Restaurar configuració" #: turpial/ui/lang.py:159 msgid "Socket timeout" msgstr "Temps d'espera de Socket" #: turpial/ui/lang.py:160 msgid "Show user avatars" msgstr "Mostra els avatars dels usuaris" #: turpial/ui/lang.py:161 msgid "Type" msgstr "Tipus" #: turpial/ui/lang.py:162 msgid "Host" msgstr "Amfitrió" #: turpial/ui/lang.py:163 msgid "Port" msgstr "Port" #: turpial/ui/lang.py:164 msgid "With authentication" msgstr "Amb autenticació" #: turpial/ui/lang.py:165 turpial/ui/gtk/preferences/tabs.py:389 msgid "Username" msgstr "Nom d'usuari" #: turpial/ui/lang.py:166 turpial/ui/gtk/preferences/tabs.py:390 msgid "Password" msgstr "Contrasenya" #: turpial/ui/lang.py:168 msgid "Add filter" msgstr "Afegir filtre" #: turpial/ui/lang.py:169 msgid "Create a new filter" msgstr "Crear un nou filtre" #: turpial/ui/lang.py:170 msgid "Delete selected filter" msgstr "Esborrar filtre seleccionat" #: turpial/ui/lang.py:171 msgid "Delete all filters" msgstr "Esborrar tots els filtres" #: turpial/ui/lang.py:172 msgid "Do you want to clear all the filters?" msgstr "Vols esborrar tots els filtres?" #: turpial/ui/lang.py:173 msgid "Error loading image" msgstr "Error en carregar imatge" #: turpial/ui/lang.py:174 msgid "Error loading conversation" msgstr "Error en carrgar conversa" #: turpial/ui/lang.py:175 msgid "Error updating column" msgstr "Error en actualitzar la columna" #: turpial/ui/lang.py:176 msgid "Error repeating status" msgstr "Estat d'error repetit" #: turpial/ui/lang.py:177 msgid "Error deleting status" msgstr "Error en eliminar l'estat" #: turpial/ui/lang.py:178 msgid "Error marking status as favorite" msgstr "Error al marcar estat com a favorit" #: turpial/ui/lang.py:179 msgid "Error unmarking status as favorite" msgstr "Error al desmarcar estat com a favorit" #: turpial/ui/lang.py:180 msgid "Error posting status" msgstr "Error publicant estat" #: turpial/ui/lang.py:181 msgid "Problems loading user profile" msgstr "Problemes carregant perfil d'usuari" #: turpial/ui/lang.py:182 msgid "Having some troubles to follow this user" msgstr "Tinc dificultats per seguir a aquest usuari" #: turpial/ui/lang.py:183 msgid "Having some troubles to unfollow this user" msgstr "Tinc dificultats per a deixar de seguir a aquest usuari" #: turpial/ui/lang.py:184 msgid "Uh oh, I could not block this user" msgstr "Oh oh, no puc bloquejar a aquest usuari" #: turpial/ui/lang.py:185 msgid "Having issues reporting this user as spam" msgstr "Tinc problemes pera denunciar aquest usuari com a SPAM" #: turpial/ui/lang.py:186 msgid "Can not send direct message" msgstr "No es pot enviar missatge directe" #: turpial/ui/lang.py:187 msgid "Error shorting URL" msgstr "Error escurçant URL" #: turpial/ui/lang.py:188 msgid "Error uploading image" msgstr "Error al carregar imatge" #: turpial/ui/lang.py:189 msgid "1 new tweet updated" msgstr "1 nou tuit actualitzat" #: turpial/ui/lang.py:190 #, python-format msgid "%s new tweets updated" msgstr "%s nous tuits actualitzats" #: turpial/ui/lang.py:191 turpial/ui/gtk/preferences/tabs.py:236 msgid "Test" msgstr "Prova" #: turpial/ui/lang.py:192 msgid "Open" msgstr "Obrir" #: turpial/ui/lang.py:193 msgid "Set how often are updated the columns" msgstr "Indiqueu la freqüència d'actualització de les columnes" #: turpial/ui/lang.py:194 msgid "Set how often are posted messages from the queue" msgstr "Indiqueu la freqüència es publiquen missatges de la cua" #: turpial/ui/lang.py:195 msgid "Send Turpial to system tray instead of closing" msgstr "Enviar Turpial a la safata del sistema en lloc de tancar" #: turpial/ui/lang.py:196 msgid "Display system notifications when you get updates" msgstr "Mostrar notificacions del sistema quan arribin actualitzacions" #: turpial/ui/lang.py:197 msgid "" "Display system notifications when you perform action like follow, block, etc" msgstr "Mostra notificacions del sistema quan realitzes accions com seguir, bloquejar, etc" #: turpial/ui/lang.py:198 msgid "Play sounds at startup" msgstr "Reprodueix sons en l'inici" #: turpial/ui/lang.py:199 msgid "Play sounds when you get updates" msgstr "Reproduir sons quan rep actualitzacions" #: turpial/ui/lang.py:200 msgid "Set the timeout to wait before closing the connection" msgstr "Establiu el temps d'espera que ha de passar abans de tancar la connexió" #: turpial/ui/lang.py:201 msgid "" "When selected Turpial show user avatars, Otherwise it will show a black box " "(recommended for slow or limited internet connections)" msgstr "Quan estiga seleccionat Turpial mostra Avatars d'usuari. Contrariament es mostrarà quadre negre (Conexions lentes o limitades)" #: turpial/ui/lang.py:202 msgid "Confirm restore" msgstr "Confirmar restauració" #: turpial/ui/lang.py:203 msgid "" "Do you want to restore your configuration to default? Turpial will be closed" " and must be restarted after this operation" msgstr "Vols restaurar la configuració per defecte? Turpial es tancarà i s'ha de reiniciar després d'aquesta operació" #: turpial/ui/lang.py:204 msgid "" "Configuration restored to default successfully. Please, restart Turpial" msgstr "Configuració dels paràmetres per defecte amb èxit. Si us plau, reinicieu Turpial" #: turpial/ui/lang.py:205 msgid "Wait! That account does not exist" msgstr "Espera! Aquest compte no existeix" #: turpial/ui/lang.py:206 msgid "Hi there!" msgstr "Hola!" #: turpial/ui/lang.py:207 msgid "Give me a minute, I am shaking my feathers and stretching my wings..." msgstr "Dóna'm un minut, estic movent les meus plomes i estirar les meves ales ..." #: turpial/ui/lang.py:208 msgid "Confirm close" msgstr "Confirma sortida" #: turpial/ui/lang.py:209 msgid "Do you want to close Turpial?" msgstr "Vols tancar Turpial?" #: turpial/ui/lang.py:210 msgid "Uh oh..." msgstr "Oh oh..." #: turpial/ui/lang.py:211 msgid "Something terrible happened, I could not reach the Internet" msgstr "Una cosa terrible ha passat, no puc arribar a Internet" #: turpial/ui/lang.py:212 msgid "Try again" msgstr "Intenta-ho de nou" #: turpial/ui/gtk/statuswidget.py:73 msgid "from" msgstr "de" #: turpial/ui/gtk/statuswidget.py:75 msgid "in reply to" msgstr "En resposta a" #: turpial/ui/gtk/preferences/tabs.py:20 msgid "Adjust update frequency for columns" msgstr "Ajusta la freqüència d'actualització per a les columnes" #: turpial/ui/gtk/preferences/tabs.py:29 msgid "Update Interval" msgstr "Interval d'actualització" #: turpial/ui/gtk/preferences/tabs.py:30 msgid "Statuses" msgstr "Estatus" #: turpial/ui/gtk/preferences/tabs.py:32 msgid "Load profile color" msgstr "Carrega color de perfil" #: turpial/ui/gtk/preferences/tabs.py:33 msgid "Use your profile color for highlighted elements" msgstr "Utilitzeu el perfil de color per als elements ressaltats" #: turpial/ui/gtk/preferences/tabs.py:36 msgid "Minimize to tray" msgstr "Minimitzar a la safata de sistema" #: turpial/ui/gtk/preferences/tabs.py:37 msgid "Send Turpial to system tray when closing main window" msgstr "Enviar Turpial a la safata del sistema en tancar la finestra principal" #: turpial/ui/gtk/preferences/tabs.py:73 turpial/ui/gtk/preferences/tabs.py:85 msgid "Updates" msgstr "Actualitzacions" #: turpial/ui/gtk/preferences/tabs.py:74 msgid "Show a notification when you get updates" msgstr "Mostra una notificació quan rep actualitzacions" #: turpial/ui/gtk/preferences/tabs.py:76 turpial/ui/gtk/preferences/tabs.py:82 msgid "Login" msgstr "Iniciar sessió" #: turpial/ui/gtk/preferences/tabs.py:77 msgid "Show a notification at login with user profile" msgstr "Mostrar una notificació en iniciar la sessió amb el perfil d'usuari" #: turpial/ui/gtk/preferences/tabs.py:79 msgid "Tray icon" msgstr "Icona de la safata" #: turpial/ui/gtk/preferences/tabs.py:80 msgid "Change the tray icon when you have notifications" msgstr "Canviar la icona de la safata quan tens notificacions" #: turpial/ui/gtk/preferences/tabs.py:83 msgid "Play a sound when you login" msgstr "Reprodueix un so quan inicies sessió" #: turpial/ui/gtk/preferences/tabs.py:86 msgid "Play a sound when you get updates" msgstr "Reprodueix un so quan reps actualitzacions" #: turpial/ui/gtk/preferences/tabs.py:92 msgid "Sounds" msgstr "Sons" #: turpial/ui/gtk/preferences/tabs.py:117 msgid "Select your preferred services to shorten URLs and to upload images" msgstr "Seleccioneu els vostres serveis preferits per escurçar URLs i per pujar imatges" #: turpial/ui/gtk/preferences/tabs.py:121 msgid "Shorten URL" msgstr "URL Escurçada" #: turpial/ui/gtk/preferences/tabs.py:122 msgid "Upload images" msgstr "Carregar imatges" #: turpial/ui/gtk/preferences/tabs.py:138 msgid "Filter out anything that bothers you" msgstr "Filtrar qualsevol cosa que moleste" #: turpial/ui/gtk/preferences/tabs.py:223 msgid "Setup your favorite web browser to open all links" msgstr "Configureu el vostre navegador web favorit per obrir tots els enllaços" #: turpial/ui/gtk/preferences/tabs.py:229 msgid "Default web browser" msgstr "Navegador web per defecte" #: turpial/ui/gtk/preferences/tabs.py:230 msgid "Choose another web browser" msgstr "Triar altre navegador web" #: turpial/ui/gtk/preferences/tabs.py:237 msgid "Browse" msgstr "Navega" #: turpial/ui/gtk/preferences/tabs.py:277 msgid "Select the full path of your web browser" msgstr "Seleccioneu la ruta completa del navegador" #: turpial/ui/gtk/preferences/tabs.py:304 msgid "Advanced options. Use it only if you know what you do" msgstr "Opcions avançades. Utilitzeu-lo només si saps el que fas" #: turpial/ui/gtk/preferences/tabs.py:322 msgid "Restore config to default" msgstr "Restaurar les configuracions predeterminades" #: turpial/ui/gtk/preferences/tabs.py:337 msgid "Timeout" msgstr "Temps d'espera" #: turpial/ui/gtk/preferences/tabs.py:340 msgid "Load user avatars" msgstr "Carregar avatars d'usuaris" #: turpial/ui/gtk/preferences/tabs.py:341 msgid "Disable loading user avatars for slow connections" msgstr "Desactivar els avatars dels usuaris de càrrega per a connexions lentes" #: turpial/ui/gtk/preferences/tabs.py:344 msgid "Maintenance" msgstr "Manteniment" #: turpial/ui/gtk/preferences/tabs.py:346 msgid "Connection" msgstr "Connexió" #: turpial/ui/gtk/preferences/tabs.py:387 msgid "Server/Port" msgstr "Servidor/Port" turpial-3.0+dfsg.orig/README.rst0000644000000000000000000000601112254451435013272 0ustar Turpial ======= **Summary:** Turpial is a light, fast and beautiful microblogging client written in Python *Turpial* is an alternative client for microblogging with multiple interfaces. At the moment it supports Twitter and Identi.ca and works with Gtk and Qt interfaces, but we are still working on more fancy features. Currently *Turpial* is in heavy development, so probably you will find bugs or undesired behavior. In this cases please report issues at: http://dev.turpial.org.ve/projects/turpial/issues We will be very graceful for your contributions. License ------- *Turpial* source code, images and sounds have been released under the *GPL v3* License. Please check the ``COPYING`` file for more details or visit http://www.gnu.org/licenses/gpl-3.0.html Requirements ------------ Turpial needs this packages to work properly: * ``python >= 2.5`` * ``libturpial >= 0.8.x`` * ``notify >= 0.1.1`` (python-notify) * ``gst0.10`` (gstreamer0.10-python) * ``pybabel >= 0.9.1`` (python-babel) * ``webkit`` (pywebkitgtk) * ``setuptools`` (python2-distribute) * ``pkg-resources`` Currently Turpial suports 3 different interfaces: Shell, Gtk and Qt. The shell interface needs no more dependencies to work, but if you are planning to run Gtk or Qt you will need to install a couple of more dependencies: For Gtk: * ``gtk2 >= 2.12`` (python-gtk2) * ``gtkspell >= 2.25.3`` (python2-gtkspell) For Qt: * ``pyqt4 >= 2.12`` (python-pyqt4) Installation ------------ Turpial is available on most popular Linux distributions, so you should be able to install it using your favorite package manager (aptitude, apt-get, pacman, yum). Please visit http://turpial.org.ve/downloads for more information. To install Turpial from sources you should go to source folder and run (as superuser):: # python setup.py install or using ``sudo``:: $ sudo python setup.py install Usage ----- After installation just execute ``turpial`` in a shell:: $ turpial [OPTIONS] Turpial will try to identify your desktop environment and load the interface that best suit to it. If you use a Gtk based environment then Turpial will load Gtk interface but in a non-Gtk based environment it will load the Qt interface. However you can override this behavior using optional parameters: * ``-i interface``: You can choose between ``gtk`` and ``cmd``. * ``-d``: runs Turpial in Debugging Mode. Further Information ------------------- For more information visit our FAQ page http://turpial.org.ve/faqs/ Contact ------- You can follow Turpial news from our official Twitter account: * @TurpialVe Join to the official development mailing list: http://groups.google.com/group/turpial-dev Or mail us to say what an awesome/crappy app Turpial is. Our contact info is in: http://turpial.org.ve/team Donate ------ You love Turpial and want to show us how gracefull you are? Buy us a coffee :) PayPal donations at: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUNXXJURA7FLW Flattr: http://flattr.com/thing/452623/Turpial turpial-3.0+dfsg.orig/MANIFEST.in0000644000000000000000000000052112254451435013341 0ustar include turpial/data/pixmaps/* include turpial/data/sounds/* include turpial/data/fonts/* global-include turpial/i18n/ *.po include turpial/ui/qt/templates/* include turpial.desktop include doc/* include ChangeLog include README.rst include COPYING include AUTHORS include THANKS include TRANSLATORS include ez_setup.py include pylintrc turpial-3.0+dfsg.orig/PKG-INFO0000644000000000000000000000143512254451540012702 0ustar Metadata-Version: 1.1 Name: turpial Version: 3.0 Summary: A light, beautiful and functional microblogging client Home-page: http://turpial.org.ve Author: Wil Alvarez Author-email: wil.alejandro@gmail.com License: GPLv3 Download-URL: http://turpial.org.ve/downloads Description: Turpial is a light, fast and beautiful microblogging client written in Python Keywords: twitter identi.ca microblogging turpial Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: X11 Applications :: Qt Classifier: Intended Audience :: End Users/Desktop Classifier: License :: OSI Approved :: GNU General Public License (GPL) Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Topic :: Communications