mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 11:45:12 +00:00
Switch source code bits
This commit is contained in:
parent
27ea1b7133
commit
c9940b7359
7 changed files with 66 additions and 36 deletions
|
@ -1026,6 +1026,7 @@ remindMeLater: "Maybe later"
|
||||||
didYouLikeMisskey: "Have you taken a liking to Sharkey?"
|
didYouLikeMisskey: "Have you taken a liking to Sharkey?"
|
||||||
pleaseDonate: "{host} uses the free software, Sharkey. We would highly appreciate your donations so development of Sharkey can continue!"
|
pleaseDonate: "{host} uses the free software, Sharkey. We would highly appreciate your donations so development of Sharkey can continue!"
|
||||||
pleaseDonateInstance: "You can also support {host} directly by donating to your instance administration."
|
pleaseDonateInstance: "You can also support {host} directly by donating to your instance administration."
|
||||||
|
correspondingSourceIsAvailable: "The corresponding source code is available from {anchor}."
|
||||||
roles: "Roles"
|
roles: "Roles"
|
||||||
role: "Role"
|
role: "Role"
|
||||||
noRole: "Role not found"
|
noRole: "Role not found"
|
||||||
|
@ -1214,6 +1215,12 @@ confirmShowRepliesAll: "This operation is irreversible. Would you really like to
|
||||||
confirmHideRepliesAll: "This operation is irreversible. Would you really like to hide replies to others from everyone you follow in your timeline?"
|
confirmHideRepliesAll: "This operation is irreversible. Would you really like to hide replies to others from everyone you follow in your timeline?"
|
||||||
externalServices: "External Services"
|
externalServices: "External Services"
|
||||||
sourceCode: "Source code"
|
sourceCode: "Source code"
|
||||||
|
sourceCodeIsNotYetProvided: "The source code is not yet available. Please contact your administrator to fix this issue."
|
||||||
|
repositoryUrl: "Repository URL"
|
||||||
|
repositoryUrlDescription: "If there is a repository where the source code is publicly available, enter its URL. If you are using Sharkey as-is (without any changes to the source code), enter https://activitypub.software/TransFem-org/Sharkey/."
|
||||||
|
repositoryUrlOrTarballRequired: "If you don't have a public repository, you'll need to provide a tarball instead. See .config/example.yml for details."
|
||||||
|
feedback: "Feedback"
|
||||||
|
feedbackUrl: "Feedback URL"
|
||||||
impressum: "Impressum"
|
impressum: "Impressum"
|
||||||
impressumUrl: "Impressum URL"
|
impressumUrl: "Impressum URL"
|
||||||
impressumDescription: "In some countries, like germany, the inclusion of operator contact information (an Impressum) is legally required for commercial websites."
|
impressumDescription: "In some countries, like germany, the inclusion of operator contact information (an Impressum) is legally required for commercial websites."
|
||||||
|
@ -1808,8 +1815,12 @@ _aboutMisskey:
|
||||||
contributors: "Main contributors"
|
contributors: "Main contributors"
|
||||||
allContributors: "All contributors"
|
allContributors: "All contributors"
|
||||||
source: "Source code"
|
source: "Source code"
|
||||||
|
original: "Misskey original"
|
||||||
|
original_sharkey: "Sharkey original"
|
||||||
|
thisIsModifiedVersion: "{name} uses a modified version of the original Sharkey"
|
||||||
translation: "Translate Sharkey"
|
translation: "Translate Sharkey"
|
||||||
donate: "Donate to Sharkey"
|
donate: "Donate to Misskey"
|
||||||
|
donate_sharkey: "Donate to Sharkey"
|
||||||
morePatrons: "We also appreciate the support of many other helpers not listed here. Thank you! 🥰"
|
morePatrons: "We also appreciate the support of many other helpers not listed here. Thank you! 🥰"
|
||||||
patrons: "Patrons"
|
patrons: "Patrons"
|
||||||
projectMembers: "Project members"
|
projectMembers: "Project members"
|
||||||
|
|
16
locales/index.d.ts
vendored
16
locales/index.d.ts
vendored
|
@ -7059,11 +7059,15 @@ export interface Locale extends ILocale {
|
||||||
*/
|
*/
|
||||||
"source": string;
|
"source": string;
|
||||||
/**
|
/**
|
||||||
* オリジナル
|
* Misskey オリジナル
|
||||||
*/
|
*/
|
||||||
"original": string;
|
"original": string;
|
||||||
/**
|
/**
|
||||||
* {name}はオリジナルのMisskeyを改変したバージョンを使用しています。
|
* Sharkey オリジナル
|
||||||
|
*/
|
||||||
|
"original_sharkey": string;
|
||||||
|
/**
|
||||||
|
* {name}はオリジナルのSharkeyを改変したバージョンを使用しています。
|
||||||
*/
|
*/
|
||||||
"thisIsModifiedVersion": ParameterizedString<"name">;
|
"thisIsModifiedVersion": ParameterizedString<"name">;
|
||||||
/**
|
/**
|
||||||
|
@ -7071,9 +7075,13 @@ export interface Locale extends ILocale {
|
||||||
*/
|
*/
|
||||||
"translation": string;
|
"translation": string;
|
||||||
/**
|
/**
|
||||||
* Sharkeyに寄付
|
* Misskeyに寄付
|
||||||
*/
|
*/
|
||||||
"donate": string;
|
"donate": string;
|
||||||
|
/**
|
||||||
|
* Sharkeyに寄付
|
||||||
|
*/
|
||||||
|
"donate_sharkey": string;
|
||||||
/**
|
/**
|
||||||
* 他にも多くの方が支援してくれています。ありがとうございます🥰
|
* 他にも多くの方が支援してくれています。ありがとうございます🥰
|
||||||
*/
|
*/
|
||||||
|
@ -9049,7 +9057,7 @@ export interface Locale extends ILocale {
|
||||||
*/
|
*/
|
||||||
"pollEnded": string;
|
"pollEnded": string;
|
||||||
/**
|
/**
|
||||||
* 注記が編集されました
|
* 投稿が編集されました
|
||||||
*/
|
*/
|
||||||
"edited": string;
|
"edited": string;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1839,10 +1839,12 @@ _aboutMisskey:
|
||||||
contributors: "主なコントリビューター"
|
contributors: "主なコントリビューター"
|
||||||
allContributors: "全てのコントリビューター"
|
allContributors: "全てのコントリビューター"
|
||||||
source: "ソースコード"
|
source: "ソースコード"
|
||||||
original: "オリジナル"
|
original: "Misskey オリジナル"
|
||||||
thisIsModifiedVersion: "{name}はオリジナルのMisskeyを改変したバージョンを使用しています。"
|
original_sharkey: "Sharkey オリジナル"
|
||||||
|
thisIsModifiedVersion: "{name}はオリジナルのSharkeyを改変したバージョンを使用しています。"
|
||||||
translation: "Sharkeyを翻訳"
|
translation: "Sharkeyを翻訳"
|
||||||
donate: "Sharkeyに寄付"
|
donate: "Misskeyに寄付"
|
||||||
|
donate_sharkey: "Sharkeyに寄付"
|
||||||
morePatrons: "他にも多くの方が支援してくれています。ありがとうございます🥰"
|
morePatrons: "他にも多くの方が支援してくれています。ありがとうございます🥰"
|
||||||
patrons: "支援者"
|
patrons: "支援者"
|
||||||
projectMembers: "プロジェクトメンバー"
|
projectMembers: "プロジェクトメンバー"
|
||||||
|
|
|
@ -20,7 +20,7 @@ export function genOpenapiSpec(config: Config, includeSelfRef = false) {
|
||||||
|
|
||||||
externalDocs: {
|
externalDocs: {
|
||||||
description: 'Repository',
|
description: 'Repository',
|
||||||
url: 'https://github.com/misskey-dev/misskey',
|
url: 'https://activitypub.software/TransFem-org/Sharkey',
|
||||||
},
|
},
|
||||||
|
|
||||||
servers: [{
|
servers: [{
|
||||||
|
@ -98,7 +98,7 @@ export function genOpenapiSpec(config: Config, includeSelfRef = false) {
|
||||||
description: desc,
|
description: desc,
|
||||||
externalDocs: {
|
externalDocs: {
|
||||||
description: 'Source code',
|
description: 'Source code',
|
||||||
url: `https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
|
url: `https://activitypub.software/TransFem-org/Sharkey/-/tree/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
|
||||||
},
|
},
|
||||||
...(endpoint.meta.tags ? {
|
...(endpoint.meta.tags ? {
|
||||||
tags: [endpoint.meta.tags[0]],
|
tags: [endpoint.meta.tags[0]],
|
||||||
|
|
|
@ -235,7 +235,7 @@ export async function mainBoot() {
|
||||||
|
|
||||||
fetchInstance().then(() => {
|
fetchInstance().then(() => {
|
||||||
const modifiedVersionMustProminentlyOfferInAgplV3Section13Read = miLocalStorage.getItem('modifiedVersionMustProminentlyOfferInAgplV3Section13Read');
|
const modifiedVersionMustProminentlyOfferInAgplV3Section13Read = miLocalStorage.getItem('modifiedVersionMustProminentlyOfferInAgplV3Section13Read');
|
||||||
if (modifiedVersionMustProminentlyOfferInAgplV3Section13Read !== 'true' && instance.repositoryUrl !== 'https://github.com/misskey-dev/misskey') {
|
if (modifiedVersionMustProminentlyOfferInAgplV3Section13Read !== 'true' && instance.repositoryUrl !== 'https://activitypub.software/TransFem-org/Sharkey/') {
|
||||||
popup(defineAsyncComponent(() => import('@/components/MkSourceCodeAvailablePopup.vue')), {}, {}, 'closed');
|
popup(defineAsyncComponent(() => import('@/components/MkSourceCodeAvailablePopup.vue')), {}, {}, 'closed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -71,6 +71,7 @@ function close() {
|
||||||
width: calc(100% - (var(--margin) * 2));
|
width: calc(100% - (var(--margin) * 2));
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
backdrop-filter: var(--blur, blur(15px));
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|
|
@ -27,6 +27,39 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div v-if="$i != null" style="text-align: center;">
|
<div v-if="$i != null" style="text-align: center;">
|
||||||
<MkButton primary rounded inline @click="iLoveMisskey">I <Mfm text="$[jelly ❤]"/> #Sharkey</MkButton>
|
<MkButton primary rounded inline @click="iLoveMisskey">I <Mfm text="$[jelly ❤]"/> #Sharkey</MkButton>
|
||||||
</div>
|
</div>
|
||||||
|
<FormSection v-if="instance.repositoryUrl !== 'https://activitypub.software/TransFem-org/Sharkey/'">
|
||||||
|
<div class="_gaps_s">
|
||||||
|
<MkInfo>
|
||||||
|
{{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }}
|
||||||
|
</MkInfo>
|
||||||
|
<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
|
||||||
|
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
|
||||||
|
{{ i18n.ts._aboutMisskey.source }}
|
||||||
|
</FormLink>
|
||||||
|
<FormLink v-if="instance.providesTarball" :to="`/tarball/sharkey-${version}.tar.gz`" external>
|
||||||
|
<template #icon><i class="ph-download ph-bold ph-lg"></i></template>
|
||||||
|
{{ i18n.ts._aboutMisskey.source }}
|
||||||
|
<template #suffix>Tarball</template>
|
||||||
|
</FormLink>
|
||||||
|
<MkInfo v-if="!instance.repositoryUrl && !instance.providesTarball" warn>
|
||||||
|
{{ i18n.ts.sourceCodeIsNotYetProvided }}
|
||||||
|
</MkInfo>
|
||||||
|
</div>
|
||||||
|
</FormSection>
|
||||||
|
<FormSection>
|
||||||
|
<div class="_gaps_s">
|
||||||
|
<FormLink to="https://activitypub.software/TransFem-org/Sharkey/" external>
|
||||||
|
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
|
||||||
|
{{ i18n.ts._aboutMisskey.source }} ({{ i18n.ts._aboutMisskey.original_sharkey }})
|
||||||
|
<template #suffix>GitLab</template>
|
||||||
|
</FormLink>
|
||||||
|
<FormLink to="https://ko-fi.com/transfem" external>
|
||||||
|
<template #icon><i class="ph-piggy-bank ph-bold ph-lg"></i></template>
|
||||||
|
{{ i18n.ts._aboutMisskey.donate_sharkey }}
|
||||||
|
<template #suffix>Ko-Fi</template>
|
||||||
|
</FormLink>
|
||||||
|
</div>
|
||||||
|
</FormSection>
|
||||||
<FormSection>
|
<FormSection>
|
||||||
<div class="_gaps_s">
|
<div class="_gaps_s">
|
||||||
<FormLink to="https://github.com/misskey-dev/misskey" external>
|
<FormLink to="https://github.com/misskey-dev/misskey" external>
|
||||||
|
@ -41,31 +74,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</FormLink>
|
</FormLink>
|
||||||
</div>
|
</div>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<FormSection v-if="instance.repositoryUrl !== 'https://github.com/misskey-dev/misskey'">
|
|
||||||
<div class="_gaps_s">
|
|
||||||
<MkInfo>
|
|
||||||
{{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }}
|
|
||||||
</MkInfo>
|
|
||||||
<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
|
|
||||||
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
|
|
||||||
{{ i18n.ts._aboutMisskey.source }}
|
|
||||||
<template #suffix>GitLab</template>
|
|
||||||
</FormLink>
|
|
||||||
<FormLink to="https://ko-fi.com/transfem" external>
|
|
||||||
<template #icon><i class="ph-piggy-bank ph-bold ph-lg"></i></template>
|
|
||||||
{{ i18n.ts._aboutMisskey.donate }}
|
|
||||||
<template #suffix>Ko-Fi</template>
|
|
||||||
</FormLink>
|
|
||||||
<FormLink v-if="instance.providesTarball" :to="`/tarball/sharkey-${version}.tar.gz`" external>
|
|
||||||
<template #icon><i class="ph-download ph-bold ph-lg"></i></template>
|
|
||||||
{{ i18n.ts._aboutMisskey.source }}
|
|
||||||
<template #suffix>Tarball</template>
|
|
||||||
</FormLink>
|
|
||||||
<MkInfo v-if="!instance.repositoryUrl && !instance.providesTarball" warn>
|
|
||||||
{{ i18n.ts.sourceCodeIsNotYetProvided }}
|
|
||||||
</MkInfo>
|
|
||||||
</div>
|
|
||||||
</FormSection>
|
|
||||||
<FormSection>
|
<FormSection>
|
||||||
<template #label>{{ i18n.ts._aboutMisskey.projectMembers }}</template>
|
<template #label>{{ i18n.ts._aboutMisskey.projectMembers }}</template>
|
||||||
<div :class="$style.contributors" style="margin-bottom: 8px;">
|
<div :class="$style.contributors" style="margin-bottom: 8px;">
|
||||||
|
|
Loading…
Reference in a new issue