mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
docs: new Crowdin translations (#709)
docs: new Crowdin translations (#709)
This commit is contained in:
parent
5ea3c1695c
commit
58562ee6c7
9 changed files with 72 additions and 135 deletions
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Las notificaciones fueron introducidas con la idea de usar webhooks para Slack,
|
|||
|
||||
## Uso
|
||||
|
||||
Un ejemplo con ** hipchat**:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Notificación sencilla
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuración
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | Si el endpoint requiere encabezados específicos, defínelos aquí como un arreglo (key:value). |
|
||||
| endpoint | string | Yes | all | | define el URL para el endpoint |
|
||||
| content | string | Yes | all | | una plantilla en Handlebars |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
|
@ -6,7 +6,7 @@ Notify was built primarily to use with Slack's Incoming webhooks, but will also
|
|||
|
||||
## Usage
|
||||
|
||||
An example with a **hipchat** hook:
|
||||
An example with a **HipChat** and **Google Hangouts Chat** hook:
|
||||
|
||||
#### Single notification
|
||||
|
||||
|
@ -22,23 +22,16 @@ notify:
|
|||
|
||||
```yaml
|
||||
notify:
|
||||
'example-package-1'
|
||||
'example-google-chat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://chat.googleapis.com/v1/spaces/AAAAB_TcJYs/messages?key=myKey&token=myToken
|
||||
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
||||
'example-hipchat':
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-2'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
'example-package-3'
|
||||
method: POST
|
||||
headers: [{'Content-Type': 'application/json'}]
|
||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
@ -50,4 +43,4 @@ notify:
|
|||
| packagePatternFlags | string | No | all | | Any flags to be used with the regular expression |
|
||||
| headers | array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. |
|
||||
| endpoint | string | Yes | all | | set the URL endpoint for this call |
|
||||
| content | string | Yes | all | | any Handlebar expressions |
|
||||
| content | string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions |
|
Loading…
Reference in a new issue