labels
This commit is contained in:
parent
c39a764595
commit
89c3eae9b1
1
client/@types/global.d.ts
vendored
1
client/@types/global.d.ts
vendored
@ -64,6 +64,7 @@ declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_COMMAND_CMD_DESC: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_COMMAND_MESSAGE_LABEL: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_COMMAND_MESSAGE_DESC: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_LABEL: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_LABEL2: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DESC: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DESC2: string
|
||||
declare const LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DELAY_LABEL: string
|
||||
|
@ -126,7 +126,7 @@
|
||||
</div>
|
||||
<div class="col-12 col-lg-8 col-xl-9">
|
||||
<div class="form-group">
|
||||
<label for="peertube-livechat-quote-{{fieldNumber}}">{{quoteLabel}}</label>
|
||||
<label for="peertube-livechat-quote-{{fieldNumber}}">{{quoteLabel2}}</label>
|
||||
{{! warning: don't add extra line break in textarea! }}
|
||||
<textarea
|
||||
name="quote_{{fieldNumber}}"
|
||||
|
@ -98,6 +98,7 @@ async function fillLabels (
|
||||
LOC_LIVECHAT_CONFIGURATION_CHANNEL_FORBIDDEN_WORDS_COMMENTS_DESC
|
||||
)
|
||||
view.quoteLabel = await peertubeHelpers.translate(LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_LABEL)
|
||||
view.quoteLabel2 = await peertubeHelpers.translate(LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_LABEL2)
|
||||
view.quoteDesc = await peertubeHelpers.translate(LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DESC)
|
||||
view.quoteDesc2 = await peertubeHelpers.translate(LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DESC2)
|
||||
view.quoteDelayLabel = await peertubeHelpers.translate(LOC_LIVECHAT_CONFIGURATION_CHANNEL_QUOTE_DELAY_LABEL)
|
||||
|
@ -345,6 +345,7 @@ livechat_configuration_channel_quote_desc: |
|
||||
You can configure several timers that will send messages at regular interval.
|
||||
These messages will be sent by the bot every X minutes.
|
||||
You can for example make the bot sent some sponsoring information every 5 minutes.
|
||||
livechat_configuration_channel_quote_label2: "Messages"
|
||||
livechat_configuration_channel_quote_desc2: |
|
||||
One message per line.
|
||||
If multiple messages, it will pick one randomly every X minutes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user