From 7d03496bfc41d1e67c37c28755ef96f01bcadc9b Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 31 Aug 2021 14:33:15 +0300 Subject: [PATCH] fixes --- README.md | 2 +- README_ru.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3668076..d384ffd 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ If the first argument of the dialog contains two lines separated by `\n`, the se * `ui:show_context_menu(table)` - function shows the context menu. Function takes a table of tables with icons and menu item names as its argument. For example, the following code will prepare a context menu of three items: ``` -ui:prepare_context_menu({ +ui:show_context_menu({ { "share", "Menu item 1" } { "copy", "Menu item 2" } { "trash", "Menu item 3" }, diff --git a/README_ru.md b/README_ru.md index 58b03b3..c31eb2c 100644 --- a/README_ru.md +++ b/README_ru.md @@ -65,7 +65,7 @@ First line
Second line * `ui:show_context_menu(table)` - функция показывает контекстное меню. В качестве аргумента функция принимает таблицу таблиц с иконками и названиями элементов меню. Например, следующий код подготовит контекстное меню из трех элементов: ``` -ui:prepare_context_menu({ +ui:show_context_menu({ { "share", "Menu item 1" }, { "copy", "Menu item 2" }, { "trash", "Menu item 3" },