Fix typos.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-04-19 13:50:40 -07:00
parent 2eea4a32a5
commit 6e8fe36876
14 changed files with 25 additions and 25 deletions

View File

@@ -77,7 +77,7 @@ export type RendererMessage = {
toggletray: () => void; toggletray: () => void;
tray: (arg: number) => void; tray: (arg: number) => void;
"update-realm-icon": (serverURL: string, iconURL: string) => void; "update-realm-icon": (serverURL: string, iconURL: string) => void;
"update-realm-name": (serveRURL: string, realmName: string) => void; "update-realm-name": (serverURL: string, realmName: string) => void;
"webview-reload": () => void; "webview-reload": () => void;
zoomActualSize: () => void; zoomActualSize: () => void;
zoomIn: () => void; zoomIn: () => void;

View File

@@ -30,7 +30,7 @@ export async function appUpdater(updateFromMenu = false): Promise<void> {
let updateAvailable = false; let updateAvailable = false;
// Log whats happening // Log what's happening
log.transports.file.fileName = "updates.log"; log.transports.file.fileName = "updates.log";
log.transports.file.level = "info"; log.transports.file.level = "info";
autoUpdater.logger = log; autoUpdater.logger = log;

View File

@@ -201,7 +201,7 @@ export default class WebView {
return; return;
} }
// To show or hide the loading indicator in the the active tab // To show or hide the loading indicator in the active tab
this.$webviewsContainer.toggle("loaded", !this.loading); this.$webviewsContainer.toggle("loaded", !this.loading);
this.$el.classList.add("active"); this.$el.classList.add("active");

View File

@@ -105,7 +105,7 @@ ipcRenderer.on("set-idle", () => {
// This follows node's idiomatic implementation of event // This follows node's idiomatic implementation of event
// emitters to make event handling more simpler instead of using // emitters to make event handling more simpler instead of using
// functions zulip side will emit event using ElectronBrigde.send_event // functions zulip side will emit event using ElectronBridge.send_event
// which is alias of .emit and on this side we can handle the data by adding // which is alias of .emit and on this side we can handle the data by adding
// a listener for the event. // a listener for the event.
export default electron_bridge; export default electron_bridge;

View File

@@ -592,7 +592,7 @@ export function initGeneralSection({$root}: GeneralSectionProps): void {
} }
function initSpellChecker(): void { function initSpellChecker(): void {
// The elctron API is a no-op on macOS and macOS default spellchecker is used. // The Electron API is a no-op on macOS and macOS default spellchecker is used.
if (process.platform === "darwin") { if (process.platform === "darwin") {
const note: HTMLElement = $root.querySelector("#note")!; const note: HTMLElement = $root.querySelector("#note")!;
note.append(t.__("On macOS, the OS spellchecker is used.")); note.append(t.__("On macOS, the OS spellchecker is used."));

View File

@@ -193,10 +193,10 @@ All notable changes to the Zulip desktop app are documented in this file.
**New features**: **New features**:
- Add a cancel button in the report-issue modal. - Add a cancel button in the report-issue modal.
- macOS: Use electron API to get dark tray icon instead of the green icon for the light theme. - macOS: Use Electron API to get dark tray icon instead of the green icon for the light theme.
- Remove 'Reset App Data' option. Factory Reset option has been moved to Settings → General. - Remove 'Reset App Data' option. Factory Reset option has been moved to Settings → General.
- Support pkg installer on macOS. - Support pkg installer on macOS.
- Use electron 8 built-in spellchecker. Linux and Windows users can now choose upto three spellchecker languages from Settings → General. On macOS, default spellchecker is used. - Use Electron 8 built-in spellchecker. Linux and Windows users can now choose up to three spellchecker languages from Settings → General. On macOS, default spellchecker is used.
- Setup Transifex for better synchronization of translations. The application now supports 41 languages instead of 21. - Setup Transifex for better synchronization of translations. The application now supports 41 languages instead of 21.
**Dependencies**: **Dependencies**:
@@ -355,7 +355,7 @@ All notable changes to the Zulip desktop app are documented in this file.
**Development**: **Development**:
- Migrate codebase to TypeScript. - Migrate codebase to TypeScript.
- Set the indent_size in `.editconfig` to 4. - Set the indent_size in `.editorconfig` to 4.
- Use `.env` file for reading Sentry DSN. - Use `.env` file for reading Sentry DSN.
**Documentation**: **Documentation**:
@@ -424,7 +424,7 @@ All notable changes to the Zulip desktop app are documented in this file.
- Fix typo in network error message. - Fix typo in network error message.
- Fix context menu not working on adding new org. - Fix context menu not working on adding new org.
- Fix reply from notification. - Fix reply from notification.
- Fix shorcut section horizontal alignment. - Fix shortcut section horizontal alignment.
- Fix broken link in docs. - Fix broken link in docs.
- Fix grammatical errors. - Fix grammatical errors.
- Fix typo error in issue template. - Fix typo error in issue template.
@@ -500,7 +500,7 @@ All notable changes to the Zulip desktop app are documented in this file.
**Fixes**: **Fixes**:
- Fix youtube video not playing in lightbox. - Fix YouTube video not playing in lightbox.
- Fix realm name not escaped properly. - Fix realm name not escaped properly.
<hr> <hr>
@@ -510,7 +510,7 @@ All notable changes to the Zulip desktop app are documented in this file.
**New features**: **New features**:
- Add a setting option to show downloaded file in file manager. - Add a setting option to show downloaded file in file manager.
- Added electron bridge to communicate with webapp in real time. - Added Electron bridge to communicate with web app in real time.
**Fixes**: **Fixes**:
@@ -1102,7 +1102,7 @@ Minor improvements
- Using two package.json structure - Using two package.json structure
- Node integration disabled in main window due to jquery error - Node integration disabled in main window due to jQuery error
- Now using electron-builder for packaging instead of electron-packager - Now using electron-builder for packaging instead of electron-packager

View File

@@ -49,7 +49,7 @@ If [NPM](https://www.npmjs.com/get-npm) and [node-gyp](https://github.com/nodejs
[node-windows]: https://nodejs.org/en/download/package-manager/#windows [node-windows]: https://nodejs.org/en/download/package-manager/#windows
- Also, install install Windows-Build-Tools to compile native node modules by using - Also, install Windows-Build-Tools to compile native node modules by using
```sh ```sh
$ npm install --global windows-build-tools $ npm install --global windows-build-tools
``` ```

View File

@@ -5,13 +5,13 @@
- [Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - [Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- [Node.js](https://nodejs.org) >= v6.9.0 - [Node.js](https://nodejs.org) >= v6.9.0
- [python](https://www.python.org/downloads/release/python-2713/) (v2.7.x recommended) - [python](https://www.python.org/downloads/release/python-2713/) (v2.7.x recommended)
- [node-gyp](https://github.com/nodejs/node-gyp#installation) (installed via powershell) - [node-gyp](https://github.com/nodejs/node-gyp#installation) (installed via PowerShell)
## System specific dependencies ## System specific dependencies
- use only 32bit or 64bit for all of the installers, do not mix architectures - use only 32bit or 64bit for all of the installers, do not mix architectures
- install using default settings - install using default settings
- open Windows Powershell as Admin - open Windows PowerShell as Admin
```powershell ```powershell
C:\Windows\system32> npm install --global --production windows-build-tools C:\Windows\system32> npm install --global --production windows-build-tools

View File

@@ -17,7 +17,7 @@ module.exports = {
// Returns a promise that resolves to an Electron Application once the app has loaded. // Returns a promise that resolves to an Electron Application once the app has loaded.
function createApp() { function createApp() {
return _electron.launch({ return _electron.launch({
args: [path.join(__dirname)], // Ensure this dir has a package.json file with a 'main' entry piont args: [path.join(__dirname)], // Ensure this dir has a package.json file with a 'main' entry point
}); });
} }