Commit Graph

7065 Commits

Author SHA1 Message Date
Valentin Lorentz
323ffe1a1f i18n: Fix internationalization problems 2010-11-11 12:01:56 +01:00
Valentin Lorentz
02cb15d522 Remove the 'testInternationalization' 2010-11-01 20:18:44 +01:00
Valentin Lorentz
31d9d47751 Remove debug message 2010-11-01 20:15:02 +01:00
Valentin Lorentz
c0ff3c3f92 Bug fix in i18n.py (decorated commands without docstring raise an error) 2010-11-01 19:57:18 +01:00
Valentin Lorentz
79930a7435 Bug fix in src/i18n.py 2010-11-01 19:48:45 +01:00
Valentin Lorentz
30a1ca06b2 Fix the @Misc help formatting
Stop removing the \n in the translated docstrings
2010-11-01 15:01:50 +01:00
Valentin Lorentz
1f4b3b83e1 Make the src/i18n.py code cleaner 2010-11-01 14:33:43 +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
bec550fb5f Update locale/messages.pot 2010-10-31 13:43:17 +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
283a026449 Add the i18n test in src/test.py 2010-10-31 11:30:04 +01:00
Valentin Lorentz
0360451cb9 Note & Owner : fix missing import for the i18n 2010-10-31 11:29:01 +01: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
5150c4ef60 Now tests if a plugin has the _ object before using it 2010-10-30 12:49:43 +02:00
Valentin Lorentz
595d98df91 Topic: Fix bad doctring 2010-10-30 12:24:02 +02:00
Valentin Lorentz
b85d289bbb Fix wrong method name 2010-10-30 12:14:54 +02:00
Valentin Lorentz
52094ec910 User: internationalize a string 2010-10-30 11:23:56 +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
5339516257 Owner: Add the messages.pot 2010-10-29 14:47:47 +02:00
Valentin Lorentz
9ce8b4d59c Note: Add the messages.pot 2010-10-29 13:54:58 +02:00
Valentin Lorentz
6c1b91c227 MoobotFactoid: Internationalize a string 2010-10-29 12:03:08 +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
172467fb17 Later: refresh messages.pot 2010-10-28 16:15:50 +02:00
Valentin Lorentz
4a2c78efb8 Later: fix internationalization problem 2010-10-28 16:14:56 +02:00
Valentin Lorentz
4e578da1b7 Later: internationalize a string 2010-10-28 16:12:58 +02:00
Valentin Lorentz
3fe627ad75 Internationalize a string in Karma 2010-10-28 15:43:31 +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
8864a7fc71 Fix Ctcp internationalization 2010-10-26 19:22:39 +02:00
Valentin Lorentz
db977bf5d2 Fix Python2.5 issue (class decorators)
Issue S-fr#5
2010-10-26 09:32:12 +02:00
Valentin Lorentz
4aff05f361 RSS: fix mislocated decorator 2010-10-26 09:27:09 +02:00
Valentin Lorentz
007c58703f Remove internationalization of a non-internationalizable string 2010-10-25 13:11:59 +02:00
Valentin Lorentz
7fb900d8df Fix misspell in Herald 2010-10-24 13:50:46 +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
0b86e84b13 Add the locale managment (edit setup.py and create locale/ directory) for the core 2010-10-20 17:46:18 +02:00
Valentin Lorentz
f1d5d9d832 Fix a pygettext warning 2010-10-20 10:27:31 +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
6a9a8d81b8 Internationalize Time, Todo, Topic, URL, Unix, Utilities, and Web 2010-10-20 09:39:44 +02:00
Valentin Lorentz
371a40e004 Internationalize Seen, Services, ShrinkUrl, Status, String, and Success 2010-10-20 09:10:03 +02:00
Valentin Lorentz
aaa0c480af Internationalize Relay, Reply, RSS, Scheduler 2010-10-19 19:50:41 +02:00
Valentin Lorentz
029c0cbe80 Internationalize Nickometer, Praise, Protector, Quote, and QuoteGrabs 2010-10-17 18:37:13 +02:00
Valentin Lorentz
ffc609a299 Internationalized MoobotFactoids, News, and NickCapture 2010-10-17 16:59:21 +02:00