@@ -3,7 +3,7 @@ import type { TranslationComponent, TranslationObject } from "./";
33
44export const translation : TranslationObject = {
55 htmlLang : ( ) => "en" ,
6- documentationTitle : ( ) => "Typst Documentation (English Version )" ,
6+ documentationTitle : ( ) => "Typst Documentation (English)" ,
77 close : ( ) => "Close" ,
88 closeMenu : ( ) => "Close menu" ,
99 closeSearch : ( ) => "Close search" ,
@@ -16,19 +16,19 @@ export const translation: TranslationObject = {
1616 case "element" :
1717 return "Element" ;
1818 case "contextual" :
19- return "Context function " ;
19+ return "Context" ;
2020 case "definitions" :
2121 return "Definition" ;
2222 case "parameters" :
2323 return "Parameter" ;
2424 case "variadic" :
25- return "Variadic parameter " ;
25+ return "Variadic" ;
2626 case "settable" :
27- return "Settable parameter " ;
27+ return "Settable" ;
2828 case "positional" :
29- return "Positional parameter " ;
29+ return "Positional" ;
3030 case "required" :
31- return "Required parameter " ;
31+ return "Required" ;
3232 default :
3333 return props . kind ;
3434 }
@@ -93,8 +93,8 @@ export const Translation: TranslationComponent = (props) => {
9393 case "contentAddedByCommunity" :
9494 return (
9595 < >
96- This page contains content that is not part of the official documentation,
97- added independently by the community.
96+ This page contains content that is not part of the official
97+ documentation, added independently by the community.
9898 </ >
9999 ) ;
100100 case "partiallyTranslated" :
@@ -110,7 +110,7 @@ export const Translation: TranslationComponent = (props) => {
110110 case "translatedMessage" :
111111 return < > This page has been translated into English.</ > ;
112112 case "elementFunction" :
113- return < > Element function </ > ;
113+ return < > Element</ > ;
114114 case "elementFunctionDescription" :
115115 return (
116116 < >
@@ -119,7 +119,7 @@ export const Translation: TranslationComponent = (props) => {
119119 </ >
120120 ) ;
121121 case "contextFunction" :
122- return < > Context function </ > ;
122+ return < > Context</ > ;
123123 case "contextFunctionDescription" :
124124 return < > Context functions can only be used when the context is known.</ > ;
125125 case "definitionTooltip" :
@@ -142,11 +142,11 @@ export const Translation: TranslationComponent = (props) => {
142142 </ >
143143 ) ;
144144 case "variadic" :
145- return < > Variadic parameter </ > ;
145+ return < > Variadic</ > ;
146146 case "variadicDescription" :
147147 return < > Variadic parameters can be specified multiple times.</ > ;
148148 case "positional" :
149- return < > Positional parameter </ > ;
149+ return < > Positional</ > ;
150150 case "positionalDescription" :
151151 return (
152152 < >
@@ -155,19 +155,19 @@ export const Translation: TranslationComponent = (props) => {
155155 </ >
156156 ) ;
157157 case "required" :
158- return < > Required parameter </ > ;
158+ return < > Required</ > ;
159159 case "requiredDescription" :
160160 return (
161161 < > Required parameters must be specified when calling the function.</ >
162162 ) ;
163163 case "document" :
164164 return < > Document</ > ;
165165 case "langVersion" :
166- return < > English Version </ > ;
166+ return < > English</ > ;
167167 case "translationRate" :
168- return < > Translation rate </ > ;
168+ return < > Translated </ > ;
169169 case "settable" :
170- return < > Settable parameter </ > ;
170+ return < > Settable</ > ;
171171 case "settableDescription" :
172172 return (
173173 < >
0 commit comments