#99 dialogs i18n translation changes

This commit is contained in:
Agriya Dev5
2021-05-19 17:01:06 +05:30
parent 524e7126ec
commit 8df421d643
2 changed files with 11 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
/* globals svgEditor */
const template = document.createElement('template');
// eslint-disable-next-line no-unsanitized/property
template.innerHTML = `
<style>
:not(:defined) {
@@ -61,17 +63,17 @@ template.innerHTML = `
<div id="svg_source_container">
<div id="tool_source_back" class="toolbar_button">
<button id="tool_source_save">
Apply Changes
${svgEditor.i18next.t('tools.source_save')}
</button>
<button id="tool_source_cancel">
Cancel
${svgEditor.i18next.t('common.cancel')}
</button>
</div>
<div id="save_output_btns">
<p id="copy_save_note">
Copy the contents of this box into a text editor,
then save the file with a .svg extension.</p>
<button id="copy_save_done">Done</button>
${svgEditor.i18next.t('notification.source_dialog_note')}
</p>
<button id="copy_save_done">${svgEditor.i18next.t('config.done')}</button>
</div>
<form>
<textarea id="svg_source_textarea" spellcheck="false" rows="5" cols="80"></textarea>