This commit is contained in:
John Livingston 2023-09-26 14:58:59 +02:00
parent c39a764595
commit 89c3eae9b1
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
4 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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}}"

View File

@ -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)

View File

@ -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.