Skip to content

Commit

Permalink
New release version 0.11.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arbyste committed Mar 9, 2024
1 parent 166af2b commit 54dadbe
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 22 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ by simply installing a new version of the .apkg package,
and must use `./install.py --update`.


## [0.11.0.6] - 2024-03-09
#### Fixes
- Expanded images by default in the Primary Definition, to prevent issues with some dictionaries that use images as tags
- Updated documentation to link to my own fork of AJT Japanese which is preconfigured with the correct config settings
- Replaced furigana:PrimaryDefinition with PrimaryDefinition to prevent issues with some dictionaries that use square brackets in the definitions



## [0.11.0.5] - 2023-10-06
#### Fixes
- Updated the way pitch accent is styled to work with the latest version of AJTJapanese. Pronunciation is now styled with the following html span classes:
Expand Down
Binary file modified all_versions/0.11.0.6-jpmn_example_cards.apkg
Binary file not shown.
6 changes: 3 additions & 3 deletions jp-mining-note/cloze_deletion/back.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -639,7 +639,7 @@
<summary>Primary Definition</summary>
<blockquote class="glossary-blockquote highlight-bold" id="primary_definition">
<div class="glossary-text glossary-text--primary-definition">
{{furigana:PrimaryDefinition}}
{{PrimaryDefinition}}
</div>
</blockquote>
</details>
Expand Down Expand Up @@ -3666,7 +3666,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
4 changes: 2 additions & 2 deletions jp-mining-note/cloze_deletion/front.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -1405,7 +1405,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
6 changes: 3 additions & 3 deletions jp-mining-note/main/back.html
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -827,7 +827,7 @@


<div class="glossary-text glossary-text--primary-definition" id="primary_definition_text">
{{furigana:PrimaryDefinition}}
{{PrimaryDefinition}}
<div style="font-size: 0px"><br></div>
<!-- The above is a hack to allow a user to triple-click the definition
without selecting everything below the line.
Expand Down Expand Up @@ -4013,7 +4013,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
4 changes: 2 additions & 2 deletions jp-mining-note/main/front.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -1784,7 +1784,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
6 changes: 3 additions & 3 deletions jp-mining-note/pa_sent/back.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -683,7 +683,7 @@


<div class="glossary-text glossary-text--primary-definition" id="primary_definition_text">
{{furigana:PrimaryDefinition}}
{{PrimaryDefinition}}
<div style="font-size: 0px"><br></div>
<!-- The above is a hack to allow a user to triple-click the definition
without selecting everything below the line.
Expand Down Expand Up @@ -3734,7 +3734,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
4 changes: 2 additions & 2 deletions jp-mining-note/pa_sent/front.html
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -1438,7 +1438,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
6 changes: 3 additions & 3 deletions jp-mining-note/pa_word/back.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -665,7 +665,7 @@


<div class="glossary-text glossary-text--primary-definition" id="primary_definition_text">
{{furigana:PrimaryDefinition}}
{{PrimaryDefinition}}
<div style="font-size: 0px"><br></div>
<!-- The above is a hack to allow a user to triple-click the definition
without selecting everything below the line.
Expand Down Expand Up @@ -3576,7 +3576,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
4 changes: 2 additions & 2 deletions jp-mining-note/pa_word/front.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@


<!-- DO NOT CHANGE/REMOVE THIS: this is used to record the version when updating the note. -->
<div class="card-description-ver">JP Mining Note: Version 0.11.0.5</div>
<div class="card-description-ver">JP Mining Note: Version 0.11.0.6</div>


</div>
Expand Down Expand Up @@ -1279,7 +1279,7 @@
run() {
editDisplayImage();

if (getSetting(['modules','img-utils','stylize-images-in-glossary',],true)) {
if (getSetting(['modules','img-utils','stylize-images-in-glossary',],false)) {
searchImages();
}
}
Expand Down
2 changes: 1 addition & 1 deletion media/_jpmn-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ var JPMNOpts = (function (my) {
// Replaces all images in the glossary (definition) sections
// with an internal representation similar to how Yomichan displays images:
// an `[Image]` text where you can see the image upon hover, and with click to zoom.
"stylize-images-in-glossary": true,
"stylize-images-in-glossary": false,

"primary-definition-picture": {
// Where to place the `PrimaryDefinitionPicture` field contents
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0.5
0.11.0.6

0 comments on commit 54dadbe

Please sign in to comment.