Translations for slashcommands

pull/4218/head
Marcelo Schmidt 9 years ago
parent 87a92744d4
commit ab186cbd8a
No known key found for this signature in database
GPG Key ID: CA48C21A7B66097E
  1. 26
      packages/rocketchat-i18n/i18n/en.i18n.json
  2. 12
      packages/rocketchat-i18n/i18n/pt.i18n.json
  3. 2
      packages/rocketchat-slashcommand-asciiarts/gimme.js
  4. 2
      packages/rocketchat-slashcommand-asciiarts/lenny.js
  5. 2
      packages/rocketchat-slashcommand-asciiarts/shrug.js
  6. 2
      packages/rocketchat-slashcommand-asciiarts/tableflip.js
  7. 2
      packages/rocketchat-slashcommand-asciiarts/unflip.js
  8. 2
      packages/rocketchat-slashcommands-create/client.js
  9. 7
      packages/rocketchat-slashcommands-leave/leave.coffee
  10. 2
      packages/rocketchat-slashcommands-me/me.coffee
  11. 2
      packages/rocketchat-slashcommands-open/client.js
  12. 2
      packages/rocketchat-ui-message/message/popup/messagePopupConfig.coffee

@ -1,9 +1,12 @@
{
"#channel" : "#channel",
"0_Errors_Only" : "0 - Errors Only",
"1_Errors_and_Information" : "1 - Errors and Information",
"2_Erros_Information_and_Debug" : "2 - Erros, Information and Debug",
"403" : "Forbidden",
"500" : "Internal Server Error",
"@username" : "@username",
"@username_message" : "@username <message>",
"__username__is_no_longer__role__defined_by__user_by_" : "__username__ is no longer __role__ by __user_by__",
"__username__was_set__role__by__user_by_" : "__username__ was set __role__ by __user_by__",
"Accept_incoming_livechat_requests_even_if_there_are_no_online_agents" : "Accept incoming livechat requests even if there are no online agents",
@ -171,7 +174,6 @@
"Archive" : "Archive",
"are_also_typing" : "are also typing",
"are_typing" : "are typing",
"room_is_read_only" : "This room is read only",
"Are_you_sure" : "Are you sure?",
"Are_you_sure_you_want_to_delete_your_account" : "Are you sure you want to delete your account?",
"Assign_admin" : "Assigning admin",
@ -227,6 +229,7 @@
"CDN_PREFIX" : "CDN Prefix",
"Certificates_and_Keys" : "Certificates and Keys",
"Changing_email" : "Changing email",
"channel" : "channel",
"Channel" : "Channel",
"Channel_already_exist" : "The channel '#%s' already exists.",
"Channel_already_Unarchived" : "Channel with name `#%s` is already in Unarchived state",
@ -277,13 +280,12 @@
"Created_at_s_by_s" : "Created at <strong>%s</strong> by <strong>%s</strong>",
"Current_Chats" : "Current Chats",
"Custom" : "Custom",
"EmojiCustomFilesystem" : "Custom Emoji Filesystem",
"Custom_Emoji" : "Custom Emoji",
"Custom_Emoji_Add" : "Add New Emoji",
"Custom_Emoji_Added_Successfully" : "Custom emoji added successfully",
"Custom_Emoji_Delete_Warning" : "Deleting an emoji cannot be undone.",
"Custom_Emoji_Error_Name_Or_Alias_Already_In_Use" : "The custom emoji or one of its aliases is already in use.",
"Custom_Emoji_Error_Invalid_Emoji" : "Invalid emoji",
"Custom_Emoji_Error_Name_Or_Alias_Already_In_Use" : "The custom emoji or one of its aliases is already in use.",
"Custom_Emoji_Has_Been_Deleted" : "The custom emoji has been deleted.",
"Custom_Emoji_Info" : "Custom Emoji Info",
"Custom_Emoji_Updated_Successfully" : "Custom emoji updated successfully",
@ -355,10 +357,10 @@
"Email_subject" : "Subject",
"Email_verified" : "Email verified",
"Emoji" : "Emoji",
"EmojiCustomFilesystem" : "Custom Emoji Filesystem",
"Empty_title" : "Empty title",
"Enable" : "Enable",
"Enable_Desktop_Notifications" : "Enable Desktop Notifications",
"Office_Hours_Enabled" : "Office Hours Enabled",
"Enabled" : "Enabled",
"Encrypted_message" : "Encrypted message",
"End_OTR" : "End OTR",
@ -678,6 +680,7 @@
"Leave_Private_Warning" : "Are you sure you want to leave the discussion with \"%s\"?",
"Leave_room" : "Leave room",
"Leave_Room_Warning" : "Are you sure you want to leave the room \"%s\"?",
"Leave_the_current_channel" : "Leave the current channel",
"line" : "line",
"List_of_Channels" : "List of Channels",
"List_of_Direct_Messages" : "List of Direct Messages",
@ -789,8 +792,8 @@
"Min_length_is" : "Min length is %s",
"minutes" : "minutes",
"Mobile_push" : "Mobile push",
"Monitor_history_for_changes_on" : "Monitor history for changes on",
"Monday" : "Monday",
"Monitor_history_for_changes_on" : "Monitor history for changes on",
"More_channels" : "More channels",
"More_direct_messages" : "More direct messages",
"More_groups" : "More private groups",
@ -852,6 +855,7 @@
"Off_the_record_conversation" : "Off-the-record Conversation",
"Off_the_record_conversation_is_not_available_for_your_browser_or_device" : "Off-the-record conversation is not available for your browser or device.",
"Office_Hours": "Office Hours",
"Office_Hours_Enabled" : "Office Hours Enabled",
"Offline" : "Offline",
"Offline_DM_Email" : "You have been direct messaged by __user__",
"Offline_form" : "Offline form",
@ -866,8 +870,8 @@
"Only_you_can_see_this_message" : "Only you can see this message",
"Oops!" : "Oops",
"Open" : "Open",
"Open_Livechats" : "Open Livechats",
"Open_days_of_the_week" : "Open Days of the Week",
"Open_Livechats" : "Open Livechats",
"Opened" : "Opened",
"Opens_a_channel_group_or_direct_message" : "Opens a channel, group or direct message",
"optional" : "optional",
@ -959,8 +963,8 @@
"Reacted_with" : "Reacted with",
"Reactions" : "Reactions",
"Read_only" : "Read Only",
"Read_only_channel" : "Read Only Channel",
"Read_only_changed_successfully" : "Read only changed successfully",
"Read_only_channel" : "Read Only Channel",
"Read_only_group" : "Read Only Group",
"Record" : "Record",
"Redirect_URI" : "Redirect URI",
@ -1002,6 +1006,8 @@
"Room_description_changed_successfully" : "Room description changed successfully",
"Room_has_been_deleted" : "Room has been deleted",
"Room_Info" : "Room Info",
"room_is_read_only" : "This room is read only",
"room_name" : "room name",
"Room_name_changed" : "Room name changed to: <em>__room_name__</em> by <em>__user_by__</em>",
"Room_name_changed_successfully" : "Room name changed successfully",
"Room_not_found" : "Room not found",
@ -1096,10 +1102,10 @@
"Slash_TableUnflip_Description" : "Displays ┬─┬ ノ( ゜-゜ノ)",
"Slash_Topic_Description" : "Set topic",
"Slash_Topic_Params" : "Topic message",
"Smarsh_Enabled": "Smarsh Enabled",
"Smarsh_Enabled_Description": "Whether the Smarsh eml connector is enabled or not (needs 'From Email' filled in under Email -> SMTP).",
"Smarsh_Email": "Smarsh Email",
"Smarsh_Email_Description": "Smarsh Email Address to send the .eml file to.",
"Smarsh_Enabled": "Smarsh Enabled",
"Smarsh_Enabled_Description": "Whether the Smarsh eml connector is enabled or not (needs 'From Email' filled in under Email -> SMTP).",
"Smarsh_Interval": "Smarsh Interval",
"Smarsh_Interval_Description": "The amount of time to wait before sending the chats (needs 'From Email' filled in under Email -> SMTP).",
"Smarsh_MissingEmail_Email": "Missing Email",
@ -1377,6 +1383,8 @@
"Your_entry_has_been_deleted" : "Your entry has been deleted.",
"Your_file_has_been_deleted" : "Your file has been deleted.",
"Your_mail_was_sent_to_s" : "Your mail was sent to %s",
"your_message" : "your message",
"your_message_optional" : "your message (optional)",
"Your_password_is_wrong" : "Your password is wrong!",
"Your_push_was_sent_to_s_devices" : "Your push was sent to %s devices"
}

@ -1,9 +1,11 @@
{
"#channel" : "#canal",
"0_Errors_Only" : "0 - Apenas erros",
"1_Errors_and_Information" : "1 - Erros e Informações",
"2_Erros_Information_and_Debug" : "2 - Erros, Informação e Debug",
"403" : "Proibido",
"500" : "Erro Interno do Servidor",
"@username" : "@username",
"__username__is_no_longer__role__defined_by__user_by_" : "__username__ não pertence mais à __role__, por __user_by__",
"__username__was_set__role__by__user_by_" : "__username__ foi definido como __role__ por __user_by__",
"Accept_incoming_livechat_requests_even_if_there_are_no_online_agents" : "Aceitar requisições de livechat mesmo se não houverem agentes online",
@ -217,6 +219,7 @@
"CDN_PREFIX" : "Prefixo CDN",
"Certificates_and_Keys" : "Certificados e Chaves",
"Changing_email" : "Alterando e-mail",
"channel" : "canal",
"Channel" : "Canal",
"Channel_already_exist" : "O canal '#%s' já existe.",
"Channel_already_Unarchived" : "Canal com o nome `#%s` já está não arquivado",
@ -630,6 +633,7 @@
"Leave_Private_Warning" : "Tem certeza de que quer sair da discussão com \"%s\"?",
"Leave_room" : "Sair da sala",
"Leave_Room_Warning" : "Tem certeza de que deseja sair da sala \"%s\"?",
"Leave_the_current_channel" : "Sai deste canal",
"line" : "linha",
"List_of_Channels" : "Lista de Canais",
"List_of_Direct_Messages" : "Lista de Mensagens Diretas",
@ -798,6 +802,7 @@
"Oops!" : "Ops",
"Open" : "Aberto",
"Opened" : "Aberto",
"Opens_a_channel_group_or_direct_message" : "Abre um canal, grupo ou mensagem direta",
"optional" : "opcional",
"or" : "ou",
"Order" : "Ordem",
@ -881,8 +886,8 @@
"Query" : "Query",
"Query_description" : "Condições adicionais para determinar para quais usuários enviar e-mail. Usuários não inscritos são automaticamente removidos a partir da consulta. Deve ser um JSON válido. Exemplo: `{\"createdAt\": {\"$gt\": {\"$date\": \"2015-01-01T00: 00: 00.000Z\"}}}`",
"Queue" : "Roleta",
"quote" : "citação",
"Quote" : "Citar",
"quote" : "citação",
"Random" : "Aleatória",
"Reacted_with" : "Reagiu com",
"Reactions" : "Reações",
@ -923,6 +928,7 @@
"room_changed_topic" : "Tópico da sala mudou para: <em>__room_topic__</em> por <em>__user_by__</em>",
"Room_has_been_deleted" : "A sala foi excluída",
"Room_Info" : "Informações da Sala",
"room_name" : "nome da sala",
"Room_name_changed" : "Nome da sala alterado para: <em>__room_name__</em> por <em>__user_by__</em>",
"Room_name_changed_successfully" : "Nome da sala alterado com sucesso",
"Room_not_found" : "Sala não encontrada",
@ -1270,6 +1276,8 @@
"Your_entry_has_been_deleted" : "Sua mensagem foi excluída.",
"Your_file_has_been_deleted" : "Seu arquivo foi apagado.",
"Your_mail_was_sent_to_s" : "O seu e-mail foi enviado para %s",
"your_message" : "sua mensagem",
"your_message_optional" : "sua mensagem (opcional)",
"Your_password_is_wrong" : "Sua senha está errada!",
"Your_push_was_sent_to_s_devices" : "Sua natificação foi enviada para %s dispositivos"
}
}

@ -16,5 +16,5 @@ function Gimme(command, params, item) {
RocketChat.slashCommands.add('gimme', Gimme, {
description: 'Slash_Gimme_Description',
params: 'your message (optional)'
params: 'your_message_optional'
});

@ -16,5 +16,5 @@ function LennyFace(command, params, item) {
RocketChat.slashCommands.add('lennyface', LennyFace, {
description: 'Slash_LennyFace_Description',
params: 'your message (optional)'
params: 'your_message_optional'
});

@ -16,5 +16,5 @@ function Shrug(command, params, item) {
RocketChat.slashCommands.add('shrug', Shrug, {
description: 'Slash_Shrug_Description',
params: 'your message (optional)'
params: 'your_message_optional'
});

@ -16,5 +16,5 @@ function Tableflip(command, params, item) {
RocketChat.slashCommands.add('tableflip', Tableflip, {
description: 'Slash_Tableflip_Description',
params: 'your message (optional)'
params: 'your_message_optional'
});

@ -16,5 +16,5 @@ function Unflip(command, params, item) {
RocketChat.slashCommands.add('unflip', Unflip, {
description: 'Slash_TableUnflip_Description',
params: 'your message (optional)'
params: 'your_message_optional'
});

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

@ -5,12 +5,11 @@
if Meteor.isClient
RocketChat.slashCommands.add 'leave', undefined,
description: 'Leave the current channel'
params: ''
description: 'Leave_the_current_channel'
RocketChat.slashCommands.add 'part', undefined,
description: 'Leave the current channel'
params: ''
description: 'Leave_the_current_channel'
else
class Leave
constructor: (command, params, item) ->

@ -13,4 +13,4 @@ class Me
RocketChat.slashCommands.add 'me', Me,
description: 'Displays_action_text'
params: 'your message'
params: 'your_message'

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

@ -145,7 +145,7 @@ Template.messagePopupConfig.helpers
if command.indexOf(filter) > -1
commands.push
_id: command
params: TAPi18n.__ item.params
params: if item.params then TAPi18n.__ item.params else ''
description: TAPi18n.__ item.description
commands = commands.sort (a, b) ->

Loading…
Cancel
Save