[commits] r126 - in selinux-site/trunk/selinux.policy/selinux/policy: . locales locales/sv locales/sv/LC_MESSAGES profiles/default

tim at mail.se.linux.org tim at mail.se.linux.org
Fre Nov 9 19:40:08 CET 2007


Author: tim
Date: 2007-11-09 19:40:08 +0100 (Fri, 09 Nov 2007)
New Revision: 126

Added:
   selinux-site/trunk/selinux.policy/selinux/policy/locales/
   selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/
   selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/
   selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.mo
   selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.po
   selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/actions.xml
Modified:
   selinux-site/trunk/selinux.policy/selinux/policy/configure.zcml
   selinux-site/trunk/selinux.policy/selinux/policy/content.py
   selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/propertiestool.xml
Log:
Added global tabs to the site according to a web structure proposal. They are specified in actions.xml.


Modified: selinux-site/trunk/selinux.policy/selinux/policy/configure.zcml
===================================================================
--- selinux-site/trunk/selinux.policy/selinux/policy/configure.zcml	2007-11-06 19:59:44 UTC (rev 125)
+++ selinux-site/trunk/selinux.policy/selinux/policy/configure.zcml	2007-11-09 18:40:08 UTC (rev 126)
@@ -2,6 +2,7 @@
     xmlns="http://namespaces.zope.org/zope"
     xmlns:cmf="http://namespaces.zope.org/cmf"
     xmlns:five="http://namespaces.zope.org/five"
+    xmlns:i18n="http://namespaces.zope.org/i18n"
     xmlns:browser="http://namespaces.zope.org/browser"
     xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
     i18n_domain="plone">
@@ -37,4 +38,6 @@
       handler=".caching_subscribers.news_workflow_transition"
       />
 
+  <i18n:registerTranslations directory="locales" />
+
 </configure>

Modified: selinux-site/trunk/selinux.policy/selinux/policy/content.py
===================================================================
--- selinux-site/trunk/selinux.policy/selinux/policy/content.py	2007-11-06 19:59:44 UTC (rev 125)
+++ selinux-site/trunk/selinux.policy/selinux/policy/content.py	2007-11-09 18:40:08 UTC (rev 126)
@@ -135,5 +135,3 @@
             folder = getattr(site, newid)
             workflow.doActionFor(folder, 'publish')
             folder.indexObject()
-
-    print "C R E A T E F O L D E R S"

Added: selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.mo
===================================================================
(Binary files differ)


Property changes on: selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.mo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.po
===================================================================
--- selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.po	                        (rev 0)
+++ selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.po	2007-11-09 18:40:08 UTC (rev 126)
@@ -0,0 +1,18 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: selinux\n"
+"POT-Creation-Date: 2006-11-05 23:20+0000\n"
+"PO-Revision-Date: 2006-06-11 10:28+0300\n"
+"Last-Translator: \n"
+"Language-Team: <sv at li.org>\n"
+"MIME-Version: 1.0\n"
+"Domain: selinux\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+msgid "Beginner"
+msgstr "Nybörjare"
+
+msgid "about_organisation"
+msgstr "Om förenngen"


Property changes on: selinux-site/trunk/selinux.policy/selinux/policy/locales/sv/LC_MESSAGES/selinux.po
___________________________________________________________________
Name: svn:keywords
   + Id

Added: selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/actions.xml
===================================================================
--- selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/actions.xml	                        (rev 0)
+++ selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/actions.xml	2007-11-09 18:40:08 UTC (rev 126)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<object name="portal_actions" meta_type="Plone Actions Tool"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <object name="portal_tabs" meta_type="CMF Action Category">
+
+  <object name="home" meta_type="CMF Action" i18n:domain="plone">
+   <property name="title" i18n:translate="">Home</property>
+   <property
+      name="url_expr">string:${portal_url}/</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="Beginner" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Beginner</property>
+   <property
+      name="url_expr">string:${portal_url}/nyborjare</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="chat" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Chat</property>
+   <property
+      name="url_expr">string:${portal_url}/chat</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="dokumentation" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Dokumentation</property>
+   <property
+      name="url_expr">string:${portal_url}/dokument</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="forum" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Forum</property>
+   <property
+      name="url_expr">string:http://forum.se.linux.org</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="support" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Support</property>
+   <property
+      name="url_expr">string:${portal_url}/support</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="grupper" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">Arbetsgrupper</property>
+   <property
+      name="url_expr">string:${portal_url}/grupper</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+  <object name="about_organisation" meta_type="CMF Action" i18n:domain="selinux">
+   <property name="title" i18n:translate="">about_organisation</property>
+   <property
+      name="url_expr">string:${portal_url}/om</property>
+   <property name="permissions">
+    <element value="View"/>
+   </property>
+   <property name="visible">True</property>
+  </object>
+
+ </object>
+</object>

Modified: selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/propertiestool.xml
===================================================================
--- selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/propertiestool.xml	2007-11-06 19:59:44 UTC (rev 125)
+++ selinux-site/trunk/selinux.policy/selinux/policy/profiles/default/propertiestool.xml	2007-11-09 18:40:08 UTC (rev 126)
@@ -4,5 +4,6 @@
   <property name="default_language" type="string">sv</property>
   <property name="localTimeFormat" type="string">%Y-%m-%d</property>
   <property name="localLongTimeFormat" type="string">%Y-%m-%d %H:%M</property>
+  <property name="disable_folder_sections" type="boolean">True</property>
  </object>
 </object>




More information about the commits mailing list