Skip to content

Commit 1b75546

Browse files
committed
v1.7.0
1 parent 8c4fef9 commit 1b75546

File tree

12 files changed

+61
-60
lines changed

12 files changed

+61
-60
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Welcome to [Watson Assistant](https://www.ibm.com/cloud/watson-assistant/) Web C
44

55
This repository holds support assets for our documentation and coding example web site.
66

7-
## For documentation and coding examples, please visit https://integrations.us-south.assistant.watson.cloud.ibm.com/web/developer-documentation.
7+
## For documentation and coding examples, please visit https://watson-developer-cloud.github.io/assistant-web-chat/.

docs/index.html

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
11
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<title>IBM Watson Assistant Web Chat Documentation</title>
5-
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<link rel="stylesheet" href="carbon-components.min.css">
7-
<link rel="stylesheet" href="style.css">
8-
</head>
9-
<body class="dark">
10-
<div class="container">
11-
<header aria-label="IBM Platform Name" class="bx--header" role="banner"><a class="bx--header__name" href="https://integrations.us-south.assistant.watson.cloud.ibm.com/web/developer-documentation"><span
12-
class="bx--header__name--prefix">IBM</span>&nbsp;Watson Assistant Web Chat</a></header>
13-
<div class="hero">
14-
<div class="hero-image-background"></div>
15-
<div class="hero-background"></div>
16-
<div class="homepage--dots"></div>
17-
<div class="hero--content">
18-
<h2>Watson Assistant Web Chat</h2>
19-
<h3>This page has moved, click the button below or you will be re-directed in 5 seconds.</h3>
20-
<div class="hero--content--buttons">
21-
<a href="https://integrations.us-south.assistant.watson.cloud.ibm.com/web/developer-documentation"
22-
class="bx--btn bx--btn--primary">Web Chat developer documentation.</a>
23-
</div>
24-
</div>
25-
</div>
26-
</div>
27-
<script>
28-
const redirectDomain = "https://integrations.us-south.assistant.watson.cloud.ibm.com/web/developer-documentation"
29-
setTimeout(function() {
30-
window.location.replace(redirectDomain);
31-
}, 5000);
32-
</script>
33-
</body>
2+
<html lang="en">
3+
<head>
4+
<title>Watson Assistant Web Chat Documentation</title>
5+
<meta name="description" content="Web Chat is a framework-agnostic code snippet you can immediately embed on your website. Web Chat can be extended and customized in a variety of ways, so you can concentrate on your unique solutions.">
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<link rel="canonical" href="https://web-chat.assistant.watson.cloud.ibm.com/docs.html">
10+
<link rel="schema.dcterms" href="http://purl.org/dc/terms/">
11+
<meta name="dcterms.rightsHolder" content="IBM">
12+
<meta name="dcterms.dateCopyrighted" content="2020">
13+
<link rel="shortcut icon" href="https://web-chat.assistant.watson.cloud.ibm.com/favicon.ico">
14+
<script>
15+
(function() {
16+
function getUrlParameter(name) {
17+
name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
18+
const regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
19+
const results = regex.exec(location.search);
20+
return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
21+
};
22+
const baseURL = 'https://web-chat.assistant.watson.cloud.ibm.com/docs.html';
23+
const canonical = document.querySelector('link[rel="canonical"]');
24+
const to = getUrlParameter('to');
25+
if (canonical !== null && to) {
26+
canonical.href = baseURL + '?to=' + to;
27+
}
28+
})();
29+
</script>
30+
</head>
31+
<body>
32+
<root />
33+
<script src="https://web-chat.assistant.watson.cloud.ibm.com/docs.js"></script>
34+
</body>
3435
</html>

languages/ar.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"errors_ariaMessageRetrying": "نواجه بعض المشاكل في ارسال رسالتك ولكننا لا نزال نحاول",
77
"errors_ariaMessageFailed": "فشل في ارسال رسالتك",
88
"errors_noAgentsAvailable": "لا توجد أية أدوات برمجية متاحة.",
9-
"errors_busy": "عفوا، لا يمكنني مساعدتك الآن. أنا أجيب على أسئلة الكثير من الأشخاص في الوقت الحالي. يرجى اعادة المحاولة لاحقا. ",
9+
"errors_busy": "عفوا، لا يمكنني مساعدتك الآن. أنا أجيب على أسئلة الكثير من الأشخاص في الوقت الحالي. يرجى اعادة المحاولة لاحقا.",
1010
"input_placeholder": "أدخل شيء...",
1111
"input_buttonLabel": "اضغط لارسال الرسالة",
1212
"window_title": "نافذة المحادثة",
@@ -27,7 +27,7 @@
2727
"options_ariaOptionsDisabled": "سيتم الغاء اتاحة هذه الاختيارات ولا يمكن تحديدها",
2828
"header_previewLinkTitle": "معاينة المساعد",
2929
"header_ariaBotAvatar": "صورة {botName} الرمزية",
30-
"agent_reason_error": "هممم... أواجه بعض الصعوبات. أحتاج الى وكيل بشري لمتابعة المحادثة يدويا. ",
30+
"agent_reason_error": "هممم... أواجه بعض الصعوبات. أحتاج الى وكيل بشري لمتابعة المحادثة يدويا.",
3131
"agent_mockTitle": "التواصل مع الوكيل",
3232
"agent_mockDescription": "تم استلام نوع الاستجابة للاتصال بالوكيل. في عملية الانتاج، ستقوم بكتابة كود للتعامل مع عملية الاتصال هذه.",
3333
"agent_mockMessageLabel": "سيتم ارسال هذه الرسالة الى الوكيل:",

languages/cs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"messages_agentIsTyping": "Živý agent píše",
2323
"messages_scrollHandle": "Seznam zpráv",
2424
"buttons_cancel": "Storno",
25-
"options_select": "Vybrat volbu",
25+
"options_select": "Vyberte volbu",
2626
"options_seeMore": "Zobrazit další volby",
2727
"options_ariaOptionsDisabled": "Tyto volby jsou zakázány a nelze je vybrat.",
2828
"header_previewLinkTitle": "Náhled asistenta",

languages/es.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"header_previewLinkTitle": "Vista previa del asistente",
2929
"header_ariaBotAvatar": "Imagen de avatar de {botName}",
3030
"agent_reason_error": "Vaya..., me estoy encontrando con muchos problemas. Necesito un agente humano que continúe la conversación manualmente.",
31-
"agent_mockTitle": "Conectar con agente",
32-
"agent_mockDescription": "Se ha recibido el tipo de respuesta Conectar con agente. En producción, debería escribirse código para gestionar esta conexión.",
33-
"agent_mockMessageLabel": "Este mensaje se enviará al agente:",
31+
"agent_mockTitle": "Conectar con un agente",
32+
"agent_mockDescription": "Se ha recibido el tipo de respuesta Conectar con un agente. En producción, debería escribirse código para gestionar esta conexión.",
33+
"agent_mockMessageLabel": "Se enviará este mensaje al agente:",
3434
"agent_chatTitle": "Soporte de agente en directo",
3535
"agent_chatDescription": "Le informaremos cuando un agente responda a su solicitud. Los tiempos de respuesta varían en función de la disponibilidad.",
3636
"agent_startChat": "Solicitar agente",

languages/fr.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"messages_botSaid": "{botName} a dit",
1919
"messages_agentSaid": "L'agent en ligne a dit",
2020
"messages_searchResults": "Résultats de la recherche",
21-
"messages_botIsTyping": "{botName} est en cours de saisie",
22-
"messages_agentIsTyping": "L'agent en ligne est en cours de saisie",
21+
"messages_botIsTyping": "{botName} est en train d'écrire",
22+
"messages_agentIsTyping": "L'agent en ligne est en train d'écrire",
2323
"messages_scrollHandle": "Liste des messages",
2424
"buttons_cancel": "Annuler",
2525
"options_select": "Sélectionner une option",
@@ -29,7 +29,7 @@
2929
"header_ariaBotAvatar": "Avatar de {botName}",
3030
"agent_reason_error": "Hum... Je rencontre quelques difficultés. J'ai besoin qu'un agent humain poursuive manuellement cette conversation.",
3131
"agent_mockTitle": "Connexion à l'agent",
32-
"agent_mockDescription": "Le type de réponse Connexion à l'agent a été reçu. En production, vous écririez du code pour gérer cette connexion.",
32+
"agent_mockDescription": "Le type de réponse reçu est Connexion à l'agent. En production, vous écririez du code pour gérer cette connexion.",
3333
"agent_mockMessageLabel": "Ce message va être envoyé à l'agent :",
3434
"agent_chatTitle": "Support par un agent en ligne",
3535
"agent_chatDescription": "Je vous informerai lorsqu'un agent répondra à votre demande. Les temps de réponse varient selon la disponibilité.",
@@ -41,8 +41,8 @@
4141
"agent_agentJoinedNoName": "Un agent a rejoint la discussion",
4242
"agent_connectingMinutes": "Demande d'agent envoyée...<br/>Le temps d'attente actuel est de <b>{time, number} {time, plural, one {minute} other {minutes}}</b>.",
4343
"agent_connectingQueue": "Demande d'agent envoyée...<br/>Vous êtes le numéro <b>{position, number}</b> dans la file d'attente.",
44-
"agent_ariaOpenedAgentView": "Vous voyez maintenant la discussion avec un agent en ligne. Cliquez sur le bouton de basculement pour revenir à {botName}.",
45-
"agent_ariaOpenedBotView": "Vous voyez maintenant la discussion avec {botName}. Cliquez sur le bouton de basculement pour revenir à l'agent en ligne.",
44+
"agent_ariaOpenedAgentView": "La discussion avec un agent en ligne est maintenant affichée. Cliquez sur le bouton de basculement pour revenir à {botName}.",
45+
"agent_ariaOpenedBotView": "La discussion avec {botName} est maintenant affichée. Cliquez sur le bouton de basculement pour revenir à l'agent en ligne.",
4646
"agent_ariaConnectingCancel": "Cliquez pour annuler l'attente d'un agent",
4747
"agent_ariaAgentAvatar": "Avatar de l'agent en ligne",
4848
"agent_ariaAgentNewMessage": "Vous avez reçu un nouveau message de l'agent en ligne. Cliquez sur le bouton du message pour ouvrir la vue. Le message est : {messageText}",
@@ -53,7 +53,7 @@
5353
"agent_youEndedChat": "Vous avez mis fin à la conversation",
5454
"agent_agentEndedChat": "{personName} a mis fin à la conversation",
5555
"agent_agentEndedChatNoName": "L'agent en ligne a mis fin à la conversation",
56-
"agent_transferring": "Vous êtes transféré à {personName}",
56+
"agent_transferring": "Vous êtes transféré à l'agent {personName}",
5757
"agent_transferringNoName": "Vous êtes transféré à un nouvel agent",
5858
"agent_endChat": "Mettre fin à la discussion en ligne",
5959
"agent_confirmEndChat": "Etes-vous sûr de vouloir mettre fin à votre session avec l'agent en ligne ?",

languages/it.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"header_ariaBotAvatar": "Immagine avatar {botName}",
3030
"agent_reason_error": "Sto sperimentando delle difficoltà. Ho bisogno di un agent umano per proseguire manualmente la conversazione. ",
3131
"agent_mockTitle": "Connetti all'agent",
32-
"agent_mockDescription": "La riposta di tipo connetti all'agent è stata ricevuta. In produzione andrebbe scritto un codice per gestire questa connessione.",
33-
"agent_mockMessageLabel": "Questo messaggio sarà inviato all'agent:",
32+
"agent_mockDescription": "È stata ricevuta la risposta di tipo connetti all'agen. In produzione, andrebbe scritto un codice per gestire questa connessione.",
33+
"agent_mockMessageLabel": "Questo messaggio verrà inviato all'agent:",
3434
"agent_chatTitle": "Supporto agent live",
3535
"agent_chatDescription": "L'utente verrà informato quando un agent risponde alla sua richiesta. I tempi di risposta possono variare a seconda delle disponibilità.",
3636
"agent_startChat": "Richiedi agent",

languages/ja.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"errors_generic": "複数の問題が発生しています。 リフレッシュして再試行してください。",
33
"errors_communicating": "{botName} との通信中にエラーが発生しました。",
44
"errors_imageSource": "画像はご利用になれません。",
5-
"errors_singleMessage": "先ほどの送信メッセージにエラーがありました。別のご質問をお願いします。",
5+
"errors_singleMessage": "先ほど送信されたメッセージにエラーがありました。別のご質問をお願いします。",
66
"errors_ariaMessageRetrying": "メッセージの送信で問題が発生していますが、送信を続けています",
77
"errors_ariaMessageFailed": "あなたのメッセージを送信できませんでした",
88
"errors_noAgentsAvailable": "利用可能なエージェントがありません。",
@@ -28,8 +28,8 @@
2828
"header_previewLinkTitle": "Assistant プレビュー",
2929
"header_ariaBotAvatar": "{botName} アバター・イメージ",
3030
"agent_reason_error": "現在、問題が発生しているようです。手動で対話を継続するには、ライブ・エージェントのサポートが必要です。",
31-
"agent_mockTitle": "Connect to Agent",
32-
"agent_mockDescription": "Connect to Agent」応答タイプを受け取りました。 本番環境では、この接続を処理するためのコードを書くことになります。",
31+
"agent_mockTitle": "エージェントに接続",
32+
"agent_mockDescription": "エージェントに接続」応答タイプを受け取りました。本番環境では、この接続を処理するためのコードを書くことになります。",
3333
"agent_mockMessageLabel": "メッセージは、エージェントに送られます:",
3434
"agent_chatTitle": "ライブ・エージェント・サポート",
3535
"agent_chatDescription": "エージェントがリクエストに応答した場合、通知します。 応答時間は、状況により異なります。",

languages/pt-br.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"errors_busy": "Não é possível ajudá-lo agora. Estamos respondendo perguntas de muitas pessoas no momento. Por favor, tente novamente mais tarde.",
1010
"input_placeholder": "Digite alguma coisa...",
1111
"input_buttonLabel": "Clique para enviar a mensagem",
12-
"window_title": "Janela Bate-papo",
12+
"window_title": "Janela de bate-papo",
1313
"window_ariaWindowOpened": "A janela de bate-papo foi aberta",
1414
"window_ariaWindowClosed": "A janela de bate-papo foi fechada",
1515
"launcher_isOpen": "Fechar a janela de bate-papo",
1616
"launcher_isClosed": "Abrir a janela de bate-papo",
1717
"messages_youSaid": "Você disse",
1818
"messages_botSaid": "{botName} disse",
1919
"messages_agentSaid": "O agente em tempo real disse",
20-
"messages_searchResults": "Resultados da pesquisa",
20+
"messages_searchResults": "Resultados da procura",
2121
"messages_botIsTyping": "{botName} está digitando",
2222
"messages_agentIsTyping": "O agente em tempo real está digitando",
2323
"messages_scrollHandle": "Lista de mensagens",

languages/zh-tw.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"options_select": "選取選項",
2626
"options_seeMore": "請參閱其他選項",
2727
"options_ariaOptionsDisabled": "這些選項已停用,且無法選取",
28-
"header_previewLinkTitle": "預覽助理",
28+
"header_previewLinkTitle": "Assistant 預覽",
2929
"header_ariaBotAvatar": "{botName} 頭像",
3030
"agent_reason_error": "嗯... 我遇到了一些麻煩。我需要人工操作,讓真人服務專員繼續參與對話。",
3131
"agent_mockTitle": "連接至客服人員",
32-
"agent_mockDescription": "收到連接至客服人員回應類型。在生產中,您會撰寫程式碼以處理此連線",
32+
"agent_mockDescription": "收到連接至客服人員回應類型。在正式作業中,您可以撰寫程式碼以處理此連線",
3333
"agent_mockMessageLabel": "此訊息將傳送至客服人員:",
3434
"agent_chatTitle": "在線客服人員支援",
3535
"agent_chatDescription": "有客服人員可以處理您的要求時,我們將通知您。回應時間會有不同,取決於客服人員的空閒情況。",

0 commit comments

Comments
 (0)