requested changes.

This commit is contained in:
piuvas 2025-07-16 12:43:35 -03:00
parent 1696e31797
commit c97fafa071
No known key found for this signature in database
6 changed files with 5 additions and 6 deletions

2
locales/index.d.ts vendored
View file

@ -6418,7 +6418,7 @@ export interface Locale extends ILocale {
*/
"aboutInstance": string;
/**
* A longer description that will be displayed in the 'Instance Information' page. Supports HTML.
* A longer description that will be displayed in the 'Instance Information' page, going in place of the regular instance description. Supports HTML.
*/
"aboutInstanceDescription": string;
};

View file

@ -3,7 +3,6 @@ export class SplitDescriptions1752607599852 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD COLUMN "about" TEXT`);
await queryRunner.query(`UPDATE "meta" SET "about" = "description"`);
}
async down(queryRunner) {

View file

@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-html="sanitizeHtml(instance.description) || i18n.ts.headlineMisskey"></div>
</div>
<div v-if="instance.description !== instance.about" :class=$style.showMore>
<div v-if="instance.about && instance.description !== instance.about" :class=$style.showMore>
<p><a href="/about">{{ i18n.ts.showMore }}</a></p>
</div>
<div v-if="instance.disableRegistration || instance.federation !== 'all'" :class="$style.mainWarn" class="_gaps_s">

View file

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkKeyValue>
<template #key>{{ i18n.ts.about }}</template>
<template #value><div v-html="sanitizeHtml(instance.about)"></div></template>
<template #value><div v-html="sanitizeHtml(instance.about || instance.description)"></div></template>
</MkKeyValue>
<FormSection>

View file

@ -217,7 +217,7 @@ _serverSettings:
inquiryUrl: "Contact URL"
inquiryUrlDescription: "Specify the URL of a web page that contains a contact form or the instance operators' contact information."
aboutInstance: "About instance"
aboutInstanceDescription: "A longer description that will be displayed in the 'Instance Information' page. Supports HTML."
aboutInstanceDescription: "A longer description that will be displayed in the 'Instance Information' page, going in place of the regular instance description. Supports HTML."
_accountMigration:
moveAccountDescription: "This will migrate your account to a different one.\n ・Followers from this account will automatically be migrated to the new account\n ・This account will unfollow all users it is currently following\n ・You will be unable to create new notes etc. on this account\n\nWhile migration of followers is automatic, you must manually prepare some steps to migrate the list of users you are following. To do so, carry out a follows export that you will later import on the new account in the settings menu. The same procedure applies to your lists as well as your muted and blocked users.\n\n(This explanation applies to Sharkey v13.12.0 and later. Other ActivityPub software, such as Mastodon, might function differently.)"
_achievements:

View file

@ -12,4 +12,4 @@ attributionDomainsDescription: "Uma lista de domínios cujo conteúdo pode ser a
writtenBy: "Escrito por {user}"
_serverSettings:
aboutInstance: "Sobre a instância"
aboutInstanceDescription: "Uma descrição maior que irá aparecer na página 'Informações da Instância'. Aceita HTML."
aboutInstanceDescription: "Uma descrição maior que irá aparecer na página 'Informações da Instância', substituindo a descrição da instância. Aceita HTML."