Commit Graph

38 Commits

Author SHA1 Message Date
Valentin Lorentz 6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Daniel Folkinshteyn 643788b478 Math: default %f formatting rounds to 6 decimal places. increase that to 16. 2012-08-30 11:32:43 +02:00
Valentin Lorentz 987aaa6c37 Math: use string.ascii_uppercase instead of string.uppercase. 2012-08-04 20:23:30 +02:00
Valentin Lorentz 224bdf89e7 Math: implement __lt__ and __eq__ in converter.Unit. 2012-08-04 20:22:11 +02:00
Valentin Lorentz dcd07a2ec4 ChannelStats & Filter & Math & Unit: use utils instead of str.translate. 2012-08-04 19:13:35 +02:00
nyuszika7h d41acf34cc Math: Add cbrt() function 2012-05-23 12:11:43 +02:00
Valentin Lorentz 1f60a9487c Math: Allow 'factorial()' in icalc. 2012-05-07 17:52:02 +02:00
Valentin Lorentz 695078edeb Math: Block factorial() in calc functions. 2012-05-07 15:16:20 +00:00
skizzhg aedfc07762 Update l10n-it. 2012-03-16 18:28:05 +01:00
Tannn3r aad9f566f3 Added a description. 2011-09-11 19:57:30 -05:00
skizzhg 7e88bb1ce3 Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Valentin Lorentz 0ec578eec4 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-06 18:58:17 +02:00
skizzhg 1af08c27d7 Admin & Channel & Games & Math & MessageParser & Misc & MoobotFactoids & Network & Nickometer & Owner & Praise & Relay & Reply & Topic & Unix & Web: update/add l10n-it. 2011-08-06 18:55:38 +02:00
nyuszika7h 45b27a781b Math: Update l10n-hu. 2011-08-02 21:06:18 +02:00
nyuszika7h 4a9fab533d Math: Added partial l10n-hu. 2011-07-31 17:42:16 +02:00
Mika Suomalainen 7f8700a948 AutoMode & Math: update/add l10n-fi 2011-06-27 18:08:31 +02:00
skizzhg 9d5365248e Admin & ChannelLogger & Dict & Maths & News & Seen & Status & Time & Todo & URL: Add Italian translation 2011-06-21 19:40:01 +02:00
Valentin Lorentz 0d7e3d3759 (Re)generate all plugin's .pot file 2011-02-26 10:40:50 +01:00
Valentin Lorentz 520034d3dc Localize Later, Limiter, and Math into French 2010-10-28 19:33:27 +02:00
Valentin Lorentz 203fe3c56a Internationalize Herald, Internet, Karma, Lart, Later, Limiter, Math, and Misc 2010-10-17 15:36:26 +02:00
James Vega d7237104ae Math: Update the units info from ConvertAll
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:44:59 -04:00
James Vega 22da325656 Math: Move convertcore to the local directory
There's no need to try importing a system-wide copy (for now) as convertcore
is our own munging of convertall's code into a form that's easy for us to use.
This may change in the future.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 19:58:21 -04:00
James Vega ed32faabe1 Math: Remove extra try block in favor of universalImport
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 14:06:25 -04:00
Jeremy Fincher a86b4694d7 Added utils.python.universalImport to make the previous idiom cleaner. 2009-03-11 14:05:53 -04:00
Jeremy Fincher d6ad5b051f Fix math to be capable of using externally-installed third-party packages, while still providing them for people who don't have them externally installed. 2009-03-11 14:05:26 -04:00
James Vega 62897a9663 Workaround Python's idiocy with float -> str -> float conversions 2009-03-11 13:37:26 -04:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega 099231df05 plugins/Math: Quote some example strings so the STX version is formatted better. 2005-07-25 22:15:14 +00:00
James Vega df73547745 Fix up Plugin.contributors and a couple contributors dicts. 2005-04-26 02:53:08 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega 90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. 2005-02-15 13:57:57 +00:00
Jeremy Fincher b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
James Vega 68d3b830da Remove the use of format() in logger functions since they handle it natively. 2005-02-01 13:43:57 +00:00
Jeremy Fincher 641c5cd634 Added __version__ strings to already-converted plugins. 2005-02-01 06:15:37 +00:00
James Vega de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +00:00
James Vega 28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher 5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher d9df5136cd Added the Math plugin in the new plugin package format. 2005-01-19 23:29:28 +00:00