From 43f1031054f16eaaefeb26d1518b6f7bc0fdb31a Mon Sep 17 00:00:00 2001 From: Suha Can Date: Thu, 3 Jun 2010 15:47:35 -0700 Subject: [PATCH] - Adding localizers to admin menu providers. - A few missing localized strings and french translations were added. Need native french speakers to fully translate Orchard in french. --HG-- branch : dev --- .../Localization/en-US/orchard.core.po | 250 +++++++++++++++++ .../Localization/fr-FR/orchard.core.po | 252 +++++++++++++++++- src/Orchard.Web/Core/Dashboard/AdminMenu.cs | 8 +- src/Orchard.Web/Core/Navigation/AdminMenu.cs | 8 +- src/Orchard.Web/Core/Settings/AdminMenu.cs | 8 +- .../Modules/Orchard.Blogs/AdminMenu.cs | 13 +- .../Modules/Orchard.Comments/AdminMenu.cs | 9 +- .../Modules/Orchard.Media/AdminMenu.cs | 9 +- .../Modules/Orchard.MetaData/AdminMenu.cs | 6 +- .../Modules/Orchard.Modules/AdminMenu.cs | 11 +- .../Modules/Orchard.MultiTenancy/AdminMenu.cs | 11 +- .../Modules/Orchard.Pages/AdminMenu.cs | 11 +- .../Modules/Orchard.Roles/AdminMenu.cs | 10 +- .../Modules/Orchard.Tags/AdminMenu.cs | 8 +- .../Modules/Orchard.Themes/AdminMenu.cs | 8 +- .../Modules/Orchard.Users/AdminMenu.cs | 10 +- .../Orchard.Users/Views/Account/LogOn.ascx | 2 +- 17 files changed, 584 insertions(+), 50 deletions(-) diff --git a/src/Orchard.Web/Core/App_Data/Localization/en-US/orchard.core.po b/src/Orchard.Web/Core/App_Data/Localization/en-US/orchard.core.po index 7c354db9c..a459214e8 100644 --- a/src/Orchard.Web/Core/App_Data/Localization/en-US/orchard.core.po +++ b/src/Orchard.Web/Core/App_Data/Localization/en-US/orchard.core.po @@ -23,6 +23,21 @@ msgstr "[more]" msgid "Welcome to Orchard" msgstr "Welcome to Orchard" +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "The Orchard Team" +msgid "The Orchard Team" +msgstr "The Orchard Team" + +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”." +msgid "This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”." +msgstr "This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”." + +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "Have fun!" +msgid "Have fun!" +msgstr "Have fun!" + #: ~/Core/Navigation/Controllers/AdminController.cs #| msgid : "Not allowed to manage the main menu" msgid "Not allowed to manage the main menu" @@ -278,6 +293,16 @@ msgstr "Edit Post" msgid "Discard Draft" msgstr "Discard Draft" +#: ~/Modules/Orchard.Comments/AdminMenu.cs +#| msgid : "Comments" +msgid "Comments" +msgstr "Comments" + +#: ~/Modules/Orchard.Comments/AdminMenu.cs +#| msgid : "Manage Comments" +msgid "Manage Comments" +msgstr "Manage Comments" + #: ~/Modules/Orchard.Comments/Controllers/AdminController.cs #| msgid : "Listing comments failed: " msgid "Listing comments failed: " @@ -438,11 +463,36 @@ msgstr "Manage Comments" msgid "log on" msgstr "log on" +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Add a Comment" + +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "You must {0} to comment." + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Comments have been disabled for this content." + #: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "Hi, {0}!" msgid "Hi, {0}!" msgstr "Hi, {0}!" +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comment" +msgid "Comment" +msgstr "Comment" + +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Submit Comment" +msgid "Submit Comment" +msgstr "Submit Comment" + #: ~/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx #| msgid : "Comments are shown. Existing comments are displayed." msgid "Comments are shown. Existing comments are displayed." @@ -1748,11 +1798,41 @@ msgstr "User deleted" msgid "Access Denied" msgstr "Access Denied" +#: ~/Modules/Orchard.Users/Views/Account/AccessDenied.ascx +#| msgid : "You do not have permission to complete your request." +msgid "You do not have permission to complete your request." +msgstr "You do not have permission to complete your request." + #: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx #| msgid : "Change Password" msgid "Change Password" msgstr "Change Password" +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Use the form below to change your password." +msgid "Use the form below to change your password." +msgstr "Use the form below to change your password." + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "New passwords are required to be a minimum of {0} characters in length." +msgid "New passwords are required to be a minimum of {0} characters in length." +msgstr "New passwords are required to be a minimum of {0} characters in length." + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Current password:" +msgid "Current password:" +msgstr "Current password:" + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "New password:" +msgid "New password:" +msgstr "New password:" + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Confirm new password:" +msgid "Confirm new password:" +msgstr "Confirm new password:" + #: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx #| msgid : "Password change was unsuccessful. Please correct the errors and try again." msgid "Password change was unsuccessful. Please correct the errors and try again." @@ -1763,16 +1843,81 @@ msgstr "Password change was unsuccessful. Please correct the errors and try agai msgid "Change Password" msgstr "Change Password" +#: ~/Modules/Orchard.Users/Views/Account/ChangePasswordSuccess.ascx +#| msgid : "Your password has been changed successfully." +msgid "Your password has been changed successfully." +msgstr "Your password has been changed successfully." + #: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx #| msgid : "Login was unsuccessful. Please correct the errors and try again." msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "Login was unsuccessful. Please correct the errors and try again." +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Please enter your username and password." + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Register" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " if you don't have an account." + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Account Information" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Username or Email:" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Password:" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Remember me?" + #: ~/Modules/Orchard.Users/Views/Account/Register.ascx #| msgid : "Create a New Account" msgid "Create a New Account" msgstr "Create a New Account" +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Use the form below to create a new account." +msgid "Use the form below to create a new account." +msgstr "Use the form below to create a new account." + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Passwords are required to be a minimum of {0} characters in length." +msgid "Passwords are required to be a minimum of {0} characters in length." +msgstr "Passwords are required to be a minimum of {0} characters in length." + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Username:" +msgid "Username:" +msgstr "Username:" + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Email:" +msgid "Email:" +msgstr "Email: + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Confirm password:" +msgid "Confirm password:" +msgstr "Confirm password:" + #: ~/Modules/Orchard.Users/Views/Account/Register.ascx #| msgid : "Account creation was unsuccessful. Please correct the errors and try again." msgid "Account creation was unsuccessful. Please correct the errors and try again." @@ -1823,6 +1968,41 @@ msgstr "nobody(?)" msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "Login was unsuccessful. Please correct the errors and try again." +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Please enter your username and password." + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Register" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " if you don't have an account." + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Account Information" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Username or Email:" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Password:" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Remember me?" + #: ~/Themes/Contoso/Views/User.ascx #| msgid : "Log Off" msgid "Log Off" @@ -1848,6 +2028,21 @@ msgstr "Archives" msgid "log on" msgstr "log on" +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Add a Comment" + +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "You must {0} to comment." + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Comments have been disabled for this content." + #: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "Hi, {0}!" msgid "Hi, {0}!" @@ -1863,6 +2058,41 @@ msgstr "nobody(?)" msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "Login was unsuccessful. Please correct the errors and try again." +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Please enter your username and password." + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Register" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " if you don't have an account." + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Account Information" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Username or Email:" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Password:" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Remember me?" + #: ~/Themes/Corporate/Views/User.ascx #| msgid : "Log Off" msgid "Log Off" @@ -1893,6 +2123,21 @@ msgstr "log on" msgid "Hi, {0}!" msgstr "Hi, {0}!" +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Add a Comment" + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "You must {0} to comment." + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Comments have been disabled for this content." + #: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Pages.Page.Metadata.ascx #| msgid : "nobody(?)" msgid "nobody(?)" @@ -1918,6 +2163,11 @@ msgstr "Your Site" msgid "Logout" msgstr "Logout" +#: ~/Themes/TheAdmin/Views/User.ascx +#| msgid : "User:" +msgid "User:" +msgstr "User:" + #: ~/Commands/DefaultOrchardCommandHandler.cs #| msgid : "Switch was not found: " msgid "Switch was not found: " diff --git a/src/Orchard.Web/Core/App_Data/Localization/fr-FR/orchard.core.po b/src/Orchard.Web/Core/App_Data/Localization/fr-FR/orchard.core.po index a469a4511..66a0c6db2 100644 --- a/src/Orchard.Web/Core/App_Data/Localization/fr-FR/orchard.core.po +++ b/src/Orchard.Web/Core/App_Data/Localization/fr-FR/orchard.core.po @@ -23,6 +23,21 @@ msgstr "[En voir plus]" msgid "Welcome to Orchard" msgstr "Bienvenue dans Orchard" +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "The Orchard Team" +msgid "The Orchard Team" +msgstr "L'Equipe Orchard" + +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”." +msgid "This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”." +msgstr "C'est l'endroit pour la gestion de votre site, son apparence et son contenu. Veuillez prendre votre temps explorer le menu à gauche de l'écran pour vous familiariser avec les aspects de l'application. Par exemple, essayez de changer le thème en utilisant le menu “Manage Themes”. Vous pouvez aussi créer de nouvelles pages et gérer les pages existantes via le menu “Manage Pages” ou bien créer des blogs via “Manage Blogs”." + +#: ~/Core/Dashboard/Views/Admin/Index.ascx +#| msgid : "Have fun!" +msgid "Have fun!" +msgstr "Amusez-vous bien!" + #: ~/Core/Navigation/Controllers/AdminController.cs #| msgid : "Not allowed to manage the main menu" msgid "Not allowed to manage the main menu" @@ -278,6 +293,16 @@ msgstr "Modifier un billet" msgid "Discard Draft" msgstr "Effacer le brouillon" +#: ~/Modules/Orchard.Comments/AdminMenu.cs +#| msgid : "Comments" +msgid "Comments" +msgstr "Commentaires" + +#: ~/Modules/Orchard.Comments/AdminMenu.cs +#| msgid : "Manage Comments" +msgid "Manage Comments" +msgstr "Gérer les Commentaires" + #: ~/Modules/Orchard.Comments/Controllers/AdminController.cs #| msgid : "Listing comments failed: " msgid "Listing comments failed: " @@ -436,13 +461,38 @@ msgstr "Gérer les commentaires" #: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "log on" msgid "log on" -msgstr "S'authentifier" +msgstr "s'authentifier" + +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Ajouter un commentaire" + +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "Vous devez {0} pour ajouter un commentaire." + +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Les commentaires ont été désactivés pour ce contenu." #: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "Hi, {0}!" msgid "Hi, {0}!" msgstr "Bonjour {0}!" +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comment" +msgid "Comment" +msgstr "Commentaire" + +#: ~/Modules/Orchard.Comments/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Submit Comment" +msgid "Submit Comment" +msgstr "Envoyer le commentaire" + #: ~/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.HasComments.ascx #| msgid : "Comments are shown. Existing comments are displayed." msgid "Comments are shown. Existing comments are displayed." @@ -1748,11 +1798,41 @@ msgstr "Utilisateur effacé" msgid "Access Denied" msgstr "Accès refusé" +#: ~/Modules/Orchard.Users/Views/Account/AccessDenied.ascx +#| msgid : "You do not have permission to complete your request." +msgid "You do not have permission to complete your request." +msgstr "Vous n'avez pas la permission de compléter votre requête" + #: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx #| msgid : "Change Password" msgid "Change Password" msgstr "Changer le mot de passe" +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Use the form below to change your password." +msgid "Use the form below to change your password." +msgstr "Utilisez le forumulaire ci-dessous pour changer votre mot de passe." + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "New passwords are required to be a minimum of {0} characters in length." +msgid "New passwords are required to be a minimum of {0} characters in length." +msgstr "Les mots de passe doivent contenir {0} charactères au minimum." + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Current password:" +msgid "Current password:" +msgstr "Mot de passe courant:" + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "New password:" +msgid "New password:" +msgstr "Nouveau mot de passe:" + +#: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx +#| msgid : "Confirm new password:" +msgid "Confirm new password:" +msgstr "Confirmez le nouveau mot de passe:" + #: ~/Modules/Orchard.Users/Views/Account/ChangePassword.ascx #| msgid : "Password change was unsuccessful. Please correct the errors and try again." msgid "Password change was unsuccessful. Please correct the errors and try again." @@ -1763,16 +1843,81 @@ msgstr "Le changement de mot de passe a échoué. Veuillez corriger les erreurs msgid "Change Password" msgstr "Changer le mot de passe" +#: ~/Modules/Orchard.Users/Views/Account/ChangePasswordSuccess.ascx +#| msgid : "Your password has been changed successfully." +msgid "Your password has been changed successfully." +msgstr "Votre mot de passe a été changé." + #: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx #| msgid : "Login was unsuccessful. Please correct the errors and try again." msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "La connexion a échoué. Veuillez corriger les erreurs et réessayer." +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Veuillez saisir votre nom d'utilisateur et mot de passe." + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Enregistrer" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " si vous n'avez pas de compte." + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Données de Compte" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Nom d'utilisateur ou e-mail:" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Mot de passe:" + +#: ~/Modules/Orchard.Users/Views/Account/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Souviens-moi?" + #: ~/Modules/Orchard.Users/Views/Account/Register.ascx #| msgid : "Create a New Account" msgid "Create a New Account" msgstr "Créer un nouveau compte utilisateur" +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Use the form below to create a new account." +msgid "Use the form below to create a new account." +msgstr "Utiliser le formulaire ci-dessous pour créer un nouveau compte." + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Passwords are required to be a minimum of {0} characters in length." +msgid "Passwords are required to be a minimum of {0} characters in length." +msgstr "Les mots de passe doivent contenir {0} charactères au minimum." + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Username:" +msgid "Username:" +msgstr "Nom d'utilisateur:" + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Email:" +msgid "Email:" +msgstr "E-mail: + +#: ~/Modules/Orchard.Users/Views/Account/Register.ascx +#| msgid : "Confirm password:" +msgid "Confirm password:" +msgstr "Confirmez le mot de passe:" + #: ~/Modules/Orchard.Users/Views/Account/Register.ascx #| msgid : "Account creation was unsuccessful. Please correct the errors and try again." msgid "Account creation was unsuccessful. Please correct the errors and try again." @@ -1823,6 +1968,41 @@ msgstr "personne(?)" msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "La connexion a échoué. Veuillez corriger les erreurs et réessayer." +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Veuillez saisir votre nom d'utilisateur et mot de passe." + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Enregistrer" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " si vous n'avez pas de compte." + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Données de Compte" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Nom d'utilisateur ou e-mail:" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Mot de passe:" + +#: ~/Themes/Contoso/Views/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Souviens-moi?" + #: ~/Themes/Contoso/Views/User.ascx #| msgid : "Log Off" msgid "Log Off" @@ -1848,6 +2028,21 @@ msgstr "Archives" msgid "log on" msgstr "se connecter" +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Ajouter un commentaire" + +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "Vous devez {0} pour ajouter un commentaire." + +#: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Les commentaires ont été désactivés pour ce contenu." + #: ~/Themes/Contoso/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "Hi, {0}!" msgid "Hi, {0}!" @@ -1863,6 +2058,41 @@ msgstr "personne(?)" msgid "Login was unsuccessful. Please correct the errors and try again." msgstr "La connexion a échoué. Veuillez corriger les erreurs et réessayer." +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Please enter your username and password." +msgid "Please enter your username and password." +msgstr "Veuillez saisir votre nom d'utilisateur et mot de passe." + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Register" +msgid "Register" +msgstr "Enregistrer" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : " if you don't have an account." +msgid " if you don't have an account." +msgstr " si vous n'avez pas de compte." + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Account Information" +msgid "Account Information" +msgstr "Données de Compte" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Username or Email:" +msgid "Username or Email:" +msgstr "Nom d'utilisateur ou e-mail:" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Password:" +msgid "Password:" +msgstr "Mot de passe:" + +#: ~/Themes/Corporate/Views/LogOn.ascx +#| msgid : "Remember me?" +msgid "Remember me?" +msgstr "Souviens-moi?" + #: ~/Themes/Corporate/Views/User.ascx #| msgid : "Log Off" msgid "Log Off" @@ -1888,6 +2118,21 @@ msgstr "Archives" msgid "log on" msgstr "se connecter" +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Add a Comment" +msgid "Add a Comment" +msgstr "Ajouter un commentaire" + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "You must {0} to comment." +msgid "You must {0} to comment." +msgstr "Vous devez {0} pour ajouter un commentaire." + +#: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx +#| msgid : "Comments have been disabled for this content." +msgid "Comments have been disabled for this content." +msgstr "Les commentaires ont été désactivés pour ce contenu." + #: ~/Themes/Corporate/Views/DisplayTemplates/Parts/Comments.HasComments.ascx #| msgid : "Hi, {0}!" msgid "Hi, {0}!" @@ -1918,6 +2163,11 @@ msgstr "Votre site" msgid "Logout" msgstr "Déconnexion" +#: ~/Themes/TheAdmin/Views/User.ascx +#| msgid : "User:" +msgid "User:" +msgstr "Utilisateur:" + #: ~/Commands/DefaultOrchardCommandHandler.cs #| msgid : "Switch was not found: " msgid "Switch was not found: " diff --git a/src/Orchard.Web/Core/Dashboard/AdminMenu.cs b/src/Orchard.Web/Core/Dashboard/AdminMenu.cs index 7b5dc0123..d960f6400 100644 --- a/src/Orchard.Web/Core/Dashboard/AdminMenu.cs +++ b/src/Orchard.Web/Core/Dashboard/AdminMenu.cs @@ -1,13 +1,15 @@ -using Orchard.Security; +using Orchard.Localization; +using Orchard.Security; using Orchard.UI.Navigation; namespace Orchard.Core.Dashboard { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Orchard", "0", - menu => menu.Add("Dashboard", "0", item => item.Action("Index", "Admin", new { area = "Dashboard" }).Permission(StandardPermissions.AccessAdminPanel))); + builder.Add(T("Orchard"), "0", + menu => menu.Add(T("Dashboard"), "0", item => item.Action("Index", "Admin", new { area = "Dashboard" }).Permission(StandardPermissions.AccessAdminPanel))); } } } \ No newline at end of file diff --git a/src/Orchard.Web/Core/Navigation/AdminMenu.cs b/src/Orchard.Web/Core/Navigation/AdminMenu.cs index 0b46da08e..e95ddf1d2 100644 --- a/src/Orchard.Web/Core/Navigation/AdminMenu.cs +++ b/src/Orchard.Web/Core/Navigation/AdminMenu.cs @@ -1,13 +1,15 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Core.Navigation { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Site", "12", + builder.Add(T("Site"), "12", menu => menu - .Add("Manage Menu", "6.0", item => item.Action("Index", "Admin", new { area = "Navigation" }).Permission(Permissions.ManageMainMenu))); + .Add(T("Manage Menu"), "6.0", item => item.Action("Index", "Admin", new { area = "Navigation" }).Permission(Permissions.ManageMainMenu))); } } } diff --git a/src/Orchard.Web/Core/Settings/AdminMenu.cs b/src/Orchard.Web/Core/Settings/AdminMenu.cs index 498f3266e..01f32cd77 100644 --- a/src/Orchard.Web/Core/Settings/AdminMenu.cs +++ b/src/Orchard.Web/Core/Settings/AdminMenu.cs @@ -1,13 +1,15 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Core.Settings { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Site", "11", + builder.Add(T("Site"), "11", menu => menu - .Add("Manage Settings", "2.0", item => item.Action("Index", "Admin", new { area = "Settings" }).Permission(Permissions.ManageSettings))); + .Add(T("Manage Settings"), "2.0", item => item.Action("Index", "Admin", new { area = "Settings" }).Permission(Permissions.ManageSettings))); } } } diff --git a/src/Orchard.Web/Modules/Orchard.Blogs/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Blogs/AdminMenu.cs index d692251d9..807ba6336 100644 --- a/src/Orchard.Web/Modules/Orchard.Blogs/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Blogs/AdminMenu.cs @@ -1,5 +1,6 @@ using System.Linq; using Orchard.Blogs.Services; +using Orchard.Localization; using Orchard.UI.Navigation; namespace Orchard.Blogs { @@ -10,10 +11,12 @@ namespace Orchard.Blogs { _blogService = blogService; } + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Blogs", "2", BuildMenu); + builder.Add(T("Blogs"), "2", BuildMenu); } private void BuildMenu(NavigationItemBuilder menu) { @@ -22,20 +25,20 @@ namespace Orchard.Blogs { var singleBlog = blogCount == 1 ? blogs.ElementAt(0) : null; if (blogCount > 0 && singleBlog == null) - menu.Add("Manage Blogs", "1.0", + menu.Add(T("Manage Blogs"), "1.0", item => item.Action("List", "BlogAdmin", new {area = "Orchard.Blogs"}).Permission(Permissions.MetaListBlogs)); else if (singleBlog != null) - menu.Add("Manage Blog", "1.0", + menu.Add(T("Manage Blog"), "1.0", item => item.Action("Item", "BlogAdmin", new {area = "Orchard.Blogs", blogSlug = singleBlog.Slug}).Permission(Permissions.MetaListBlogs)); - menu.Add("Add New Blog", "1.1", + menu.Add(T("Add New Blog"), "1.1", item => item.Action("Create", "BlogAdmin", new {area = "Orchard.Blogs"}).Permission(Permissions.ManageBlogs)); if (singleBlog != null) - menu.Add("Add New Post", "1.2", + menu.Add(T("Add New Post"), "1.2", item => item.Action("Create", "BlogPostAdmin", new {area = "Orchard.Blogs", blogSlug = singleBlog.Slug}).Permission(Permissions.PublishBlogPost)); } diff --git a/src/Orchard.Web/Modules/Orchard.Comments/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Comments/AdminMenu.cs index fea261884..583ae82e2 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Comments/AdminMenu.cs @@ -1,13 +1,16 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Comments { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Comments", "3", + builder.Add(T("Comments"), "3", menu => menu - .Add("Manage Comments", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Comments" }).Permission(Permissions.ManageComments)) + .Add(T("Manage Comments"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Comments" }).Permission(Permissions.ManageComments)) ); } } diff --git a/src/Orchard.Web/Modules/Orchard.Media/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Media/AdminMenu.cs index 8bc691067..f81ed3319 100644 --- a/src/Orchard.Web/Modules/Orchard.Media/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Media/AdminMenu.cs @@ -1,13 +1,16 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Media { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Media", "4", + builder.Add(T("Media"), "4", menu => menu - .Add("Manage Media", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Media" }).Permission(Permissions.ManageMediaFiles)) + .Add(T("Manage Media"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Media" }).Permission(Permissions.ManageMediaFiles)) ); } } diff --git a/src/Orchard.Web/Modules/Orchard.MetaData/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.MetaData/AdminMenu.cs index ad2c436d5..24956fde2 100644 --- a/src/Orchard.Web/Modules/Orchard.MetaData/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.MetaData/AdminMenu.cs @@ -1,16 +1,18 @@  +using Orchard.Localization; using Orchard.UI.Navigation; namespace Orchard.MetaData { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Content Types", "5", + builder.Add(T("Content Types"), "5", menu => menu - .Add("Content Types", "1.0", item => item.Action("ContentTypeList", "MetaData", new { area = "Orchard.MetaData" }).Permission(Permissions.ManageMetaData)) + .Add(T("Content Types"), "1.0", item => item.Action("ContentTypeList", "MetaData", new { area = "Orchard.MetaData" }).Permission(Permissions.ManageMetaData)) ); } diff --git a/src/Orchard.Web/Modules/Orchard.Modules/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Modules/AdminMenu.cs index 9db153432..6ac566a6f 100644 --- a/src/Orchard.Web/Modules/Orchard.Modules/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Modules/AdminMenu.cs @@ -1,15 +1,18 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Modules { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Features", "10", + builder.Add(T("Features"), "10", menu => menu - .Add("Manage Features", "1.0", item => item.Action("Features", "Admin", new { area = "Orchard.Modules" }) + .Add(T("Manage Features"), "1.0", item => item.Action("Features", "Admin", new { area = "Orchard.Modules" }) .Permission(Permissions.ManageFeatures)) - .Add("Installed Modules", "2.0", item => item.Action("Index", "Admin", new { area = "Orchard.Modules" }) + .Add(T("Installed Modules"), "2.0", item => item.Action("Index", "Admin", new { area = "Orchard.Modules" }) .Permission(Permissions.ManageModules))); } } diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.MultiTenancy/AdminMenu.cs index aab63b491..5eca44687 100644 --- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/AdminMenu.cs @@ -1,14 +1,17 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.MultiTenancy { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Tenants", "22", + builder.Add(T("Tenants"), "22", menu => menu - .Add("Manage Tenants", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.MultiTenancy" }).Permission(Permissions.ManageTenants)) - .Add("Add New Tenant", "1.1", item => item.Action("Add", "Admin", new { area = "Orchard.MultiTenancy" }).Permission(Permissions.ManageTenants))); + .Add(T("Manage Tenants"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.MultiTenancy" }).Permission(Permissions.ManageTenants)) + .Add(T("Add New Tenant"), "1.1", item => item.Action("Add", "Admin", new { area = "Orchard.MultiTenancy" }).Permission(Permissions.ManageTenants))); } } } diff --git a/src/Orchard.Web/Modules/Orchard.Pages/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Pages/AdminMenu.cs index 4a184c6c6..8467d8040 100644 --- a/src/Orchard.Web/Modules/Orchard.Pages/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Pages/AdminMenu.cs @@ -1,4 +1,5 @@ -using Orchard.Pages.Services; +using Orchard.Localization; +using Orchard.Pages.Services; using Orchard.UI.Navigation; namespace Orchard.Pages { @@ -9,19 +10,21 @@ namespace Orchard.Pages { _pageService = pageService; } + public Localizer T { get; set; } + public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Pages", "1", BuildMenu); + builder.Add(T("Pages"), "1", BuildMenu); } private void BuildMenu(NavigationItemBuilder menu) { if (_pageService.GetCount() > 0) - menu.Add("Manage Pages", "1.0", + menu.Add(T("Manage Pages"), "1.0", item => item.Action("List", "Admin", new {area = "Orchard.Pages"}).Permission(Permissions.MetaListPages)); - menu.Add("Add New Page", "1.1", + menu.Add(T("Add New Page"), "1.1", item => item.Action("Create", "Admin", new {area = "Orchard.Pages"}).Permission(Permissions.EditPages)); } diff --git a/src/Orchard.Web/Modules/Orchard.Roles/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Roles/AdminMenu.cs index 6792b3021..b4373bb74 100644 --- a/src/Orchard.Web/Modules/Orchard.Roles/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Roles/AdminMenu.cs @@ -1,14 +1,16 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Roles { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Users", "5", + builder.Add(T("Users"), "5", menu => menu - .Add("Manage Roles", "2.0", item => item.Action("Index", "Admin", new { area = "Orchard.Roles" }).Permission(Permissions.ManageRoles)) - .Add("Add New Role", "2.1", item => item.Action("Create", "Admin", new { area = "Orchard.Roles" }).Permission(Permissions.ManageRoles))); + .Add(T("Manage Roles"), "2.0", item => item.Action("Index", "Admin", new { area = "Orchard.Roles" }).Permission(Permissions.ManageRoles)) + .Add(T("Add New Role"), "2.1", item => item.Action("Create", "Admin", new { area = "Orchard.Roles" }).Permission(Permissions.ManageRoles))); } } } diff --git a/src/Orchard.Web/Modules/Orchard.Tags/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Tags/AdminMenu.cs index 231e0a696..43c57efce 100644 --- a/src/Orchard.Web/Modules/Orchard.Tags/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Tags/AdminMenu.cs @@ -1,13 +1,15 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Tags { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Tags", "3", + builder.Add(T("Tags"), "3", menu => menu - .Add("Manage Tags", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Tags" }).Permission(Permissions.ManageTags)) + .Add(T("Manage Tags"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Tags" }).Permission(Permissions.ManageTags)) ); } } diff --git a/src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs index 80889c706..52fb1e02c 100644 --- a/src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs @@ -1,13 +1,15 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Themes { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Site", "11", + builder.Add(T("Site"), "11", menu => menu - .Add("Manage Themes", "4.0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" }) + .Add(T("Manage Themes"), "4.0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" }) .Permission(Permissions.ManageThemes).Permission(Permissions.ApplyTheme))); } } diff --git a/src/Orchard.Web/Modules/Orchard.Users/AdminMenu.cs b/src/Orchard.Web/Modules/Orchard.Users/AdminMenu.cs index ff3b75ad1..874e2e95a 100644 --- a/src/Orchard.Web/Modules/Orchard.Users/AdminMenu.cs +++ b/src/Orchard.Web/Modules/Orchard.Users/AdminMenu.cs @@ -1,14 +1,16 @@ -using Orchard.UI.Navigation; +using Orchard.Localization; +using Orchard.UI.Navigation; namespace Orchard.Users { public class AdminMenu : INavigationProvider { + public Localizer T { get; set; } public string MenuName { get { return "admin"; } } public void GetNavigation(NavigationBuilder builder) { - builder.Add("Users", "5", + builder.Add(T("Users"), "5", menu => menu - .Add("Manage Users", "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Users" }).Permission(Permissions.ManageUsers)) - .Add("Add New User", "1.1", item => item.Action("Create", "Admin", new { area = "Orchard.Users" }).Permission(Permissions.ManageUsers))); + .Add(T("Manage Users"), "1.0", item => item.Action("Index", "Admin", new { area = "Orchard.Users" }).Permission(Permissions.ManageUsers)) + .Add(T("Add New User"), "1.1", item => item.Action("Create", "Admin", new { area = "Orchard.Users" }).Permission(Permissions.ManageUsers))); } } } diff --git a/src/Orchard.Web/Modules/Orchard.Users/Views/Account/LogOn.ascx b/src/Orchard.Web/Modules/Orchard.Users/Views/Account/LogOn.ascx index 71020cb5d..c6813f5cc 100644 --- a/src/Orchard.Web/Modules/Orchard.Users/Views/Account/LogOn.ascx +++ b/src/Orchard.Web/Modules/Orchard.Users/Views/Account/LogOn.ascx @@ -1,7 +1,7 @@ <%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %> <%@ Import Namespace="Orchard.Users.ViewModels"%>

<%=Html.TitleForPage(Model.Title)%>

-

<%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=_Encoded(" if you don't have an account.")%>

+

<%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink(T("Register"), "Register")%><%=_Encoded(" if you don't have an account.")%>

<%= Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString())%> <% using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new {ReturnUrl = Request.QueryString["ReturnUrl"]}))) { %>