Commit 53cb902e authored by Laureline Nevin's avatar Laureline Nevin ⌨️
Browse files

Localized text in the export parameters

parent 42e96693
Loading
Loading
Loading
Loading
+7 −5
Changes for index.html: 7 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -98,9 +98,9 @@
        <div class="export-panel" v-show="phase === 'export'">
            <div class="export-area-matrix">
                <div></div>
                <div>Start</div>
                <div>Size</div>
                <div>End</div>
                <div v-t="export.start"></div>
                <div v-t="export.size"></div>
                <div v-t="export.end"></div>
                <div>X</div>
                <div><input type="number" name="x-start" aria-label="X start" min="0" :max="totalSize[0]" step="1"
                            :value="exportParams.area.x" @change="fn.onExportParamInput"
@@ -129,8 +129,10 @@
                <div><label><input type="radio" name="lock-end" value="end" v-model="exportParams.lockedDim">🔒</label>
                </div>
            </div>
            <span><button class="btn-dark btn-icon" v-icon="zoom-fit" @click="fn.setExportParams('view')"></button> Set to current view</span>
            <span><button class="btn-dark btn-icon" v-icon="zoom-fit" @click="fn.setExportParams('full')"></button> Set to full image</span>
            <span><button class="btn-dark btn-icon" v-icon="zoom-fit"
                          @click="fn.setExportParams('view')"></button> <span v-t="export.settoview"></span></span>
            <span><button class="btn-dark btn-icon" v-icon="zoom-fit"
                          @click="fn.setExportParams('full')"></button> <span v-t="export.settofull"></span></span>
        </div>
        <span v-show="phase === 'render' || phase === 'export'">
            <button id="button-export" class="btn-dark btn-icon" @click="fn.exportImage" v-icon="export"></button>
+5 −0
Changes for src/lang/en.yaml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -38,6 +38,11 @@ export:
  success: Export result
  download: Download
  close: Close
  settoview: Set to current view
  settofull: Set to full image
  start: Start
  size: Size
  end: End

help:
  button: Help / About
+5 −0
Changes for src/lang/fr.yaml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ export:
  success: Résultat de l'export
  download: Télécharger
  close: Fermer
  settoview: Cadrer la vue actuelle
  settofull: Cadrer l'image complète
  start: Début
  size: Taille
  end: Fin

help:
  button: Aide / À propos