Skip to content

Commit

Permalink
Merge branch 'master' into reuse-modals
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 authored Sep 21, 2024
2 parents baac3bc + 6b7218d commit 7c549b3
Show file tree
Hide file tree
Showing 21 changed files with 2,171 additions and 2,080 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,28 @@
"crypto": "readonly",
"AbortController": "readonly"
}
},
{
"files": [
"ext/data/recommended-dictionaries.json"
],
"rules": {
"jsonc/sort-keys": ["error", {
"pathPattern": ".*",
"hasProperties": ["name"],
"order": [
"name",
"description",
"homepage",
"downloadUrl"
]
}, {
"pathPattern": ".*",
"order": {
"type": "asc"
}
}]
}
}
]
}
3 changes: 0 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ on:
schedule:
- cron: '31 13 * * 3'

permissions:
contents: read

jobs:
analyze:
name: Analyze
Expand Down
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,13 @@
"files.trimTrailingWhitespace": true,
"html-validate.validate": [
"html"
],
"json.schemas": [
{
"fileMatch": [
"/ext/data/recommended-dictionaries.json"
],
"url": "/ext/data/schemas/recommended-dictionaries-schema.json"
}
]
}
2 changes: 0 additions & 2 deletions benches/japanese-language-transformer.bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ describe('japanese language transformer', () => {
'こさせない',
'こささない',
'こさせられない',
'くるな',
'きまして',
'くれば',
'きちゃう',
Expand Down Expand Up @@ -203,7 +202,6 @@ describe('japanese language transformer', () => {
'ささない',
'させられない',
'せさせられない',
'するな',
'しまして',
'すれば',
'しちゃう',
Expand Down
1 change: 1 addition & 0 deletions docs/dictionaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Be aware that non-English dictionaries generally contain fewer entries than thei
- [JMnedict](https://github.com/themoeway/jmdict-yomitan#jmnedict-for-yomitan) - Lists readings of person/place/organization names and other proper nouns.
- [KANJIDIC](https://github.com/themoeway/jmdict-yomitan#kanjidic-for-yomitan) - An English dictionary listing readings, meanings, and other info about kanji characters.
- [BCCWJ Frequency Dictionary](https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#bccwj-suw-luw-combined) - A frequency dictionary based on the Balanced Corpus of Contemporary Written Japanese.
- [JPDB Frequency Dictionary](https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#jpdb-v21-frequency) - A frequency dictionary based on the corpus from the online Japanese dictionary and SRS system at https://jpdb.io.

#### Other Languages

Expand Down
3 changes: 3 additions & 0 deletions ext/css/popup-outer.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ iframe.yomitan-popup[data-theme=dark] {
iframe.yomitan-popup[data-outer-theme=dark] {
box-shadow: 0 0 10em rgba(255, 255, 255, 0.5);
}
iframe.yomitan-popup[data-outer-theme=none] {
box-shadow: none;
}
iframe.yomitan-popup[data-popup-display-mode=full-width] {
border-left: none;
border-right: none;
Expand Down
Loading

0 comments on commit 7c549b3

Please sign in to comment.