From c83caecfdaaed9d52575e0342af3e88d3a884edf Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Wed, 7 Aug 2024 16:48:10 +0700 Subject: [PATCH] Update text --- docs/anki-integration.md | 4 ++-- ext/js/pages/settings/dictionary-controller.js | 6 +++--- ext/settings.html | 6 +++--- ext/templates-settings.html | 2 +- ext/welcome.html | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/anki-integration.md b/docs/anki-integration.md index 243035ddc3..3b8f2c86ee 100644 --- a/docs/anki-integration.md +++ b/docs/anki-integration.md @@ -35,7 +35,7 @@ Flashcard fields can be configured with the following steps: | `{cloze-suffix}` | Fragment of the containing `{sentence}` starting at the end of `{cloze-body}` until the end of `{sentence}`. | | `{conjugation}` | Conjugation path from the raw inflected term to the source term. | | `{dictionary}` | Name of the dictionary from which the card is being created (unavailable in _grouped_ mode). | - | `{dictionary-alias}` | Alias of the dictionary from which the card is being created (unavailable in _grouped_ mode). | + | `{dictionary-alias}` | Display name of the dictionary from which the card is being created (unavailable in _grouped_ mode). | | `{document-title}` | Title of the web page that the term appeared in. | | `{expression}` | Term expressed as kanji (will be displayed in kana if kanji is not available). | | `{frequencies}` | Frequency information for the term. | @@ -81,7 +81,7 @@ Flashcard fields can be configured with the following steps: | `{cloze-prefix}` | Fragment of the containing `{sentence}` starting at the beginning of `{sentence}` until the beginning of `{cloze-body}`. | | `{cloze-suffix}` | Fragment of the containing `{sentence}` starting at the end of `{cloze-body}` until the end of `{sentence}`. | | `{dictionary}` | Name of the dictionary from which the card is being created. | - | `{dictionary-alias}` | Alias of the dictionary from which the card is being created. | + | `{dictionary-alias}` | Display name of the dictionary from which the card is being created. | | `{document-title}` | Title of the web page that the kanji appeared in. | | `{frequencies}` | Frequency information for the kanji. | | `{frequency-harmonic-rank}` | The harmonic mean of frequency data for the current kanji. Defaults to rank 9999999 when frequency data is not found, indicating extremely low rank-based kanji usage. | diff --git a/ext/js/pages/settings/dictionary-controller.js b/ext/js/pages/settings/dictionary-controller.js index f893544013..5706caf37e 100644 --- a/ext/js/pages/settings/dictionary-controller.js +++ b/ext/js/pages/settings/dictionary-controller.js @@ -177,8 +177,8 @@ class DictionaryEntry { case 'moveTo': this._showMoveToModal(); break; - case 'setAlias': - this._showSetAliasModal(); + case 'rename': + this._showRenameModal(); break; } } @@ -357,7 +357,7 @@ class DictionaryEntry { } /** */ - _showSetAliasModal() { + _showRenameModal() { const {title} = this._dictionaryInfo; const modal = this._dictionaryController.modalController.getModal('dictionary-set-alias'); if (modal === null) { return; } diff --git a/ext/settings.html b/ext/settings.html index c227787454..ecc35dbe9c 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -2821,9 +2821,9 @@
or click here to upload