]> err.no Git - sope/commitdiff
minor code cleanup
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 20 Jul 2005 08:19:11 +0000 (08:19 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 20 Jul 2005 08:19:11 +0000 (08:19 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@921 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/WEExtensions/ChangeLog
sope-appserver/WEExtensions/JSStringTable.m
sope-appserver/WEExtensions/Version

index 3d20e05df7424c95440e6a28313e4c297cbb2950..92c5b43f35df426512c02eb34f57bbc0222fbbf9 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-20  Helge Hess  <helge.hess@opengroupware.org>
+
+       * JSStringTable.m: use -resourceLookupLanguages on context (v4.5.77)
+
 2005-07-19  Helge Hess  <helge.hess@opengroupware.org>
 
        * v4.5.76
index 082e299b44cab7f3aa8dbeda2ce9284fc6c9e7b8..fac50ae3ed31da318ae497bd7b2c56354e6cd29e 100644 (file)
     if ([langs isKindOfClass:[NSString class]])
       langs = [(NSString *)langs componentsSeparatedByString:@","];
   }
-  else if ([_ctx hasSession])
-    langs = [[_ctx session] languages];
   else
-    langs = [[_ctx request] browserLanguages];
+    langs = [_ctx resourceLookupLanguages];
   
   if ((rm = [sComponent resourceManager]) == nil)
     rm = [[WOApplication application] resourceManager];
index 2a34764cc310970837d2a560d1c11b8904478bcb..765ffcd9d8a333dcbc7ba9a3552d4347477ec26f 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=76
+SUBMINOR_VERSION:=77
 
 # v4.5.76 requires libNGObjWeb v4.5.176
 # v4.5.75 requires libNGObjWeb v4.5.174