File tree Expand file tree Collapse file tree
fa/docusaurus-theme-classic
pt-BR/docusaurus-theme-classic
tr/docusaurus-theme-classic
uk/docusaurus-theme-classic
zh-CN/docusaurus-theme-classic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010/frontend /i18n /ar / @ midosvt @ ImOver00
1111/frontend /i18n /sv / @ fusez
1212/frontend /i18n /vi / @ PHATBENTRE
13+ /frontend /i18n /uk / @ justdawy
Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ import { themes as prismThemes } from "prism-react-renderer";
55
66// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
77
8+ const currentYear = new Date ( ) . getFullYear ( ) ;
9+
10+ const copyrightByLocale : Record < string , string > = {
11+ en : `Copyright © ${ currentYear } open.mp. Built with Docusaurus.` ,
12+ uk : `Copyright © ${ currentYear } open.mp. Створено на Docusaurus.` ,
13+ "pt-BR" : `Copyright © ${ currentYear } open.mp. Feito com Docusaurus.` ,
14+ "zh-CN" : `版权所有 © ${ currentYear } open.mp。基于Docusaurus构建"` ,
15+ tr : `Telif Hakkı © ${ currentYear } open.mp. Docusaurus ile yapıldı.` ,
16+ fa : `حق نشر © ${ currentYear } open.mp. ساخته شده با Docusaurus.` ,
17+
18+ } ;
19+
820const config : Config = {
921 title : "open.mp" ,
1022 tagline : "Open Multiplayer" ,
@@ -330,7 +342,10 @@ const config: Config = {
330342 ] ,
331343 } ,
332344 ] ,
333- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } open.mp. Built with Docusaurus.` ,
345+ copyright :
346+ copyrightByLocale [
347+ process . env . DOCUSAURUS_CURRENT_LOCALE || "en"
348+ ] || copyrightByLocale . en ,
334349 } ,
335350 prism : {
336351 theme : prismThemes . github ,
Original file line number Diff line number Diff line change 6262 "link.item.label.SA-MP" : {
6363 "message" : " SA-MP" ,
6464 "description" : " The label of footer link with label=SA-MP linking to https://sa-mp.mp/"
65- },
66- "copyright" : {
67- "message" : " حق نشر © 2025 open.mp. ساخته شده با Docusaurus." ,
68- "description" : " The footer copyright"
6965 }
7066}
Original file line number Diff line number Diff line change 6262 "link.item.label.SA-MP" : {
6363 "message" : " SA-MP" ,
6464 "description" : " The label of footer link with label=SA-MP linking to https://sa-mp.mp/"
65- },
66- "copyright" : {
67- "message" : " Copyright © 2025 open.mp. Feito com Docusaurus." ,
68- "description" : " The footer copyright"
6965 }
7066}
Original file line number Diff line number Diff line change 6262 "link.item.label.SA-MP" : {
6363 "message" : " SA-MP" ,
6464 "description" : " The label of footer link with label=SA-MP linking to https://sa-mp.mp/"
65- },
66- "copyright" : {
67- "message" : " Telif Hakkı © {year} open.mp. Docusaurus ile yapıldı." ,
68- "description" : " The footer copyright"
6965 }
7066}
Original file line number Diff line number Diff line change 6262 "link.item.label.SA-MP" : {
6363 "message" : " SA-MP" ,
6464 "description" : " The label of footer link with label=SA-MP linking to https://sa-mp.mp/"
65- },
66- "copyright" : {
67- "message" : " Copyright © {year} open.mp. Створено на Docusaurus." ,
68- "description" : " The footer copyright"
6965 }
7066}
Original file line number Diff line number Diff line change 6262 "link.item.label.SA-MP" : {
6363 "message" : " SA-MP" ,
6464 "description" : " 标签为SA-MP的页脚链接,指向https://sa-mp.mp/"
65- },
66- "copyright" : {
67- "message" : " 版权所有 © 2025 open.mp。基于Docusaurus构建" ,
68- "description" : " 页脚版权信息"
6965 }
7066}
You can’t perform that action at this time.
0 commit comments