Skip to content
Snippets Groups Projects
Commit 7534670e authored by Jo Vuit's avatar Jo Vuit
Browse files

Added context strings

parent 51514944
No related branches found
No related tags found
No related merge requests found
...@@ -4,22 +4,22 @@ ...@@ -4,22 +4,22 @@
<div class="two fields"> <div class="two fields">
<div class="field"> <div class="field">
<div class="field"> <div class="field">
<label for="embed-width"><translate>Widget width</translate></label> <label for="embed-width"><translate :translate-context="'Popup/Embed/Input.Label'">Widget width</translate></label>
<p><translate>Leave empty for a responsive widget</translate></p> <p><translate :translate-context="'Popup/Embed/Paragraph'">Leave empty for a responsive widget</translate></p>
<input id="embed-width" type="number" v-model.number="width" min="0" step="10" /> <input id="embed-width" type="number" v-model.number="width" min="0" step="10" />
</div> </div>
<template v-if="type != 'track'"> <template v-if="type != 'track'">
<br> <br>
<div class="field"> <div class="field">
<label for="embed-height"><translate>Widget height</translate></label> <label for="embed-height"><translate :translate-context="'Popup/Embed/Input.Label'">Widget height</translate></label>
<input id="embed-height" type="number" v-model="height" :min="minHeight" max="1000" step="10" /> <input id="embed-height" type="number" v-model="height" :min="minHeight" max="1000" step="10" />
</div> </div>
</template> </template>
</div> </div>
<div class="field"> <div class="field">
<button @click="copy" class="ui right floated button"><translate>Copy</translate></button> <button @click="copy" class="ui right floated button"><translate :translate-context="'Popup/*/Button.Label/Verb'">Copy</translate></button>
<label for="embed-width"><translate>Embed code</translate></label> <label for="embed-width"><translate :translate-context="'Popup/Embed/Input.Label/Noun'">Embed code</translate></label>
<p><translate>Copy/paste this code in your website HTML</translate></p> <p><translate :translate-context="'Popup/Embed/Paragraph'">Copy/paste this code in your website HTML</translate></p>
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<textarea ref="textarea":value="embedCode" rows="3" readonly> <textarea ref="textarea":value="embedCode" rows="3" readonly>
</textarea> </textarea>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
</div> </div>
<div class="preview"> <div class="preview">
<h3><translate>Preview</translate></h3> <h3><translate :translate-context="'Popup/Embed/Title/Noun'">Preview</translate></h3>
<iframe :width="frameWidth" :height="height" scrolling="no" frameborder="no" :src="iframeSrc"></iframe> <iframe :width="frameWidth" :height="height" scrolling="no" frameborder="no" :src="iframeSrc"></iframe>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment