Skip to content

Commit

Permalink
Make rareSymbol consistently named
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed Jun 12, 2024
1 parent f7b92ad commit 43f80fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jmdict_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const (
edrdgAttribution = "This publication has included material from the JMdict (EDICT, etc.) dictionary files in accordance with the licence provisions of the Electronic Dictionaries Research Group. See http://www.edrdg.org/"

prioritySymbol = "★"
rareFormSymbol = "🅁"
rareSymbol = "🅁"
irregularSymbol = "⚠"
outdatedSymbol = "⛬"
defaultSymbol = "㊒"
Expand Down
2 changes: 1 addition & 1 deletion jmdict_forms.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (h *headword) InfoSymbols() string {
infoSymbols = append(infoSymbols, prioritySymbol)
}
if h.IsRareKanji || h.IsRareKana {
infoSymbols = append(infoSymbols, rareFormSymbol)
infoSymbols = append(infoSymbols, rareSymbol)
}
if h.IsIrregular {
infoSymbols = append(infoSymbols, irregularSymbol)
Expand Down

0 comments on commit 43f80fe

Please sign in to comment.