package gallery // Locales are the languages the design system renders in: Fiesta's // own twelve, the ones its i18n/ string tables ship, with English // first because the tree root is the English Day rendering. Pages // live at //; the Arabic tree is the right-to-left // rendering, and there is no twin directory beside it. var Locales = []string{"en", "ar", "bn", "es", "ga", "hi", "ja", "pt-PT", "ru", "vi", "yue", "zh-Hans"} // Dir is the writing direction a locale's declares: "rtl" for // Arabic, "ltr" for the rest. func Dir(locale string) string { if locale == "ar" { return "rtl" } return "ltr" }