Merge remote-tracking branch 'origin/development' into CoryChaplin-text_themes
authorDarren <darren@darrenwhitlen.com>
Wed, 7 May 2014 22:33:21 +0000 (23:33 +0100)
committerDarren <darren@darrenwhitlen.com>
Wed, 7 May 2014 22:33:21 +0000 (23:33 +0100)
* origin/development: (23 commits)
  Using Negotiator for accept-language parsing
  Client transports within config.js
  Don't automatically give focus when within an iframe
  MenuBox now a public component
  Startup applet correctly showing the info box
  Build script fix #531
  Missed HTML template update from previous commit
  Moving nick list toggle into the right bar
  More format adjustment :)
  Adjusted code format
  Added inspircd 396 numeric RPL_HOSTCLOACKING
  Extracting the right_bar into its own view with toggling logic
  using the .disabled CSS class when toggling right_bar
  Kiwi API: addMediaMessageType()
  Separating formatDate + only init'ing its vars once
  Date format language files
  Adding date.format to make date strings customisable to fit your locale
  Add visible check for updating banlist
  fix indentation (I should really have checked the diff better >_>)
  remove useless show
  ...

Conflicts:
client/build.js
server/settingsgenerator.js

24 files changed:
1  2 
client/build.js
client/src/helpers/utils.js
client/src/index.html.tmpl
client/src/models/application.js
client/src/models/network.js
client/src/translations/cs.po
client/src/translations/de-de.po
client/src/translations/en-gb.po
client/src/translations/es-419.po
client/src/translations/es.po
client/src/translations/fr.po
client/src/translations/he.po
client/src/translations/it.po
client/src/translations/nl.po
client/src/translations/no.po
client/src/translations/pl.po
client/src/translations/pt-br.po
client/src/translations/ro.po
client/src/translations/ru.po
client/src/translations/tr.po
client/src/translations/uk.po
client/src/translations/vi.po
client/src/translations/zh-tw.po
config.example.js

diff --cc client/build.js
index 746cd6c42f2b42c3e8fc981ad1dbdad0c359d647,f33f641f3df70389f776dea9459c0aa3b6d921b5..01ea6c488faf39bc46c0158f31ac88d75ae8ea5f
@@@ -81,6 -79,8 +79,7 @@@ var source_files = 
      __dirname + '/src/views/userbox.js',\r
      __dirname + '/src/views/channeltools.js',\r
      __dirname + '/src/views/channelinfo.js',\r
 -\r
+     __dirname + '/src/views/rightbar.js',\r
      __dirname + '/src/applets/settings.js',\r
      __dirname + '/src/applets/chanlist.js',\r
      __dirname + '/src/applets/scripteditor.js',\r
Simple merge
Simple merge
Simple merge
index 5c754d373fd8e1cd816a09339db50f13badd00ab,1d5a073ad0d8932da6d2830c2806156469e73206..ae050a1cd89ca99bb7c274590bd9d075ab4ddaf0
              _kiwi.app.message.text(_kiwi.global.i18n.translate('client_models_network_channel_badkey').fetch(event.channel));
              break;
          case 'invite_only_channel':
 -            panel.addMsg(' ', '== ' + _kiwi.global.i18n.translate('client_models_network_channel_inviteonly').fetch(event.channel), 'status');
 -            _kiwi.app.message.text(_kiwi.global.i18n.translate('client_models_network_channel_inviteonly').fetch(event.channel));
 +            panel.addMsg(' ', styleText('channel_inviteonly', {nick: event.nick, text: translateText('client_models_network_channel_inviteonly', [event.nick, event.channel]), channel: event.channel}), 'status');
 +            _kiwi.app.message.text(event.channel + ' ' + _kiwi.global.i18n.translate('client_models_network_channel_inviteonly').fetch());
              break;
          case 'user_on_channel':
 -            panel.addMsg(' ', '== ' + event.nick + ' is already on this channel');
 +            panel.addMsg(' ', styleText('channel_alreadyin', {nick: event.nick, text: translateText('client_models_network_channel_alreadyin'), channel: event.channel}));
              break;
          case 'channel_is_full':
 -            panel.addMsg(' ', '== ' + _kiwi.global.i18n.translate('client_models_network_channel_limitreached').fetch(event.channel), 'status');
 -            _kiwi.app.message.text(_kiwi.global.i18n.translate('client_models_network_channel_limitreached').fetch(event.channel));
 +            panel.addMsg(' ', styleText('channel_limitreached', {nick: event.nick, text: translateText('client_models_network_channel_limitreached', [event.channel]), channel: event.channel}), 'status');
 +            _kiwi.app.message.text(event.channel + ' ' + _kiwi.global.i18n.translate('client_models_network_channel_limitreached').fetch(event.channel));
              break;
          case 'chanop_privs_needed':
 -            panel.addMsg(' ', '== ' + event.reason, 'status');
 +            panel.addMsg(' ', styleText('chanop_privs_needed', {text: event.reason, channel: event.channel}), 'status');
              _kiwi.app.message.text(event.reason + ' (' + event.channel + ')');
              break;
+       case 'cannot_send_to_channel':
+             panel.addMsg(' ', '== ' + _kiwi.global.i18n.translate('Cannot send message to channel, you are not voiced').fetch(event.channel, event.reason), 'status');
+           break;
          case 'no_such_nick':
              tmp = this.panels.getByName(event.nick);
              if (tmp) {
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge