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
*/ */
"testers": string; "testers": string;
/**
* Misskey Contributors
*/
"misskeyContributors": string;
/**
* Our lovely Sponsors
*/
"ourLovelySponsors": string;
}; };
"_displayOfSensitiveMedia": { "_displayOfSensitiveMedia": {
/** /**

View file

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

View file

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