From 6e5967e2eb42d274bbb6e249519cd1eac4de7c17 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 13 Feb 2022 12:36:45 -0500 Subject: [PATCH] move under new dictionary --- packages/fakeyou/src/_i18n/Translations.ts | 12 ++++++------ .../v2/view/tts/tts_model_list/TtsModelListFc.tsx | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/fakeyou/src/_i18n/Translations.ts b/packages/fakeyou/src/_i18n/Translations.ts index fe0a52ada7..ea07327162 100644 --- a/packages/fakeyou/src/_i18n/Translations.ts +++ b/packages/fakeyou/src/_i18n/Translations.ts @@ -32,20 +32,20 @@ const TRANSLATIONS : any = { }, pages: { ttsList: { + buttonClear: 'Clear', + buttonSpeak: 'Speak', heroTitle: 'Text to Speech*', heroSubtitle: 'Use FakeYou deep fake tech to say stuff with your favorite characters', + placeholderTextGoesHere: 'Textual shenanigans go here...', }, }, ttsListPage: { by: 'by', categoryFilters: 'Category Filters', // "Category / Language" in other locales - clearButton: 'Clear', loading: 'Loading...', search: 'Search', searchTerm: 'Search Term', seeModelDetails: 'See more details about the "<1>{{modelName}}" model by <3>{{userName}}\u{00a0}', - speakButton: 'Speak', - textGoesHere: 'Textual shenanigans go here...', voiceCount: 'Voice ({{count}} to choose from)', } } @@ -81,20 +81,20 @@ const TRANSLATIONS : any = { }, pages: { ttsList: { + buttonClear: 'Claro', + buttonSpeak: 'Hablar', heroTitle: 'Texto a Voz', heroSubtitle: 'Usa FakeYou tecnología falsa profunda para decir cosas con tus personajes favoritos', + placeholderTextGoesHere: 'Las travesuras textuales van aquí...', }, }, ttsListPage: { by: 'de', categoryFilters: 'Categoría / Idioma', - clearButton: 'Claro', loading: 'Cargando...', search: 'Búsqueda', searchTerm: 'Término de búsqueda', seeModelDetails: 'Ver más detalles sobre el modelo "<1>{{modelName}}" de <3>{{userName}}\u{00a0}', - speakButton: 'Hablar', - textGoesHere: 'Las travesuras textuales van aquí...', voiceCount: 'Voz ({{count}} para elegir)', } } diff --git a/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx b/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx index 6e201f2d1a..6899a9defc 100644 --- a/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx +++ b/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx @@ -286,7 +286,7 @@ function TtsModelListFc(props: Props) { onChange={handleChangeText} className="textarea is-large" value={props.textBuffer} - placeholder={t('ttsListPage.textGoesHere')}> + placeholder={t('pages.ttsList.placeholderTextGoesHere')}> @@ -295,12 +295,12 @@ function TtsModelListFc(props: Props) {
+ disabled={remainingCharactersButtonDisabled}>{t('pages.ttsList.buttonSpeak')}
+ onClick={handleClearClick}>{t('pages.ttsList.buttonClear')}