File size: 2,642 Bytes
3bfd8f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1fa26ba
3bfd8f4
 
 
 
 
 
 
 
 
 
 
 
 
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ren'Py Çeviri</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="wrap">
  <header>
    <h1>Ren'Py Çeviri <span class="badge">.rpy / .rpyc</span></h1>
    <p class="sub">
      Sadece <code>.rpy</code> / <code>.rpyc</code> dosyalarını zip'leyin, ya da tüm
      <code>game</code> klasörünü yükleyin — görsel ve ses dosyaları hiç açılmaz,
      bu yüzden ikisi de aynı hızda çalışır.
      <a href="rpgm.html">→ RPG Maker</a>
      <a href="index.html">→ Hız testi</a>
    </p>
  </header>

  <section class="panel">
    <h2>1 · Proje Yükle</h2>
    <div class="grid">
      <label>
        API Base URL
        <input type="text" id="apiBase" value="http://localhost:7860" />
      </label>
      <label>
        API Key <span class="hint">(opsiyonel)</span>
        <input type="text" id="apiKey" placeholder="X-API-Key" />
      </label>
      <label>
        Hedef Dil
        <select id="targetLang"></select>
      </label>
    </div>

    <div id="dropZone" class="dropzone">
      <input type="file" id="fileInput" accept=".zip" hidden />
      <strong>Zip dosyasını buraya sürükleyin</strong>
      <span class="hint">veya tıklayıp seçin — script dosyaları ya da game klasörü</span>
    </div>

    <div class="actions">
      <button id="btnUpload" class="primary" disabled>Yükle ve Analiz Et</button>
      <span id="uploadInfo" class="hint"></span>
    </div>
  </section>

  <section class="panel" id="projectPanel" hidden>
    <h2>2 · Çeviri</h2>
    <div class="stats" id="projectStats"></div>
    <div class="actions">
      <button id="btnStart" class="accent">Çeviriyi Başlat</button>
      <button id="btnCancel" hidden>Durdur</button>
      <button id="btnDownload">Çeviriyi İndir</button>
      <button id="btnDelete">Projeyi Sil</button>
    </div>

    <div class="progress-block">
      <div class="progress-head">
        <span>Genel İlerleme</span>
        <span id="overallPct">0%</span>
      </div>
      <div class="progress-track"><div class="progress-fill" id="overallBar"></div></div>
      <p class="hint" id="overallNote"></p>
    </div>

    <p class="hint" id="compiledNote" hidden></p>
    <p class="warning" id="staleRpycNote" hidden></p>

    <h3 class="subhead">Dosya Bazında</h3>
    <div id="fileList" class="file-list"></div>
  </section>

  <section class="panel">
    <h2>Log</h2>
    <pre id="log"></pre>
  </section>
</div>
<script src="renpy.js"></script>
</body>
</html>