File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11import type { TooltipProps } from "../components/ui/Tooltip" ;
2+ import { githubOrganizationUrl } from "../metadata" ;
23import type { TranslationComponent , TranslationObject } from "./" ;
34
45export const translation : TranslationObject = {
@@ -192,6 +193,12 @@ export const Translation: TranslationComponent = (props) => {
192193 .
193194 </ >
194195 ) ;
196+ case "footer" :
197+ return (
198+ < >
199+ Translated by < a href = { githubOrganizationUrl } > Typst Community</ a >
200+ </ >
201+ ) ;
195202 default :
196203 return null ;
197204 }
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ type TranslationComponentKey =
6565 | "settable"
6666 | "settableDescription"
6767 | "previousPage"
68- | "nextPage" ;
68+ | "nextPage"
69+ | "footer" ;
6970
7071export type TranslationComponentProps =
7172 | { translationKey : TranslationComponentKey }
Original file line number Diff line number Diff line change @@ -198,6 +198,13 @@ export const Translation: TranslationComponent = (props) => {
198198 < a href = { discordServerUrl } > our Discord server "Kumihan Club"</ a > .
199199 </ >
200200 ) ;
201+ case "footer" :
202+ return (
203+ < >
204+ Translated by{ " " }
205+ < a href = { githubOrganizationUrl } > Typst Japanese Community</ a >
206+ </ >
207+ ) ;
201208 default :
202209 return null ;
203210 }
You can’t perform that action at this time.
0 commit comments