benoitfragit / google2ubuntu

1.1.5 publcation Nedd Translation
https://plus.google.com/u/0/communities/103854623082229435165
133 stars 33 forks source link

italian update #48

Closed Mte90 closed 10 years ago

Mte90 commented 10 years ago

Updated the italian language. I have linted the xml because it's unreadable XD

With any language setted in the manager i get this:

Error while reading config file
<type 'exceptions.AttributeError'>
("'NoneType' object has no attribute 'text'",)
'NoneType' object has no attribute 'text'
benoitfragit commented 10 years ago

This error appears because your config file default.xml/google2ubuntu.xml file are not formatted correctly. Indeed, because each module embed his configuration in the google2ubuntu.xml file, several fields have been added to default.xml file, I can see that you already try to update default.xml file but there is some mistake, an entry should be like this:

<entry name="internal">
<key>what time</key>
<command>time</command>
<linker> </linker>
<spacebyplus> </spacebyplus>
</entry>

Be aware of the spaces between linker and spacebyplus balise, if they don't exist, we can't read correctly xml config files

I will pull this request but some change have to be made in the default.xml file. Tell me if there is any issue with that file.

thank you