add jsconfig.json, update some of the translations, og:locale is now dynamic, update url to the repository in package.json
This commit is contained in:
parent
0301aed0b8
commit
baf99ffd7b
13
jsconfig.json
Normal file
13
jsconfig.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["src/*"],
|
||||||
|
"@components/*": ["src/components/*"],
|
||||||
|
"@config/*": ["src/config/*"],
|
||||||
|
"@features/*": ["src/features/*"],
|
||||||
|
"@images/*": ["src/images/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exclude": ["node_modules"]
|
||||||
|
}
|
|
@ -45,9 +45,9 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/gatsbyjs/gatsby-starter-default"
|
"url": "https://github.com/tribalwarshelp/dcbot.tribalwarshelp.com"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/gatsbyjs/gatsby/issues"
|
"url": "https://github.com/tribalwarshelp/dcbot.tribalwarshelp.com/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ function Seo({ description, lang, meta, title, location }) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: `og:locale`,
|
property: `og:locale`,
|
||||||
content: `pl`,
|
content: lang,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `twitter:card`,
|
name: `twitter:card`,
|
||||||
|
@ -105,7 +105,7 @@ function Seo({ description, lang, meta, title, location }) {
|
||||||
<link
|
<link
|
||||||
rel="canonical"
|
rel="canonical"
|
||||||
content={`${site.siteMetadata.siteUrl}${location}`}
|
content={`${site.siteMetadata.siteUrl}${location}`}
|
||||||
></link>
|
/>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,14 +92,14 @@ const adminCommands = [
|
||||||
command: 'tw!conqueredvillages',
|
command: 'tw!conqueredvillages',
|
||||||
commandSyntax: 'tw!conqueredvillages [group ID from tw!groups]',
|
commandSyntax: 'tw!conqueredvillages [group ID from tw!groups]',
|
||||||
description:
|
description:
|
||||||
'This command changes the channel on which notifications about conquered village will show. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
'This command sets the channel on which notifications about conquered village will be displayed. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
||||||
example: 'tw!conqueredvillages 1',
|
example: 'tw!conqueredvillages 1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: 'tw!lostvillages',
|
command: 'tw!lostvillages',
|
||||||
commandSyntax: 'tw!lostvillages [group ID from tw!groups]',
|
commandSyntax: 'tw!lostvillages [group ID from tw!groups]',
|
||||||
description:
|
description:
|
||||||
'This command changes the channel on which notifications about lost village will show. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
'This command sets the channel on which notifications about lost village will be displayed. IMPORTANT! Run this command on the channel you want to display these notifications.',
|
||||||
example: 'tw!lostvillages 2',
|
example: 'tw!lostvillages 2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -91,14 +91,14 @@ const adminCommands = [
|
||||||
command: 'tw!conqueredvillages',
|
command: 'tw!conqueredvillages',
|
||||||
commandSyntax: 'tw!conqueredvillages [ID grupy z tw!groups]',
|
commandSyntax: 'tw!conqueredvillages [ID grupy z tw!groups]',
|
||||||
description:
|
description:
|
||||||
'Zmienia kanał na którym będą się pojawiać informację o podbitych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
'Ustawia kanał na którym będą się pojawiać informację o podbitych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
||||||
example: 'tw!conqueredvillages 1',
|
example: 'tw!conqueredvillages 1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: 'tw!lostvillages',
|
command: 'tw!lostvillages',
|
||||||
commandSyntax: 'tw!lostvillages [ID grupy z tw!groups]',
|
commandSyntax: 'tw!lostvillages [ID grupy z tw!groups]',
|
||||||
description:
|
description:
|
||||||
'Zmienia kanał na którym będą się pojawiać informację o straconych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
'Ustawia kanał na którym będą się pojawiać informację o straconych wioskach w danej grupie. WAŻNE! Wywołaj tę komendę na kanale na którym chcesz dostawać te powiadomienia.',
|
||||||
example: 'tw!lostvillages 2',
|
example: 'tw!lostvillages 2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const translations = {
|
const translations = {
|
||||||
title: 'Commands',
|
title: 'Commands',
|
||||||
description: 'List of commands offered by TWHelp Discord Bot with examples',
|
description: 'List of commands offered by the bot with examples',
|
||||||
example: 'Example',
|
example: 'Example',
|
||||||
commandsForEveryoneSection: {
|
commandsForEveryoneSection: {
|
||||||
title: 'For everyone',
|
title: 'For everyone',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const translations = {
|
const translations = {
|
||||||
title: 'Komendy',
|
title: 'Komendy',
|
||||||
description:
|
description:
|
||||||
'Lista komend oferowanych przez TWHelp Discord Bot z przykładami',
|
'Lista komend oferowanych przez bota z przykładami',
|
||||||
example: 'Przykład',
|
example: 'Przykład',
|
||||||
commandsForEveryoneSection: {
|
commandsForEveryoneSection: {
|
||||||
title: 'Dla wszystkich',
|
title: 'Dla wszystkich',
|
||||||
|
|
Reference in New Issue
Block a user