More Calckey strings
This commit is contained in:
parent
8aaaa82e5b
commit
b1efe26c89
10 changed files with 19 additions and 19 deletions
|
@ -699,7 +699,7 @@ onlineUsersCount: "{n} users are online"
|
||||||
nUsers: "{n} Users"
|
nUsers: "{n} Users"
|
||||||
nNotes: "{n} Notes"
|
nNotes: "{n} Notes"
|
||||||
sendErrorReports: "Send error reports"
|
sendErrorReports: "Send error reports"
|
||||||
sendErrorReportsDescription: "When turned on, detailed error information will be shared with Misskey when a problem occurs, helping to improve the quality of Misskey.\nThis will include information such the version of your OS, what browser you're using, your activity in Misskey, etc."
|
sendErrorReportsDescription: "When turned on, detailed error information will be shared with Calckey when a problem occurs, helping to improve the quality of Misskey.\nThis will include information such the version of your OS, what browser you're using, your activity in Calckey, etc."
|
||||||
myTheme: "My theme"
|
myTheme: "My theme"
|
||||||
backgroundColor: "Background color"
|
backgroundColor: "Background color"
|
||||||
accentColor: "Accent color"
|
accentColor: "Accent color"
|
||||||
|
@ -973,7 +973,7 @@ _nsfw:
|
||||||
_mfm:
|
_mfm:
|
||||||
cheatSheet: "MFM Cheatsheet"
|
cheatSheet: "MFM Cheatsheet"
|
||||||
intro: "MFM is a markup language used on Misskey, Calckey, Akkoma, and more that can be used in many places. Here you can view a list of all available MFM syntax."
|
intro: "MFM is a markup language used on Misskey, Calckey, Akkoma, and more that can be used in many places. Here you can view a list of all available MFM syntax."
|
||||||
dummy: "Misskey expands the world of the Fediverse"
|
dummy: "Calckey expands the world of the Fediverse"
|
||||||
mention: "Mention"
|
mention: "Mention"
|
||||||
mentionDescription: "You can specify a user by using an At-Symbol and a username."
|
mentionDescription: "You can specify a user by using an At-Symbol and a username."
|
||||||
hashtag: "Hashtag"
|
hashtag: "Hashtag"
|
||||||
|
|
|
@ -27,7 +27,7 @@ const themeColor = chalk.hex('#31748f');
|
||||||
|
|
||||||
function greet() {
|
function greet() {
|
||||||
if (!envOption.quiet) {
|
if (!envOption.quiet) {
|
||||||
//#region Misskey logo
|
//#region Calckey logo
|
||||||
const v = `v${meta.version}`;
|
const v = `v${meta.version}`;
|
||||||
console.log(themeColor(' ___ _ _ '));
|
console.log(themeColor(' ___ _ _ '));
|
||||||
console.log(themeColor(' / __\\__ _| | ___| | _____ _ _ '));
|
console.log(themeColor(' / __\\__ _| | ___| | _____ _ _ '));
|
||||||
|
|
|
@ -26,7 +26,7 @@ export default async function(user: User) {
|
||||||
id: author.link,
|
id: author.link,
|
||||||
title: `${author.name} (@${user.username}@${config.host})`,
|
title: `${author.name} (@${user.username}@${config.host})`,
|
||||||
updated: notes[0].createdAt,
|
updated: notes[0].createdAt,
|
||||||
generator: 'Misskey',
|
generator: 'Calckey',
|
||||||
description: `${user.notesCount} Notes, ${profile.ffVisibility === 'public' ? user.followingCount : '?'} Following, ${profile.ffVisibility === 'public' ? user.followersCount : '?'} Followers${profile.description ? ` · ${profile.description}` : ''}`,
|
description: `${user.notesCount} Notes, ${profile.ffVisibility === 'public' ? user.followingCount : '?'} Following, ${profile.ffVisibility === 'public' ? user.followersCount : '?'} Followers${profile.description ? ` · ${profile.description}` : ''}`,
|
||||||
link: author.link,
|
link: author.link,
|
||||||
image: await Users.getAvatarUrl(user),
|
image: await Users.getAvatarUrl(user),
|
||||||
|
|
|
@ -278,7 +278,7 @@ const motd = [
|
||||||
'Use #hashtags to tag notes and reach more people, especially for #art.',
|
'Use #hashtags to tag notes and reach more people, especially for #art.',
|
||||||
'If your note gets popular, it might show up on the Featured tap for up to 3 days!',
|
'If your note gets popular, it might show up on the Featured tap for up to 3 days!',
|
||||||
'Use the 4 buttons at the top (or the top drop-down on mobile) to switch timelines.',
|
'Use the 4 buttons at the top (or the top drop-down on mobile) to switch timelines.',
|
||||||
'The Fediverse is made up of more than just Misskey.',
|
'The Fediverse is made up of more than just Calckey.',
|
||||||
'Avatars and banners can be GIFs.',
|
'Avatars and banners can be GIFs.',
|
||||||
'When writing a note, type $ to see a list of cool text effects (mfm).',
|
'When writing a note, type $ to see a list of cool text effects (mfm).',
|
||||||
'Be gay, do crime.',
|
'Be gay, do crime.',
|
||||||
|
@ -307,7 +307,7 @@ router.get(['/@:user', '/@:user/:sub'], async (ctx, next) => {
|
||||||
user, profile, me,
|
user, profile, me,
|
||||||
avatarUrl: await Users.getAvatarUrl(user),
|
avatarUrl: await Users.getAvatarUrl(user),
|
||||||
sub: ctx.params.sub,
|
sub: ctx.params.sub,
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
|
@ -353,7 +353,7 @@ router.get('/notes/:note', async (ctx, next) => {
|
||||||
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: note.userId })),
|
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: note.userId })),
|
||||||
// TODO: Let locale changeable by instance setting
|
// TODO: Let locale changeable by instance setting
|
||||||
summary: getNoteSummary(_note),
|
summary: getNoteSummary(_note),
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
|
@ -390,7 +390,7 @@ router.get('/@:user/pages/:page', async (ctx, next) => {
|
||||||
page: _page,
|
page: _page,
|
||||||
profile,
|
profile,
|
||||||
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: page.userId })),
|
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: page.userId })),
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
|
@ -423,7 +423,7 @@ router.get('/clips/:clip', async (ctx, next) => {
|
||||||
clip: _clip,
|
clip: _clip,
|
||||||
profile,
|
profile,
|
||||||
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: clip.userId })),
|
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: clip.userId })),
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
|
@ -449,7 +449,7 @@ router.get('/gallery/:post', async (ctx, next) => {
|
||||||
post: _post,
|
post: _post,
|
||||||
profile,
|
profile,
|
||||||
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: post.userId })),
|
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: post.userId })),
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
|
@ -474,7 +474,7 @@ router.get('/channels/:channel', async (ctx, next) => {
|
||||||
const meta = await fetchMeta();
|
const meta = await fetchMeta();
|
||||||
await ctx.render('channel', {
|
await ctx.render('channel', {
|
||||||
channel: _channel,
|
channel: _channel,
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
privateMode: meta.privateMode,
|
privateMode: meta.privateMode,
|
||||||
|
@ -537,8 +537,8 @@ router.get('(.*)', async ctx => {
|
||||||
const meta = await fetchMeta();
|
const meta = await fetchMeta();
|
||||||
await ctx.render('base', {
|
await ctx.render('base', {
|
||||||
img: meta.bannerUrl,
|
img: meta.bannerUrl,
|
||||||
title: meta.name || 'Misskey',
|
title: meta.name || 'Calckey',
|
||||||
instanceName: meta.name || 'Misskey',
|
instanceName: meta.name || 'Calckey',
|
||||||
desc: meta.description,
|
desc: meta.description,
|
||||||
icon: meta.iconUrl,
|
icon: meta.iconUrl,
|
||||||
themeColor: meta.themeColor,
|
themeColor: meta.themeColor,
|
||||||
|
|
|
@ -6,7 +6,7 @@ html
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Calckey')
|
meta(name='application-name' content='Calckey')
|
||||||
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
||||||
title Misskey Repair Tool
|
title Calckey Repair Tool
|
||||||
style
|
style
|
||||||
include ../bios.css
|
include ../bios.css
|
||||||
script
|
script
|
||||||
|
|
|
@ -6,7 +6,7 @@ html
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Calckey')
|
meta(name='application-name' content='Calckey')
|
||||||
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
||||||
title Misskey Cli
|
title Calckey Cli
|
||||||
style
|
style
|
||||||
include ../cli.css
|
include ../cli.css
|
||||||
script
|
script
|
||||||
|
|
|
@ -5,7 +5,7 @@ html
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Calckey')
|
meta(name='application-name' content='Calckey')
|
||||||
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
||||||
title Flush Misskey
|
title Flush Calckey
|
||||||
style.
|
style.
|
||||||
* {
|
* {
|
||||||
font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif;
|
font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif;
|
||||||
|
|
|
@ -4,7 +4,7 @@ html
|
||||||
|
|
||||||
head
|
head
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(name='application-name' content='Misskey')
|
meta(name='application-name' content='Calckey')
|
||||||
title= meta.name || host
|
title= meta.name || host
|
||||||
style.
|
style.
|
||||||
html, body {
|
html, body {
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default class Logger {
|
||||||
|
|
||||||
if (config.syslog) {
|
if (config.syslog) {
|
||||||
this.syslogClient = new SyslogPro.RFC5424({
|
this.syslogClient = new SyslogPro.RFC5424({
|
||||||
applacationName: 'Misskey',
|
applacationName: 'Calckey',
|
||||||
timestamp: true,
|
timestamp: true,
|
||||||
encludeStructuredData: true,
|
encludeStructuredData: true,
|
||||||
color: true,
|
color: true,
|
||||||
|
|
|
@ -10,6 +10,6 @@ export const lang = localStorage.getItem('lang');
|
||||||
export const langs = _LANGS_;
|
export const langs = _LANGS_;
|
||||||
export const locale = JSON.parse(localStorage.getItem('locale'));
|
export const locale = JSON.parse(localStorage.getItem('locale'));
|
||||||
export const version = _VERSION_;
|
export const version = _VERSION_;
|
||||||
export const instanceName = siteName === 'Misskey' ? host : siteName;
|
export const instanceName = siteName === 'Calckey' ? host : siteName;
|
||||||
export const ui = localStorage.getItem('ui');
|
export const ui = localStorage.getItem('ui');
|
||||||
export const debug = localStorage.getItem('debug') === 'true';
|
export const debug = localStorage.getItem('debug') === 'true';
|
||||||
|
|
Loading…
Reference in a new issue