2018-02-05 00:54:19 -05:00
|
|
|
package l10n
|
|
|
|
|
|
2018-02-05 01:24:32 -05:00
|
|
|
// Strings returns a translation set that will take any term and return its
|
|
|
|
|
// translation.
|
2018-02-05 00:54:19 -05:00
|
|
|
func Strings(lang string) map[string]string {
|
|
|
|
|
switch lang {
|
2018-02-05 02:19:41 -05:00
|
|
|
case "es":
|
|
|
|
|
return phrasesES
|
2018-02-05 02:16:13 -05:00
|
|
|
case "fr":
|
|
|
|
|
return phrasesFR
|
2018-02-05 00:55:39 -05:00
|
|
|
case "hu":
|
|
|
|
|
return phrasesHU
|
2018-02-05 01:26:14 -05:00
|
|
|
case "it":
|
|
|
|
|
return phrasesIT
|
2018-02-05 02:17:46 -05:00
|
|
|
case "ro":
|
|
|
|
|
return phrasesRO
|
2018-02-05 00:54:19 -05:00
|
|
|
default:
|
|
|
|
|
return phrases
|
|
|
|
|
}
|
|
|
|
|
}
|