Adjust quite a bit of wording (#252)

* Adjust quite a bit of wording
Also converts many title case things to sentence case (fixes #238)

* Change advised to recommended

* Oops, I missed a page

* That page too

* Missed a spot
This commit is contained in:
Emma
2021-06-05 23:34:43 -04:00
committed by GitHub
parent bb8fd5500d
commit 46bc04f69f
18 changed files with 196 additions and 175 deletions

View File

@@ -36,7 +36,7 @@
</ul> </ul>
<ul> <ul>
<li> <li>
<nuxt-link to="/dashboard/privacy">Set privacy preferences</nuxt-link> <nuxt-link to="/dashboard/privacy">Change privacy settings</nuxt-link>
</li> </li>
</ul> </ul>
<span> © Guavy LLC </span><br /> <span> © Guavy LLC </span><br />

View File

@@ -34,7 +34,7 @@
</nuxt-link> </nuxt-link>
<nuxt-link :to="'/dashboard/privacy'" class="tab last"> <nuxt-link :to="'/dashboard/privacy'" class="tab last">
<ShieldIcon /> <ShieldIcon />
Privacy Settings Privacy settings
</nuxt-link> </nuxt-link>
</div> </div>
<div v-else class="card page-nav"> <div v-else class="card page-nav">
@@ -44,7 +44,7 @@
</a> </a>
<nuxt-link :to="'/dashboard/privacy'" class="tab last"> <nuxt-link :to="'/dashboard/privacy'" class="tab last">
<SettingsIcon /> <SettingsIcon />
Privacy Settings Privacy settings
</nuxt-link> </nuxt-link>
</div> </div>
<m-footer class="footer" hide-small /> <m-footer class="footer" hide-small />

View File

@@ -81,7 +81,7 @@ export default {
}, },
}, },
head: { head: {
title: 'Followed mods - Modrinth', title: 'Followed Mods - Modrinth',
}, },
} }
</script> </script>

View File

@@ -6,12 +6,12 @@
<section class="essentials pad-maker"> <section class="essentials pad-maker">
<p> <p>
Revoking your Modrinth token can have unintended consequences. Please be Revoking your Modrinth token can have unintended consequences. Please be
wary, the following could break: aware that the following could break:
</p> </p>
<ul> <ul>
<li>Any application that uses your token to access the API.</li> <li>Any application that uses your token to access the API.</li>
<li> <li>
Gradle - if Minotaur is given a incorrect token, your gradle builds Gradle - if Minotaur is given a incorrect token, your Gradle builds
could fail. could fail.
</li> </li>
<li> <li>
@@ -35,10 +35,12 @@
header. header.
</li> </li>
</ol> </ol>
<p>Once you have completed the steps, press the continue button below.</p> <p>
Once you have completed those steps, press the continue button below.
</p>
<p> <p>
<strong> <strong>
This will log you out of Modrinth, however when you log back in your This will log you out of Modrinth, however, when you log back in, your
token will be regenerated. token will be regenerated.
</strong> </strong>
</p> </p>

View File

@@ -97,7 +97,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -2,12 +2,12 @@
<template> <template>
<div class="popup card"> <div class="popup card">
<div class="consent-container"> <div class="consent-container">
<div class="h1">Tweak your privacy settings</div> <div class="h1">Privacy settings</div>
<div> <div>
Modrinth relies on different providers and in-house tools to allow us to Modrinth relies on different providers and in-house tools to allow us to
provide custom-tailored experiences, and personalized advertising. You provide custom-tailored experiences and personalized advertising. You
can at any moment change your privacy settings by going to the setting can change your privacy settings at any time by going to this settings
page, or at the footer of any page. page, via the dashboard or via the footer of any page.
</div> </div>
<br class="divider" /> <br class="divider" />
<div class="toggles"> <div class="toggles">

View File

@@ -70,7 +70,7 @@ export default {
} }
}, },
head: { head: {
title: 'My mods - Modrinth', title: 'My Mods - Modrinth',
}, },
} }
</script> </script>

View File

@@ -6,7 +6,7 @@
title="Are you sure you want to delete your account?" title="Are you sure you want to delete your account?"
description="If you proceed, your user and all attached data will be removed from our description="If you proceed, your user and all attached data will be removed from our
servers. This cannot be reversed, so be careful!" servers. This cannot be reversed, so be careful!"
proceed-label="Delete Account" proceed-label="Delete account"
:confirmation-text="username" :confirmation-text="username"
:has-to-type="true" :has-to-type="true"
@proceed="deleteAccount" @proceed="deleteAccount"
@@ -19,8 +19,8 @@
<h3>Username</h3> <h3>Username</h3>
<label> <label>
<span> <span>
The username used on the Modrinth site to identify yourself. This must The username used on Modrinth to identify yourself. This must be
be unique. unique.
</span> </span>
<input <input
v-model="username" v-model="username"
@@ -40,7 +40,7 @@
<label> <label>
<span> <span>
The email for your account. This is private information which is not The email for your account. This is private information which is not
displayed in any API routes or your profile. It is also optional. exposed in any API routes or on your profile. It is also optional.
</span> </span>
<input v-model="email" type="email" placeholder="Enter your email" /> <input v-model="email" type="email" placeholder="Enter your email" />
</label> </label>
@@ -56,14 +56,15 @@
<h3>Theme</h3> <h3>Theme</h3>
<label> <label>
<span <span
>Change the global site theme of Modrinth. You can choose from light >Change the global site theme of Modrinth. You can choose between
mode and dark mode. You can switch it using this button or anywhere by light mode and dark mode. You can switch it using this button or
accessing the theme switcher in the navigation bar dropdown.</span anywhere by accessing the theme switcher in the navigation bar
dropdown.</span
> >
<input <input
type="button" type="button"
class="button pad-rem" class="button pad-rem"
value="Change Theme" value="Change theme"
@click="changeTheme" @click="changeTheme"
/> />
</label> </label>
@@ -72,36 +73,37 @@
<h3>Authorization token</h3> <h3>Authorization token</h3>
<label> <label>
<span> <span>
Your authorization token can be used with the Modrinth API and for the Your authorization token can be used with the Modrinth API, the
Minotaur Gradle plugin. However, it must be kept secret! Minotaur Gradle plugin, and other applications that interact with
Modrinth's API. Be sure to keep this secret!
</span> </span>
<input <input
type="button" type="button"
class="button pad-rem" class="button pad-rem"
value="Copy to Clipboard" value="Copy to clipboard"
@click="copyToken" @click="copyToken"
/> />
</label> </label>
<h3>Revoke your token</h3> <h3>Revoke your token</h3>
<label> <label>
<span <span
>Beware, this will log you out of Modrinth, and you will have to login >This will log you out of Modrinth, and you will have to log in again
again to access Modrinth with a new token.</span to access Modrinth with a new token.</span
> >
<input <input
type="button" type="button"
class="button" class="button"
value="Revoke Token" value="Revoke token"
@click="gotoRevoke" @click="gotoRevoke"
/> />
</label> </label>
<h3>Delete your account</h3> <h3>Delete your account</h3>
<label> <label>
<span <span
>Clicking on this WILL delete your user. Do not click on this unless >Clicking on this WILL delete your account. Do not click on this
you want your user deleted. If you delete your user, all attached data unless you want your account deleted. If you delete your account, all
will be removed from our servers. This cannot be reversed, so be attached data, including projects, will be removed from our servers.
careful!</span This cannot be reversed, so be careful!</span
> >
<input <input
value="Delete Account" value="Delete Account"
@@ -178,7 +180,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })
@@ -197,7 +199,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -16,7 +16,7 @@
<h3>Conveniently modern</h3> <h3>Conveniently modern</h3>
<h1>A redefined search interface</h1> <h1>A redefined search interface</h1>
<p> <p>
We implemented <span>fast and adaptable</span> search algorithms so We've implemented <span>fast and adaptable</span> search algorithms so
you don't have to wait, while creating a responsive interface that you don't have to wait, while creating a responsive interface that
makes sense. Modrinth is full of elegant mod discovery and a platform makes sense. Modrinth is full of elegant mod discovery and a platform
which just works. which just works.
@@ -147,8 +147,8 @@
<h3>Easy to implement</h3> <h3>Easy to implement</h3>
<h1>Backed by an open source API</h1> <h1>Backed by an open source API</h1>
<p> <p>
Modrinth's code is fully open source licensed under AGPL. We've Modrinth's code is fully open source, licensed under the GNU AGPL.
created a high peformant Rust based backend that is We've created a high-performance Rust-based backend that is
<span <span
><a href="https://github.com/modrinth/labrinth/wiki" ><a href="https://github.com/modrinth/labrinth/wiki"
>fully documented</a >fully documented</a

View File

@@ -30,14 +30,14 @@
<h3>Name</h3> <h3>Name</h3>
<label> <label>
<span> <span>
Be creative. TechCraft v7 won't be searchable and won't be clicked on Be creative. TechCraft v7 won't be searchable and won't be clicked on.
</span> </span>
<input v-model="mod.title" type="text" placeholder="Enter the name" /> <input v-model="mod.title" type="text" placeholder="Enter the name" />
</label> </label>
<h3>Summary</h3> <h3>Summary</h3>
<label> <label>
<span> <span>
Give a quick description to your mod. It will appear in the search Give a quick summary of your mod. This will appear in search.
</span> </span>
<input <input
v-model="mod.description" v-model="mod.description"
@@ -48,7 +48,7 @@
<h3>Categories</h3> <h3>Categories</h3>
<label> <label>
<span> <span>
Select up to 3 categories. They will help to find your mod Select up to 3 categories. These will help others find your mod.
</span> </span>
<multiselect <multiselect
id="categories" id="categories"
@@ -70,7 +70,7 @@
<h3>Vanity URL (slug)</h3> <h3>Vanity URL (slug)</h3>
<label> <label>
<span> <span>
Set this to something pretty, so URLs to your mod are more readable Set this to something pretty, so your mod's URL can be more readable.
</span> </span>
<input <input
id="name" id="name"
@@ -87,13 +87,13 @@
<file-input <file-input
accept="image/png,image/jpeg,image/gif,image/webp" accept="image/png,image/jpeg,image/gif,image/webp"
class="choose-image" class="choose-image"
prompt="Choose image or drag it here" prompt="Choose an image or drag it here"
@change="showPreviewImage" @change="showPreviewImage"
/> />
<ul class="row-grow-1"> <ul class="row-grow-1">
<li>Must be a square</li> <li>Must be a square</li>
<li>Minimum size is 100x100</li> <li>Minimum size is 100x100</li>
<li>Acceptable formats are PNG, JPEG, GIF and WEBP</li> <li>Acceptable formats are PNG, JPEG, GIF, and WEBP</li>
</ul> </ul>
<button <button
class="transparent-button" class="transparent-button"
@@ -122,9 +122,9 @@
<h3>Supported environments</h3> <h3>Supported environments</h3>
<div class="columns"> <div class="columns">
<span> <span>
Let others know if your mod is for clients, servers or universal. For Let others know if your mod is for clients, servers, or both. For
example, IC2 will be required + required, while OptiFine will be example, Lithium would be optional for both sides, whereas Sodium
required + no functionality would be required on the client and unsupported on the server.
</span> </span>
<div class="labeled-control"> <div class="labeled-control">
<h3>Client</h3> <h3>Client</h3>
@@ -156,14 +156,14 @@
<h3> <h3>
<label <label
for="body" for="body"
title="You can type the of the long form of your description here." title="You can type an extended description of your mod here."
> >
Description Description
</label> </label>
</h3> </h3>
<span> <span>
You can type the of the long form of your description here. This editor You can type an extended description of your mod here. This editor
supports markdown. You can find the syntax supports Markdown. Its syntax can be found
<a <a
href="https://guides.github.com/features/mastering-markdown/" href="https://guides.github.com/features/mastering-markdown/"
target="_blank" target="_blank"
@@ -192,7 +192,7 @@
placeholder="Enter a valid URL" placeholder="Enter a valid URL"
/> />
</label> </label>
<label title="A page/repository containing the source code"> <label title="A page/repository containing the source code for your mod.">
<span>Source code</span> <span>Source code</span>
<input <input
v-model="mod.source_url" v-model="mod.source_url"
@@ -210,7 +210,7 @@
placeholder="Enter a valid URL" placeholder="Enter a valid URL"
/> />
</label> </label>
<label title="An inivitation link to your Discord server."> <label title="An invitation link to your Discord server.">
<span>Discord invite</span> <span>Discord invite</span>
<input <input
v-model="mod.discord_url" v-model="mod.discord_url"
@@ -225,9 +225,18 @@
</div> </div>
<label> <label>
<span> <span>
It is really important to choose a proper license for your mod. You It is very important to choose a proper license for your mod. You may
may choose one from our list or provide a URL to your own license. URL choose one from our list or provide a URL to a custom license.
field will be filled automatically for provided licenses <br />
Confused? See our
<a
href="https://blog.modrinth.com/licensing-guide/"
target="_blank"
rel="noopener noreferrer"
>
licensing guide</a
>
for more information.
</span> </span>
<div class="input-group"> <div class="input-group">
<Multiselect <Multiselect
@@ -244,6 +253,7 @@
</div> </div>
</label> </label>
</section> </section>
<!--
<section class="donations"> <section class="donations">
<div class="title"> <div class="title">
<h3>Donation links</h3> <h3>Donation links</h3>
@@ -293,6 +303,7 @@
<hr /> <hr />
</div> </div>
</section> </section>
-->
</div> </div>
</template> </template>
@@ -459,7 +470,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })
@@ -669,4 +680,9 @@ section.donations {
.choose-image { .choose-image {
cursor: pointer; cursor: pointer;
} }
a {
text-decoration: underline;
color: var(--color-link);
}
</style> </style>

View File

@@ -14,7 +14,8 @@
<h3>Name</h3> <h3>Name</h3>
<label> <label>
<span> <span>
This is what users will see first. Will default to version number This is what users will see first. If not specified, this will
default to the version number.
</span> </span>
<input <input
v-model="createdVersion.version_title" v-model="createdVersion.version_title"
@@ -25,7 +26,7 @@
<h3>Number</h3> <h3>Number</h3>
<label> <label>
<span> <span>
That's how your version will appear in mod lists and in URLs This is how your version will appear in mod lists and URLs.
</span> </span>
<input <input
v-model="createdVersion.version_number" v-model="createdVersion.version_number"
@@ -36,8 +37,8 @@
<h3>Channel</h3> <h3>Channel</h3>
<label> <label>
<span> <span>
It is important to notify players and pack makers if the version is It is important to notify players and modpack makers whether the
stable version is stable or if it's still in development.
</span> </span>
<multiselect <multiselect
v-model="createdVersion.release_channel" v-model="createdVersion.release_channel"
@@ -49,11 +50,9 @@
:allow-empty="false" :allow-empty="false"
/> />
</label> </label>
<h3>Loaders</h3> <h3>Mod loaders</h3>
<label> <label>
<span> <span>Mark all mod loaders this version works with.</span>
Mark all loaders this version works with. It is essential for search
</span>
<multiselect <multiselect
v-model="createdVersion.loaders" v-model="createdVersion.loaders"
:options="selectableLoaders" :options="selectableLoaders"
@@ -69,12 +68,9 @@
placeholder="Choose loaders..." placeholder="Choose loaders..."
/> />
</label> </label>
<h3>Game versions</h3> <h3>Minecraft versions</h3>
<label> <label>
<span> <span>Mark all Minecraft versions this mod version supports.</span>
Mark all game version this version supports. It is essential for
search
</span>
<multiselect <multiselect
v-model="createdVersion.game_versions" v-model="createdVersion.game_versions"
:options="selectableVersions" :options="selectableVersions"
@@ -94,7 +90,7 @@
<label> <label>
<span> <span>
You should upload a single JAR file. However, you are allowed to You should upload a single JAR file. However, you are allowed to
upload multiple upload multiple.
</span> </span>
<FileInput <FileInput
accept="application/*" accept="application/*"
@@ -108,8 +104,8 @@
<h3>Changelog</h3> <h3>Changelog</h3>
<span> <span>
Tell players and modpack makers what's new. It supports the same Tell players and modpack makers what's new. It supports the same
markdown as description, but it is advisable not to be too creative Markdown as the description, but it is advised not to be too creative
with it in changelogs with the changelogs.
</span> </span>
<div class="textarea-wrapper"> <div class="textarea-wrapper">
<textarea v-model="createdVersion.version_body"></textarea> <textarea v-model="createdVersion.version_body"></textarea>
@@ -204,7 +200,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -6,31 +6,31 @@
description="If you proceed, all versions and any attached data will be removed from our servers. This may break other projects, so be careful." description="If you proceed, all versions and any attached data will be removed from our servers. This may break other projects, so be careful."
:has-to-type="true" :has-to-type="true"
:confirmation-text="mod.title" :confirmation-text="mod.title"
proceed-label="Delete Mod" proceed-label="Delete mod"
@proceed="deleteMod" @proceed="deleteMod"
/> />
<div class="section-header columns"> <div class="section-header columns">
<h3 class="column-grow-1">General</h3> <h3 class="column-grow-1">General</h3>
</div> </div>
<section> <section>
<h3>Edit Mod</h3> <h3>Edit mod</h3>
<label> <label>
<span> This leads you to a page where you can edit your mod. </span> <span>This leads you to a page where you can edit your mod.</span>
<nuxt-link class="button" to="edit">Edit</nuxt-link> <nuxt-link class="button" to="edit">Edit</nuxt-link>
</label> </label>
<h3>Create Version</h3> <h3>Create version</h3>
<label> <label>
<span> <span>
This leads to a page where you can create a version for your mod. This leads to a page where you can create a version for your mod.
</span> </span>
<nuxt-link class="button" to="newversion">Create Version</nuxt-link> <nuxt-link class="button" to="newversion">Create version</nuxt-link>
</label> </label>
<h3>Delete Mod</h3> <h3>Delete mod</h3>
<label> <label>
<span> <span>
Clicking on this WILL delete your mod. Do not click on this unless you Clicking on this WILL delete your mod. Do not click on this unless you
want your mod deleted. If you delete your mod, all versions and any want your mod deleted. If you delete your mod, all versions and any
attatched data will be removed from our servers. This may break other attached data will be removed from our servers. This may break other
projects, so be careful! projects, so be careful!
</span> </span>
<div <div
@@ -38,7 +38,7 @@
:disabled="(currentMember.permissions & DELETE_MOD) !== DELETE_MOD" :disabled="(currentMember.permissions & DELETE_MOD) !== DELETE_MOD"
@click="showPopup" @click="showPopup"
> >
Delete Mod Delete mod
</div> </div>
</label> </label>
</section> </section>
@@ -114,7 +114,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & UPLOAD_VERSION) !== UPLOAD_VERSION (currentMember.permissions & UPLOAD_VERSION) !== UPLOAD_VERSION
" "
label="Upload Version" label="Upload version"
@input="allMembers[index].permissions ^= UPLOAD_VERSION" @input="allMembers[index].permissions ^= UPLOAD_VERSION"
/> />
<Checkbox <Checkbox
@@ -127,7 +127,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & DELETE_VERSION) !== DELETE_VERSION (currentMember.permissions & DELETE_VERSION) !== DELETE_VERSION
" "
label="Delete Version" label="Delete version"
@input="allMembers[index].permissions ^= DELETE_VERSION" @input="allMembers[index].permissions ^= DELETE_VERSION"
/> />
<Checkbox <Checkbox
@@ -140,7 +140,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS (currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS
" "
label="Edit Details" label="Edit details"
@input="allMembers[index].permissions ^= EDIT_DETAILS" @input="allMembers[index].permissions ^= EDIT_DETAILS"
/> />
<Checkbox <Checkbox
@@ -153,7 +153,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & EDIT_BODY) !== EDIT_BODY (currentMember.permissions & EDIT_BODY) !== EDIT_BODY
" "
label="Edit Body" label="Edit body"
@input="allMembers[index].permissions ^= EDIT_BODY" @input="allMembers[index].permissions ^= EDIT_BODY"
/> />
<Checkbox <Checkbox
@@ -166,7 +166,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & MANAGE_INVITES) !== MANAGE_INVITES (currentMember.permissions & MANAGE_INVITES) !== MANAGE_INVITES
" "
label="Manage Invites" label="Manage invites"
@input="allMembers[index].permissions ^= MANAGE_INVITES" @input="allMembers[index].permissions ^= MANAGE_INVITES"
/> />
<Checkbox <Checkbox
@@ -179,7 +179,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & REMOVE_MEMBER) !== REMOVE_MEMBER (currentMember.permissions & REMOVE_MEMBER) !== REMOVE_MEMBER
" "
label="Remove Member" label="Remove member"
@input="allMembers[index].permissions ^= REMOVE_MEMBER" @input="allMembers[index].permissions ^= REMOVE_MEMBER"
/> />
<Checkbox <Checkbox
@@ -191,7 +191,7 @@
member.role === 'Owner' || member.role === 'Owner' ||
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER
" "
label="Edit Member" label="Edit member"
@input="allMembers[index].permissions ^= EDIT_MEMBER" @input="allMembers[index].permissions ^= EDIT_MEMBER"
/> />
<Checkbox <Checkbox
@@ -204,7 +204,7 @@
(currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER || (currentMember.permissions & EDIT_MEMBER) !== EDIT_MEMBER ||
(currentMember.permissions & DELETE_MOD) !== DELETE_MOD (currentMember.permissions & DELETE_MOD) !== DELETE_MOD
" "
label="Delete Mod" label="Delete mod"
@input="allMembers[index].permissions ^= DELETE_MOD" @input="allMembers[index].permissions ^= DELETE_MOD"
/> />
</div> </div>
@@ -216,7 +216,7 @@
" "
@click="removeTeamMember(index)" @click="removeTeamMember(index)"
> >
Remove Member Remove member
</button> </button>
<button <button
:disabled=" :disabled="
@@ -225,7 +225,7 @@
" "
@click="updateTeamMember(index)" @click="updateTeamMember(index)"
> >
Save Changes Save changes
</button> </button>
</div> </div>
</div> </div>
@@ -300,7 +300,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })
@@ -320,7 +320,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })
@@ -346,7 +346,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })
@@ -362,7 +362,7 @@ export default {
await this.$router.push('/dashboard/projects') await this.$router.push('/dashboard/projects')
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'Action Success', title: 'Action success',
text: 'Your mod has been successfully deleted.', text: 'Your mod has been successfully deleted.',
type: 'success', type: 'success',
}) })

View File

@@ -10,7 +10,8 @@
<h3>Name</h3> <h3>Name</h3>
<label> <label>
<span> <span>
This is what users will see first. Will default to version number This is what users will see first. If not specified, this will
default to the version number.
</span> </span>
<input <input
v-model="version.name" v-model="version.name"
@@ -21,7 +22,7 @@
<h3>Number</h3> <h3>Number</h3>
<label> <label>
<span> <span>
That's how your version will appear in mod lists and in URLs This is how your version will appear in mod lists and URLs.
</span> </span>
<input <input
v-model="version.version_number" v-model="version.version_number"
@@ -32,8 +33,8 @@
<h3>Channel</h3> <h3>Channel</h3>
<label> <label>
<span> <span>
It is important to notify players and pack makers if the version is It is important to notify players and modpack makers whether the
stable version is stable or if it's still in development.
</span> </span>
<multiselect <multiselect
v-model="version.version_type" v-model="version.version_type"
@@ -45,11 +46,9 @@
:allow-empty="false" :allow-empty="false"
/> />
</label> </label>
<h3>Loaders</h3> <h3>Mod loaders</h3>
<label> <label>
<span> <span>Mark all mod loaders this version works with.</span>
Mark all loaders this version works with. It is essential for search
</span>
<multiselect <multiselect
v-model="version.loaders" v-model="version.loaders"
:options="selectableLoaders" :options="selectableLoaders"
@@ -65,12 +64,9 @@
placeholder="Choose loaders..." placeholder="Choose loaders..."
/> />
</label> </label>
<h3>Game versions</h3> <h3>Minecraft versions</h3>
<label> <label>
<span> <span>Mark all Minecraft versions this mod version supports.</span>
Mark all game version this version supports. It is essential for
search
</span>
<multiselect <multiselect
v-model="version.game_versions" v-model="version.game_versions"
:options="selectableVersions" :options="selectableVersions"
@@ -91,8 +87,8 @@
<h3>Changelog</h3> <h3>Changelog</h3>
<span> <span>
Tell players and modpack makers what's new. It supports the same Tell players and modpack makers what's new. It supports the same
markdown as description, but it is advisable not to be too creative Markdown as the description, but it is advised not to be too creative
with it in changelogs with the changelogs.
</span> </span>
<div class="textarea-wrapper"> <div class="textarea-wrapper">
<textarea v-model="version.changelog"></textarea> <textarea v-model="version.changelog"></textarea>
@@ -196,7 +192,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -5,7 +5,7 @@
title="Are you sure you want to delete this file?" title="Are you sure you want to delete this file?"
description="This will remove this file forever (like really forever)" description="This will remove this file forever (like really forever)"
:has-to-type="false" :has-to-type="false"
proceed-label="Delete File" proceed-label="Delete file"
@proceed="deleteFile(popup_data)" @proceed="deleteFile(popup_data)"
/> />
<ConfirmPopup <ConfirmPopup
@@ -13,7 +13,7 @@
title="Are you sure you want to delete this version?" title="Are you sure you want to delete this version?"
description="This will remove this version forever (like really forever), and if some mods depends on this version, it won't work anymore." description="This will remove this version forever (like really forever), and if some mods depends on this version, it won't work anymore."
:has-to-type="false" :has-to-type="false"
proceed-label="Delete Version" proceed-label="Delete version"
@proceed="deleteVersion()" @proceed="deleteVersion()"
/> />
<div class="version"> <div class="version">
@@ -97,7 +97,7 @@
<div class="stat"> <div class="stat">
<TagIcon /> <TagIcon />
<div class="info"> <div class="info">
<h4>Available For</h4> <h4>Available for</h4>
<p class="value"> <p class="value">
{{ {{
version.game_versions ? version.game_versions.join(', ') : '' version.game_versions ? version.game_versions.join(', ') : ''
@@ -116,10 +116,10 @@
<p>{{ file.filename }}</p> <p>{{ file.filename }}</p>
<div v-if="currentMember" class="actions"> <div v-if="currentMember" class="actions">
<button @click="deleteFilePopup(file.hashes.sha1)"> <button @click="deleteFilePopup(file.hashes.sha1)">
Delete File Delete file
</button> </button>
<button @click="makePrimary(file.hashes.sha1)"> <button @click="makePrimary(file.hashes.sha1)">
Make Primary Make primary
</button> </button>
</div> </div>
</div> </div>
@@ -280,7 +280,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -25,14 +25,14 @@
<label> <label>
<span> <span>
Be creative. TechCraft v7 won't be searchable and won't be clicked Be creative. TechCraft v7 won't be searchable and won't be clicked
on on.
</span> </span>
<input v-model="name" type="text" placeholder="Enter the name" /> <input v-model="name" type="text" placeholder="Enter the name" />
</label> </label>
<h3>Summary</h3> <h3>Summary</h3>
<label> <label>
<span> <span>
Give a quick description to your mod. It will appear in the search Give a quick summary of your mod. This will appear in search.
</span> </span>
<input <input
v-model="description" v-model="description"
@@ -43,7 +43,7 @@
<h3>Categories</h3> <h3>Categories</h3>
<label> <label>
<span> <span>
Select up to 3 categories. They will help to find your mod Select up to 3 categories. These will help others find your mod.
</span> </span>
<multiselect <multiselect
id="categories" id="categories"
@@ -65,7 +65,8 @@
<h3>Vanity URL (slug)</h3> <h3>Vanity URL (slug)</h3>
<label> <label>
<span> <span>
Set this to something pretty, so URLs to your mod are more readable Set this to something pretty, so your mod's URL can be more
readable.
</span> </span>
<input <input
id="name" id="name"
@@ -82,13 +83,13 @@
<file-input <file-input
accept="image/png,image/jpeg,image/gif,image/webp" accept="image/png,image/jpeg,image/gif,image/webp"
class="choose-image" class="choose-image"
prompt="Choose image or drag it here" prompt="Choose an image or drag it here"
@change="showPreviewImage" @change="showPreviewImage"
/> />
<ul class="row-grow-1"> <ul class="row-grow-1">
<li>Must be a square</li> <li>Must be a square</li>
<li>Minimum size is 100x100</li> <li>Minimum size is 100x100</li>
<li>Acceptable formats are PNG, JPEG, GIF and WEBP</li> <li>Acceptable formats are PNG, JPEG, GIF, and WEBP</li>
</ul> </ul>
<button <button
class="transparent-button" class="transparent-button"
@@ -114,9 +115,9 @@
<h3>Supported environments</h3> <h3>Supported environments</h3>
<div class="columns"> <div class="columns">
<span> <span>
Let others know if your mod is for clients, servers or universal. Let others know if your mod is for clients, servers, or both. For
For example, IC2 will be required + required, while OptiFine will be example, Lithium would be optional for both sides, whereas Sodium
required + no functionality would be required on the client and unsupported on the server.
</span> </span>
<div class="labeled-control"> <div class="labeled-control">
<h3>Client</h3> <h3>Client</h3>
@@ -148,22 +149,21 @@
<h3> <h3>
<label <label
for="body" for="body"
title="You can type the of the long form of your description here." title="You can type an extended description of your mod here."
> >
Body Body
</label> </label>
</h3> </h3>
<span> <span>
You can type the of the long form of your description here. This You can type an extended description of your mod here. This editor
editor supports markdown. You can find the syntax supports Markdown. Its syntax can be found
<a <a
class=""
href="https://guides.github.com/features/mastering-markdown/" href="https://guides.github.com/features/mastering-markdown/"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
>here</a >here</a
>. HTML can also be used inside your description, excluding scripts >. HTML can also be used within your description, with the exception
and iframes. of scripts and iframes.
</span> </span>
<div class="columns"> <div class="columns">
<div class="textarea-wrapper"> <div class="textarea-wrapper">
@@ -174,7 +174,7 @@
</section> </section>
<section class="versions"> <section class="versions">
<div class="title"> <div class="title">
<h3>Upload Versions</h3> <h3>Upload versions</h3>
<button <button
title="Add a version" title="Add a version"
class="button" class="button"
@@ -268,8 +268,8 @@
<h3>Name</h3> <h3>Name</h3>
<label> <label>
<span> <span>
This is what users will see first. Will default to version This is what users will see first. If not specified, this will
number default to the version number.
</span> </span>
<input <input
v-model="versions[currentVersionIndex].version_title" v-model="versions[currentVersionIndex].version_title"
@@ -280,7 +280,7 @@
<h3>Number</h3> <h3>Number</h3>
<label> <label>
<span> <span>
That's how your version will appear in mod lists and in URLs This is how your version will appear in mod lists and URLs.
</span> </span>
<input <input
v-model="versions[currentVersionIndex].version_number" v-model="versions[currentVersionIndex].version_number"
@@ -291,8 +291,8 @@
<h3>Channel</h3> <h3>Channel</h3>
<label> <label>
<span> <span>
It is important to notify players and pack makers if the version It is important to notify players and modpack makers whether the
is stable version is stable or if it's still in development.
</span> </span>
<multiselect <multiselect
v-model="versions[currentVersionIndex].release_channel" v-model="versions[currentVersionIndex].release_channel"
@@ -304,12 +304,9 @@
:allow-empty="false" :allow-empty="false"
/> />
</label> </label>
<h3>Loaders</h3> <h3>Mod loaders</h3>
<label> <label>
<span> <span>Mark all mod loaders this version works with.</span>
Mark all loaders this version works with. It is essential for
search
</span>
<multiselect <multiselect
v-model="versions[currentVersionIndex].loaders" v-model="versions[currentVersionIndex].loaders"
:options="availableLoaders" :options="availableLoaders"
@@ -325,11 +322,10 @@
placeholder="Choose loaders..." placeholder="Choose loaders..."
/> />
</label> </label>
<h3>Game versions</h3> <h3>Minecraft versions</h3>
<label> <label>
<span> <span>
Mark all game version this version supports. It is essential for Mark all Minecraft versions this mod version supports.
search
</span> </span>
<multiselect <multiselect
v-model="versions[currentVersionIndex].game_versions" v-model="versions[currentVersionIndex].game_versions"
@@ -350,7 +346,7 @@
<label> <label>
<span> <span>
You should upload a single JAR file. However, you are allowed to You should upload a single JAR file. However, you are allowed to
upload multiple upload multiple.
</span> </span>
<FileInput <FileInput
accept="application/*" accept="application/*"
@@ -364,8 +360,8 @@
<h3>Changelog</h3> <h3>Changelog</h3>
<span> <span>
Tell players and modpack makers what's new. It supports the same Tell players and modpack makers what's new. It supports the same
markdown as description, but it is advisable not to be too Markdown as the description, but it is recommended not to be too
creative with it in changelogs creative with the changelogs.
</span> </span>
<div class="textarea-wrapper"> <div class="textarea-wrapper">
<textarea <textarea
@@ -390,7 +386,9 @@
placeholder="Enter a valid URL" placeholder="Enter a valid URL"
/> />
</label> </label>
<label title="A page/repository containing the source code"> <label
title="A page/repository containing the source code for your mod."
>
<span>Source code</span> <span>Source code</span>
<input <input
v-model="source_url" v-model="source_url"
@@ -408,7 +406,7 @@
placeholder="Enter a valid URL" placeholder="Enter a valid URL"
/> />
</label> </label>
<label title="An inivitation link to your Discord server."> <label title="An invitation link to your Discord server.">
<span>Discord invite</span> <span>Discord invite</span>
<input <input
v-model="discord_url" v-model="discord_url"
@@ -424,9 +422,18 @@
</div> </div>
<label> <label>
<span> <span>
It is really important to choose a proper license for your mod. You It is very important to choose a proper license for your mod. You
may choose one from our list or provide a URL to your own license. may choose one from our list or provide a URL to a custom license.
URL field will be filled automatically for provided licenses <br />
Confused? See our
<a
href="https://blog.modrinth.com/licensing-guide/"
target="_blank"
rel="noopener noreferrer"
>
licensing guide</a
>
for more information.
</span> </span>
<div class="input-group"> <div class="input-group">
<Multiselect <Multiselect
@@ -443,6 +450,7 @@
</div> </div>
</label> </label>
</section> </section>
<!--
<section class="donations"> <section class="donations">
<div class="title"> <div class="title">
<h3>Donation links</h3> <h3>Donation links</h3>
@@ -493,6 +501,7 @@
<hr /> <hr />
</div> </div>
</section> </section>
-->
<m-footer class="footer" centered /> <m-footer class="footer" centered />
</div> </div>
</div> </div>
@@ -673,7 +682,7 @@ export default {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: description, text: description,
type: 'error', type: 'error',
}) })
@@ -848,10 +857,6 @@ section.game-sides {
section.description { section.description {
grid-area: description; grid-area: description;
span a {
text-decoration: underline;
}
& > .columns { & > .columns {
align-items: stretch; align-items: stretch;
min-height: 10rem; min-height: 10rem;
@@ -1015,4 +1020,9 @@ section.donations {
.choose-image { .choose-image {
cursor: pointer; cursor: pointer;
} }
a {
text-decoration: underline;
color: var(--color-link);
}
</style> </style>

View File

@@ -195,7 +195,7 @@
</SearchFilter> </SearchFilter>
<SearchFilter <SearchFilter
:active-filters="facets" :active-filters="facets"
display-name="World Generation" display-name="World generation"
facet-name="categories:worldgen" facet-name="categories:worldgen"
@toggle="toggleFacet" @toggle="toggleFacet"
> >
@@ -267,7 +267,7 @@
> >
<ServerSide /> <ServerSide />
</SearchFilter> </SearchFilter>
<h3>Minecraft Versions</h3> <h3>Minecraft versions</h3>
<Checkbox <Checkbox
v-model="showSnapshots" v-model="showSnapshots"
label="Include snapshots" label="Include snapshots"
@@ -276,7 +276,7 @@
@input="reloadVersions" @input="reloadVersions"
/> />
</section> </section>
<multiselect <Multiselect
v-model="selectedVersions" v-model="selectedVersions"
:options="versions" :options="versions"
:loading="versions.length === 0" :loading="versions.length === 0"
@@ -290,7 +290,7 @@
:hide-selected="true" :hide-selected="true"
placeholder="Choose versions..." placeholder="Choose versions..."
@input="onSearchChange(1)" @input="onSearchChange(1)"
></multiselect> ></Multiselect>
<h3>Licenses</h3> <h3>Licenses</h3>
<Multiselect <Multiselect
v-model="displayLicense" v-model="displayLicense"

View File

@@ -20,11 +20,11 @@
mod would be its mod ID, found on the right side of that mod's page mod would be its mod ID, found on the right side of that mod's page
under "Project ID". under "Project ID".
</span> </span>
<input v-model="itemId" type="text" placeholder="Enter the Item ID" /> <input v-model="itemId" type="text" placeholder="Enter the item ID" />
</label> </label>
<h3>Item Type</h3> <h3>Item type</h3>
<label> <label>
<span> The type of the item that is being reported </span> <span>The type of the item that is being reported.</span>
<multiselect <multiselect
id="item-type" id="item-type"
v-model="itemType" v-model="itemType"
@@ -36,7 +36,7 @@
placeholder="Choose item type" placeholder="Choose item type"
/> />
</label> </label>
<h3>Report Type</h3> <h3>Report type</h3>
<label> <label>
<span> <span>
The type of report. This is the category that this report falls The type of report. This is the category that this report falls
@@ -130,7 +130,7 @@ export default {
} catch (err) { } catch (err) {
this.$notify({ this.$notify({
group: 'main', group: 'main',
title: 'An Error Occurred', title: 'An error occurred',
text: err.response.data.description, text: err.response.data.description,
type: 'error', type: 'error',
}) })

View File

@@ -1,18 +1,17 @@
export default { export default {
settings: { settings: {
ads: { ads: {
title: 'Allow personalized ads', title: 'Personalized ads',
description: `Marketing/target cookies are usually used to show you advertisements that meet your interests. description: `Marketing and target cookies are usually used to show you advertisements that meet your interests.
When you visit another website, your browser's cookie is recognized and selected ads are displayed to you When you visit another website, your browser's cookie is recognized and selected ads are displayed to you based
based on the information stored in this cookie.`, on the information stored in this cookie.`,
default: true, default: true,
}, },
analytics: { analytics: {
title: 'Analytics', title: 'Analytics',
description: `Modrinth uses in-house tools that allows us to get insights on how description: `Modrinth uses in-house tools that allow us to get insights into how each user is using the platform
each user is using the platform, to improve the experience for in order to improve the experience for everyone.\n By enabling this toggle, you allow us to gather information
everyone.\n By enabling this toggle, you allow us to get information across requests, across requests. Disabling this toggle will simply remove all PII from now on.`,
disabling it will just remove all PII from now on.`,
default: true, default: true,
}, },
}, },