From b3736ba09840a0fb4a5e513ddc4e7fe1f07aad08 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 2 Nov 2020 20:23:10 +0300 Subject: [PATCH] Improve wording in build instructions generator. GitOrigin-RevId: a84f204148b06b9859373617829badfca477d5fc --- build.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.html b/build.html index b97a77958..ed042e4e3 100644 --- a/build.html +++ b/build.html @@ -73,7 +73,7 @@ select.large { font-size: large; }
- +
@@ -486,7 +486,7 @@ function onOptionsChanged() { if (os_windows) { let win10_sdk = (target === 'C++/CX' ? ' and Windows 10 SDK' : ''); if (target !== 'C++/CLI' && target !== 'C++/CX') { - pre_text.push('Note that Windows Subsystem for Linux (WSL) and Cygwin are not Windows environments, so you need to use instructions for Linux instead for them.'); + pre_text.push('Note that Windows Subsystem for Linux (WSL) and Cygwin are not Windows environments, so you need to use instructions for Linux for them instead.'); } pre_text.push('Download and install Microsoft Visual Studio. Enable C++' + win10_sdk + ' support while installing.'); pre_text.push('Download and install CMake; choose "Add CMake to the system PATH" option while installing.'); @@ -523,15 +523,15 @@ function onOptionsChanged() { pre_text.push('Note that for Node.js ≤ 9.11.2 you must build TDLib with OpenSSL 1.0.* and for Node.js ≥ 10 with OpenSSL 1.1.* instead, so you may need to modify the following commands to install a proper OpenSSL version.'); } if (os_freebsd) { - pre_text.push('Note that following instruction is for FreeBSD 11.'); - pre_text.push('Note that following calls to pkg needs to be run as root.'); + pre_text.push('Note that the following instruction is for FreeBSD 11.'); + pre_text.push('Note that the following calls to pkg needs to be run as root.'); } if (os_openbsd) { - pre_text.push('Note that following instruction is for OpenBSD 6.7 and default KSH shell.'); + pre_text.push('Note that the following instruction is for OpenBSD 6.7 and default KSH shell.'); pre_text.push('Note that building requires a lot of memory, so you may need to increase allowed per-process memory usage in /etc/login.conf or build from root.'); } if (os_netbsd) { - pre_text.push('Note that following instruction is for NetBSD 8.0 and default SH shell.'); + pre_text.push('Note that the following instruction is for NetBSD 8.0 and default SH shell.'); } var terminal_name = (function () { @@ -553,7 +553,7 @@ function onOptionsChanged() { return 'Bash'; })(); if (os_windows) { - pre_text.push('Close and re-open ' + terminal_name + ' if PATH environment variable was changed.'); + pre_text.push('Close and re-open ' + terminal_name + ' if the PATH environment variable was changed.'); } pre_text.push('Run these commands in ' + terminal_name + ' to build TDLib and to install it to ' + install_dir + ':'); document.getElementById('buildPre').innerHTML = '';