olduser's profile - activity
10 years ago | received badge | Teacher ( source ) |
10 years ago | received badge | Necromancer ( source ) |
11 years ago | answered a question | When will Django-1.6 be supported? You can use Django 1.5.5 without errors, here's the output of 0 errors found
March 30, 2014 - 09:48:16
Django version 1.5.5, using settings 'askbot.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
but there are some deprecations warnings that must be resolved before upgrading to 1.6.:
I send a pull request to that effect: https://github.com/ASKBOT/askbot-devel/pull/227 (use django.conf.urls instead of django.conf.urls.defaults). |
11 years ago | commented question | Translation of `words.py` file I tried to update the django.po file(and regenerate the .mo files) in the locale directory, and it works(after removing the `#, fuzzy` line). |
11 years ago | asked a question | Translation of `words.py` file It seems that the file
in the home page can't be translated in transifex because the Does a translator can update |
11 years ago | commented answer | How translate live search? I've opened an issue on Github with a modification of the `live_search.js` script https://github.com/ASKBOT/askbot-devel/pull/204. The new var InpuToolTip function works for french without any modifications of the `.po` and `.mo` files, It seems to work with other languages too. |
11 years ago | received badge | Editor ( source ) |
11 years ago | answered a question | How translate live search? Hi, I'm trying to use Askbot in french and I have problems with the livesearch default text. The text translated in lines 133-135 in the #: media/js/live_search.js:313
msgid "search or ask your question"
msgstr "rechercher ou poser votre question"
So I should I've prompted in the input:"rechercher ou poser votre question", but the text shown is "search or poser votre question" which is a concatenation done in var InputToolTip = function() {
WrappedElement.call(this);
this._promptText = interpolate(
gettext('search or %(ask_your_question)s'),
{'ask_your_question': askbot['messages']['askYourQuestion'].toLowerCase() },
true
);
};
inherits(InputToolTip, WrappedElement);
This javascript code is using a translation made in lines 123-125 in the #: media/js/live_search.js:218
msgid "Ask Your Question"
msgstr "Poser votre question"
The only way I found to get the correct translation is to change the |
11 years ago | received badge | Enthusiast |