-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpopup.html
100 lines (100 loc) · 3.4 KB
/
popup.html
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title class="extTitle"></title>
<link rel="stylesheet" href="css/reset.css"/>
<link rel="stylesheet" href="css/popup.css"/>
<link rel="stylesheet" href="css/chroxs.css"/>
<script type="text/javascript" src="http://api.microsofttranslator.com/V1/Ajax.svc/Embed?appId=76518BFCEBBF18E107C7073FBD4A735001B56BB1"></script>
<script src="js/jquery.js"></script>
<script src="js/chroxs.js"></script>
<script src="js/popup.js"></script>
</head>
<body>
<div class="card" id="main">
<div id="xtitlebar" class="toolbar">
<img src="icons/ico16.png" alt=""/>
<span class="title extTitle"></span>
<a class="button ico notxt icon-x-close" href="#-x">Close</a>
<a class="button ico notxt icon-info" href="#info">Info</a>
<a class="button ico notxt icon-cog" href="#options">Options</a>
</div>
<div id="extdescription"></div>
<form>
<div>
<div>
<select id="fromto"></select>
<a class="button ico notxt icon-cog" href="#options">Options</a>
</div>
<label for="from">Source text</label>
<div id="noAutomatic" class="alert"></div>
<textarea id="from"></textarea>
<label for="to">Translated text</label>
<textarea id="to"></textarea>
</div>
</form>
</div>
<div class="card pop" id="options">
<div class="toolbar">
<span class="title">Options</span>
<a class="button ico notxt icon-x-close" href="#main">Close</a>
</div>
<form></form>
<div class="form-submit"><a class="button ico icon-x-close" href="#main">Close</a></div>
</div>
<div class="card pop" id="info">
<div id="versionInfo">
<div><strong class="extTitle"></strong><br/>v.1.1.8.3<br/>2012.05.02</div>
</div>
<div id="updatesInfo">
<dl>
<dt>What's new in version 1.1.8.3</dt>
<dd>
<ul>
<li>Replaced \u000a with HTML special entities</li>
</ul>
</dd>
<dt>What's new in version 1.1.8.2</dt>
<dd>
<ul>
<li>Bug fixes</li>
</ul>
</dd>
<dt>What's new in version 1.1.8</dt>
<dd>
<ul>
<li>Fix: new API version</li>
<li>Russian locale, THANKS TO <a href="https://github.com/apaxuc">apaxuc</a></li>
</ul>
</dd>
<dt>What's new in version 1.1.7</dt>
<dd>
<ul>
<li>Replaced Google Translate API (deprecated) with Microsoft Translator's AJAX interface, to fix the "Suspected Terms of Service Abuse" error</li>
<li>Improvements on right-click translation: pop-up wait animation and better positioning.</li>
</ul>
</dd>
<dt>What's new in version 1.1.5</dt>
<dd>
<ul>
<li>Bug fix: removed bug on showing error messages from Google API.</li>
</ul>
</dd>
<dt>What's new in version 1.1.4</dt>
<dd>
<ul>
<li>Now you can translate using context menus: try right-click on selection!</li>
<li>New icon.</li>
<li>Bug fix: now you can translate very long text fragments.</li>
</ul>
</dd>
</dl>
</div>
<p>Copyright (c) 2011 - 2012 Gianluca Troiani - <a href="http://opensource.org/licenses/mit-license.php">MIT License</a></p>
<p>Follow me on twitter: <a href="http://twitter.com/giatro" target="blank">@giatro</a></p>
<p>Icons: <a href="http://somerandomdude.com/projects/iconic/" target="blank">iconic</a> by <a href="http://somerandomdude.com/" target="blank">somerandomdude.com</a>
<div class="form-submit"><a class="button ico icon-x-close" href="#main">Close</a></div>
</div>
</body>
</html>