Search - User list
Full Version: One bug and a translation mistake
Root » Bugs » One bug and a translation mistake
1
Mokona
Hello,

I've managed to installed djangobb has an application. Not a perfect integration yet, but it now works.

I've spotted a bug with the smiles. All smilies declares in the settings before EMOTION_HMM are misinterpreted and generate wrong img tag. What is happening is that in


        def handle_data(self, data):
            if not self.is_ignored:
                data = self.func(data)
            self.html.append(data)


Smiles are applied in order. So the first smiley generate and html src tag with an url containing a column followed by a slash... which is interpreted has the "Hmm smiley".

The simplest fix I have found is to declare the "Hmm smiley" first in settings.py

Also, I've found a mistake in a french translation (so far) and some missing translation. As I will use the forum in a french context, I volunteer to fix/complete the translations (which are almost complete).

I see Transfix is used, but I don't know this service. Shall I create an account there ?
Mokona
About translation again. On my local installation, I've changed "Privacy" from "Intimité" to "Confidentialité" which sounds less awkward and is used in pretty much all sites I've seen and used.
slav0nic
ok, translation changed.
smiles will checked in the near future
slav0nic
about smile
can u reproduct bug? i don't saw problem with it http://support.djangobb.org/post/291/
Mokona
I guess this is because the settings.MEDIA_URL on support.djangobb.org doesn't contain "http://" at the beginning. My MEDIA_URL contains a complete and absolute URL, starting with http://, which contains the smile.

To reproduce the bug, try a complete URL with http:// transport part in MEDIA_URL.
scream4ik
Mokona
I guess this is because the settings.MEDIA_URL on support.djangobb.org doesn't contain "http://" at the beginning. My MEDIA_URL contains a complete and absolute URL, starting with http://, which contains the smile.

To reproduce the bug, try a complete URL with http:// transport part in MEDIA_URL.


+1
a very bad moment. But unfortunately there are still
slav0nic
create please ticket for this, forgotten about this bug =\
or patch it B)
Mokona
Ticket added.

(and french translation up to date)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB