about summary refs log tree commit diff
path: root/app/javascript/flavours/vanilla
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2017-12-10 15:22:15 -0600
committercwm <chriswmartin@protonmail.com>2017-12-10 15:22:15 -0600
commit072ab191cc47692bad1145a26aa27912aeefb12f (patch)
treed217dc63f36554c7271b1c68a90d8d044640a732 /app/javascript/flavours/vanilla
parenteec5d350fdb94fa44c6938ca059166ff3e3e67b3 (diff)
parent26c9b9fa276fd629789fd06f65a5d698b182f67a (diff)
pulled master, moved locale entry to new location
Diffstat (limited to 'app/javascript/flavours/vanilla')
-rw-r--r--app/javascript/flavours/vanilla/names.yml6
-rw-r--r--app/javascript/flavours/vanilla/theme.yml10
2 files changed, 13 insertions, 3 deletions
diff --git a/app/javascript/flavours/vanilla/names.yml b/app/javascript/flavours/vanilla/names.yml
new file mode 100644
index 000000000..8816fcb3a
--- /dev/null
+++ b/app/javascript/flavours/vanilla/names.yml
@@ -0,0 +1,6 @@
+en:
+  flavours:
+    vanilla: Vanilla Mastodon
+  skins:
+    vanilla:
+      default: Default
diff --git a/app/javascript/flavours/vanilla/theme.yml b/app/javascript/flavours/vanilla/theme.yml
index 67fd9723e..491ea173b 100644
--- a/app/javascript/flavours/vanilla/theme.yml
+++ b/app/javascript/flavours/vanilla/theme.yml
@@ -20,13 +20,17 @@ pack:
   settings:
   share: share.js
 
+#  (OPTIONAL) The directory which contains localization files for
+#  the flavour, relative to this directory.
+locales: ../../mastodon/locales
+
 #  (OPTIONAL) The directory which contains the pack files.
-#  Defaults to the theme directory (`app/javascript/themes/[theme]`),
-#  but in the case of the vanilla Mastodon theme the pack files are
+#  Defaults to this directory (`app/javascript/flavour/[flavour]`),
+#  but in the case of the vanilla Mastodon flavour the pack files are
 #  somewhere else.
 pack_directory: app/javascript/packs
 
-#  (OPTIONAL) By default the theme will fallback to the default theme
+#  (OPTIONAL) By default the theme will fallback to the default flavour
 #  if a particular pack is not provided. You can specify different
 #  fallbacks here, or disable fallback behaviours altogether by
 #  specifying a `null` value.