From 6abeb96a572b0bcd8bc18f84ef47e03d61e3eea4 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Wed, 15 Jul 2020 20:07:55 -0500 Subject: [Localization] Add custom locale for Monsterfork additions and Monsterpit community flavor --- app/javascript/flavours/glitch/locales/en-MP.js | 4 ++++ app/javascript/flavours/glitch/locales/en.js | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 app/javascript/flavours/glitch/locales/en-MP.js (limited to 'app/javascript/flavours') diff --git a/app/javascript/flavours/glitch/locales/en-MP.js b/app/javascript/flavours/glitch/locales/en-MP.js new file mode 100644 index 000000000..a84552467 --- /dev/null +++ b/app/javascript/flavours/glitch/locales/en-MP.js @@ -0,0 +1,4 @@ +import messages from 'flavours/glitch/locales/en'; +import messages_mp from 'mastodon/locales/en-MP.json'; + +export default Object.assign({}, messages, messages_mp); \ No newline at end of file diff --git a/app/javascript/flavours/glitch/locales/en.js b/app/javascript/flavours/glitch/locales/en.js index 11bdccfde..90e924d4a 100644 --- a/app/javascript/flavours/glitch/locales/en.js +++ b/app/javascript/flavours/glitch/locales/en.js @@ -1,5 +1,4 @@ import inherited from 'mastodon/locales/en.json'; -import monsterfork from 'locales/monsterfork/en.json'; const messages = { 'getting_started.open_source_notice': 'Glitchsoc is free open source software forked from {Mastodon}. You can contribute or report issues on GitHub at {github}.', @@ -65,4 +64,4 @@ const messages = { 'advanced_options.threaded_mode.tooltip': 'Threaded mode enabled', }; -export default Object.assign({}, inherited, messages, monsterfork); +export default Object.assign({}, inherited, messages); -- cgit