Monotone-Parent: 006ff807d8307c52defea735313008dfe94862db

Monotone-Revision: da8c27f53557345f2f6856fdca0d8fabd1d3bdef

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-20T03:21:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-08-20 03:21:33 +00:00
parent 92a24808bd
commit 342662549e
20 changed files with 142 additions and 308 deletions
+6 -1
View File
@@ -7,4 +7,9 @@
"Connect" = "Connect";
"Wrong username or password." = "Wrong username or password.";
"Wrong username or password." = "Wrong username or password.";
"browserNotCompatible" = "We've detected that your browser version is currently not supported on this site. Our recommendation is to use Firefox. Click on the link bellow to download the most current version of this browser.";
"alternativeBrowsers" = "Alternatively, you can also use the following compatible browsers";
"alternativeBrowserSafari" = "Alternatively, you can also use Safari.";
"Download" = "Download";
+6 -1
View File
@@ -7,4 +7,9 @@
"Connect" = "Connexion";
"Wrong username or password." = "Mauvais nom d'utilisateur ou mot de passe.";
"Wrong username or password." = "Mauvais nom d'utilisateur ou mot de passe.";
"browserNotCompatible" = "La version de votre navigateur Web n'est présentement pas supportée par ce site. Nous recommandons d'utiliser Firefox. Vous trouverez un lien vers la plus récente version de ce navigateur ci-dessous:";
"alternativeBrowsers" = "Comme alternative, vous pouvez aussi utiliser les navigateurs suivants:";
"alternativeBrowserSafari" = "Comme alternative, vous pouvez aussi utiliser Safari.";
"Download" = "Télécharger";
+2 -1
View File
@@ -11,7 +11,8 @@ MainUI_LANGUAGES = Dutch English French German Italian Spanish
MainUI_OBJC_FILES += \
MainUIProduct.m \
SOGoRootPage.m \
SOGoUserHomePage.m
SOGoUserHomePage.m \
SOGoBrowsersPanel.m \
# SOGoGroupPage.m \
# SOGoGroupsPage.m \
@@ -8,3 +8,8 @@
"Connect" = "Entra";
"Wrong username or password." = "Username o password non corretti.";
"browserNotCompatible" = "La versione del browser utilizzato non è supportata. Raccomandiamo l'utilizzo di Firefox. Clicca sul link per scaricarne l'ultima versione disponibile.";
"alternativeBrowsers" = "Alternativamente, puoi utilizzare questi browser compatibili";
"alternativeBrowserSafari" = "Alternativamente, puoi utilizzare Safari.";
"Download" = "Scarica";
+30
View File
@@ -0,0 +1,30 @@
/* SOGoBrowsersPanel.h - this file is part of SOGo
*
* Copyright (C) 2008 Inverse
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <SOGoUI/UIxComponent.h>
@interface SOGoBrowsersPanel : UIxComponent
- (BOOL) isIE7Compatible;
- (BOOL) isMac;
@end
+51
View File
@@ -0,0 +1,51 @@
/* SOGoBrowsersPanel.m - this file is part of SOGo
*
* Copyright (C) 2008 Inverse
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <NGObjWeb/WEClientCapabilities.h>
#import <NGObjWeb/WOContext.h>
#import <NGObjWeb/WORequest.h>
#import "SOGoBrowsersPanel.h"
@implementation SOGoBrowsersPanel
- (BOOL) isIE7Compatible
{
WEClientCapabilities *cc;
cc = [[context request] clientCapabilities];
return ([cc isWindowsBrowser] &&
([[cc userAgent] rangeOfString: @"NT 5.1"].location != NSNotFound ||
[[cc userAgent] rangeOfString: @"NT 6"].location != NSNotFound));
}
- (BOOL) isMac
{
WEClientCapabilities *cc;
cc = [[context request] clientCapabilities];
return [cc isMacBrowser];
}
@end
@@ -11,3 +11,8 @@
"Connect" = "Conectar";
"Wrong username or password." = "Nombre de usuario o contraseña incorrectos.";
"browserNotCompatible" = "Hemos detectado que este sistema no soporta su versión del navegador. Recomendamos usar Firefox. Haga clic en el siguiente enlace para descargar la versión más reciente de este navegador.";
"alternativeBrowsers" = "Alternativamente, también puede usar uno se los siguientes navegadores compatibles: ";
"alternativeBrowserSafari" = "Alternativamente, puede usar Safari.";
"Download" = "Descarga";