Valentin Lorentz
ddb3dd5a50
Merge branch 'i18n' into l18n-fr
2010-11-01 11:49:04 +01:00
Valentin Lorentz
a2c8c613db
Bug fix (didn't keep any beginning or ending space)
2010-11-01 11:47:19 +01:00
Valentin Lorentz
4dcd7f7fb4
Bug fixes (mainly the &config help internationalization)
2010-11-01 11:42:33 +01:00
Valentin Lorentz
51edf7325c
Merge branch 'l10n-fr' into testing
2010-10-31 18:37:15 +01:00
Valentin Lorentz
198f8267eb
Bug fixes
2010-10-31 18:36:33 +01:00
Valentin Lorentz
4c03aef9a6
Internationalize a string in conf.py
2010-10-31 13:41:36 +01:00
Valentin Lorentz
676c08ad8e
Fix possible truncation of messages
...
Possible bug with languages which has a long translation for '(XX more messages)'.
2010-10-31 13:35:23 +01:00
Valentin Lorentz
6dfd334344
Merge branch 'l10n-fr' into testing
2010-10-31 11:32:00 +01:00
Valentin Lorentz
283a026449
Add the i18n test in src/test.py
2010-10-31 11:30:04 +01:00
Valentin Lorentz
27bb53b560
Merge branch 'l10n-fr' into testing
2010-10-30 21:41:44 +02:00
Valentin Lorentz
4a516c5f46
Makes the code of i18n.py cleaner
...
More comments; docstrings; remove the % auto-handling (useless).
2010-10-30 21:41:25 +02:00
Valentin Lorentz
3ea8115095
Internationalize src/utils/str.py and modify src/i18n.py to fit this changes
2010-10-30 21:10:49 +02:00
Valentin Lorentz
f3528c57d4
Merge branch 'l10n-fr' into testing
2010-10-30 12:49:57 +02:00
Valentin Lorentz
5150c4ef60
Now tests if a plugin has the _ object before using it
2010-10-30 12:49:43 +02:00
Valentin Lorentz
5f2699b2c0
Merge branch 'l10n-fr' into testing
2010-10-30 12:15:09 +02:00
Valentin Lorentz
b85d289bbb
Fix wrong method name
2010-10-30 12:14:54 +02:00
Valentin Lorentz
5e09a9c887
Merge branch 'l10n-fr' into testing
2010-10-30 12:11:29 +02:00
Valentin Lorentz
6737424bc6
Shorten PluginInternationalisation.get* in src/i18n.py
2010-10-29 15:33:36 +02:00
Valentin Lorentz
ec6a267c09
Internationalize more functions in src/utils/str.py
2010-10-29 15:31:36 +02:00
Valentin Lorentz
e8bc966827
Add locale abitrary code
...
Add the capability for Supybot to load code depending on the locale
src/utils/str.py now imports pluralize and depluralize from this code
2010-10-28 17:28:27 +02:00
Valentin Lorentz
97f51ab08e
Fix i18n bug for global Supybot
2010-10-28 16:42:52 +02:00
Valentin Lorentz
b7651b06a1
Merge branch 'l10n-fr' into testing
2010-10-28 15:45:51 +02:00
Valentin Lorentz
f3a579f3da
Add the '<empty>' feature to nItems, and changed ChannelStats localization in order to use it as bug fixer
2010-10-28 15:18:06 +02:00
Valentin Lorentz
44c3eb1825
Changes version
2010-10-24 13:54:35 +02:00
Valentin Lorentz
8be4aaeff1
Merge branch 'readability'
2010-10-23 10:38:52 +02:00
Valentin Lorentz
5e2e858ac5
Removed debug information
2010-10-20 19:01:22 +02:00
Valentin Lorentz
da9a1bfb70
Internationalize questions.py
2010-10-20 18:33:39 +02:00
Valentin Lorentz
6b26861c23
Internationalize callbacks.py, commands.py, and conf.py ; and generated the messages.pot
2010-10-20 18:27:58 +02:00
Valentin Lorentz
df3d096ab1
Modified i18n.py, in order to handle internationalization before conf is loaded
2010-10-20 18:26:52 +02:00
Valentin Lorentz
f1d5d9d832
Fix a pygettext warning
2010-10-20 10:27:31 +02:00
Valentin Lorentz
77d0296054
Merge branch 'master' into readability
2010-10-20 09:49:59 +02:00
Valentin Lorentz
597cec5af7
Merge branch 'master' into i18n
2010-10-20 09:48:59 +02:00
Valentin Lorentz
386c8562ea
Added myself in the author list
2010-10-20 09:48:49 +02:00
Valentin Lorentz
e556fbde2e
Added %S to format()
2010-10-16 11:37:10 +02:00
Valentin Lorentz
4a5b98507f
Revert 9a2eea4272a7f427949fe47053b75894222aa002
2010-10-10 16:54:46 +02:00
Valentin Lorentz
d156ae7474
Add the configuration variable help reloading
2010-10-10 16:46:55 +02:00
Valentin Lorentz
b44401dd1c
Remove a forgotten debug print
2010-10-10 16:35:31 +02:00
Valentin Lorentz
9a2eea4272
Change the version name
2010-10-10 16:34:34 +02:00
Valentin Lorentz
a8319d3c6f
Remove debug message and internationalize config.py in ChannelStats
2010-10-10 15:11:41 +02:00
Valentin Lorentz
a750fe6a2e
Fix the internationalisation problem for the docstrings
2010-10-10 14:45:25 +02:00
Valentin Lorentz
50acd3d8d9
Creating the internationalization module and internationalize/localize ChannelStats into French
2010-10-09 11:36:22 +02:00
James Vega
26a458b9ec
Merge branch 'maint/0.83.4'
2010-09-20 19:46:18 -04:00
James Vega
0fd6a84632
Use self.error() instead of raise for BooleanRequiredFalseOnWindows.
...
Closes: Sf#3070285
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 18:34:07 -04:00
James Vega
0abe22f5d1
Merge branch 'maint/0.83.4'
2010-09-08 23:50:35 -04:00
James Vega
b0575cec88
Handle changes to fnmatch.translate in Python 2.6
...
Define utils.python.glob2re based on the Python version being used.
Use glob2re in Todo and Note plugins.
Closes: Sf#3059292
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 23:31:01 -04:00
James Vega
e7ef97e529
Ensure channel-specific reply.whenNotAddressed works.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 166f32dcb02eab58659882fb003502c1e990797a)
2010-08-24 19:52:59 -04:00
James Vega
8d5e4ba624
Twisted: Send all available ircmsgs and reduce delay between checks
...
All ircmsgs that takeMsg will return should be processed each time
checkIrcForMsgs is called since there may be multiple available in the
fastqueue.
Reduced the time between calls of checkIrcForMsgs so the delay between
normally queued ircmsgs stays close to the configured throttleTime.
Closes: Sf#3018148
(cherry picked from commit adc5d62bbf6b89631ab25e9b5f5707bde0b06709)
2010-08-24 19:49:54 -04:00
James Vega
ff760d1c69
Socket: Ensure driver is flagged as disconnected after a socket error.
...
Users were occasionally hitting a situation where the socket had errored,
causing a reconnect, but the socket wasn't closed nor the driver marked as
disconnected. This resulted in run() continuing to try and use the driver,
which would cause another error, schedule another reconnect, log an error, ad
infinitum.
Closes: Sf#2965530
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit a278d17f2bec3697987cbd403594393a4fb30021)
2010-08-24 19:49:38 -04:00
James Vega
a6857ce9bf
utils/web.py: Only try catching socket.sslerror if built with SSL support
...
Closes: Sf#2998820
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f03a3f6c8529c15042908d826235e46123cd29e2)
2010-08-24 19:49:30 -04:00
James Vega
fa199022e1
Make registry.Regexp.error mimic registry.Value.error
...
Regexp.error can't directly call Value.error because it's providing extra
information, so it needs to build the InvalidRegistryValue exception itself
and raise it.
Closes: Sf#2985241
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ef8bd817e8b62ede76aa7501a9a8d69af7408efc)
2010-08-24 19:44:31 -04:00