You've already forked AstralRinth
forked from didirus/AstralRinth
Fix errors with intl extraction, extract error.vue (#3421)
* Fix errors with intl extraction, extract error.vue * Update changelog and fix lint
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"postinstall": "nuxi prepare",
|
||||
"lint": "eslint . && prettier --check .",
|
||||
"fix": "eslint . --fix && prettier --write .",
|
||||
"intl:extract": "formatjs extract \"{,src/components,src/composables,src/layouts,src/middleware,src/modules,src/pages,src/plugins,src/utils}/**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" --ignore '**/*.d.ts' --ignore 'node_modules' --out-file src/locales/en-US/index.json --format crowdin --preserve-whitespace"
|
||||
"intl:extract": "formatjs extract \"{,src/components,src/composables,src/layouts,src/middleware,src/modules,src/pages,src/plugins,src/utils}/**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" \"src/error.vue\" --ignore '**/*.d.ts' --ignore 'node_modules' --out-file src/locales/en-US/index.json --format crowdin --preserve-whitespace"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@formatjs/cli": "^6.2.12",
|
||||
|
||||
@@ -155,9 +155,11 @@
|
||||
class="w-full"
|
||||
:disabled="gameVersions.length < 2 && platforms.length < 2"
|
||||
@click="
|
||||
versionFilter = !versionFilter;
|
||||
setInitialFilters();
|
||||
updateFiltersToUi();
|
||||
() => {
|
||||
versionFilter = !versionFilter;
|
||||
setInitialFilters();
|
||||
updateFiltersToUi();
|
||||
}
|
||||
"
|
||||
>
|
||||
<LockOpenIcon />
|
||||
|
||||
@@ -105,10 +105,12 @@
|
||||
<button
|
||||
:disabled="isLoading"
|
||||
@click="
|
||||
if (isMrpackModalSecondPhase) {
|
||||
isMrpackModalSecondPhase = false;
|
||||
} else {
|
||||
hide();
|
||||
() => {
|
||||
if (isMrpackModalSecondPhase) {
|
||||
isMrpackModalSecondPhase = false;
|
||||
} else {
|
||||
hide();
|
||||
}
|
||||
}
|
||||
"
|
||||
>
|
||||
|
||||
@@ -173,10 +173,12 @@
|
||||
<button
|
||||
:disabled="isLoading"
|
||||
@click="
|
||||
if (isSecondPhase) {
|
||||
isSecondPhase = false;
|
||||
} else {
|
||||
hide();
|
||||
() => {
|
||||
if (isSecondPhase) {
|
||||
isSecondPhase = false;
|
||||
} else {
|
||||
hide();
|
||||
}
|
||||
}
|
||||
"
|
||||
>
|
||||
|
||||
@@ -239,6 +239,87 @@
|
||||
"dashboard.collections.long-title": {
|
||||
"message": "Your collections"
|
||||
},
|
||||
"error.collection.404.list_item.1": {
|
||||
"message": "You may have mistyped the collection's URL."
|
||||
},
|
||||
"error.collection.404.list_item.2": {
|
||||
"message": "The collection may be private."
|
||||
},
|
||||
"error.collection.404.list_item.3": {
|
||||
"message": "The collection may have been taken down by Modrinth's moderation team for violating our <tou-link>Terms of Use</tou-link>."
|
||||
},
|
||||
"error.collection.404.list_title": {
|
||||
"message": "Why?"
|
||||
},
|
||||
"error.collection.404.title": {
|
||||
"message": "Collection not found"
|
||||
},
|
||||
"error.generic.404.subtitle": {
|
||||
"message": "The page you were looking for doesn't seem to exist."
|
||||
},
|
||||
"error.generic.404.title": {
|
||||
"message": "Page not found"
|
||||
},
|
||||
"error.generic.default.list_item.1": {
|
||||
"message": "Check if Modrinth is down on our <status-link>Status page</status-link>."
|
||||
},
|
||||
"error.generic.default.list_item.2": {
|
||||
"message": "If this keeps happening, you may want to let the Modrinth Team know by joining our <discord-link>Discord server</discord-link>."
|
||||
},
|
||||
"error.generic.default.list_title": {
|
||||
"message": "Please try again in a few minutes."
|
||||
},
|
||||
"error.generic.default.subtitle": {
|
||||
"message": "Something went wrong."
|
||||
},
|
||||
"error.generic.default.title": {
|
||||
"message": "Uh oh!"
|
||||
},
|
||||
"error.organization.404.list_item.1": {
|
||||
"message": "You may have mistyped the organization's URL."
|
||||
},
|
||||
"error.organization.404.list_item.2": {
|
||||
"message": "The organization's owner may have changed the URL or deleted it."
|
||||
},
|
||||
"error.organization.404.list_item.3": {
|
||||
"message": "The organization may have been removed by Modrinth's moderation team for violating our <tou-link>Terms of Use</tou-link>."
|
||||
},
|
||||
"error.organization.404.list_title": {
|
||||
"message": "Why?"
|
||||
},
|
||||
"error.organization.404.title": {
|
||||
"message": "Organization not found"
|
||||
},
|
||||
"error.project.404.list_item.1": {
|
||||
"message": "You may have mistyped the project's URL."
|
||||
},
|
||||
"error.project.404.list_item.2": {
|
||||
"message": "The project's owner may have changed the URL, made the project private, or deleted it."
|
||||
},
|
||||
"error.project.404.list_item.3": {
|
||||
"message": "The project may have been taken down by Modrinth's moderation team for violating our <tou-link>Terms of Use</tou-link>."
|
||||
},
|
||||
"error.project.404.list_title": {
|
||||
"message": "Why?"
|
||||
},
|
||||
"error.project.404.title": {
|
||||
"message": "Project not found"
|
||||
},
|
||||
"error.user.404.list_item.1": {
|
||||
"message": "You may have mistyped the user's username."
|
||||
},
|
||||
"error.user.404.list_item.2": {
|
||||
"message": "The user may have changed their username or deleted their account."
|
||||
},
|
||||
"error.user.404.list_item.3": {
|
||||
"message": "The user's account may have been terminated for violating Modrinth's <tou-link>Terms of Use</tou-link>."
|
||||
},
|
||||
"error.user.404.list_title": {
|
||||
"message": "Why?"
|
||||
},
|
||||
"error.user.404.title": {
|
||||
"message": "User not found"
|
||||
},
|
||||
"frog": {
|
||||
"message": "You've been frogged! 🐸"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user