From 423bee174a920d40e9e944c2b4285b3a969cbbb7 Mon Sep 17 00:00:00 2001 From: Manuel Quiñones Date: Sun, 20 Nov 2011 18:21:37 +0000 Subject: First commit Signed-off-by: Manuel Quiñones --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a7a0ef5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.mo +*.pyc +*.xo +*~ +locale +dist/ +empty.html-orig diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..623b625 --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) 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 +this service 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 make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. 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. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +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 +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the 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 a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE 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. + + 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 +convey 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 2 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, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision 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, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This 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 Library General +Public License instead of this License. diff --git a/README b/README new file mode 100644 index 0000000..a9bf0f7 --- /dev/null +++ b/README @@ -0,0 +1,12 @@ +Updating the TiddlyWiki used in this activity +--------------------------------------------- + +1. Download the latest version of TiddlyWiki from + http://www.tiddlywiki.com and save it as empty.html in the activity + data directory. + +2. Add spanish locale from https://github.com/TiddlyWiki/translations + + * download locale.es.js + * open empty.html and open the tiddler called "locale" + * copy the content of the downloaded file to the content of the tiddler diff --git a/activity.py b/activity.py new file mode 100644 index 0000000..09fbba8 --- /dev/null +++ b/activity.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Copyright 2011 Manuel Quiñones +# +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +""" +TiddlyWiki Activity: A reusable non-linear personal web notebook. + +This activity displays a TiddlyWiki, which is a wiki in a single html, +via WebKit. + +""" + +import os +import gtk +import webkit +import logging + +from sugar.activity import activity +from sugar.graphics.toolbarbox import ToolbarBox +from sugar.graphics.toolbarbox import ToolbarButton +from sugar.activity.widgets import ActivityToolbarButton +from sugar.activity.widgets import StopButton +from sugar.activity.widgets import EditToolbar + +from toolbars import ViewToolbar + +_TIDDLYWIKI_PATH = os.path.join(activity.get_bundle_path(), + "data/empty.html") + + +class TiddlyWikiActivity(activity.Activity): + """TiddlyWikiActivity class as specified in activity.info""" + + def __init__(self, handle): + """Set up the TiddlyWiki activity.""" + activity.Activity.__init__(self, handle) + + self._web_view = None + + # we do not have collaboration features, make the share option + # insensitive: + self.max_participants = 1 + + # add the toolbar: + toolbar_box = self._make_toolbar() + self.set_toolbar_box(toolbar_box) + toolbar_box.show() + + # add the webkit view in the canvas: + canvas_widget = self.make_webkit_view() + self.set_canvas(canvas_widget) + canvas_widget.show() + + def _make_toolbar(self): + logging.info("Creating toolbars") + toolbar_box = ToolbarBox() + + # activity toolbar: + activity_button = ActivityToolbarButton(self) + toolbar_box.toolbar.insert(activity_button, -1) + activity_button.show() + + # edit toolbar: + edit_toolbar = EditToolbar() + edit_toolbar.undo.connect('clicked', self._edit_undo_cb) + edit_toolbar.redo.connect('clicked', self._edit_redo_cb) + edit_toolbar.copy.connect('clicked', self._edit_copy_cb) + edit_toolbar.paste.connect('clicked', self._edit_paste_cb) + edit_toolbar_button = ToolbarButton(page=edit_toolbar, + icon_name='toolbar-edit') + toolbar_box.toolbar.insert(edit_toolbar_button, -1) + edit_toolbar_button.show() + + # view toolbar: + view_toolbar = ViewToolbar() + view_toolbar.set_view(self) + view_toolbar_button = ToolbarButton(page=view_toolbar, + icon_name='toolbar-view') + toolbar_box.toolbar.insert(view_toolbar_button, -1) + view_toolbar_button.show() + + # fill with blank space: + separator = gtk.SeparatorToolItem() + separator.props.draw = False + separator.set_expand(True) + toolbar_box.toolbar.insert(separator, -1) + separator.show() + + # stop button: + stop_button = StopButton(self) + toolbar_box.toolbar.insert(stop_button, -1) + stop_button.show() + + return toolbar_box + + def make_webkit_view(self): + logging.info("Creating webkit view") + web_view = webkit.WebView() + web_view.load_uri('file://' + _TIDDLYWIKI_PATH) + self._web_view = web_view + web_view.show() + scrolledwindow = gtk.ScrolledWindow() + scrolledwindow.add(web_view) + return scrolledwindow + + def _edit_undo_cb(self, button): + self._web_view.undo() + + def _edit_redo_cb(self, button): + self._web_view.redo() + + def _edit_copy_cb(self, button): + self._web_view.copy_clipboard() + + def _edit_paste_cb(self, button): + self._web_view.paste_clipboard() + + def zoom_in(self): + self._web_view.zoom_in() + + def zoom_out(self): + self._web_view.zoom_out() diff --git a/activity/activity-tiddlywiki.svg b/activity/activity-tiddlywiki.svg new file mode 100644 index 0000000..7763591 --- /dev/null +++ b/activity/activity-tiddlywiki.svg @@ -0,0 +1,43 @@ + + + +]> + \ No newline at end of file diff --git a/activity/activity.info b/activity/activity.info new file mode 100644 index 0000000..0796a7c --- /dev/null +++ b/activity/activity.info @@ -0,0 +1,7 @@ +[Activity] +name = TiddlyWiki +activity_version = 1 +bundle_id = org.sugarlabs.TiddlyWiki +exec = sugar-activity activity.TiddlyWikiActivity +icon = activity-tiddlywiki +license = GPLv2+ diff --git a/data/empty.html b/data/empty.html new file mode 100644 index 0000000..aac8dd9 --- /dev/null +++ b/data/empty.html @@ -0,0 +1,11326 @@ + + + + + + + + + + + + + Mi TiddlyWiki - un diario web personal, reutilizable y no lineal + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
<!--{{{-->
+<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
+<!--}}}-->
+
+
+
+
Background: #fff
+Foreground: #000
+PrimaryPale: #8cf
+PrimaryLight: #18f
+PrimaryMid: #04b
+PrimaryDark: #014
+SecondaryPale: #ffc
+SecondaryLight: #fe8
+SecondaryMid: #db4
+SecondaryDark: #841
+TertiaryPale: #eee
+TertiaryLight: #ccc
+TertiaryMid: #999
+TertiaryDark: #666
+Error: #f88
+
+
+
+
/*{{{*/
+body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
+
+a {color:[[ColorPalette::PrimaryMid]];}
+a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
+a img {border:0;}
+
+h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
+h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
+h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
+
+.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
+.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
+.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
+
+.header {background:[[ColorPalette::PrimaryMid]];}
+.headerShadow {color:[[ColorPalette::Foreground]];}
+.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
+.headerForeground {color:[[ColorPalette::Background]];}
+.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
+
+.tabSelected {color:[[ColorPalette::PrimaryDark]];
+	background:[[ColorPalette::TertiaryPale]];
+	border-left:1px solid [[ColorPalette::TertiaryLight]];
+	border-top:1px solid [[ColorPalette::TertiaryLight]];
+	border-right:1px solid [[ColorPalette::TertiaryLight]];
+}
+.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
+.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
+.tabContents .button {border:0;}
+
+#sidebar {}
+#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
+#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
+#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
+#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
+#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
+
+.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
+.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
+.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
+.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
+	border:1px solid [[ColorPalette::PrimaryMid]];}
+.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
+.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
+.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
+.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
+	border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
+.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
+.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
+	border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
+
+.wizard .notChanged {background:transparent;}
+.wizard .changedLocally {background:#80ff80;}
+.wizard .changedServer {background:#8080ff;}
+.wizard .changedBoth {background:#ff8080;}
+.wizard .notFound {background:#ffff80;}
+.wizard .putToServer {background:#ff80ff;}
+.wizard .gotFromServer {background:#80ffff;}
+
+#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
+#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
+
+.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
+
+.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
+.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
+.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
+.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
+.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
+.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
+.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
+.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
+
+.tiddler .defaultCommand {font-weight:bold;}
+
+.shadow .title {color:[[ColorPalette::TertiaryDark]];}
+
+.title {color:[[ColorPalette::SecondaryDark]];}
+.subtitle {color:[[ColorPalette::TertiaryDark]];}
+
+.toolbar {color:[[ColorPalette::PrimaryMid]];}
+.toolbar a {color:[[ColorPalette::TertiaryLight]];}
+.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
+.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
+
+.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
+.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
+.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
+.tagging .button, .tagged .button {border:none;}
+
+.footer {color:[[ColorPalette::TertiaryLight]];}
+.selected .footer {color:[[ColorPalette::TertiaryMid]];}
+
+.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
+.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
+.lowlight {background:[[ColorPalette::TertiaryLight]];}
+
+.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
+
+.imageLink, #displayArea .imageLink {background:transparent;}
+
+.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
+
+.viewer .listTitle {list-style-type:none; margin-left:-2em;}
+.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
+.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
+
+.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
+.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
+.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
+
+.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
+.viewer code {color:[[ColorPalette::SecondaryDark]];}
+.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
+
+.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
+
+.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
+.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
+.editorFooter {color:[[ColorPalette::TertiaryMid]];}
+.readOnly {background:[[ColorPalette::TertiaryPale]];}
+
+#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
+#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
+#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
+#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
+#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
+#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
+#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
+.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
+.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
+#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
+/*}}}*/
+
+
+
/*{{{*/
+* html .tiddler {height:1%;}
+
+body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
+
+h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
+h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
+h4,h5,h6 {margin-top:1em;}
+h1 {font-size:1.35em;}
+h2 {font-size:1.25em;}
+h3 {font-size:1.1em;}
+h4 {font-size:1em;}
+h5 {font-size:.9em;}
+
+hr {height:1px;}
+
+a {text-decoration:none;}
+
+dt {font-weight:bold;}
+
+ol {list-style-type:decimal;}
+ol ol {list-style-type:lower-alpha;}
+ol ol ol {list-style-type:lower-roman;}
+ol ol ol ol {list-style-type:decimal;}
+ol ol ol ol ol {list-style-type:lower-alpha;}
+ol ol ol ol ol ol {list-style-type:lower-roman;}
+ol ol ol ol ol ol ol {list-style-type:decimal;}
+
+.txtOptionInput {width:11em;}
+
+#contentWrapper .chkOptionInput {border:0;}
+
+.externalLink {text-decoration:underline;}
+
+.indent {margin-left:3em;}
+.outdent {margin-left:3em; text-indent:-3em;}
+code.escaped {white-space:nowrap;}
+
+.tiddlyLinkExisting {font-weight:bold;}
+.tiddlyLinkNonExisting {font-style:italic;}
+
+/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
+a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
+
+#mainMenu .tiddlyLinkExisting,
+	#mainMenu .tiddlyLinkNonExisting,
+	#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
+#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
+
+.header {position:relative;}
+.header a:hover {background:transparent;}
+.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
+.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}
+
+.siteTitle {font-size:3em;}
+.siteSubtitle {font-size:1.2em;}
+
+#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
+
+#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
+#sidebarOptions {padding-top:0.3em;}
+#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
+#sidebarOptions input {margin:0.4em 0.5em;}
+#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
+#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
+#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
+#sidebarTabs .tabContents {width:15em; overflow:hidden;}
+
+.wizard {padding:0.1em 1em 0 2em;}
+.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
+.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
+.wizardStep {padding:1em 1em 1em 1em;}
+.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
+.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
+.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
+.wizard .button {padding:0.1em 0.2em;}
+
+#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
+.messageToolbar {display:block; text-align:right; padding:0.2em;}
+#messageArea a {text-decoration:underline;}
+
+.tiddlerPopupButton {padding:0.2em;}
+.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}
+
+.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
+.popup .popupMessage {padding:0.4em;}
+.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
+.popup li.disabled {padding:0.4em;}
+.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
+.listBreak {font-size:1px; line-height:1px;}
+.listBreak div {margin:2px 0;}
+
+.tabset {padding:1em 0 0 0.5em;}
+.tab {margin:0 0 0 0.25em; padding:2px;}
+.tabContents {padding:0.5em;}
+.tabContents ul, .tabContents ol {margin:0; padding:0;}
+.txtMainTab .tabContents li {list-style:none;}
+.tabContents li.listLink { margin-left:.75em;}
+
+#contentWrapper {display:block;}
+#splashScreen {display:none;}
+
+#displayArea {margin:1em 17em 0 14em;}
+
+.toolbar {text-align:right; font-size:.9em;}
+
+.tiddler {padding:1em 1em 0;}
+
+.missing .viewer,.missing .title {font-style:italic;}
+
+.title {font-size:1.6em; font-weight:bold;}
+
+.missing .subtitle {display:none;}
+.subtitle {font-size:1.1em;}
+
+.tiddler .button {padding:0.2em 0.4em;}
+
+.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
+.isTag .tagging {display:block;}
+.tagged {margin:0.5em; float:right;}
+.tagging, .tagged {font-size:0.9em; padding:0.25em;}
+.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
+.tagClear {clear:both;}
+
+.footer {font-size:.9em;}
+.footer li {display:inline;}
+
+.annotation {padding:0.5em; margin:0.5em;}
+
+* html .viewer pre {width:99%; padding:0 0 1em 0;}
+.viewer {line-height:1.4em; padding-top:0.5em;}
+.viewer .button {margin:0 0.25em; padding:0 0.25em;}
+.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
+.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
+
+.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
+.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
+table.listView {font-size:0.85em; margin:0.8em 1.0em;}
+table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}
+
+.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
+.viewer code {font-size:1.2em; line-height:1.4em;}
+
+.editor {font-size:1.1em;}
+.editor input, .editor textarea {display:block; width:100%; font:inherit;}
+.editorFooter {padding:0.25em 0; font-size:.9em;}
+.editorFooter .button {padding-top:0; padding-bottom:0;}
+
+.fieldsetFix {border:0; padding:0; margin:1px 0px;}
+
+.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
+.zoomer div {padding:1em;}
+
+* html #backstage {width:99%;}
+* html #backstageArea {width:99%;}
+#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
+#backstageToolbar {position:relative;}
+#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
+#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
+#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
+#backstage {position:relative; width:100%; z-index:50;}
+#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
+.backstagePanelFooter {padding-top:0.2em; float:right;}
+.backstagePanelFooter a {padding:0.2em 0.4em;}
+#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
+
+.whenBackstage {display:none;}
+.backstageVisible .whenBackstage {display:block;}
+/*}}}*/
+
+
+
+
/***
+StyleSheet for use when a translation requires any css style changes.
+This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
+***/
+/*{{{*/
+body {font-size:0.8em;}
+#sidebarOptions {font-size:1.05em;}
+#sidebarOptions a {font-style:normal;}
+#sidebarOptions .sliderPanel {font-size:0.95em;}
+.subtitle {font-size:0.8em;}
+.viewer table.listView {font-size:0.95em;}
+/*}}}*/
+
+
+
/*{{{*/
+@media print {
+#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
+#displayArea {margin: 1em 1em 0em;}
+noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
+}
+/*}}}*/
+
+
+
<!--{{{-->
+<div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
+<div class='headerShadow'>
+<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
+<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
+</div>
+<div class='headerForeground'>
+<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
+<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
+</div>
+</div>
+<div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
+<div id='sidebar'>
+<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
+<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
+</div>
+<div id='displayArea'>
+<div id='messageArea'></div>
+<div id='tiddlerDisplay'></div>
+</div>
+<!--}}}-->
+
+
+
<!--{{{-->
+<div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
+<div class='title' macro='view title'></div>
+<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
+<div class='tagging' macro='tagging'></div>
+<div class='tagged' macro='tags'></div>
+<div class='viewer' macro='view text wikified'></div>
+<div class='tagClear'></div>
+<!--}}}-->
+
+
+
<!--{{{-->
+<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
+<div class='title' macro='view title'></div>
+<div class='editor' macro='edit title'></div>
+<div macro='annotations'></div>
+<div class='editor' macro='edit text'></div>
+<div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser excludeLists'></span></div>
+<!--}}}-->
+
+
+
To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
+* [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
+* [[MainMenu]]: The menu (usually on the left)
+* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
+You'll also need to enter your username for signing your edits: <<option txtUserName>>
+
+
+
These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser
+
+Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])
+
+<<option txtUserName>>
+<<option chkSaveBackups>> [[SaveBackups]]
+<<option chkAutoSave>> [[AutoSave]]
+<<option chkRegExpSearch>> [[RegExpSearch]]
+<<option chkCaseSensitiveSearch>> [[CaseSensitiveSearch]]
+<<option chkAnimate>> [[EnableAnimations]]
+
+----
+Also see [[AdvancedOptions]]
+
+
+
<<importTiddlers>>
+
+
+ +
+
+
[[ParaEmpezar]]
+
+
+
<!--{{{-->
+<div id='header' class='header'>
+
+<div class='headerShadow'>
+<span class='searchBar' macro='search'></span>
+<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
+<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
+</div>
+<div id='topMenu' refresh='content' tiddler='MainMenu'></div>
+</div>
+
+<div id='sidebar'>
+<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
+<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
+</div>
+<div id='displayArea'>
+<div id='messageArea'></div>
+<div id='tiddlerDisplay'></div>
+</div>
+<div id='contentFooter' refresh='content' tiddler='contentFooter'></div>
+<!--}}}-->
+
+
+
<<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY">><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel "opciones »" "Cambiar las opciones avanzadas de TiddlyWiki">>
+
+
+
/*{{{*/
+/*Haemoglobin Theme for TiddlyWiki*/
+/*Design and CSS by Saq Imtiaz*/
+/*Version 1.0*/
+/*}}}*/
+/*{{{*/
+
+#sidebarTabs {font-family:arial,helvetica;}
+
+body
+{background:#fefefe;}
+
+#contentWrapper {
+	font-family: Verdana, Arial, Tahoma, Sans-Serif;
+	color: #555555;
+margin:1.9em auto 1em ; width:800px;}
+
+#header {background:#fefefe;}
+
+.headerShadow {	padding: 1.4em 0em 0.5em 1em; }
+
+.siteTitle {
+			font-family: 'Trebuchet MS' sans-serif;
+			font-weight: bold;
+			font-size: 36px;
+			color: #23BF23;
+			background-color: #FFF;
+}
+
+.siteSubtitle {
+	font-size: 1.0em;
+        display: block;
+        margin: .5em 3em; color: #999;
+}
+
+.clearAll {clear:both;}
+.tagClear {clear:none;}
+#sidebar {position:relative; float:right; display:inline; right:0;}
+
+a{
+color:#23BF23;
+text-decoration: none; font-weight:normal;
+}
+
+a:hover{
+color:#23BF23;
+background-color: #fefefe;
+border-bottom:1px solid #23BF23;
+}
+
+.viewer .button, .editorFooter .button{
+color: #555;
+border: 1px solid #23BF23;
+}
+
+.viewer .button:hover,
+.editorFooter .button:hover{
+color: #fff;
+background: #23BF23;
+border-color: #23BF23;
+}
+
+.viewer .button:active, .viewer .highlight,.editorFooter .button:active, .editorFooter .highlight{color:#fff; background:#139F13;border-color:#139F13;}
+
+#topMenu br {display:none;}
+
+#topMenu {padding:0.45em 1em; background:#23BF23;}
+
+#topMenu a, #topMenu .tiddlyLink, #topMenu .button {color:#f1f1f1; padding:0.3em 0.45em; margin:0 4px;font-size:120%;font-weight:normal;font-variant: small-caps; border:none; background:#23BF23; text-decoration:none; }
+
+#topMenu a:hover, #topMenu .tiddlyLink:hover, #topMenu .button:hover, #topMenu .button:active, #topMenu .highlight {color:#fff;text-decoration:none; background:#139F13; }
+
+
+
+#displayArea{margin:0 17em 2em 0.5em;}
+
+.tiddler {padding-left:0;}
+
+.title {color:#23BF23; border-bottom:1px solid#23BF23; }
+.subtitle, .subtitle a { color: #999999; font-size: 1.0em;margin:0.2em;}
+.shadow .title{color:#999;}
+
+.toolbar {font-size:85%;}
+.selected .toolbar a {color:#999999;}
+.selected .toolbar a:hover {color:#333; background:transparent;border:1px solid #fff;}
+
+.toolbar .button:hover, .toolbar .highlight, .toolbar .marked, .toolbar a.button:active{color:#333; background:transparent;border:1px solid #fff;}
+
+    *  html .viewer pre {
+
+margin-left: 0em;
+}
+
+    * html .editor textarea, * html .editor input {
+
+width: 98%;
+}
+
+/***
+!Sidebar
+***/
+#sidebar {position:relative;float:right; line-height: 1.4em; border-left:0px solid#000; display:inline; background:#fefefe; right:0; margin-bottom:2em !important; margin-bottom:1em;
+width: 16em;}
+
+/***
+!SidebarOptions
+***/
+#sidebarOptions {padding-left:0.5em; padding-top:2em;}
+
+#sidebarOptions a {
+			color:#999;
+			text-decoration: none;}
+
+#sidebarOptions	a:hover, #sidebarOptions a:active {
+			color:#00CC00;
+			background-color:#f5f5f5;border:1px solid #f5f5f5;
+		}
+
+#sidebarOptions input {border:1px solid #999; }
+
+
+
+ .listTitle {color:#888;}
+
+#sidebarTabs .tabContents {background:#fefefe;}
+#sidebarTabs .tabContents .tiddlyLink, #sidebarTabs .tabContents .button{color:#999;}
+#sidebarTabs .tabContents .tiddlyLink:hover,#sidebarTabs .tabContents .button:hover{color:#00CC00;background:#fefefe; text-decoration:none;border:none;}
+
+#sidebarTabs .tabContents .button:hover, #sidebarTabs .tabContents .highlight, #sidebarTabs .tabContents .marked, #sidebarTabs .tabContents a.button:active{color:#00CC00;background:#fefefe}
+
+
+.tabSelected{color:#fefefe; background:#999;}
+
+
+
+ .tabSelected, .tabSelected:hover {
+ color: #555;
+ background: #fefefe;
+ border: solid 1px #ccc;
+
+}
+
+#sidebarTabs .tabUnselected:hover { border-bottom: none;padding-bottom:3px;color:#999;}
+
+ .tabUnselected {
+ color: #999;
+ background: #eee;
+ border: solid 1px #ccc;
+
+}
+
+.tabUnselected:hover {text-decoration:none; border:1px solid #ccc;}
+
+#sidebarTabs .tabUnselected { border-bottom: none;padding-bottom:3px;}
+#sidebarTabs .tabSelected{padding-bottom:3px;}
+
+#sidebarOptions .sliderPanel {
+	background: #eee; border:1px solid#ccc;
+	font-size: .9em;
+}
+
+#sidebarOptions .sliderPanel input {border:1px solid #999;}
+#sidebarOptions .sliderPanel .txtOptionInput {border:1px solid #999;width:9em;}
+
+#sidebarOptions .sliderPanel a {font-weight:normal; color:#555;background-color: #eee; border-bottom:1px dotted #333;}
+
+
+#sidebarOptions .sliderPanel a:hover {
+color:#111;
+background-color: #eee;
+border:none;
+border-bottom:1px dotted #111;
+}
+
+.tabContents {background:#fefefe;}
+
+
+
+
+.tagging, .tagged {
+border: 1px solid #eee;
+background-color: #F7F7F7;
+}
+
+.selected .tagging, .selected .tagged {
+background-color: #f7f7f7;
+border: 1px solid #ccc;
+}
+
+.tagging .listTitle, .tagged .listTitle {
+color: #bbb;
+}
+
+.selected .tagging .listTitle, .selected .tagged .listTitle {
+color: #666;
+}
+
+.tagging .button, .tagged .button {
+color:#ccc;
+}
+.selected .tagging .button, .selected .tagged .button {
+color:#aaa;
+}
+
+.highlight, .marked {background:transparent; color:#111; border:none; text-decoration:underline;}
+
+.tagging .button:hover, .tagged .button:hover, .tagging .button:active, .tagged .button:active {
+border: none; background:transparent; text-decoration:underline; color:#333;
+}
+
+.popup {
+background: #23BF23;
+border: 1px solid #23BF23;
+}
+
+.popup li.disabled {
+color: #000;
+}
+
+.popup li a, .popup li a:visited {
+color: #eee;
+border: none;
+}
+
+.popup li a:hover {
+background: #17BF17;
+color: #fff;
+border: none;
+}
+
+
+
+   #messageArea {
+
+border: 4px solid #23BF23;
+background: #fefefe;
+color: #555;
+font-size:90%;
+}
+
+   #messageArea a:hover { background:#f5f5f5; border:none;}
+
+
+   #messageArea .button{
+color: #666;
+border: 1px solid #23BF23;
+}
+
+   #messageArea .button:hover {
+color: #fff;
+background: #23BF23;
+border-color: #23BF23;
+}
+
+   #contentFooter {background:#23BF23; color:#7DDF7D; clear: both; padding: 0.5em 1em; }
+
+
+#contentFooter a {
+color: #7DDF7D;
+border-bottom: 1px dotted #7DDF7D; font-weight:normal;text-decoration:none;
+}
+
+
+
+#contentFooter a:hover {
+color: #FFFFFF;
+background-color:transparent;
+border-bottom: 1px dotted #fff; text-decoration:none;
+}
+
+
+
+
+.searchBar {float:right;font-size: 1.0em;position:relative; margin-top:1.3em;}
+.searchBar .searchButton {color:#999;display:block;}
+.searchBar .searchBbutton:hover {border:1px solid #fefefe;color:#4B4F45;}
+.searchBar input {			
+                        background-color: #fefefe;
+			color: #999999;
+			border: 1px solid #CCC;		margin-right:3px;
+}
+
+.tiddler {padding-bottom:10px;}
+
+.viewer blockquote {
+border-left: 5px solid #23BF23;
+}
+
+.viewer table, .viewer td {
+border: 1px solid #23BF23;
+}
+
+.viewer th, thead td {
+background: #23BF23;
+border: 1px solid #23BF23;
+color: #fff;
+}
+.viewer pre {
+	border: 1px solid #ccc;
+	background: #f5f5f5;
+}
+
+.viewer code {
+color: #111; background:#f5f5f5;
+}
+
+.viewer hr {
+border-top: dashed 1px #555;
+}
+
+.editor input {
+border: 1px solid #888; margin-top:5px;
+}
+
+.editor textarea {
+border: 1px solid #888;
+}
+
+h1,h2,h3,h4,h5 { color: #23BF23; background: transparent; padding-bottom:2px; font-family: Arial, Helvetica, sans-serif; }
+h1 {font-size:18px;}
+h2 {font-size:16px;}
+h3 {font-size: 14px;}
+/*}}}*//*{{{*/
+/*Haemoglobin Theme for TiddlyWiki*/
+/*Design and CSS by Saq Imtiaz*/
+/*Version 1.0*/
+/*}}}*/
+/*{{{*/
+
+#sidebarTabs {font-family:arial,helvetica;}
+
+body
+{background:#fefefe;}
+
+#contentWrapper {
+	font-family: Verdana, Arial, Tahoma, Sans-Serif;
+	color: #555555;
+margin:1.9em auto 1em ; width:800px;}
+
+#header {background:#fefefe;}
+
+.headerShadow {	padding: 1.4em 0em 0.5em 1em; }
+
+.siteTitle {
+			font-family: 'Trebuchet MS' sans-serif;
+			font-weight: bold;
+			font-size: 36px;
+			color: #23BF23;
+			background-color: #FFF;
+}
+
+.siteSubtitle {
+	font-size: 1.0em;
+        display: block;
+        margin: .5em 3em; color: #999;
+}
+
+.clearAll {clear:both;}
+.tagClear {clear:none;}
+#sidebar {position:relative; float:right; display:inline; right:0;}
+
+a{
+color:#23BF23;
+text-decoration: none; font-weight:normal;
+}
+
+a:hover{
+color:#23BF23;
+background-color: #fefefe;
+border-bottom:1px solid #23BF23;
+}
+
+.viewer .button, .editorFooter .button{
+color: #555;
+border: 1px solid #23BF23;
+}
+
+.viewer .button:hover,
+.editorFooter .button:hover{
+color: #fff;
+background: #23BF23;
+border-color: #23BF23;
+}
+
+.viewer .button:active, .viewer .highlight,.editorFooter .button:active, .editorFooter .highlight{color:#fff; background:#139F13;border-color:#139F13;}
+
+#topMenu br {display:none;}
+
+#topMenu {padding:0.45em 1em; background:#23BF23;}
+
+#topMenu a, #topMenu .tiddlyLink, #topMenu .button {color:#f1f1f1; padding:0.3em 0.45em; margin:0 4px;font-size:120%;font-weight:normal;font-variant: small-caps; border:none; background:#23BF23; text-decoration:none; }
+
+#topMenu a:hover, #topMenu .tiddlyLink:hover, #topMenu .button:hover, #topMenu .button:active, #topMenu .highlight {color:#fff;text-decoration:none; background:#139F13; }
+
+
+
+#displayArea{margin:0 17em 2em 0.5em;}
+
+.tiddler {padding-left:0;}
+
+.title {color:#23BF23; border-bottom:1px solid#23BF23; }
+.subtitle, .subtitle a { color: #999999; font-size: 1.0em;margin:0.2em;}
+.shadow .title{color:#999;}
+
+.toolbar {font-size:85%;}
+.selected .toolbar a {color:#999999;}
+.selected .toolbar a:hover {color:#333; background:transparent;border:1px solid #fff;}
+
+.toolbar .button:hover, .toolbar .highlight, .toolbar .marked, .toolbar a.button:active{color:#333; background:transparent;border:1px solid #fff;}
+
+    *  html .viewer pre {
+
+margin-left: 0em;
+}
+
+    * html .editor textarea, * html .editor input {
+
+width: 98%;
+}
+
+/***
+!Sidebar
+***/
+#sidebar {position:relative;float:right; line-height: 1.4em; border-left:0px solid#000; display:inline; background:#fefefe; right:0; margin-bottom:2em !important; margin-bottom:1em;
+width: 16em;}
+
+/***
+!SidebarOptions
+***/
+#sidebarOptions {padding-left:0.5em; padding-top:2em;}
+
+#sidebarOptions a {
+			color:#999;
+			text-decoration: none;}
+
+#sidebarOptions	a:hover, #sidebarOptions a:active {
+			color:#00CC00;
+			background-color:#f5f5f5;border:1px solid #f5f5f5;
+		}
+
+#sidebarOptions input {border:1px solid #999; }
+
+
+
+ .listTitle {color:#888;}
+
+#sidebarTabs .tabContents {background:#fefefe;}
+#sidebarTabs .tabContents .tiddlyLink, #sidebarTabs .tabContents .button{color:#999;}
+#sidebarTabs .tabContents .tiddlyLink:hover,#sidebarTabs .tabContents .button:hover{color:#00CC00;background:#fefefe; text-decoration:none;border:none;}
+
+#sidebarTabs .tabContents .button:hover, #sidebarTabs .tabContents .highlight, #sidebarTabs .tabContents .marked, #sidebarTabs .tabContents a.button:active{color:#00CC00;background:#fefefe}
+
+
+.tabSelected{color:#fefefe; background:#999;}
+
+
+
+ .tabSelected, .tabSelected:hover {
+ color: #555;
+ background: #fefefe;
+ border: solid 1px #ccc;
+
+}
+
+#sidebarTabs .tabUnselected:hover { border-bottom: none;padding-bottom:3px;color:#999;}
+
+ .tabUnselected {
+ color: #999;
+ background: #eee;
+ border: solid 1px #ccc;
+
+}
+
+.tabUnselected:hover {text-decoration:none; border:1px solid #ccc;}
+
+#sidebarTabs .tabUnselected { border-bottom: none;padding-bottom:3px;}
+#sidebarTabs .tabSelected{padding-bottom:3px;}
+
+#sidebarOptions .sliderPanel {
+	background: #eee; border:1px solid#ccc;
+	font-size: .9em;
+}
+
+#sidebarOptions .sliderPanel input {border:1px solid #999;}
+#sidebarOptions .sliderPanel .txtOptionInput {border:1px solid #999;width:9em;}
+
+#sidebarOptions .sliderPanel a {font-weight:normal; color:#555;background-color: #eee; border-bottom:1px dotted #333;}
+
+
+#sidebarOptions .sliderPanel a:hover {
+color:#111;
+background-color: #eee;
+border:none;
+border-bottom:1px dotted #111;
+}
+
+.tabContents {background:#fefefe;}
+
+
+
+
+.tagging, .tagged {
+border: 1px solid #eee;
+background-color: #F7F7F7;
+}
+
+.selected .tagging, .selected .tagged {
+background-color: #f7f7f7;
+border: 1px solid #ccc;
+}
+
+.tagging .listTitle, .tagged .listTitle {
+color: #bbb;
+}
+
+.selected .tagging .listTitle, .selected .tagged .listTitle {
+color: #666;
+}
+
+.tagging .button, .tagged .button {
+color:#ccc;
+}
+.selected .tagging .button, .selected .tagged .button {
+color:#aaa;
+}
+
+.highlight, .marked {background:transparent; color:#111; border:none; text-decoration:underline;}
+
+.tagging .button:hover, .tagged .button:hover, .tagging .button:active, .tagged .button:active {
+border: none; background:transparent; text-decoration:underline; color:#333;
+}
+
+.popup {
+background: #23BF23;
+border: 1px solid #23BF23;
+}
+
+.popup li.disabled {
+color: #000;
+}
+
+.popup li a, .popup li a:visited {
+color: #eee;
+border: none;
+}
+
+.popup li a:hover {
+background: #17BF17;
+color: #fff;
+border: none;
+}
+
+
+
+   #messageArea {
+
+border: 4px solid #23BF23;
+background: #fefefe;
+color: #555;
+font-size:90%;
+}
+
+   #messageArea a:hover { background:#f5f5f5; border:none;}
+
+
+   #messageArea .button{
+color: #666;
+border: 1px solid #23BF23;
+}
+
+   #messageArea .button:hover {
+color: #fff;
+background: #23BF23;
+border-color: #23BF23;
+}
+
+   #contentFooter {background:#23BF23; color:#7DDF7D; clear: both; padding: 0.5em 1em; }
+
+
+#contentFooter a {
+color: #7DDF7D;
+border-bottom: 1px dotted #7DDF7D; font-weight:normal;text-decoration:none;
+}
+
+
+
+#contentFooter a:hover {
+color: #FFFFFF;
+background-color:transparent;
+border-bottom: 1px dotted #fff; text-decoration:none;
+}
+
+
+
+
+.searchBar {float:right;font-size: 1.0em;position:relative; margin-top:1.3em;}
+.searchBar .searchButton {color:#999;display:block;}
+.searchBar .searchBbutton:hover {border:1px solid #fefefe;color:#4B4F45;}
+.searchBar input {			
+                        background-color: #fefefe;
+			color: #999999;
+			border: 1px solid #CCC;		margin-right:3px;
+}
+
+.tiddler {padding-bottom:10px;}
+
+.viewer blockquote {
+border-left: 5px solid #23BF23;
+}
+
+.viewer table, .viewer td {
+border: 1px solid #23BF23;
+}
+
+.viewer th, thead td {
+background: #23BF23;
+border: 1px solid #23BF23;
+color: #fff;
+}
+.viewer pre {
+	border: 1px solid #ccc;
+	background: #f5f5f5;
+}
+
+.viewer code {
+color: #111; background:#f5f5f5;
+}
+
+.viewer hr {
+border-top: dashed 1px #555;
+}
+
+.editor input {
+border: 1px solid #888; margin-top:5px;
+}
+
+.editor textarea {
+border: 1px solid #888;
+}
+
+h1,h2,h3,h4,h5 { color: #23BF23; background: transparent; padding-bottom:2px; font-family: Arial, Helvetica, sans-serif; }
+h1 {font-size:18px;}
+h2 {font-size:16px;}
+h3 {font-size: 14px;}
+/*}}}*/
+
+
+
/***
+|''Nombre:''|ComplementoTraducciónEspañol|
+|''Descripción:''|Traducción de TiddlyWiki al español|
+|''Autores:''|Sergio González y Pedro Domínguez (sgm214 (at) gmail (dot) com / alpedro (at) hotmail (dot) com)|
+|''Correcciónes:''|Dave Gifford y Ton van Rooijen (giff (at) giffmex (dot) org / tonsweb (at) xs4all (dot) nl)|
+|''Fuente:''|http://www.ton-van-rooijen.nl/TW/locale042.es.js |
+|''Código:''|http://svn.tiddlywiki.org/Trunk/association/locales/core/en/locale.en.js |
+|''Versión:''|0.4.2|
+|''Fecha:''|October 2, 2010|
+|''Comentarios:''|Por favor deje sus comentarios en http://groups.google.co.uk/group/TiddlyWikiDev |
+|''Licencia:''|[[Creative Commons Attribution-ShareAlike 3.0 License|http://creativecommons.org/licenses/by-sa/3.0/]] |
+|''~VersiónNúcleo:''|2.6.0|
+***/
+
+//{{{
+//--
+//-- Translateable strings
+//--
+
+// Strings in "double quotes" should be translated; strings in 'single quotes' should be left alone
+
+config.locale = "es"; // W3C language tag
+
+if (config.options.txtUserName == 'YourName') // do not translate this line, but do translate the next line
+	merge(config.options,{txtUserName: "SuNombre"});
+
+merge(config.tasks,{
+	save: {text: "guardar", tooltip: "Guardar los cambios hechos en este TiddlyWiki", action: saveChanges},
+	sync: {text: "sincronizar", tooltip: "Sincronizar los cambios hechos con otros servidores y archivos TiddlyWiki", content: '<<sync>>'},
+	importTask: {text: "importar", tooltip: "Importar tiddlers y plugins de otros servidores y archivos TiddlyWiki", content: '<<importTiddlers>>'},
+	tweak: {text: "configurar", tooltip: "Cambiar la apariencia y comportamiento de TiddlyWiki", content: '<<options>>'},
+	upgrade: {text: "actualizar", tooltip: "Actualizar el código del núcleo de TiddlyWiki", content: '<<upgrade>>'},	
+	plugins: {text: "complementos", tooltip: "Gestionar los complementos instalados", content: '<<plugins>>'}
+});
+
+// Options that can be set in the options panel and/or cookies
+merge(config.optionsDesc,{
+	txtUserName: "Nombre de usuario con el que firmará lo editado",
+	chkRegExpSearch: "Permitir expresiones regulares en la búsqueda",
+	chkCaseSensitiveSearch: "Distinguir mayúscula/minúscula en la búsqueda",
+	chkIncrementalSearch: "Búsqueda incremental letra a letra",
+	chkAnimate: "Activar animaciones",
+	chkSaveBackups: "Mantener la copia de seguridad cuando se guardan los cambios",
+	chkAutoSave: "Guardar automáticamente los cambios",
+	chkGenerateAnRssFeed: "Crear una noticia RSS cuando se guardan los cambios",
+	chkSaveEmptyTemplate: "Crear una plantilla vacía cuando se guardan los cambios",
+	chkOpenInNewWindow: "Abrir los enlaces externos en una nueva ventana",
+	chkToggleLinks: "Al pulsar sobre un enlace de un tiddler, éste se cierra",
+	chkHttpReadOnly: "Ocultar la edición cuando se muestra en HTTP",
+	chkForceMinorUpdate: "No cambiar el nombre de usuario y fecha cuando se edita un tiddler",
+	chkConfirmDelete: "Preguntar antes de borrar un tiddler",
+	chkInsertTabs: "Usar el tabulador para crear texto en columnas en vez de servir para moverse entre apartados",
+	txtBackupFolder: "Nombre del directorio en que se guardan las copias de seguridad",
+	txtMaxEditRows: "Número máximo de filas en los recuadros de edición",
+	txtTheme: "Nombre de tema para utilizar",
+	txtFileSystemCharSet: "Juego de caracteres por defecto para guardar los cambios (sólo Firefox/Mozilla)"});
+
+merge(config.messages,{
+	customConfigError: "Hubo problemas al cargar los complementos. Mire el Gestor de Complementos para más detalles",
+	pluginError: "Error: %0",
+	pluginDisabled: "No ejecutado porque está inhabilitado en la etiqueta 'systemConfigDisable'",
+	pluginForced: "Ejecutado porque lo fuerza la etiqueta 'systemConfigForce'",
+	pluginVersionError: "No ejecutado porque este complemento necesita una versión más moderna de TiddlyWiki",
+	nothingSelected: "No hay nada seleccionado. Debe marcar uno o más primero",
+	savedSnapshotError: "Parece que este TiddlyWiki se ha guardado incorrectamente. Por favor mire http://www.tiddlywiki.com/#Download para más detalles",
+	subtitleUnknown: "(desconocido)",
+	undefinedTiddlerToolTip: "El tiddler '%0' no existe todavía",
+	shadowedTiddlerToolTip: "El tiddler '%0' no existe todavía, pero tiene un valor oculto definido previamente",
+	tiddlerLinkTooltip: "%0 - %1, %2",
+	externalLinkTooltip: "Enlace externo a %0",
+	noTags: "No hay tiddlers sin etiquetas",
+	notFileUrlError: "Debe guardar este TiddlyWiki en un archivo antes de que pueda guardar los cambios",
+	cantSaveError: "No se pueden guardar los cambios. Algunas de las posibles causas pueden ser:\n- su navegador no permite guardar (Firefox, Internet Explorer, Safari and Opera funcionan bien si están correctamente configurados)\n- la ruta a su archivo TiddlyWiki tiene caracteres no válidos\n- El archivo HTML TiddlyWiki ha sido movido o renombrado",
+	invalidFileError: "El archivo original '%0' parece que no es un archivo TiddlyWiki válido",
+	backupSaved: "Copia de seguridad guardada",
+	backupFailed: "Error al guardar la copia de seguridad",
+	rssSaved: "Noticia RSS guardada",
+	rssFailed: "Error al guardar la noticia RSS",
+	emptySaved: "Plantilla en blanco guardada",
+	emptyFailed: "Error al guardar la plantilla en blanco",
+	mainSaved: "Archivo principal TiddlyWiki guardado",
+	mainFailed: "Error al guardar el archivo principal TiddlyWiki. Los cambios no se han guardado",
+	macroError: "Error en la macro <<\%0>>",
+	macroErrorDetails: "Error mientras se ejecutaba la macro <<\%0>>:\n%1",
+	missingMacro: "No existe esa macro",
+	overwriteWarning: "Un tiddler llamado '%0' ya existe. Elija OK si quiere sobrescribirlo",
+	unsavedChangesWarning: "¡ATENCIÓN! Hay cambios sin guardar en  TiddlyWiki\n\nElija OK para guardarlos\nElija CANCELAR para descartarlos",
+	confirmExit: "--------------------------------\n\nHay cambios sin guardar en TiddlyWiki. Si prosigue perderá los cambios\n\n--------------------------------",
+	saveInstructions: "Guardar Cambios",
+	unsupportedTWFormat: "Formato de TiddlyWiki no soportado '%0'",
+	tiddlerSaveError: "Error al guardar el tiddler '%0'",
+	tiddlerLoadError: "Error al cargar el tiddler '%0'",
+	wrongSaveFormat: "No se puede guardar en el formato '%0'. Usando el formato estandar para guardarlo.",
+	invalidFieldName: "Nombre de apartado no válido %0",
+	fieldCannotBeChanged: "El apartado '%0' no se puede cambiar",
+	loadingMissingTiddler: "Intentando descargar el tiddler '%0' desde el servidor '%1' en:\n\n'%2' en el espacio de trabajo '%3'",
+	upgradeDone: "Actualización a la versión %0 completada\n\nPulse 'OK' para cargar la nueva versión de TiddlyWiki",
+	invalidCookie: "Cookie no válido '%0'"});
+
+merge(config.messages.messageClose,{
+	text: "cerrar",
+	tooltip: "cerrar el mensaje"});
+
+config.messages.backstage = {
+	open: {text: "bastidores", tooltip: "Acceder a bastidores para gestionar TiddlyWiki"},
+	close: {text: "cerrar", tooltip: "Salir de bastidores"},
+	prompt: "bastidores: ",
+	decal: {
+		edit: {text: "editar", tooltip: "Editar el tiddler '%0'"}
+	}
+};
+
+config.messages.listView = {
+	tiddlerTooltip: "Pulse para ver el texto completo de este tiddler",
+	previewUnavailable: "(Vista previa no disponible)"
+};
+
+config.messages.dates.months = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre","Diciembre"];
+config.messages.dates.days = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];
+config.messages.dates.shortMonths = ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"];
+config.messages.dates.shortDays = ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"];
+// suffixes for dates, eg "1ro","2do","3ro"..."30ro","31ro"
+config.messages.dates.daySuffixes = ["ro","do","ro","to","to","to","mo","vo","no","mo",
+		"ro","do","ro","to","to","to","mo","vo","no","mo",
+		"ro","do","ro","to","to","to","mo","vo","no","mo",
+		"ro"];
+config.messages.dates.am = "am";
+config.messages.dates.pm = "pm";
+
+merge(config.messages.tiddlerPopup,{
+	});
+
+merge(config.views.wikified.tag,{
+	labelNoTags: "sin etiquetas",
+	labelTags: "etiquetas: ",
+	openTag: "Abrir etiqueta '%0'",
+	tooltip: "Mostrar tiddlers que tengan la etiqueta '%0'",
+	openAllText: "Abrir todos",
+	openAllTooltip: "Abrir todos estos tiddlers",
+	popupNone: "No abrir tiddlers que tengan por etiqueta '%0'"});
+
+merge(config.views.wikified,{
+	defaultText: "El tiddler '%0' no existe todavía. Haga doble click para crearlo",
+	defaultModifier: "(perdido)",
+	shadowModifier: "(tiddler oculto interno)",
+	dateFormat: "DD MMM YYYY", // use this to change the date format for your locale, eg "YYYY MMM DD", do not translate the Y, M or D
+	createdPrompt: "creado"});
+
+merge(config.views.editor,{
+	tagPrompt: "Escriba etiquetas separadas por espacios, [[use dobles corchetes]] si es necesario, o añada alguna existente",
+	defaultText: "Escriba el texto para '%0'"});
+
+merge(config.views.editor.tagChooser,{
+	text: "etiquetas",
+	tooltip: "Elija etiquetas ya existentes para añadirlas a este artículo",
+	popupNone: "No hay etiquetas definidas",
+	tagTooltip: "Añadir la etiqueta '%0'"});
+
+merge(config.messages,{
+	sizeTemplates:
+		[
+		{unit: 1024*1024*1024, template: "%0\u00a0GB"},
+		{unit: 1024*1024, template: "%0\u00a0MB"},
+		{unit: 1024, template: "%0\u00a0KB"},
+		{unit: 1, template: "%0\u00a0B"}
+		]});
+
+merge(config.macros.search,{
+	label: "búsqueda",
+	prompt: "Búsqueda en este TiddlyWiki",
+	accessKey: "F",
+	successMsg: "%0 tiddlers encontrados que concuerden con %1",
+	failureMsg: "No hay tiddlers que concuerden con %0"});
+
+merge(config.macros.tagging,{
+	label: "etiquetado: ",
+	labelNotTag: "Sin etiquetas",
+	tooltip: "Listado de tiddlers etiquetados con '%0'"});
+
+merge(config.macros.timeline,{
+	dateFormat: "DD MMM YYYY"});// use this to change the date format for your locale, eg "YYYY MMM DD", do not translate the Y, M or D
+
+merge(config.macros.allTags,{
+	tooltip: "Mostrar los tiddlers etiquetados con '%0'",
+	noTags: "No hay tiddlers sin etiquetas"});
+
+config.macros.list.all.prompt = "Todos los tiddlers ordenados alfabéticamente";
+config.macros.list.missing.prompt = "Tiddlers que tienen enlaces a ellos pero no están definidos";
+config.macros.list.orphans.prompt = "Tiddlers que no están enlazados con otros, ni otros los enlazan";
+config.macros.list.shadowed.prompt = "Tiddlers ocultos con contenidos predefinidos";
+config.macros.list.touched.prompt = "Tiddlers que no han sido modificados localmente";
+
+merge(config.macros.closeAll,{
+	label: "cerrar todo",
+	prompt: "Cerrar todos los tiddlers mostrados (excepto los que estén siendo editados)"});
+
+merge(config.macros.permaview,{
+	label: "vistapermanente",
+	prompt: "Enlazar con una URL que recoge todos los tiddlers mostrados actualmente"});
+
+merge(config.macros.saveChanges,{
+	label: "guardar cambios",
+	prompt: "Guardar todos los tiddlers editados previamente",
+	accessKey: "S"});
+
+merge(config.macros.newTiddler,{
+	label: "nuevo tiddler",
+	prompt: "Crear un nuevo tiddler",
+	title: "Nuevo Tiddler",
+	accessKey: "N"});
+
+merge(config.macros.newJournal,{
+	label: "nuevo tiddler con fecha de hoy",
+	prompt: "Crear un nuevo tiddler con la fecha y hora actual",
+	accessKey: "J"});
+
+merge(config.macros.options,{
+	wizardTitle: "Configurar opciones avanzadas",
+	step1Title: "Estas opciones se guardarán en una cookie en su navegador",
+	step1Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='false' name='chkUnknown'>Mostrar opciones desconocidas</input>",
+	unknownDescription: "//(desconocido)//",
+	listViewTemplate: {
+		columns: [
+			{name: 'Option', field: 'option', title: "Opción", type: 'String'},
+			{name: 'Description', field: 'description', title: "Descripción", type: 'WikiText'},
+			{name: 'Name', field: 'name', title: "Nombre", type: 'String'}
+			],
+		rowClasses: [
+			{className: 'lowlight', field: 'lowlight'} 
+			]}
+	});
+
+merge(config.macros.plugins,{
+	wizardTitle: "Configurar complementos",
+	step1Title: "Complementos que están activados",
+	step1Html: "<input type='hidden' name='markList'></input>", // DO NOT TRANSLATE
+	skippedText: "(Este complemento no ha sido ejecutado porque se cargó al inicio)",
+	noPluginText: "No hay complementos instalados",
+	confirmDeleteText: "¿Está seguro que quiere borrar estos complementos:\n\n%0?",
+	removeLabel: "quitar la etiqueta de systemConfig",
+	removePrompt: "Quitar la etiqueta systemConfig",
+	deleteLabel: "borrar",
+	deletePrompt: "Borrar estos artículos para siempre",
+	listViewTemplate: {
+		columns: [
+			{name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
+			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
+			{name: 'Description', field: 'Description', title: "Descripción", type: 'String'},
+			{name: 'Version', field: 'Version', title: "Versión", type: 'String'},
+			{name: 'Size', field: 'size', tiddlerLink: 'size', title: "Tamaño", type: 'Size'},
+			{name: 'Forced', field: 'forced', title: "Forzado", tag: 'systemConfigForce', type: 'TagCheckbox'},
+			{name: 'Disabled', field: 'disabled', title: "Deshabilitado", tag: 'systemConfigDisable', type: 'TagCheckbox'},
+			{name: 'Executed', field: 'executed', title: "Cargado", type: 'Boolean', trueText: "Si", falseText: "No"},
+			{name: 'Startup Time', field: 'startupTime', title: "Al inicio", type: 'String'},
+			{name: 'Error', field: 'error', title: "Estado", type: 'Boolean', trueText: "Error", falseText: "OK"},
+			{name: 'Log', field: 'log', title: "Registro", type: 'StringList'}
+			],
+		rowClasses: [
+			{className: 'error', field: 'error'},
+			{className: 'warning', field: 'warning'}
+			]}
+	});
+
+merge(config.macros.toolbar,{
+	moreLabel: "más",
+	morePrompt: "Mostrar más comandos",
+	lessLabel: "menos",
+	lessPrompt: "Ocultar comandos adicionales",
+	separator: "|"
+	});
+
+merge(config.macros.refreshDisplay,{
+	label: "actualizar",
+	prompt: "Actualizar la vista de todo TiddlyWiki"
+	});
+
+merge(config.macros.importTiddlers,{
+	readOnlyWarning: "No puede importar a un archivo TiddlyWiki de sólo lectura. Pruebe a abrirlo desde un archivo:// URL",
+	wizardTitle: "Importar tiddlers de otro archivo o servidor",
+	step1Title: "Primer paso: Localice el servidor o el archivo TiddlyWiki",
+	step1Html: "Indique el tipo de servidor: <select name='selTypes'><option value=''>Elija...</option></select><br>Escriba la URL o la ruta aquí: <input type='text' size=50 name='txtPath'><br>...o navegue hasta un archivo: <input type='file' size=50 name='txtBrowse'><br><hr>...o elija una fuente predefinida: <select name='selFeeds'><option value=''>Elige...</option></select>",
+	openLabel: "abrir",
+	openPrompt: "Abrir la conexión a este archivo o servidor",
+	statusOpenHost: "Accediendo al anfitrión",
+	statusGetWorkspaceList: "Obteniendo el listado de espacios de trabajo",
+	step2Title: "Segundo paso: Elegir el espacio de trabajo",
+	step2Html: "Escriba el nombre de un espacio de trabajo: <input type='text' size=50 name='txtWorkspace'><br>...o seleccione uno: <select name='selWorkspace'><option value=''>Elegir...</option></select>",
+	cancelLabel: "cancelar",
+	cancelPrompt: "Cancelar esta importación",
+	statusOpenWorkspace: "Accediendo al espacio de trabajo",
+	statusGetTiddlerList: "Obteniendo el listado de tiddlers disponibles",
+	errorGettingTiddlerList: "Error al obtener la lista de tiddlers, pulsa Cancelar para intentarlo de nuevo",
+	step3Title: "Tercer paso: Elegir los tiddlers que quiere importar",
+	step3Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='true' name='chkSync'>Mantener estos tiddlers enlazados a este servidor para poder sincronizar los cambios posteriores</input><br><input type='checkbox' name='chkSave'>Guardar los datos de este servidor en un tiddler con etiqueta 'systemServer' cuyo nombre será:</input> <input type='text' size=25 name='txtSaveTiddler'>",
+	importLabel: "importar",
+	importPrompt: "Importar estos tiddlers",
+	confirmOverwriteText: "¿Está seguro de que quiere sobrescribir estos tiddlers:\n\n%0?",
+	step4Title: "Cuarto paso: Importar %0 tiddler(s)",
+	step4Html: "<input type='hidden' name='markReport'></input>", // DO NOT TRANSLATE
+	doneLabel: "hecho",
+	donePrompt: "Cerrar el asistente",
+	statusDoingImport: "Importando tiddlers",
+	statusDoneImport: "Todos los tiddlers se importaron",
+	systemServerNamePattern: "%2 en %1",
+	systemServerNamePatternNoWorkspace: "%1",
+	confirmOverwriteSaveTiddler: "El tiddler '%0' ya existe. Pulse en 'OK' para sobrescribirlo con el que hay en este servidor, o 'Cancel' para dejarlo sin modificar",
+	serverSaveTemplate: "|''Tipo:''|%0|\n|''URL:''|%1|\n|''Espacio de trabajo:''|%2|\n\nEste tiddler se creó automáticamente para recoger todos los datos de este servidor",
+	serverSaveModifier: "(Sistema)",
+	listViewTemplate: {
+		columns: [
+			{name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
+			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
+			{name: 'Size', field: 'size', tiddlerLink: 'size', title: "Tamaño", type: 'Size'},
+			{name: 'Tags', field: 'tags', title: "Etiquetas", type: 'Tags'}
+			],
+		rowClasses: [
+			]}
+	});
+
+merge(config.macros.upgrade,{
+	wizardTitle: "Actualizar el código del núcleo de TiddlyWiki",
+	step1Title: "Actualizar o reparar TiddlyWiki a la última versión",
+	step1Html: "Está a punto de actualizar el código del núcleo de TiddlyWiki ala última versión (desde <a href='%0' class='externalLink' target='_blank'>%1</a>). El contenido de TiddlyWiki permanecerá tras la actualización.<br><br>Las actualizaciones del núcleo interfieren con complementos antiguos. Si tiene problemas tras la actualización, mire <a href='http://www.tiddlywiki.org/wiki/CoreUpgrades' class='externalLink' target='_blank'>http://www.tiddlywiki.org/wiki/CoreUpgrades</a>",
+	errorCantUpgrade: "No se puede actualizar. Sólo se pueden actualizar archivos TiddlyWiki que estén guardados localmente (disco duro, etc.)",
+	errorNotSaved: "Debe guardar los cambios antes de poder actualizar",
+	step2Title: "Confirmar los detalles de la actualización",
+	step2Html_downgrade: "Está a punto de retroceder en su versión de TilldyWiki, pasará a la versión anterior %0 desde %1.<br><br>Retroceder a una versión anterior del núcleo no es recomendable",
+	step2Html_restore: "Este archivo TiddlyWiki parece que usa la última versión disponible del núcleo (%0).<br><br>Puede seguir con la actualización si quiere asegurarse que su núcleo no está estropeado o dañado",
+	step2Html_upgrade: "Está a punto de actualizar TiddlyWiki a la versión %0 desde %1",
+	upgradeLabel: "actualizar",
+	upgradePrompt: "Preparándose para el proceso de actualización",
+	statusPreparingBackup: "Preparando la copia de seguridad",
+	statusSavingBackup: "Guardando la copia de seguridad",
+	errorSavingBackup: "Hubo poblemas al guardar la copia de seguridad",
+	statusLoadingCore: "Cargando el código del núcleo",
+	errorLoadingCore: "Error al cargar el código del núcleo",
+	errorCoreFormat: "Error con el código del nuevo núcleo",
+	statusSavingCore: "Guardando el código del nuevo núcleo",
+	statusReloadingCore: "Recargando el código del nuevo núcleo",
+	startLabel: "empezar",
+	startPrompt: "Empezar el proceso de actualización",
+	cancelLabel: "cancelar",
+	cancelPrompt: "Cancelar la actualización",
+	step3Title: "Actualización cancelada",
+	step3Html: "Ha cancelado el proceso de actualización"
+	});
+
+merge(config.macros.sync,{
+	listViewTemplate: {
+		columns: [
+			{name: 'Selected', field: 'selected', rowName: 'title', type: 'Selector'},
+			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
+			{name: 'Server Type', field: 'serverType', title: "Tipo de servidor", type: 'String'},
+			{name: 'Server Host', field: 'serverHost', title: "Servidor anfitrión", type: 'String'},
+			{name: 'Server Workspace', field: 'serverWorkspace', title: "Espacio de trabajo en el servidor", type: 'String'},
+			{name: 'Status', field: 'status', title: "Estado de la sincronización", type: 'String'},
+			{name: 'Server URL', field: 'serverUrl', title: "URL del servidor", text: "Ver", type: 'Link'}
+			],
+		rowClasses: [
+			],
+		buttons: [
+			{caption: "Sincronizar estos tiddlers", name: 'sync'}
+			]},
+	wizardTitle: "Sincronizar con servidores externos y archivos",
+	step1Title: "Elija los tiddlers que quieres sincronizar",
+	step1Html: "<input type='hidden' name='markList'></input>", // DO NOT TRANSLATE
+	syncLabel: "sinc",
+	syncPrompt: "Sincronizar estos tiddlers",
+	hasChanged: "Modificado mientras no estaba desconectado",
+	hasNotChanged: "Sin cambios mientras estaba desconectado",
+	syncStatusList: {
+		none: {text: "...", display:null, className:'notChanged'},
+		changedServer: {text: "Modificado en el servidor", display:null, className:'changedServer'},
+		changedLocally: {text: "Modificado mientras estaba desconectado", display:null, className:'changedLocally'},
+		changedBoth: {text: "Modificado mientras estaba desconectado y también en el servidor", display:null, className:'changedBoth'},
+		notFound: {text: "No está en el servidor", display:null, className:'notFound'},
+		putToServer: {text: "Guardada la actualización en el servidor", display:null, className:'putToServer'},
+		gotFromServer: {text: "Actualización obtenida del servidor", display:null, className:'gotFromServer'}
+		}
+	});
+
+merge(config.commands.closeTiddler,{
+	text: "cerrar",
+	tooltip: "Cerrar este tiddler"});
+
+merge(config.commands.closeOthers,{
+	text: "cerrar otros",
+	tooltip: "Cerrar todos los otros tiddlers"});
+
+merge(config.commands.editTiddler,{
+	text: "editar",
+	tooltip: "Editar este tiddler",
+	readOnlyText: "ver",
+	readOnlyTooltip: "Ver el código de este tiddler"});
+
+merge(config.commands.saveTiddler,{
+	text: "hecho",
+	tooltip: "Guardar los cambios hechos en este tiddler"});
+
+merge(config.commands.cancelTiddler,{
+	text: "cancelar",
+	tooltip: "Cancelar los cambios hechos en este tiddler",
+	warning: "¿Está seguro que quiere salir sin guardar los cambios en '%0'?",
+	readOnlyText: "hecho",
+	readOnlyTooltip: "Vista normal de este tiddler"});
+
+merge(config.commands.deleteTiddler,{
+	text: "borrar",
+	tooltip: "Borrar este tiddler",
+	warning: "¿Está seguro de que quiere borrar '%0'?"});
+
+merge(config.commands.permalink,{
+	text: "enlacepermanente",
+	tooltip: "Enlace permanente para este tiddler"});
+
+merge(config.commands.references,{
+	text: "referencias",
+	tooltip: "Mostrar tiddlers que enlazan con éste",
+	popupNone: "Sin referencias"});
+
+merge(config.commands.jump,{
+	text: "ir a",
+	tooltip: "Ir a otro tiddler abierto"});
+
+merge(config.commands.syncing,{
+	text: "sinc",
+	tooltip: "Controlar la sincronización de este tiddler con un servidor o archivo externo",
+	currentlySyncing: "<div>Sincronizando ahora mediante  <span class='popupHighlight'>'%0'</span> a:</"+"div><div>anfitrión: <span class='popupHighlight'>%1</span></"+"div><div>espacio de trabajo: <span class='popupHighlight'>%2</span></"+"div>", // Note escaping of closing <div> tag
+	notCurrentlySyncing: "Ahora no se está sincronizando",
+	captionUnSync: "Parar la sincronización para este tiddler",
+	chooseServer: "Sincronizar este tiddler con otro servidor:",
+	currServerMarker: "\u25cf ",
+	notCurrServerMarker: "  "});
+
+merge(config.commands.fields,{
+	text: "apartados",
+	tooltip: "Mostrar los apartados extras de este tiddler",
+	emptyText: "No hay apartados extras para este tiddler",
+	listViewTemplate: {
+		columns: [
+			{name: 'Field', field: 'field', title: "Apartado", type: 'String'},
+			{name: 'Value', field: 'value', title: "Valor", type: 'String'}
+			],
+		rowClasses: [
+			],
+		buttons: [
+			]}});
+
+merge(config.shadowTiddlers,{
+	DefaultTiddlers: "[[ParaEmpezar]]",
+	MainMenu: "[[ParaEmpezar]]\n\n\n^^~TiddlyWiki versión <<version>>\n© 2010 [[UnaMesa|http://www.unamesa.org/]]^^",
+	ParaEmpezar: "Para empezar con este archivo TiddlyWiki vacío, necesitará modificar los siguientes tiddlers (en este contexto podemos entender que un tiddler es un artículo):\n* SiteTitle & SiteSubtitle: El título y subtítulo del sitio, como se muestra arriba (tras guardalo, también aparecerá en el título de la ventana del navegador)\n* MainMenu: El menú (normalmente a la izquierda)\n* DefaultTiddlers: Contiene los nombres de los tiddlers que por defecto quiere que se muestren cuando TiddlyWiki se abre\nTambién debería cambiar el nombre de usuario con el que firmará sus escritos: <<option txtUserName>>",
+	SiteTitle: "Mi TiddlyWiki",
+	SiteSubtitle: "un diario web personal, reutilizable y no lineal",
+	SiteUrl: "",
+	OptionsPanel: "Estas opciones personales de visualización de TiddlyWiki se guardan en el navegador\n\nSu nombre de usuario con el que firmará tus escritos. Escríbalo como si fuera una PalabraWiki (ej JuanEscribió)\n<<option txtUserName>>\n\n<<option chkSaveBackups>> Guardar copia de seguridad\n<<option chkAutoSave>> Autoguardado\n<<option chkRegExpSearch>> Búscar expresiones regulares\n<<option chkCaseSensitiveSearch>> Buscar distinguiendo mayúsculas\n<<option chkAnimate>> Permitir animaciones\n\n----\nMirar también las [[OpcionesAvanzadas|AdvancedOptions]]",
+	SideBarOptions: '<<search>><<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY">><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel "opciones \u00bb" "Cambiar las opciones avanzadas de TiddlyWiki">>',
+	SideBarTabs: '<<tabs txtMainTab "Historial" "Historial" TabTimeline "Todo" "Todos los tiddlers" TabAll "Etiquetas" "Todas las etiquetas" TabTags "Más" "Más listados" TabMore>>',
+	TabMore: '<<tabs txtMoreTab "Perdidos" "Tiddlers perdidos" TabMoreMissing "Huérfanos" "Tiddlers huérfanos" TabMoreOrphans "Ocultos" "Tiddlers ocultos" TabMoreShadowed>>'
+	});
+
+merge(config.annotations,{
+	AdvancedOptions: "Este tiddler oculto permite controlar bastantes opciones avanzadas",
+	ColorPalette: "Los valores en este tiddler oculto configuran el esquema de colores de la interfaz de ~TiddlyWiki",
+	DefaultTiddlers: "Los tiddlers listados en este tiddler oculto son que se mostrarán por defecto cuando se abre ~TiddlyWiki",
+	EditTemplate: "La plantilla HTML en este tiddler oculto indica cómo se muestran los tiddlers mientras se editan",
+	GettingStarted: "Este tiddler oculto contiene las instrucciones básicas de utilización",
+	ImportTiddlers: "Este tiddler oculto permite acceder a los tiddlers que se están importando",
+	MainMenu: "Este tiddler oculto contiene los apartados que se muestran en el menú principal de la columna de la izquierda de la pantalla",
+	MarkupPreHead: "Este tiddler se inserta al principio de la sección <head> del archivo HTML de TiddlyWiki",
+	MarkupPostHead: "Este tiddler se inserta al final de la sección  <head> del archivo HTML de TiddlyWiki",
+	MarkupPreBody: "Este tiddler se inserta al principio de la sección <body> del archivo HTML de TiddlyWiki",
+	MarkupPostBody: "Este tiddler se inserta al final de la sección <body> del archivo HTML de TiddlyWiki, justo antes del bloque de script",
+	OptionsPanel: "Este tiddler oculto contiene los apartados de la opción desplegable Opciones, de la barra de la derecha",
+	PageTemplate: "La plantilla HTML en este tiddler oculto determina la estructura general de ~TiddlyWiki",
+	PluginManager: "Este tiddler oculto permite acceder al Gestor de Complementos",
+	SideBarOptions: "Este tiddler oculto contiene lo que hay en el apartado de opciones de la barra de la derecha",
+	SideBarTabs: "Este tiddler oculto contiene lo que hay en el panel de pestañas de la barra de la derecha",
+	SiteSubtitle: "Este tiddler oculto contiene la segunda parte del título de la página",
+	SiteTitle: "Este tiddler oculto contiene la primera parte del título de la página",
+	SiteUrl: "Este tiddler oculto debería contener la dirección completa URL en la que se publica",
+	StyleSheetColours: "Este tiddler oculto contiene las definiciones para CSS relacionadas con el color de los elementos de la página",
+	StyleSheet: "En este tiddler oculto se pueden poner definiciones para CSS personales",
+	StyleSheetLayout: "Este tiddler oculto contiene las definiciones para CSS relacionadas con la distribución de los elementos de la página. ''NO EDITE ESTE TIDDLER'', si quiere hacer alguna modificación hágalo en el tiddler oculto StyleSheet",
+	StyleSheetLocale: "Este tiddler oculto contiene las definiciones para CSS relacionadas con la traducción al idioma local",
+	StyleSheetPrint: "Este tiddler oculto contiene las definiciones para CSS relacionadas con la impresión",
+	TabAll: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Todo' de la barra de la derecha",
+	TabMore: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Más' de la barra de la derecha",
+	TabMoreMissing: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Perdidos' de la barra de la derecha",
+	TabMoreOrphans: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Huérfanos' de la barra de la derecha",
+	TabMoreShadowed: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Ocultos' de la barra de la derecha",
+	TabTags: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Etiquetas' de la barra de la derecha",
+	TabTimeline: "Este tiddler oculto contiene todo lo que hay en la pestaña 'Historial' de la barra de la derecha",
+	ToolbarCommands: "Este tiddler oculto indica los comandos que deben mostrarse en la barra de herramientas de cualquier tiddler",	
+	ViewTemplate: "Este tiddler oculto contiene la plantilla HTML que indica cómo se muestran los tiddlers"
+	});
+
+//}}}
+
+
+
+ + + + + + + + + + + + diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..c24196e --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +# Copyright (C) 2009, Simon Schampijer +# +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +from sugar.activity import bundlebuilder + +bundlebuilder.start() diff --git a/toolbars.py b/toolbars.py new file mode 100644 index 0000000..fb89911 --- /dev/null +++ b/toolbars.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Copyright 2011 Manuel Quiñones +# +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +""" +TiddlyWiki toolbars. + +""" + +from gettext import gettext as _ +import gtk +from sugar.graphics.toolbutton import ToolButton + + +class ViewToolbar(gtk.Toolbar): + def __init__(self): + gtk.Toolbar.__init__(self) + + self._view = None + + zoom_out_button = ToolButton('zoom-out') + zoom_out_button.set_tooltip(_('Zoom out')) + zoom_out_button.connect('clicked', self._zoom_out_cb) + self.insert(zoom_out_button, -1) + zoom_out_button.show() + + zoom_in_button = ToolButton('zoom-in') + zoom_in_button.set_tooltip(_('Zoom in')) + zoom_in_button.connect('clicked', self._zoom_in_cb) + self.insert(zoom_in_button, -1) + zoom_in_button.show() + + def set_view(self, view): + self._view = view + + def _zoom_out_cb(self, button): + self._view.zoom_out() + + def _zoom_in_cb(self, button): + self._view.zoom_in() -- cgit v0.9.1