Compare commits

..

20 Commits

Author SHA1 Message Date
Anders Kaseorg
38c7695a99 release: New release v5.11.1.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-23 16:31:21 -07:00
Anders Kaseorg
b268fe9478 Sign Windows binaries with Azure Trusted Signing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-23 16:22:19 -07:00
Anders Kaseorg
981a262836 xo: Remove obsolete scripts/notarize.js options.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:18:05 -07:00
Anders Kaseorg
527bb5ab2f Upgrade dependencies, including Electron 32.0.1.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:13:32 -07:00
Anders Kaseorg
e2947a0ce6 translations: Update translations from Transifex.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:13:27 -07:00
Anders Kaseorg
3b2c758e09 translations: Sort supported-locales by display name.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:13:27 -07:00
Anders Kaseorg
4867fc672a preference: Sort spellchecker language names with localeCompare.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:13:27 -07:00
Anders Kaseorg
f85f05d66b preference: Show spellchecker language names from Intl.DisplayNames.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-22 16:13:27 -07:00
Anders Kaseorg
39fd0e9877 tsconfig: Work around @sentry/electron regression.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-07 14:58:13 -07:00
Anders Kaseorg
f6ff112f0e stylelint: Fix declaration-block-no-shorthand-property-overrides.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-07 14:53:08 -07:00
Anders Kaseorg
6fcd1ef0d5 Remove rimraf.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-06 22:55:40 -07:00
Misha Brukman
92260b0f97 ci: Replace Travis CI badge with GitHub Actions.
Travis CI was replaced with GitHub Actions in this project.
2024-07-02 15:41:59 -07:00
Anders Kaseorg
c45c9537d1 release: New release v5.11.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-22 16:19:52 -07:00
Anders Kaseorg
0eb4c9236e Upgrade dependencies, including Electron 29.1.5.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-22 16:12:34 -07:00
Anders Kaseorg
47366b7617 xo: Fix unicorn/prevent-abbreviations.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-22 16:07:32 -07:00
Anders Kaseorg
86e28f5b00 xo: Fix import/no-duplicates.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-22 15:33:00 -07:00
Anders Kaseorg
7072a41e01 Remove dialog for certificate errors on subresources.
Fixes #1119.  Closes #1277.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-22 14:56:23 -07:00
enesonus
79f6f13008 Allow hiding the window from full screen mode on macOS.
Fixes #1187.
2024-03-22 14:39:48 -07:00
Anders Kaseorg
70f0170f1d webview: Enable zooming with the mouse wheel.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-21 15:32:52 -07:00
Anders Kaseorg
bc75eba2bd webview: Use an exponential scale for zooming.
This matches the native Electron behavior.

Fixes part of #1360 by removing the separate zoomFactor state
variable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-03-21 15:31:56 -07:00
82 changed files with 4544 additions and 3799 deletions

View File

@@ -1,6 +1,6 @@
# Zulip Desktop Client
[![Build Status](https://travis-ci.com/zulip/zulip-desktop.svg?branch=main)](https://travis-ci.com/github/zulip/zulip-desktop)
[![Build Status](https://github.com/zulip/zulip-desktop/actions/workflows/node.js.yml/badge.svg)](https://github.com/zulip/zulip-desktop/actions/workflows/node.js.yml?query=branch%3Amain)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/zulip/zulip-desktop?branch=main&svg=true)](https://ci.appveyor.com/project/zulip/zulip-desktop/branch/main)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://chat.zulip.org)

View File

@@ -19,23 +19,23 @@ const logger = new Logger({
file: "config-util.log",
});
let db: JsonDB;
let database: JsonDB;
reloadDb();
reloadDatabase();
export function getConfigItem<Key extends keyof Config>(
key: Key,
defaultValue: Config[Key],
): z.output<(typeof configSchemata)[Key]> {
try {
db.reload();
database.reload();
} catch (error: unknown) {
logger.error("Error while reloading settings.json: ");
logger.error(error);
}
try {
return configSchemata[key].parse(db.getObject<unknown>(`/${key}`));
return configSchemata[key].parse(database.getObject<unknown>(`/${key}`));
} catch (error: unknown) {
if (!(error instanceof DataError)) throw error;
setConfigItem(key, defaultValue);
@@ -46,13 +46,13 @@ export function getConfigItem<Key extends keyof Config>(
// This function returns whether a key exists in the configuration file (settings.json)
export function isConfigItemExists(key: string): boolean {
try {
db.reload();
database.reload();
} catch (error: unknown) {
logger.error("Error while reloading settings.json: ");
logger.error(error);
}
return db.exists(`/${key}`);
return database.exists(`/${key}`);
}
export function setConfigItem<Key extends keyof Config>(
@@ -66,16 +66,16 @@ export function setConfigItem<Key extends keyof Config>(
}
configSchemata[key].parse(value);
db.push(`/${key}`, value, true);
db.save();
database.push(`/${key}`, value, true);
database.save();
}
export function removeConfigItem(key: string): void {
db.delete(`/${key}`);
db.save();
database.delete(`/${key}`);
database.save();
}
function reloadDb(): void {
function reloadDatabase(): void {
const settingsJsonPath = path.join(
app.getPath("userData"),
"/config/settings.json",
@@ -96,5 +96,5 @@ function reloadDb(): void {
}
}
db = new JsonDB(settingsJsonPath, true, true);
database = new JsonDB(settingsJsonPath, true, true);
}

View File

@@ -4,30 +4,30 @@ import {app} from "zulip:remote";
let setupCompleted = false;
const zulipDir = app.getPath("userData");
const logDir = `${zulipDir}/Logs/`;
const configDir = `${zulipDir}/config/`;
const zulipDirectory = app.getPath("userData");
const logDirectory = `${zulipDirectory}/Logs/`;
const configDirectory = `${zulipDirectory}/config/`;
export const initSetUp = (): void => {
// If it is the first time the app is running
// create zulip dir in userData folder to
// avoid errors
if (!setupCompleted) {
if (!fs.existsSync(zulipDir)) {
fs.mkdirSync(zulipDir);
if (!fs.existsSync(zulipDirectory)) {
fs.mkdirSync(zulipDirectory);
}
if (!fs.existsSync(logDir)) {
fs.mkdirSync(logDir);
if (!fs.existsSync(logDirectory)) {
fs.mkdirSync(logDirectory);
}
// Migrate config files from app data folder to config folder inside app
// data folder. This will be done once when a user updates to the new version.
if (!fs.existsSync(configDir)) {
fs.mkdirSync(configDir);
const domainJson = `${zulipDir}/domain.json`;
const settingsJson = `${zulipDir}/settings.json`;
const updatesJson = `${zulipDir}/updates.json`;
const windowStateJson = `${zulipDir}/window-state.json`;
if (!fs.existsSync(configDirectory)) {
fs.mkdirSync(configDirectory);
const domainJson = `${zulipDirectory}/domain.json`;
const settingsJson = `${zulipDirectory}/settings.json`;
const updatesJson = `${zulipDirectory}/updates.json`;
const windowStateJson = `${zulipDirectory}/window-state.json`;
const configData = [
{
path: domainJson,
@@ -44,7 +44,7 @@ export const initSetUp = (): void => {
];
for (const data of configData) {
if (fs.existsSync(data.path)) {
fs.copyFileSync(data.path, configDir + data.fileName);
fs.copyFileSync(data.path, configDirectory + data.fileName);
fs.unlinkSync(data.path);
}
}

View File

@@ -20,9 +20,9 @@ const logger = new Logger({
let enterpriseSettings: Partial<EnterpriseConfig>;
let configFile: boolean;
reloadDb();
reloadDatabase();
function reloadDb(): void {
function reloadDatabase(): void {
let enterpriseFile = "/etc/zulip-desktop-config/global_config.json";
if (process.platform === "win32") {
enterpriseFile =
@@ -56,7 +56,7 @@ export function getConfigItem<Key extends keyof EnterpriseConfig>(
key: Key,
defaultValue: EnterpriseConfig[Key],
): EnterpriseConfig[Key] {
reloadDb();
reloadDatabase();
if (!configFile) {
return defaultValue;
}
@@ -66,7 +66,7 @@ export function getConfigItem<Key extends keyof EnterpriseConfig>(
}
export function configItemExists(key: keyof EnterpriseConfig): boolean {
reloadDb();
reloadDatabase();
if (!configFile) {
return false;
}

View File

@@ -11,8 +11,8 @@ export async function openBrowser(url: URL): Promise<void> {
} else {
// For security, indirect links to non-whitelisted protocols
// through a real web browser via a local HTML file.
const dir = fs.mkdtempSync(path.join(os.tmpdir(), "zulip-redirect-"));
const file = path.join(dir, "redirect.html");
const directory = fs.mkdtempSync(path.join(os.tmpdir(), "zulip-redirect-"));
const file = path.join(directory, "redirect.html");
fs.writeFileSync(
file,
html`
@@ -37,7 +37,7 @@ export async function openBrowser(url: URL): Promise<void> {
await shell.openPath(file);
setTimeout(() => {
fs.unlinkSync(file);
fs.rmdirSync(dir);
fs.rmdirSync(directory);
}, 15_000);
}
}

View File

@@ -13,7 +13,7 @@ type LoggerOptions = {
initSetUp();
const logDir = `${app.getPath("userData")}/Logs`;
const logDirectory = `${app.getPath("userData")}/Logs`;
type Level = "log" | "debug" | "info" | "warn" | "error";
@@ -23,7 +23,7 @@ export default class Logger {
constructor(options: LoggerOptions = {}) {
let {file = "console.log"} = options;
file = `${logDir}/${file}`;
file = `${logDirectory}/${file}`;
// Trim log according to type of process
if (process.type === "renderer") {
@@ -38,31 +38,31 @@ export default class Logger {
this.nodeConsole = nodeConsole;
}
_log(type: Level, ...args: unknown[]): void {
args.unshift(this.getTimestamp() + " |\t");
args.unshift(type.toUpperCase() + " |");
this.nodeConsole[type](...args);
console[type](...args);
_log(type: Level, ...arguments_: unknown[]): void {
arguments_.unshift(this.getTimestamp() + " |\t");
arguments_.unshift(type.toUpperCase() + " |");
this.nodeConsole[type](...arguments_);
console[type](...arguments_);
}
log(...args: unknown[]): void {
this._log("log", ...args);
log(...arguments_: unknown[]): void {
this._log("log", ...arguments_);
}
debug(...args: unknown[]): void {
this._log("debug", ...args);
debug(...arguments_: unknown[]): void {
this._log("debug", ...arguments_);
}
info(...args: unknown[]): void {
this._log("info", ...args);
info(...arguments_: unknown[]): void {
this._log("info", ...arguments_);
}
warn(...args: unknown[]): void {
this._log("warn", ...args);
warn(...arguments_: unknown[]): void {
this._log("warn", ...arguments_);
}
error(...args: unknown[]): void {
this._log("error", ...args);
error(...arguments_: unknown[]): void {
this._log("error", ...arguments_);
}
getTimestamp(): string {

View File

@@ -1,5 +1,5 @@
import type {DndSettings} from "./dnd-util.js";
import type {MenuProps, ServerConf} from "./types.js";
import type {MenuProperties, ServerConfig} from "./types.js";
export type MainMessage = {
"clear-app-settings": () => void;
@@ -21,12 +21,12 @@ export type MainMessage = {
toggleAutoLauncher: (AutoLaunchValue: boolean) => void;
"unread-count": (unreadCount: number) => void;
"update-badge": (messageCount: number) => void;
"update-menu": (props: MenuProps) => void;
"update-menu": (properties: MenuProperties) => void;
"update-taskbar-icon": (data: string, text: string) => void;
};
export type MainCall = {
"get-server-settings": (domain: string) => ServerConf;
"get-server-settings": (domain: string) => ServerConfig;
"is-online": (url: string) => boolean;
"poll-clipboard": (key: Uint8Array, sig: Uint8Array) => string | undefined;
"save-server-icon": (iconURL: string) => string | null;
@@ -74,7 +74,7 @@ export type RendererMessage = {
"toggle-silent": (state: boolean) => void;
"toggle-tray": (state: boolean) => void;
toggletray: () => void;
tray: (arg: number) => void;
tray: (argument: number) => void;
"update-realm-icon": (serverURL: string, iconURL: string) => void;
"update-realm-name": (serverURL: string, realmName: string) => void;
"webview-reload": () => void;

View File

@@ -1,17 +1,17 @@
export type MenuProps = {
export type MenuProperties = {
tabs: TabData[];
activeTabIndex?: number;
enableMenu?: boolean;
};
export type NavItem =
export type NavigationItem =
| "General"
| "Network"
| "AddServer"
| "Organizations"
| "Shortcuts";
export type ServerConf = {
export type ServerConfig = {
url: string;
alias: string;
icon: string;

View File

@@ -3,8 +3,11 @@ import {app, dialog, session} from "electron/main";
import process from "node:process";
import log from "electron-log/main";
import type {UpdateDownloadedEvent, UpdateInfo} from "electron-updater";
import {autoUpdater} from "electron-updater";
import {
type UpdateDownloadedEvent,
type UpdateInfo,
autoUpdater,
} from "electron-updater";
import * as ConfigUtil from "../common/config-util.js";

View File

@@ -1,6 +1,5 @@
import {nativeImage} from "electron/common";
import type {BrowserWindow} from "electron/main";
import {app} from "electron/main";
import {type BrowserWindow, app} from "electron/main";
import process from "node:process";
import * as ConfigUtil from "../common/config-util.js";

View File

@@ -1,11 +1,11 @@
import type {Event} from "electron/common";
import {shell} from "electron/common";
import type {
HandlerDetails,
SaveDialogOptions,
WebContents,
import {type Event, shell} from "electron/common";
import {
type HandlerDetails,
Notification,
type SaveDialogOptions,
type WebContents,
app,
} from "electron/main";
import {Notification, app} from "electron/main";
import fs from "node:fs";
import path from "node:path";

View File

@@ -1,8 +1,8 @@
import type {Event} from "electron/common";
import {clipboard} from "electron/common";
import type {IpcMainEvent, WebContents} from "electron/main";
import {
BrowserWindow,
type IpcMainEvent,
type WebContents,
app,
dialog,
powerMonitor,
@@ -20,7 +20,7 @@ import windowStateKeeper from "electron-window-state";
import * as ConfigUtil from "../common/config-util.js";
import {bundlePath, bundleUrl, publicPath} from "../common/paths.js";
import type {RendererMessage} from "../common/typed-ipc.js";
import type {MenuProps} from "../common/types.js";
import type {MenuProperties} from "../common/types.js";
import {appUpdater, shouldQuitForUpdate} from "./autoupdater.js";
import * as BadgeSettings from "./badge-settings.js";
@@ -110,7 +110,14 @@ function createMainWindow(): BrowserWindow {
event.preventDefault();
if (process.platform === "darwin") {
app.hide();
if (win.isFullScreen()) {
win.setFullScreen(false);
win.once("leave-full-screen", () => {
app.hide();
});
} else {
app.hide();
}
} else {
win.hide();
}
@@ -299,18 +306,24 @@ function createMainWindow(): BrowserWindow {
app.on(
"certificate-error",
(
event: Event,
webContents: WebContents,
urlString: string,
error: string,
event,
webContents,
urlString,
error,
certificate,
callback,
isMainFrame,
// eslint-disable-next-line max-params
) => {
const url = new URL(urlString);
dialog.showErrorBox(
"Certificate error",
`The server presented an invalid certificate for ${url.origin}:
if (isMainFrame) {
const url = new URL(urlString);
dialog.showErrorBox(
"Certificate error",
`The server presented an invalid certificate for ${url.origin}:
${error}`,
);
);
}
},
);
@@ -411,10 +424,10 @@ ${error}`,
},
);
ipcMain.on("update-menu", (_event, props: MenuProps) => {
AppMenu.setMenu(props);
if (props.activeTabIndex !== undefined) {
const activeTab = props.tabs[props.activeTabIndex];
ipcMain.on("update-menu", (_event, properties: MenuProperties) => {
AppMenu.setMenu(properties);
if (properties.activeTabIndex !== undefined) {
const activeTab = properties.tabs[properties.activeTabIndex];
mainWindow.setTitle(`Zulip - ${activeTab.name}`);
}
});

View File

@@ -11,18 +11,18 @@ const logger = new Logger({
file: "linux-update-util.log",
});
let db: JsonDB;
let database: JsonDB;
reloadDb();
reloadDatabase();
export function getUpdateItem(
key: string,
defaultValue: true | null = null,
): true | null {
reloadDb();
reloadDatabase();
let value: unknown;
try {
value = db.getObject<unknown>(`/${key}`);
value = database.getObject<unknown>(`/${key}`);
} catch (error: unknown) {
if (!(error instanceof DataError)) throw error;
}
@@ -36,16 +36,16 @@ export function getUpdateItem(
}
export function setUpdateItem(key: string, value: true | null): void {
db.push(`/${key}`, value, true);
reloadDb();
database.push(`/${key}`, value, true);
reloadDatabase();
}
export function removeUpdateItem(key: string): void {
db.delete(`/${key}`);
reloadDb();
database.delete(`/${key}`);
reloadDatabase();
}
function reloadDb(): void {
function reloadDatabase(): void {
const linuxUpdateJsonPath = path.join(
app.getPath("userData"),
"/config/updates.json",
@@ -65,5 +65,5 @@ function reloadDb(): void {
}
}
db = new JsonDB(linuxUpdateJsonPath, true, true);
database = new JsonDB(linuxUpdateJsonPath, true, true);
}

View File

@@ -1,5 +1,4 @@
import type {Session} from "electron/main";
import {Notification, app} from "electron/main";
import {Notification, type Session, app} from "electron/main";
import * as semver from "semver";
import {z} from "zod";

View File

@@ -1,6 +1,10 @@
import {shell} from "electron/common";
import type {MenuItemConstructorOptions} from "electron/main";
import {BrowserWindow, Menu, app} from "electron/main";
import {
BrowserWindow,
Menu,
type MenuItemConstructorOptions,
app,
} from "electron/main";
import process from "node:process";
import AdmZip from "adm-zip";
@@ -9,7 +13,7 @@ import * as ConfigUtil from "../common/config-util.js";
import * as DNDUtil from "../common/dnd-util.js";
import * as t from "../common/translation-util.js";
import type {RendererMessage} from "../common/typed-ipc.js";
import type {MenuProps, TabData} from "../common/types.js";
import type {MenuProperties, TabData} from "../common/types.js";
import {appUpdater} from "./autoupdater.js";
import {send} from "./typed-ipc-main.js";
@@ -368,8 +372,10 @@ function getWindowSubmenu(
return initialSubmenu;
}
function getDarwinTpl(props: MenuProps): MenuItemConstructorOptions[] {
const {tabs, activeTabIndex, enableMenu = false} = props;
function getDarwinTpl(
properties: MenuProperties,
): MenuItemConstructorOptions[] {
const {tabs, activeTabIndex, enableMenu = false} = properties;
return [
{
@@ -533,8 +539,8 @@ function getDarwinTpl(props: MenuProps): MenuItemConstructorOptions[] {
];
}
function getOtherTpl(props: MenuProps): MenuItemConstructorOptions[] {
const {tabs, activeTabIndex, enableMenu = false} = props;
function getOtherTpl(properties: MenuProperties): MenuItemConstructorOptions[] {
const {tabs, activeTabIndex, enableMenu = false} = properties;
return [
{
label: t.__("File"),
@@ -683,7 +689,7 @@ function getOtherTpl(props: MenuProps): MenuItemConstructorOptions[] {
function sendAction<Channel extends keyof RendererMessage>(
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void {
const win = BrowserWindow.getAllWindows()[0];
@@ -691,7 +697,7 @@ function sendAction<Channel extends keyof RendererMessage>(
win.restore();
}
send(win.webContents, channel, ...args);
send(win.webContents, channel, ...arguments_);
}
async function checkForUpdate(): Promise<void> {
@@ -714,9 +720,11 @@ function getPreviousServer(tabs: TabData[], activeTabIndex: number): number {
return activeTabIndex;
}
export function setMenu(props: MenuProps): void {
export function setMenu(properties: MenuProperties): void {
const tpl =
process.platform === "darwin" ? getDarwinTpl(props) : getOtherTpl(props);
process.platform === "darwin"
? getDarwinTpl(properties)
: getOtherTpl(properties);
const menu = Menu.buildFromTemplate(tpl);
Menu.setApplicationMenu(menu);
}

View File

@@ -1,5 +1,4 @@
import type {Session} from "electron/main";
import {app} from "electron/main";
import {type Session, app} from "electron/main";
import fs from "node:fs";
import path from "node:path";
import {Readable} from "node:stream";
@@ -11,7 +10,7 @@ import {z} from "zod";
import Logger from "../common/logger-util.js";
import * as Messages from "../common/messages.js";
import type {ServerConf} from "../common/types.js";
import type {ServerConfig} from "../common/types.js";
/* Request: domain-util */
@@ -20,7 +19,7 @@ const logger = new Logger({
});
const generateFilePath = (url: string): string => {
const dir = `${app.getPath("userData")}/server-icons`;
const directory = `${app.getPath("userData")}/server-icons`;
const extension = path.extname(url).split("?")[0];
let hash = 5381;
@@ -32,18 +31,18 @@ const generateFilePath = (url: string): string => {
}
// Create 'server-icons' directory if not existed
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
if (!fs.existsSync(directory)) {
fs.mkdirSync(directory);
}
// eslint-disable-next-line no-bitwise
return `${dir}/${hash >>> 0}${extension}`;
return `${directory}/${hash >>> 0}${extension}`;
};
export const _getServerSettings = async (
domain: string,
session: Session,
): Promise<ServerConf> => {
): Promise<ServerConfig> => {
const response = await session.fetch(domain + "/api/v1/server_settings");
if (!response.ok) {
throw new Error(Messages.invalidZulipServerError(domain));

View File

@@ -1,9 +1,7 @@
import type {
IpcMainEvent,
IpcMainInvokeEvent,
WebContents,
} from "electron/main";
import {
type IpcMainEvent,
type IpcMainInvokeEvent,
type WebContents,
ipcMain as untypedIpcMain, // eslint-disable-line no-restricted-imports
} from "electron/main";
@@ -14,14 +12,20 @@ import type {
} from "../common/typed-ipc.js";
type MainListener<Channel extends keyof MainMessage> =
MainMessage[Channel] extends (...args: infer Args) => infer Return
? (event: IpcMainEvent & {returnValue: Return}, ...args: Args) => void
MainMessage[Channel] extends (...arguments_: infer Arguments) => infer Return
? (
event: IpcMainEvent & {returnValue: Return},
...arguments_: Arguments
) => void
: never;
type MainHandler<Channel extends keyof MainCall> = MainCall[Channel] extends (
...args: infer Args
...arguments_: infer Arguments
) => infer Return
? (event: IpcMainInvokeEvent, ...args: Args) => Return | Promise<Return>
? (
event: IpcMainInvokeEvent,
...arguments_: Arguments
) => Return | Promise<Return>
: never;
export const ipcMain: {
@@ -30,7 +34,7 @@ export const ipcMain: {
listener: <Channel extends keyof RendererMessage>(
event: IpcMainEvent,
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
) => void,
): void;
on(
@@ -39,7 +43,7 @@ export const ipcMain: {
event: IpcMainEvent,
webContentsId: number,
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
) => void,
): void;
on<Channel extends keyof MainMessage>(
@@ -69,16 +73,16 @@ export const ipcMain: {
export function send<Channel extends keyof RendererMessage>(
contents: WebContents,
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void {
contents.send(channel, ...args);
contents.send(channel, ...arguments_);
}
export function sendToFrame<Channel extends keyof RendererMessage>(
contents: WebContents,
frameId: number | [number, number],
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void {
contents.sendToFrame(frameId, channel, ...args);
contents.sendToFrame(frameId, channel, ...arguments_);
}

View File

@@ -578,7 +578,6 @@ input.toggle-round:checked + label::after {
text-align: center;
color: rgb(255 255 255 / 100%);
background: rgb(78 191 172 / 100%);
border-color: none;
border: none;
width: 98%;
height: 46px;

View File

@@ -20,7 +20,7 @@ export type ClipboardDecrypter = {
pasted: Promise<string>;
};
export class ClipboardDecrypterImpl implements ClipboardDecrypter {
export class ClipboardDecrypterImplementation implements ClipboardDecrypter {
version: number;
key: Uint8Array;
pasted: Promise<string>;

View File

@@ -1,5 +1,4 @@
import type {Event} from "electron/common";
import {clipboard} from "electron/common";
import {type Event, clipboard} from "electron/common";
import type {WebContents} from "electron/main";
import type {
ContextMenuParams,
@@ -14,11 +13,11 @@ import * as t from "../../../common/translation-util.js";
export const contextMenu = (
webContents: WebContents,
event: Event,
props: ContextMenuParams,
properties: ContextMenuParams,
) => {
const isText = props.selectionText !== "";
const isLink = props.linkURL !== "";
const linkUrl = isLink ? new URL(props.linkURL) : undefined;
const isText = properties.selectionText !== "";
const isLink = properties.linkURL !== "";
const linkUrl = isLink ? new URL(properties.linkURL) : undefined;
const makeSuggestion = (suggestion: string) => ({
label: suggestion,
@@ -31,19 +30,21 @@ export const contextMenu = (
let menuTemplate: MenuItemConstructorOptions[] = [
{
label: t.__("Add to Dictionary"),
visible: props.isEditable && isText && props.misspelledWord.length > 0,
visible:
properties.isEditable && isText && properties.misspelledWord.length > 0,
click(_item) {
webContents.session.addWordToSpellCheckerDictionary(
props.misspelledWord,
properties.misspelledWord,
);
},
},
{
type: "separator",
visible: props.isEditable && isText && props.misspelledWord.length > 0,
visible:
properties.isEditable && isText && properties.misspelledWord.length > 0,
},
{
label: `${t.__("Look Up")} "${props.selectionText}"`,
label: `${t.__("Look Up")} "${properties.selectionText}"`,
visible: process.platform === "darwin" && isText,
click(_item) {
webContents.showDefinitionForSelection();
@@ -56,7 +57,7 @@ export const contextMenu = (
{
label: t.__("Cut"),
visible: isText,
enabled: props.isEditable,
enabled: properties.isEditable,
accelerator: "CommandOrControl+X",
click(_item) {
webContents.cut();
@@ -65,7 +66,7 @@ export const contextMenu = (
{
label: t.__("Copy"),
accelerator: "CommandOrControl+C",
enabled: props.editFlags.canCopy,
enabled: properties.editFlags.canCopy,
click(_item) {
webContents.copy();
},
@@ -73,7 +74,7 @@ export const contextMenu = (
{
label: t.__("Paste"), // Bug: Paste replaces text
accelerator: "CommandOrControl+V",
enabled: props.isEditable,
enabled: properties.isEditable,
click() {
webContents.paste();
},
@@ -89,32 +90,34 @@ export const contextMenu = (
visible: isLink,
click(_item) {
clipboard.write({
bookmark: props.linkText,
bookmark: properties.linkText,
text:
linkUrl?.protocol === "mailto:" ? linkUrl.pathname : props.linkURL,
linkUrl?.protocol === "mailto:"
? linkUrl.pathname
: properties.linkURL,
});
},
},
{
label: t.__("Copy Image"),
visible: props.mediaType === "image",
visible: properties.mediaType === "image",
click(_item) {
webContents.copyImageAt(props.x, props.y);
webContents.copyImageAt(properties.x, properties.y);
},
},
{
label: t.__("Copy Image URL"),
visible: props.mediaType === "image",
visible: properties.mediaType === "image",
click(_item) {
clipboard.write({
bookmark: props.srcURL,
text: props.srcURL,
bookmark: properties.srcURL,
text: properties.srcURL,
});
},
},
{
type: "separator",
visible: isLink || props.mediaType === "image",
visible: isLink || properties.mediaType === "image",
},
{
label: t.__("Services"),
@@ -123,10 +126,10 @@ export const contextMenu = (
},
];
if (props.misspelledWord) {
if (props.dictionarySuggestions.length > 0) {
if (properties.misspelledWord) {
if (properties.dictionarySuggestions.length > 0) {
const suggestions: MenuItemConstructorOptions[] =
props.dictionarySuggestions.map((suggestion: string) =>
properties.dictionarySuggestions.map((suggestion: string) =>
makeSuggestion(suggestion),
);
menuTemplate = [...suggestions, ...menuTemplate];

View File

@@ -1,26 +1,24 @@
import type {Html} from "../../../common/html.js";
import {html} from "../../../common/html.js";
import {type Html, html} from "../../../common/html.js";
import {generateNodeFromHtml} from "./base.js";
import type {TabProps} from "./tab.js";
import Tab from "./tab.js";
import Tab, {type TabProperties} from "./tab.js";
export type FunctionalTabProps = {
export type FunctionalTabProperties = {
$view: Element;
} & TabProps;
} & TabProperties;
export default class FunctionalTab extends Tab {
$view: Element;
$el: Element;
$closeButton?: Element;
constructor({$view, ...props}: FunctionalTabProps) {
super(props);
constructor({$view, ...properties}: FunctionalTabProperties) {
super(properties);
this.$view = $view;
this.$el = generateNodeFromHtml(this.templateHtml());
if (this.props.name !== "Settings") {
this.props.$root.append(this.$el);
if (this.properties.name !== "Settings") {
this.properties.$root.append(this.$el);
this.$closeButton = this.$el.querySelector(".server-tab-badge")!;
this.registerListeners();
}
@@ -43,12 +41,12 @@ export default class FunctionalTab extends Tab {
templateHtml(): Html {
return html`
<div class="tab functional-tab" data-tab-id="${this.props.tabIndex}">
<div class="tab functional-tab" data-tab-id="${this.properties.tabIndex}">
<div class="server-tab-badge close-button">
<i class="material-icons">close</i>
</div>
<div class="server-tab">
<i class="material-icons">${this.props.materialIcon}</i>
<i class="material-icons">${this.properties.materialIcon}</i>
</div>
</div>
`;
@@ -66,7 +64,7 @@ export default class FunctionalTab extends Tab {
});
this.$closeButton?.addEventListener("click", (event) => {
this.props.onDestroy?.();
this.properties.onDestroy?.();
event.stopPropagation();
});
}

View File

@@ -1,17 +1,15 @@
import process from "node:process";
import type {Html} from "../../../common/html.js";
import {html} from "../../../common/html.js";
import {type Html, html} from "../../../common/html.js";
import {ipcRenderer} from "../typed-ipc-renderer.js";
import {generateNodeFromHtml} from "./base.js";
import type {TabProps} from "./tab.js";
import Tab from "./tab.js";
import Tab, {type TabProperties} from "./tab.js";
import type WebView from "./webview.js";
export type ServerTabProps = {
export type ServerTabProperties = {
webview: Promise<WebView>;
} & TabProps;
} & TabProperties;
export default class ServerTab extends Tab {
webview: Promise<WebView>;
@@ -20,12 +18,12 @@ export default class ServerTab extends Tab {
$icon: HTMLImageElement;
$badge: Element;
constructor({webview, ...props}: ServerTabProps) {
super(props);
constructor({webview, ...properties}: ServerTabProperties) {
super(properties);
this.webview = webview;
this.$el = generateNodeFromHtml(this.templateHtml());
this.props.$root.append(this.$el);
this.properties.$root.append(this.$el);
this.registerListeners();
this.$name = this.$el.querySelector(".server-tooltip")!;
this.$icon = this.$el.querySelector(".server-icons")!;
@@ -49,13 +47,13 @@ export default class ServerTab extends Tab {
templateHtml(): Html {
return html`
<div class="tab" data-tab-id="${this.props.tabIndex}">
<div class="tab" data-tab-id="${this.properties.tabIndex}">
<div class="server-tooltip" style="display:none">
${this.props.name}
${this.properties.name}
</div>
<div class="server-tab-badge"></div>
<div class="server-tab">
<img class="server-icons" src="${this.props.icon}" />
<img class="server-icons" src="${this.properties.icon}" />
</div>
<div class="server-tab-shortcut">${this.generateShortcutText()}</div>
</div>
@@ -63,12 +61,12 @@ export default class ServerTab extends Tab {
}
setName(name: string): void {
this.props.name = name;
this.properties.name = name;
this.$name.textContent = name;
}
setIcon(icon: string): void {
this.props.icon = icon;
this.properties.icon = icon;
this.$icon.src = icon;
}
@@ -79,11 +77,11 @@ export default class ServerTab extends Tab {
generateShortcutText(): string {
// Only provide shortcuts for server [0..9]
if (this.props.index >= 9) {
if (this.properties.index >= 9) {
return "";
}
const shownIndex = this.props.index + 1;
const shownIndex = this.properties.index + 1;
// Array index == Shown index - 1
ipcRenderer.send("switch-server-tab", shownIndex - 1);

View File

@@ -1,6 +1,6 @@
import type {TabRole} from "../../../common/types.js";
export type TabProps = {
export type TabProperties = {
role: TabRole;
icon?: string;
name: string;
@@ -17,17 +17,17 @@ export type TabProps = {
export default abstract class Tab {
abstract $el: Element;
constructor(readonly props: TabProps) {}
constructor(readonly properties: TabProperties) {}
registerListeners(): void {
this.$el.addEventListener("click", this.props.onClick);
this.$el.addEventListener("click", this.properties.onClick);
if (this.props.onHover !== undefined) {
this.$el.addEventListener("mouseover", this.props.onHover);
if (this.properties.onHover !== undefined) {
this.$el.addEventListener("mouseover", this.properties.onHover);
}
if (this.props.onHoverOut !== undefined) {
this.$el.addEventListener("mouseout", this.props.onHoverOut);
if (this.properties.onHoverOut !== undefined) {
this.$el.addEventListener("mouseout", this.properties.onHoverOut);
}
}

View File

@@ -6,8 +6,7 @@ import * as remote from "@electron/remote";
import {app, dialog} from "@electron/remote";
import * as ConfigUtil from "../../../common/config-util.js";
import type {Html} from "../../../common/html.js";
import {html} from "../../../common/html.js";
import {type Html, html} from "../../../common/html.js";
import type {RendererMessage} from "../../../common/typed-ipc.js";
import type {TabRole} from "../../../common/types.js";
import preloadCss from "../../css/preload.css?raw";
@@ -19,7 +18,7 @@ import {contextMenu} from "./context-menu.js";
const shouldSilentWebview = ConfigUtil.getConfigItem("silent", false);
type WebViewProps = {
type WebViewProperties = {
$root: Element;
rootWebContents: WebContents;
index: number;
@@ -36,24 +35,24 @@ type WebViewProps = {
};
export default class WebView {
static templateHtml(props: WebViewProps): Html {
static templateHtml(properties: WebViewProperties): Html {
return html`
<div class="webview-pane">
<div
class="webview-unsupported"
${props.unsupportedMessage === undefined ? html`hidden` : html``}
${properties.unsupportedMessage === undefined ? html`hidden` : html``}
>
<span class="webview-unsupported-message"
>${props.unsupportedMessage ?? ""}</span
>${properties.unsupportedMessage ?? ""}</span
>
<span class="webview-unsupported-dismiss">×</span>
</div>
<webview
data-tab-id="${props.tabIndex}"
src="${props.url}"
${props.preload === undefined
data-tab-id="${properties.tabIndex}"
src="${properties.url}"
${properties.preload === undefined
? html``
: html`preload="${props.preload}"`}
: html`preload="${properties.preload}"`}
partition="persist:webviewsession"
allowpopups
>
@@ -62,11 +61,11 @@ export default class WebView {
`;
}
static async create(props: WebViewProps): Promise<WebView> {
static async create(properties: WebViewProperties): Promise<WebView> {
const $pane = generateNodeFromHtml(
WebView.templateHtml(props),
WebView.templateHtml(properties),
) as HTMLElement;
props.$root.append($pane);
properties.$root.append($pane);
const $webview: HTMLElement = $pane.querySelector(":scope > webview")!;
await new Promise<void>((resolve) => {
@@ -90,22 +89,21 @@ export default class WebView {
}
const selector = `webview[data-tab-id="${CSS.escape(
`${props.tabIndex}`,
`${properties.tabIndex}`,
)}"]`;
const webContentsId: unknown =
await props.rootWebContents.executeJavaScript(
await properties.rootWebContents.executeJavaScript(
`(${getWebContentsIdFunction.toString()})(${JSON.stringify(selector)})`,
);
if (typeof webContentsId !== "number") {
throw new TypeError("Failed to get WebContents ID");
}
return new WebView(props, $pane, $webview, webContentsId);
return new WebView(properties, $pane, $webview, webContentsId);
}
badgeCount = 0;
loading = true;
private zoomFactor = 1;
private customCss: string | false | null;
private readonly $webviewsContainer: DOMTokenList;
private readonly $unsupported: HTMLElement;
@@ -114,7 +112,7 @@ export default class WebView {
private unsupportedDismissed = false;
private constructor(
readonly props: WebViewProps,
readonly properties: WebViewProperties,
private readonly $pane: HTMLElement,
private readonly $webview: HTMLElement,
readonly webContentsId: number,
@@ -161,18 +159,15 @@ export default class WebView {
}
zoomIn(): void {
this.zoomFactor += 0.1;
this.getWebContents().setZoomFactor(this.zoomFactor);
this.getWebContents().zoomLevel += 0.5;
}
zoomOut(): void {
this.zoomFactor -= 0.1;
this.getWebContents().setZoomFactor(this.zoomFactor);
this.getWebContents().zoomLevel -= 0.5;
}
zoomActualSize(): void {
this.zoomFactor = 1;
this.getWebContents().setZoomFactor(this.zoomFactor);
this.getWebContents().zoomLevel = 0;
}
logOut(): void {
@@ -212,7 +207,7 @@ export default class WebView {
// Shows the loading indicator till the webview is reloaded
this.$webviewsContainer.remove("loaded");
this.loading = true;
this.props.switchLoading(true, this.props.url);
this.properties.switchLoading(true, this.properties.url);
this.getWebContents().reload();
}
@@ -224,9 +219,9 @@ export default class WebView {
send<Channel extends keyof RendererMessage>(
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void {
ipcRenderer.send("forward-to", this.webContentsId, channel, ...args);
ipcRenderer.send("forward-to", this.webContentsId, channel, ...arguments_);
}
private registerListeners(): void {
@@ -238,7 +233,7 @@ export default class WebView {
webContents.on("page-title-updated", (_event, title) => {
this.badgeCount = this.getBadgeCount(title);
this.props.onTitleChange();
this.properties.onTitleChange();
});
this.$webview.addEventListener("did-navigate-in-page", () => {
@@ -271,7 +266,7 @@ export default class WebView {
this.$webview.addEventListener("dom-ready", () => {
this.loading = false;
this.props.switchLoading(false, this.props.url);
this.properties.switchLoading(false, this.properties.url);
this.show();
});
@@ -280,24 +275,29 @@ export default class WebView {
SystemUtil.connectivityError.includes(errorDescription);
if (hasConnectivityError) {
console.error("error", errorDescription);
if (!this.props.url.includes("network.html")) {
this.props.onNetworkError(this.props.index);
if (!this.properties.url.includes("network.html")) {
this.properties.onNetworkError(this.properties.index);
}
}
});
this.$webview.addEventListener("did-start-loading", () => {
this.props.switchLoading(true, this.props.url);
this.properties.switchLoading(true, this.properties.url);
});
this.$webview.addEventListener("did-stop-loading", () => {
this.props.switchLoading(false, this.props.url);
this.properties.switchLoading(false, this.properties.url);
});
this.$unsupportedDismiss.addEventListener("click", () => {
this.unsupportedDismissed = true;
this.$unsupported.hidden = true;
});
webContents.on("zoom-changed", (event, zoomDirection) => {
if (zoomDirection === "in") this.zoomIn();
else if (zoomDirection === "out") this.zoomOut();
});
}
private getBadgeCount(title: string): number {
@@ -307,7 +307,7 @@ export default class WebView {
private show(): void {
// Do not show WebView if another tab was selected and this tab should be in background.
if (!this.props.isActive()) {
if (!this.properties.isActive()) {
return;
}
@@ -316,7 +316,7 @@ export default class WebView {
this.$pane.classList.add("active");
this.focus();
this.props.onTitleChange();
this.properties.onTitleChange();
// Injecting preload css in webview to override some css rules
(async () => this.getWebContents().insertCSS(preloadCss))();

View File

@@ -1,16 +1,17 @@
import {EventEmitter} from "node:events";
import type {ClipboardDecrypter} from "./clipboard-decrypter.js";
import {ClipboardDecrypterImpl} from "./clipboard-decrypter.js";
import type {NotificationData} from "./notification/index.js";
import {newNotification} from "./notification/index.js";
import {
type ClipboardDecrypter,
ClipboardDecrypterImplementation,
} from "./clipboard-decrypter.js";
import {type NotificationData, newNotification} from "./notification/index.js";
import {ipcRenderer} from "./typed-ipc-renderer.js";
type ListenerType = (...args: any[]) => void;
type ListenerType = (...arguments_: any[]) => void;
/* eslint-disable @typescript-eslint/naming-convention */
export type ElectronBridge = {
send_event: (eventName: string | symbol, ...args: unknown[]) => boolean;
send_event: (eventName: string | symbol, ...arguments_: unknown[]) => boolean;
on_event: (eventName: string, listener: ListenerType) => void;
new_notification: (
title: string,
@@ -35,8 +36,8 @@ export const bridgeEvents = new EventEmitter(); // eslint-disable-line unicorn/p
/* eslint-disable @typescript-eslint/naming-convention */
const electron_bridge: ElectronBridge = {
send_event: (eventName: string | symbol, ...args: unknown[]): boolean =>
bridgeEvents.emit(eventName, ...args),
send_event: (eventName: string | symbol, ...arguments_: unknown[]): boolean =>
bridgeEvents.emit(eventName, ...arguments_),
on_event(eventName: string, listener: ListenerType): void {
bridgeEvents.on(eventName, listener);
@@ -60,7 +61,7 @@ const electron_bridge: ElectronBridge = {
},
decrypt_clipboard: (version: number): ClipboardDecrypter =>
new ClipboardDecrypterImpl(version),
new ClipboardDecrypterImplementation(version),
};
/* eslint-enable @typescript-eslint/naming-convention */

View File

@@ -16,7 +16,11 @@ import * as LinkUtil from "../../common/link-util.js";
import Logger from "../../common/logger-util.js";
import * as Messages from "../../common/messages.js";
import {bundlePath, bundleUrl} from "../../common/paths.js";
import type {NavItem, ServerConf, TabData} from "../../common/types.js";
import type {
NavigationItem,
ServerConfig,
TabData,
} from "../../common/types.js";
import defaultIcon from "../img/icon.png";
import FunctionalTab from "./components/functional-tab.js";
@@ -248,8 +252,8 @@ export class ServerManagerView {
// promise of addition resolves in both cases, but we consider it rejected
// if the resolved value is false
try {
const serverConf = await DomainUtil.checkDomain(domain);
await DomainUtil.addDomain(serverConf);
const serverConfig = await DomainUtil.checkDomain(domain);
await DomainUtil.addDomain(serverConfig);
return true;
} catch (error: unknown) {
logger.error(error);
@@ -325,11 +329,14 @@ export class ServerManagerView {
for (const [i, server] of servers.entries()) {
const tab = this.initServer(server, i);
(async () => {
const serverConf = await DomainUtil.updateSavedServer(server.url, i);
tab.setName(serverConf.alias);
tab.setIcon(DomainUtil.iconAsUrl(serverConf.icon));
const serverConfig = await DomainUtil.updateSavedServer(
server.url,
i,
);
tab.setName(serverConfig.alias);
tab.setIcon(DomainUtil.iconAsUrl(serverConfig.icon));
(await tab.webview).setUnsupportedMessage(
DomainUtil.getUnsupportedMessage(serverConf),
DomainUtil.getUnsupportedMessage(serverConfig),
);
})();
}
@@ -364,7 +371,7 @@ export class ServerManagerView {
}
}
initServer(server: ServerConf, index: number): ServerTab {
initServer(server: ServerConfig, index: number): ServerTab {
const tabIndex = this.getTabIndex();
const tab = new ServerTab({
role: "server",
@@ -398,7 +405,7 @@ export class ServerManagerView {
const tab = this.tabs[this.activeTabIndex];
this.showLoading(
tab instanceof ServerTab &&
this.loading.has((await tab.webview).props.url),
this.loading.has((await tab.webview).properties.url),
);
},
onNetworkError: async (index: number) => {
@@ -481,7 +488,7 @@ export class ServerManagerView {
async getCurrentActiveServer(): Promise<string> {
const tab = this.tabs[this.activeTabIndex];
return tab instanceof ServerTab ? (await tab.webview).props.url : "";
return tab instanceof ServerTab ? (await tab.webview).properties.url : "";
}
displayInitialCharLogo($img: HTMLImageElement, index: number): void {
@@ -550,36 +557,36 @@ export class ServerManagerView {
this.$serverIconTooltip[index].style.display = "none";
}
async openFunctionalTab(tabProps: {
async openFunctionalTab(tabProperties: {
name: string;
materialIcon: string;
makeView: () => Promise<Element>;
destroyView: () => void;
}): Promise<void> {
if (this.functionalTabs.has(tabProps.name)) {
await this.activateTab(this.functionalTabs.get(tabProps.name)!);
if (this.functionalTabs.has(tabProperties.name)) {
await this.activateTab(this.functionalTabs.get(tabProperties.name)!);
return;
}
const index = this.tabs.length;
this.functionalTabs.set(tabProps.name, index);
this.functionalTabs.set(tabProperties.name, index);
const tabIndex = this.getTabIndex();
const $view = await tabProps.makeView();
const $view = await tabProperties.makeView();
this.$webviewsContainer.append($view);
this.tabs.push(
new FunctionalTab({
role: "function",
materialIcon: tabProps.materialIcon,
name: tabProps.name,
materialIcon: tabProperties.materialIcon,
name: tabProperties.name,
$root: this.$tabsContainer,
index,
tabIndex,
onClick: this.activateTab.bind(this, index),
onDestroy: async () => {
await this.destroyTab(tabProps.name, index);
tabProps.destroyView();
await this.destroyTab(tabProperties.name, index);
tabProperties.destroyView();
},
$view,
}),
@@ -589,10 +596,12 @@ export class ServerManagerView {
// closed when the functional tab DOM is ready, handled in webview.js
this.$webviewsContainer.classList.remove("loaded");
await this.activateTab(this.functionalTabs.get(tabProps.name)!);
await this.activateTab(this.functionalTabs.get(tabProperties.name)!);
}
async openSettings(nav: NavItem = "General"): Promise<void> {
async openSettings(
navigationItem: NavigationItem = "General",
): Promise<void> {
await this.openFunctionalTab({
name: "Settings",
materialIcon: "settings",
@@ -607,7 +616,7 @@ export class ServerManagerView {
},
});
this.$settingsButton.classList.add("active");
this.preferenceView!.handleNavigation(nav);
this.preferenceView!.handleNavigation(navigationItem);
}
async openAbout(): Promise<void> {
@@ -646,13 +655,13 @@ export class ServerManagerView {
// Returns this.tabs in an way that does
// not crash app when this.tabs is passed into
// ipcRenderer. Something about webview, and props.webview
// ipcRenderer. Something about webview, and properties.webview
// properties in ServerTab causes the app to crash.
get tabsForIpc(): TabData[] {
return this.tabs.map((tab) => ({
role: tab.props.role,
name: tab.props.name,
index: tab.props.index,
role: tab.properties.role,
name: tab.properties.name,
index: tab.properties.index,
}));
}
@@ -670,8 +679,8 @@ export class ServerManagerView {
if (hideOldTab) {
// If old tab is functional tab Settings, remove focus from the settings icon at sidebar bottom
if (
this.tabs[this.activeTabIndex].props.role === "function" &&
this.tabs[this.activeTabIndex].props.name === "Settings"
this.tabs[this.activeTabIndex].properties.role === "function" &&
this.tabs[this.activeTabIndex].properties.name === "Settings"
) {
this.$settingsButton.classList.remove("active");
}
@@ -695,7 +704,7 @@ export class ServerManagerView {
this.showLoading(
tab instanceof ServerTab &&
this.loading.has((await tab.webview).props.url),
this.loading.has((await tab.webview).properties.url),
);
ipcRenderer.send("update-menu", {
@@ -704,7 +713,7 @@ export class ServerManagerView {
tabs: this.tabsForIpc,
activeTabIndex: this.activeTabIndex,
// Following flag controls whether a menu item should be enabled or not
enableMenu: tab.props.role === "server",
enableMenu: tab.properties.role === "server",
});
}
@@ -721,7 +730,7 @@ export class ServerManagerView {
await tab.destroy();
delete this.tabs[index];
delete this.tabs[index]; // eslint-disable-line @typescript-eslint/no-array-delete
this.functionalTabs.delete(name);
// Issue #188: If the functional tab was not focused, do not activate another tab.
@@ -746,7 +755,7 @@ export class ServerManagerView {
async reloadView(): Promise<void> {
// Save and remember the index of last active tab so that we can use it later
const lastActiveTab = this.tabs[this.activeTabIndex].props.index;
const lastActiveTab = this.tabs[this.activeTabIndex].properties.index;
ConfigUtil.setConfigItem("lastActiveTab", lastActiveTab);
// Destroy the current view and re-initiate it
@@ -946,7 +955,7 @@ export class ServerManagerView {
const webview = await tab.webview;
return (
webview.webContentsId === webContentsId &&
webview.props.hasPermission?.(origin, permission)
webview.properties.hasPermission?.(origin, permission)
);
}),
)
@@ -1092,7 +1101,7 @@ export class ServerManagerView {
(await tab.webview).webContentsId === webviewId
) {
const concurrentTab: HTMLButtonElement = document.querySelector(
`div[data-tab-id="${CSS.escape(`${tab.props.tabIndex}`)}"]`,
`div[data-tab-id="${CSS.escape(`${tab.properties.tabIndex}`)}"]`,
)!;
concurrentTab.click();
}
@@ -1107,22 +1116,22 @@ export class ServerManagerView {
canvas.height = 128;
canvas.width = 128;
canvas.style.letterSpacing = "-5px";
const ctx = canvas.getContext("2d")!;
ctx.fillStyle = "#f42020";
ctx.beginPath();
ctx.ellipse(64, 64, 64, 64, 0, 0, 2 * Math.PI);
ctx.fill();
ctx.textAlign = "center";
ctx.fillStyle = "white";
const context = canvas.getContext("2d")!;
context.fillStyle = "#f42020";
context.beginPath();
context.ellipse(64, 64, 64, 64, 0, 0, 2 * Math.PI);
context.fill();
context.textAlign = "center";
context.fillStyle = "white";
if (messageCount > 99) {
ctx.font = "65px Helvetica";
ctx.fillText("99+", 64, 85);
context.font = "65px Helvetica";
context.fillText("99+", 64, 85);
} else if (messageCount < 10) {
ctx.font = "90px Helvetica";
ctx.fillText(String(Math.min(99, messageCount)), 64, 96);
context.font = "90px Helvetica";
context.fillText(String(Math.min(99, messageCount)), 64, 96);
} else {
ctx.font = "85px Helvetica";
ctx.fillText(String(Math.min(99, messageCount)), 64, 90);
context.font = "85px Helvetica";
context.fillText(String(Math.min(99, messageCount)), 64, 90);
}
return canvas;

View File

@@ -18,10 +18,10 @@ export function newNotification(
): NotificationData {
const notification = new Notification(title, {...options, silent: true});
for (const type of ["click", "close", "error", "show"]) {
notification.addEventListener(type, (ev) => {
notification.addEventListener(type, (event) => {
if (type === "click") ipcRenderer.send("focus-this-webview");
if (!dispatch(type, ev)) {
ev.preventDefault();
if (!dispatch(type, event)) {
event.preventDefault();
}
});
}

View File

@@ -1,17 +1,16 @@
import type {Html} from "../../../../common/html.js";
import {html} from "../../../../common/html.js";
import {type Html, html} from "../../../../common/html.js";
import {generateNodeFromHtml} from "../../components/base.js";
import {ipcRenderer} from "../../typed-ipc-renderer.js";
type BaseSectionProps = {
type BaseSectionProperties = {
$element: HTMLElement;
disabled?: boolean;
value: boolean;
clickHandler: () => void;
};
export function generateSettingOption(props: BaseSectionProps): void {
const {$element, disabled, value, clickHandler} = props;
export function generateSettingOption(properties: BaseSectionProperties): void {
const {$element, disabled, value, clickHandler} = properties;
$element.textContent = "";
@@ -30,8 +29,7 @@ export function generateOptionHtml(
disabled?: boolean,
): Html {
const labelHtml = disabled
? // eslint-disable-next-line unicorn/template-indent
html`<label
? html`<label
class="disallowed"
title="Setting locked by system administrator."
></label>`

View File

@@ -7,13 +7,13 @@ import {reloadApp} from "./base-section.js";
import {initFindAccounts} from "./find-accounts.js";
import {initServerInfoForm} from "./server-info-form.js";
type ConnectedOrgSectionProps = {
type ConnectedOrgSectionProperties = {
$root: Element;
};
export function initConnectedOrgSection({
$root,
}: ConnectedOrgSectionProps): void {
}: ConnectedOrgSectionProperties): void {
$root.textContent = "";
const servers = DomainUtil.getDomains();

View File

@@ -3,7 +3,7 @@ import * as LinkUtil from "../../../../common/link-util.js";
import * as t from "../../../../common/translation-util.js";
import {generateNodeFromHtml} from "../../components/base.js";
type FindAccountsProps = {
type FindAccountsProperties = {
$root: Element;
};
@@ -19,7 +19,7 @@ async function findAccounts(url: string): Promise<void> {
await LinkUtil.openBrowser(new URL("/accounts/find", url));
}
export function initFindAccounts(props: FindAccountsProps): void {
export function initFindAccounts(properties: FindAccountsProperties): void {
const $findAccounts = generateNodeFromHtml(html`
<div class="settings-card certificate-card">
<div class="certificate-input">
@@ -33,7 +33,7 @@ export function initFindAccounts(props: FindAccountsProps): void {
</div>
</div>
`);
props.$root.append($findAccounts);
properties.$root.append($findAccounts);
const $findAccountsButton = $findAccounts.querySelector(
"#find-accounts-button",
)!;

View File

@@ -6,7 +6,6 @@ import process from "node:process";
import * as remote from "@electron/remote";
import {app, dialog, session} from "@electron/remote";
import Tagify from "@yaireo/tagify";
import ISO6391 from "iso-639-1";
import {z} from "zod";
import supportedLocales from "../../../../../public/translations/supported-locales.json";
@@ -20,11 +19,11 @@ import {generateSelectHtml, generateSettingOption} from "./base-section.js";
const currentBrowserWindow = remote.getCurrentWindow();
type GeneralSectionProps = {
type GeneralSectionProperties = {
$root: Element;
};
export function initGeneralSection({$root}: GeneralSectionProps): void {
export function initGeneralSection({$root}: GeneralSectionProperties): void {
$root.innerHTML = html`
<div class="settings-pane">
<div class="title">${t.__("Appearance")}</div>
@@ -619,26 +618,23 @@ export function initGeneralSection({$root}: GeneralSectionProps): void {
).availableSpellCheckerLanguages;
let languagePairs = new Map<string, string>();
for (const l of availableLanguages) {
if (ISO6391.validate(l)) {
languagePairs.set(ISO6391.getName(l), l);
}
const locale = new Intl.Locale(l.replaceAll("_", "-"));
let displayName = new Intl.DisplayNames([locale], {
type: "language",
}).of(locale.language);
if (displayName === undefined) continue;
displayName = displayName.replace(/^./u, (firstChar) =>
firstChar.toLocaleUpperCase(locale),
);
if (locale.script !== undefined)
displayName += ` (${new Intl.DisplayNames([locale], {type: "script"}).of(locale.script)})`;
if (locale.region !== undefined)
displayName += ` (${new Intl.DisplayNames([locale], {type: "region"}).of(locale.region)})`;
languagePairs.set(displayName, l);
}
// Manually set names for languages not available in ISO6391
languagePairs.set("English (AU)", "en-AU");
languagePairs.set("English (CA)", "en-CA");
languagePairs.set("English (GB)", "en-GB");
languagePairs.set("English (US)", "en-US");
languagePairs.set("Spanish (Latin America)", "es-419");
languagePairs.set("Spanish (Argentina)", "es-AR");
languagePairs.set("Spanish (Mexico)", "es-MX");
languagePairs.set("Spanish (US)", "es-US");
languagePairs.set("Portuguese (Brazil)", "pt-BR");
languagePairs.set("Portuguese (Portugal)", "pt-PT");
languagePairs.set("Serbo-Croatian", "sh");
languagePairs = new Map(
[...languagePairs].sort((a, b) => (a[0] < b[0] ? -1 : 1)),
[...languagePairs].sort((a, b) => a[0].localeCompare(b[1])),
);
const tagField: HTMLInputElement = $root.querySelector(

View File

@@ -1,19 +1,18 @@
import type {Html} from "../../../../common/html.js";
import {html} from "../../../../common/html.js";
import {type Html, html} from "../../../../common/html.js";
import * as t from "../../../../common/translation-util.js";
import type {NavItem} from "../../../../common/types.js";
import type {NavigationItem} from "../../../../common/types.js";
import {generateNodeFromHtml} from "../../components/base.js";
type PreferenceNavProps = {
type PreferenceNavigationProperties = {
$root: Element;
onItemSelected: (navItem: NavItem) => void;
onItemSelected: (navigationItem: NavigationItem) => void;
};
export default class PreferenceNav {
navItems: NavItem[];
export default class PreferenceNavigation {
navigationItems: NavigationItem[];
$el: Element;
constructor(private readonly props: PreferenceNavProps) {
this.navItems = [
constructor(private readonly properties: PreferenceNavigationProperties) {
this.navigationItems = [
"General",
"Network",
"AddServer",
@@ -22,15 +21,17 @@ export default class PreferenceNav {
];
this.$el = generateNodeFromHtml(this.templateHtml());
this.props.$root.append(this.$el);
this.properties.$root.append(this.$el);
this.registerListeners();
}
templateHtml(): Html {
const navItemsHtml = html``.join(
this.navItems.map(
(navItem) => html`
<div class="nav" id="nav-${navItem}">${t.__(navItem)}</div>
const navigationItemsHtml = html``.join(
this.navigationItems.map(
(navigationItem) => html`
<div class="nav" id="nav-${navigationItem}">
${t.__(navigationItem)}
</div>
`,
),
);
@@ -38,37 +39,39 @@ export default class PreferenceNav {
return html`
<div>
<div id="settings-header">${t.__("Settings")}</div>
<div id="nav-container">${navItemsHtml}</div>
<div id="nav-container">${navigationItemsHtml}</div>
</div>
`;
}
registerListeners(): void {
for (const navItem of this.navItems) {
const $item = this.$el.querySelector(`#nav-${CSS.escape(navItem)}`)!;
for (const navigationItem of this.navigationItems) {
const $item = this.$el.querySelector(
`#nav-${CSS.escape(navigationItem)}`,
)!;
$item.addEventListener("click", () => {
this.props.onItemSelected(navItem);
this.properties.onItemSelected(navigationItem);
});
}
}
select(navItemToSelect: NavItem): void {
for (const navItem of this.navItems) {
if (navItem === navItemToSelect) {
this.activate(navItem);
select(navigationItemToSelect: NavigationItem): void {
for (const navigationItem of this.navigationItems) {
if (navigationItem === navigationItemToSelect) {
this.activate(navigationItem);
} else {
this.deactivate(navItem);
this.deactivate(navigationItem);
}
}
}
activate(navItem: NavItem): void {
const $item = this.$el.querySelector(`#nav-${CSS.escape(navItem)}`)!;
activate(navigationItem: NavigationItem): void {
const $item = this.$el.querySelector(`#nav-${CSS.escape(navigationItem)}`)!;
$item.classList.add("active");
}
deactivate(navItem: NavItem): void {
const $item = this.$el.querySelector(`#nav-${CSS.escape(navItem)}`)!;
deactivate(navigationItem: NavigationItem): void {
const $item = this.$el.querySelector(`#nav-${CSS.escape(navigationItem)}`)!;
$item.classList.remove("active");
}
}

View File

@@ -5,11 +5,11 @@ import {ipcRenderer} from "../../typed-ipc-renderer.js";
import {generateSettingOption} from "./base-section.js";
type NetworkSectionProps = {
type NetworkSectionProperties = {
$root: Element;
};
export function initNetworkSection({$root}: NetworkSectionProps): void {
export function initNetworkSection({$root}: NetworkSectionProperties): void {
$root.innerHTML = html`
<div class="settings-pane">
<div class="title">${t.__("Proxy")}</div>

View File

@@ -7,12 +7,15 @@ import {generateNodeFromHtml} from "../../components/base.js";
import {ipcRenderer} from "../../typed-ipc-renderer.js";
import * as DomainUtil from "../../utils/domain-util.js";
type NewServerFormProps = {
type NewServerFormProperties = {
$root: Element;
onChange: () => void;
};
export function initNewServerForm({$root, onChange}: NewServerFormProps): void {
export function initNewServerForm({
$root,
onChange,
}: NewServerFormProperties): void {
const $newServerForm = generateNodeFromHtml(html`
<div class="server-input-container">
<div class="title">${t.__("Organization URL")}</div>
@@ -58,9 +61,9 @@ export function initNewServerForm({$root, onChange}: NewServerFormProps): void {
async function submitFormHandler(): Promise<void> {
$saveServerButton.textContent = "Connecting...";
let serverConf;
let serverConfig;
try {
serverConf = await DomainUtil.checkDomain($newServerUrl.value.trim());
serverConfig = await DomainUtil.checkDomain($newServerUrl.value.trim());
} catch (error: unknown) {
$saveServerButton.textContent = "Connect";
await dialog.showMessageBox({
@@ -74,7 +77,7 @@ export function initNewServerForm({$root, onChange}: NewServerFormProps): void {
return;
}
await DomainUtil.addDomain(serverConf);
await DomainUtil.addDomain(serverConfig);
onChange();
}

View File

@@ -3,7 +3,7 @@ import process from "node:process";
import type {DndSettings} from "../../../../common/dnd-util.js";
import {bundleUrl} from "../../../../common/paths.js";
import type {NavItem} from "../../../../common/types.js";
import type {NavigationItem} from "../../../../common/types.js";
import {ipcRenderer} from "../../typed-ipc-renderer.js";
import {initConnectedOrgSection} from "./connected-org-section.js";
@@ -26,7 +26,7 @@ export class PreferenceView {
private readonly $shadow: ShadowRoot;
private readonly $settingsContainer: Element;
private readonly nav: Nav;
private navItem: NavItem = "General";
private navigationItem: NavigationItem = "General";
private constructor(templateHtml: string) {
this.$view = document.createElement("div");
@@ -47,13 +47,13 @@ export class PreferenceView {
ipcRenderer.on("toggle-autohide-menubar", this.handleToggleMenubar);
ipcRenderer.on("toggle-dnd", this.handleToggleDnd);
this.handleNavigation(this.navItem);
this.handleNavigation(this.navigationItem);
}
handleNavigation = (navItem: NavItem): void => {
this.navItem = navItem;
this.nav.select(navItem);
switch (navItem) {
handleNavigation = (navigationItem: NavigationItem): void => {
this.navigationItem = navigationItem;
this.nav.select(navigationItem);
switch (navigationItem) {
case "AddServer": {
initServersSection({
$root: this.$settingsContainer,
@@ -88,13 +88,9 @@ export class PreferenceView {
});
break;
}
default: {
((n: never) => n)(navItem);
}
}
window.location.hash = `#${navItem}`;
window.location.hash = `#${navigationItem}`;
};
handleToggleTray(state: boolean) {

View File

@@ -3,35 +3,35 @@ import {dialog} from "@electron/remote";
import {html} from "../../../../common/html.js";
import * as Messages from "../../../../common/messages.js";
import * as t from "../../../../common/translation-util.js";
import type {ServerConf} from "../../../../common/types.js";
import type {ServerConfig} from "../../../../common/types.js";
import {generateNodeFromHtml} from "../../components/base.js";
import {ipcRenderer} from "../../typed-ipc-renderer.js";
import * as DomainUtil from "../../utils/domain-util.js";
type ServerInfoFormProps = {
type ServerInfoFormProperties = {
$root: Element;
server: ServerConf;
server: ServerConfig;
index: number;
onChange: () => void;
};
export function initServerInfoForm(props: ServerInfoFormProps): void {
export function initServerInfoForm(properties: ServerInfoFormProperties): void {
const $serverInfoForm = generateNodeFromHtml(html`
<div class="settings-card">
<div class="server-info-left">
<img
class="server-info-icon"
src="${DomainUtil.iconAsUrl(props.server.icon)}"
src="${DomainUtil.iconAsUrl(properties.server.icon)}"
/>
<div class="server-info-row">
<span class="server-info-alias">${props.server.alias}</span>
<span class="server-info-alias">${properties.server.alias}</span>
<i class="material-icons open-tab-button">open_in_new</i>
</div>
</div>
<div class="server-info-right">
<div class="server-info-row server-url">
<span class="server-url-info" title="${props.server.url}"
>${props.server.url}</span
<span class="server-url-info" title="${properties.server.url}"
>${properties.server.url}</span
>
</div>
<div class="server-info-row">
@@ -48,7 +48,7 @@ export function initServerInfoForm(props: ServerInfoFormProps): void {
".server-delete-action",
)!;
const $openServerButton = $serverInfoForm.querySelector(".open-tab-button")!;
props.$root.append($serverInfoForm);
properties.$root.append($serverInfoForm);
$deleteServerButton.addEventListener("click", async () => {
const {response} = await dialog.showMessageBox({
@@ -58,11 +58,11 @@ export function initServerInfoForm(props: ServerInfoFormProps): void {
message: t.__("Are you sure you want to disconnect this organization?"),
});
if (response === 0) {
if (DomainUtil.removeDomain(props.index)) {
if (DomainUtil.removeDomain(properties.index)) {
ipcRenderer.send("reload-full-app");
} else {
const {title, content} = Messages.orgRemovalError(
DomainUtil.getDomain(props.index).url,
DomainUtil.getDomain(properties.index).url,
);
dialog.showErrorBox(title, content);
}
@@ -70,14 +70,14 @@ export function initServerInfoForm(props: ServerInfoFormProps): void {
});
$openServerButton.addEventListener("click", () => {
ipcRenderer.send("forward-message", "switch-server-tab", props.index);
ipcRenderer.send("forward-message", "switch-server-tab", properties.index);
});
$serverInfoAlias.addEventListener("click", () => {
ipcRenderer.send("forward-message", "switch-server-tab", props.index);
ipcRenderer.send("forward-message", "switch-server-tab", properties.index);
});
$serverIcon.addEventListener("click", () => {
ipcRenderer.send("forward-message", "switch-server-tab", props.index);
ipcRenderer.send("forward-message", "switch-server-tab", properties.index);
});
}

View File

@@ -4,11 +4,11 @@ import * as t from "../../../../common/translation-util.js";
import {reloadApp} from "./base-section.js";
import {initNewServerForm} from "./new-server-form.js";
type ServersSectionProps = {
type ServersSectionProperties = {
$root: Element;
};
export function initServersSection({$root}: ServersSectionProps): void {
export function initServersSection({$root}: ServersSectionProperties): void {
$root.innerHTML = html`
<div class="add-server-modal">
<div class="modal-container">

View File

@@ -4,12 +4,14 @@ import {html} from "../../../../common/html.js";
import * as LinkUtil from "../../../../common/link-util.js";
import * as t from "../../../../common/translation-util.js";
type ShortcutsSectionProps = {
type ShortcutsSectionProperties = {
$root: Element;
};
// eslint-disable-next-line complexity
export function initShortcutsSection({$root}: ShortcutsSectionProps): void {
export function initShortcutsSection({
$root,
}: ShortcutsSectionProperties): void {
const cmdOrCtrl = process.platform === "darwin" ? "⌘" : "Ctrl";
$root.innerHTML = html`

View File

@@ -1,5 +1,4 @@
import type {NativeImage} from "electron/common";
import {nativeImage} from "electron/common";
import {type NativeImage, nativeImage} from "electron/common";
import type {Tray as ElectronTray} from "electron/main";
import path from "node:path";
import process from "node:process";
@@ -64,8 +63,8 @@ const config = {
thick: process.platform === "win32",
};
const renderCanvas = function (arg: number): HTMLCanvasElement {
config.unreadCount = arg;
const renderCanvas = function (argument: number): HTMLCanvasElement {
config.unreadCount = argument;
const size = config.size * config.pixelRatio;
const padding = size * 0.05;
@@ -79,30 +78,34 @@ const renderCanvas = function (arg: number): HTMLCanvasElement {
const canvas = document.createElement("canvas");
canvas.width = size;
canvas.height = size;
const ctx = canvas.getContext("2d")!;
const context = canvas.getContext("2d")!;
// Circle
// If (!config.thick || config.thick && hasCount) {
ctx.beginPath();
ctx.arc(center, center, size / 2 - padding, 0, 2 * Math.PI, false);
ctx.fillStyle = backgroundColor;
ctx.fill();
ctx.lineWidth = size / (config.thick ? 10 : 20);
ctx.strokeStyle = backgroundColor;
ctx.stroke();
context.beginPath();
context.arc(center, center, size / 2 - padding, 0, 2 * Math.PI, false);
context.fillStyle = backgroundColor;
context.fill();
context.lineWidth = size / (config.thick ? 10 : 20);
context.strokeStyle = backgroundColor;
context.stroke();
// Count or Icon
if (hasCount) {
ctx.fillStyle = color;
ctx.textAlign = "center";
context.fillStyle = color;
context.textAlign = "center";
if (config.unreadCount > 99) {
ctx.font = `${config.thick ? "bold " : ""}${size * 0.4}px Helvetica`;
ctx.fillText("99+", center, center + size * 0.15);
context.font = `${config.thick ? "bold " : ""}${size * 0.4}px Helvetica`;
context.fillText("99+", center, center + size * 0.15);
} else if (config.unreadCount < 10) {
ctx.font = `${config.thick ? "bold " : ""}${size * 0.5}px Helvetica`;
ctx.fillText(String(config.unreadCount), center, center + size * 0.2);
context.font = `${config.thick ? "bold " : ""}${size * 0.5}px Helvetica`;
context.fillText(String(config.unreadCount), center, center + size * 0.2);
} else {
ctx.font = `${config.thick ? "bold " : ""}${size * 0.5}px Helvetica`;
ctx.fillText(String(config.unreadCount), center, center + size * 0.15);
context.font = `${config.thick ? "bold " : ""}${size * 0.5}px Helvetica`;
context.fillText(
String(config.unreadCount),
center,
center + size * 0.15,
);
}
}
@@ -114,12 +117,12 @@ const renderCanvas = function (arg: number): HTMLCanvasElement {
* @param arg: Unread count
* @return the native image
*/
const renderNativeImage = function (arg: number): NativeImage {
const renderNativeImage = function (argument: number): NativeImage {
if (process.platform === "win32") {
return nativeImage.createFromPath(winUnreadTrayIconPath());
}
const canvas = renderCanvas(arg);
const canvas = renderCanvas(argument);
const pngData = nativeImage
.createFromDataURL(canvas.toDataURL("image/png"))
.toPNG();
@@ -130,7 +133,7 @@ const renderNativeImage = function (arg: number): NativeImage {
function sendAction<Channel extends keyof RendererMessage>(
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void {
const win = BrowserWindow.getAllWindows()[0];
@@ -138,7 +141,7 @@ function sendAction<Channel extends keyof RendererMessage>(
win.restore();
}
ipcRenderer.send("forward-to", win.webContents.id, channel, ...args);
ipcRenderer.send("forward-to", win.webContents.id, channel, ...arguments_);
}
const createTray = function (): void {
@@ -189,22 +192,22 @@ export function initializeTray(serverManagerView: ServerManagerView) {
}
});
ipcRenderer.on("tray", (_event, arg: number): void => {
ipcRenderer.on("tray", (_event, argument: number): void => {
if (!tray) {
return;
}
// We don't want to create tray from unread messages on macOS since it already has dock badges.
if (process.platform === "linux" || process.platform === "win32") {
if (arg === 0) {
unread = arg;
if (argument === 0) {
unread = argument;
tray.setImage(iconPath());
tray.setToolTip("No unread messages");
} else {
unread = arg;
const image = renderNativeImage(arg);
unread = argument;
const image = renderNativeImage(argument);
tray.setImage(image);
tray.setToolTip(`${arg} unread messages`);
tray.setToolTip(`${argument} unread messages`);
}
}
});

View File

@@ -1,5 +1,5 @@
import type {IpcRendererEvent} from "electron/renderer";
import {
type IpcRendererEvent,
ipcRenderer as untypedIpcRenderer, // eslint-disable-line no-restricted-imports
} from "electron/renderer";
@@ -10,8 +10,8 @@ import type {
} from "../../common/typed-ipc.js";
type RendererListener<Channel extends keyof RendererMessage> =
RendererMessage[Channel] extends (...args: infer Args) => void
? (event: IpcRendererEvent, ...args: Args) => void
RendererMessage[Channel] extends (...arguments_: infer Arguments) => void
? (event: IpcRendererEvent, ...arguments_: Arguments) => void
: never;
export const ipcRenderer: {
@@ -35,25 +35,25 @@ export const ipcRenderer: {
send<Channel extends keyof RendererMessage>(
channel: "forward-message",
rendererChannel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void;
send<Channel extends keyof RendererMessage>(
channel: "forward-to",
webContentsId: number,
rendererChannel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void;
send<Channel extends keyof MainMessage>(
channel: Channel,
...args: Parameters<MainMessage[Channel]>
...arguments_: Parameters<MainMessage[Channel]>
): void;
invoke<Channel extends keyof MainCall>(
channel: Channel,
...args: Parameters<MainCall[Channel]>
...arguments_: Parameters<MainCall[Channel]>
): Promise<ReturnType<MainCall[Channel]>>;
sendSync<Channel extends keyof MainMessage>(
channel: Channel,
...args: Parameters<MainMessage[Channel]>
...arguments_: Parameters<MainMessage[Channel]>
): ReturnType<MainMessage[Channel]>;
postMessage<Channel extends keyof MainMessage>(
channel: Channel,
@@ -64,6 +64,6 @@ export const ipcRenderer: {
): void;
sendToHost<Channel extends keyof RendererMessage>(
channel: Channel,
...args: Parameters<RendererMessage[Channel]>
...arguments_: Parameters<RendererMessage[Channel]>
): void;
} = untypedIpcRenderer;

View File

@@ -11,7 +11,7 @@ import * as EnterpriseUtil from "../../../common/enterprise-util.js";
import Logger from "../../../common/logger-util.js";
import * as Messages from "../../../common/messages.js";
import * as t from "../../../common/translation-util.js";
import type {ServerConf} from "../../../common/types.js";
import type {ServerConfig} from "../../../common/types.js";
import defaultIcon from "../../img/icon.png";
import {ipcRenderer} from "../typed-ipc-renderer.js";
@@ -23,7 +23,7 @@ const logger = new Logger({
// missing icon; it does not change with the actual icon location.
export const defaultIconSentinel = "../renderer/img/icon.png";
const serverConfSchema = z.object({
const serverConfigSchema = z.object({
url: z.string().url(),
alias: z.string(),
icon: z.string(),
@@ -31,45 +31,49 @@ const serverConfSchema = z.object({
zulipFeatureLevel: z.number().default(0),
});
let db!: JsonDB;
let database!: JsonDB;
reloadDb();
reloadDatabase();
// Migrate from old schema
try {
const oldDomain = db.getObject<unknown>("/domain");
const oldDomain = database.getObject<unknown>("/domain");
if (typeof oldDomain === "string") {
(async () => {
await addDomain({
alias: "Zulip",
url: oldDomain,
});
db.delete("/domain");
database.delete("/domain");
})();
}
} catch (error: unknown) {
if (!(error instanceof DataError)) throw error;
}
export function getDomains(): ServerConf[] {
reloadDb();
export function getDomains(): ServerConfig[] {
reloadDatabase();
try {
return serverConfSchema.array().parse(db.getObject<unknown>("/domains"));
return serverConfigSchema
.array()
.parse(database.getObject<unknown>("/domains"));
} catch (error: unknown) {
if (!(error instanceof DataError)) throw error;
return [];
}
}
export function getDomain(index: number): ServerConf {
reloadDb();
return serverConfSchema.parse(db.getObject<unknown>(`/domains[${index}]`));
export function getDomain(index: number): ServerConfig {
reloadDatabase();
return serverConfigSchema.parse(
database.getObject<unknown>(`/domains[${index}]`),
);
}
export function updateDomain(index: number, server: ServerConf): void {
reloadDb();
serverConfSchema.parse(server);
db.push(`/domains[${index}]`, server, true);
export function updateDomain(index: number, server: ServerConfig): void {
reloadDatabase();
serverConfigSchema.parse(server);
database.push(`/domains[${index}]`, server, true);
}
export async function addDomain(server: {
@@ -80,20 +84,20 @@ export async function addDomain(server: {
if (server.icon) {
const localIconUrl = await saveServerIcon(server.icon);
server.icon = localIconUrl;
serverConfSchema.parse(server);
db.push("/domains[]", server, true);
reloadDb();
serverConfigSchema.parse(server);
database.push("/domains[]", server, true);
reloadDatabase();
} else {
server.icon = defaultIconSentinel;
serverConfSchema.parse(server);
db.push("/domains[]", server, true);
reloadDb();
serverConfigSchema.parse(server);
database.push("/domains[]", server, true);
reloadDatabase();
}
}
export function removeDomains(): void {
db.delete("/domains");
reloadDb();
database.delete("/domains");
reloadDatabase();
}
export function removeDomain(index: number): boolean {
@@ -101,8 +105,8 @@ export function removeDomain(index: number): boolean {
return false;
}
db.delete(`/domains[${index}]`);
reloadDb();
database.delete(`/domains[${index}]`);
reloadDatabase();
return true;
}
@@ -115,7 +119,7 @@ export function duplicateDomain(domain: string): boolean {
export async function checkDomain(
domain: string,
silent = false,
): Promise<ServerConf> {
): Promise<ServerConfig> {
if (!silent && duplicateDomain(domain)) {
// Do not check duplicate in silent mode
throw new Error("This server has been added.");
@@ -130,7 +134,7 @@ export async function checkDomain(
}
}
async function getServerSettings(domain: string): Promise<ServerConf> {
async function getServerSettings(domain: string): Promise<ServerConfig> {
return ipcRenderer.invoke("get-server-settings", domain);
}
@@ -144,29 +148,29 @@ export async function saveServerIcon(iconURL: string): Promise<string> {
export async function updateSavedServer(
url: string,
index: number,
): Promise<ServerConf> {
): Promise<ServerConfig> {
// Does not promise successful update
const serverConf = getDomain(index);
const oldIcon = serverConf.icon;
const serverConfig = getDomain(index);
const oldIcon = serverConfig.icon;
try {
const newServerConf = await checkDomain(url, true);
const localIconUrl = await saveServerIcon(newServerConf.icon);
const newServerConfig = await checkDomain(url, true);
const localIconUrl = await saveServerIcon(newServerConfig.icon);
if (!oldIcon || localIconUrl !== defaultIconSentinel) {
newServerConf.icon = localIconUrl;
updateDomain(index, newServerConf);
reloadDb();
newServerConfig.icon = localIconUrl;
updateDomain(index, newServerConfig);
reloadDatabase();
}
return newServerConf;
return newServerConfig;
} catch (error: unknown) {
logger.log("Could not update server icon.");
logger.log(error);
Sentry.captureException(error);
return serverConf;
return serverConfig;
}
}
function reloadDb(): void {
function reloadDatabase(): void {
const domainJsonPath = path.join(
app.getPath("userData"),
"config/domain.json",
@@ -188,7 +192,7 @@ function reloadDb(): void {
}
}
db = new JsonDB(domainJsonPath, true, true);
database = new JsonDB(domainJsonPath, true, true);
}
export function formatUrl(domain: string): string {
@@ -203,7 +207,9 @@ export function formatUrl(domain: string): string {
return `https://${domain}`;
}
export function getUnsupportedMessage(server: ServerConf): string | undefined {
export function getUnsupportedMessage(
server: ServerConfig,
): string | undefined {
if (server.zulipFeatureLevel < 65 /* Zulip Server 4.0 */) {
const realm = new URL(server.url).hostname;
return t.__(

View File

@@ -15,7 +15,7 @@ export default class ReconnectUtil {
fibonacciBackoff: backoff.Backoff;
constructor(webview: WebView) {
this.url = webview.props.url;
this.url = webview.properties.url;
this.alreadyReloaded = false;
this.fibonacciBackoff = backoff.fibonacci({
initialDelay: 5000,

View File

@@ -2,6 +2,31 @@
All notable changes to the Zulip desktop app are documented in this file.
### v5.11.1 --2024-08-23
**Enhancements**:
- Updated translations.
**Dependencies**:
- Upgraded all dependencies, including Electron 32.0.1.
### v5.11.0 --2024-03-22
**Fixes**:
- Removed the popup dialog for certificate errors when loading subresources such as images.
- Allowed hiding the window from full screen mode on macOS.
**Enhancements**:
- Enabled zooming with Ctrl+mouse wheel on Linux and Windows.
**Dependencies**:
- Upgraded all dependencies, including Electron 29.1.5.
### v5.10.5 --2024-01-25
**Dependencies**:

5541
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"name": "zulip",
"productName": "Zulip",
"version": "5.10.5",
"version": "5.11.1",
"main": "./dist-electron",
"description": "Zulip Desktop App",
"license": "Apache-2.0",
@@ -18,7 +18,7 @@
"url": "https://github.com/zulip/zulip-desktop/issues"
},
"engines": {
"node": ">=16.13.2"
"node": ">=18"
},
"scripts": {
"start": "vite",
@@ -120,7 +120,11 @@
}
],
"icon": "build/icon.ico",
"publisherName": "Kandra Labs, Inc."
"publisherName": "Kandra Labs, Inc.",
"sign": "./scripts/win-sign.js",
"signingHashAlgorithms": [
"sha256"
]
},
"msi": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
@@ -147,34 +151,33 @@
},
"devDependencies": {
"@electron/remote": "^2.0.8",
"@sentry/core": "^7.94.1",
"@sentry/electron": "^4.1.2",
"@sentry/core": "^8.26.0",
"@sentry/electron": "^5.3.0",
"@types/adm-zip": "^0.5.0",
"@types/auto-launch": "^5.0.2",
"@types/backoff": "^2.5.2",
"@types/i18n": "^0.13.1",
"@types/node": "~18.17.19",
"@types/node": "^20.11.30",
"@types/requestidlecallback": "^0.3.4",
"@types/semver": "^7.5.8",
"@types/yaireo__tagify": "^4.3.2",
"@yaireo/tagify": "^4.5.0",
"adm-zip": "^0.5.5",
"auto-launch": "^5.0.5",
"backoff": "^2.5.0",
"electron": "^28.1.1",
"electron": "^32.0.1",
"electron-builder": "^24.6.4",
"electron-log": "^5.0.3",
"electron-updater": "^6.1.4",
"electron-updater": "^6.3.4",
"electron-window-state": "^5.0.3",
"escape-goat": "^4.0.0",
"htmlhint": "^1.1.2",
"i18n": "^0.15.1",
"iso-639-1": "^3.1.0",
"medium": "^1.2.0",
"node-json-db": "^1.3.0",
"playwright-core": "^1.41.0-alpha-jan-9-2024",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3",
"rimraf": "^5.0.0",
"semver": "^7.3.5",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
@@ -182,7 +185,7 @@
"typescript": "^5.0.4",
"vite": "^5.0.11",
"vite-plugin-electron": "^0.28.0",
"xo": "^0.56.0",
"xo": "^0.59.3",
"zod": "^3.5.1"
},
"prettier": {
@@ -309,7 +312,7 @@
},
{
"files": [
"scripts/notarize.js",
"scripts/win-sign.js",
"tests/**/*.js"
],
"parserOptions": {

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "إضافة CSS معدلة",
"AddServer": "AddServer",
"Advanced": "متقدم",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "جميع المنظمات المتصلة ستظهر هنا",
"Always start minimized": "دائماً إبدأ بالقليل",
"App Updates": "تحديثات التطبيق",
"App language (requires restart)": "App language (requires restart)",
@@ -37,11 +37,11 @@
"Download App Logs": "تنزيل سجلات التطبيق",
"Edit": "تعديل",
"Edit Shortcuts": "تعديل الاختصارات",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "الإيموجي و الرموز",
"Enable auto updates": "تفعيل التحديثات التلقائية",
"Enable error reporting (requires restart)": "تفعيل تقارير الأخطاء (يتطلب إعادة التشغيل)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "اعرض الشاشة كاملة",
"Factory Reset": "إعادة ضبط المصنع",
"Factory Reset Data": "Factory Reset Data",
"File": "ملف",
@@ -57,7 +57,7 @@
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "أخفي زوليب",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "الشبكة و إعدادات البروكسي",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
@@ -85,8 +85,8 @@
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "أعد ضبط إعدادات التطبيق",
"Reset the application, thus deleting all the connected organizations and accounts.": "إعادة ضبط التطبيق, و بالتالي مسح جميع المنظمات المتصلة و الحسابات",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
@@ -123,5 +123,5 @@
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} يقوم بتشغيل نسخة قديمة من خادم زوليب {{{version}}}. قد لا يعمل بشكل كامل مع هذا التطبيق "
}

View File

@@ -4,8 +4,8 @@
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"AddServer": "AfegirServidor",
"Advanced": "Avançat",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Ychwanegwch CSS wedi'i ddylunio'n benodol",
"AddServer": "AddServer",
"Advanced": "Uwch",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Bydd yr holl sefydliadau cysylltiedig yn ymddangos yma",
"Always start minimized": "Dechreuwch gyn lleied â phosibl bob amser",
"App Updates": "Diweddariadau Ap",
"App language (requires restart)": "Iaith ap (angen ailgychwyn)",
@@ -37,11 +37,11 @@
"Download App Logs": "Lawrlwythwch Logiau Ap",
"Edit": "Golygu",
"Edit Shortcuts": "Golygu Llwybrau Byr",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emoji a Symbolau",
"Enable auto updates": "Galluogi diweddariadau yn awtomatig",
"Enable error reporting (requires restart)": "Galluogi adrodd am wallau (angen ailgychwyn)",
"Enable spellchecker (requires restart)": "Galluogi gwiriwr sillafu (angen ailgychwyn)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Rhowch sgrin lawn",
"Factory Reset": "Ailosod Ffatri",
"Factory Reset Data": "Ailosod Data Ffatri",
"File": "Ffeil",
@@ -57,7 +57,7 @@
"Help Center": "Canolfan Gymorth",
"Hide": "Cuddio",
"Hide Others": "Cuddio Eraill",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Cuddiwch Zulip",
"History": "Hanes",
"History Shortcuts": "Hanes Llwybrau Byr ",
"Keyboard Shortcuts": "Llwybrau Byr Bysellfwrdd",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Tawelwch pob sain o Zulip",
"NO": "NA",
"Network": "Rhwydwaith",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Gosodiadau Rhwydwaith a Dirprwy",
"OR": "NEU",
"On macOS, the OS spellchecker is used.": "Ar macOS, defnyddir gwiriwr sillafu OS.",
"Organization URL": "URL y sefydliad",
@@ -85,8 +85,8 @@
"Release Notes": "Nodiadau ar y datganiad hwn",
"Reload": "Ail-lwytho",
"Report an Issue": "Adroddiwch mater",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "Ailosod Gosodiadau Ap",
"Reset the application, thus deleting all the connected organizations and accounts.": "Ailosod y cais, gan ddileu'r holl sefydliadau a chyfrifon cysylltiedig.",
"Save": "Cadw",
"Select All": "Dewiswch Bobeth",
"Services": "Gwasanaethau",
@@ -123,5 +123,5 @@
"Zoom Out": "Chwyddo allan",
"keyboard shortcuts": "llwybrau byr bysellfwrdd",
"script": "sgript",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "Mae {{{server}}} yn rhedeg fersiwn Zulip Server {{{version}}} sydd wedi dyddio. Efallai na fydd yn gweithio'n llawn yn yr app hon."
}

View File

@@ -1,12 +1,12 @@
{
"About Zulip": "Om Zulip",
"Actual Size": "Faktisk størrelse",
"Add Organization": "Opret organisation",
"Add a Zulip organization": "Opret en Zulip organisation",
"Add Organization": "Tilføj organisation",
"Add a Zulip organization": "Tilføj en Zulip organisation",
"Add custom CSS": "Tilføj egen CSS",
"AddServer": "AddServer",
"Advanced": "Avanceret",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Alle forbundne organisationer vil blive vist her",
"Always start minimized": "Start altid minimeret",
"App Updates": "App-opdateringer",
"App language (requires restart)": "App language (requires restart)",
@@ -37,11 +37,11 @@
"Download App Logs": "Download app-logfiler",
"Edit": "Redigér",
"Edit Shortcuts": "Redigér genveje",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emoji og symboler",
"Enable auto updates": "Aktivér auto-opdateringer",
"Enable error reporting (requires restart)": "Aktivér fejlrapportering (kræver genstart)",
"Enable spellchecker (requires restart)": "Aktivér stavekontrol (kræver genstart)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Fuld skærm",
"Factory Reset": "Nulstil til fabriksindstillinger",
"Factory Reset Data": "Factory Reset Data",
"File": "Fil",
@@ -55,20 +55,20 @@
"Hard Reload": "Hård reload",
"Help": "Hjælp",
"Help Center": "Hjælpecenter",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide": "Skjul",
"Hide Others": "Skjul andre",
"Hide Zulip": "Skjul Zulip",
"History": "Historik",
"History Shortcuts": "Historik genveje",
"Keyboard Shortcuts": "Tastatur genveje",
"History Shortcuts": "Historikgenveje",
"Keyboard Shortcuts": "Tastaturgenveje",
"Log Out": "Log ud",
"Log Out of Organization": "Log ud af organisation",
"Manual proxy configuration": "Manuel proxy opsætning",
"Minimize": "Minimér",
"Minimize": "Minimer",
"Mute all sounds from Zulip": "Dæmp alle lyde fra Zulip",
"NO": "NEJ",
"Network": "Netværk",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Netrk og proxy indstillinger",
"OR": "ELLER",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organisation URL",
@@ -85,12 +85,12 @@
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Reset App Settings": "Nulstil App-indstillinger",
"Reset the application, thus deleting all the connected organizations and accounts.": "Nulstil applikationen, dvs: slet alle forbundne organisationer og konti.",
"Save": "Gem",
"Select All": "Vælg alle",
"Services": "Tjenester",
"Settings": "Indstillinger",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
@@ -104,7 +104,7 @@
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Do Not Disturb": "Slå forstyr ej til eller fra",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
@@ -123,5 +123,5 @@
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} kører en ældre version {{{version}}}. Den virker måske ikke fuld ud med denne app."
}

View File

@@ -14,8 +14,8 @@
"Application Shortcuts": "App-Verknüpfungen",
"Are you sure you want to disconnect this organization?": "Bist du dir sicher, dass du die Verbindung zur Organisation trennen möchtest?",
"Ask where to save files before downloading": "Fragen, wo heruntergeladene Dateien gespeichert werden sollen",
"Auto hide Menu bar": "Menü automatisch verstecken",
"Auto hide menu bar (Press Alt key to display)": "Menü automatisch verstecken (zum Anzeigen die Alt-Taste drücken)",
"Auto hide Menu bar": "Menü automatisch verbergen",
"Auto hide menu bar (Press Alt key to display)": "Menü automatisch verbergen (zum Anzeigen die Alt-Taste drücken)",
"Back": "Zurück",
"Bounce dock on new private message": "Im Dock hüpfen, wenn neue private Nachrichten eingehen",
"Change": "Ändern",
@@ -54,7 +54,7 @@
"Get beta updates": "Auf Betaversionen aktualisieren",
"Hard Reload": "Komplett neu laden",
"Help": "Hilfe",
"Help Center": "Hilfe-Zentrum",
"Help Center": "Hilfecenter",
"Hide": "Verbergen",
"Hide Others": "Andere verbergen",
"Hide Zulip": "Zulip verbergen",
@@ -71,7 +71,7 @@
"Network and Proxy Settings": "Netzwerk- und Proxy-Einstellungen",
"OR": "ODER",
"On macOS, the OS spellchecker is used.": "In macOS wird die OS Rechtschreibprüfung verwendet.",
"Organization URL": "URL der Organisation",
"Organization URL": "Organisations-URL",
"Organizations": "Organisationen",
"Paste": "Einfügen",
"Paste and Match Style": "Ohne Formatierung einfügen",
@@ -85,7 +85,7 @@
"Release Notes": "Hinweise zur Versionsfreigabe",
"Reload": "Neu laden",
"Report an Issue": "Ein Problem melden",
"Reset App Settings": "Einstellungen der App zurücksetzen",
"Reset App Settings": "App-Einstellungen zurücksetzen",
"Reset the application, thus deleting all the connected organizations and accounts.": "Die Anwendung zurücksetzen. Dabei werden alle verbundenen Organisationen und Konten gelöscht.",
"Save": "Speichern",
"Select All": "Alles auswählen",

View File

@@ -123,5 +123,5 @@
"Zoom Out": "Ζουμ μακρύτερα",
"keyboard shortcuts": "συντομεύσεις πληκτρολογίου",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} τρέχει μία παρωχημένη έκδοση του Zulip Server {{{version}}}. Ενδεχομένως να μη λειτουργεί πλήρως σε αυτή την εφαρμογή."
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Añadir CSS personalizado",
"AddServer": "AddServer",
"Advanced": "Avanzado",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Todas las organizaciones conectadas aparecerán aquí",
"Always start minimized": "Iniciar siempre minimizado",
"App Updates": "Actualizaciones de la aplicación",
"App language (requires restart)": "Idioma de la aplicación (requiere reinicio)",
@@ -37,16 +37,16 @@
"Download App Logs": "Descargar registros de la aplicación",
"Edit": "Editar",
"Edit Shortcuts": "Editar atajos",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emojis y símbolos",
"Enable auto updates": "Activar actualizaciones automáticas",
"Enable error reporting (requires restart)": "Activar reporte de fallos (necesita reinicio)",
"Enable spellchecker (requires restart)": "Activar corrector ortográfico (necesita reinicio)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Activar pantalla completa",
"Factory Reset": "Reinicio de fábrica",
"Factory Reset Data": "Factory Reset Data",
"File": "Archivo",
"Find accounts": "Encontrar cuentas",
"Find accounts by email": "Encontrar cuentas por correo electrónico",
"Find accounts by email": "Encontrar cuentas con email",
"Flash taskbar on new message": "Hacer que la barra de tareas parpadee cuando se reciba un mensaje nuevo",
"Forward": "Reenviar",
"Functionality": "Funcionalidad",
@@ -57,7 +57,7 @@
"Help Center": "Centro de ayuda",
"Hide": "Ocultar",
"Hide Others": "Ocultar otros",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "No mostrar Zulip",
"History": "Historial",
"History Shortcuts": "Atajos del historial",
"Keyboard Shortcuts": "Atajos de teclado",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Silenciar todos los sonidos de Zulip",
"NO": "NO",
"Network": "Red",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Configuración de red y proxy",
"OR": "O",
"On macOS, the OS spellchecker is used.": "En macOS se utiliza la verificación ortográfica del sistema operativo.",
"Organization URL": "URL de la organización",
@@ -86,7 +86,7 @@
"Reload": "Recargar",
"Report an Issue": "Informar de un error",
"Reset App Settings": "Reiniciar ajustes de la aplicación",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reinicia la aplicación, borrando todas las organizaciones conectadas y cuentas.",
"Save": "Guardar",
"Select All": "Seleccionar todo",
"Services": "Servicios",
@@ -123,5 +123,5 @@
"Zoom Out": "Reducir zoom",
"keyboard shortcuts": "atajos de teclado",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "El servidor {{{server}}} se está ejecutando en una versión desactualizada de Zulip Server {{{version}}}. Es posible que el servidor no funcione correctamente."
}

View File

@@ -1,41 +1,41 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"About Zulip": "Zulip-i buruz",
"Actual Size": "Egungo tamaina",
"Add Organization": "Gehitu erakundea",
"Add a Zulip organization": "Gehitu Zulip erakunde bat",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"Advanced": "Aurreratua",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Appearance": "Itxura",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Back": "Itzuli",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change": "Aldatu",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Close": "Itxi",
"Connect": "Konektatu",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Copy": "Kopiatu",
"Copy Zulip URL": "Kopiatu Zulip URL-a",
"Create a new organization": "Sortu erakunde berriia",
"Cut": "Moztu",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Delete": "Desegin",
"Desktop Notifications": "Mahaigaineko jakinarazpenak",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Disconnect": "Deskonektatu",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit": "Editatu",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
@@ -50,15 +50,15 @@
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"General": "Orokorra",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Help": "Laguntza",
"Help Center": "Laguntza gunea\n",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History": "Historia",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
@@ -66,19 +66,19 @@
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"NO": "EZ",
"Network": "Sarea",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"OR": "EDO",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Organization URL": "Erakundearen URL-a",
"Organizations": "Erakundeak",
"Paste": "Itsatsi",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit": "Irten",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
@@ -87,7 +87,7 @@
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Save": "Gorde",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
@@ -109,15 +109,15 @@
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Undo": "Desegin",
"Unhide": "Unhide",
"Upload": "Upload",
"Upload": "Igo",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View": "Ikusi",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"YES": "BAI",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",

View File

@@ -1,8 +1,8 @@
{
"About Zulip": "درباره Zulip ",
"About Zulip": "درباره زولیپ",
"Actual Size": "اندازه واقعی",
"Add Organization": "اضافه کردن سازمان",
"Add a Zulip organization": "اضافه کردن سازمان Zulip",
"Add a Zulip organization": "اضافه کردن سازمان زولیپ",
"Add custom CSS": "اضافه کردن CSS دلخواه",
"AddServer": "افزودن سرور",
"Advanced": "پیشرفته",
@@ -19,14 +19,14 @@
"Back": "عقب",
"Bounce dock on new private message": "جهش پرش در پیام خصوصی جدید",
"Change": "تغییر دادن",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "زبان را از تنظیمات سیستم ← صفحه کلید ← متن ← املا تغییر دهید.",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "زبان را از اولویت‌ها ← صفحه کلید ← متن ← املا تغییر دهید.",
"Check for Updates": "بررسی برای به‌روز‌رسانی",
"Close": "بستن",
"Connect": "اتصال",
"Connect to another organization": "اتصال به یک سازمان دیگر",
"Connected organizations": "سازمان‌های وصل شده",
"Connected organizations": "سازمان‌های وصلشده",
"Copy": "رونوشت",
"Copy Zulip URL": "کپی از Zulip URL",
"Copy Zulip URL": "کپی از URL زولیپ",
"Create a new organization": "ایجاد سازمان جدید",
"Cut": "بریدن",
"Default download location": "محل پیش‌فرض دانلود",
@@ -45,16 +45,16 @@
"Factory Reset": "تنظیم مجدد کارخانه",
"Factory Reset Data": "بازگشت به تنظیمات کارخانه",
"File": "فایل",
"Find accounts": "پیدا کردن حساب های کاربری ",
"Find accounts": "پیدا کردن حسابهای کاربری ",
"Find accounts by email": "اکانت ها را از طریق ایمیل پیدا کنید",
"Flash taskbar on new message": "فلش نوار وظیفه در پیام جدید",
"Forward": "فوروارد",
"Forward": "رفتن به جلو",
"Functionality": "عملکرد",
"General": "عمومی",
"Get beta updates": "دریافت بروز رسانی بتا",
"Hard Reload": "بارگذاری مجدد",
"Help": "کمک",
"Help Center": "مرکز کمک",
"Help Center": "مرکز کمک‌رسانی",
"Hide": "مخفی کردن",
"Hide Others": "پنهان کردن دیگران",
"Hide Zulip": "پنهان کردن زولیپ",
@@ -72,7 +72,7 @@
"OR": "یا",
"On macOS, the OS spellchecker is used.": "در macOS از غلط‌گیر املای سیستم‌عامل استفاده می‌شود.",
"Organization URL": "URL سازمان",
"Organizations": "سازمان ها",
"Organizations": "سازمانها",
"Paste": "جایگذاری",
"Paste and Match Style": "جایگذاری و تطابق استایل",
"Proxy": "پروکسی",
@@ -81,8 +81,8 @@
"Quit": "خروج",
"Quit Zulip": "خروج از زولیپ",
"Quit when the window is closed": "وقتی پنجره بسته است از آن خارج شوید",
"Redo": "Redo",
"Release Notes": "یادداشت های انتشار",
"Redo": "اجرای دوباره",
"Release Notes": "یادداشتهای انتشار",
"Reload": "بارگذاری مجدد",
"Report an Issue": "گزارش یک مشکل",
"Reset App Settings": "بازنشانی تنظیمات برنامه",
@@ -93,24 +93,24 @@
"Settings": "تنظیمات",
"Shortcuts": "میانبرها",
"Show app icon in system tray": "نمایش نماد برنامه در ناحیه اعلان سیستم",
"Show app unread badge": "نشان برنامه خوانده نشده نمایش داده شود",
"Show app unread badge": "علامت خوانده نشده نمایش داده شود",
"Show desktop notifications": "نمایش اعلان های دسکتاپ",
"Show sidebar": "نمایش ستون کناری",
"Spellchecker Languages": "غلط یاب املایی زبان ها",
"Spellchecker Languages": "غلط یاب املایی زبانها",
"Start app at login": "برنامه را در هنگام ورود شروع کنید",
"Switch to Next Organization": "جابجایی به سازمان بعدی",
"Switch to Previous Organization": "جابجایی به سازمان قبلی",
"These desktop app shortcuts extend the Zulip webapp's": "این میانبرهای برنامه دسکتاپ، برنامه وب Zulip را گسترش می دهند",
"These desktop app shortcuts extend the Zulip webapp's": "این میانبرهای برنامه دسکتاپ، برنامه وب زولیپ را گسترش می دهند",
"Tip": "نکته",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle DevTools for Active Tab": "تغییر ابزارهای توسعه برای تب فعال",
"Toggle DevTools for Zulip App": "تغییر ابزارهای توسعه برای اپلیکیشن زولیپ",
"Toggle Do Not Disturb": "تغییر حالت مزاحم نشو",
"Toggle Full Screen": "تغییر حالت تمام صفحه",
"Toggle Sidebar": "تغییر نوار کناری",
"Toggle Tray Icon": "Toggle Tray Icon",
"Toggle Tray Icon": "تغییر آیکون کازیه",
"Tools": "ابزارها",
"Undo": "بازگشت به عقب",
"Unhide": "Unhide",
"Unhide": "ظاهر کردن",
"Upload": "آپلود",
"Use system proxy settings (requires restart)": "استفاده از تنظیمات پراکسی سیستم (نیاز به راه اندازی مجدد)",
"View": "مشاهده",
@@ -123,5 +123,5 @@
"Zoom Out": "کوچک نمایی",
"keyboard shortcuts": "میانبرهای صفحه کلید",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} نسخه {{{version}}} سرور Zulip قدیمی را اجرا می‌کند. ممکن است به طور کامل در این برنامه کار نکند."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} نسخه {{{version}}} سرور زولیپ قدیمی را اجرا می‌کند. ممکن است به طور کامل در این برنامه کار نکند."
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Lisää oma CSS",
"AddServer": "AddServer",
"Advanced": "Lisäasetukset",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Kaikki yhdistetyt organisaatiot näkyvät täällä.",
"Always start minimized": "Aloita aina pienennettynä",
"App Updates": "Sovelluspäivitykset",
"App language (requires restart)": "Sovelluksen kieli (uudelleenkäynnistys tarvitaan)",
@@ -37,11 +37,11 @@
"Download App Logs": "Lataushistoria",
"Edit": "Muokkaa",
"Edit Shortcuts": "Muokkauksen pikanäppäimet",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emojit ja symbolit",
"Enable auto updates": "Salli automaattiset päivitykset",
"Enable error reporting (requires restart)": "Ota virheraportointi käyttöön (uudelleenkäynnistys tarvitaan) ",
"Enable spellchecker (requires restart)": "Ota oikoluku käyttöön (uudelleenkäynnistys tarvitaan)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Vaihda koko näytön tilaan",
"Factory Reset": "Tehdasasetusten palautus",
"Factory Reset Data": "Tehdasasetusten palautustiedot",
"File": "Tiedosto",
@@ -57,7 +57,7 @@
"Help Center": "Tukikeskus",
"Hide": "Piilota",
"Hide Others": "Piilota muut",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Piilota Zulip",
"History": "Historia",
"History Shortcuts": "Historian pikanäppäimet",
"Keyboard Shortcuts": "Pikanäppäimet",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Mykistä kaikki Zulip-äänet",
"NO": "EI",
"Network": "Verkko",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Verkon ja välipalvelimen asetukset",
"OR": "TAI",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organisaation URL",
@@ -85,8 +85,8 @@
"Release Notes": "Julkaisutiedot",
"Reload": "Lataa uudelleen",
"Report an Issue": "Raportoi ongelmasta",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "Nollaa asetukset",
"Reset the application, thus deleting all the connected organizations and accounts.": "Nollaa sovelluksen, ja poistaa kaikki liitetyt organisaatiot ja tilit.",
"Save": "Tallenna",
"Select All": "Valitse kaikki",
"Services": "Services",
@@ -123,5 +123,5 @@
"Zoom Out": "Loitonna",
"keyboard shortcuts": "Pikanäppäimet",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} käyttää vanhentutta versiota Zulipista: {{{version}}}. Se ei välttämättä toimi tämän sovelluksen kanssa yhteen."
}

View File

@@ -123,5 +123,5 @@
"Zoom Out": "Zoom arrière",
"keyboard shortcuts": "Raccourcis clavier",
"script": "scénario",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} fonctionne sur une version de Zulip Server qui n'est plus à jour.\n{{{version}}} Il se peut qu'il ne fonctionne pas entièrement dans cette application."
}

View File

@@ -1,127 +1,127 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"About Zulip": "જુલિપ વિશે",
"Actual Size": "વાસ્તવિક માપ",
"Add Organization": "સંસ્થા ઉમેરો",
"Add a Zulip organization": "એક જુલિપ સંસ્થા ઉમેરો",
"Add custom CSS": "વૈયક્તિક CSS ઉમેરો",
"AddServer": "સર્વર ઉમેરો",
"Advanced": "અગ્રણિત",
"All the connected organizations will appear here.": "સર્વ જોડાયેલ સંસ્થાઓ અહીં દર્શાવાશે.",
"Always start minimized": "હંમેશા નીચેની આરંભ કરો",
"App Updates": "એપ્લિકેશન અપડેટ્સ",
"App language (requires restart)": "એપ્લિકેશન ભાષા (પુનઃઆરંભ કરવાની જરૂર છે)",
"Appearance": "દેખાવ",
"Application Shortcuts": "એપ્લિકેશન શોર્ટકટ્સ",
"Are you sure you want to disconnect this organization?": "શું તમે ખાતરી છે કે તમે આ સંસ્થાનો ડિસ્કનેક્ટ કરવા માંગો છો?",
"Ask where to save files before downloading": "ડાઉનલોડ કરવા પહેલા ફાઈલો સેવ કરવાની જગ્યા વિશે પુછો",
"Auto hide Menu bar": "આટો મેન્યુ બાર છુપાવો",
"Auto hide menu bar (Press Alt key to display)": "આટો મેન્યુ બાર છુપાવો (ડિસ્પ્લે કરવા માટે Alt કી દબાવો)",
"Back": "પાછળ",
"Bounce dock on new private message": "નવો ખાનગી સંદેશ પર ડૉક બાઉન્સ કરો",
"Change": "બદલો",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "ભાષા બદલો સિસ્ટમ પ્રાથમિકતાઓ → કીબોર્ડ → ટેક્સટ → સ્પેલિંગમાંથી.",
"Check for Updates": "અપડેટ્સ માટે તપાસ કરો",
"Close": "બંધ",
"Connect": "જોડો",
"Connect to another organization": "અન્ય સંસ્થાને જોડો",
"Connected organizations": "જોડાયેલ સંસ્થાઓ",
"Copy": "કૉપી",
"Copy Zulip URL": "જુલિપ URL કૉપી કરો",
"Create a new organization": "નવી સંસ્થા બનાવો",
"Cut": "કટ કરો",
"Default download location": "મૂળભૂત ડાઉનલોડ સ્થળ",
"Delete": "કાઢો",
"Desktop Notifications": "ડેસ્કટોપ સૂચનાઓ",
"Desktop Settings": "ડેસ્કટોપ સેટિંગ્સ",
"Disconnect": "ડિસ્કનેક્ટ",
"Download App Logs": "એપ્લિકેશન લોગ્સ ડાઉનલોડ કરો",
"Edit": "સંપાદિત કરો",
"Edit Shortcuts": "શોર્ટકટ્સ સંપાદિત કરો",
"Emoji & Symbols": "ઇમોજી અને પ્રતીકો",
"Enable auto updates": "ઓટો અપડેટ્સ સક્ષમ કરો",
"Enable error reporting (requires restart)": "ત્રુટિ રિપોર્ટિંગ સક્ષમ કરો (પુનઃઆરંભ કરવાની જરૂર છે)",
"Enable spellchecker (requires restart)": "સ્પેલચેકર સક્ષમ કરો (પુનઃઆરંભ કરવાની જરૂર છે)",
"Enter Full Screen": "ફુલ સ્ક્રીનમાં દાખલ કરો",
"Factory Reset": "ફેક્ટરી રીસેટ",
"Factory Reset Data": "ફેક્ટરી રીસેટ ડેટા",
"File": "ફાઈલ",
"Find accounts": "એકાઉન્ટ્સ શોધો",
"Find accounts by email": "ઇમેઇલ દ્વારા એકાઉન્ટ્સ શોધો",
"Flash taskbar on new message": "નવો સંદેશ પર ટાસ્કબાર ફ્લેશ કરો",
"Forward": "ફોરવર્ડ",
"Functionality": "કાર્યક્ષમતા",
"General": "સામાન્ય",
"Get beta updates": "બીટા અપડેટ્સ મેળવો",
"Hard Reload": "હાર્ડ રિલોડ",
"Help": "મદદ",
"Help Center": "મદદ કેન્દ્ર",
"Hide": "છુપાવો",
"Hide Others": "અન્યો છુપાવો",
"Hide Zulip": "જુલિપ છુપાવો",
"History": "ઇતિહાસ",
"History Shortcuts": "ઇતિહાસ શોર્ટકટ્સ",
"Keyboard Shortcuts": "કીબોર્ડ શોર્ટકટ્સ",
"Log Out": "લૉગ આઉટ",
"Log Out of Organization": "સંસ્થામાં લૉગ આઉટ કરો",
"Manual proxy configuration": "મેન્યુઅલ પ્રોક્સી રૂપરેખાંકન",
"Minimize": "નીચેનું કરો",
"Mute all sounds from Zulip": "જુલિપમાંથી બધા ધ્વનિઓ મ્યુટ કરો",
"NO": "નહીં",
"Network": "નેટવર્ક",
"Network and Proxy Settings": "નેટવર્ક અને પ્રોક્સી સેટિંગ્સ",
"OR": "અથવા",
"On macOS, the OS spellchecker is used.": "macOS પર, OS સ્પેલચેકરનો ઉપયોગ થાય છે.",
"Organization URL": "સંસ્થા URL",
"Organizations": "સંસ્થાઓ",
"Paste": "પેસ્ટ",
"Paste and Match Style": "પેસ્ટ અને સ્ટાઇલ મેચ",
"Proxy": "પ્રોક્સી",
"Proxy bypass rules": "પ્રોક્સી બાયપાસ નિયમો",
"Proxy rules": "પ્રોક્સી નિયમો",
"Quit": "છોડો",
"Quit Zulip": "જુલિપ છોડો",
"Quit when the window is closed": "જ્યારે વિન્ડો બંધ થાય ત્યારે છોડો",
"Redo": "ફરીથી કરો",
"Release Notes": "રિલીઝ નોંધો",
"Reload": "રીલોડ",
"Report an Issue": "એક મુદ્દો રિપોર્ટ કરો",
"Reset App Settings": "એપ્લિકેશન સેટિંગ્સ રીસેટ કરો",
"Reset the application, thus deleting all the connected organizations and accounts.": "એપ્લિકેશન રીસેટ કરો, તેથી બંધ થેલેલી બધી સંસ્થાઓ અને એકાઉન્ટ્સ ડિલીટ કરો.",
"Save": "સાચવો",
"Select All": "બધું પસંદ કરો",
"Services": "સેવાઓ",
"Settings": "સેટિંગ્સ",
"Shortcuts": "શોર્ટકટ્સ",
"Show app icon in system tray": "સિસ્ટમ ટ્રેમાં એપ આઇકોન બતાવો",
"Show app unread badge": "એપ અન્પડ બેડ્જ બતાવો",
"Show desktop notifications": "ડેસ્કટોપ નોટિફિકેશન્સ બતાવો",
"Show sidebar": "સાઇડબાર બતાવો",
"Spellchecker Languages": "સ્પેલચેકર ભાષાઓ",
"Start app at login": "લૉગિન પર એપ શરૂ કરો",
"Switch to Next Organization": "આગામી સંસ્થા પર સ્વિચ કરો",
"Switch to Previous Organization": "પાછલી સંસ્થા પર સ્વિચ કરો",
"These desktop app shortcuts extend the Zulip webapp's": "આ ડેસ્કટોપ એપ શોર્ટકટ્સ જુલિપ વેબએપને વધારાવે છે",
"Tip": "ટીપ",
"Toggle DevTools for Active Tab": "એક્ટિવ ટેબ માટે ડેવટૂલ્સ ટોગલ કરો",
"Toggle DevTools for Zulip App": "જુલિપ એપ માટે ડેવટૂલ્સ ટોગલ કરો",
"Toggle Do Not Disturb": "ચિંતાનો સમય ટોગલ કરો",
"Toggle Full Screen": "પૂર્ણ સ્ક્રીન ટોગલ કરો",
"Toggle Sidebar": "સાઇડબાર ટોગલ કરો",
"Toggle Tray Icon": "ટ્રે આઇકોન ટોગલ કરો",
"Tools": "ટૂલ્સ",
"Undo": "અનકરવું",
"Unhide": "અદૃશ્ય કરો",
"Upload": "અપલોડ કરો",
"Use system proxy settings (requires restart)": "સિસ્ટમ પ્રોક્સી સેટિંગ્સનો ઉપયોગ કરો (પુનઃઆરંભ કરવાની જરૂર છે)",
"View": "જુઓ",
"View Shortcuts": "શોર્ટકટ્સ જુઓ",
"Window": "વિન્ડો",
"Window Shortcuts": "વિન્ડો શોર્ટકટ્સ",
"YES": "હા",
"You can select a maximum of 3 languages for spellchecking.": "તમે સ્પેલચેક માટે મહત્તમ 3 ભાષાઓ પસંદ કરી શકો છો.",
"Zoom In": "ઝૂમ ઇન",
"Zoom Out": "ઝૂમ આઉટ",
"keyboard shortcuts": "કીબોર્ડ શોર્ટકટ્સ",
"script": "લિપિ",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} એ જુલિપ સર્વર આવૃત્તિ {{{version}}} ચલાવે છે. તે આ એપમાં પૂર્ણ રીતે કામ કરી શકતી નથી."
}

View File

@@ -1,134 +0,0 @@
{
"About Zulip": "Tentang Zulip",
"Actual Size": "Actual Size",
"Add Custom Certificates": "Add Custom Certificates",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"Advanced": "Advanced",
"All the connected organizations will appear here": "All the connected organizations will appear here",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Certificate file": "Certificate file",
"Change": "Ubah",
"Check for Updates": "Check for Updates",
"Close": "Tutup",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop App Settings": "Desktop App Settings",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Factory Reset": "Factory Reset",
"File": "File",
"Find accounts": "Temukan akun",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"OR": "OR",
"Organization URL": "URL Organisasi",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Save": "Simpan",
"Select All": "Select All",
"Settings": "Pengaturan",
"Shortcuts": "Shortcuts",
"Show App Logs": "Show App Logs",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show downloaded files in file manager": "Show downloaded files in file manager",
"Show sidebar": "Show sidebar",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"This will delete all application data including all added accounts and preferences": "This will delete all application data including all added accounts and preferences",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"Zulip Help": "Zulip Help",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"Quit when the window is closed": "Quit when the window is closed",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Services": "Services",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Unhide": "Unhide",
"AddServer": "AddServer",
"App language (requires restart)": "App language (requires restart)",
"Factory Reset Data": "Factory Reset Data",
"Reset the application, thus deleting all the connected organizations, accounts, and certificates.": "Reset the application, thus deleting all the connected organizations, accounts, and certificates.",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Copy Link": "Copy Link",
"Copy Image": "Copy Image",
"Copy Image URL": "Copy Image URL",
"No Suggestion Found": "No Suggestion Found",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Spellchecker Languages": "Spellchecker Languages",
"Add to Dictionary": "Add to Dictionary",
"Look Up": "Look Up"
}

View File

@@ -11,7 +11,7 @@
"App Updates": "Aggiornamenti App",
"App language (requires restart)": "Lingua applicazione (richiede riavvio)",
"Appearance": "Aspetto",
"Application Shortcuts": "Scorciatoie Applicazione",
"Application Shortcuts": "Scorciatoie applicazione",
"Are you sure you want to disconnect this organization?": "Sei sicuro di volerti scollegare da questa organizzazione?",
"Ask where to save files before downloading": "Chiedi dove salvare i file prima di scaricarli",
"Auto hide Menu bar": "Nascondi automaticamente la barra del Menù",
@@ -60,7 +60,7 @@
"Hide Zulip": "Nascondi Zulip",
"History": "Storico",
"History Shortcuts": "Cronologia Scorciatoie",
"Keyboard Shortcuts": "Scorciatoie Tastiera",
"Keyboard Shortcuts": "Scorciatoie tastiera",
"Log Out": "Esci",
"Log Out of Organization": "Esci dall'organizzazione",
"Manual proxy configuration": "Configurazione proxy manuale",
@@ -116,8 +116,8 @@
"View": "Visualizza",
"View Shortcuts": "Visualizza Scorciatoie",
"Window": "Finestra",
"Window Shortcuts": "Scorciatoie Finestra",
"YES": "SI",
"Window Shortcuts": "Scorciatoie finestra",
"YES": "SÌ",
"You can select a maximum of 3 languages for spellchecking.": "Puoi selezionare fino ad un massimo di 3 lingue per il correttore ortografico",
"Zoom In": "Ingrandisci",
"Zoom Out": "Riduci",

View File

@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Zulip からのすべてのサウンドをミュート",
"NO": "いいえ",
"Network": "ネットワーク",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "ネットワークとプロキシ",
"OR": "または",
"On macOS, the OS spellchecker is used.": "macOSでは、OSのスペルチェックが使用されます。",
"Organization URL": "組織のURL",
@@ -86,7 +86,7 @@
"Reload": "リロード",
"Report an Issue": "問題を報告する",
"Reset App Settings": "アプリの設定をリセット",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset the application, thus deleting all the connected organizations and accounts.": "アプリケーションをリセットし、接続されたすべての組織とアカウントを削除します。",
"Save": "保存",
"Select All": "すべて選択",
"Services": "サービス",

View File

@@ -1,127 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
}

View File

@@ -1,134 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Custom Certificates": "Add Custom Certificates",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"Advanced": "Advanced",
"All the connected organizations will appear here": "All the connected organizations will appear here",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Certificate file": "Certificate file",
"Change": "Change",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop App Settings": "Desktop App Settings",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Factory Reset": "Factory Reset",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"OR": "OR",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Save": "Save",
"Select All": "Select All",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show App Logs": "Show App Logs",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show downloaded files in file manager": "Show downloaded files in file manager",
"Show sidebar": "Show sidebar",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"This will delete all application data including all added accounts and preferences": "This will delete all application data including all added accounts and preferences",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"Zulip Help": "Zulip Help",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"Quit when the window is closed": "Quit when the window is closed",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Services": "Services",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Unhide": "Unhide",
"AddServer": "AddServer",
"App language (requires restart)": "App language (requires restart)",
"Factory Reset Data": "Factory Reset Data",
"Reset the application, thus deleting all the connected organizations, accounts, and certificates.": "Reset the application, thus deleting all the connected organizations, accounts, and certificates.",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Copy Link": "Copy Link",
"Copy Image": "Copy Image",
"Copy Image URL": "Copy Image URL",
"No Suggestion Found": "No Suggestion Found",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Spellchecker Languages": "Spellchecker Languages",
"Add to Dictionary": "Add to Dictionary",
"Look Up": "Look Up"
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Voeg aangepaste CSS toe",
"AddServer": "AddServer",
"Advanced": "gevorderd",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Alle verbonden organisaties verschijnen hier.",
"Always start minimized": "Begin altijd geminimaliseerd",
"App Updates": "App-updates",
"App language (requires restart)": "App language (requires restart)",
@@ -37,11 +37,11 @@
"Download App Logs": "Applogs downloaden",
"Edit": "Bewerk",
"Edit Shortcuts": "Bewerk snelkoppelingen",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emoji's & Symbolen",
"Enable auto updates": "Schakel automatische updates in",
"Enable error reporting (requires restart)": "Foutrapportage inschakelen (opnieuw opstarten vereist)",
"Enable spellchecker (requires restart)": "Spellingcontrole inschakelen (opnieuw opstarten vereist)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Volledig scherm gebruiken",
"Factory Reset": "Fabrieksinstellingen",
"Factory Reset Data": "Factory Reset Data",
"File": "het dossier",
@@ -57,7 +57,7 @@
"Help Center": "Helpcentrum",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Zulip verbergen",
"History": "Geschiedenis",
"History Shortcuts": "Geschiedenis Sneltoetsen",
"Keyboard Shortcuts": "Toetsenbord sneltoetsen",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Demp alle geluiden van Zulip",
"NO": "NEE",
"Network": "Netwerk",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Netwerk- en Proxyinstellingen",
"OR": "OF",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organisatie-URL",
@@ -85,8 +85,8 @@
"Release Notes": "Releaseopmerkingen",
"Reload": "vernieuwen",
"Report an Issue": "Een probleem melden",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "Instellingen resetten",
"Reset the application, thus deleting all the connected organizations and accounts.": "De applicatie resetten en daarmee alle verbonden organisaties en accounts verwijderen.",
"Save": "Opslaan",
"Select All": "Selecteer alles",
"Services": "Services",
@@ -123,5 +123,5 @@
"Zoom Out": "Uitzoomen",
"keyboard shortcuts": "Toetsenbord sneltoetsen",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} gebruikt een oude versie {{{version}}} van Zulip Server. Het kan zijn dat deze applicatie niet goed zal werken met deze server."
}

View File

@@ -1,127 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
}

View File

@@ -1,127 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
}

View File

@@ -4,12 +4,12 @@
"Add Organization": "Dodaj organizację",
"Add a Zulip organization": "Dodaj organizację Zulip",
"Add custom CSS": "Dodaj niestandardowy CSS",
"AddServer": "AddServer",
"AddServer": "Dodaj serwer",
"Advanced": "zaawansowane",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Wszystkie podłączone organizację pojawią się tutaj.",
"Always start minimized": "Zawsze zaczynaj zminimalizowany",
"App Updates": "Aktualizacje aplikacji",
"App language (requires restart)": "App language (requires restart)",
"App language (requires restart)": "Język aplikacji (wymaga ponownego uruchomienia)",
"Appearance": "Wygląd",
"Application Shortcuts": "Skróty do aplikacji",
"Are you sure you want to disconnect this organization?": "Czy na pewno chcesz odłączyć tę organizację?",
@@ -19,10 +19,10 @@
"Back": "Wstecz",
"Bounce dock on new private message": "Dok odbijania na nowej prywatnej wiadomości",
"Change": "Zmiana",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Zmień język poprzez Ustawienia systemu → Klawiatura → Tekst → Pisownia.",
"Check for Updates": "Sprawdź aktualizacje",
"Close": "Zamknij",
"Connect": "Połącz",
"Connect": "Połącz",
"Connect to another organization": "Połącz się z inną organizacją",
"Connected organizations": "Połączone organizacje",
"Copy": "Kopiuj",
@@ -37,17 +37,17 @@
"Download App Logs": "Pobierz logi aplikacji",
"Edit": "Edytuj",
"Edit Shortcuts": "Edytuj skróty",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emotikonki i Symbole",
"Enable auto updates": "Włącz automatyczne aktualizacje",
"Enable error reporting (requires restart)": "Włącz raportowanie błędów (wymaga ponownego uruchomienia)",
"Enable spellchecker (requires restart)": "Włącz sprawdzanie pisowni (wymaga ponownego uruchomienia)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Włącz pełny ekran",
"Factory Reset": "przywrócenie ustawień fabrycznych",
"Factory Reset Data": "Factory Reset Data",
"File": "Plik",
"Find accounts": "Znajdź konta",
"Find accounts by email": "Znajdź konta po adresach email",
"Flash taskbar on new message": "Błyskaj w pasku zadań przy nowej wiadomości",
"Flash taskbar on new message": "Miganie w pasku zadań przy nowej wiadomości",
"Forward": "Naprzód",
"Functionality": "Funkcjonalność",
"General": "Ogólne",
@@ -57,7 +57,7 @@
"Help Center": "Centrum pomocy",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Ukryj Zulip",
"History": "Historia",
"History Shortcuts": "Skróty historii",
"Keyboard Shortcuts": "Skróty klawiszowe",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Wycisz wszystkie dźwięki z Zulipa",
"NO": "NIE",
"Network": "Sieć",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Ustawienia sieci i proxy",
"OR": "LUB",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Adres URL organizacji",
@@ -79,24 +79,24 @@
"Proxy bypass rules": "Zasady omijania proxy",
"Proxy rules": "Reguły proxy",
"Quit": "Wyjdź",
"Quit Zulip": "Wyjdź z Zulipa",
"Quit Zulip": "Zakończ Zulipa",
"Quit when the window is closed": "Wyłącz przy zamykaniu okna",
"Redo": "Ponów",
"Release Notes": "Informacje o wydaniu",
"Reload": "Przeładuj",
"Report an Issue": "Zgłoś problem",
"Reset App Settings": "Resetuj ustawienia aplikacji",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset aplikacji, powodujący usunięcie połączonych organizacji oraz kont.",
"Save": "Zapisz",
"Select All": "Zaznacz wszystko",
"Services": "Services",
"Services": "Usługi",
"Settings": "Ustawienia",
"Shortcuts": "Skróty",
"Show app icon in system tray": "Pokaż ikonę aplikacji w zasobniku systemowym",
"Show app unread badge": "Pokaż nieprzeczytane na ikonie aplikacji",
"Show desktop notifications": "Pokaż powiadomienia na pulpicie",
"Show sidebar": "Pokaż pasek boczny",
"Spellchecker Languages": "Spellchecker Languages",
"Spellchecker Languages": "Języki sprawdzania pisowni",
"Start app at login": "Uruchom aplikację przy logowaniu",
"Switch to Next Organization": "Przełącz na następną organizację",
"Switch to Previous Organization": "Przełącz na poprzednią organizację",
@@ -110,18 +110,18 @@
"Toggle Tray Icon": "Przełącz ikonę tacy",
"Tools": "Narzędzia",
"Undo": "Cofnij",
"Unhide": "Unhide",
"Upload": "Przekazać plik",
"Use system proxy settings (requires restart)": "Użyj ustawień systemowych proxy (wymaga restartu aplikacji)",
"Unhide": "Odkryj",
"Upload": "Prześlij plik",
"Use system proxy settings (requires restart)": "Użyj ustawień systemowych proxy (wymaga ponownego uruchomienia)",
"View": "Widok",
"View Shortcuts": "Wyświetl skróty",
"Window": "Okno",
"Window Shortcuts": "Skróty do okien",
"YES": "TAK",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"You can select a maximum of 3 languages for spellchecking.": "Możesz wybrać maksymalnie 3 języki do sprawdzania pisowni.",
"Zoom In": "Powiększ",
"Zoom Out": "Pomniejsz",
"keyboard shortcuts": "Skróty klawiszowe",
"script": "skrypt",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} działanie na nieaktualnej wersji serwera Zulip {{{version}}}. Możliwe nieprawidłowe działanie w tej aplikacji."
}

View File

@@ -4,19 +4,19 @@
"Add Organization": "Adicionar Organização",
"Add a Zulip organization": "Adicione uma organização Zulip",
"Add custom CSS": "Adicionar CSS personalizado",
"AddServer": "AddServer",
"AddServer": "Adicionar Servidor",
"Advanced": "Avançado",
"All the connected organizations will appear here.": "Todas as organizações conectadas aparecerão aqui.",
"Always start minimized": "Começar sempre minimizado",
"Always start minimized": "Iniciar sempre minimizado",
"App Updates": "Atualizações de aplicativos",
"App language (requires restart)": "App language (requires restart)",
"App language (requires restart)": "Idioma da Aplicação (requer reinício)",
"Appearance": "Aparência",
"Application Shortcuts": "Atalhos de aplicativos",
"Are you sure you want to disconnect this organization?": "Tem certeza de que deseja desconectar essa organização?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Ask where to save files before downloading": "Perguntar onde salvar arquivos antes de transferir",
"Auto hide Menu bar": "Auto ocultar barra de Menu",
"Auto hide menu bar (Press Alt key to display)": "Ocultar barra de menu automaticamente (pressione a tecla Alt para exibir)",
"Back": "De volta",
"Back": "Voltar",
"Bounce dock on new private message": "Bounce doca em nova mensagem privada",
"Change": "mudança",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
@@ -53,7 +53,7 @@
"General": "Geral",
"Get beta updates": "Receba atualizações beta",
"Hard Reload": "Hard Reload",
"Help": "Socorro",
"Help": "Ajuda",
"Help Center": "Centro de ajuda",
"Hide": "Hide",
"Hide Others": "Hide Others",

View File

@@ -4,22 +4,22 @@
"Add Organization": "Adicionar Organização",
"Add a Zulip organization": "Adicionar uma organização Zulip",
"Add custom CSS": "Adicionar CSS próprio",
"AddServer": "AddServer",
"AddServer": "Adicionar servidor",
"Advanced": "Avançadas",
"All the connected organizations will appear here.": "Todas as organizações conectadas aparecerão aqui.",
"Always start minimized": "Iniciar minimizado",
"App Updates": "Atualizações da App",
"App language (requires restart)": "Idioma da App (requer reinício)",
"App Updates": "Atualizações da Aplicação",
"App language (requires restart)": "Idioma da Aplicação (requer reinício)",
"Appearance": "Aspecto",
"Application Shortcuts": "Atalhos da App",
"Are you sure you want to disconnect this organization?": "Tem certeza de que quer desconectar esta organização?",
"Application Shortcuts": "Atalhos da Aplicação",
"Are you sure you want to disconnect this organization?": "Tem a certeza que quer desconectar esta organização?",
"Ask where to save files before downloading": "Perguntar onde guardar ficheiros antes de transferir",
"Auto hide Menu bar": "Auto-ocultar barra de Menu",
"Auto hide menu bar (Press Alt key to display)": "Auto-ocultar barra de menu (Premir Alt para exibir)",
"Back": "Voltar",
"Bounce dock on new private message": "Saltitar a dock em nova mensagem privada",
"Bounce dock on new private message": "Mexer a dock ao receber uma nova mensagem privada",
"Change": "Alterar",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Alterar idioma de Preferências de Sistema → Teclado → Texto → Ortografia.",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Alterar idioma de Preferências do Sistema → Teclado → Texto → Ortografia.",
"Check for Updates": "Procurar Atualizações",
"Close": "Fechar",
"Connect": "Conectar",
@@ -31,28 +31,28 @@
"Cut": "Cortar",
"Default download location": "Pasta de transferências predefinida",
"Delete": "Apagar",
"Desktop Notifications": "Notificações de Desktop",
"Desktop Settings": "Definições de Desktop",
"Desktop Notifications": "Notificações de ambiente de trabalho",
"Desktop Settings": "Definições de ambiente de trabalho",
"Disconnect": "Desconectar",
"Download App Logs": "Transferir Relatórios da App",
"Download App Logs": "Transferir relatórios da aplicação",
"Edit": "Editar",
"Edit Shortcuts": "Editar Atalhos",
"Edit Shortcuts": "Editar atalhos",
"Emoji & Symbols": "Emoji e Símbolos",
"Enable auto updates": "Permitir atualizações automáticas",
"Enable error reporting (requires restart)": "Ativar relato de erros (requer reinício)",
"Enable error reporting (requires restart)": "Ativar comunicação de erros (requer reinício)",
"Enable spellchecker (requires restart)": "Ativar corretor ortográfico (requer reinício)",
"Enter Full Screen": "Entrar em Ecrã Inteiro",
"Factory Reset": "Restauro de Fábrica",
"Factory Reset Data": "Restauro de Dados",
"Enter Full Screen": "Entrar em modo de Ecrã Completo",
"Factory Reset": "Restauro de fábrica",
"Factory Reset Data": "Restaurar dados de fábrica",
"File": "Ficheiro",
"Find accounts": "Encontrar contas",
"Find accounts by email": "Encontrar contas por e-mail",
"Find accounts by email": "Encontrar contas através de e-mail",
"Flash taskbar on new message": "Piscar a barra de tarefas ao receber nova mensagem",
"Forward": "Avançar",
"Functionality": "Funcionalidade",
"General": "Geral",
"Get beta updates": "Atualizações de Betas",
"Hard Reload": "Recarregar Forçado",
"Get beta updates": "Atualizações Beta",
"Hard Reload": "Forçar recarregamento",
"Help": "Ajuda",
"Help Center": "Centro de Ajuda",
"Hide": "Ocultar",
@@ -63,9 +63,9 @@
"Keyboard Shortcuts": "Atalhos de Teclado",
"Log Out": "Terminar Sessão",
"Log Out of Organization": "Terminar Sessão na Organização",
"Manual proxy configuration": "Configurar proxy manualmente",
"Manual proxy configuration": "Configurar proxy manual",
"Minimize": "Minimizar",
"Mute all sounds from Zulip": "Silenciar Sons do Zulip",
"Mute all sounds from Zulip": "Silenciar todos os sons do Zulip",
"NO": "NÃO",
"Network": "Rede",
"Network and Proxy Settings": "Definições de Rede e Proxy",
@@ -85,25 +85,25 @@
"Release Notes": "Notas de publicação",
"Reload": "Recarregar",
"Report an Issue": "Comunicar um Problema",
"Reset App Settings": "Restaurar Definições da App",
"Reset the application, thus deleting all the connected organizations and accounts.": "Restaurar a aplicação, assim apagando todas as organizações e contas conectadas.",
"Reset App Settings": "Reinicializar definições da aplicação",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reinicializar a aplicação, assim apagando todas as organizações e contas conectadas.",
"Save": "Guardar",
"Select All": "Seleccionar Tudo",
"Select All": "Selecionar tudo",
"Services": "Serviços",
"Settings": "Definições",
"Shortcuts": "Atalhos",
"Show app icon in system tray": "Ver ícone da app na bandeja de sistema",
"Show app icon in system tray": "Ver ícone da aplicação na bandeja de sistema",
"Show app unread badge": "Ver emblema de mensagens não lidas",
"Show desktop notifications": "Ver notificações de desktop",
"Show desktop notifications": "Ver notificações de ambiente de trabalho",
"Show sidebar": "Ver barra lateral",
"Spellchecker Languages": "Idiomas com Verificação Ortográfica",
"Start app at login": "Iniciar App com o sistema",
"Switch to Next Organization": "Trocar para Organização Seguinte",
"Switch to Previous Organization": "Trocar para Organização Anterior",
"These desktop app shortcuts extend the Zulip webapp's": "Estes atalhos da app desktop expandem os da webapp do Zulip",
"Spellchecker Languages": "Idiomas com verificação ortográfica",
"Start app at login": "Iniciar aplicação no arranque do sistema",
"Switch to Next Organization": "Passar à organização seguinte",
"Switch to Previous Organization": "Passar à organização anterior",
"These desktop app shortcuts extend the Zulip webapp's": "Estes atalhos da aplicação de ambiente de trabalho expandem os da aplicação web do Zulip",
"Tip": "Dica",
"Toggle DevTools for Active Tab": "DevTools para o Separador Ativo",
"Toggle DevTools for Zulip App": "DevTools para a App Zulip",
"Toggle DevTools for Active Tab": "Ferramentas de programador para o separador ativo",
"Toggle DevTools for Zulip App": "Ferramentas de programador para a aplicação Zulip",
"Toggle Do Not Disturb": "Não Incomodar",
"Toggle Full Screen": "Ecrã Completo",
"Toggle Sidebar": "Barra Lateral",
@@ -114,14 +114,14 @@
"Upload": "Carregar",
"Use system proxy settings (requires restart)": "Usar definições de proxy do sistema (requer reinício)",
"View": "Ver",
"View Shortcuts": "Atalhos de Visualização",
"View Shortcuts": "Atalhos de visualização",
"Window": "Janela",
"Window Shortcuts": "Atalhos de Janela",
"Window Shortcuts": "Atalhos de janela",
"YES": "SIM",
"You can select a maximum of 3 languages for spellchecking.": "Pode seleccionar um máximo de 3 idiomas para correção ortográfica.",
"You can select a maximum of 3 languages for spellchecking.": "Pode selecionar até um máximo de 3 idiomas para correção ortográfica.",
"Zoom In": "Ampliar",
"Zoom Out": "Reduzir",
"keyboard shortcuts": "atalhos de teclado",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} está a correr uma versão ultrapassada do Servidor Zulip {{{version}}}. Pode não funcionar completamente nesta app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} está a correr uma versão desatualizada do servidor Zulip {{{version}}}. Pode não funcionar corretamante com esta aplicação."
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Adaugă un CSS personalizat",
"AddServer": "AddServer",
"Advanced": "Avansat",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Toate organizațiile conectate vor apărea aici.",
"Always start minimized": "Pornește întotdeauna micșorat",
"App Updates": "Actualizările aplicației",
"App language (requires restart)": "Limba aplicației (necesită restart)",
@@ -37,11 +37,11 @@
"Download App Logs": "Descarcă Log-urile Aplicației",
"Edit": "Modifică",
"Edit Shortcuts": "Modifică scurtăturile",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Emoji și simboluri",
"Enable auto updates": "Activează actualizări automate",
"Enable error reporting (requires restart)": "Activează raportarea erorilor (necesită repornire)",
"Enable spellchecker (requires restart)": "Activați verificatorul ortografic (necesită repornire)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Intră în ecran complet",
"Factory Reset": "Resetare din fabrică",
"Factory Reset Data": "Resetează la setările de bază",
"File": "Fișier",
@@ -57,7 +57,7 @@
"Help Center": "Centru de ajutor",
"Hide": "Ascunde",
"Hide Others": "Ascunde pe ceilalți",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Ascunde Zulip",
"History": "Istorie",
"History Shortcuts": "Scurtături istorie",
"Keyboard Shortcuts": "Scurtături tastatură",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Marchează totul din Zulip - fără alerte sonore",
"NO": "NU",
"Network": "Rețea",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Rețele și setări de proxy",
"OR": "SAU",
"On macOS, the OS spellchecker is used.": "Pe macOS, este folosita verificarea ortografică OS. ",
"Organization URL": "URL-ul organizației",
@@ -86,7 +86,7 @@
"Reload": "Reîncarcă",
"Report an Issue": "Raportează o Problemă",
"Reset App Settings": "Resetează Setările Aplicației",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset the application, thus deleting all the connected organizations and accounts.": "Resetați aplicația, ștergând astfel toate organizațiile și conturile conectate.",
"Save": "Salvează",
"Select All": "Selectează Tot",
"Services": "Servicii",
@@ -123,5 +123,5 @@
"Zoom Out": "Micșorează",
"keyboard shortcuts": "scurtături tastatură",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} rulează o versiune învechită a serverului Zulip {{{version}}}. S-ar putea să nu funcționeze în întregime în această aplicație."
}

View File

@@ -1,21 +1,21 @@
{
"About Zulip": "О Zulip",
"Actual Size": "Актуальный размер",
"Actual Size": "Стандартный масштаб",
"Add Organization": "Добавить организацию",
"Add a Zulip organization": "Добавить организацию Zulip",
"Add custom CSS": "Добавить собственный CSS",
"AddServer": "Добавить Сервер",
"AddServer": "Добавить сервер",
"Advanced": "Дополнительно",
"All the connected organizations will appear here.": "Все связанные организации будут появляться здесь.",
"All the connected organizations will appear here.": "Все связанные организации будут появляться тут.",
"Always start minimized": "Запускать свернутым",
"App Updates": "Обновления",
"App language (requires restart)": "Язык приложения (требует перезапуска)",
"App language (requires restart)": "Язык приложения (потребуется перезапуск)",
"Appearance": "Вид",
"Application Shortcuts": "Горячие клавиши",
"Application Shortcuts": "Сочетания клавиш",
"Are you sure you want to disconnect this organization?": "Вы уверены, что хотите отключить эту организацию?",
"Ask where to save files before downloading": "Спрашивать, где сохранять файлы перед скачиванием",
"Auto hide Menu bar": "Скрывать меню",
"Auto hide menu bar (Press Alt key to display)": "Скрывать меню (для показа нажмите Alt)",
"Auto hide Menu bar": "Автоматически скрывать меню",
"Auto hide menu bar (Press Alt key to display)": "Автоматически скрывать меню (для показа нажмите Alt)",
"Back": "Назад",
"Bounce dock on new private message": "Показывать док при поступлении нового личного сообщения",
"Change": "Изменить",
@@ -36,7 +36,7 @@
"Disconnect": "Отключиться",
"Download App Logs": "Скачать логи приложения",
"Edit": "Изменить",
"Edit Shortcuts": "Редактировать горячие клавиши",
"Edit Shortcuts": "Cочетания клавиш редактирования",
"Emoji & Symbols": "Эмодзи и символы",
"Enable auto updates": "Включить автообновление",
"Enable error reporting (requires restart)": "Включить сообщения об ошибках (потребуется перезапуск)",
@@ -46,21 +46,21 @@
"Factory Reset Data": "Сброс данных приложения",
"File": "Файл",
"Find accounts": "Найти учетные записи",
"Find accounts by email": "Искать учетные записи по адресу электронной почты",
"Flash taskbar on new message": "Высвечивать панель задач при новом сообщении",
"Find accounts by email": "Поиск учетных записей по адресу электронной почты",
"Flash taskbar on new message": "Мигать в панели задач при новом сообщении",
"Forward": "Вперед",
"Functionality": "Функциональность",
"General": "Общее",
"Get beta updates": "Получать бета-обновления",
"Hard Reload": "Жесткая перезагрузка",
"Hard Reload": "Принудительная перезагрузка",
"Help": "Помощь",
"Help Center": "Центр поддержки",
"Help Center": "Центр помощи",
"Hide": "Скрыть",
"Hide Others": "Скрыть другие",
"Hide Zulip": "Скрыть Zulip",
"History": "История",
"History Shortcuts": "Горячие клавишы по истории",
"Keyboard Shortcuts": "Горячие клавишы",
"History Shortcuts": "Сочетания клавиш истории",
"Keyboard Shortcuts": "Сочетания клавиш",
"Log Out": "Выйти из учетной записи",
"Log Out of Organization": "Выйти из организации",
"Manual proxy configuration": "Ручная настройка прокси",
@@ -80,28 +80,28 @@
"Proxy rules": "Правила прокси",
"Quit": "Выход",
"Quit Zulip": "Выйти из Zulip",
"Quit when the window is closed": "Выйти, когда окно будет закрыто",
"Redo": "Исправить",
"Quit when the window is closed": "Выходить при закрытии окна",
"Redo": "Выполнить снова",
"Release Notes": "Описание обновлений",
"Reload": "Перезагрузить",
"Report an Issue": "Сообщить об ошибке",
"Reset App Settings": "Сбросить настройки приложения",
"Reset the application, thus deleting all the connected organizations and accounts.": "Сбросить все настройки приложения, и удалить все подключенные организации и учетные записи.",
"Reset the application, thus deleting all the connected organizations and accounts.": "Сбросить все настройки приложения и удалить все подключенные организации и учетные записи.",
"Save": "Сохранить",
"Select All": "Выделить все",
"Services": "Сервисы",
"Settings": "Настройки",
"Shortcuts": "Горячие клавиши",
"Shortcuts": "Сочетания клавиш",
"Show app icon in system tray": "Показывать приложение в области уведомлений",
"Show app unread badge": "Показывать значок о непрочитанных сообщениях",
"Show app unread badge": "Показывать значок непрочитанных сообщений",
"Show desktop notifications": "Показывать оповещения рабочего стола",
"Show sidebar": "Показывать боковую панель",
"Spellchecker Languages": "Языки для проверки орфографии",
"Start app at login": "Запускать приложение при входе в систему",
"Switch to Next Organization": "Перейти к следующей организации",
"Switch to Previous Organization": "Перейти к предыдущей организации",
"These desktop app shortcuts extend the Zulip webapp's": "Эти ярлыки приложения для рабочего стола дополняют функционал сетевого приложения Zulip",
"Tip": "Совет",
"These desktop app shortcuts extend the Zulip webapp's": "Эти сочетания клавиш для настольных приложений расширяют возможности веб-приложения Zulip",
"Tip": "Подсказка",
"Toggle DevTools for Active Tab": "Переключить инструменты разработчика для активной вкладки",
"Toggle DevTools for Zulip App": "Переключить инструменты разработчика для приложения Zulip",
"Toggle Do Not Disturb": "Переключить режим \"не мешать\"",
@@ -112,16 +112,16 @@
"Undo": "Отменить",
"Unhide": "Не скрывать",
"Upload": "Загрузить",
"Use system proxy settings (requires restart)": "Использовать системные настройки прокси (необходима перезагрузка)",
"Use system proxy settings (requires restart)": "Использовать системные настройки прокси (потребуется перезапуск)",
"View": "Вид",
"View Shortcuts": "Посмотреть горячие клавишы",
"View Shortcuts": "Сочетания клавиш просмотра",
"Window": "Окно",
"Window Shortcuts": "Ярлыки окна",
"Window Shortcuts": "Сочетания клавиш окна",
"YES": "ДА",
"You can select a maximum of 3 languages for spellchecking.": "Вы можете выбрать не более 3-х языков для проверки орфографии.",
"Zoom In": "Увеличить масштаб",
"Zoom Out": "Уменьшить масштаб",
"keyboard shortcuts": "Горячие клавиши",
"keyboard shortcuts": "сочетания клавиш",
"script": "скрипт",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} использует устаревшую версию Zulip {{{version}}}. Приложение может работать не полностью."
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Додајте прилагођени ЦСС",
"AddServer": "Додај сервер",
"Advanced": "Напредно",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "Све повезане организације ће се појавити овде.",
"Always start minimized": "Увек започните минимизирано",
"App Updates": "Надоградње апликације",
"App language (requires restart)": "Језик апликације (захтева поновно покретање)",
@@ -37,11 +37,11 @@
"Download App Logs": "Преузмите записе апликације",
"Edit": "Уреди",
"Edit Shortcuts": "Уреди пречице",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "Емотикони и симболи",
"Enable auto updates": "Омогући аутоматско ажурирање",
"Enable error reporting (requires restart)": "Омогући извештавање о грешкама (захтева поновно покретање)",
"Enable spellchecker (requires restart)": "Омогући провјеру правописа (захтијева поновно покретање)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Пређи у приказ преко целог екрана",
"Factory Reset": "Фабричко ресетовање",
"Factory Reset Data": "Фабрички ресетуј податке",
"File": "Датотека",
@@ -57,7 +57,7 @@
"Help Center": "Центар за помоћ",
"Hide": "Сакриј",
"Hide Others": "Сакриј остале",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "Сакриј Зулип",
"History": "Историја",
"History Shortcuts": "Пречице историје",
"Keyboard Shortcuts": "Пречице на тастатури",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Искључите све звукове из Зулипа",
"NO": "НЕ",
"Network": "Мрежа",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Подешавања мреже и проксија",
"OR": "ИЛИ",
"On macOS, the OS spellchecker is used.": "На мекинтошу, користи се системска провера правописа.",
"Organization URL": "Адреса организације",
@@ -85,8 +85,8 @@
"Release Notes": "Белешке о издању",
"Reload": "Освежи",
"Report an Issue": "Пријавите проблем",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "Поништи подешавања апликације",
"Reset the application, thus deleting all the connected organizations and accounts.": "Поништавање апликације, чиме ће се обрисати све повезане организације и налози.",
"Save": "Сачувај",
"Select All": "Изабери све",
"Services": "Сервиси",
@@ -123,5 +123,5 @@
"Zoom Out": "Умањи",
"keyboard shortcuts": "пречице на тастатури",
"script": "скрипта",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} покреће застарелу Зулип сервер верзију{{{version}}}. Можда неће у потпуности радити са овом апликацијом."
}

View File

@@ -1,43 +1,54 @@
{
"ar": "عربى",
"bg": "български",
"ca": "català",
"cs": "česky",
"bqi": "Bakhtiari",
"ca": "Català",
"cs": "Čeština",
"cy": "Cymraeg",
"da": "Dansk",
"de": "Deutsch",
"el_GR": "Greek (Greece)",
"el": "Ελληνικά",
"en_GB": "English (UK)",
"en": "English (US)",
"en_GB": "English (United Kingdom)",
"en": "English (United States)",
"es": "Español",
"fa": "فارسی",
"fi": "suomi",
"fr": "français",
"eu": "Euskara",
"fr": "Français",
"gl": "Galego",
"hi": "हिन्दी",
"hr": "Croata",
"hu": "Magyar",
"id_ID": "Indonesian (Indonesia)",
"hr": "Hrvatski",
"id": "Indonesia",
"it": "Italiano",
"ja": "日本語",
"ko": "한국어" ,
"lt": "Lietuvis" ,
"ml": "മലയാളം",
"nb_NO": "norsk (Norge)",
"lv": "Latviešu",
"lt": "Lietuvių",
"hu": "Magyar",
"nl": "Nederlands",
"no": "Norsk",
"uz": "Ozbek",
"pl": "Polski",
"pt": "Português",
"pt_PT": "Português (Portugal)",
"ro": "Română",
"ru": "Русский",
"sk": "Slovak",
"sr": "српски",
"sv": "svenska",
"ta": "தமிழ்",
"tr": "Türkçe",
"uk": "Українська",
"uz": "O'zbek",
"sk": "Slovenčina",
"fi": "Suomi",
"sv": "Svenska",
"vi": "Tiếng Việt",
"zh_TW": "中文 (傳統的)",
"zh-Hans": "简体中文",
"zh-Hant": "繁體中文"
}
"tr": "Türkçe",
"el": "Ελληνικά",
"el_GR": "Ελληνικά (Ελλάδα)",
"be": "Беларуская",
"bg": "Български",
"mn": "Монгол",
"ru": "Русский",
"sr": "Српски",
"uk": "Українська",
"ar": "العربية",
"fa": "فارسی",
"hi": "हिन्दी",
"bn": "বাংলা",
"gu": "ગુજરાતી",
"ta": "தமிழ்",
"te": "తెలుగు",
"ml": "മലയാളം",
"si": "සිංහල",
"ko": "한국어",
"zh_TW": "中文 (台灣)",
"zh-Hans": "中文 (简体)",
"zh-Hant": "中文 (繁體)",
"ja": "日本語"
}

View File

@@ -1,127 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Antas na Mataas",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Baguhin",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Mga Itinakda",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
}

View File

@@ -17,7 +17,7 @@
"Auto hide Menu bar": "Menü çubuğunu otomatik olarak gizle",
"Auto hide menu bar (Press Alt key to display)": "Menü çubuğunu otomatik olarak gizle (ALT tuşuna basarak göster)",
"Back": "Geri",
"Bounce dock on new private message": "Yeni özel mesajlarda simgeyi hareket ettir",
"Bounce dock on new private message": "Yeni özel iletilerde simgeyi hareket ettir",
"Change": "Değiştir",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Sistem Seçenekleri → Klavye → Metin → Kelime Denetimi üzerinden dili değiştirin.",
"Check for Updates": "Güncellemeleri Kontrol Et",
@@ -47,7 +47,7 @@
"File": "Dosya",
"Find accounts": "Hesapları bul",
"Find accounts by email": "E-posta ile hesapları bul",
"Flash taskbar on new message": "Yeni mesajlarda görev çubuğunu aydınlat",
"Flash taskbar on new message": "Yeni iletilerde görev çubuğunu aydınlat",
"Forward": "Yönlendir",
"Functionality": "Fonksiyonellik",
"General": "Genel",

View File

@@ -41,7 +41,7 @@
"Enable auto updates": "Увімкнути автоматичне оновлення",
"Enable error reporting (requires restart)": "Увімкнути повідомлення про помилки (потрібен перезапуск)",
"Enable spellchecker (requires restart)": "Увімкнути перевірку орфографії (потрібен перезапуск)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "Увімкнути повноекранний режим",
"Factory Reset": "Скинути до заводських",
"Factory Reset Data": "Factory Reset Data",
"File": "Файл",
@@ -56,8 +56,8 @@
"Help": "Довідка",
"Help Center": "Центр довідки",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide Others": "Приховати інших",
"Hide Zulip": "Приховати Zulip",
"History": "Історія",
"History Shortcuts": "Клавіатурні скорочення історії",
"Keyboard Shortcuts": "Клавіатурні скорочення",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Заглушити всі звуки від Zulip",
"NO": "НІ",
"Network": "Мережа",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "Налаштування мережі та проксі",
"OR": "АБО",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "URL-адреса організації",

View File

@@ -1,127 +0,0 @@
{
"About Zulip": "About Zulip",
"Actual Size": "Actual Size",
"Add Organization": "Add Organization",
"Add a Zulip organization": "Add a Zulip organization",
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
"Appearance": "Appearance",
"Application Shortcuts": "Application Shortcuts",
"Are you sure you want to disconnect this organization?": "Are you sure you want to disconnect this organization?",
"Ask where to save files before downloading": "Ask where to save files before downloading",
"Auto hide Menu bar": "Auto hide Menu bar",
"Auto hide menu bar (Press Alt key to display)": "Auto hide menu bar (Press Alt key to display)",
"Back": "Back",
"Bounce dock on new private message": "Bounce dock on new private message",
"Change": "Change",
"Change the language from System Preferences → Keyboard → Text → Spelling.": "Change the language from System Preferences → Keyboard → Text → Spelling.",
"Check for Updates": "Check for Updates",
"Close": "Close",
"Connect": "Connect",
"Connect to another organization": "Connect to another organization",
"Connected organizations": "Connected organizations",
"Copy": "Copy",
"Copy Zulip URL": "Copy Zulip URL",
"Create a new organization": "Create a new organization",
"Cut": "Cut",
"Default download location": "Default download location",
"Delete": "Delete",
"Desktop Notifications": "Desktop Notifications",
"Desktop Settings": "Desktop Settings",
"Disconnect": "Disconnect",
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
"Find accounts": "Find accounts",
"Find accounts by email": "Find accounts by email",
"Flash taskbar on new message": "Flash taskbar on new message",
"Forward": "Forward",
"Functionality": "Functionality",
"General": "General",
"Get beta updates": "Get beta updates",
"Hard Reload": "Hard Reload",
"Help": "Help",
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
"Log Out": "Log Out",
"Log Out of Organization": "Log Out of Organization",
"Manual proxy configuration": "Manual proxy configuration",
"Minimize": "Minimize",
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
"Organizations": "Organizations",
"Paste": "Paste",
"Paste and Match Style": "Paste and Match Style",
"Proxy": "Proxy",
"Proxy bypass rules": "Proxy bypass rules",
"Proxy rules": "Proxy rules",
"Quit": "Quit",
"Quit Zulip": "Quit Zulip",
"Quit when the window is closed": "Quit when the window is closed",
"Redo": "Redo",
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
"Settings": "Settings",
"Shortcuts": "Shortcuts",
"Show app icon in system tray": "Show app icon in system tray",
"Show app unread badge": "Show app unread badge",
"Show desktop notifications": "Show desktop notifications",
"Show sidebar": "Show sidebar",
"Spellchecker Languages": "Spellchecker Languages",
"Start app at login": "Start app at login",
"Switch to Next Organization": "Switch to Next Organization",
"Switch to Previous Organization": "Switch to Previous Organization",
"These desktop app shortcuts extend the Zulip webapp's": "These desktop app shortcuts extend the Zulip webapp's",
"Tip": "Tip",
"Toggle DevTools for Active Tab": "Toggle DevTools for Active Tab",
"Toggle DevTools for Zulip App": "Toggle DevTools for Zulip App",
"Toggle Do Not Disturb": "Toggle Do Not Disturb",
"Toggle Full Screen": "Toggle Full Screen",
"Toggle Sidebar": "Toggle Sidebar",
"Toggle Tray Icon": "Toggle Tray Icon",
"Tools": "Tools",
"Undo": "Undo",
"Unhide": "Unhide",
"Upload": "Upload",
"Use system proxy settings (requires restart)": "Use system proxy settings (requires restart)",
"View": "View",
"View Shortcuts": "View Shortcuts",
"Window": "Window",
"Window Shortcuts": "Window Shortcuts",
"YES": "YES",
"You can select a maximum of 3 languages for spellchecking.": "You can select a maximum of 3 languages for spellchecking.",
"Zoom In": "Zoom In",
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "Add custom CSS",
"AddServer": "AddServer",
"Advanced": "Advanced",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "所有已連線的組織都會在此顯示",
"Always start minimized": "Always start minimized",
"App Updates": "App Updates",
"App language (requires restart)": "App language (requires restart)",
@@ -37,11 +37,11 @@
"Download App Logs": "Download App Logs",
"Edit": "Edit",
"Edit Shortcuts": "Edit Shortcuts",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "表情符號",
"Enable auto updates": "Enable auto updates",
"Enable error reporting (requires restart)": "Enable error reporting (requires restart)",
"Enable spellchecker (requires restart)": "Enable spellchecker (requires restart)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "進入全螢幕",
"Factory Reset": "Factory Reset",
"Factory Reset Data": "Factory Reset Data",
"File": "File",
@@ -57,7 +57,7 @@
"Help Center": "Help Center",
"Hide": "Hide",
"Hide Others": "Hide Others",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "隱藏 Zuilp",
"History": "History",
"History Shortcuts": "History Shortcuts",
"Keyboard Shortcuts": "Keyboard Shortcuts",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "Mute all sounds from Zulip",
"NO": "NO",
"Network": "Network",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "網路與代理設定",
"OR": "OR",
"On macOS, the OS spellchecker is used.": "On macOS, the OS spellchecker is used.",
"Organization URL": "Organization URL",
@@ -85,8 +85,8 @@
"Release Notes": "Release Notes",
"Reload": "Reload",
"Report an Issue": "Report an Issue",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "重置應用設定",
"Reset the application, thus deleting all the connected organizations and accounts.": "重置應用並刪除所有資料",
"Save": "Save",
"Select All": "Select All",
"Services": "Services",
@@ -123,5 +123,5 @@
"Zoom Out": "Zoom Out",
"keyboard shortcuts": "keyboard shortcuts",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} Zulip 伺服器版本過時 {{{version}}}. 服務可能無法正常運作"
}

View File

@@ -6,7 +6,7 @@
"Add custom CSS": "新增自定義 CSS",
"AddServer": "新增伺服器",
"Advanced": "\b\b進階",
"All the connected organizations will appear here.": "All the connected organizations will appear here.",
"All the connected organizations will appear here.": "所有已連線的織職都會在此顯示",
"Always start minimized": "始終最小化開啟",
"App Updates": "應用程式更新",
"App language (requires restart)": "應用程式語言(需要重新啟動)",
@@ -37,11 +37,11 @@
"Download App Logs": "下載應用程式紀錄",
"Edit": "編輯",
"Edit Shortcuts": "編輯快捷鍵",
"Emoji & Symbols": "Emoji & Symbols",
"Emoji & Symbols": "表情符號",
"Enable auto updates": "啟用自動更新",
"Enable error reporting (requires restart)": "啟用錯誤回報(需要重新啟動)",
"Enable spellchecker (requires restart)": "啟用拼字檢查(需要重新啟動)",
"Enter Full Screen": "Enter Full Screen",
"Enter Full Screen": "全螢幕",
"Factory Reset": "初始化",
"Factory Reset Data": "設定初始化",
"File": "檔案",
@@ -57,7 +57,7 @@
"Help Center": "幫助中心",
"Hide": "隱藏",
"Hide Others": "隱藏其他",
"Hide Zulip": "Hide Zulip",
"Hide Zulip": "隱藏 Zulip",
"History": "歷史",
"History Shortcuts": "歷史快捷鍵",
"Keyboard Shortcuts": "鍵盤快捷鍵",
@@ -68,7 +68,7 @@
"Mute all sounds from Zulip": "將所有 Zulip 音效靜音",
"NO": "否",
"Network": "網路",
"Network and Proxy Settings": "Network and Proxy Settings",
"Network and Proxy Settings": "網路與代理設定",
"OR": "或",
"On macOS, the OS spellchecker is used.": "在 macOS 下使用作業系統的拼字檢查",
"Organization URL": "組織網址",
@@ -85,8 +85,8 @@
"Release Notes": "版本更新公告",
"Reload": "重新載入",
"Report an Issue": "回報問題",
"Reset App Settings": "Reset App Settings",
"Reset the application, thus deleting all the connected organizations and accounts.": "Reset the application, thus deleting all the connected organizations and accounts.",
"Reset App Settings": "重置應用設定",
"Reset the application, thus deleting all the connected organizations and accounts.": "重置應用並刪除所有資料",
"Save": "儲存",
"Select All": "選擇全部",
"Services": "服務",
@@ -123,5 +123,5 @@
"Zoom Out": "縮小",
"keyboard shortcuts": "鍵盤快捷鍵",
"script": "script",
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app."
"{{{server}}} runs an outdated Zulip Server version {{{version}}}. It may not fully work in this app.": "{{{server}}} Zulip 伺服器版本過時 {{{version}}}. 服務可能無法正常運作"
}

20
scripts/win-sign.js Normal file
View File

@@ -0,0 +1,20 @@
"use strict";
const childProcess = require("node:child_process");
const {promisify} = require("node:util");
const exec = promisify(childProcess.exec);
exports.default = async ({path, hash}) => {
await exec(
`powershell.exe Invoke-TrustedSigning \
-Endpoint https://eus.codesigning.azure.net/ \
-CodeSigningAccountName kandralabs \
-CertificateProfileName kandralabs \
-Files '${path}' \
-FileDigest '${hash}' \
-TimestampRfc3161 http://timestamp.acs.microsoft.com \
-TimestampDigest '${hash}'`,
{stdio: "inherit"},
);
};

View File

@@ -1,16 +1,16 @@
"use strict";
const fs = require("node:fs");
const path = require("node:path");
const process = require("node:process");
const {_electron} = require("playwright-core");
const rimraf = require("rimraf");
const testsPkg = require("./package.json");
module.exports = {
createApp,
endTest,
resetTestDataDir,
resetTestDataDir: resetTestDataDirectory,
};
// Runs Zulip Desktop.
@@ -26,7 +26,7 @@ async function endTest(app) {
await app.close();
}
function getAppDataDir() {
function getAppDataDirectory() {
let base;
switch (process.platform) {
@@ -56,7 +56,7 @@ function getAppDataDir() {
}
// Resets the test directory, containing domain.json, window-state.json, etc
function resetTestDataDir() {
const appDataDir = getAppDataDir();
rimraf.sync(appDataDir);
function resetTestDataDirectory() {
const appDataDirectory = getAppDataDirectory();
fs.rmSync(appDataDirectory, {force: true, recursive: true});
}

View File

@@ -1,3 +1,3 @@
#!/bin/bash
set -ex
exec tx pull -a -f --parallel
set -eux
exec tx pull -a -f --minimum-perc=5

View File

@@ -5,9 +5,15 @@
"module": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"paths": {
// https://github.com/getsentry/sentry-electron/issues/957
"@sentry/node/build/types/integrations/anr/common": [
"./node_modules/@sentry/node/build/types/integrations/anr/common"
]
},
"resolveJsonModule": true,
"strict": true,
"noImplicitOverride": true,
"types": ["vite/client"],
},
"types": ["vite/client"]
}
}