[Zope3-checkins] CVS: Zope3/src/zope/app/services - view.py:1.34

Philipp von Weitershausen philikon at philikon.de
Wed Aug 20 15:21:43 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv32583/src/zope/app/services

Modified Files:
	view.py 
Log Message:
Fix i18n message ids. We now have explicit message ids in many places where
the English default text is ambigious. Also, message IDs ending with a colon
have been avoided.

German translation was updated accordingly.


=== Zope3/src/zope/app/services/view.py 1.33 => 1.34 ===
--- Zope3/src/zope/app/services/view.py:1.33	Fri Aug 15 20:44:08 2003
+++ Zope3/src/zope/app/services/view.py	Wed Aug 20 14:21:12 2003
@@ -247,7 +247,7 @@
 
     def usageSummary(self):
         if self.forInterface is None:
-            ifname = _("(Anything)")
+            ifname = _("any-interface", "Anything")
         else:
             ifname = self.forInterface.getName()
         summary = _("${view_name} ${ptype} View for ${iface_name}")
@@ -271,7 +271,8 @@
 
     serviceType = Views
 
-    _what = _("View") # For usageSummary(); subclass may override
+    # For usageSummary(); subclass may override
+    _what = _("view-component", 'View')
 
     def __init__(self,
                  forInterface, viewName, presentationType,
@@ -292,7 +293,7 @@
 
     def usageSummary(self):
         if self.forInterface is None:
-            ifname = _("(Anything)")
+            ifname = _('any-interface', "Anything")
         else:
             ifname = self.forInterface.getName()
 
@@ -316,7 +317,8 @@
     # We only care about browser pages
     presentationType = IBrowserPresentation
 
-    _what = _("Page") # For usageSummary()
+    # For usageSummary()
+    _what = _("page-component", "Page")
 
     def __init__(self,
                  forInterface, viewName, permission,




More information about the Zope3-Checkins mailing list