Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Nov 1, 2023
1 parent 0d77d33 commit 31ae74c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/website/src/components/code_block_slider.nim
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ component CodeBlockSlider:
""".}

proc updateIndex(idx: int) =
discard
if self.index.isNil():
return
if self.index == idx:
Expand Down
16 changes: 16 additions & 0 deletions examples/website/src/pages/roadmap.nim
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,22 @@ mount RoadMap:
"v2.2.0"
tP(class = "w-full text-2xl lg:text-lg xl:text-base"):
{translate("Python Bindings")}
# v2.10.0
component Card():
tDiv(class = "w-full flex flex-col items-center gap-2 p-4 lg:p-2 xl:p-0"):
tP(class = "text-4xl lg:text-2xl xl:text-lg font-semibold"):
"v2.10.1"
tP(class = "w-full text-2xl lg:text-lg xl:text-base"):
{translate("LiveViews")}
tP(class = "w-full text-2xl lg:text-lg xl:text-base"):
{translate(".hpx files support")}
# v3.0.0
component Card():
tDiv(class = "w-full flex flex-col items-center gap-2 p-4 lg:p-2 xl:p-0"):
tP(class = "text-4xl lg:text-2xl xl:text-lg font-semibold"):
"v3.0.0"
tP(class = "w-full text-2xl lg:text-lg xl:text-base"):
{translate("NodeJS Bindings")}
# Future
component Card():
tDiv(class = "w-full flex flex-col items-center gap-2 p-4 lg:p-2 xl:p-0"):
Expand Down
18 changes: 18 additions & 0 deletions examples/website/src/ui/translations.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,24 @@ translatable:
"zh" -> "任何支持的语言中的最小示例看起来像这样:"
"fr" -> "Un exemple minimal dans n'importe quel langage pris en charge ressemble à ceci :"
"ko" -> "지원되는 어떤 언어에서든 최소한의 예제는 다음과 같습니다:"
"LiveViews":
"ru" -> "LiveViews"
"ja" -> "LiveViews"
"zh" -> "LiveViews"
"fr" -> "LiveViews"
"ko" -> "LiveViews"
".hpx files support":
"ru" -> "поддержка файлов .hpx"
"ja" -> ".hpx ファイルのサポート"
"zh" -> ".hpx 文件支持"
"fr" -> "support des fichiers .hpx"
"ko" -> ".hpx 파일 지원"
"NodeJS Bindings":
"ru" -> "Привязки NodeJS"
"ja" -> "NodeJS バインディング"
"zh" -> "NodeJS 绑定"
"fr" -> "Liens NodeJS"
"ko" -> "NodeJS 바인딩"


var spokenLang: cstring
Expand Down

0 comments on commit 31ae74c

Please sign in to comment.