1
Fork 0

Simplify declaration of constants

This commit is contained in:
stephenmk 2023-01-29 20:06:46 -06:00
parent 8b4b899959
commit aab031972c
No known key found for this signature in database
GPG Key ID: B6DA730DB06235F1
1 changed files with 19 additions and 17 deletions

View File

@ -5,26 +5,28 @@ type LangCode struct {
code string
}
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/"
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/"
const prioritySymbol = "★"
const rareKanjiSymbol = "🅁"
const irregularSymbol = "⚠"
const outdatedSymbol = "⛬"
const defaultSymbol = "㊒"
prioritySymbol = "★"
rareKanjiSymbol = "🅁"
irregularSymbol = "⚠"
outdatedSymbol = "⛬"
defaultSymbol = "㊒"
const priorityTagName = "⭐"
const rareKanjiTagName = "R"
const irregularTagName = "⚠️"
const outdatedTagName = "⛬"
const atejiTagName = "ateji"
const gikunTagName = "gikun"
priorityTagName = "⭐"
rareKanjiTagName = "R"
irregularTagName = "⚠️"
outdatedTagName = "⛬"
atejiTagName = "ateji"
gikunTagName = "gikun"
const langMarker = "'🌐 '"
const noteMarker = "'📝 '"
const infoMarker = "' '"
const refMarker = "'➡️ '"
const antonymMarker = "'🔄 '"
langMarker = "'🌐 '"
noteMarker = "'📝 '"
infoMarker = "' '"
refMarker = "'➡️ '"
antonymMarker = "'🔄 '"
)
var ISOtoFlag = map[string]string{
"": "'🇬🇧 '",