From ab220c73cc8327b2c0cdf93652e2c475c4661add Mon Sep 17 00:00:00 2001 From: Tobi406 Date: Sat, 30 Oct 2021 14:18:38 +0200 Subject: [PATCH 1/6] Add new messages for new Download sections --- src/messages/en.js | 18 ++++++++++++ src/views/Download.vue | 66 ++++++++++++++++++++++++++++++------------ 2 files changed, 66 insertions(+), 18 deletions(-) diff --git a/src/messages/en.js b/src/messages/en.js index 808f6e65..c28340de 100644 --- a/src/messages/en.js +++ b/src/messages/en.js @@ -87,9 +87,27 @@ export default { wiki: 'wiki section', defaultAssignments: 'Default Assignments Extension', defaultAssignmentsInfo: 'Provides an alternate approach for assigning {wiki} if the recommended way is impractical.', + defaultAssignmentsInfoMore: 'Check out the {wikiSection} for more information. See also {thisSection} about configuring default assignments.', groups: 'default groups', version: 'LuckPerms 5.0 and above', }, + additionalPlugins: { + title: 'Additional Plugins', + description: 'Additional plugins can provide more complex features, but may not be available on all platforms', + extraContexts: 'ExtraContexts Plugin', + extraContextsInfo: 'Add more contexts, including some for other plugins', + version: 'LuckPerms 5.0 and above, Bukkit only', + }, + placeholderExpansions: { + title: 'Placeholder Expansions', + description: 'LuckPerms adds {placeholders} to PlaceholderAPI and MVdWPlaceholderAPI', + placeholderApi: 'PlaceholderAPI', + placeholderApiInfo: 'Install using either {command} or by {installingManually}.', + placeholderApiInstallingManually: 'installing manually', + mvdwPlaceholderApi: 'MVdWPlaceholderAPI', + mvdwPlaceholderApiInfo: 'Place the JAR file in your {plugins} folder.', + version: 'LuckPerms 5.0 and above, Bukkit only', + }, }, editor: { description: 'Web Permissions Editor', diff --git a/src/views/Download.vue b/src/views/Download.vue index 6c1f9750..e5f77c11 100644 --- a/src/views/Download.vue +++ b/src/views/Download.vue @@ -205,11 +205,17 @@ -

Check out the wiki - section for more information. See also - this section about - configuring default assignments. -

+ + + + @@ -217,8 +223,8 @@
-

Additional Plugins

-

Additional plugins can provide more complex features, but may not be available on all platforms

+

{{ $t('download.additionalPlugins.title') }}

+

{{ $t('download.additionalPlugins.description') }}

@@ -228,12 +234,12 @@ - ExtraContexts Plugin + {{ $t('download.additionalPlugins.extraContexts') }} - LuckPerms 5.0 and above, Bukkit only + {{ $t('download.additionalPlugins.version') }}
-

Add more contexts, including some for other plugins

+

{{ $t('download.additionalPlugins.extraContextsInfo') }}

@@ -241,8 +247,15 @@
-

Placeholder Expansions

-

LuckPerms adds placeholders to PlaceholderAPI and MVdWPlaceholderAPI

+

{{ $t('download.placeholderExpansions.title') }}

+ + +
@@ -252,24 +265,41 @@ - PlaceholderAPI + {{ $t('download.placeholderExpansions.placeholderApi') }} - LuckPerms 5.0 and above, Bukkit only + {{ $t('download.placeholderExpansions.version') }}
-

Install using either /papi ecloud download LuckPerms or by installing manually.

+ + + +
- MVdWPlaceholderAPI + {{ $t('download.placeholderExpansions.mvdwPlaceholderApi') }} - LuckPerms 5.0 and above, Bukkit only + {{ $t('download.placeholderExpansions.version') }}
-

Place the JAR file in your /plugins/ folder.

+ + +
From 65c8c0017174ae2323ea03a19b7d033e2e3982b6 Mon Sep 17 00:00:00 2001 From: Tobi406 Date: Sat, 30 Oct 2021 17:46:03 +0200 Subject: [PATCH 2/6] Translate wiki section as well --- src/messages/en.js | 1 + src/views/Download.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/messages/en.js b/src/messages/en.js index c28340de..87f6a3b7 100644 --- a/src/messages/en.js +++ b/src/messages/en.js @@ -85,6 +85,7 @@ export default { legacyInfo: 'Allows some common API methods to be used by plugins that haven\'t upgraded to v5 version of the API yet.', more: 'Check out the {wiki} for more information!', wiki: 'wiki section', + wikiThis: 'this section', defaultAssignments: 'Default Assignments Extension', defaultAssignmentsInfo: 'Provides an alternate approach for assigning {wiki} if the recommended way is impractical.', defaultAssignmentsInfoMore: 'Check out the {wikiSection} for more information. See also {thisSection} about configuring default assignments.', diff --git a/src/views/Download.vue b/src/views/Download.vue index e5f77c11..b5d52234 100644 --- a/src/views/Download.vue +++ b/src/views/Download.vue @@ -210,10 +210,10 @@ tag="p" > From 0d4ba917a6c3486b87c93c869f29916c59b374d2 Mon Sep 17 00:00:00 2001 From: Tobi406 Date: Thu, 11 Nov 2021 14:31:41 +0100 Subject: [PATCH 3/6] Add missing string for placeholders link --- src/messages/en.js | 1 + src/views/Download.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/messages/en.js b/src/messages/en.js index 87f6a3b7..3cda3827 100644 --- a/src/messages/en.js +++ b/src/messages/en.js @@ -103,6 +103,7 @@ export default { title: 'Placeholder Expansions', description: 'LuckPerms adds {placeholders} to PlaceholderAPI and MVdWPlaceholderAPI', placeholderApi: 'PlaceholderAPI', + placeholders: 'Placeholders', placeholderApiInfo: 'Install using either {command} or by {installingManually}.', placeholderApiInstallingManually: 'installing manually', mvdwPlaceholderApi: 'MVdWPlaceholderAPI', diff --git a/src/views/Download.vue b/src/views/Download.vue index b5d52234..0ba31059 100644 --- a/src/views/Download.vue +++ b/src/views/Download.vue @@ -253,7 +253,7 @@ tag="p" > From 5403066dde36c9d3b3a48f53a8be9ee9fcabbca8 Mon Sep 17 00:00:00 2001 From: Tobi406 Date: Sat, 1 Jan 2022 15:07:53 +0100 Subject: [PATCH 4/6] Change messages in Extensions section --- src/messages/en.js | 10 ++++------ src/views/Download.vue | 19 ++++++------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/src/messages/en.js b/src/messages/en.js index 3cda3827..5d3ad784 100644 --- a/src/messages/en.js +++ b/src/messages/en.js @@ -80,16 +80,14 @@ export default { extensions: { title: 'Extensions', description: 'Extensions can modify the behaviour of LuckPerms, you can read more about them on {wiki}.', + more: 'Check out the {wikiSection} for more information!', + wikiSection: 'wiki section', descriptionWiki: 'the wiki', legacy: 'Legacy API Extension', legacyInfo: 'Allows some common API methods to be used by plugins that haven\'t upgraded to v5 version of the API yet.', - more: 'Check out the {wiki} for more information!', - wiki: 'wiki section', - wikiThis: 'this section', defaultAssignments: 'Default Assignments Extension', - defaultAssignmentsInfo: 'Provides an alternate approach for assigning {wiki} if the recommended way is impractical.', - defaultAssignmentsInfoMore: 'Check out the {wikiSection} for more information. See also {thisSection} about configuring default assignments.', - groups: 'default groups', + defaultAssignmentsInfo: 'Provides an alternate approach for assigning {defaultGroups} if the recommended way is impractical.', + defaultGroups: 'default groups', version: 'LuckPerms 5.0 and above', }, additionalPlugins: { diff --git a/src/views/Download.vue b/src/views/Download.vue index 0ba31059..6e25f285 100644 --- a/src/views/Download.vue +++ b/src/views/Download.vue @@ -177,10 +177,8 @@

{{ $t('download.extensions.legacyInfo') }}

-