[CalendarServer-changes] [15690] CalendarServer/trunk/twistedcaldav/stdconfig.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 22 14:47:05 PDT 2016


Revision: 15690
          http://trac.calendarserver.org//changeset/15690
Author:   sagen at apple.com
Date:     2016-06-22 14:47:05 -0700 (Wed, 22 Jun 2016)
Log Message:
-----------
Write localization files into DataRoot

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/stdconfig.py

Modified: CalendarServer/trunk/twistedcaldav/stdconfig.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/stdconfig.py	2016-06-22 21:30:32 UTC (rev 15689)
+++ CalendarServer/trunk/twistedcaldav/stdconfig.py	2016-06-22 21:47:05 UTC (rev 15690)
@@ -935,7 +935,7 @@
     #
     "Localization" : {
         "TranslationsDirectory" : "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/share/translations",
-        "LocalesDirectory" : "/Applications/Server.app/Contents/ServerRoot/usr/share/caldavd/share/locales",
+        "LocalesDirectory" : "locales", # will be relative to DataRoot
         "Language" : "",
     },
 
@@ -1243,6 +1243,7 @@
     ("DataRoot", "DatabaseRoot"),
     ("DataRoot", "AttachmentsRoot"),
     ("DataRoot", ("TimezoneService", "BasePath",)),
+    ("DataRoot", ("Localization", "LocalesDirectory",)),
     ("ConfigRoot", ("Scheduling", "iSchedule", "DNSDebug",)),
     ("ConfigRoot", ("Scheduling", "iSchedule", "DKIM", "PrivateKeyFile",)),
     ("ConfigRoot", ("Scheduling", "iSchedule", "DKIM", "PublicKeyFile",)),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160622/b2fe3b22/attachment.html>


More information about the calendarserver-changes mailing list