Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌍: Correct Localized Text of "Save & Submit" Button #1517

Merged
merged 3 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const EditMessage = ({
}
onClick={resubmitMessage}
>
{localize('com_ui_save')} {'&'} {localize('com_ui_submit')}
{localize('com_ui_save_submit')}
</button>
<button
className="btn btn-secondary relative mr-2"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Chat/Messages/SiblingSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function SiblingSwitch({
</svg>
</button>
<span className="flex-shrink-0 flex-grow tabular-nums">
{siblingIdx + 1}/{siblingCount}
{siblingIdx + 1} / {siblingCount}
</span>
<button
className="disabled:text-gray-300 dark:text-white dark:disabled:text-gray-400"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Messages/Content/EditMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const EditMessage = ({
disabled={isSubmitting}
onClick={resubmitMessage}
>
{localize('com_ui_save')} {'&'} {localize('com_ui_submit')}
{localize('com_ui_save_submit')}
</button>
<button
className="btn btn-secondary relative mr-2"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Messages/SiblingSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function SiblingSwitch({
</svg>
</button>
<span className="flex-shrink-0 flex-grow">
{siblingIdx + 1}/{siblingCount}
{siblingIdx + 1} / {siblingCount}
</span>
<button
className="disabled:text-gray-300 dark:text-white dark:disabled:text-gray-400"
Expand Down
1 change: 1 addition & 0 deletions client/src/localization/languages/Eng.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default {
com_ui_upload_invalid: 'Invalid file for upload. Must be an image not exceeding 2 MB',
com_ui_cancel: 'Cancel',
com_ui_save: 'Save',
com_ui_save_submit: 'Save & Submit',
com_ui_copy_to_clipboard: 'Copy to clipboard',
com_ui_copied_to_clipboard: 'Copied to clipboard',
com_ui_regenerate: 'Regenerate',
Expand Down
1 change: 1 addition & 0 deletions client/src/localization/languages/Es.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default {
com_ui_upload_invalid: 'Archivo inválido para subir',
com_ui_cancel: 'Cancelar',
com_ui_save: 'Guardar',
com_ui_save_submit: 'Guardar y enviar',
com_ui_copy_to_clipboard: 'Copiar al portapapeles',
com_ui_copied_to_clipboard: 'Copiado al portapapeles',
com_ui_regenerate: 'Regenerar',
Expand Down
1 change: 1 addition & 0 deletions client/src/localization/languages/Fr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default {
'Fichier invalide pour le téléversement. Doit être une image ne dépassant pas 2 Mo',
com_ui_cancel: 'Annuler',
com_ui_save: 'Sauvegarder',
com_ui_save_submit: 'Enregistrer & Soumettre',
com_ui_copy_to_clipboard: 'Copier dans le presse-papier',
com_ui_copied_to_clipboard: 'Copié dans le presse-papier',
com_ui_regenerate: 'Régénérer',
Expand Down
5 changes: 4 additions & 1 deletion client/src/localization/languages/Ru.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default {
com_ui_limitation_harmful_biased:
'Иногда может создавать вредные инструкции или предвзятое содержимое',
com_ui_limitation_limited_2021: 'Ограниченные знания о мире и событиях после 2021 года',
com_ui_experimental: 'Экспериментальный',
com_ui_input: 'Ввод',
com_ui_close: 'Закрыть',
com_ui_model: 'Модель',
Expand All @@ -36,6 +37,7 @@ export default {
com_ui_upload_invalid: 'Недопустимый файл для загрузки',
com_ui_cancel: 'Отмена',
com_ui_save: 'Сохранить',
com_ui_save_submit: 'Сохранить и отправить',
com_ui_copy_to_clipboard: 'Копировать в буфер обмена',
com_ui_copied_to_clipboard: 'Скопировано в буфер обмена',
com_ui_regenerate: 'Повторная генерация',
Expand Down Expand Up @@ -257,6 +259,7 @@ export default {
'Убедитесь что нажали на \'Create and Continue\' чтобы получить как минимум \'Vertex AI User\'. Наконец, создайте JSON-ключ чтобы импортировать его сюда.',
com_nav_welcome_message: 'Чем я могу помочь вам сегодня?',
com_nav_auto_scroll: 'Автоматически проматывать к самым новым сообщениям при открытии',
com_nav_modular_chat: 'Разрешить менять точки подключения в середине разговора',
com_nav_plugin_store: 'Магазин плагинов',
com_nav_plugin_search: 'Поиск плагинов',
com_nav_plugin_auth_error:
Expand Down Expand Up @@ -291,7 +294,7 @@ export default {
com_nav_clear_conversation: 'Удалить разговоры',
com_nav_clear_conversation_confirm_message:
'Вы уверены, что хотите удалить все разговоры? Это действие нельзя отменить.',
com_nav_help_faq: 'Помощь и ЧаВо',
com_nav_help_faq: 'Помощь и Вопросы',
com_nav_settings: 'Настройки',
com_nav_search_placeholder: 'Поиск сообщений',
com_nav_setting_general: 'Общие',
Expand Down