forked from mirrors/LibreTranslate
Merge pull request #128 from alefvanoon/patch-1
Add dir="auto" to fix rtl lang problem
This commit is contained in:
commit
6ec7b3960c
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@
|
||||||
<label for="textarea1" class="sr-only">
|
<label for="textarea1" class="sr-only">
|
||||||
Text to translate
|
Text to translate
|
||||||
</label>
|
</label>
|
||||||
<textarea id="textarea1" v-model="inputText" @input="handleInput" ref="inputTextarea"></textarea>
|
<textarea id="textarea1" v-model="inputText" @input="handleInput" ref="inputTextarea" dir="auto"></textarea>
|
||||||
<button class="btn-delete-text" title="Delete text" @click="deleteText">
|
<button class="btn-delete-text" title="Delete text" @click="deleteText">
|
||||||
<i class="material-icons">close</i>
|
<i class="material-icons">close</i>
|
||||||
</button>
|
</button>
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
<label for="textarea2" class="sr-only">
|
<label for="textarea2" class="sr-only">
|
||||||
Translated text
|
Translated text
|
||||||
</label>
|
</label>
|
||||||
<textarea id="textarea2" v-model="translatedText" ref="translatedTextarea" readonly></textarea>
|
<textarea id="textarea2" v-model="translatedText" ref="translatedTextarea" dir="auto" readonly></textarea>
|
||||||
<button class="btn-copy-translated" @click="copyText">
|
<button class="btn-copy-translated" @click="copyText">
|
||||||
<span>[[ copyTextLabel ]]</span> <i class="material-icons">content_copy</i>
|
<span>[[ copyTextLabel ]]</span> <i class="material-icons">content_copy</i>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue