changeset 4904:c88234489140

action language_setup: fixed action name
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 26 Jul 2009 09:16:27 +0200
parents 4eea6a2856dd
children f3413022dae9
files MoinMoin/action/language_setup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/language_setup.py	Fri Jul 24 21:43:39 2009 +0200
+++ b/MoinMoin/action/language_setup.py	Sun Jul 26 09:16:27 2009 +0200
@@ -61,7 +61,7 @@
         if attachment.endswith(not_translated_system_pages):
             attachment = 'English_not_translated_system_pages.zip'
         install_link = ''
-        querystr = {'action': 'InstallLanguage', 'target': attachment, 'language': lang}
+        querystr = {'action': 'language_setup', 'target': attachment, 'language': lang}
         if AttachFile.exists(request, language_setup_page, attachment):
             install_link = request.page.link_to(request, label_install, querystr=querystr)
         data.addRow((pageset_name, install_link))
@@ -72,7 +72,7 @@
 
     fmt = request.formatter
     lang_links = [request.page.link_to_raw(request, _lang,
-                                        querystr={'action': 'InstallLanguage',
+                                        querystr={'action': 'language_setup',
                                                   'language': _lang,
                                                   'pageset': pageset_name, })
                   for _lang in wiki_languages]