feat: basic translations to ui

This commit is contained in:
Nybkox
2025-02-20 22:16:27 +01:00
parent 5396b3f1fb
commit 3e6aab6b00
21 changed files with 253 additions and 93 deletions

View File

@@ -9,6 +9,7 @@
import ModalBase from './ModalBase.svelte';
import { closeCurrentModal, showModal } from './modalTools';
import { _t } from '../translations';
export let onSave;
export let json;
@@ -43,7 +44,7 @@
<div slot="footer">
<FormStyledButton
value="Save"
value={_t('common.save', { defaultMessage: 'Save' })}
data-testid="EditJsonModal_saveButton"
on:click={() => {
try {