Skip to content

Commit

Permalink
Rename add-on to Popup Dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
glutanimate committed Mar 18, 2018
1 parent 78f4ecb commit b15ff26
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ docs/*.todo
docs/description.html
tools/test.py
.obsolete/
src/mouseover_dictionary/.wip/
src/popup_dictionary/.wip/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html>

VERSION = `git describe HEAD --tags --abbrev=0`
ADDON = mouseover-dictionary
ADDONDIR = mouseover_dictionary
ADDON = popup-dictionary
ADDONDIR = popup_dictionary


###
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Mouseover Dictionary Add-on for Anki
## Popup Dictionary Add-on for Anki

This is an add-on for the spaced-repetition flashcard app [Anki](https://apps.ankiweb.net/). It provides the ability to quickly draw up related facts on words or phrases, just by double-clicking on them.

Expand Down Expand Up @@ -28,19 +28,19 @@ This is an add-on for the spaced-repetition flashcard app [Anki](https://apps.an
*Anki 2.0*

1. Go to *Tools* -> *Add-ons* -> *Open add-ons folder*
2. Find and delete `Mouseover Dictionary.py` and `mouseover_dictionary` if they already exist
3. Download and extract the latest Anki 2.0 add-on release from the [releases tab](https://github.com/Glutanimate/mouseover-dictionary/releases)
4. Move `Mouseover Dictionary.py` and `mouseover_dictionary` into the add-ons folder
2. Find and delete `Popup Dictionary.py` and `popup_dictionary` if they already exist
3. Download and extract the latest Anki 2.0 add-on release from the [releases tab](https://github.com/Glutanimate/popup-dictionary/releases)
4. Move `Popup Dictionary.py` and `popup_dictionary` into the add-ons folder
5. Restart Anki

*Anki 2.1*

1. Go to *Tools* -> *Add-ons* -> *Open add-ons folder*
2. See if the `mouseover_dictionary` folder already exists
2. See if the `popup_dictionary` folder already exists
3. If you would like to keep your settings thus far: Find the `meta.json` file contained within and copy it to a safe location.
4. Proceed to delete the `mouseover_dictionary` folder
3. Download and extract the latest Anki 2.1 add-on release from the [releases tab](https://github.com/Glutanimate/mouseover-dictionary/releases)
4. Move the new `mouseover_dictionary` folder into the add-ons directory
4. Proceed to delete the `popup_dictionary` folder
3. Download and extract the latest Anki 2.1 add-on release from the [releases tab](https://github.com/Glutanimate/popup-dictionary/releases)
4. Move the new `popup_dictionary` folder into the add-ons directory
5. Optional: Place the `meta.json` file back in the directory if you created a copy beforehand.
5. Restart Anki

Expand All @@ -50,7 +50,7 @@ For further information on the use of this add-on please check out [the original

### License and Credits

*Mouseover Dictionary* is *Copyright © 2018 [Aristotelis P.](https://glutanimate.com/)*
*Popup Dictionary* is *Copyright © 2018 [Aristotelis P.](https://glutanimate.com/)*

Development of this add-on was made possible, in part, through the kind support of two fellow Anki users. I would like to thank both of them for their help.

Expand Down
8 changes: 4 additions & 4 deletions docs/description.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

**SCREENSHOT**

![](https://raw.githubusercontent.com/glutanimate/mouseover-dictionary/master/screenshots/screenshot.png)
![](https://raw.githubusercontent.com/glutanimate/popup-dictionary/master/screenshots/screenshot.png)

**COMPATIBILITY**

This add-on only works with Anki 2.0 (≥ 2.0.30). The 2.1 beta releases are currently **unsupported**.

OR

Initial tests have shown this add-on to both work on Anki 2.0 and Anki 2.1. However, as the Anki 2.1 release line is still in beta, I cannot provide any kind of official support for this platform. **Please do not report issues with Anki 2.1 in the review section below**. Instead, please report all issues you encounter on [GitHub](https://github.com/glutanimate/mouseover-dictionary/issues).
Initial tests have shown this add-on to both work on Anki 2.0 and Anki 2.1. However, as the Anki 2.1 release line is still in beta, I cannot provide any kind of official support for this platform. **Please do not report issues with Anki 2.1 in the review section below**. Instead, please report all issues you encounter on [GitHub](https://github.com/glutanimate/popup-dictionary/issues).

**USAGE**

Expand All @@ -19,7 +19,7 @@ Initial tests have shown this add-on to both work on Anki 2.0 and Anki 2.1. Howe

**SUPPORT**

Please **do not report issues or bugs in the review section below**. I can't reply to your reviews, so there is no way for me to help you. Instead, please report all issues you encounter either by creating a bug report on [GitHub](https://github.com/glutanimate/mouseover-dictionary/issues), or by posting a new thread on the [Anki add-on support forums](https://anki.tenderapp.com/discussions/add-ons). Please make sure to include the name of the affected add-on in your report title when you do so.
Please **do not report issues or bugs in the review section below**. I can't reply to your reviews, so there is no way for me to help you. Instead, please report all issues you encounter either by creating a bug report on [GitHub](https://github.com/glutanimate/popup-dictionary/issues), or by posting a new thread on the [Anki add-on support forums](https://anki.tenderapp.com/discussions/add-ons). Please make sure to include the name of the affected add-on in your report title when you do so.

**CREDITS AND LICENSE**

Expand All @@ -31,7 +31,7 @@ Ships with the following javascript libraries:
- qTip2 (v2.1.1), (c) 2011-2018 Craig Michael Thompson, licensed under the MIT license
- jQuery.highlight, (c) 2007-2014 Johann Burkard, licensed under the MIT license

Licensed under the [GNU AGPLv3](https://www.gnu.org/licenses/agpl.html). The code for this add-on is available on [![GitHub icon](https://glutanimate.com/logos/github.svg) GitHub](https://github.com/glutanimate/mouseover-dictionary).
Licensed under the [GNU AGPLv3](https://www.gnu.org/licenses/agpl.html). The code for this add-on is available on [![GitHub icon](https://glutanimate.com/logos/github.svg) GitHub](https://github.com/glutanimate/popup-dictionary).

**MORE RESOURCES**

Expand Down
4 changes: 2 additions & 2 deletions src/Mouseover Dictionary.py → src/Popup_Dictionary.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
Anki Add-on: Mouseover Dictionary
Anki Add-on: Popup Dictionary
Entry point for the add-on into Anki 2.0.x
Expand All @@ -11,4 +11,4 @@
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html>
"""

import mouseover_dictionary.main
import popup_dictionary.main
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
Anki Add-on: Mouseover Dictionary
Anki Add-on: Popup Dictionary
Module-level entry point for the add-on into Anki 2.0.x/2.1.x
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This file is part of the Mouseover Dictionary add-on for Anki.
This file is part of the Popup Dictionary add-on for Anki.
Configuration module
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This file is part of the Mouseover Dictionary add-on for Anki.
This file is part of the Popup Dictionary add-on for Anki.
Global variables
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This file is part of the Mouseover Dictionary add-on for Anki.
This file is part of the Popup Dictionary add-on for Anki.
Main Module, hooks add-on methods into Anki.
Expand Down Expand Up @@ -157,7 +157,7 @@ def getNoteSnippetsFor(term, ignore_nid):
res_len = len(res)
warn_limit = CONFIG["snippetsResultsWarnLimit"]
if warn_limit > 0 and res_len > warn_limit:
if not askUser(WRN_RESCOUNT.format(res_len), title="Mouseover Dictionary"):
if not askUser(WRN_RESCOUNT.format(res_len), title="Popup Dictionary"):
return False

note_content = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This file is part of the Mouseover Dictionary add-on for Anki.
This file is part of the Popup Dictionary add-on for Anki.
Note type and card templates.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

"""
This file is part of the Mouseover Dictionary add-on for Anki.
This file is part of the Popup Dictionary add-on for Anki.
JavaScript libraries.
Expand Down

0 comments on commit b15ff26

Please sign in to comment.