Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10588062
strings.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
850 B
Subscribers
None
strings.go
View Options
package
l10n
// Strings returns a translation set that will take any term and return its
// translation.
func
Strings
(
lang
string
)
map
[
string
]
string
{
switch
lang
{
case
"ar"
:
return
phrasesAR
case
"de"
:
return
phrasesDE
case
"el"
:
return
phrasesEL
case
"eo"
:
return
phrasesEO
case
"es"
:
return
phrasesES
case
"fa"
:
return
phrasesFA
case
"fr"
:
return
phrasesFR
case
"hu"
:
return
phrasesHU
case
"it"
:
return
phrasesIT
case
"ja"
:
return
phrasesJA
case
"lt"
:
return
phrasesLT
case
"mk"
:
return
phrasesMK
case
"pl"
:
return
phrasesPL
case
"pt"
:
return
phrasesPT
case
"ro"
:
return
phrasesRO
case
"ru"
:
return
phrasesRU
case
"sk"
:
return
phrasesSK
case
"sv"
:
return
phrasesSV
case
"tg"
:
return
phrasesTG
case
"tr"
:
return
phrasesTR
case
"zh"
:
return
phrasesZH
default
:
return
phrases
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 25, 2:05 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3214232
Attached To
rWC Write.as Web Core
Event Timeline
Log In to Comment