Browse Source

faq update

CrazyDoctor 1 year ago
parent
commit
2a8257d65a
1 changed files with 10 additions and 6 deletions
  1. 10 6
      static/page/faq/script.js

+ 10 - 6
static/page/faq/script.js

@@ -53,12 +53,14 @@ class FaqPage {
 				'<b>6. Children</b>\n' +
 					'В данном разделе перечислен список классов, которым текущий класс приходится родителем (не обязательно ближайшим).\n\n' +
 				'<b>7. Mixed in</b>\n' +
-					'В данном разделе представлен список классов, в которых текущий класс присутстсвует в свойстве mixins.',
+					'В данном разделе представлен список классов, в которых текущий класс присутстсвует в свойстве mixins.\n\n\n' +
+				'<b>Контекстное меню</b>\n' +
+					'Во всех перечисленных разделах, кроме Editor, доступно контекстное меню (вызывается нажатием ПКМ по элементу).',
 			'Как пользоваться? (редактор)':
-				'Сперва необходимо запросить доступ к ресурсу. Будут выданы логин и пароль, которые следует ввести на <a href="/login">данной странице</a>. Также на эту страницу можно попасть с помощью кнопки <img width="24px" height="24px" src="/img/user.svg" />, находящейся над строкой поиска в левой части страницы. Будучи авторизованными, у вас появится возможность редактировать комментарии.<hr/>' +
+				'Сперва необходимо авторизоваться. Используйте свои логин и пароль с git.doczilla.pro, которые следует ввести на <a href="/login">данной странице</a>. Также на эту страницу можно попасть с помощью кнопки <img width="24px" height="24px" src="/img/user.svg" />, находящейся над строкой поиска в левой части страницы. Будучи авторизованными, у вас появится возможность редактировать комментарии.<hr/>' +
 				'Комментируемыми объектами являются свойства(Properties) и методы(Methods) классов, причем комментировать можно только не Inherited.\n' +
 				'Чтобы оставить комментарий нужно нажать на поле комментария, после чего появится поле ввода (textarea). Комментарий может содержать html-теги. Переносы строк автоматически конвертируются в тег &lt;br&gt;!\n' +
-				'После завершения написания комментария, необходимо нажать на кнопку "OK".'
+				'После завершения написания комментария, необходимо нажать на кнопку "OK", либо нажать Enter. Переносы строк ставятся с помощью комбинации Shift+Enter.'
 		},
 
 		[FaqPage.Lang.En]: {
@@ -108,12 +110,14 @@ class FaqPage {
 				'<b>6. Children</b>\n' +
 					'This section lists classes for which the current class is a parent (not necessarily the nearest).\n\n' +
 				'<b>7. Mixed in</b>\n' +
-					'This section presents a list of classes in which the current class is present in the mixins property.',
+					'This section presents a list of classes in which the current class is present in the mixins property.\n\n\n' +
+				'<b>Context menu</b>\n' +
+					'In all listed sections, excluding the Editor, a context menu is available (triggered by right-clicking on the element).',
 			'How to use? (editor)':
-				'First, you need to request access to the resource. You will be given a login and password, which should be entered on <a href="/login">this page</a>. You can also access this page using the <img width="24px" height="24px" src="/img/user.svg" /> button located above the search bar on the left side of the page. Once authorized, you will be able to edit comments.<hr/>' +
+				'First, you need to log in. Use your login and password from git.doczilla.pro, which should be entered on <a href="/login">this page</a>. You can also access this page using the <img width="24px" height="24px" src="/img/user.svg" /> button located above the search bar on the left side of the page. Once authorized, you will be able to edit comments.<hr/>' +
 				'Commentable objects are properties (Properties) and methods (Methods) of classes, and you can only comment on non-Inherited ones.\n' +
 				'To leave a comment, click on the comment field, after which an input field (textarea) will appear. Comments can contain HTML tags. Line breaks are automatically converted to the <br> tag!\n' +
-				'After finishing writing the comment, click the "OK" button.'
+				'After finishing writing the comment, click the "OK" button or press Enter. Line breaks could be placed using Shift+Enter.'
 			}
 	};