forked from defstudio/telegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Language lines used in console commands | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
|
||
"new_bot" => [ | ||
'starting_message' => 'Estás a punto de crear un nuevo Bot de Telegram', | ||
'enter_bot_token' => 'Por favor, introduce el token del bot', | ||
'enter_bot_name' => 'Introduce el nombre del bot (opcional)', | ||
'ask_to_add_a_chat' => '¿Quieres agregar un chat a este bot?', | ||
'ask_to_setup_webhook' => '¿Desea configurar un webhook para este bot?', | ||
'bot_created' => 'Se ha creado un nuevo bot :bot_name', | ||
], | ||
|
||
'new_chat' => [ | ||
'starting_message' => "Está a punto de crear un nuevo chat de Telegram para el bot :bot_name", | ||
'enter_chat_id' => 'Ingrese el ID del chat - presione [x] para cancelar', | ||
'enter_chat_name' => 'Introduce el nombre del chat (opcional)', | ||
'chat_created' => 'Se ha creado un nuevo chat :chat_name para el bot :bot_name', | ||
], | ||
|
||
'set_webhook' => [ | ||
'sending_setup_request' => 'Enviando solicitud de configuración de webhook a: :api_url', | ||
'webhook_updated' => 'Webhook actualizado' | ||
], | ||
|
||
'unset_webhook' => [ | ||
'sending_unset_request' => 'Enviando solicitud de anulación de webhook a: :api_url', | ||
'webhook_deleted' => 'Webhook eliminado' | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace DefStudio\Telegraph\Lang; | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Error language lines | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
|
||
'invalid_action' => 'Acción no válida', | ||
'invalid_command' => 'Comando desconocido', | ||
'empty_token' => 'El token no puede estar vacío', | ||
'empty_chat_id' => 'El ID de chat no puede estar vacío', | ||
'missing_bot_id' => 'Especifique un ID de bot', | ||
'failed_to_get_log_from_telegram' => 'No se pudo obtener el log del servidor de Telegram', | ||
'failed_to_register_webhook' => 'No se pudo registrar el webhook', | ||
'failed_to_unregister_webhook' => 'Error al anular el registro del webhook', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Miscellaneous language lines | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
|
||
'yes' => 'si', | ||
'no' => 'no', | ||
]; |