[Zope3-checkins] CVS: zopeproducts/zwiki - I18N.txt:1.1 INSTALL.txt:1.4 configure.zcml:1.16

Stephan Richter srichter@cbu.edu
Thu, 10 Apr 2003 02:28:44 -0400


Update of /cvs-repository/zopeproducts/zwiki
In directory cvs.zope.org:/tmp/cvs-serv26676

Modified Files:
	INSTALL.txt configure.zcml 
Added Files:
	I18N.txt 
Log Message:
- Fully functional 'wiki' skin for viewing Wiki Pages. I tried very hard
  (and was successful) in writing only one screen for both interfaces: the
  ZMI and the end user. Here is how you can get to the new skin:

    http://localhost:8080/++skin++wiki/wiki/FrontPage

- Internationalized all of the skin as good as I could. So most of the 
  Site's Software text is displayed in German, including some complex
  message strings.

- Improved 'Add Comment' screen.



=== Added File zopeproducts/zwiki/I18N.txt ===
Internationalization (I18n) and Localalization (L10n)
=====================================================

  Crating/Updating Message Catalog Template (POT) Files
  -----------------------------------------------------

    0. Install 'zwiki' in '<zope3>/src/zopeproducts'.

    1. Set the the Python path::
       
        export PYTHONPATH=<zope3>/src
  
    2. Go into the 'locales' directory and execute extract.py::

        python2.2 extract.py


  Updating Message Catalog (PO) Files
  -----------------------------------

    1. For each language do simply::

        msgmerge -U de/LC_MESSAGES/wiki.po wiki.pot

    2. Translate the updated PO file. 
       Note: KBabel is a great tool for this task!


  Compiling Message Catalogs (PO) to binary (MO) Files
  ----------------------------------------------------

    1. Go to the right directory, such as '<zwiki>/locales/de/LC_MESSAGES'.

    2. Run the following command::

        msgfmt -o wiki.mo wiki.po

=== zopeproducts/zwiki/INSTALL.txt 1.3 => 1.4 ===
--- zopeproducts/zwiki/INSTALL.txt:1.3	Wed Apr  9 12:27:28 2003
+++ zopeproducts/zwiki/INSTALL.txt	Thu Apr 10 02:28:14 2003
@@ -24,3 +24,16 @@
   - (Optional) If you want restructured text support, you need to install the
     **CVS** version of docutils, which you can retrieve from
     http://docutils.fs.net.
+
+
+Usage
+=====
+
+  1. To see Wikis in action, go into the management interface and add a Wiki
+     object named 'wiki'.
+
+  2. Then go inside the the 'wiki' and add a WikiPage called 'FrontPage'.
+
+  3. To enter the end user interface, enter::
+
+      http://localhost:8080/++site++wiki/wiki
\ No newline at end of file


=== zopeproducts/zwiki/configure.zcml 1.15 => 1.16 ===
--- zopeproducts/zwiki/configure.zcml:1.15	Wed Apr  9 17:47:15 2003
+++ zopeproducts/zwiki/configure.zcml	Thu Apr 10 02:28:14 2003
@@ -121,7 +121,7 @@
         interface="zope.app.interfaces.container.IReadContainer"/>
 
     <require
-        permission="zope.ManageContent"
+        permission="zopeproducts.zwiki.AddWikiPage"
         interface="zope.app.interfaces.container.IWriteContainer"/>
 
   </content>
@@ -131,7 +131,7 @@
 
     <factory
         id="WikiPage"
-        permission="zope.ManageContent"
+        permission="zopeproducts.zwiki.AddWikiPage"
         title="Wiki Page"
         description="A Wiki Page" />