Skip to content

Commit

Permalink
Added files for the new wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorFilimonov committed Oct 5, 2024
1 parent 91de268 commit 9d0153a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/main/kotlin/automaton/constructor/view/MainWindow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class MainWindow(
fileController.onOpen()
}
item(I18N.messages.getString("MainView.Examples")).action {
find<ExamplesView>(mapOf(ExamplesView::fileController to fileController)).openModal()
find<ExamplesView>(mapOf(ExamplesView::fileController to fileController)).apply {
title = I18N.automatonExamples.getString("ExamplesFragment.Title")
}.openModal()
}
shortcutItem(I18N.messages.getString("MainView.File.Save"), "Shortcut+S") {
fileController.onSave()
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/examples.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ExamplesFragment.Title=Examples
ExamplesFragment.evenBinaryNumbersRecognizer=Even binary numbers recognizer
ExamplesFragment.correctBracketSeqRecognizer=Correct bracket sequence recognizer
ExamplesFragment.binaryNumberAdder=Binary number adder
Expand All @@ -9,4 +10,4 @@ ExamplesFragment.correctBracketSeqRecognizerDescription=Implemented with pushdow
ExamplesFragment.binaryNumberAdderDescription=Implemented with Turing machine.\nRunning on test example:
ExamplesFragment.evenPalindromesRecognizerDescription=Implemented with pushdown automaton.\nRunning on test example:
ExamplesFragment.threeZerosAndOneOneDescription=Implemented with register automaton.\nRunning on test example:
ExamplesFragment.zeroRemoverDescription=Implemented with Mealy/Moore machine.\nRunning on test example:
ExamplesFragment.zeroRemoverDescription=Implemented with Mealy/Moore machine.\nRunning on test example:
1 change: 1 addition & 0 deletions src/main/resources/examples_ru.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ExamplesFragment.Title=Примеры
ExamplesFragment.evenBinaryNumbersRecognizer=Распознаватель четных двоичных чисел
ExamplesFragment.correctBracketSeqRecognizer=Распознаватель правильных скобочных последовательностей
ExamplesFragment.binaryNumberAdder=Сумматор двоичных чисел
Expand Down
Binary file added wiki/examples.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wiki/hellings_algo.mp4
Binary file not shown.
Binary file added wiki/testing_panel.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wiki/visual_editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d0153a

Please sign in to comment.