changeset 3458:4f49f6e762a8

removed references to UserPreferences PAGE (now userprefs action), removed reference to SendMyPassword PAGE (gone), add dummy translation for 'Discussion'
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 30 Mar 2008 23:41:27 +0200
parents 836d1706a5fe
children b4b32e3a04af
files MoinMoin/i18n/dummy.py MoinMoin/i18n/tools/check_i18n.py MoinMoin/parser/text_moin_wiki.py
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/i18n/dummy.py	Sun Mar 30 22:47:15 2008 +0200
+++ b/MoinMoin/i18n/dummy.py	Sun Mar 30 23:41:27 2008 +0200
@@ -16,7 +16,6 @@
 _('SiteNavigation')
 _('HelpContents')
 _('HelpOnFormatting')
-_('SendMyPassword')
 _('WikiLicense')
 _('MissingPage')
 _('MissingHomePage')
@@ -30,3 +29,6 @@
 _('RenamePage')
 _('SpellCheck')
 
+# the editbar link text of the default supplementation page link:
+_('Discussion')
+
--- a/MoinMoin/i18n/tools/check_i18n.py	Sun Mar 30 22:47:15 2008 +0200
+++ b/MoinMoin/i18n/tools/check_i18n.py	Sun Mar 30 23:41:27 2008 +0200
@@ -366,7 +366,7 @@
 potentially unused items.
 
 This program can't detect references done from wiki pages, from
-UserPreferences options, from Icon titles etc.!
+userprefs options, from Icon titles etc.!
 """
             for text in report[lang].unused():
                 print " 1. `%r`" % text
--- a/MoinMoin/parser/text_moin_wiki.py	Sun Mar 30 22:47:15 2008 +0200
+++ b/MoinMoin/parser/text_moin_wiki.py	Sun Mar 30 23:41:27 2008 +0200
@@ -1304,7 +1304,7 @@
         """Handle macros."""
         macro_name = groups.get('macro_name')
         macro_args = groups.get('macro_args')
-        self.inhibit_p = 0 # 1 fixes UserPreferences, 0 fixes paragraph formatting for macros
+        self.inhibit_p = 0 # 1 fixed macros like UserPreferences (in the past, gone now), 0 fixes paragraph formatting for macros
 
         # create macro instance
         if self.macro is None: