From 7e91083b3a4e24f29c043284ac3779c96d62b875 Mon Sep 17 00:00:00 2001
From: Sheldan <5037282+Sheldan@users.noreply.github.com>
Date: Mon, 12 Jul 2021 00:44:07 +0200
Subject: [PATCH] [AB-64] adding templates for voice channel context feature
---
translations/pom.xml | 1 +
translations/voice-channel-context/pom.xml | 36 +++++++++++++++++++
.../src/main/assembly/assembly.xml | 15 ++++++++
...eVoiceChannelContext_description_en_US.ftl | 1 +
...ateVoiceChannelContext_long_help_en_US.ftl | 2 ++
...iceChannelContext_parameter_role_en_US.ftl | 1 +
...elContext_parameter_voiceChannel_en_US.ftl | 2 ++
...eVoiceChannelContext_description_en_US.ftl | 1 +
...eteVoiceChannelContext_long_help_en_US.ftl | 1 +
...ChannelContext_parameter_channel_en_US.ftl | 2 ++
.../feature_voiceChannelContext_en_US.ftl | 1 +
11 files changed, 63 insertions(+)
create mode 100644 translations/voice-channel-context/pom.xml
create mode 100644 translations/voice-channel-context/src/main/assembly/assembly.xml
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_description_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_long_help_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_role_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_voiceChannel_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_description_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_long_help_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_parameter_channel_en_US.ftl
create mode 100644 translations/voice-channel-context/src/main/resources/en_US/config/feature_voiceChannelContext_en_US.ftl
diff --git a/translations/pom.xml b/translations/pom.xml
index 250c9a6f..a530fabb 100644
--- a/translations/pom.xml
+++ b/translations/pom.xml
@@ -31,6 +31,7 @@
logging
invite-filter
profanity-filter
+ voice-channel-context
\ No newline at end of file
diff --git a/translations/voice-channel-context/pom.xml b/translations/voice-channel-context/pom.xml
new file mode 100644
index 00000000..ac878ac7
--- /dev/null
+++ b/translations/voice-channel-context/pom.xml
@@ -0,0 +1,36 @@
+
+
+
+ translations
+ dev.sheldan.abstracto-templates.translations
+ 1.2.15-SNAPSHOT
+
+ 4.0.0
+
+ voice-channel-context
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ package
+
+ single
+
+
+ voice-channel-context-translations-${project.version}
+ false
+
+ src/main/assembly/assembly.xml
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/assembly/assembly.xml b/translations/voice-channel-context/src/main/assembly/assembly.xml
new file mode 100644
index 00000000..aca1e510
--- /dev/null
+++ b/translations/voice-channel-context/src/main/assembly/assembly.xml
@@ -0,0 +1,15 @@
+
+ zip
+ false
+
+ zip
+
+
+
+ .
+ ${project.basedir}/src/main/resources
+
+
+
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_description_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_description_en_US.ftl
new file mode 100644
index 00000000..2d711715
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_description_en_US.ftl
@@ -0,0 +1 @@
+Creates a voice channel context
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_long_help_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_long_help_en_US.ftl
new file mode 100644
index 00000000..be5d9f60
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_long_help_en_US.ftl
@@ -0,0 +1,2 @@
+This command can be used to link a voice channel to a role. This means, that the role will be added to the members who join this voice channel.
+The role can then be used to provide 'view channel' permission to another channel to be used as a context channel.
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_role_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_role_en_US.ftl
new file mode 100644
index 00000000..0c7dfb93
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_role_en_US.ftl
@@ -0,0 +1 @@
+The role to apply to members joining to the voice channel
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_voiceChannel_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_voiceChannel_en_US.ftl
new file mode 100644
index 00000000..52c9cd66
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/createVoiceChannelContext/help/createVoiceChannelContext_parameter_voiceChannel_en_US.ftl
@@ -0,0 +1,2 @@
+The voice channel for which a voice channel context should be created. You can mention voice channels by typing '#!' and then continuing with the voice channel name.
+The name or the channel ID is also a possibility.
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_description_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_description_en_US.ftl
new file mode 100644
index 00000000..8f3087e0
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_description_en_US.ftl
@@ -0,0 +1 @@
+Deletes a voice channel context
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_long_help_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_long_help_en_US.ftl
new file mode 100644
index 00000000..f8c25487
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_long_help_en_US.ftl
@@ -0,0 +1 @@
+This command can be used to remove a voice channel context. So that the given voice channel does not have a role associated with it.
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_parameter_channel_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_parameter_channel_en_US.ftl
new file mode 100644
index 00000000..c4873d57
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/commands/deleteVoiceChannelContext/help/deleteVoiceChannelContext_parameter_channel_en_US.ftl
@@ -0,0 +1,2 @@
+The voice channel for which a voice channel context should be removed. You can mention voice channels by typing '#!' and then continuing with the voice channel name.
+The name or the channel ID is also a possibility.
\ No newline at end of file
diff --git a/translations/voice-channel-context/src/main/resources/en_US/config/feature_voiceChannelContext_en_US.ftl b/translations/voice-channel-context/src/main/resources/en_US/config/feature_voiceChannelContext_en_US.ftl
new file mode 100644
index 00000000..be36cf44
--- /dev/null
+++ b/translations/voice-channel-context/src/main/resources/en_US/config/feature_voiceChannelContext_en_US.ftl
@@ -0,0 +1 @@
+Voice channel context
\ No newline at end of file