Skip to content
Snippets Groups Projects
Commit 846c217d authored by Kaj Koivunen's avatar Kaj Koivunen :coffee:
Browse files

menutoimintojen selkeytys

parent 39236c19
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ class MainView : View("Ronove") { ...@@ -34,7 +34,7 @@ class MainView : View("Ronove") {
enableWhen {(app as Ronove).project.projectFileSet} enableWhen {(app as Ronove).project.projectFileSet}
} }
item("Save as...","Shortcut+Shift+S") { action { (app as Ronove).project.saveAs() }} item("Save as...","Shortcut+Shift+S") { action { (app as Ronove).project.saveAs() }}
item("Export...") { action { TODO() } } //item("Export...") { action { TODO() } }
separator() separator()
item("Exit") { item("Exit") {
action { action {
...@@ -50,11 +50,15 @@ class MainView : View("Ronove") { ...@@ -50,11 +50,15 @@ class MainView : View("Ronove") {
item("Add line","Shortcut+N") { action { (app as Ronove).addLine() } } item("Add line","Shortcut+N") { action { (app as Ronove).addLine() } }
//item("Remove line") { action { TODO() } } //item("Remove line") { action { TODO() } }
separator() separator()
item("Project settings...") { action { TODO() } } item("Project settings...") { action { ProjectSettings().openModal() } }
} }
menu("Machine translation") { menu("Machine translation") {
item("Translate line") { action { TODO() } } //item("Translate line") { action { TODO() } }
item("Translate page") { action { TODO() } } item("Translate page") { action {
with(app as Ronove) {
project.translatePage(currentPage.value)
}
} }
item("Translate all pages") { action { item("Translate all pages") { action {
(app as Ronove).project.translateAllPages() (app as Ronove).project.translateAllPages()
} } } }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment