summaryrefslogtreecommitdiffstats
path: root/toolkit/components/translations/content/translations.html
blob: bd2c114a0acdb0ac1b5153ccf9c04c0271ce769f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'">
    <meta name="color-scheme" content="light dark">
    <meta name="viewport" content="width=device-width" />
    <title data-l10n-id="about-translations-title"></title>
    <link rel="stylesheet" href="chrome://global/skin/global.css">
    <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
    <link rel="stylesheet" href="chrome://global/content/translations/translations.css">
    <link rel="localization" href="toolkit/branding/brandings.ftl"/>
    <link rel="localization" href="locales-preview/aboutTranslations.ftl"/>
    <script type="module" src="chrome://global/content/translations/translations.mjs"></script>
  </head>
  <body>
    <h1 data-l10n-id="about-translations-header"></h1>
    <main class="about-translations-contents">

      <header class="about-translations-header">
        <div class="about-translations-header-start">
          <select
            class="about-translations-select"
            id="language-from"
            disabled>
            <option data-l10n-id="about-translations-detect" value="detect"></option>
          </select>
        </div>
        <div class="about-translations-header-end">
          <select
            class="about-translations-select"
            id="language-to"
            disabled>
            <option data-l10n-id="about-translations-select" value=""></option>
          </select>
        </div>
      </header>

      <main class="about-translations-input">
        <div class="about-translations-input-start">
          <textarea
            class="about-translations-input-textarea"
            data-l10n-id="about-translations-textarea"
            id="translation-from"
            ></textarea>
        </div>
        <div class="about-translations-input-end">
          <div
            class="about-translations-input-results about-translations-input-results-blank"
            id="translation-to-blank">
            <div class="about-translations-info" id="translation-info">
              <div class="about-translations-info-icon"></div>
              <div class="about-translations-info-message" id="translation-info-message"></div>
            </div>
            <div data-l10n-id="about-translations-results-placeholder"></div>
          </div>
          <div
            class="about-translations-input-results"
            id="translation-to">
          </div>
        </div>
      </main>

    </div>
  </body>
</html>