refactor
This commit is contained in:
parent
65f9b77fb5
commit
d4b682a573
|
@ -12,7 +12,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// Internationalization manipulations.
|
// Package i18n includes internationalization related manipulations.
|
||||||
package i18n
|
package i18n
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -86,7 +86,7 @@ func GetAll(locale string) map[string]interface{} {
|
||||||
func GetLocalesNames() []string {
|
func GetLocalesNames() []string {
|
||||||
ret := []string{}
|
ret := []string{}
|
||||||
|
|
||||||
for name, _ := range Locales {
|
for name := range Locales {
|
||||||
ret = append(ret, name)
|
ret = append(ret, name)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue