From 32842be3094237d6dffe41b52b24b2d04f85576e Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 12 Dec 2016 20:17:20 +0500 Subject: Multiple Ui improvements (#4767) * PLT-4911 - Adding new target for OAuth help links * PLT-4953 - Fixing styles for the unread messages indicator * PLT-4901 - Fixing header modal overlap on mobile * PLT-4916 - Swapping position of edit and delete --- webapp/components/admin_console/oauth_settings.jsx | 4 +- .../post_view/components/new_message_indicator.jsx | 9 ++- webapp/components/rhs_comment.jsx | 38 +++++----- webapp/components/rhs_root_post.jsx | 32 ++++----- webapp/i18n/de.json | 6 +- webapp/i18n/en.json | 6 +- webapp/i18n/es.json | 6 +- webapp/i18n/fr.json | 6 +- webapp/i18n/ja.json | 6 +- webapp/i18n/ko.json | 6 +- webapp/i18n/nl.json | 6 +- webapp/i18n/pt-BR.json | 6 +- webapp/i18n/ru.json | 6 +- webapp/i18n/zh_CN.json | 6 +- webapp/i18n/zh_TW.json | 6 +- webapp/sass/layout/_post.scss | 84 ++++++++++++---------- webapp/sass/responsive/_mobile.scss | 5 ++ webapp/utils/utils.jsx | 7 +- 18 files changed, 127 insertions(+), 118 deletions(-) diff --git a/webapp/components/admin_console/oauth_settings.jsx b/webapp/components/admin_console/oauth_settings.jsx index 716889401..9a86abfa0 100644 --- a/webapp/components/admin_console/oauth_settings.jsx +++ b/webapp/components/admin_console/oauth_settings.jsx @@ -385,7 +385,7 @@ export default class OAuthSettings extends AdminSettings { helpText = ( ); } else if (this.state.oauthType === Constants.OFFICE365_SERVICE) { @@ -393,7 +393,7 @@ export default class OAuthSettings extends AdminSettings { helpText = ( ); } diff --git a/webapp/components/post_view/components/new_message_indicator.jsx b/webapp/components/post_view/components/new_message_indicator.jsx index 35a299462..f9bd17bd7 100644 --- a/webapp/components/post_view/components/new_message_indicator.jsx +++ b/webapp/components/post_view/components/new_message_indicator.jsx @@ -21,7 +21,7 @@ export default class NewMessageIndicator extends React.Component { } } render() { - let className = 'nav-pills__unread-indicator-bottom'; + let className = 'new-messages__button'; if (this.state.visible > 0) { className += ' visible'; } @@ -31,20 +31,19 @@ export default class NewMessageIndicator extends React.Component { return (
- +
- +
); } diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx index 8b5d56c01..c699fb353 100644 --- a/webapp/components/rhs_comment.jsx +++ b/webapp/components/rhs_comment.jsx @@ -166,49 +166,49 @@ export default class RhsComment extends React.Component { ); - if (isOwner) { + if (isOwner || isAdmin) { dropdownContents.push(
  • { + e.preventDefault(); + GlobalActions.showDeletePostModal(post, 0); + }} >
  • ); } - if (isOwner || isAdmin) { + if (isOwner) { dropdownContents.push(
  • { - e.preventDefault(); - GlobalActions.showDeletePostModal(post, 0); - }} + data-toggle='modal' + data-target='#edit_post' + data-refocusid='#reply_textbox' + data-title={Utils.localizeMessage('rhs_comment.comment', 'Comment')} + data-message={post.message} + data-postid={post.id} + data-channelid={post.channel_id} >
  • diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index d871ad2a9..4a15127a0 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -185,46 +185,46 @@ export default class RhsRootPost extends React.Component { ); - if (isOwner && !isSystemMessage) { + if (isOwner || isAdmin) { dropdownContents.push(
  • GlobalActions.showDeletePostModal(post, this.props.commentCount)} >
  • ); } - if (isOwner || isAdmin) { + if (isOwner && !isSystemMessage) { dropdownContents.push(
  • GlobalActions.showDeletePostModal(post, this.props.commentCount)} + data-toggle='modal' + data-target='#edit_post' + data-refocusid='#reply_textbox' + data-title={type} + data-message={post.message} + data-postid={post.id} + data-channelid={post.channel_id} >
  • diff --git a/webapp/i18n/de.json b/webapp/i18n/de.json index d77111fff..eca1cc365 100644 --- a/webapp/i18n/de.json +++ b/webapp/i18n/de.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Geben Sie https:///api/v3/user ein. Stellen Sie sicher, dass Sie, abhängig von Ihrer Serverkonfiguration, HTTP oder HTTPS in der URL verwenden.", "admin.gitlab.userExample": "z.B.: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "API Endpunkt des Nutzers:", - "admin.google.EnableHtmlDesc": "
    1. Mit Google Account anmelden.
    2. Wechseln Sie zu https://console.developers.google.com, klicken Sie auf Zugangsdaten in der linken Sidebad und geben Mattermost - als Projektnamen an.
    3. Klicken Sie die OAuth-Zustimmungsbildschirm Überschrift an und geben Mattermost als den Produktname, der Nutzern gezeigt wird. Klicken Sie auf Speichern.
    4. Unter der Anmeldedaten Überschrift klicken Sie auf Anmeldedaten erstellen, wählen OAuth-Client-ID aus und selektieren Webanwendung.
    5. Bei den Einschränkungen und den Autorisierte Weiterleitungs-URIs geben Sie /signup/google/complete (zum Beispiel: http://localhost:8065/signup/google/complete) ein. Klicken Sie auf Erstellen.
    6. Speichern Sie die Client-ID und den Clientschlüssel um später die unteren Felder auszufüllen.
    7. Abschließend wechseln Sie zu Google+ API und klicken auf Aktivieren. Dies kann einige Minuten dauern bis die Änderung durch Googles Systeme propagiert sind.
    8. Vervollständigen Sie die Client-ID und Clientschlüssel Felder unten.
    ", + "admin.google.EnableHtmlDesc": "
    1. Mit Google Account anmelden.
    2. Wechseln Sie zu https://console.developers.google.com, klicken Sie auf Zugangsdaten in der linken Sidebad und geben Mattermost - als Projektnamen an.
    3. Klicken Sie die OAuth-Zustimmungsbildschirm Überschrift an und geben Mattermost als den Produktname, der Nutzern gezeigt wird. Klicken Sie auf Speichern.
    4. Unter der Anmeldedaten Überschrift klicken Sie auf Anmeldedaten erstellen, wählen OAuth-Client-ID aus und selektieren Webanwendung.
    5. Bei den Einschränkungen und den Autorisierte Weiterleitungs-URIs geben Sie /signup/google/complete (zum Beispiel: http://localhost:8065/signup/google/complete) ein. Klicken Sie auf Erstellen.
    6. Speichern Sie die Client-ID und den Clientschlüssel um später die unteren Felder auszufüllen.
    7. Abschließend wechseln Sie zu Google+ API und klicken auf Aktivieren. Dies kann einige Minuten dauern bis die Änderung durch Googles Systeme propagiert sind.
    8. Vervollständigen Sie die Client-ID und Clientschlüssel Felder unten.
    ", "admin.google.authTitle": "Auth Endpunkt:", "admin.google.clientIdDescription": "Die Client-ID die Sie bei der Registrierung Ihrer Anwendung bei Google erhalten haben.", "admin.google.clientIdExample": "z.B.: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Anmelden mit OAuth 2.0 Provider nicht erlauben", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "Wenn aktiviert kann Mattermost als OAuth 2.0 Dienst arbeiten. Dies erlaubt Mattermost externe Applikationen über API Aufrufe zu autorisieren. Siehe Dokumentation für weitere Informationen.", + "admin.oauth.providerDescription": "Wenn aktiviert kann Mattermost als OAuth 2.0 Dienst arbeiten. Dies erlaubt Mattermost externe Applikationen über API Aufrufe zu autorisieren. Siehe Dokumentation für weitere Informationen.", "admin.oauth.providerTitle": "Aktiviere OAuth 2.0 Dienstprovider: ", "admin.oauth.select": "OAuth 2.0 Service Provider auswählen:", - "admin.office365.EnableHtmlDesc": "
    1. Melden Sie sich in Ihrem Microsoft oder Office 365 Konto an. Stellen Sie sicher das der Account zum selben Mandant gehört mit dem sich die Nutzer anmelden können sollen.
    2. Wechseln Sie zu https://apps.dev.microsoft.com, klicken auf App hinzufügen und verwenden Mattermost - als den Namen der App.
    3. Unter Geheime Anwendungsschlüssel klicken Sie auf Generiere neues Passwort und speichern es um die Felder unten später zu vervollständigen.
    4. Unter Platform klicken Sie auf Plattform hinzufügen, wählen Web und geben /signup/office365/complete (zum Beispiel: http://localhost:8065/signup/office365/complete) unter Umleitungs-URI ein. Außerdem sollten Sie Erlaube Implizite Weiterleitung deaktivieren.
    5. Abschließend klicken Sie auf Speichern und vervollständigen die Anwendungs-ID und geheimer Anwendungsschlüssel Felder unten.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Melden Sie sich in Ihrem Microsoft oder Office 365 Konto an. Stellen Sie sicher das der Account zum selben Mandant gehört mit dem sich die Nutzer anmelden können sollen.
    2. Wechseln Sie zu https://apps.dev.microsoft.com, klicken auf App hinzufügen und verwenden Mattermost - als den Namen der App.
    3. Unter Geheime Anwendungsschlüssel klicken Sie auf Generiere neues Passwort und speichern es um die Felder unten später zu vervollständigen.
    4. Unter Platform klicken Sie auf Plattform hinzufügen, wählen Web und geben /signup/office365/complete (zum Beispiel: http://localhost:8065/signup/office365/complete) unter Umleitungs-URI ein. Außerdem sollten Sie Erlaube Implizite Weiterleitung deaktivieren.
    5. Abschließend klicken Sie auf Speichern und vervollständigen die Anwendungs-ID und geheimer Anwendungsschlüssel Felder unten.
    ", "admin.office365.authTitle": "Auth Endpunkt:", "admin.office365.clientIdDescription": "Die Anwendungs-ID die Sie bei der Registrierung Ihrer Anwendung bei Microsoft erhalten haben.", "admin.office365.clientIdExample": "z.B.: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index d409aaec7..a007b1a1c 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -344,7 +344,7 @@ "admin.gitlab.userDescription": "Enter https:///api/v3/user. Make sure you use HTTP or HTTPS in your URL depending on your server configuration.", "admin.gitlab.userExample": "E.g.: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "User API Endpoint:", - "admin.google.EnableHtmlDesc": "
    1. Log in to your Google account.
    2. Go to https://console.developers.google.com, click Credentials in the left hand sidebar and enter \"Mattermost - your-company-name\" as the Project Name, then click Create.
    3. Click the OAuth consent screen header and enter \"Mattermost\" as the Product name shown to users, then click Save.
    4. Under the Credentials header, click Create credentials, choose OAuth client ID and select Web Application.
    5. Under Restrictions and Authorized redirect URIs enter your-mattermost-url/signup/google/complete (example: http://localhost:8065/signup/google/complete). Click Create.
    6. Paste the Client ID and Client Secret to the fields below, then click Save.
    7. Finally, go to Google+ API and click Enable. This might take a few minutes to propagate through Google's systems.
    ", + "admin.google.EnableHtmlDesc": "
    1. Log in to your Google account.
    2. Go to https://console.developers.google.com, click Credentials in the left hand sidebar and enter \"Mattermost - your-company-name\" as the Project Name, then click Create.
    3. Click the OAuth consent screen header and enter \"Mattermost\" as the Product name shown to users, then click Save.
    4. Under the Credentials header, click Create credentials, choose OAuth client ID and select Web Application.
    5. Under Restrictions and Authorized redirect URIs enter your-mattermost-url/signup/google/complete (example: http://localhost:8065/signup/google/complete). Click Create.
    6. Paste the Client ID and Client Secret to the fields below, then click Save.
    7. Finally, go to Google+ API and click Enable. This might take a few minutes to propagate through Google's systems.
    ", "admin.google.authTitle": "Auth Endpoint:", "admin.google.clientIdDescription": "The Client ID you received when registering your application with Google.", "admin.google.clientIdExample": "E.g.: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -518,10 +518,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Do not allow sign-in via an OAuth 2.0 provider", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", + "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", "admin.oauth.providerTitle": "Enable OAuth 2.0 Service Provider: ", "admin.oauth.select": "Select OAuth 2.0 service provider:", - "admin.office365.EnableHtmlDesc": "
    1. Log in to your Microsoft or Office 365 account. Make sure it's the account on the same tenant that you would like users to log in with.
    2. Go to https://apps.dev.microsoft.com, click Go to app list > Add an app and use \"Mattermost - your-company-name\" as the Application Name.
    3. Under Application Secrets, click Generate New Password and paste it to the Application Secret Password field below.
    4. Under Platforms, click Add Platform, choose Web and enter your-mattermost-url/signup/office365/complete (example: http://localhost:8065/signup/office365/complete) under Redirect URIs. Also uncheck Allow Implicit Flow.
    5. Finally, click Save and then paste the Application ID below.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Log in to your Microsoft or Office 365 account. Make sure it's the account on the same tenant that you would like users to log in with.
    2. Go to https://apps.dev.microsoft.com, click Go to app list > Add an app and use \"Mattermost - your-company-name\" as the Application Name.
    3. Under Application Secrets, click Generate New Password and paste it to the Application Secret Password field below.
    4. Under Platforms, click Add Platform, choose Web and enter your-mattermost-url/signup/office365/complete (example: http://localhost:8065/signup/office365/complete) under Redirect URIs. Also uncheck Allow Implicit Flow.
    5. Finally, click Save and then paste the Application ID below.
    ", "admin.office365.authTitle": "Auth Endpoint:", "admin.office365.clientIdDescription": "The Application/Client ID you received when registering your application with Microsoft.", "admin.office365.clientIdExample": "E.g.: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/es.json b/webapp/i18n/es.json index 793781410..c50a4b3c7 100644 --- a/webapp/i18n/es.json +++ b/webapp/i18n/es.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Ingresar /api/v3/user. Asegurate que si utilizas HTTPS o HTTPS tus URLS sean correctas.", "admin.gitlab.userExample": "Ej \"https:///api/v3/user\"", "admin.gitlab.userTitle": "URL para obtener datos de usuario:", - "admin.google.EnableHtmlDesc": "
    1. Inicia sesión con tu cuenta de Google.
    2. Dirigete a https://console.developers.google.com, haz clic en Credenciales en la barra lateral izquierda e ingresa \"Mattermost - el-nombre-de-tu-empresa\" como el Nombre del Proyecto, luego haz clic en Crear.
    3. Haz clic en el encabezado de Pantalla de autorización de OAuth e ingresa \"Mattermost\" como el Nombre de producto mostrado a los usuarios, luego haz clic en Guardar.
    4. En el encabezado de Credenciales, haz clic en Crear credenciales, escoge ID de cliente de OAuth y selecciona Web.
    5. En Restricciones y URIs de redireccionamiento autorizados ingresa tu-url-de-mattermost/signup/google/complete (ejemplo: http://localhost:8065/signup/google/complete). Haz clic en Crear.
    6. Pega el ID de Cliente y el Secreto de Cliente en los campos que se encuentran en la parte inferior, luego haz clic en Guardar.
    7. Finalmente, dirigete a Google+ API y haz clic en Habilitar. Puede que esta acción tome unos minutos en propagarse por los sistemas de Google.
    ", + "admin.google.EnableHtmlDesc": "
    1. Inicia sesión con tu cuenta de Google.
    2. Dirigete a https://console.developers.google.com, haz clic en Credenciales en la barra lateral izquierda e ingresa \"Mattermost - el-nombre-de-tu-empresa\" como el Nombre del Proyecto, luego haz clic en Crear.
    3. Haz clic en el encabezado de Pantalla de autorización de OAuth e ingresa \"Mattermost\" como el Nombre de producto mostrado a los usuarios, luego haz clic en Guardar.
    4. En el encabezado de Credenciales, haz clic en Crear credenciales, escoge ID de cliente de OAuth y selecciona Web.
    5. En Restricciones y URIs de redireccionamiento autorizados ingresa tu-url-de-mattermost/signup/google/complete (ejemplo: http://localhost:8065/signup/google/complete). Haz clic en Crear.
    6. Pega el ID de Cliente y el Secreto de Cliente en los campos que se encuentran en la parte inferior, luego haz clic en Guardar.
    7. Finalmente, dirigete a Google+ API y haz clic en Habilitar. Puede que esta acción tome unos minutos en propagarse por los sistemas de Google.
    ", "admin.google.authTitle": "URL para autentificación:", "admin.google.clientIdDescription": "El ID de Cliente que recibiste al registrar la aplicación con Google.", "admin.google.clientIdExample": "Ej.: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "No permitir el inicio de sesión por medio de un proveedor de OAuth 2.0", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "Cuando es verdadero, Mattermost puede actuar como un proveedor de servicios de OAuth 2.0 permitiendo a que Mattermost autorice las solicitudes de API de aplicaciones externas. Ver ladocumentación para obtener más información.", + "admin.oauth.providerDescription": "Cuando es verdadero, Mattermost puede actuar como un proveedor de servicios de OAuth 2.0 permitiendo a que Mattermost autorice las solicitudes de API de aplicaciones externas. Ver ladocumentación para obtener más información.", "admin.oauth.providerTitle": "Habilitar el Proveedor de Servicios de OAuth 2.0: ", "admin.oauth.select": "Selecciona un proveedor de servicio de OAuth 2.0", - "admin.office365.EnableHtmlDesc": "
    1. Inicia sesión con tu cuenta de Microsoft u Office 365. Asegura que la cuenta sea un inquilino de Azure AD para que los usuarios puedan iniciar sesión.
    2. Dirígete a https://apps.dev.microsoft.com. haz clic en Ir a la lista de aplicaciones > Agregar una aplicación y utiliza \"Mattermost - el-nombre-de-tu-empresa\" como el Nombre de la aplicación.
    3. Bajo Secretos de aplicación, haz clic en Generar nueva contraseña y pegala en el campo inferior Contraseña Secreta de la Aplicación.
    4. Bajo Plataformas, haz clic en Agregar plataforma, selecciona Web e ingresa url-de-tu-mattermost/signup/office365/complete (ejemplo: http://localhost:8065/signup/office365/complete) en URI de redireccionamiento. Tambíen desmarca Permitir flujo implícito.
    5. Finalmente, haz clic en Guardar y pega el ID de aplicación en el campo inferior.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Inicia sesión con tu cuenta de Microsoft u Office 365. Asegura que la cuenta sea un inquilino de Azure AD para que los usuarios puedan iniciar sesión.
    2. Dirígete a https://apps.dev.microsoft.com. haz clic en Ir a la lista de aplicaciones > Agregar una aplicación y utiliza \"Mattermost - el-nombre-de-tu-empresa\" como el Nombre de la aplicación.
    3. Bajo Secretos de aplicación, haz clic en Generar nueva contraseña y pegala en el campo inferior Contraseña Secreta de la Aplicación.
    4. Bajo Plataformas, haz clic en Agregar plataforma, selecciona Web e ingresa url-de-tu-mattermost/signup/office365/complete (ejemplo: http://localhost:8065/signup/office365/complete) en URI de redireccionamiento. Tambíen desmarca Permitir flujo implícito.
    5. Finalmente, haz clic en Guardar y pega el ID de aplicación en el campo inferior.
    ", "admin.office365.authTitle": "URL para autentificación:", "admin.office365.clientIdDescription": "El ID de Aplicación/Cliente que recibiste al registrar la aplicación con Microsoft.", "admin.office365.clientIdExample": "Ej.: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/fr.json b/webapp/i18n/fr.json index 3cb262cb1..37cf3648d 100644 --- a/webapp/i18n/fr.json +++ b/webapp/i18n/fr.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Saisissez https:///api/v3/user. Veillez à saisir HTTP ou HTTPS dans l'URL suivant votre configuration.", "admin.gitlab.userExample": "Ex. : \"https:///api/v3/user\"", "admin.gitlab.userTitle": "URL de l'API (User API endpoint) :", - "admin.google.EnableHtmlDesc": "
    1. Conectez-vous à votre compte Google.
    2. Allez à https://console.developers.google.com, cliquez sur Credentials dans la barre latérale de gauche et saisissez \"Mattermost - votre-nom-d-entreprise\" comme Project Name, puis cliquez sur Create.
    3. Cliquez sur l'entête OAuth consent screen et saisissez \"Mattermost\" comme Product name shown to users, puis cliquez sur Save.
    4. Sous l'entête Credentials, cliquez Create credentials, choisissez OAuth client ID et sélectionnez Web Application.
    5. Dans Restrictions et Authorized redirect URIs saisissez votre-url-mattermost/signup/google/complete (exemple: http://localhost:8065/signup/google/complete). Cliquez sur Create.
    6. Collez le Client ID et le Client Secret dans les champs ci-dessous, puis cliquez sur Save.
    7. Enfin, allez dans Google+ API et cliquez sur Enable. Ceci peut prendre plusieurs minutes pour se propager dans les systèmes de Google.
    ", + "admin.google.EnableHtmlDesc": "
    1. Conectez-vous à votre compte Google.
    2. Allez à https://console.developers.google.com, cliquez sur Credentials dans la barre latérale de gauche et saisissez \"Mattermost - votre-nom-d-entreprise\" comme Project Name, puis cliquez sur Create.
    3. Cliquez sur l'entête OAuth consent screen et saisissez \"Mattermost\" comme Product name shown to users, puis cliquez sur Save.
    4. Sous l'entête Credentials, cliquez Create credentials, choisissez OAuth client ID et sélectionnez Web Application.
    5. Dans Restrictions et Authorized redirect URIs saisissez votre-url-mattermost/signup/google/complete (exemple: http://localhost:8065/signup/google/complete). Cliquez sur Create.
    6. Collez le Client ID et le Client Secret dans les champs ci-dessous, puis cliquez sur Save.
    7. Enfin, allez dans Google+ API et cliquez sur Enable. Ceci peut prendre plusieurs minutes pour se propager dans les systèmes de Google.
    ", "admin.google.authTitle": "URL d'authentification (auth endpoint) :", "admin.google.clientIdDescription": "Le Client ID que vous avez reçu lorsque vous avez enregistré l'application avec Google.", "admin.google.clientIdExample": "Ex. : \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Ne pas autoriser la connexion à travers un fournisseur OAuth 2.0", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "Si activé, Mattermost peut se comporter comme un fournisseur de service OAuth 2.0 permettant à Mattermost d'autoriser les requêtes d'API provenant des applications tierces. Voir la documentation pour en apprendre davantage.", + "admin.oauth.providerDescription": "Si activé, Mattermost peut se comporter comme un fournisseur de service OAuth 2.0 permettant à Mattermost d'autoriser les requêtes d'API provenant des applications tierces. Voir la documentation pour en apprendre davantage.", "admin.oauth.providerTitle": "Activer le fournisseur de service OAuth 2.0 :", "admin.oauth.select": "Choisissez un fournisseur de service OAuth 2.0 :", - "admin.office365.EnableHtmlDesc": "
    1. Connectez-vous à votre compte Microsoft ou Office 365. Veuillez vous assurer que le compte est sur le même tenant que celui avec lequel vous voulez connecter vos utilisateurs.
    2. Allez à https://apps.dev.microsoft.com, cliquez sur Go to app list > Add an app et utilisez \"Mattermost - votre-nom-d-entreprise\" comme Application Name.
    3. Dans Application Secrets, cliquez sur Generate New Password et collez-le en-dessous dans le champ Application Secret Password.
    4. Sous Platforms, cliquez sur Add Platform, choisissez Web et saisissez votre-url-mattermost/signup/office365/complete (exemple: http://localhost:8065/signup/office365/complete) sous Redirect URIs. Décochez aussi Allow Implicit Flow.
    5. Enfin, cliquez sur Save et collez l'Application ID ci-dessous.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Connectez-vous à votre compte Microsoft ou Office 365. Veuillez vous assurer que le compte est sur le même tenant que celui avec lequel vous voulez connecter vos utilisateurs.
    2. Allez à https://apps.dev.microsoft.com, cliquez sur Go to app list > Add an app et utilisez \"Mattermost - votre-nom-d-entreprise\" comme Application Name.
    3. Dans Application Secrets, cliquez sur Generate New Password et collez-le en-dessous dans le champ Application Secret Password.
    4. Sous Platforms, cliquez sur Add Platform, choisissez Web et saisissez votre-url-mattermost/signup/office365/complete (exemple: http://localhost:8065/signup/office365/complete) sous Redirect URIs. Décochez aussi Allow Implicit Flow.
    5. Enfin, cliquez sur Save et collez l'Application ID ci-dessous.
    ", "admin.office365.authTitle": "URL d'authentification (auth endpoint) :", "admin.office365.clientIdDescription": "L'Application/Client ID que vous avez reçu lorsque vous avez enregistré l'application avec Microsoft.", "admin.office365.clientIdExample": "Ex. : \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/ja.json b/webapp/i18n/ja.json index e7ffd7598..d5d6e0ba0 100644 --- a/webapp/i18n/ja.json +++ b/webapp/i18n/ja.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "https:///api/v3/user を入力してください。サーバーの設定によりHTTPかHTTPSかは異なりますので注意してください。", "admin.gitlab.userExample": "例: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "ユーザーAPIエンドポイント:", - "admin.google.EnableHtmlDesc": "
    1. あなたのGoogleアカウントにログインします。
    2. https://console.developers.google.comへ行き、左サイドバーの認証情報をクリックし、認証情報を作成をクリックした後、プロジェクト名として\"Mattermost - 会社名\"を入力します。
    3. ヘッダー部のOAuth同意画面をクリックし、ユーザーに表示するサービス名として\"Mattermost\"を入力し、保存をクリックします。
    4. ヘッダー部の認証情報で、認証情報を作成をクリックし、OAuthクライアント IDを選び、ウェブアプリケーションを選択します。
    5. 制限事項承認済みのリダイレクト URIyour-mattermost-url/signup/google/complete(例: http://localhost:8065/signup/google/complete)を入力します。作成クリックします。
    6. クライアントIDクライアントシークレットを下記にペーストし、保存をクリックします。
    7. 最後に、Google+ APIへ行き、有効にするをクリックします。Googleのシステムに伝播するのに数分かかります。
    ", + "admin.google.EnableHtmlDesc": "
    1. あなたのGoogleアカウントにログインします。
    2. https://console.developers.google.comへ行き、左サイドバーの認証情報をクリックし、認証情報を作成をクリックした後、プロジェクト名として\"Mattermost - 会社名\"を入力します。
    3. ヘッダー部のOAuth同意画面をクリックし、ユーザーに表示するサービス名として\"Mattermost\"を入力し、保存をクリックします。
    4. ヘッダー部の認証情報で、認証情報を作成をクリックし、OAuthクライアント IDを選び、ウェブアプリケーションを選択します。
    5. 制限事項承認済みのリダイレクト URIyour-mattermost-url/signup/google/complete(例: http://localhost:8065/signup/google/complete)を入力します。作成クリックします。
    6. クライアントIDクライアントシークレットを下記にペーストし、保存をクリックします。
    7. 最後に、Google+ APIへ行き、有効にするをクリックします。Googleのシステムに伝播するのに数分かかります。
    ", "admin.google.authTitle": "認証エンドポイント:", "admin.google.clientIdDescription": "Googleにアプリケーションを登録したときに受け取るクライアントIDです。", "admin.google.clientIdExample": "例: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "OAuth 2.0プロバイダーを通じてのサインインは許可されていません", "admin.oauth.office365": "Office 365(ベータ版)", - "admin.oauth.providerDescription": "有効な場合、MattermostはOAuth 2.0サービスプロバイダーとして働き、外部のアプリケーションからのAPIリクエストを認証することできます。詳細は、説明文書を参照してください。", + "admin.oauth.providerDescription": "有効な場合、MattermostはOAuth 2.0サービスプロバイダーとして働き、外部のアプリケーションからのAPIリクエストを認証することできます。詳細は、説明文書を参照してください。", "admin.oauth.providerTitle": "OAuth 2.0サービスプロバイダーを有効にする: ", "admin.oauth.select": "OAuth 2.0サービスプロバーダーを選択する:", - "admin.office365.EnableHtmlDesc": "
    1. Microsoftアカウント、もしくはOffice365アカウントにログインします。そのアカウントが、ユーザーにログインさせたいテナントと同じテナントであることを確認してください。
    2. https://apps.dev.microsoft.comへ行き、アプリの追加をクリックし、アプリケーションの名前として\"Mattermost - 会社名\"を使用してください。
    3. アプリケーション シークレットの下にある新しいパスワードを生成をクリックし、表示されるパスワードを下記のアプリケーション秘密パスワード欄に貼り付けてください。
    4. プラットフォームの下にあるプラットフォームの追加をクリックし、ウェブを選択した後、リダイレクト URIyour-mattermost-url/signup/office365/complete(例: http://localhost:8065/signup/office365/complete)を入力してください。また、暗黙的フローを許可するのチェックを外してください。
    5. 最後に保存をクリックして、アプリケーション IDを下記の欄に貼り付けてください。
    ", + "admin.office365.EnableHtmlDesc": "
    1. Microsoftアカウント、もしくはOffice365アカウントにログインします。そのアカウントが、ユーザーにログインさせたいテナントと同じテナントであることを確認してください。
    2. https://apps.dev.microsoft.comへ行き、アプリの追加をクリックし、アプリケーションの名前として\"Mattermost - 会社名\"を使用してください。
    3. アプリケーション シークレットの下にある新しいパスワードを生成をクリックし、表示されるパスワードを下記のアプリケーション秘密パスワード欄に貼り付けてください。
    4. プラットフォームの下にあるプラットフォームの追加をクリックし、ウェブを選択した後、リダイレクト URIyour-mattermost-url/signup/office365/complete(例: http://localhost:8065/signup/office365/complete)を入力してください。また、暗黙的フローを許可するのチェックを外してください。
    5. 最後に保存をクリックして、アプリケーション IDを下記の欄に貼り付けてください。
    ", "admin.office365.authTitle": "認証エンドポイント:", "admin.office365.clientIdDescription": "Microsoftにアプリケーションを登録したときに受け取るアプリケーションID/クライアントIDです。", "admin.office365.clientIdExample": "例 \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/ko.json b/webapp/i18n/ko.json index 24d26b46b..5811158cd 100644 --- a/webapp/i18n/ko.json +++ b/webapp/i18n/ko.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "GitLab 연동을 위해 다음 URL https:///api/v3/user 을 입력하십시오. 서버 설정에 따라 HTTP와 HTTPS 중 올바른 것을 사용하여야 합니다.", "admin.gitlab.userExample": "예시 \"https:///api/v3/user\"", "admin.gitlab.userTitle": "사용자 API 엔드포인트:", - "admin.google.EnableHtmlDesc": "
    1. Log in to your Google account.
    2. Go to https://console.developers.google.com, click Credentials in the left hand sidebar and enter \"Mattermost - your-company-name\" as the Project Name, then click Create.
    3. Click the OAuth consent screen header and enter \"Mattermost\" as the Product name shown to users, then click Save.
    4. Under the Credentials header, click Create credentials, choose OAuth client ID and select Web Application.
    5. Under Restrictions and Authorized redirect URIs enter your-mattermost-url/signup/google/complete (example: http://localhost:8065/signup/google/complete). Click Create.
    6. Paste the Client ID and Client Secret to the fields below, then click Save.
    7. Finally, go to Google+ API and click Enable. This might take a few minutes to propagate through Google's systems.
    ", + "admin.google.EnableHtmlDesc": "
    1. Log in to your Google account.
    2. Go to https://console.developers.google.com, click Credentials in the left hand sidebar and enter \"Mattermost - your-company-name\" as the Project Name, then click Create.
    3. Click the OAuth consent screen header and enter \"Mattermost\" as the Product name shown to users, then click Save.
    4. Under the Credentials header, click Create credentials, choose OAuth client ID and select Web Application.
    5. Under Restrictions and Authorized redirect URIs enter your-mattermost-url/signup/google/complete (example: http://localhost:8065/signup/google/complete). Click Create.
    6. Paste the Client ID and Client Secret to the fields below, then click Save.
    7. Finally, go to Google+ API and click Enable. This might take a few minutes to propagate through Google's systems.
    ", "admin.google.authTitle": "Auth Endpoint:", "admin.google.clientIdDescription": "The Client ID you received when registering your application with Google.", "admin.google.clientIdExample": "예시 \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Do not allow sign-in via an OAuth 2.0 provider", "admin.oauth.office365": "Office 365 (베타)", - "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", + "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", "admin.oauth.providerTitle": "OAuth 2.0 서비스 제공자: ", "admin.oauth.select": "Select OAuth 2.0 service provider:", - "admin.office365.EnableHtmlDesc": "
    1. 여러분의 마이크로소프트 또는 오피스 365 계정에 로그인 하십시요. 로그인하는 계정은 테넌트의 >계정과 동일해야 합니다.
    2. https://apps.dev.microsoft.com을 방문하셔서, Go to app listAdd an app를 클릭한 다음 \"Mattermost - 여러분의 회사 이름\"을 어플리케이션 이름으로 사용하십시요.
    3. Application Secrets에서, Generate New Password를 클릭한 다음 아래Application Secret Password 필드에 그 값을 복사하여 붙여넣으십시요.
    4. Platforms에서, Add Platform을 클릭한 다음, Web을 선택하고 your-mattermost-url/signup/office365/complete (예시: http://localhost:8065/signup/office365/complete)을 Redirect URIs에 기입하십시요. 또한 Allow Implicit Flow의 체크를 해제하십시요.
    5. 마지막으로, Save를 클릭한 다음 아래의 Application ID붙여넣으십시요.
    ", + "admin.office365.EnableHtmlDesc": "
    1. 여러분의 마이크로소프트 또는 오피스 365 계정에 로그인 하십시요. 로그인하는 계정은 테넌트의 >계정과 동일해야 합니다.
    2. https://apps.dev.microsoft.com을 방문하셔서, Go to app listAdd an app를 클릭한 다음 \"Mattermost - 여러분의 회사 이름\"을 어플리케이션 이름으로 사용하십시요.
    3. Application Secrets에서, Generate New Password를 클릭한 다음 아래Application Secret Password 필드에 그 값을 복사하여 붙여넣으십시요.
    4. Platforms에서, Add Platform을 클릭한 다음, Web을 선택하고 your-mattermost-url/signup/office365/complete (예시: http://localhost:8065/signup/office365/complete)을 Redirect URIs에 기입하십시요. 또한 Allow Implicit Flow의 체크를 해제하십시요.
    5. 마지막으로, Save를 클릭한 다음 아래의 Application ID붙여넣으십시요.
    ", "admin.office365.authTitle": "인증 엔드포인트:", "admin.office365.clientIdDescription": "The Application/Client ID you received when registering your application with Microsoft.", "admin.office365.clientIdExample": "예시 \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/nl.json b/webapp/i18n/nl.json index c698d8aa7..ddda039fa 100644 --- a/webapp/i18n/nl.json +++ b/webapp/i18n/nl.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Geef https:///api/v3/user. Zorg ervoor dat u HTTP of HTTPS in de URL gebruikt, afhankelijk van de configuratie van uw server.", "admin.gitlab.userExample": "Bijv.: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "Gebruikers API eindpunt:", - "admin.google.EnableHtmlDesc": "
    1. Inloggen op uw Google account.
    2. Ga naar https://console.developers.google.com, klik op Credentials in het linker menu en voer \"Mattermost - uw-bedrijfsnaam\" in als Project Name, klik daarna op Create.
    3. Klik op OAuth consent screen en voer \"Mattermost\" in als Product name shown to users, klik daarna op Save.
    4. Onder de kop Credentials, klik Create credentials, kies OAuth client ID en selecteer Web Application.
    5. Onder Restrictions en Authorized redirect URIs voer in jouw-mattermost-url/signup/google/complete (bijv.: http://localhost:8065/signup/google/complete). Klik Create.
    6. Plak de Client ID en Client Secret in onderstaande velden, klik daarna op Save.
    7. Als laatste stap, ga naar Google+ API en klik Enable. Het kan een aantal minuten duren voordat het de systemen van Google actief is.
    ", + "admin.google.EnableHtmlDesc": "
    1. Inloggen op uw Google account.
    2. Ga naar https://console.developers.google.com, klik op Credentials in het linker menu en voer \"Mattermost - uw-bedrijfsnaam\" in als Project Name, klik daarna op Create.
    3. Klik op OAuth consent screen en voer \"Mattermost\" in als Product name shown to users, klik daarna op Save.
    4. Onder de kop Credentials, klik Create credentials, kies OAuth client ID en selecteer Web Application.
    5. Onder Restrictions en Authorized redirect URIs voer in jouw-mattermost-url/signup/google/complete (bijv.: http://localhost:8065/signup/google/complete). Klik Create.
    6. Plak de Client ID en Client Secret in onderstaande velden, klik daarna op Save.
    7. Als laatste stap, ga naar Google+ API en klik Enable. Het kan een aantal minuten duren voordat het de systemen van Google actief is.
    ", "admin.google.authTitle": "Auth Eindpunt:", "admin.google.clientIdDescription": "Het Client ID wat je hebt ontvangen bij het registreren van je applicatie bij Google.", "admin.google.clientIdExample": "Bijv.: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Sta niet toe in te loggen via een OAuth 2.0 provider", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", + "admin.oauth.providerDescription": "When true, Mattermost can act as an OAuth 2.0 service provider allowing Mattermost to authorize API requests from external applications. See documentation to learn more.", "admin.oauth.providerTitle": "Aanzetten van OAuth 2.0 Service Provider:", "admin.oauth.select": "Selecteer OAuth 2.0 service provider:", - "admin.office365.EnableHtmlDesc": "
    1. Log in to your Microsoft or Office 365 account. Make sure it's the account on the same tenant that you would like users to log in with.
    2. Go to https://apps.dev.microsoft.com, click Go to app list > Add an app and use \"Mattermost - your-company-name\" as the Application Name.
    3. Under Application Secrets, click Generate New Password and paste it to the Application Secret Password field below.
    4. Under Platforms, click Add Platform, choose Web and enter your-mattermost-url/signup/office365/complete (example: http://localhost:8065/signup/office365/complete) under Redirect URIs. Also uncheck Allow Implicit Flow.
    5. Finally, click Save and then paste the Application ID below.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Log in to your Microsoft or Office 365 account. Make sure it's the account on the same tenant that you would like users to log in with.
    2. Go to https://apps.dev.microsoft.com, click Go to app list > Add an app and use \"Mattermost - your-company-name\" as the Application Name.
    3. Under Application Secrets, click Generate New Password and paste it to the Application Secret Password field below.
    4. Under Platforms, click Add Platform, choose Web and enter your-mattermost-url/signup/office365/complete (example: http://localhost:8065/signup/office365/complete) under Redirect URIs. Also uncheck Allow Implicit Flow.
    5. Finally, click Save and then paste the Application ID below.
    ", "admin.office365.authTitle": "Auth Eindpunt:", "admin.office365.clientIdDescription": "Het Spplicatie/Client ID wat je hebt ontvangen bij het registreren van je applicatie bij Microsoft.", "admin.office365.clientIdExample": "Bijv.: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/pt-BR.json b/webapp/i18n/pt-BR.json index ec86e7827..9ed1ebf75 100644 --- a/webapp/i18n/pt-BR.json +++ b/webapp/i18n/pt-BR.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Digite https:///api/v3/user. Certifique-se de usar HTTP ou HTTPS na sua URL dependendo da configuração de seu servidor.", "admin.gitlab.userExample": "Ex.: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "API Usuário Endpoint:", - "admin.google.EnableHtmlDesc": "
    1. Log in to sua conta Google.
    2. Ir para https://console.developers.google.com, clique Credenciais na barra lateral esquerda e digite \"Mattermost - nome-da-sua-empresa\" como o Nome do Projeto, então clique Criar.
    3. Clique no título tela de consentimento OAuth e digite \"Mattermost\" como o nome do Produto exibido para os usuários, então clique Salvar.
    4. Dentro do título Credenciais, clique Criar credenciais, escolha ID do cliente OAuth e selecione Aplicação da Web.
    5. Dentro de Restrições e URIs de redirecionamento autorizados digite sua-url-mattermost/signup/google/complete (exemplo: http://localhost:8065/signup/google/complete). Clique Criar.
    6. Cole ID do Cliente e Chave Secreta do Cliente nos campos abaixo, então clique Salvar.
    7. Finalmente, vá para Google+ API e clique Ativar. Isto pode levar alguns minutos para propagar através do si sistema do Google.
    ", + "admin.google.EnableHtmlDesc": "
    1. Log in to sua conta Google.
    2. Ir para https://console.developers.google.com, clique Credenciais na barra lateral esquerda e digite \"Mattermost - nome-da-sua-empresa\" como o Nome do Projeto, então clique Criar.
    3. Clique no título tela de consentimento OAuth e digite \"Mattermost\" como o nome do Produto exibido para os usuários, então clique Salvar.
    4. Dentro do título Credenciais, clique Criar credenciais, escolha ID do cliente OAuth e selecione Aplicação da Web.
    5. Dentro de Restrições e URIs de redirecionamento autorizados digite sua-url-mattermost/signup/google/complete (exemplo: http://localhost:8065/signup/google/complete). Clique Criar.
    6. Cole ID do Cliente e Chave Secreta do Cliente nos campos abaixo, então clique Salvar.
    7. Finalmente, vá para Google+ API e clique Ativar. Isto pode levar alguns minutos para propagar através do si sistema do Google.
    ", "admin.google.authTitle": "Autenticação Endpoint:", "admin.google.clientIdDescription": "A ID do Cliente que você recebeu quando registrou sua aplicação com o Google.", "admin.google.clientIdExample": "Ex.: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Não é permitido login via um provedor OAuth 2.0", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "Quando verdadeiro, Mattermost pode atuar como um provedor de serviço OAuth 2.0 permitindo que o Mattermost autorize requisições de API de aplicações externas. Veja a documentação para saber mais.", + "admin.oauth.providerDescription": "Quando verdadeiro, Mattermost pode atuar como um provedor de serviço OAuth 2.0 permitindo que o Mattermost autorize requisições de API de aplicações externas. Veja a documentação para saber mais.", "admin.oauth.providerTitle": "Ativar Provedor de Serviço OAuth 2.0: ", "admin.oauth.select": "Selecione provedor de serviço OAuth 2.0:", - "admin.office365.EnableHtmlDesc": "
    1. Log in na sua conta Microsoft ou Office 365. Certifique-se que esta conta é do mesmo tenant que você gostaria que os usuários entrassem.
    2. Vá para https://apps.dev.microsoft.com, clique Ir para lista de aplicativo > Adicionar um aplicativo e use \"Mattermost - nome-da-sua-empresa\" como Nome da Aplicação.
    3. Dentro de Segredos do Aplicativo, clique Gerar Nova Senha copie e cole no campo abaixo Aplicativo Senha Secreta.
    4. Dentro de Plataformas, clique Adicionar Plataforma, escolha Web e digite url-da-sua-empresa/signup/office365/complete (exemplo: http://localhost:8065/signup/office365/complete) dentro de Redirecionar URIs. Também desmarque Permitir Fluxo Implícito.
    5. Finalmente, clique Salvar e então copie e cole no campo abaixo ID da Aplicação.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Log in na sua conta Microsoft ou Office 365. Certifique-se que esta conta é do mesmo tenant que você gostaria que os usuários entrassem.
    2. Vá para https://apps.dev.microsoft.com, clique Ir para lista de aplicativo > Adicionar um aplicativo e use \"Mattermost - nome-da-sua-empresa\" como Nome da Aplicação.
    3. Dentro de Segredos do Aplicativo, clique Gerar Nova Senha copie e cole no campo abaixo Aplicativo Senha Secreta.
    4. Dentro de Plataformas, clique Adicionar Plataforma, escolha Web e digite url-da-sua-empresa/signup/office365/complete (exemplo: http://localhost:8065/signup/office365/complete) dentro de Redirecionar URIs. Também desmarque Permitir Fluxo Implícito.
    5. Finalmente, clique Salvar e então copie e cole no campo abaixo ID da Aplicação.
    ", "admin.office365.authTitle": "Autenticação Endpoint:", "admin.office365.clientIdDescription": "O Aplicativo/ID do Cliente que você recebeu quando registrou seu aplicativo com a Microsoft.", "admin.office365.clientIdExample": "Ex.: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/ru.json b/webapp/i18n/ru.json index f6dbead52..ee68819d3 100644 --- a/webapp/i18n/ru.json +++ b/webapp/i18n/ru.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "Введите https:///api/v3/user. Убедитесь, используете ли вы HTTP или HTTPS в своем URL-адресе в соответствии с настройками своего сервера.", "admin.gitlab.userExample": "Например: \"https:///api/v3/user\"", "admin.gitlab.userTitle": "Конечная точка пользовательского API:", - "admin.google.EnableHtmlDesc": "
    1. Войдите в свою учетную запись Google.
    2. Перейдите к https://console.developers.google.com, нажмите Учетные данные в боковой панели слева и введите \"Mattermost - имя-вашей-компании\" в качестве Названия проекта, затем нажмите Создать.
    3. Нажмите на заголовок окно запроса доступа OAuth и введите \"Mattermost\" в качестве Названия продукта, которое видят пользователи, затем нажмите Сохранить.
    4. Под заголовком Учетные данные нажмите Создать учетные данные, выберите Идентификатор клиента OAuth и выберите Веб приложение.
    5. Под Ограничения и Разрешенные URI перенаправления введите url-вашего-mattermost/signup/google/complete (пример: http://localhost:8065/signup/google/complete). Нажмите Создать.
    6. Вставьте идентификатор клиента и секрет клиента в поля ниже, затем нажмите Сохранить.
    7. Наконец, перейдите в Google+ API и нажмите Включить. Может потребоваться несколько минут для передачи через системы Google.
    ", + "admin.google.EnableHtmlDesc": "
    1. Войдите в свою учетную запись Google.
    2. Перейдите к https://console.developers.google.com, нажмите Учетные данные в боковой панели слева и введите \"Mattermost - имя-вашей-компании\" в качестве Названия проекта, затем нажмите Создать.
    3. Нажмите на заголовок окно запроса доступа OAuth и введите \"Mattermost\" в качестве Названия продукта, которое видят пользователи, затем нажмите Сохранить.
    4. Под заголовком Учетные данные нажмите Создать учетные данные, выберите Идентификатор клиента OAuth и выберите Веб приложение.
    5. Под Ограничения и Разрешенные URI перенаправления введите url-вашего-mattermost/signup/google/complete (пример: http://localhost:8065/signup/google/complete). Нажмите Создать.
    6. Вставьте идентификатор клиента и секрет клиента в поля ниже, затем нажмите Сохранить.
    7. Наконец, перейдите в Google+ API и нажмите Включить. Может потребоваться несколько минут для передачи через системы Google.
    ", "admin.google.authTitle": "Конечная точка авторизации:", "admin.google.clientIdDescription": "Идентификатор клиента, полученный при регистрации вашего приложения в Google.", "admin.google.clientIdExample": "Например: \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "Запретить вход через OAuth 2.0 поставщика", "admin.oauth.office365": "Office 365 (Бета)", - "admin.oauth.providerDescription": "Когда ИСТИНА, Mattermost может выступать в качестве сервис провайдера OAuth 2.0, позволяя Mattermost предоставлять API запросов авторизации для внешних приложений. Смотрите документацию для подробностей.", + "admin.oauth.providerDescription": "Когда ИСТИНА, Mattermost может выступать в качестве сервис провайдера OAuth 2.0, позволяя Mattermost предоставлять API запросов авторизации для внешних приложений. Смотрите документацию для подробностей.", "admin.oauth.providerTitle": "Включить поставщика услуг OAuth 2.0:", "admin.oauth.select": "Выбрать OAuth 2.0 провайдера:", - "admin.office365.EnableHtmlDesc": "
    1. Войдите в свою учетную запись Microsoft или Office 365. Убедитесь, что эта учетная запись принадлежит тому же арендатору, через которого вы хотели бы позволить пользователям вход.
    2. Перейдите к https://apps.dev.microsoft.com, нажмите Перейти к списку приложений > Добавить приложение и используйте \"Mattermost - имя-вашей-компании\" в качестве Названия приложения.
    3. Под Секретами приложения нажмите Создать новый пароль и вставьте его в поле Секретный пароль приложения ниже.
    4. Под Платформами нажмите Добавление платформы, выберите Веб и введите url-вашего-mattermost/signup/office365/complete (пример: http://localhost:8065/signup/office365/complete) под URI перенаправления. Также снимите отметку с Разрешить неявный поток.
    5. Наконец, нажмите Сохранить, а затем вставьте Код приложения ниже.
    ", + "admin.office365.EnableHtmlDesc": "
    1. Войдите в свою учетную запись Microsoft или Office 365. Убедитесь, что эта учетная запись принадлежит тому же арендатору, через которого вы хотели бы позволить пользователям вход.
    2. Перейдите к https://apps.dev.microsoft.com, нажмите Перейти к списку приложений > Добавить приложение и используйте \"Mattermost - имя-вашей-компании\" в качестве Названия приложения.
    3. Под Секретами приложения нажмите Создать новый пароль и вставьте его в поле Секретный пароль приложения ниже.
    4. Под Платформами нажмите Добавление платформы, выберите Веб и введите url-вашего-mattermost/signup/office365/complete (пример: http://localhost:8065/signup/office365/complete) под URI перенаправления. Также снимите отметку с Разрешить неявный поток.
    5. Наконец, нажмите Сохранить, а затем вставьте Код приложения ниже.
    ", "admin.office365.authTitle": "Конечная точка авторизации:", "admin.office365.clientIdDescription": "Идентификатор приложения/клиента, полученный при регистрации вашего приложения в Microsoft.", "admin.office365.clientIdExample": "Например: \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/zh_CN.json b/webapp/i18n/zh_CN.json index b84e63f3a..5fef8a28d 100644 --- a/webapp/i18n/zh_CN.json +++ b/webapp/i18n/zh_CN.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "输入 https:///api/v3/user。根据于您的服务器设定而决定网址中使用HTTP或HTTPS。", "admin.gitlab.userExample": "例如 \"https:///api/v3/user\"", "admin.gitlab.userTitle": "用户API 端点:", - "admin.google.EnableHtmlDesc": "
    1. 登入到您的谷歌帐号。
    2. https://console.developers.google.com,在左边导航点击凭证后输入\"Mattermost - your-company-name\"为项目名,然后点击创建
    3. 点击OAuth 同意页面标题并输入\"Mattermost\" 做为显示给用户的产品名,然后点击保存
    4. 凭证标题下,点击创建凭证,选择OAuth客户端ID并选择网页应用
    5. 限制经认可的重指向网址下输入your-mattermost-url/signup/google/complete (例: http://localhost:8065/signup/google/complete)。点击创建
    6. 粘贴客户端ID客户端秘密到以下栏,然后点击保存
    7. 最后,到Google+ API并点击启用。这可能需要几分钟时间让谷歌服务器同步数据。
    ", + "admin.google.EnableHtmlDesc": "
    1. 登入到您的谷歌帐号。
    2. https://console.developers.google.com,在左边导航点击凭证后输入\"Mattermost - your-company-name\"为项目名,然后点击创建
    3. 点击OAuth 同意页面标题并输入\"Mattermost\" 做为显示给用户的产品名,然后点击保存
    4. 凭证标题下,点击创建凭证,选择OAuth客户端ID并选择网页应用
    5. 限制经认可的重指向网址下输入your-mattermost-url/signup/google/complete (例: http://localhost:8065/signup/google/complete)。点击创建
    6. 粘贴客户端ID客户端秘密到以下栏,然后点击保存
    7. 最后,到Google+ API并点击启用。这可能需要几分钟时间让谷歌服务器同步数据。
    ", "admin.google.authTitle": "认证端点:", "admin.google.clientIdDescription": "您在谷歌注册您的应用时收到的客户端ID。", "admin.google.clientIdExample": "例如 \"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "不允许通过 OAuth 2.0 提供商登入", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "当设为是时,Mattermost 可以做为 OAuth 2.0 服务提供商允许 Mattermost 给外部应用 API 请求授权。参见文档了解更多。", + "admin.oauth.providerDescription": "当设为是时,Mattermost 可以做为 OAuth 2.0 服务提供商允许 Mattermost 给外部应用 API 请求授权。参见文档了解更多。", "admin.oauth.providerTitle": "启动 OAuth 2.0 服务提供商:", "admin.oauth.select": "选择 OAuth 2.0 服务提供商:", - "admin.office365.EnableHtmlDesc": "
    1. 登入到您的微软或Office 365帐号。确定是和您想让用户登入的同一个租户
    2. https://apps.dev.microsoft.com,点击转到应用列表 > 添加应用然后用\"Mattermost - your-company-name\"做为应用名
    3. 应用秘密下,点击生成新密码后粘贴到以下应用密码栏。
    4. 平台下,点击添加平台,选择网页并在重指向网址下输入your-mattermost-url/signup/office365/complete (例: http://localhost:8065/signup/office365/complete)。同时反选择允许隐含流程
    5. 最后,点击保存并粘贴应用ID到下方。
    ", + "admin.office365.EnableHtmlDesc": "
    1. 登入到您的微软或Office 365帐号。确定是和您想让用户登入的同一个租户
    2. https://apps.dev.microsoft.com,点击转到应用列表 > 添加应用然后用\"Mattermost - your-company-name\"做为应用名
    3. 应用秘密下,点击生成新密码后粘贴到以下应用密码栏。
    4. 平台下,点击添加平台,选择网页并在重指向网址下输入your-mattermost-url/signup/office365/complete (例: http://localhost:8065/signup/office365/complete)。同时反选择允许隐含流程
    5. 最后,点击保存并粘贴应用ID到下方。
    ", "admin.office365.authTitle": "认证端点:", "admin.office365.clientIdDescription": "您在微软注册您的应用时收到的应用/客户端ID。", "admin.office365.clientIdExample": "例如 \"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/i18n/zh_TW.json b/webapp/i18n/zh_TW.json index 2c0f52efd..558afc574 100644 --- a/webapp/i18n/zh_TW.json +++ b/webapp/i18n/zh_TW.json @@ -338,7 +338,7 @@ "admin.gitlab.userDescription": "輸入 https:///api/v3/user。請根據伺服器設定選擇 HTTP 或 HTTPS。", "admin.gitlab.userExample": "如:\"https:///api/v3/user\"", "admin.gitlab.userTitle": "使用者 API 端點:", - "admin.google.EnableHtmlDesc": "
    1. 登入 Google帳號。
    2. 前往 https://console.developers.google.com,按左側邊列的憑證並輸入\"Mattermost - 您的公司名稱\"作為專案名稱,按建立
    3. OAuth 同意畫面 標題並輸入 \"Mattermost\" 作為 向使用者顯示的產品名稱。 按 儲存
    4. 憑證 標題下,按 建立憑證,選擇 OAuth 用戶端 ID 並選擇 網路應用程式
    5. 限制已授權的重新導向 URI 中輸入 您的 Mattermost 網址/signup/google/complete (如: http://localhost:8065/signup/google/complete)。 按 建立
    6. 用戶端 ID用戶端密鑰 貼至下面的欄位,按下儲存
    7. 最後,前往 Google+ API 並按 啟用。這可能需要花上幾分鐘以在 Google 的系統完成散佈。
    ", + "admin.google.EnableHtmlDesc": "
    1. 登入 Google帳號。
    2. 前往 https://console.developers.google.com,按左側邊列的憑證並輸入\"Mattermost - 您的公司名稱\"作為專案名稱,按建立
    3. OAuth 同意畫面 標題並輸入 \"Mattermost\" 作為 向使用者顯示的產品名稱。 按 儲存
    4. 憑證 標題下,按 建立憑證,選擇 OAuth 用戶端 ID 並選擇 網路應用程式
    5. 限制已授權的重新導向 URI 中輸入 您的 Mattermost 網址/signup/google/complete (如: http://localhost:8065/signup/google/complete)。 按 建立
    6. 用戶端 ID用戶端密鑰 貼至下面的欄位,按下儲存
    7. 最後,前往 Google+ API 並按 啟用。這可能需要花上幾分鐘以在 Google 的系統完成散佈。
    ", "admin.google.authTitle": "認證端點:", "admin.google.clientIdDescription": "在 Google 註冊應用程式時收到的用戶端 ID。", "admin.google.clientIdExample": "如:\"7602141235235-url0fhs1mayfasbmop5qlfns8dh4.apps.googleusercontent.com\"", @@ -512,10 +512,10 @@ "admin.oauth.google": "Google Apps", "admin.oauth.off": "不允許經由 OAuth 2.0 提供者登入", "admin.oauth.office365": "Office 365 (Beta)", - "admin.oauth.providerDescription": "啟用時,Mattermost 將可以作為一個 OAuth 2.0 服務提供者以授權外部應用程式的 API 要求。詳請參閱文件。", + "admin.oauth.providerDescription": "啟用時,Mattermost 將可以作為一個 OAuth 2.0 服務提供者以授權外部應用程式的 API 要求。詳請參閱文件。", "admin.oauth.providerTitle": "啟用 OAuth 2.0 服務提供者:", "admin.oauth.select": "選擇 OAuth 2.0 服務提供者:", - "admin.office365.EnableHtmlDesc": "
    1. 登入 Microsoft 或 Office 365 帳號。請確定該帳號跟其他使用者的登入帳號在同一個租用戶下。
    2. 前往 https://apps.dev.microsoft.com,按 前往應用程式列表 > 新增應用程式 並用 \"Mattermost - 您的公司名稱\" 作為應用程式名稱
    3. 應用程式密碼 下,按 產生新密碼 並黏貼至底下的應用程式密碼欄位。
    4. 平台 下,按 新增平台 選擇 Web 並在 重新導向 URI 欄位輸入 您的-mattermost-網址/signup/office365/complete (如:http://localhost:8065/signup/office365/complete)。同時取消 允許隱含流程
    5. 最後,按下 儲存 並貼上底下的應用程式識別碼欄位。
    ", + "admin.office365.EnableHtmlDesc": "
    1. 登入 Microsoft 或 Office 365 帳號。請確定該帳號跟其他使用者的登入帳號在同一個租用戶下。
    2. 前往 https://apps.dev.microsoft.com,按 前往應用程式列表 > 新增應用程式 並用 \"Mattermost - 您的公司名稱\" 作為應用程式名稱
    3. 應用程式密碼 下,按 產生新密碼 並黏貼至底下的應用程式密碼欄位。
    4. 平台 下,按 新增平台 選擇 Web 並在 重新導向 URI 欄位輸入 您的-mattermost-網址/signup/office365/complete (如:http://localhost:8065/signup/office365/complete)。同時取消 允許隱含流程
    5. 最後,按下 儲存 並貼上底下的應用程式識別碼欄位。
    ", "admin.office365.authTitle": "認證端點:", "admin.office365.clientIdDescription": "在 Microsoft 註冊應用程式時收到的應用程式/用戶端識別碼。", "admin.office365.clientIdExample": "如:\"adf3sfa2-ag3f-sn4n-ids0-sh1hdax192qq\"", diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index 9c93c09d7..0436af6c5 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -258,32 +258,40 @@ outline: none; text-align: center; } - .nav-pills__unread-indicator-bottom { - position: absolute; - bottom: -30px; - left: 0; - right: 0; - - @include border-radius(50px); - font-size: 13.5px; - margin: 0 auto; - padding: 3px 0 4px; - text-align: center; - max-width: 250px; - z-index: 1; - cursor: pointer; - transition: bottom 0.2s ease-out; - - .fa { - margin-right: 0.5rem; - } - &.visible { + .new-messages__button { + @include opacity(0); bottom: 0; - } - &.disabled { - display: none; - } + font-size: 13.5px; + left: 0; + margin: 0 auto; + position: absolute; + right: 0; + text-align: center; + z-index: 1; + + .fa { + font-size: 1.2em; + font-weight: bold; + margin-right: .5rem; + position: relative; + top: 1px; + } + + div { + @include border-radius(50px); + cursor: pointer; + display: inline-block; + padding: 5px 10px; + } + + &.visible { + @include opacity(1); + } + + &.disabled { + display: none; + } } } @@ -451,20 +459,20 @@ color: rgb(51, 51, 51); position: absolute; top: 4px; - } - } - } - - .msg-typing { - @include opacity(.7); - display: block; - font-size: .95em; - height: 20px; - margin-bottom: 5px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } + } + } + } + + .msg-typing { + @include opacity(.7); + display: block; + font-size: .95em; + height: 20px; + margin-bottom: 5px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} } .post-list__table { diff --git a/webapp/sass/responsive/_mobile.scss b/webapp/sass/responsive/_mobile.scss index 68ba20537..a13d2de00 100644 --- a/webapp/sass/responsive/_mobile.scss +++ b/webapp/sass/responsive/_mobile.scss @@ -44,6 +44,11 @@ color: $white; font-size: 15px; padding: 15px 20px 100px; + + > div { + height: calc(100vh - 150px); + overflow: auto; + } } .close { diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index b0eca9d55..6988225a1 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -532,12 +532,12 @@ export function applyTheme(theme) { } if (theme.mentionBj) { - changeCss('.sidebar--left .nav-pills__unread-indicator', 'background:' + theme.mentionBj); + changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'background:' + theme.mentionBj); changeCss('.sidebar--left .badge', 'background:' + theme.mentionBj + '!important;'); } if (theme.mentionColor) { - changeCss('.sidebar--left .nav-pills__unread-indicator', 'color:' + theme.mentionColor); + changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'color:' + theme.mentionColor); changeCss('.sidebar--left .badge', 'color:' + theme.mentionColor + '!important;'); changeCss('.app__body .post-reaction--current-user', 'background-color:' + changeOpacity(theme.mentionColor, 0.4)); } @@ -560,7 +560,6 @@ export function applyTheme(theme) { changeCss('body.app__body', 'scrollbar-face-color:' + theme.centerChannelBg); changeCss('body.app__body', 'scrollbar-track-color:' + theme.centerChannelBg); changeCss('.app__body .post-list__new-messages-below', 'color:' + theme.centerChannelBg); - changeCss('.app__body .nav-pills__unread-indicator-bottom', 'color:' + theme.centerChannelBg); } if (theme.centerChannelColor) { @@ -645,8 +644,6 @@ export function applyTheme(theme) { changeCss('.app__body a, .app__body a:focus, .app__body a:hover, .app__body .btn, .app__body .btn:focus, .app__body .btn:hover', 'color:' + theme.linkColor); changeCss('.app__body .attachment .attachment__container', 'border-left-color:' + changeOpacity(theme.linkColor, 0.5)); changeCss('.app__body .channel-header__links .icon:hover, .app__body .post .flag-icon__container.visible, .app__body .post .comment-icon__container, .app__body .post .post__reply', 'fill:' + theme.linkColor); - changeCss('.app__body .nav-pills__unread-indicator-bottom', 'background:' + theme.linkColor); - changeCss('.app__body .nav-pills__unread-indicator-bottom:hover', 'background:' + changeColor(theme.linkColor, 0.1)); } if (theme.buttonBg) { -- cgit v1.2.3-1-g7c22