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

fix: updated title on remove and add multiview in multiview config #38

Merged
merged 1 commit into from
Oct 15, 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 @@ -203,7 +203,7 @@ export function ConfigureMultiviewModal({
{multiviews.length > 1 && (
<button
type="button"
title="Add another multiview"
title={t('preset.remove_multiview')}
onClick={() => removeNewMultiview(index)}
>
<IconTrash
Expand All @@ -214,7 +214,7 @@ export function ConfigureMultiviewModal({
{multiviews.length === index + 1 && (
<button
type="button"
title="Add another multiview"
title={t('preset.add_another_multiview')}
onClick={() => addNewMultiview(singleItem)}
>
<IconPlus className="mr-2 text-green-400 hover:text-green-200" />
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,9 @@ export const en = {
no_multiview_found: 'No multiview found',
no_port_selected: 'Unique port needed',
layout_already_exist:
'Layout {{layoutNameAlreadyExist}} will be replaced on save'
'Layout {{layoutNameAlreadyExist}} will be replaced on save',
remove_multiview: 'Remove multiview',
add_another_multiview: 'Add another multiview'
},
error: {
missing_sources_in_db: 'Missing sources, please restart production.',
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/locales/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,9 @@ export const sv = {
select_multiview_preset: 'Förinställningar',
no_port_selected: 'Unik port krävs',
layout_already_exist:
'Konfigurationen {{layoutNameAlreadyExist}} skrivs över om du sparar'
'Konfigurationen {{layoutNameAlreadyExist}} skrivs över om du sparar',
remove_multiview: 'Ta bort multiview',
add_another_multiview: 'Lägg till ny multiview'
},
error: {
missing_sources_in_db: 'Källor saknas, var god starta om produktionen.',
Expand Down
Loading