Skip to content

Commit

Permalink
docs: update translation for interface
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Jul 12, 2024
1 parent 635bd52 commit e7374df
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
Binary file modified docs/figs/interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/figs/interface.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
\draw [fill=green!20] (-3,1) rectangle (0.5,-4.5) node (v2) {};
\draw [fill=green!10] (v2) rectangle (4,1) node (v3) {};
\draw [fill=green!5] (v3) rectangle (v4);
\node at (2.5,1.7) {Navigation};
\node at (5.8,-1.5) {Code};
\node at (2.3,-1.5) {Data};
\node at (-1.25,-1.5) {Preview};
\node at (2.5,1.7) {\directlua{tex.write(trans["doc"]["Navigation"])}};
\node at (5.8,-1.5) {\directlua{tex.write(trans["Code"])}};
\node at (2.3,-1.5) {\directlua{tex.write(trans["Data"])}};
\node at (-1.25,-1.5) {\directlua{tex.write(trans["doc"]["Preview"])}};
\end{tikzpicture}
\end{document}
Binary file modified docs/figs/interface_chs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions lang/chs.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,9 @@ const chs = {
"accept": "接受",
"reject": "拒绝",
"llama3": "使用 Llama 3 构建"
},
"doc": {
"Navigation": "导航",
"Preview": "预览"
}
}
4 changes: 4 additions & 0 deletions lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,9 @@ const en = {
"accept": "Accept",
"reject": "Reject",
"llama3": "Built with Llama3"
},
"doc": {
"Navigation": "Navigation",
"Preview": "Preview"
}
}

0 comments on commit e7374df

Please sign in to comment.