diff --git a/readme.md b/readme.md index 8fb4945..7eda0fd 100644 --- a/readme.md +++ b/readme.md @@ -2,9 +2,9 @@ [![](https://img.shields.io/github/v/tag/marvnc/jmdict-yomitan?style=for-the-badge&label=Last%20Release)](#downloads) -This repository contains automatically generated dictionaries for use with [Yomitan](https://github.com/themoeway/yomitan) (formerly [Yomichan](https://foosoft.net/projects/yomichan/)), a free Japanese dictionary browser extension. They are built using information from the [JMdict](https://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project) project, which is a freely available Japanese dictionary maintained by the [Electronic Dictionary Research and Development Group](http://www.edrdg.org/). There are also releases for [JMnedict](https://www.edrdg.org/enamdict/enamdict_doc.html) and [KANJIDIC](https://www.edrdg.org/wiki/index.php/KANJIDIC_Project), which are respectively a Japanese proper names dictionary and a kanji dictionary. +This repository contains automatically generated dictionaries for use with [Yomitan](https://github.com/yomidevs/yomitan) (formerly [Yomichan](https://foosoft.net/projects/yomichan/)), a free Japanese dictionary browser extension. They are built using information from the [JMdict](https://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project) project, which is a freely available Japanese dictionary maintained by the [Electronic Dictionary Research and Development Group](http://www.edrdg.org/). There are also releases for [JMnedict](https://www.edrdg.org/enamdict/enamdict_doc.html) and [KANJIDIC](https://www.edrdg.org/wiki/index.php/KANJIDIC_Project), which are respectively a Japanese proper names dictionary and a kanji dictionary. -This repository is automatically updated daily and the dictionary files are built from JMdict using the [Yomitan Import](https://github.com/themoeway/yomitan-import) tool. +This repository is automatically updated daily and the dictionary files are built from JMdict using the [Yomitan Import](https://github.com/yomidevs/yomitan-import) tool. - [Downloads](#downloads) - [JMdict for Yomitan](#jmdict-for-yomitan) @@ -31,35 +31,35 @@ To see your current version of JMdict, hover over this entry: > JMdict - JMdict (English) - - [JMdict_english_with_examples.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_english_with_examples.zip) + - [JMdict_english_with_examples.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_english_with_examples.zip) - This is the version of JMdict with example sentences from the [Tatoeba Project](http://tatoeba.org/home). - - [JMdict_english.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_english.zip) + - [JMdict_english.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_english.zip) - This is the same JMdict but without example sentences. - - [JMdict_english_legacy.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_english_legacy.zip) + - [JMdict_english_legacy.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_english_legacy.zip) - This is JMdict with legacy formatting. It is not recommended for use; see the FAQ below. - JMdict (Other Languages) - - [JMdict_dutch.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_dutch.zip) - - [JMdict_french.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_french.zip) - - [JMdict_german.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_german.zip) - - [JMdict_hungarian.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_hungarian.zip) - - [JMdict_russian.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_russian.zip) - - [JMdict_slovenian.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_slovenian.zip) - - [JMdict_spanish.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_spanish.zip) - - [JMdict_swedish.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_swedish.zip) + - [JMdict_dutch.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_dutch.zip) + - [JMdict_french.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_french.zip) + - [JMdict_german.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_german.zip) + - [JMdict_hungarian.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_hungarian.zip) + - [JMdict_russian.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_russian.zip) + - [JMdict_slovenian.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_slovenian.zip) + - [JMdict_spanish.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_spanish.zip) + - [JMdict_swedish.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_swedish.zip) - JMdict Forms - - [JMdict_forms.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMdict_forms.zip) + - [JMdict_forms.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMdict_forms.zip) - This is a version of JMdict that includes only the alternate forms of each entry. This is useful for conjugation lookup for those who do not wish to have any dictionary definitons, and is unnecessary if you are using the regular JMdict. ### JMnedict for Yomitan -- [JMnedict.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/JMnedict.zip) +- [JMnedict.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/JMnedict.zip) ### KANJIDIC for Yomitan -- [KANJIDIC_english.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/KANJIDIC_english.zip) -- [KANJIDIC_french.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/KANJIDIC_french.zip) -- [KANJIDIC_portuguese.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/KANJIDIC_portuguese.zip) -- [KANJIDIC_spanish.zip](https://github.com/themoeway/jmdict-yomitan/releases/latest/download/KANJIDIC_spanish.zip) +- [KANJIDIC_english.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/KANJIDIC_english.zip) +- [KANJIDIC_french.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/KANJIDIC_french.zip) +- [KANJIDIC_portuguese.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/KANJIDIC_portuguese.zip) +- [KANJIDIC_spanish.zip](https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/KANJIDIC_spanish.zip) ## FAQ diff --git a/src/add_updates.ts b/src/add_updates.ts index 82cff05..ddfbe4c 100644 --- a/src/add_updates.ts +++ b/src/add_updates.ts @@ -4,7 +4,7 @@ import * as path from 'path'; import { readdir } from 'fs/promises'; const URL_PREFIX = - 'https://github.com/themoeway/jmdict-yomitan/releases/latest/download/'; + 'https://github.com/yomidevs/jmdict-yomitan/releases/latest/download/'; const JSON_FILE = (dictName: string) => `${dictName}.json`; const JSON_URL = (dictName: string) => `${URL_PREFIX}${dictName}.json`; const ZIP_URL = (dictName: string) => `${URL_PREFIX}${dictName}.zip`; diff --git a/src/build_dicts.sh b/src/build_dicts.sh old mode 100644 new mode 100755 index 4b52dfc..3328e75 --- a/src/build_dicts.sh +++ b/src/build_dicts.sh @@ -1,4 +1,4 @@ -# This script is copied from https://github.com/themoeway/yomitan-import/blob/main/scripts/build_dicts.sh with little modifications. +# This script is copied from https://github.com/yomidevs/yomitan-import/blob/main/scripts/build_dicts.sh with little modifications. #!/bin/bash @@ -7,7 +7,7 @@ mkdir -p dst mkdir -p binaries if [ ! -f "binaries/yomitan" ]; then - wget "https://github.com/themoeway/yomitan-import/releases/latest/download/yomitan-import-linux.zip" + wget "https://github.com/yomidevs/yomitan-import/releases/latest/download/yomitan-import-linux.zip" unzip -j "yomitan-import-linux.zip" -d binaries fi chmod +x ./binaries/yomitan