aboutsummaryrefslogtreecommitdiff
path: root/src/i18n/messages.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-11-26 05:21:58 +0300
committerHenry Jameson <me@hjkos.com>2018-11-26 05:21:58 +0300
commita806d43f05ddded69a00156bc31fe33806426ecb (patch)
treeafa9a3f43043bbce92739fb48d048605e0c45c2b /src/i18n/messages.js
parent08838774e41b9beba8f884da15ab1314eddf28f8 (diff)
parent91272dc5558e1326dac872f927dc8da7f9109cd0 (diff)
Merge remote-tracking branch 'upstream/develop' into feature/theming2
* upstream/develop: (60 commits) whoops whoops DM timeline: stream new statuses update-japanese-translation Add actual user search. incorporate most translation changes from MR 368 update french translation Always show dm panel. Add direct message tab. api service url remove deploy stage remove deploy stage updated and completed German translation On logout switch to public timeline. minor modification of Chinese translation update Chinese translation Add Chinese language Fix posting. Put oauth text into description. Display OAuth login on login form button. ...
Diffstat (limited to 'src/i18n/messages.js')
-rw-r--r--src/i18n/messages.js19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/i18n/messages.js b/src/i18n/messages.js
index 3a2da643..ee08db44 100644
--- a/src/i18n/messages.js
+++ b/src/i18n/messages.js
@@ -1,5 +1,6 @@
// When contributing, please sort JSON before committing so it would be easier to see what's missing and what's being added compared to English and other languages. It's not obligatory, but just an advice.
// To sort json use jq https://stedolan.github.io/jq and invoke it like `jq -S . xx.json > xx.sorted.json`, AFAIK, there's no inplace edit option like in sed
+// Also, when adding a new language to "messages" variable, please do it alphabetically by language code so that users can search or check their custom language easily.
// For anyone contributing to old huge messages.js and in need to quickly convert it to JSON
// sed command for converting currently formatted JS to JSON:
@@ -7,23 +8,27 @@
// There's only problem that apostrophe character ' gets replaced by \\ so you have to fix it manually, sorry.
const messages = {
+ ar: require('./ar.json'),
+ ca: require('./ca.json'),
de: require('./de.json'),
- fi: require('./fi.json'),
en: require('./en.json'),
eo: require('./eo.json'),
+ es: require('./es.json'),
et: require('./et.json'),
- hu: require('./hu.json'),
- ro: require('./ro.json'),
- ja: require('./ja.json'),
+ fi: require('./fi.json'),
fr: require('./fr.json'),
+ ga: require('./ga.json'),
+ he: require('./he.json'),
+ hu: require('./hu.json'),
it: require('./it.json'),
+ ja: require('./ja.json'),
+ nb: require('./nb.json'),
oc: require('./oc.json'),
pl: require('./pl.json'),
- es: require('./es.json'),
pt: require('./pt.json'),
+ ro: require('./ro.json'),
ru: require('./ru.json'),
- nb: require('./nb.json'),
- he: require('./he.json')
+ zh: require('./zh.json')
}
export default messages