changeset 4693:6c5a097aec9f

i18n.strings: page sets: added more comments, moved pages to correct list
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 19 Apr 2009 18:20:00 +0200
parents b033c6e760ba
children 8be6f042845b
files MoinMoin/i18n/strings.py
diffstat 1 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/i18n/strings.py	Sun Apr 19 16:55:28 2009 +0200
+++ b/MoinMoin/i18n/strings.py	Sun Apr 19 18:20:00 2009 +0200
@@ -33,8 +33,10 @@
     _('EditedSystemPages'),
     _('LocalSpellingWords'),
     _('SystemAdmin'),
+    _('SystemInfo'),
     _('ProjectTemplate'),
     _('ProjectGroupsTemplate'),
+    _('PermissionDeniedPage'),
 ]
 
 essential_system_pages = [
@@ -45,16 +47,17 @@
     _('FindPage'),
     _('MissingPage'),
     _('MissingHomePage'),
-    _('PermissionDeniedPage'),
-    _('SystemInfo'),
-    _('WikiHomePage'), # used by ...?
+    _('WikiHomePage'), # used by CategoryHomepage
+
+    # these are still in use, but should be killed:
+    _('WikiName'), # linked from misc. help/tips pages
+    _('WikiWikiWeb'), # used by FrontPage/WikiHomePage
 ]
 
 optional_system_pages = [
     _('FrontPage'),
     _('WikiSandBox'),
     _('InterWiki'),
-    _('WikiLicense'),
     _('AbandonedPages'),
     _('OrphanedPages'),
     _('WantedPages'),
@@ -67,6 +70,7 @@
     _('RandomPage'),
     _('XsltVersion'),
     _('FortuneCookies'), # use by RandomQuote macro
+    _('WikiLicense'), # does not exist, but can be created by wiki admin
 ]
 
 translated_system_pages = essential_system_pages + optional_system_pages
@@ -127,16 +131,12 @@
 
 # Stuff that should live on moinmo.in wiki:
 obsolete_pages = [
-    _('HelpMiscellaneous'),
-    _('HelpMiscellaneous/FrequentlyAskedQuestions'),
-    _('WikiWikiWeb'),
-    _('CamelCase'),
-    _('WikiName'),
 ]
 
 essential_help_pages = [
     _('HelpOnMoinWikiSyntax'), # used by edit action
     _('HelpOnCreoleSyntax'), # used by edit action
+    # HelpOnParsers/ReStructuredText/RstPrimer could be renamed and used in a similar way
 ]
 
 optional_help_pages = [
@@ -197,6 +197,9 @@
     _('HelpOnXmlPages'),
     _('HelpOnComments'),
     _('HelpOnSubscribing'),
+
+    # these are still in use, but should be killed:
+    _('CamelCase'), # linked from misc. help/course pages
 ]
 
 all_help_pages = essential_help_pages + optional_help_pages
@@ -258,7 +261,8 @@
     course_pages
 )
 
-# a set with all the *_pages attribute names we have defined above
+# an list of page sets translators should look at,
+# ordered in the order translators should look at them
 pagesets = [
     'not_translated_system_pages',
     'essential_system_pages',