|
1 | 1 | /** |
2 | | - * Copyright (c) Facebook, Inc. and its affiliates. |
| 2 | + * Copyright (c) Facebook, Inc. And its affiliates. |
3 | 3 | * |
4 | 4 | * This source code is licensed under the MIT license found in the |
5 | 5 | * LICENSE file in the root directory of this source tree. |
6 | 6 | */ |
7 | 7 |
|
8 | | -import {translate} from '@docusaurus/Translate'; |
9 | | - |
10 | | -import type {DocSearchTranslations} from '@docsearch/react'; |
| 8 | +import type { DocSearchTranslations } from '@docsearch/react'; |
| 9 | +import { translate } from '@docusaurus/Translate'; |
11 | 10 |
|
12 | 11 | const translations: DocSearchTranslations & { |
13 | 12 | placeholder: string; |
@@ -128,8 +127,7 @@ const translations: DocSearchTranslations & { |
128 | 127 | placeholderTextAskAiStreaming: translate({ |
129 | 128 | id: 'theme.SearchModal.searchBox.placeholderTextAskAiStreaming', |
130 | 129 | message: 'Answering...', |
131 | | - description: |
132 | | - 'The placeholder text for search box when AI is streaming an answer', |
| 130 | + description: 'The placeholder text for search box when AI is streaming an answer', |
133 | 131 | }), |
134 | 132 | enterKeyHint: translate({ |
135 | 133 | id: 'theme.SearchModal.searchBox.enterKeyHint', |
@@ -221,8 +219,7 @@ const translations: DocSearchTranslations & { |
221 | 219 | askAiScreen: { |
222 | 220 | disclaimerText: translate({ |
223 | 221 | id: 'theme.SearchModal.askAiScreen.disclaimerText', |
224 | | - message: |
225 | | - 'Answers are generated with AI which can make mistakes. Verify responses.', |
| 222 | + message: 'Answers are generated with AI which can make mistakes. Verify responses.', |
226 | 223 | description: 'The disclaimer text for AI answers', |
227 | 224 | }), |
228 | 225 | relatedSourcesText: translate({ |
|
0 commit comments