Skip to content

Commit

Permalink
fix: updated title on remove and add multiview in multiview config
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Oct 15, 2024
1 parent f49ab7b commit e83c63d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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

0 comments on commit e83c63d

Please sign in to comment.