diff MoinMoin/theme/__init__.py @ 64:6483a586208d

better wording in the user interface * "Infos" in not English, replaced with "Info" * The "Show" prefix for some menu items make it harder to read the menu quickliy. Its better to have a different first word. See http://www.asktog.com/basics/firstPrinciples.html#efficiencyOfUser * Little longer separator in the action menu. Also make it translated so langauges with very long words can have longer separator. This change breaks few translated strings, they will have to be fixed before 1.5 release. imported from: moin--main--1.5--patch-66
author Nir Soffer <nirs@freeshell.org>
date Fri, 30 Sep 2005 22:45:03 +0000
parents 55ff4feb0f59
children 36a2541550aa
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Fri Sep 30 22:13:58 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Fri Sep 30 22:45:03 2005 +0000
@@ -913,16 +913,17 @@
         titles = {
             # action: menu title
             '__title__': _("More Actions:", formatted=False),
-            '__separator__': '--------', # spacer
-            'raw': _('Show Raw Text', formatted=False),
-            'print': _('Show Print View', formatted=False),
+            # Translation may need longer or shorter separator
+            '__separator__': _('------------', formatted=False),
+            'raw': _('Raw Text', formatted=False),
+            'print': _('Print View', formatted=False),
             'refresh': _('Delete Cache', formatted=False),
-            'AttachFile': _('Attach File', formatted=False),
+            'AttachFile': _('Attachments', formatted=False),
             'SpellCheck': _('Check Spelling', formatted=False), # rename action!
             'RenamePage': _('Rename Page', formatted=False),
             'DeletePage': _('Delete Page', formatted=False),
-            'LikePages': _('Show Like Pages', formatted=False),
-            'LocalSiteMap': _('Show Local Site Map', formatted=False),
+            'LikePages': _('Like Pages', formatted=False),
+            'LocalSiteMap': _('Local Site Map', formatted=False),
             }
 
         options = []
@@ -1056,7 +1057,7 @@
         #add(link(request, quotedname + '?action=diff',
         #         _('Show Changes', formatted=False)))
         add(link(request, quotedname + '?action=info',
-                 _('Infos', formatted=False)))
+                 _('Info', formatted=False)))
         add(self.subscribeLink(page))
         add(self.quicklinkLink(page))
         add(self.actionsMenu(page))