From 72f284bb53e60f261029960ee54603a4f49150b2 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Nov 2016 11:51:52 +0100 Subject: [PATCH] add comments so translators don't get completely lost --- customize.dist/messages.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/customize.dist/messages.js b/customize.dist/messages.js index 730af9629..fdd11d3d6 100644 --- a/customize.dist/messages.js +++ b/customize.dist/messages.js @@ -2,9 +2,16 @@ define(['/customize/languageSelector.js', '/customize/translations/messages.js', '/customize/translations/messages.es.js', '/customize/translations/messages.fr.js', - '/bower_components/jquery/dist/jquery.min.js'], function(LS, Default, Spanish, French) { + + // 1) additional translation files can be added here... + + '/bower_components/jquery/dist/jquery.min.js'], + + // 2) name your language module here... + function(LS, Default, Spanish, French) { var $ = window.jQuery; + // 3) add your module to this map so it gets used var map = { 'fr': French, 'es': Spanish,