Add l10n package

This includes basic US English terms and a function to get any
translation set.
This commit is contained in:
Matt Baer
2018-02-05 00:54:19 -05:00
parent c0e4c95cfb
commit 18dcf10012
2 changed files with 41 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
package l10n
func Strings(lang string) map[string]string {
switch lang {
default:
return phrases
}
}