Skip to content

Commit

Permalink
Change popup to say "Show original" and make it more clear that trans…
Browse files Browse the repository at this point in the history
…lation finished.

Fixes #54
  • Loading branch information
jelmervdl committed Nov 15, 2022
1 parent c8a4aa2 commit e7aa5aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@
<progress data-bind:value="modelDownloadRead" data-bind:max="modelDownloadSize"></progress>
</div>
<div data-state="translation-in-progress">
<p id="progress-message">Translating page from <span data-bind:text-content="lang-from"></span> to <span data-bind:text-content="lang-to"></span></p>
<progress data-bind:value="completedTranslationRequests" data-bind:max="totalTranslationRequests"></progress>
<button class="abort-translate-btn">Stop translating</button>
<p data-bind:hidden="!pendingTranslationRequests">Translating page from <span data-bind:text-content="lang-from"></span> to <span data-bind:text-content="lang-to"></span></p>
<p data-bind:hidden="pendingTranslationRequests">Translated page from <span data-bind:text-content="lang-from"></span> to <span data-bind:text-content="lang-to"></span>.</p>
<progress data-bind:hidden="!pendingTranslationRequests" data-bind:value="completedTranslationRequests" data-bind:max="totalTranslationRequests"></progress>
<button class="abort-translate-btn" data-bind:hidden="completedTranslationRequests">Stop translating</button>
<button class="abort-translate-btn" data-bind:hidden="!completedTranslationRequests">Show original</button>
</div>
<div data-state="translation-error">
<p>Error during translation:</p>
Expand Down

0 comments on commit e7aa5aa

Please sign in to comment.