Giter Club home page Giter Club logo

spelt's Introduction

===============================================================================
                                  SPELT
                                    by
                             Translate.org.za

                             Version 0.1 rc1
                            Copyright (c) 2008
                         Zuza Software Foundation
                        Last updated: July 14, 2008
===============================================================================

Please see http://translate.sourceforge.net/wiki/spelt/index for more
information.

spelt's People

Contributors

dupuy avatar dwaynebailey avatar julen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

morristech

spelt's Issues

File-> Quit gives traceback with unsaved changes

Traceback (most recent call last):
File “./spelt/gui/menu.py”, line 202, in __on_item_activated
getattr(self, handler_name)()
File “./spelt/gui/menu.py”, line 157, in handler_quit
self.gui.quit()
File “./spelt/gui/gui.py”, line 287, in quit
self.langdb.save()
AttributeError: ‘GUI’ object has no attribute ‘langdb’

Spelt forces autocomplete in root field

If we previously identified the root “njengoba” and later want to add the root “nje” spelt always completes it with njengoba, even if we have already moved to the part of speech field.

Remove lxml annotations from generated XML

When saving lxml-created nodes, it adds a bunch of annotations like the “xmlns:xsd…” and “xsi:nil…” parts in the following snippet:

kraaı

This should be removed, because it is redundant and might complicate later usage of the language database(s).

Traceback due to incorrect import

InvalidElementError is definied in spelt/common/exceptions which is not imported in model_factory

Traceback (most recent call last):
File “spelt/gui/dlg_dbload.py”, line 179, in on_open_clicked
self.langdb_path = self.gui.get_open_filename()
File “spelt/gui/dlg_dbload.py”, line 40, in _set_langdb_path
self.langdb = LanguageDB(filename=txt)
File “/home/fwolff/download/translate/src/spelt/spelt/models/langdb.py”, line 92, in __init

self.load(filename)
File “/home/fwolff/download/translate/src/spelt/spelt/models/langdb.py”, line 289, in load
model = ModelFactory.create_model_from_elem(child)
File “./spelt/models/model_factory.py”, line 52, in create_model_from_elem
raise InvalidElementError(_(‘Invalid XML element with tag “%s”’) % (elem.tag))
NameError: global name ‘InvalidElementError’ is not defined

Gtk+ warnings printed when calling gtk.ComboBoxEntry.set_text_column

When running Spelt via the current spelt.py (revision 7536), the following warnings are issued on the console:
$ python spelt.py
./gui/edit_area.py:194: GtkWarning: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_RENDERER (cell)’ failed
self.cmb_pos.set_text_column(COL_TEXT)
./gui/edit_area.py:202: GtkWarning: gtk_cell_layout_set_attributes: assertion`GTK_IS_CELL_RENDERER (cell)’ failed
self.cmb_root.set_text_column(COL_TEXT)

Everything seems to work fine, although these warnings could be indicative of later/hidden problems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.