file reorg
@ -1,17 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<body>
|
||||
<script src="../lib/handlebars.min.js"></script>
|
||||
<script src="../lib/dexie.min.js"></script>
|
||||
<script src="../lib/wanakana.min.js"></script>
|
||||
<script src="js/templates.js"></script>
|
||||
<script src="js/gecko.js"></script>
|
||||
<script src="js/util.js"></script>
|
||||
<script src="js/anki-connect.js"></script>
|
||||
<script src="js/anki-null.js"></script>
|
||||
<script src="js/database.js"></script>
|
||||
<script src="js/deinflector.js"></script>
|
||||
<script src="js/translator.js"></script>
|
||||
<script src="js/yomichan.js"></script>
|
||||
<script src="/mixed/lib/handlebars.min.js"></script>
|
||||
<script src="/mixed/lib/dexie.min.js"></script>
|
||||
<script src="/mixed/lib/wanakana.min.js"></script>
|
||||
<script src="/bg/js/templates.js"></script>
|
||||
<script src="/bg/js/gecko.js"></script>
|
||||
<script src="/bg/js/util.js"></script>
|
||||
<script src="/bg/js/anki-connect.js"></script>
|
||||
<script src="/bg/js/anki-null.js"></script>
|
||||
<script src="/bg/js/database.js"></script>
|
||||
<script src="/bg/js/deinflector.js"></script>
|
||||
<script src="/bg/js/translator.js"></script>
|
||||
<script src="/bg/js/yomichan.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,11 +3,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Welcome to Yomichan!</title>
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="container-fluid">
|
||||
<div class="page-header">
|
||||
<h1>Welcome to Yomichan!</h1>
|
||||
</div>
|
||||
@ -23,10 +23,10 @@
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>Click on the <img src="../img/icon16.png" alt> icon in the browser toolbar to open the Yomichan options page.</li>
|
||||
<li>Click on the <img src="/mixed/img/icon16.png" alt> icon in the browser toolbar to open the Yomichan options page.</li>
|
||||
<li>Import the dictionaries (bundled or custom) you wish to use for term and Kanji searches.</li>
|
||||
<li>Hold down <kbd>Shift</kbd> (or the middle mouse button) as you hover over text to see term definitions.</li>
|
||||
<li>Click on the <img src="../fg/img/play_audio.png" alt> icon to hear the term pronounced by a native speaker (if audio is available).</li>
|
||||
<li>Click on the <img src="/mixed/fg/img/play_audio.png" alt> icon to hear the term pronounced by a native speaker (if audio is available).</li>
|
||||
<li>Click on Kanji in the definition window to view additional information about that character.</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -302,7 +302,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
|
||||
|
||||
return " <a href=\"#\" title=\"Add Kanji\" class=\"action-add-note pending disabled\" data-mode=\"kanji\" data-index=\""
|
||||
+ container.escapeExpression(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"index","hash":{},"data":data}) : helper)))
|
||||
+ "\"><img src=\"/fg/img/add_kanji.png\"></a>\n";
|
||||
+ "\"><img src=\"/mixed/img/add_kanji.png\"></a>\n";
|
||||
},"4":function(container,depth0,helpers,partials,data) {
|
||||
var stack1;
|
||||
|
||||
@ -459,15 +459,15 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
|
||||
|
||||
return " <a href=\"#\" title=\"Add term as expression\" class=\"action-add-note pending disabled\" data-mode=\"term_kanji\" data-index=\""
|
||||
+ alias4(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"index","hash":{},"data":data}) : helper)))
|
||||
+ "\"><img src=\"/fg/img/add_term_kanji.png\"></a>\n <a href=\"#\" title=\"Add term as reading\" class=\"action-add-note pending disabled\" data-mode=\"term_kana\" data-index=\""
|
||||
+ "\"><img src=\"/mixed/img/add_term_kanji.png\"></a>\n <a href=\"#\" title=\"Add term as reading\" class=\"action-add-note pending disabled\" data-mode=\"term_kana\" data-index=\""
|
||||
+ alias4(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"index","hash":{},"data":data}) : helper)))
|
||||
+ "\"><img src=\"/fg/img/add_term_kana.png\"></a>\n";
|
||||
+ "\"><img src=\"/mixed/img/add_term_kana.png\"></a>\n";
|
||||
},"15":function(container,depth0,helpers,partials,data) {
|
||||
var helper;
|
||||
|
||||
return " <a href=\"#\" title=\"Play audio\" class=\"action-play-audio\" data-index=\""
|
||||
+ container.escapeExpression(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"index","hash":{},"data":data}) : helper)))
|
||||
+ "\"><img src=\"/fg/img/play_audio.png\"></a>\n";
|
||||
+ "\"><img src=\"/mixed/img/play_audio.png\"></a>\n";
|
||||
},"17":function(container,depth0,helpers,partials,data) {
|
||||
var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", buffer =
|
||||
" <div class=\"expression\"><ruby>";
|
||||
|
@ -3,11 +3,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Yomichan Legal</title>
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="container-fluid">
|
||||
<h3>Yomichan License</h3>
|
||||
<pre>
|
||||
Copyright (C) 2016 Alex Yatskov
|
||||
|
@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Yomichan Options</title>
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<style>
|
||||
#anki-spinner, #anki-general, #anki-error,
|
||||
#dict-spinner, #dict-error, #dict-warning, #dict-purge-progress, #dict-import-progress,
|
||||
@ -75,7 +75,7 @@
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<img src="img/spinner.gif" class="pull-right" id="dict-spinner" alt>
|
||||
<img src="/mixed/img/spinner.gif" class="pull-right" id="dict-spinner" alt>
|
||||
<h3>Dictionaries</h3>
|
||||
</div>
|
||||
|
||||
@ -223,7 +223,7 @@
|
||||
improve Yomichan!
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN"><img src="img/paypal.gif" alt></a>
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN"><img src="/bg/img/paypal.gif" alt></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -233,12 +233,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="../lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="../lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
|
||||
<script src="../lib/handlebars.min.js"></script>
|
||||
<script src="js/templates.js"></script>
|
||||
<script src="js/gecko.js"></script>
|
||||
<script src="js/util.js"></script>
|
||||
<script src="js/options.js"></script>
|
||||
<script src="/mixed/lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="/mixed/lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
|
||||
<script src="/mixed/lib/handlebars.min.js"></script>
|
||||
<script src="/bg/js/templates.js"></script>
|
||||
<script src="/bg/js/gecko.js"></script>
|
||||
<script src="/bg/js/util.js"></script>
|
||||
<script src="/bg/js/options.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-toggle/bootstrap-toggle.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.css">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding: 10px;
|
||||
@ -27,11 +27,11 @@
|
||||
<button type="button" id="open-help" title="Help" class="btn btn-default btn-xs glyphicon glyphicon-question-sign"></button>
|
||||
</div>
|
||||
</p>
|
||||
<script src="../lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="../lib/bootstrap-toggle/bootstrap-toggle.min.js"></script>
|
||||
<script src="js/gecko.js"></script>
|
||||
<script src="js/util.js"></script>
|
||||
<script src="js/options.js"></script>
|
||||
<script src="js/popup.js"></script>
|
||||
<script src="/mixed/lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.js"></script>
|
||||
<script src="/bg/js/gecko.js"></script>
|
||||
<script src="/bg/js/util.js"></script>
|
||||
<script src="/bg/js/options.js"></script>
|
||||
<script src="/bg/js/popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,9 +3,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Yomichan Search</title>
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../fg/css/frame.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/mixed/css/frame.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
@ -19,14 +19,14 @@
|
||||
</p>
|
||||
|
||||
<div id="spinner">
|
||||
<img src="img/spinner.gif">
|
||||
<img src="/mixed/img/spinner.gif">
|
||||
</div>
|
||||
|
||||
<div id="content"></div>
|
||||
</div>
|
||||
<script src="../lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="js/gecko.js"></script>
|
||||
<script src="js/util.js"></script>
|
||||
<script src="js/search.js"></script>
|
||||
<script src="/mixed/lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="/bg/js/gecko.js"></script>
|
||||
<script src="/bg/js/util.js"></script>
|
||||
<script src="/bg/js/search.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,14 +3,14 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" href="css/frame.css">
|
||||
<link rel="stylesheet" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
|
||||
<link rel="stylesheet" href="/mixed/css/frame.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div id="spinner">
|
||||
<img src="img/spinner.gif">
|
||||
<img src="/mixed/img/spinner.gif">
|
||||
</div>
|
||||
|
||||
<div id="content"></div>
|
||||
@ -20,10 +20,10 @@
|
||||
<p>The Yomichan extension has been updated to a new version! In order to continue viewing definitions on this page you must reload this tab or restart your browser.</p>
|
||||
</div>
|
||||
|
||||
<script src="../lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="../lib/wanakana.min.js"></script>
|
||||
<script src="js/util.js"></script>
|
||||
<script src="js/frame.js"></script>
|
||||
<script src="/mixed/lib/jquery-3.1.1.min.js"></script>
|
||||
<script src="/mixed/lib/wanakana.min.js"></script>
|
||||
<script src="/fg/js/util.js"></script>
|
||||
<script src="/fg/js/frame.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 7.2 KiB |
@ -1,12 +1,12 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Yomichan",
|
||||
"version": "1.0.17",
|
||||
"version": "1.0.18",
|
||||
|
||||
"description": "Japanese dictionary with Anki integration",
|
||||
"icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"},
|
||||
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},
|
||||
"browser_action": {
|
||||
"default_icon": {"19": "img/icon19.png", "38": "img/icon38.png"},
|
||||
"default_icon": {"19": "mixed/img/icon19.png", "38": "mixed/img/icon38.png"},
|
||||
"default_popup": "bg/popup.html"
|
||||
},
|
||||
|
||||
@ -33,17 +33,17 @@
|
||||
"storage"
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
"fg/css/frame.css",
|
||||
"fg/frame.html",
|
||||
"fg/img/add_kanji.png",
|
||||
"fg/img/add_term_kana.png",
|
||||
"fg/img/add_term_kanji.png",
|
||||
"fg/img/play_audio.png",
|
||||
"fg/img/spinner.gif",
|
||||
"fg/js/frame.js",
|
||||
"fg/mp3/button.mp3",
|
||||
"fg/ttf/kanji-stroke-orders.ttf",
|
||||
"fg/ttf/vl-gothic-regular.ttf"
|
||||
"mixed/css/frame.css",
|
||||
"mixed/img/add_kanji.png",
|
||||
"mixed/img/add_term_kana.png",
|
||||
"mixed/img/add_term_kanji.png",
|
||||
"mixed/img/play_audio.png",
|
||||
"mixed/img/spinner.gif",
|
||||
"mixed/mp3/button.mp3",
|
||||
"mixed/ttf/kanji-stroke-orders.ttf",
|
||||
"mixed/ttf/vl-gothic-regular.ttf"
|
||||
],
|
||||
"applications": {
|
||||
"gecko": {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
@font-face {
|
||||
font-family: kanji-stroke-orders;
|
||||
src: url('../ttf/kanji-stroke-orders.ttf');
|
||||
src: url('/mixed/ttf/kanji-stroke-orders.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vl-gothic-regular;
|
||||
src: url('../ttf/vl-gothic-regular.ttf');
|
||||
src: url('/mixed/ttf/vl-gothic-regular.ttf');
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
@ -2,7 +2,7 @@
|
||||
<p>
|
||||
<div class="actions">
|
||||
{{#if addable}}
|
||||
<a href="#" title="Add Kanji" class="action-add-note pending disabled" data-mode="kanji" data-index="{{@index}}"><img src="/fg/img/add_kanji.png"></a>
|
||||
<a href="#" title="Add Kanji" class="action-add-note pending disabled" data-mode="kanji" data-index="{{@index}}"><img src="/mixed/img/add_kanji.png"></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
@ -21,11 +21,11 @@
|
||||
<p>
|
||||
<div class="actions">
|
||||
{{#if addable}}
|
||||
<a href="#" title="Add term as expression" class="action-add-note pending disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="/fg/img/add_term_kanji.png"></a>
|
||||
<a href="#" title="Add term as reading" class="action-add-note pending disabled" data-mode="term_kana" data-index="{{@index}}"><img src="/fg/img/add_term_kana.png"></a>
|
||||
<a href="#" title="Add term as expression" class="action-add-note pending disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="/mixed/img/add_term_kanji.png"></a>
|
||||
<a href="#" title="Add term as reading" class="action-add-note pending disabled" data-mode="term_kana" data-index="{{@index}}"><img src="/mixed/img/add_term_kana.png"></a>
|
||||
{{/if}}
|
||||
{{#if playback}}
|
||||
<a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="/fg/img/play_audio.png"></a>
|
||||
<a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="/mixed/img/play_audio.png"></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|