Move strings to sharkey-locales

This commit is contained in:
CenTdemeern1 2024-12-08 15:05:43 +01:00
parent 57a62832e5
commit c472794959
3 changed files with 12 additions and 2 deletions

8
locales/index.d.ts vendored
View file

@ -7396,6 +7396,14 @@ export interface Locale extends ILocale {
* Testers
*/
"testers": string;
/**
* Misskey Contributors
*/
"misskeyContributors": string;
/**
* Our lovely Sponsors
*/
"ourLovelySponsors": string;
};
"_displayOfSensitiveMedia": {
/**

View file

@ -202,7 +202,7 @@ const everyone = ref<Section[]>([
],
},
{
heading: 'Misskey Contributors',
heading: i18n.ts._aboutMisskey.misskeyContributors,
people: [
{
handle: '@syuilo',
@ -271,7 +271,7 @@ const containerEl = shallowRef<HTMLElement>();
await misskeyApi('sponsors', { forceUpdate: false }).then((res) => {
const section: Section = {
heading: 'Our lovely Sponsors',
heading: i18n.ts._aboutMisskey.ourLovelySponsors,
people: [],
};
for (const sponsor of res.sponsor_data) {

View file

@ -231,6 +231,8 @@ _aboutMisskey:
translation: "Translate Sharkey"
donate_sharkey: "Donate to Sharkey"
testers: "Testers"
misskeyContributors: "Misskey Contributors"
ourLovelySponsors: "Our lovely Sponsors"
_serverDisconnectedBehavior:
disabled: "Disable warning"
_channel: