Skip to content

Add new messages for new Download sections #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,33 @@
"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",
"defaultAssignments": "Default Assignments Extension",
"defaultAssignmentsInfo": "Provides an alternate approach for assigning {wiki} if the recommended way is impractical.",
"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": {
"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",
"placeholders": "Placeholders",
"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": {
Expand Down Expand Up @@ -281,4 +299,4 @@
"title": "Not found!",
"message": "The page {path} doesn't exist"
}
}
}
102 changes: 52 additions & 50 deletions src/views/Download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@
<li v-html="$t('download.install.config')" />
<i18n path="download.install.setup" tag="li">
<template #wiki>
<router-link to="wiki/Usage">
{{ $t('download.install.wiki') }}
</router-link>
<router-link to="wiki/Usage">{{ $t('download.install.wiki') }}</router-link>
</template>
</i18n>
</ol>
Expand All @@ -132,9 +130,7 @@
<li v-html="$t('download.trouble.console')" />
<i18n path="download.trouble.read" tag="li">
<template #wiki>
<router-link to="wiki/Installation">
{{ $t('download.trouble.wiki') }}
</router-link>
<router-link to="wiki/Installation">{{ $t('download.trouble.wiki') }}</router-link>
</template>
</i18n>
<i18n path="download.trouble.support" tag="li">
Expand All @@ -152,9 +148,7 @@
<h1>{{ $t('download.extensions.title') }}</h1>
<i18n path="download.extensions.description" tag="p">
<template #wiki>
<router-link to="/wiki/Extensions">
{{ $t('download.extensions.descriptionWiki') }}
</router-link>
<router-link to="/wiki/Extensions">{{ $t('download.extensions.descriptionWiki') }}</router-link>
</template>
</i18n>
</div>
Expand All @@ -177,10 +171,8 @@
<div>
<p>{{ $t('download.extensions.legacyInfo') }}</p>
<i18n path="download.extensions.more" tag="p">
<template #wiki>
<router-link to="/wiki/Extensions#extension-legacy-api">
{{ $t('download.extensions.wiki') }}
</router-link>
<template #wikiSection>
<router-link to="/wiki/Extensions#extension-legacy-api">{{ $t('download.extensions.wikiSection') }}</router-link>
</template>
</i18n>
</div>
Expand All @@ -199,30 +191,27 @@
</a>
<div>
<i18n path="download.extensions.defaultAssignmentsInfo" tag="p">
<template #wiki>
<router-link to="/wiki/Default-Groups">
{{ $t('download.extensions.groups') }}
</router-link>
<template #defaultGroups>
<router-link to="/wiki/Default-Groups">{{ $t('download.extensions.defaultGroups') }}</router-link>
</template>
</i18n>
<i18n
path="download.extensions.more"
tag="p"
>
<template #wikiSection>
<router-link to="/wiki/Extensions#extension-default-assignments">{{ $t('download.extensions.wikiSection') }}</router-link>
</template>
</i18n>
<p>Check out the <router-link to="/wiki/Extensions#extension-default-assignments">wiki
section</router-link> for more information. See also
<a href="/wiki/Default-Groups#configure-default-assignments">this section</a> about
configuring default assignments.
</p>
</div>
</div>
</section>
</div>
<section class="hero additional-plugins">
<div class="container">
<div>
<h1>Additional Plugins</h1>
<p>
Additional plugins can provide more complex features,
but may not be available on all platforms
.
</p>
<h1>{{ $t('download.additionalPlugins.title') }}</h1>
<p>{{ $t('download.additionalPlugins.description') }}</p>
</div>
</div>
</section>
Expand All @@ -232,26 +221,28 @@
<a :href="additionalPlugins['extracontexts']" class="resource">
<span>
<font-awesome icon="arrow-alt-circle-down" />
ExtraContexts Plugin
{{ $t('download.additionalPlugins.extraContexts') }}
</span>
<small>LuckPerms 5.0 and above, Bukkit only</small>
<small>{{ $t('download.additionalPlugins.version') }}</small>
</a>
<div>
<p>Add more contexts, including some for other plugins</p>
<p>{{ $t('download.additionalPlugins.extraContextsInfo') }}</p>
</div>
</div>
</section>
</div>
<section class="hero placeholder-expansions">
<div class="container">
<div>
<h1>Placeholder Expansions</h1>
<p>
LuckPerms adds
<router-link to="/wiki/Placeholders#placeholders">placeholders</router-link>
to PlaceholderAPI and MVdWPlaceholderAPI
.
</p>
<h1>{{ $t('download.placeholderExpansions.title') }}</h1>
<i18n
path="download.placeholderExpansions.description"
tag="p"
>
<template #placeholders>
<router-link to="/wiki/Placeholders#placeholders">{{ $t('download.placeholderExpansions.placeholders') }}</router-link>
</template>
</i18n>
</div>
</div>
</section>
Expand All @@ -261,30 +252,41 @@
<a :href="placeholderExpansions['luckperms-papi-expansion']" class="resource">
<span>
<font-awesome icon="arrow-alt-circle-down" />
PlaceholderAPI
{{ $t('download.placeholderExpansions.placeholderApi') }}
</span>
<small>LuckPerms 5.0 and above, Bukkit only</small>
<small>{{ $t('download.placeholderExpansions.version') }}</small>
</a>
<div>
<p>
Install using either
<code>/papi ecloud download LuckPerms</code>
or by
<router-link to="/wiki/Placeholders#manual-install">installing manually</router-link>
.
</p>
<i18n
path="download.placeholderExpansions.placeholderApiInfo"
tag="p"
>
<template #command>
<code>/papi ecloud download LuckPerms</code>
</template>
<template #installingManually>
<router-link to="/wiki/Placeholders#placeholderapi">{{ $t('download.placeholderExpansions.placeholderApiInstallingManually') }}</router-link>
</template>
</i18n>
</div>
</div>
<div>
<a :href="placeholderExpansions['luckperms-mvdw-hook']" class="resource">
<span>
<font-awesome icon="arrow-alt-circle-down" />
MVdWPlaceholderAPI
{{ $t('download.placeholderExpansions.mvdwPlaceholderApi') }}
</span>
<small>LuckPerms 5.0 and above, Bukkit only</small>
<small>{{ $t('download.placeholderExpansions.version') }}</small>
</a>
<div>
<p>Place the JAR file in your <code>/plugins/</code> folder.</p>
<i18n
path="download.placeholderExpansions.mvdwPlaceholderApiInfo"
tag="p"
>
<template #plugins>
<code>/plugins/</code>
</template>
</i18n>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div v-if="!errors.load && !errors.unsupported">
<p>
<font-awesome icon="asterisk" :spin="true" />
{{ $('editor.loading' )}}
{{ $t('editor.loading' )}}
</p>
</div>

Expand Down