removed TAPi18n from build time

pull/2093/merge
Gabriel Engel 9 years ago
parent 259c9c47f3
commit 97622a4d36
No known key found for this signature in database
GPG Key ID: A9FF0AD7DEE40258
  1. 2
      packages/rocketchat-slackbridge/slashcommand/slackbridge_import.client.js
  2. 2
      packages/rocketchat-slashcommands-archiveroom/client.js
  3. 2
      packages/rocketchat-slashcommands-create/client.js
  4. 2
      packages/rocketchat-slashcommands-invite/client.coffee
  5. 2
      packages/rocketchat-slashcommands-join/client.coffee
  6. 2
      packages/rocketchat-slashcommands-kick/client.coffee
  7. 2
      packages/rocketchat-slashcommands-msg/client.coffee
  8. 2
      packages/rocketchat-slashcommands-mute/client/mute.coffee
  9. 2
      packages/rocketchat-slashcommands-mute/client/unmute.coffee
  10. 2
      packages/rocketchat-slashcommands-open/client.js
  11. 2
      packages/rocketchat-slashcommands-unarchiveroom/client.js

@ -1,7 +1,7 @@
RocketChat.settings.onload('SlackBridge_Enabled', (key, value) => {
if (value) {
RocketChat.slashCommands.add('slackbridge-import', null, {
description: TAPi18n.__('Import old messages from slackbridge')
description: 'Import_old_messages_from_slackbridge'
});
} else {
delete RocketChat.slashCommands.commands['slackbridge-import'];

@ -1,4 +1,4 @@
RocketChat.slashCommands.add('archive', null, {
description: TAPi18n.__('Archive'),
description: 'Archive',
params: '#channel'
});

@ -1,4 +1,4 @@
RocketChat.slashCommands.add('create', null, {
description: TAPi18n.__('Create_A_New_Channel'),
description: 'Create_A_New_Channel',
params: 'channel'
});

@ -1,3 +1,3 @@
RocketChat.slashCommands.add 'invite', undefined,
description: TAPi18n.__ 'Invite_user_to_join_channel'
description: 'Invite_user_to_join_channel'
params: '@username'

@ -1,3 +1,3 @@
RocketChat.slashCommands.add 'join', undefined,
description: TAPi18n.__ 'Join_the_given_channel'
description: 'Join_the_given_channel'
params: '#channel'

@ -4,5 +4,5 @@ RocketChat.slashCommands.add 'kick', (command, params, item) ->
return
username = username.replace('@', '')
,
description: TAPi18n.__ 'Remove_someone_from_room'
description: 'Remove_someone_from_room'
params: '@username'

@ -1,3 +1,3 @@
RocketChat.slashCommands.add 'msg', null,
description: TAPi18n.__ 'Direct_message_someone'
description: 'Direct_message_someone'
params: '@username <message>'

@ -1,3 +1,3 @@
RocketChat.slashCommands.add 'mute', null,
description: TAPi18n.__ 'Mute_someone_in_room'
description: 'Mute_someone_in_room'
params: '@username'

@ -1,3 +1,3 @@
RocketChat.slashCommands.add 'unmute', null,
description: TAPi18n.__ 'Unmute_someone_in_room'
description: 'Unmute_someone_in_room'
params: '@username'

@ -27,7 +27,7 @@ function Open(command, params/*, item*/) {
}
RocketChat.slashCommands.add('open', Open, {
description: TAPi18n.__('Opens_a_channel_group_or_direct_message'),
description: 'Opens_a_channel_group_or_direct_message',
params: 'room name',
clientOnly: true
});

@ -1,4 +1,4 @@
RocketChat.slashCommands.add('unarchive', null, {
description: TAPi18n.__('Unarchive'),
description: 'Unarchive',
params: '#channel'
});

Loading…
Cancel
Save