Simplify declaration of constants
This commit is contained in:
parent
8b4b899959
commit
aab031972c
@ -5,26 +5,28 @@ type LangCode struct {
|
|||||||
code string
|
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 = "★"
|
prioritySymbol = "★"
|
||||||
const rareKanjiSymbol = "🅁"
|
rareKanjiSymbol = "🅁"
|
||||||
const irregularSymbol = "⚠"
|
irregularSymbol = "⚠"
|
||||||
const outdatedSymbol = "⛬"
|
outdatedSymbol = "⛬"
|
||||||
const defaultSymbol = "㊒"
|
defaultSymbol = "㊒"
|
||||||
|
|
||||||
const priorityTagName = "⭐"
|
priorityTagName = "⭐"
|
||||||
const rareKanjiTagName = "R"
|
rareKanjiTagName = "R"
|
||||||
const irregularTagName = "⚠️"
|
irregularTagName = "⚠️"
|
||||||
const outdatedTagName = "⛬"
|
outdatedTagName = "⛬"
|
||||||
const atejiTagName = "ateji"
|
atejiTagName = "ateji"
|
||||||
const gikunTagName = "gikun"
|
gikunTagName = "gikun"
|
||||||
|
|
||||||
const langMarker = "'🌐 '"
|
langMarker = "'🌐 '"
|
||||||
const noteMarker = "'📝 '"
|
noteMarker = "'📝 '"
|
||||||
const infoMarker = "'ℹ️ '"
|
infoMarker = "'ℹ️ '"
|
||||||
const refMarker = "'➡️ '"
|
refMarker = "'➡️ '"
|
||||||
const antonymMarker = "'🔄 '"
|
antonymMarker = "'🔄 '"
|
||||||
|
)
|
||||||
|
|
||||||
var ISOtoFlag = map[string]string{
|
var ISOtoFlag = map[string]string{
|
||||||
"": "'🇬🇧 '",
|
"": "'🇬🇧 '",
|
||||||
|
Loading…
Reference in New Issue
Block a user