Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Calendar on Windows and Linux (and next to a Mac's own): connect a private calendar address (iCal) (#77)

Christian Mathiesene80db375d2f0
diff --git a/app/e2e/calendarLink.spec.ts b/app/e2e/calendarLink.spec.ts
new file mode 100644
index 00000000..f54bcf2e
--- /dev/null
+++ b/app/e2e/calendarLink.spec.ts
@@ -0,0 +1,88 @@
+import { _electron as electron, expect, test } from '@playwright/test'
+import { mkdtempSync, readFileSync } from 'node:fs'
+import { createServer, type Server } from 'node:http'
+import { tmpdir } from 'node:os'
+import { join } from 'node:path'
+
+// @everywhere: Windows and Linux connect their calendar with a private calendar address (iCal), in Settings and in the
+// first run, with one form. A made-up feed is served on this computer; YOGURT_FAKE_PLATFORM shows Windows' screens.
+const main = join(import.meta.dirname, '../out/main/index.js')
+const stamp = (ms: number) => new Date(ms).toISOString().replace(/[-:]/g, '').replace(/\.\d{3}/, '')
+
+function serve(): Promise<{ server: Server; base: string }> {
+ const start = Date.now() + 30 * 60_000
+ const feed = `BEGIN:VCALENDAR\r\nVERSION:2.0\r\nX-WR-CALNAME:Team calendar\r\nBEGIN:VEVENT\r\nUID:[email protected]\r\nSUMMARY:Launch planning\r\nDTSTART:${stamp(start)}\r\nDTEND:${stamp(start + 30 * 60_000)}\r\nATTENDEE;CN=Dana Smith:mailto:[email protected]\r\nDESCRIPTION:https://meet.google.com/abc-defg-hij\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n`
+ const server = createServer((req, res) => {
+ if (req.url === '/cal.ics') { res.writeHead(200, { 'content-type': 'text/calendar' }); res.end(feed) } else { res.writeHead(200, { 'content-type': 'text/html' }); res.end('<html>Sign in</html>') }
+ })
+ return new Promise((r) => server.listen(0, '127.0.0.1', () => r({ server, base: `http://127.0.0.1:${(server.address() as { port: number }).port}` })))
+}
+
+test('@everywhere on win32: the agenda sends you to Settings, a calendar link connects there, and its events show up', async () => {
+ const { server, base } = await serve()
+ const profile = mkdtempSync(join(tmpdir(), 'yogurt-callink-'))
+ const app = await electron.launch({ args: [main], env: { ...process.env, YOGURT_FAKE: '1', YOGURT_FAKE_PLATFORM: 'win32', YOGURT_USER_DATA: profile } })
+ try {
+ const page = await app.firstWindow()
+ await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
+ await expect(page.getByTestId('calendar-off')).toContainText('Connect a calendar to see your meetings.')
+ await page.getByTestId('calendar-off').getByRole('button').click()
+ const form = page.getByTestId('calendar-link-form')
+ await expect(form).toBeVisible()
+ await expect(form.getByTestId('calendar-link-open')).toHaveAttribute('href', /calendar\.google\.com/)
+ await form.getByTestId('calendar-link-provider-outlook').click()
+ await expect(form.getByTestId('calendar-link-open')).toHaveAttribute('href', /outlook\.office\.com/)
+ // a page that isn't a calendar says so, and nothing is connected
+ await form.getByTestId('calendar-link-input').fill(`${base}/page`)
+ await form.getByTestId('calendar-link-connect').click()
+ await expect(form.getByTestId('calendar-link-error')).toContainText("isn't a calendar")
+ await form.getByTestId('calendar-link-input').fill(`${base}/cal.ics`)
+ await form.getByTestId('calendar-link-connect').click()
+ await expect(page.getByTestId('calendar-choice')).toHaveCount(1)
+ await expect(page.getByTestId('calendar-choice')).toContainText('Team calendar')
+ // the address is kept, but never as written in the settings file
+ expect(readFileSync(join(profile, 'settings.json'), 'utf8')).not.toContain('/cal.ics')
+ await page.getByTestId('nav-back').click()
+ await expect(page.getByTestId('event').filter({ hasText: 'Launch planning' })).toBeVisible()
+ // removed: no calendar, and the form is back
+ await page.getByTestId('settings-open').click()
+ await page.getByTestId('calendar-link-remove').click()
+ await expect(page.getByTestId('calendar-link-form')).toBeVisible()
+ await expect(page.getByTestId('calendar-choice')).toHaveCount(0)
+ } finally { await app.close(); server.close() }
+})
+
+test('@everywhere on win32: the first run asks for a calendar link with the same form, and Not now goes on', async () => {
+ const app = await electron.launch({ args: [main], env: { ...process.env, YOGURT_FAKE: '1', YOGURT_FAKE_PLATFORM: 'win32', YOGURT_USER_DATA: mkdtempSync(join(tmpdir(), 'yogurt-callink-ob-')), YOGURT_FAKE_PERMISSIONS: 'unknown' } })
+ try {
+ const page = await app.firstWindow()
+ await page.getByTestId('intro-next').click()
+ const step = page.locator('[data-testid="onboarding-step"][data-step="calendar"]')
+ await expect(step).toBeVisible({ timeout: 15_000 })
+ await expect(step.getByTestId('calendar-link-form')).toBeVisible()
+ await step.getByTestId('step-later').click()
+ await expect(step).toHaveCount(0)
+ } finally { await app.close() }
+})
+
+test('@everywhere a Mac keeps its own calendar and can add a calendar link next to it (only "other": no Google or Outlook tabs)', async () => {
+ const { server, base } = await serve()
+ const app = await electron.launch({ args: [main], env: { ...process.env, YOGURT_FAKE: '1', YOGURT_FAKE_PLATFORM: 'darwin', YOGURT_USER_DATA: mkdtempSync(join(tmpdir(), 'yogurt-callink-mac-')) } })
+ try {
+ const page = await app.firstWindow()
+ await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
+ await page.getByTestId('settings-open').click()
+ const settings = page.getByTestId('calendar-settings')
+ if (await settings.getByTestId('calendar-settings-toggle').getAttribute('aria-expanded') !== 'true') await settings.getByTestId('calendar-settings-toggle').click()
+ const before = await settings.getByTestId('calendar-choice').count()
+ await settings.getByTestId('calendar-link-add').click()
+ const form = settings.getByTestId('calendar-link-form')
+ await expect(form.getByRole('tab')).toHaveCount(0)
+ await form.getByTestId('calendar-link-input').fill(`${base}/cal.ics`)
+ await form.getByTestId('calendar-link-connect').click()
+ await expect(settings.getByTestId('calendar-choice')).toHaveCount(before + 1)
+ await expect(settings.getByTestId('calendar-choice').filter({ hasText: 'Team calendar' }).getByTestId('calendar-link-remove')).toBeVisible()
+ // the Mac's own calendars have no Remove: they live in the Mac's Calendar app
+ await expect(settings.getByTestId('calendar-link-remove')).toHaveCount(1)
+ } finally { await app.close(); server.close() }
+})
diff --git a/app/e2e/platform.spec.ts b/app/e2e/platform.spec.ts
index fd23f5b1..225e6e94 100644
--- a/app/e2e/platform.spec.ts
+++ b/app/e2e/platform.spec.ts
@@ -11,13 +11,13 @@ const launch = (env: Record<string, string> = {}) =>
for (const platform of ['win32', 'linux']) {
// Linux reads names from calls through AT-SPI and Windows through UI Automation: nothing to ask for, so it reads as on
const names = true
- test(`@everywhere on ${platform}: no agenda, and Settings has no calendar but names from calls`, async () => {
+ test(`@everywhere on ${platform}: the agenda, and Settings' calendars by calendar link (no calendar permission), and names from calls`, async () => {
const app = await launch({ YOGURT_FAKE_PLATFORM: platform })
try {
const page = await app.firstWindow()
await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
- expect(await page.evaluate(() => window.yogurt.capabilities)).toEqual({ calendar: false, callNames: names, permissionPrompts: false, mediaPause: false })
- await expect(page.getByRole('complementary', { name: 'Agenda' })).toHaveCount(0)
+ expect(await page.evaluate(() => window.yogurt.capabilities)).toEqual({ calendar: true, calendarLink: true, callNames: names, permissionPrompts: false, mediaPause: false })
+ await expect(page.getByRole('complementary', { name: 'Agenda' })).toBeVisible()
await page.getByTestId('settings-open').click()
await expect(page.getByTestId('settings')).toBeVisible()
await expect(page.getByTestId('permission-row')).toHaveCount(names ? 4 : 3)
@@ -26,15 +26,19 @@ for (const platform of ['win32', 'linux']) {
// Manage only where there is a page to open (#70): never on names from calls here, and on Linux nowhere
await expect(page.locator('[data-testid="permission-row"][data-kind="accessibility"] [data-testid="permission-open"]')).toHaveCount(0)
await expect(page.locator('[data-testid="permission-row"] [data-testid="permission-open"]')).toHaveCount(platform === 'win32' ? 3 : 0)
- await expect(page.getByTestId('calendar-settings')).toHaveCount(0)
+ await expect(page.getByTestId('calendar-settings')).toBeVisible()
+ await expect(page.getByTestId('calendar-link-form')).toBeVisible()
} finally { await app.close() }
})
- test(`@everywhere on ${platform}: the first run asks for nothing (no prompts there; mic, call audio and notifications are on)`, async () => {
+ test(`@everywhere on ${platform}: the first run asks only for a calendar link (no prompts there; mic, call audio and notifications are on)`, async () => {
const app = await launch({ YOGURT_FAKE_PLATFORM: platform, YOGURT_FAKE_PERMISSIONS: 'unknown', YOGURT_FAKE_CALENDAR: 'notDetermined' })
try {
const page = await app.firstWindow()
await page.getByTestId('intro-next').click()
+ const calendar = page.locator('[data-testid="onboarding-step"][data-step="calendar"]')
+ await expect(calendar).toBeVisible({ timeout: 15_000 })
+ await calendar.getByTestId('step-later').click()
await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
await expect(page.getByTestId('onboarding-step')).toHaveCount(0)
} finally { await app.close() }
@@ -46,7 +50,7 @@ test('@everywhere a Mac keeps the agenda and every permission', async () => {
try {
const page = await app.firstWindow()
await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
- expect(await page.evaluate(() => window.yogurt.capabilities)).toEqual({ calendar: true, callNames: true, permissionPrompts: true, mediaPause: true })
+ expect(await page.evaluate(() => window.yogurt.capabilities)).toEqual({ calendar: true, calendarLink: false, callNames: true, permissionPrompts: true, mediaPause: true })
await expect(page.getByRole('complementary', { name: 'Agenda' })).toBeVisible()
await page.getByTestId('settings-open').click()
await expect(page.getByTestId('permission-row')).toHaveCount(5)
diff --git a/app/package.json b/app/package.json
index 4c1da6dc..8e670556 100644
--- a/app/package.json
+++ b/app/package.json
@@ -15,6 +15,7 @@
"dependencies": {
"chrono-node": "2.10.3",
"electron-updater": "6.8.10",
+ "ical.js": "2.2.1",
"node-llama-cpp": "3.22.1"
},
"devDependencies": {
diff --git a/app/resources/licenses/ical.js-MPL-2.0.txt b/app/resources/licenses/ical.js-MPL-2.0.txt
new file mode 100644
index 00000000..a612ad98
--- /dev/null
+++ b/app/resources/licenses/ical.js-MPL-2.0.txt
@@ -0,0 +1,373 @@
+Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+ means each individual or legal entity that creates, contributes to
+ the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+ means the combination of the Contributions of others (if any) used
+ by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+ means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+ means Source Code Form to which the initial Contributor has attached
+ the notice in Exhibit A, the Executable Form of such Source Code
+ Form, and Modifications of such Source Code Form, in each case
+ including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+ means
+
+ (a) that the initial Contributor has attached the notice described
+ in Exhibit B to the Covered Software; or
+
+ (b) that the Covered Software was made available under the terms of
+ version 1.1 or earlier of the License, but not also under the
+ terms of a Secondary License.
+
+1.6. "Executable Form"
+ means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+ means a work that combines Covered Software with other material, in
+ a separate file or files, that is not Covered Software.
+
+1.8. "License"
+ means this document.
+
+1.9. "Licensable"
+ means having the right to grant, to the maximum extent possible,
+ whether at the time of the initial grant or subsequently, any and
+ all of the rights conveyed by this License.
+
+1.10. "Modifications"
+ means any of the following:
+
+ (a) any file in Source Code Form that results from an addition to,
+ deletion from, or modification of the contents of Covered
+ Software; or
+
+ (b) any new file in Source Code Form that contains any Covered
+ Software.
+
+1.11. "Patent Claims" of a Contributor
+ means any patent claim(s), including without limitation, method,
+ process, and apparatus claims, in any patent Licensable by such
+ Contributor that would be infringed, but for the grant of the
+ License, by the making, using, selling, offering for sale, having
+ made, import, or transfer of either its Contributions or its
+ Contributor Version.
+
+1.12. "Secondary License"
+ means either the GNU General Public License, Version 2.0, the GNU
+ Lesser General Public License, Version 2.1, the GNU Affero General
+ Public License, Version 3.0, or any later versions of those
+ licenses.
+
+1.13. "Source Code Form"
+ means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+ means an individual or a legal entity exercising rights under this
+ License. For legal entities, "You" includes any entity that
+ controls, is controlled by, or is under common control with You. For
+ purposes of this definition, "control" means (a) the power, direct
+ or indirect, to cause the direction or management of such entity,
+ whether by contract or otherwise, or (b) ownership of more than
+ fifty percent (50%) of the outstanding shares or beneficial
+ ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+ Licensable by such Contributor to use, reproduce, make available,
+ modify, display, perform, distribute, and otherwise exploit its
+ Contributions, either on an unmodified basis, with Modifications, or
+ as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+ for sale, have made, import, and otherwise transfer either its
+ Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+ or
+
+(b) for infringements caused by: (i) Your and any other third party's
+ modifications of Covered Software, or (ii) the combination of its
+ Contributions with other software (except as part of its Contributor
+ Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+ its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+ Form, as described in Section 3.1, and You must inform recipients of
+ the Executable Form how they can obtain a copy of such Source Code
+ Form by reasonable means in a timely manner, at a charge no more
+ than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+ License, or sublicense it under different terms, provided that the
+ license for the Executable Form does not attempt to limit or alter
+ the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+ This Source Code Form is "Incompatible With Secondary Licenses", as
+ defined by the Mozilla Public License, v. 2.0.
diff --git a/app/src/main/calendar.ts b/app/src/main/calendar.ts
index 62e0aa0f..a0057910 100644
--- a/app/src/main/calendar.ts
+++ b/app/src/main/calendar.ts
@@ -66,16 +66,38 @@ let supported = true
/** Windows and Linux have no calendar (capabilities().calendar): the helper is never asked, and nothing shows it */
export const setCalendarSupported = (on: boolean) => { supported = on; if (!on) status = 'unsupported' }
+/**
+ * Windows and Linux: the calendar comes from calendar links (calendarLink/), which answer what the Mac helper answers
+ * here (status, calendars, events in its shape), so the rest of Yogurt never knows the difference. null: the helper.
+ */
+export type CalendarLinkSource = { status(): 'granted' | 'notDetermined'; calendars(): Promise<CalendarSource[]>; events(fromMs: number, toMs: number): Promise<unknown[]> }
+let links: CalendarLinkSource | null = null
+/** a Mac: links are added next to the Mac's own calendars (Settings), never instead of them */
+let alongside = false
+/** a Mac's own calendar access, apart from the links */
+let macStatus: CalendarStatus = 'notDetermined'
+export const setCalendarLinkSource = (s: CalendarLinkSource | null, o: { alongside?: boolean } = {}) => {
+ links = s; alongside = !!s && !!o.alongside
+ if (s && !alongside) status = s.status()
+}
+/** the Mac's own calendar access, apart from any links (Settings shows both) */
+export const systemCalendarStatus = (): CalendarStatus => (links && !alongside ? 'unsupported' : macStatus)
+/** with links alongside, a connected link is a calendar even while the Mac's own one isn't allowed */
+const overall = (mac: CalendarStatus): CalendarStatus => (links && mac !== 'granted' && links.status() === 'granted' ? 'granted' : mac)
+
export async function refreshCalendarStatus(): Promise<CalendarStatus> {
- if (!supported) return status = 'unsupported'
- try { status = asStatus(await helper(['calendar-status'])) } catch { status = 'error' }
- return status
+ if (links && !alongside) return status = links.status()
+ if (!supported) macStatus = 'unsupported'
+ else try { macStatus = asStatus(await helper(['calendar-status'])) } catch { macStatus = 'error' }
+ return status = overall(macStatus)
}
/** Asks once with the system's own prompt */
export async function requestCalendarAccess(): Promise<CalendarStatus> {
- if (!supported) return status = 'unsupported'
- try { status = asStatus(await helper(['calendar-auth'])) } catch { status = 'error' }
- return status
+ // a link has no prompt: it is connected when one is pasted (Settings or the first run)
+ if (links && !alongside) return status = links.status()
+ if (!supported) macStatus = 'unsupported'
+ else try { macStatus = asStatus(await helper(['calendar-auth'])) } catch { macStatus = 'error' }
+ return status = overall(macStatus)
}
// Links that start a call; anything else in an invite (docs, agendas) is not one
@@ -88,12 +110,14 @@ export const setCalendarSelection = (read: typeof calendarSelection) => { calend
export async function calendars(): Promise<CalendarSource[]> {
if (await refreshCalendarStatus() !== 'granted') return []
+ const linked = links ? await links.calendars() : []
+ if ((links && !alongside) || macStatus !== 'granted') return linked
try {
const raw = await helper(['calendars'])
if (!Array.isArray(raw)) throw new Error('Invalid calendars')
- return raw.flatMap((r) => r && typeof r === 'object' && str(r.id) && str(r.name)
- ? [{ id: r.id as string, name: r.name as string, source: str(r.source) ?? '', ...(typeof r.color === 'string' && /^#[0-9a-f]{6}$/i.test(r.color) ? { color: r.color } : {}) }] : [])
- } catch { status = 'error'; return [] }
+ return [...raw.flatMap((r) => r && typeof r === 'object' && str(r.id) && str(r.name)
+ ? [{ id: r.id as string, name: r.name as string, source: str(r.source) ?? '', ...(typeof r.color === 'string' && /^#[0-9a-f]{6}$/i.test(r.color) ? { color: r.color } : {}) }] : []), ...linked]
+ } catch { status = 'error'; return linked }
}
export function parseEvents(raw: unknown, hidden: string[] = []): CalEvent[] {
@@ -133,7 +157,9 @@ export function parseEvents(raw: unknown, hidden: string[] = []): CalEvent[] {
export async function upcoming(fromMs: number, toMs: number, keep?: (event: CalEvent) => boolean): Promise<CalEvent[]> {
if (await refreshCalendarStatus() !== 'granted') return []
try {
- const raw = await helper(['events', new Date(fromMs).toISOString(), new Date(toMs).toISOString()])
+ const fromMac = !links || (alongside && macStatus === 'granted')
+ const mac = fromMac ? await helper(['events', new Date(fromMs).toISOString(), new Date(toMs).toISOString()]) : []
+ const raw = [...(links ? await links.events(fromMs, toMs) : []), ...(Array.isArray(mac) ? mac : [])]
const selection = calendarSelection()
return parseEvents(raw, selection.hiddenCalendarIds).filter(event =>
selection.hideEventsWithoutCallLink !== true || event.url !== null || keep?.(event))
diff --git a/app/src/main/calendarLink/get.ts b/app/src/main/calendarLink/get.ts
new file mode 100644
index 00000000..e4039232
--- /dev/null
+++ b/app/src/main/calendarLink/get.ts
@@ -0,0 +1,16 @@
+/**
+ * The one request a calendar link makes: the person's own calendar address, straight from this computer to their
+ * calendar provider (Google, Outlook, …). No Yogurt server sits in between. Small and slow-proof: at most 10 MB, 20 s.
+ */
+const MAX_BYTES = 10 * 2 ** 20
+const TIMEOUT_MS = 20_000
+
+export async function getCalendar(url: string): Promise<string> {
+ const res = await fetch(url, { signal: AbortSignal.timeout(TIMEOUT_MS), redirect: 'follow', headers: { accept: 'text/calendar, */*' } })
+ if (!res.ok) throw new Error(`calendar address answered ${res.status}`)
+ const size = Number(res.headers.get('content-length') ?? 0)
+ if (size > MAX_BYTES) throw new Error('calendar too big')
+ const text = await res.text()
+ if (text.length > MAX_BYTES) throw new Error('calendar too big')
+ return text
+}
diff --git a/app/src/main/calendarLink/ics.ts b/app/src/main/calendarLink/ics.ts
new file mode 100644
index 00000000..f094a7bf
--- /dev/null
+++ b/app/src/main/calendarLink/ics.ts
@@ -0,0 +1,100 @@
+import ICAL from 'ical.js'
+
+/**
+ * A calendar link's iCal feed read as the Mac helper's `events` answer (calendar.ts parseEvents reads either), so
+ * Windows and Linux get the agenda, call detection and attendees from a private calendar address. Pure: the feed's
+ * text in, events between two times out. Recurring events are expanded in the feed's own time zones.
+ */
+
+export type LinkRef = { id: string; name: string }
+export type RawEvent = {
+ id: string; externalId: string; title: string; start: string; end: string
+ attendees: Array<{ name: string | null; email: string | null }>
+ url: string | null; location: string | null; notes: string | null
+ calendarId: string; calendar: string; calendarSource: string; me: string | null
+}
+
+/** at most this many occurrences of one event are walked, so a feed with a years-long daily event stays quick */
+const MAX_STEPS = 5000
+
+const parse = (text: string): ICAL.Component => {
+ if (!/BEGIN:VCALENDAR/i.test(text)) throw new Error('Not a calendar')
+ const root = new ICAL.Component(ICAL.parse(text))
+ for (const tz of root.getAllSubcomponents('vtimezone')) ICAL.TimezoneService.register(tz)
+ return root
+}
+
+const prop = (c: ICAL.Component, name: string): string | null => {
+ const v = c.getFirstPropertyValue(name)
+ return typeof v === 'string' && v.trim() ? v.trim() : null
+}
+
+/** the feed's name, and the address it belongs to when its name is one (Google names a person's calendar after them) */
+export function icsName(text: string): { name: string | null; me: string | null } {
+ const root = parse(text)
+ const name = prop(root, 'x-wr-calname')
+ return { name, me: name && /^[^\s@]+@[^\s@]+$/.test(name) ? name.toLowerCase() : null }
+}
+
+const email = (v: unknown) => (typeof v === 'string' ? v.replace(/^mailto:/i, '').trim().toLowerCase() || null : null)
+
+function people(c: ICAL.Component, me: string | null): RawEvent['attendees'] {
+ const seen = new Set<string>()
+ const out: RawEvent['attendees'] = []
+ for (const p of [...c.getAllProperties('organizer'), ...c.getAllProperties('attendee')]) {
+ const address = email(p.getFirstValue())
+ const cn = p.getParameter('cn')
+ const name = typeof cn === 'string' && cn.trim() ? cn.trim() : null
+ const key = address ?? name
+ if (!key || seen.has(key) || (me && address === me)) continue
+ seen.add(key)
+ out.push({ name: name ?? address, email: address })
+ }
+ return out
+}
+
+/** Events that overlap [fromMs, toMs), all-day and cancelled ones left out. A feed that isn't iCal throws. */
+export function icsEvents(text: string, fromMs: number, toMs: number, link: LinkRef): RawEvent[] {
+ const root = parse(text)
+ const { me } = icsName(text)
+ const masters = new Map<string, ICAL.Event>()
+ const exceptions: ICAL.Component[] = []
+ for (const v of root.getAllSubcomponents('vevent')) {
+ const uid = prop(v, 'uid')
+ if (!uid) continue
+ if (v.hasProperty('recurrence-id')) exceptions.push(v)
+ else masters.set(uid, new ICAL.Event(v))
+ }
+ // a moved or changed occurrence belongs to its recurring event; one whose event isn't in the feed stands alone
+ const lone: ICAL.Event[] = []
+ for (const x of exceptions) {
+ const master = masters.get(prop(x, 'uid')!)
+ if (master) master.relateException(x)
+ else lone.push(new ICAL.Event(x))
+ }
+
+ const out: RawEvent[] = []
+ const add = (item: ICAL.Event, start: ICAL.Time, end: ICAL.Time) => {
+ if (start.isDate) return
+ if ((prop(item.component, 'status') ?? '').toUpperCase() === 'CANCELLED') return
+ const s = start.toJSDate().getTime(), e = end.toJSDate().getTime()
+ if (!(s < toMs && e > fromMs)) return
+ const uid = item.uid
+ out.push({
+ id: `${uid}|${new Date(s).toISOString()}`, externalId: uid, title: item.summary ?? '',
+ start: new Date(s).toISOString(), end: new Date(e).toISOString(), attendees: people(item.component, me),
+ url: prop(item.component, 'url') ?? prop(item.component, 'x-google-conference'), location: item.location || null, notes: item.description || null,
+ calendarId: link.id, calendar: link.name, calendarSource: 'Calendar link', me,
+ })
+ }
+ for (const ev of [...masters.values(), ...lone]) {
+ if (!ev.isRecurring()) { add(ev, ev.startDate, ev.endDate); continue }
+ const it = ev.iterator()
+ for (let i = 0, next = it.next(); next && i < MAX_STEPS; i++, next = it.next()) {
+ if (next.toJSDate().getTime() >= toMs) break
+ const d = ev.getOccurrenceDetails(next)
+ add(d.item, d.startDate, d.endDate)
+ }
+ }
+ return out.sort((a, b) => a.start.localeCompare(b.start))
+}
diff --git a/app/src/main/calendarLink/index.ts b/app/src/main/calendarLink/index.ts
new file mode 100644
index 00000000..011578ff
--- /dev/null
+++ b/app/src/main/calendarLink/index.ts
@@ -0,0 +1,95 @@
+import { randomUUID } from 'node:crypto'
+import { loadSettings, updateSettings } from '../settings'
+import { icsEvents, icsName, type RawEvent } from './ics'
+
+/**
+ * Calendar links: Windows and Linux have no system calendar Yogurt can read, so the person pastes their calendar's
+ * private iCal address (Google's "Secret address in iCal format", Outlook's published calendar). It is kept only on
+ * this computer, sealed with the system keychain where there is one, and read from here every few minutes. The events
+ * come out in the Mac helper's shape, so the agenda, call detection and attendees work as on a Mac (calendar.ts).
+ */
+
+export type LinkError = 'bad-url' | 'unreachable' | 'not-calendar' | 'public-address'
+export type AddResult = { ok: true; id: string; name: string } | { ok: false; error: LinkError }
+type Stored = { id: string; name: string; host: string; url: string }
+
+/** how long a fetched feed is used before asking for it again */
+export const REFRESH_MS = 5 * 60_000
+
+/** https (webcal is the same address), or plain http only on this computer (tests) */
+export function normalize(raw: string): URL | null {
+ let url: URL
+ try { url = new URL(raw.trim().replace(/^webcals?:\/\//i, 'https://')) } catch { return null }
+ if (url.protocol === 'https:') return url
+ if (url.protocol === 'http:' && ['127.0.0.1', 'localhost', '[::1]'].includes(url.hostname)) return url
+ return null
+}
+
+export function createCalendarLinks(d: {
+ file: string
+ get: (url: string) => Promise<string>
+ /** keep the address from being readable in settings.json: the system keychain (safeStorage), or as it is without one */
+ seal: (plain: string) => string
+ open: (sealed: string) => string
+ now?: () => number
+}) {
+ const now = d.now ?? Date.now
+ const cache = new Map<string, { text: string; at: number }>()
+ const stored = (): Stored[] => loadSettings(d.file).calendarLinks ?? []
+ const urlOf = (l: Stored) => { try { return d.open(l.url) } catch { return null } }
+
+ /** the feed's text: the cached copy for five minutes, a fresh one after, the last good copy when that fails */
+ async function text(l: Stored): Promise<string | null> {
+ const hit = cache.get(l.id)
+ if (hit && now() - hit.at < REFRESH_MS) return hit.text
+ const url = urlOf(l)
+ if (!url) return hit?.text ?? null
+ try {
+ const t = await d.get(url)
+ icsName(t)
+ cache.set(l.id, { text: t, at: now() })
+ return t
+ } catch (e) {
+ console.warn('calendar link: could not read', l.host, e instanceof Error ? e.message : e)
+ return hit?.text ?? null
+ }
+ }
+
+ return {
+ /** the connected calendars, never their addresses */
+ list: () => stored().map(({ id, name, host }) => ({ id, name, host })),
+ status: (): 'granted' | 'notDetermined' => (stored().length ? 'granted' : 'notDetermined'),
+ async add(raw: string): Promise<AddResult> {
+ const url = normalize(raw)
+ if (!url) return { ok: false, error: 'bad-url' }
+ // Google's public address only answers for a public calendar; work accounts often have no secret one to use instead
+ const publicGoogle = url.hostname === 'calendar.google.com' && /\/public\/[^/]*\.ics$/i.test(url.pathname)
+ let t: string
+ try { t = await d.get(url.toString()) } catch { return { ok: false, error: publicGoogle ? 'public-address' : 'unreachable' } }
+ let name: string | null
+ try { name = icsName(t).name } catch { return { ok: false, error: publicGoogle ? 'public-address' : 'not-calendar' } }
+ const id = randomUUID()
+ const host = url.hostname
+ const label = name ?? host
+ updateSettings(d.file, { calendarLinks: [...stored(), { id, name: label, host, url: d.seal(url.toString()) }] })
+ cache.set(id, { text: t, at: now() })
+ return { ok: true, id, name: label }
+ },
+ remove(id: string) {
+ cache.delete(id)
+ updateSettings(d.file, { calendarLinks: stored().filter((l) => l.id !== id) })
+ },
+ /** one per link, as calendar.ts's calendars() gives the Mac's */
+ async calendars() { return stored().map((l) => ({ id: l.id, name: l.name, source: l.host })) },
+ /** every link's events between two times; a link that can't be read gives none, never an error */
+ async events(fromMs: number, toMs: number): Promise<RawEvent[]> {
+ const all = await Promise.all(stored().map(async (l) => {
+ const t = await text(l)
+ if (!t) return []
+ try { return icsEvents(t, fromMs, toMs, { id: l.id, name: l.name }) } catch { return [] }
+ }))
+ return all.flat()
+ },
+ }
+}
+export type CalendarLinks = ReturnType<typeof createCalendarLinks>
diff --git a/app/src/main/index.ts b/app/src/main/index.ts
index 53c4b49b..c6774d8e 100644
--- a/app/src/main/index.ts
+++ b/app/src/main/index.ts
@@ -13,7 +13,7 @@ import { isAppRoute } from '../shared/routes'
import { resumesNote } from '../shared/agendaNote'
import { relaunchOptions, stripAppImageEnv } from './relaunch'
import { capabilities, micListHelper, platformOf, supportedKinds } from '../shared/platform'
-import { app, BrowserWindow, dialog, ipcMain, nativeTheme, Notification, protocol, shell } from 'electron'
+import { app, BrowserWindow, dialog, ipcMain, nativeTheme, Notification, protocol, safeStorage, shell } from 'electron'
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'
import os from 'node:os'
import { basename, join } from 'node:path'
@@ -40,7 +40,9 @@ import { SetupController } from './setup'
import { fakeMeasure, measureSpeed, speedClipPath, speedStore } from './asr/speedCheck'
import { vadModelPath, whisperServerPath } from './asr/server'
import { openStore, type Store } from './store'
-import { calendars, eventIds, matchesEvent, setCalendarSelection, calendarStatus, createHelperRunner, helperPath, killAllHelpers, refreshCalendarStatus, requestCalendarAccess, runHelper, setCalendarSupported, setHelper, upcoming, type CalEvent } from './calendar'
+import { calendars, eventIds, matchesEvent, setCalendarSelection, calendarStatus, createHelperRunner, helperPath, killAllHelpers, refreshCalendarStatus, requestCalendarAccess, runHelper, setCalendarLinkSource, systemCalendarStatus, setCalendarSupported, setHelper, upcoming, type CalEvent } from './calendar'
+import { createCalendarLinks } from './calendarLink'
+import { getCalendar } from './calendarLink/get'
import { createSignals } from './detectSignals'
import { Watcher } from './watch'
import { createPrompts } from './prompts'
@@ -114,7 +116,8 @@ app.on('second-instance', (_e, argv) => { if (app.isReady() && !startedHidden(pr
/** Links open in the user's browser, never inside the app window. */
function openExternally(url: string) {
- if (!isFake() && /^https:\/\//.test(url)) void shell.openExternal(url)
+ // fake mode opens nothing (tests), unless a person trying it by hand asks for links (YOGURT_FAKE_OPEN_LINKS=1)
+ if ((!isFake() || process.env.YOGURT_FAKE_OPEN_LINKS === '1') && /^https:\/\//.test(url)) void shell.openExternal(url)
}
let updateWidgetVisibility = () => {}
@@ -183,7 +186,7 @@ function createSetup(): SetupController {
/** what the speed check found (Windows and Linux) */
const speedFile = () => join(userDataDir(), 'speech-speed.json')
-/** What this computer can do (fake mode can pretend with YOGURT_FAKE_PLATFORM): Windows and Linux have no calendar or names from calls yet */
+/** What this computer can do (fake mode can pretend with YOGURT_FAKE_PLATFORM): Windows and Linux read their calendar from a calendar link */
const platform = platformOf(process.platform, process.env)
const caps = capabilities(platform)
setCalendarSupported(caps.calendar)
@@ -474,8 +477,17 @@ app.whenReady().then(() => {
if (isFake()) setHelper(fakeHelper)
// a moved or reinstalled Yogurt loses its login item: put it back if the person wanted it
if (!isFake()) syncLoginItem(settings.openAtLogin)
+ // Windows and Linux: the calendar is a pasted private calendar address, kept sealed with the system keychain
+ // a Mac: the same links, next to its own calendars (Settings → Calendars → Add a calendar link)
+ const calendarLinks = caps.calendar ? createCalendarLinks({
+ file: join(userDataDir(), 'settings.json'), get: getCalendar,
+ seal: (plain) => (safeStorage.isEncryptionAvailable() ? `k:${safeStorage.encryptString(plain).toString('base64')}` : `p:${plain}`),
+ open: (sealed) => (sealed.startsWith('k:') ? safeStorage.decryptString(Buffer.from(sealed.slice(2), 'base64')) : sealed.replace(/^p:/, '')),
+ }) : null
+ if (calendarLinks) setCalendarLinkSource(calendarLinks, { alongside: !caps.calendarLink })
hookPreferences({
file: join(userDataDir(), 'settings.json'), permissions, kinds: supportedKinds(caps), os: platform,
+ ...(calendarLinks && caps.calendarLink ? { calendarLinked: () => calendarLinks.status() === 'granted' } : {}),
// fake mode asks the first-run questions only when a test sets the permissions
ask: !isFake() || !!process.env.YOGURT_FAKE_PERMISSIONS,
setLogin: (on) => { if (!isFake()) setLoginItem(on) },
@@ -949,7 +961,9 @@ app.whenReady().then(() => {
})
const calendarList = async () => {
const list = await calendars(), settings = loadSettings(settingsFile), hidden = settings.hiddenCalendarIds ?? []
- return { status: calendarStatus(), hideEventsWithoutCallLink: settings.hideEventsWithoutCallLink === true, calendars: list.map((c) => ({ ...c, enabled: !hidden.includes(c.id) })) }
+ const linkIds = new Set(calendarLinks?.list().map((l) => l.id) ?? [])
+ return { status: calendarStatus(), systemStatus: systemCalendarStatus(), hideEventsWithoutCallLink: settings.hideEventsWithoutCallLink === true,
+ calendars: list.map((c) => ({ ...c, enabled: !hidden.includes(c.id), ...(linkIds.has(c.id) ? { link: true } : {}) })) }
}
ipcMain.handle('calendar:list', calendarList)
ipcMain.handle('calendar:set-enabled', async (_e, id: unknown, enabled: unknown) => {
@@ -983,7 +997,22 @@ app.whenReady().then(() => {
return { status: calendarStatus(), events }
})
// not asked yet: the Mac's own question; turned off: the Mac's settings, where only the person can turn it on
+ ipcMain.handle('calendar:links', () => calendarLinks?.list() ?? [])
+ ipcMain.handle('calendar:add-link', async (_e, url: unknown) => {
+ if (!calendarLinks || typeof url !== 'string' || url.length > 4096) return { ok: false, error: 'bad-url' }
+ const got = await calendarLinks.add(url)
+ if (got.ok) { await refreshCalendarStatus(); refreshCalendarConsumers(); win?.webContents.send('calendar:changed') }
+ return got
+ })
+ ipcMain.handle('calendar:remove-link', async (_e, id: unknown) => {
+ if (!calendarLinks || typeof id !== 'string') return false
+ calendarLinks.remove(id)
+ await refreshCalendarStatus(); refreshCalendarConsumers(); win?.webContents.send('calendar:changed')
+ return true
+ })
ipcMain.handle('calendar:connect', async () => {
+ // a calendar link is pasted in Settings' calendars: the same form as the first run's
+ if (calendarLinks && caps.calendarLink) { goTo('/settings'); return refreshCalendarStatus() }
const was = await refreshCalendarStatus()
if (was === 'notDetermined') return requestCalendarAccess()
if (was === 'denied') {
diff --git a/app/src/main/preferences.ts b/app/src/main/preferences.ts
index bc8047a1..3ec52ffc 100644
--- a/app/src/main/preferences.ts
+++ b/app/src/main/preferences.ts
@@ -26,7 +26,9 @@ export function hookPreferences(d: { file: string; permissions: Permissions; ask
/** the spoken language changed: the meeting being recorded follows it where it can */
onSpoken?: (v: Spoken) => void
/** the permissions this computer has (supportedKinds in platform.ts); a Mac has them all */
- kinds?: readonly PermissionKind[]; os?: string }) {
+ kinds?: readonly PermissionKind[]; os?: string
+ /** Windows and Linux: whether a calendar link is connected (the first run asks for one while none is) */
+ calendarLinked?: () => boolean }) {
const kinds = d.kinds ?? PERMISSION_KINDS
const os = d.os ?? process.platform
let plan: Promise<OnboardingPlan> | undefined
@@ -35,7 +37,7 @@ export function hookPreferences(d: { file: string; permissions: Permissions; ask
if (d.slowStartMs) await new Promise((r) => setTimeout(r, d.slowStartMs))
const s = loadSettings(d.file)
if (!d.ask || s.welcomed) return { intro: false, steps: [] }
- const p = await firstRunPlan({ ask: d.ask, welcomed: !!s.welcomed, introSeen: !!s.introSeen, status: await d.permissions.status(), kinds })
+ const p = await firstRunPlan({ ask: d.ask, welcomed: !!s.welcomed, introSeen: !!s.introSeen, status: await d.permissions.status(), kinds, ...(d.calendarLinked ? { calendarLink: { linked: d.calendarLinked() } } : {}) })
firstRunShowing = p.intro || p.steps.length > 0
return p
})()))
diff --git a/app/src/main/settings.ts b/app/src/main/settings.ts
index ced66a70..0eae334b 100644
--- a/app/src/main/settings.ts
+++ b/app/src/main/settings.ts
@@ -6,6 +6,8 @@ import { spokenOf, type Spoken } from '../shared/spoken'
export type Settings = { theme?: 'light' | 'dark'; language?: string; /** what the person is called in their meetings; their Mac's full name when left out */ myName?: string
/** the first-run questions were shown (answered or put off): never asked again */
welcomed?: boolean
+ /** Windows and Linux: private calendar addresses (iCal), sealed with the system's keychain where it has one (calendarLink) */
+ calendarLinks?: Array<{ id: string; name: string; host: string; url: string }>
/** the intro screens were read or skipped (kept apart, so a restart halfway through goes on with the permissions) */
introSeen?: boolean
/** The optional bigger notes model stays off until explicitly downloaded again. */
diff --git a/app/src/preload/index.ts b/app/src/preload/index.ts
index 22ee4248..4922f418 100644
--- a/app/src/preload/index.ts
+++ b/app/src/preload/index.ts
@@ -190,6 +190,9 @@ const api: YogurtApi = {
comingUp: () => ipcRenderer.invoke('calendar:coming-up'),
connect: () => ipcRenderer.invoke('calendar:connect'),
day: (at) => ipcRenderer.invoke('calendar:day', at),
+ links: () => ipcRenderer.invoke('calendar:links'),
+ addLink: (url) => ipcRenderer.invoke('calendar:add-link', url),
+ removeLink: (id) => ipcRenderer.invoke('calendar:remove-link', id),
},
permissions: {
status: () => ipcRenderer.invoke('permissions:status'),
diff --git a/app/src/renderer/src/components/Agenda.tsx b/app/src/renderer/src/components/Agenda.tsx
index df70339f..d1cef588 100644
--- a/app/src/renderer/src/components/Agenda.tsx
+++ b/app/src/renderer/src/components/Agenda.tsx
@@ -143,7 +143,7 @@ export function Agenda({ revision, recording, onStart, onOpen, jumpTo }: Actions
{calendar && (calendar.status !== 'granted' ? <section className="agenda-status" data-testid={calendar.status === 'error' ? 'calendar-error' : 'calendar-off'}>
<CalendarDays size={22} aria-hidden="true" />
<h3>{calendar.status === 'error' ? t("Yogurt couldn't read your calendar") : calendar.status === 'denied' ? t('Calendar access is off') : t('See your meetings here')}</h3>
- <p>{calendar.status === 'error' ? t('Try reading the calendars on this Mac again.') : t('Connect the calendars on this Mac to see your upcoming meetings.')}</p>
+ <p>{calendar.status === 'error' ? t('Try reading the calendars on this Mac again.') : (window.yogurt.capabilities.calendarLink ? t('Connect a calendar to see your meetings.') : t('Connect the calendars on this Mac to see your upcoming meetings.'))}</p>
<button className="workspace-button" onClick={calendar.status === 'error' ? () => void load() : connect}>{calendar.status === 'error' ? t('Try again') : calendar.status === 'denied' ? t('Open System Settings') : t('Connect calendar')}</button>
</section>
: <div data-testid="coming-up" className="agenda-events">
diff --git a/app/src/renderer/src/components/CalendarLinkForm.tsx b/app/src/renderer/src/components/CalendarLinkForm.tsx
new file mode 100644
index 00000000..aa79d308
--- /dev/null
+++ b/app/src/renderer/src/components/CalendarLinkForm.tsx
@@ -0,0 +1,80 @@
+import { useState, type FormEvent, type ReactNode } from 'react'
+import { ExternalLink, LoaderCircle } from 'lucide-react'
+import { t } from '../../../shared/i18n'
+
+/**
+ * Connecting a calendar on Windows and Linux: where to find the calendar's private address, and the box to paste it.
+ * One form, used by Settings' calendars and by the first run's calendar screen, so the words and the steps are
+ * written once. The address goes to the main process and is never shown again.
+ */
+
+type Provider = 'google' | 'outlook' | 'other'
+const PROVIDERS: { id: Provider; name: string }[] = [
+ { id: 'google', name: 'Google Calendar' },
+ { id: 'outlook', name: 'Outlook' },
+ { id: 'other', name: '' },
+]
+/** each calendar's own settings page, where its private address is */
+const PAGE: Partial<Record<Provider, string>> = {
+ google: 'https://calendar.google.com/calendar/r/settings',
+ outlook: 'https://outlook.office.com/calendar/options/calendar/SharedCalendars',
+}
+const steps = (p: Provider): string[] => p === 'google'
+ ? [t('Under "Settings for my calendars", choose your calendar, then "Integrate calendar".'), t('Copy "Secret address in iCal format" and paste it below.'),
+ t('Only see "Public address in iCal format"? Your organization turned off secret addresses, so this calendar can\'t be connected this way.')]
+ : p === 'outlook'
+ ? [t('Under "Publish a calendar", choose your calendar and "Can view all details", then Publish.'), t('Copy the ICS link and paste it below.')]
+ : [t('In your calendar app\'s settings, find its private iCal address. It ends in .ics or starts with webcal://.'), t('Paste it below.')]
+
+const ERRORS = {
+ 'bad-url': () => t('That doesn\'t look like a calendar address. It should start with https:// or webcal://.'),
+ 'unreachable': () => t('Yogurt couldn\'t reach that address. Check your connection and the address.'),
+ 'not-calendar': () => t('That address isn\'t a calendar. Copy the iCal address, not the page\'s address.'),
+ 'public-address': () => t('That\'s the public address, which only works if your calendar is public. Copy "Secret address in iCal format" instead.'),
+}
+
+/**
+ * settings: the address and Connect on one row, as Settings' other rows. onboarding: Connect becomes the screen's main
+ * button, beside `extra` (Not now), so the screen ends like every other first-run screen.
+ */
+export function CalendarLinkForm({ onConnected, autoFocus, variant = 'settings', extra, only }: { onConnected(name: string): void; autoFocus?: boolean; variant?: 'settings' | 'onboarding'; extra?: ReactNode
+ /** one kind of calendar and no tabs: a Mac adds Google and Outlook in its own Calendar app, so only "other" links are pasted here */
+ only?: Provider }) {
+ const [provider, setProvider] = useState<Provider>(only ?? 'google')
+ const [url, setUrl] = useState('')
+ const [busy, setBusy] = useState(false)
+ const [error, setError] = useState<keyof typeof ERRORS | null>(null)
+ const submit = async (e: FormEvent) => {
+ e.preventDefault()
+ if (!url.trim() || busy) return
+ setBusy(true); setError(null)
+ try {
+ const got = await window.yogurt.calendar.addLink(url)
+ if (got.ok) { setUrl(''); onConnected(got.name) } else setError(got.error)
+ } catch { setError('unreachable') } finally { setBusy(false) }
+ }
+ const page = PAGE[provider]
+ const connect = (className: string) => <button data-testid="calendar-link-connect" type="submit" disabled={busy || !url.trim()} className={className}>
+ {busy && <LoaderCircle size={13} aria-hidden="true" className="animate-spin motion-reduce:animate-none" />}{t('Connect')}
+ </button>
+ return (
+ <form data-testid="calendar-link-form" className="calendar-link-form" onSubmit={(e) => void submit(e)}>
+ {!only && <div role="tablist" aria-label={t('Your calendar')} className="calendar-link-providers">
+ {PROVIDERS.map((p) => <button key={p.id} type="button" role="tab" aria-selected={provider === p.id} data-testid={`calendar-link-provider-${p.id}`}
+ className="calendar-link-provider" onClick={() => setProvider(p.id)}>{p.name || t('Other')}</button>)}
+ </div>}
+ {page && <a href={page} target="_blank" rel="noreferrer" data-testid="calendar-link-open" className="workspace-button calendar-link-open">
+ <span>{provider === 'google' ? t('Open Google Calendar settings') : t('Open Outlook calendar settings')}</span><ExternalLink size={12} aria-hidden="true" />
+ </a>}
+ <ol className="calendar-link-steps">{steps(provider).map((s) => <li key={s}>{s}</li>)}</ol>
+ <div className="calendar-link-row">
+ <input data-testid="calendar-link-input" type="url" inputMode="url" autoComplete="off" spellCheck={false} autoFocus={autoFocus}
+ aria-label={t('Calendar address')} placeholder="https://… .ics" value={url} onChange={(e) => { setUrl(e.target.value); setError(null) }} className="calendar-link-input" />
+ {variant === 'settings' && connect('workspace-button primary shrink-0')}
+ </div>
+ {error && <p data-testid="calendar-link-error" role="alert" className="calendar-link-error">{ERRORS[error]()}</p>}
+ <p className="calendar-link-note">{t('The address stays on this computer. Anyone who has it can see your calendar, so keep it private.')}</p>
+ {variant === 'onboarding' && <div className="calendar-link-actions">{connect('ob-button primary no-drag')}{extra}</div>}
+ </form>
+ )
+}
diff --git a/app/src/renderer/src/components/CalendarSettings.tsx b/app/src/renderer/src/components/CalendarSettings.tsx
index 3f73a152..5dd4b8ef 100644
--- a/app/src/renderer/src/components/CalendarSettings.tsx
+++ b/app/src/renderer/src/components/CalendarSettings.tsx
@@ -2,15 +2,19 @@ import { useCallback, useEffect, useState } from 'react'
import { ChevronDown } from 'lucide-react'
import { Loading } from './Loading'
import { LoadingContent } from './LoadingContent'
+import { CalendarLinkForm } from './CalendarLinkForm'
import { t } from '../../../shared/i18n'
let expanded = false
export function CalendarSettings() {
+ // Windows and Linux: calendars are pasted calendar links, connected and removed here (and in the first run)
+ const link = !!globalThis.window?.yogurt?.capabilities?.calendarLink
const [view, setView] = useState<Awaited<ReturnType<typeof window.yogurt.calendar.list>>>()
const [busy, setBusy] = useState(false)
const [error, setError] = useState(false)
- const [open, setOpen] = useState(expanded)
+ const [open, setOpen] = useState(expanded || link)
+ const [adding, setAdding] = useState(false)
const reload = useCallback(() => {
void window.yogurt.calendar.list().then(setView, () => setView({ status: 'error', calendars: [], hideEventsWithoutCallLink: false }))
}, [])
@@ -32,8 +36,16 @@ export function CalendarSettings() {
} catch { setError(true); reload() } finally { setBusy(false) }
}
const selected = view?.calendars.filter(c => c.enabled) ?? []
+ // the Mac's own calendars, apart from calendar links next to them
+ const sys = view?.systemStatus ?? view?.status
// Yogurt holds no calendar accounts: disconnecting unticks every calendar; the Mac's own access stays in System Settings
+ const removeLink = async (id: string) => {
+ setBusy(true); setError(false)
+ try { if (!await window.yogurt.calendar.removeLink(id)) throw new Error('Calendar unavailable') } catch { setError(true) } finally { setBusy(false); reload() }
+ }
const disconnect = async () => {
+ if (link) { for (const c of view?.calendars ?? []) await removeLink(c.id); return }
+ for (const c of view?.calendars.filter((x) => x.link) ?? []) await removeLink(c.id)
const ids = selected.map(c => c.id)
setBusy(true); setError(false)
setView((v) => v && { ...v, calendars: v.calendars.map((c) => ({ ...c, enabled: false })) })
@@ -43,8 +55,8 @@ export function CalendarSettings() {
}
const summary = !view ? t('Loading calendars…')
: view.status === 'error' ? t("Yogurt couldn't read your calendars.")
- : view.status !== 'granted' ? t('Allow calendar access to choose your calendars.')
- : !view.calendars.length ? t('No calendars found on this Mac.')
+ : view.status !== 'granted' ? (link ? t('Connect a calendar to see your meetings.') : t('Allow calendar access to choose your calendars.'))
+ : !view.calendars.length ? (link ? t('Connect a calendar to see your meetings.') : t('No calendars found on this Mac.'))
: !selected.length ? t('No calendars selected.')
: selected.length === 1 ? [selected[0].name, selected[0].source].filter(Boolean).join(' · ')
: `${selected[0].name} ${t('and {count} more', { count: selected.length - 1 })}`
@@ -59,16 +71,24 @@ export function CalendarSettings() {
<ChevronDown size={16} aria-hidden="true" />
</button>
<div id="settings-calendar-list" className="accordion" data-open={open} inert={!open || undefined}><div className="settings-calendar-list">
- <LoadingContent pending={!view} skeleton={<Loading layout="calendars" />}>{view && (view.status !== 'granted' ? <div className="settings-row">
- <p className="settings-description settings-row-copy">{view.status === 'error' ? t("Yogurt couldn't read your calendars.") : t('Allow calendar access to choose your calendars.')}</p>
- <button className="workspace-button" onClick={() => { if (view.status === 'error') reload(); else void window.yogurt.calendar.connect().then(reload) }}>{view.status === 'error' ? t('Try again') : t('Connect calendar')}</button>
- </div>
- : !view.calendars.length ? <p className="settings-row settings-description">{t('No calendars found on this Mac.')}</p>
- : view.calendars.map((c) => <label key={c.id} data-testid="calendar-choice" className="settings-row settings-calendar-choice">
+ <LoadingContent pending={!view} skeleton={<Loading layout="calendars" />}>{view && (link && (view.status !== 'granted' || !view.calendars.length) ? <div className="settings-row settings-calendar-link"><CalendarLinkForm onConnected={reload} /></div>
+ : <>{!link && sys !== 'granted' && <div className="settings-row">
+ <p className="settings-description settings-row-copy">{sys === 'error' ? t("Yogurt couldn't read your calendars.") : t('Allow calendar access to choose your calendars.')}</p>
+ <button className="workspace-button" onClick={() => { if (sys === 'error') reload(); else void window.yogurt.calendar.connect().then(reload) }}>{sys === 'error' ? t('Try again') : t('Connect calendar')}</button>
+ </div>}
+ {!link && sys === 'granted' && !view.calendars.some((c) => !c.link) && <p className="settings-row settings-description">{t('No calendars found on this Mac.')}</p>}
+ {view.calendars.map((c) => <label key={c.id} data-testid="calendar-choice" className="settings-row settings-calendar-choice">
<span className="settings-calendar-dot" style={{ backgroundColor: c.color }} aria-hidden="true" />
<span className="settings-row-copy"><span className="settings-label">{c.name}</span><span className="settings-description block">{c.source}</span></span>
<input type="checkbox" checked={c.enabled} disabled={busy} onChange={(e) => void choose(c.id, e.target.checked)} />
- </label>))}</LoadingContent>
+ {c.link && <button type="button" data-testid="calendar-link-remove" className="workspace-button shrink-0" disabled={busy} onClick={(e) => { e.preventDefault(); void removeLink(c.id) }}>{t('Remove')}</button>}
+ </label>)}</>)}</LoadingContent>
+ {!link && view && view.status !== 'error' && (adding
+ ? <div className="settings-row settings-calendar-link"><CalendarLinkForm only="other" autoFocus onConnected={() => { setAdding(false); reload() }} /></div>
+ : <div className="settings-row"><button type="button" data-testid="calendar-link-add" className="workspace-button" onClick={() => setAdding(true)}>{t('Add another calendar')}</button></div>)}
+ {link && view?.status === 'granted' && view.calendars.length > 0 && (adding
+ ? <div className="settings-row settings-calendar-link"><CalendarLinkForm autoFocus onConnected={() => { setAdding(false); reload() }} /></div>
+ : <div className="settings-row"><button type="button" data-testid="calendar-link-add" className="workspace-button" onClick={() => setAdding(true)}>{t('Add another calendar')}</button></div>)}
{view?.status === 'granted' && view.calendars.length > 0 && <div data-testid="calendar-disconnect" className="settings-calendar-actions">
<div className="settings-row">
<div className="settings-row-copy">
@@ -81,12 +101,12 @@ export function CalendarSettings() {
</div>
<div className="settings-row">
<span className="settings-row-copy"><span className="settings-label">{t('Disconnect calendars')}</span><span className="settings-description block">{t('Yogurt stops using these calendars.')}</span></span>
- <button type="button" data-testid="calendar-disconnect-all" className="workspace-button shrink-0" disabled={busy || !selected.length} onClick={() => void disconnect()}>{t('Disconnect')}</button>
+ <button type="button" data-testid="calendar-disconnect-all" className="workspace-button shrink-0" disabled={busy || (link ? !view.calendars.length : !selected.length)} onClick={() => void disconnect()}>{t('Disconnect')}</button>
</div>
- <div className="settings-row">
+ {!link && <div className="settings-row">
<span className="settings-row-copy"><span className="settings-label">{t('Calendar access')}</span><span className="settings-description block">{t('Remove Yogurt’s access in System Settings.')}</span></span>
<button type="button" className="workspace-button shrink-0" onClick={() => void window.yogurt.permissions.open('calendar')}>{t('Open System Settings')}</button>
- </div>
+ </div>}
</div>}
{error && <p role="alert" className="settings-row text-danger">{t("Couldn't update your calendars. Try again.")}</p>}
</div></div>
diff --git a/app/src/renderer/src/screens/Onboarding.tsx b/app/src/renderer/src/screens/Onboarding.tsx
index ce28c580..c600eee9 100644
--- a/app/src/renderer/src/screens/Onboarding.tsx
+++ b/app/src/renderer/src/screens/Onboarding.tsx
@@ -5,6 +5,7 @@ import { screensOf, viaSystemSettings, type OnboardingScreen } from '../../../sh
import { Wordmark } from '../components/Logo'
import { ReadyArt, ScreenArt, WelcomeArt } from '../components/OnboardingArt'
import { SettingsArt } from '../components/SettingsGuide'
+import { CalendarLinkForm } from '../components/CalendarLinkForm'
import { SetupStatus, transcriptionPhase, transcriptionPercent } from '../components/SetupStatus'
import { permissionCopy, screenCopy } from '../permissionCopy'
import { usePermissionFlow } from '../permissionFlow'
@@ -32,7 +33,9 @@ export function Onboarding({ state, plan, onDone }: { state: SetupState; plan: O
return (
<div data-testid="onboarding" data-phase={state.phase} data-stage={stage} className="setup-screen">
{stage === 'intro' ? <Welcome state={state} progress={progress} onDone={introDone} />
- : stage === 'steps' && screen ? <PermissionScreen key={screen.id} screen={screen} state={state} progress={progress} onNext={next} />
+ : stage === 'steps' && screen ? (screen.id === 'calendar' && window.yogurt.capabilities.calendarLink
+ ? <CalendarLinkScreen key={screen.id} state={state} progress={progress} onNext={next} />
+ : <PermissionScreen key={screen.id} screen={screen} state={state} progress={progress} onNext={next} />)
: <Ready state={state} />}
</div>
)
@@ -101,6 +104,29 @@ function Welcome({ state, progress, onDone }: { state: SetupState; progress: Pro
)
}
+/**
+ * Windows and Linux: the calendar screen asks for a calendar link instead of a permission, with the very form Settings
+ * shows (CalendarLinkForm), so the steps for Google and Outlook are written once.
+ */
+function CalendarLinkScreen({ state, progress, onNext }: { state: SetupState; progress: Progress; onNext(): void }) {
+ const [connected, setConnected] = useState<string | null>(null)
+ const sc = screenCopy('calendar')
+ const primary = useRef<HTMLButtonElement>(null)
+ useFocus(primary, [connected])
+ return (
+ <Layout
+ testId="onboarding-step" step="calendar" kind="calendar" motionKey={connected ? 'calendar-done' : 'calendar'}
+ art={<ScreenArt id="calendar" on={connected ? ['calendar'] : []} />} progress={progress} state={state}
+ title={connected ? t('All set') : t('Connect your calendar')}
+ text={connected ? t('{name} is connected. You can change this any time in Settings.', { name: connected }) : sc.text}
+ actions={connected
+ ? <button ref={primary} data-testid="step-allow" onClick={onNext} className="ob-button primary no-drag">{t('Continue')}</button>
+ : <CalendarLinkForm variant="onboarding" onConnected={setConnected}
+ extra={<button type="button" data-testid="step-later" onClick={onNext} className="ob-button quiet no-drag">{t('Not now')}</button>} />}
+ />
+ )
+}
+
/**
* One screen of permissions, asked one after the other: one Allow asks for the mic, then straight away for the call
* audio. One turned off before waits for a click instead, since only System Settings can turn it on.
diff --git a/app/src/renderer/src/setup.css b/app/src/renderer/src/setup.css
index 96805ed6..76675cd6 100644
--- a/app/src/renderer/src/setup.css
+++ b/app/src/renderer/src/setup.css
@@ -415,3 +415,21 @@
.settings-calendar-list .settings-row:first-child::before { content:"";position:absolute;inset-block-start:0;inset-inline:20px;height:1px;background:var(--line); }
@media (prefers-reduced-motion:reduce) { .ob-button:active:not(:disabled) { transform:none; } }
+
+/* Calendar link (Windows and Linux): one form, in Settings' calendars and the first run's calendar screen */
+.settings-calendar-link { display:block; }
+.calendar-link-form { display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px;font-size:12px;line-height:18px;color:var(--muted); }
+.calendar-link-providers { display:flex;gap:4px; }
+.calendar-link-provider { padding:3px 10px;border-radius:999px;border:1px solid var(--line);font-size:12px;color:var(--muted);background:transparent; }
+.calendar-link-provider[aria-selected="true"] { border-color:currentColor;color:var(--accent); }
+.calendar-link-steps { margin:0;padding-inline-start:18px;list-style:decimal;display:flex;flex-direction:column;gap:2px; }
+.calendar-link-open { align-self:flex-start; }
+.calendar-link-row { display:flex;gap:6px;width:100%; }
+.calendar-link-input { flex:1;min-width:0;height:30px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:12px; }
+.calendar-link-input:focus-visible { outline:2px solid var(--accent);outline-offset:1px; }
+.calendar-link-error { color:var(--danger, #C4352B); }
+.calendar-link-note { font-size:11px; }
+/* the first run: the form takes the actions row, and ends with Connect and Not now like every other screen */
+.ob-actions > .calendar-link-form { flex:1;max-width:400px; }
+.calendar-link-actions { display:flex;align-items:center;gap:8px;margin-top:8px; }
+.ob-actions > .calendar-link-form .calendar-link-input { height:36px;border-radius:9px;font-size:13px; }
diff --git a/app/src/shared/locales/ar.json b/app/src/shared/locales/ar.json
index 6d72243c..70e13225 100644
--- a/app/src/shared/locales/ar.json
+++ b/app/src/shared/locales/ar.json
@@ -755,5 +755,26 @@
"Later": "لاحقًا",
"Restart": "إعادة التشغيل",
"Yogurt couldn't restart. Try again.": "تعذّرت إعادة تشغيل Yogurt. حاول مجددًا.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "إضافة تقويم آخر",
+ "Calendar address": "عنوان التقويم",
+ "Connect": "ربط",
+ "Connect a calendar to see your meetings.": "اربط تقويمًا لترى اجتماعاتك.",
+ "Connect your calendar": "اربط تقويمك",
+ "Copy \"Secret address in iCal format\" and paste it below.": "انسخ \"Secret address in iCal format\" والصقه أدناه.",
+ "Copy the ICS link and paste it below.": "انسخ رابط ICS والصقه أدناه.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "في إعدادات تطبيق التقويم، ابحث عن عنوان iCal الخاص. ينتهي بـ ‎.ics أو يبدأ بـ webcal://.",
+ "Open Google Calendar settings": "فتح إعدادات Google Calendar",
+ "Open Outlook calendar settings": "فتح إعدادات تقويم Outlook",
+ "Other": "غير ذلك",
+ "Paste it below.": "الصقه أدناه.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "هذا العنوان ليس تقويمًا. انسخ عنوان iCal، وليس عنوان الصفحة.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "لا يبدو هذا عنوان تقويم. يجب أن يبدأ بـ https://‎ أو webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "يبقى العنوان على هذا الكمبيوتر. يمكن لأي شخص لديه رؤية تقويمك، لذا احتفظ به سرًا.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "ضمن \"Publish a calendar\"، اختر تقويمك و\"Can view all details\"، ثم Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "ضمن \"Settings for my calendars\"، اختر تقويمك، ثم \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "لم يتمكن Yogurt من الوصول إلى هذا العنوان. تحقق من اتصالك ومن العنوان.",
+ "{name} is connected. You can change this any time in Settings.": "تم ربط {name}. يمكنك تغيير ذلك في أي وقت من الإعدادات.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "ترى \"Public address in iCal format\" فقط؟ أوقفت مؤسستك العناوين السرية، لذا لا يمكن ربط هذا التقويم بهذه الطريقة.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "هذا هو العنوان العام، ولا يعمل إلا إذا كان تقويمك عامًا. انسخ \"Secret address in iCal format\" بدلًا منه."
}
diff --git a/app/src/shared/locales/bn.json b/app/src/shared/locales/bn.json
index 25180ca4..7290fc49 100644
--- a/app/src/shared/locales/bn.json
+++ b/app/src/shared/locales/bn.json
@@ -687,5 +687,26 @@
"Later": "পরে",
"Restart": "আবার চালু",
"Yogurt couldn't restart. Try again.": "Yogurt আবার চালু করা যায়নি। আবার চেষ্টা করুন।",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "আরেকটি ক্যালেন্ডার যোগ করুন",
+ "Calendar address": "ক্যালেন্ডারের ঠিকানা",
+ "Connect": "যুক্ত করুন",
+ "Connect a calendar to see your meetings.": "আপনার মিটিং দেখতে একটি ক্যালেন্ডার যুক্ত করুন।",
+ "Connect your calendar": "আপনার ক্যালেন্ডার যুক্ত করুন",
+ "Copy \"Secret address in iCal format\" and paste it below.": "\"Secret address in iCal format\" কপি করে নিচে পেস্ট করুন।",
+ "Copy the ICS link and paste it below.": "ICS লিংকটি কপি করে নিচে পেস্ট করুন।",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "আপনার ক্যালেন্ডার অ্যাপের সেটিংসে এর ব্যক্তিগত iCal ঠিকানা খুঁজুন। এটি .ics দিয়ে শেষ হয় বা webcal:// দিয়ে শুরু হয়।",
+ "Open Google Calendar settings": "Google Calendar সেটিংস খুলুন",
+ "Open Outlook calendar settings": "Outlook ক্যালেন্ডার সেটিংস খুলুন",
+ "Other": "অন্যান্য",
+ "Paste it below.": "নিচে পেস্ট করুন।",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "এই ঠিকানাটি ক্যালেন্ডার নয়। পেজের ঠিকানা নয়, iCal ঠিকানা কপি করুন।",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "এটি ক্যালেন্ডারের ঠিকানা বলে মনে হচ্ছে না। এটি https:// বা webcal:// দিয়ে শুরু হওয়া উচিত।",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "ঠিকানাটি এই কম্পিউটারেই থাকে। যার কাছে এটি থাকবে সে আপনার ক্যালেন্ডার দেখতে পাবে, তাই এটি গোপন রাখুন।",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "\"Publish a calendar\"-এর নিচে আপনার ক্যালেন্ডার এবং \"Can view all details\" বেছে নিন, তারপর Publish করুন।",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "\"Settings for my calendars\"-এর নিচে আপনার ক্যালেন্ডার বেছে নিন, তারপর \"Integrate calendar\"।",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt ওই ঠিকানায় পৌঁছাতে পারেনি। আপনার সংযোগ ও ঠিকানাটি দেখুন।",
+ "{name} is connected. You can change this any time in Settings.": "{name} যুক্ত হয়েছে। সেটিংসে যেকোনো সময় এটি বদলাতে পারেন।",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "শুধু \"Public address in iCal format\" দেখছেন? আপনার প্রতিষ্ঠান গোপন ঠিকানা বন্ধ করে রেখেছে, তাই এই ক্যালেন্ডারটি এভাবে যুক্ত করা যাবে না।",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "এটি পাবলিক ঠিকানা, যা শুধু আপনার ক্যালেন্ডার পাবলিক হলে কাজ করে। এর বদলে \"Secret address in iCal format\" কপি করুন।"
}
diff --git a/app/src/shared/locales/cs.json b/app/src/shared/locales/cs.json
index aa296d38..5ca65cec 100644
--- a/app/src/shared/locales/cs.json
+++ b/app/src/shared/locales/cs.json
@@ -730,5 +730,26 @@
"Later": "Později",
"Restart": "Restartovat",
"Yogurt couldn't restart. Try again.": "Yogurt se nepodařilo restartovat. Zkuste to znovu.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Přidat další kalendář",
+ "Calendar address": "Adresa kalendáře",
+ "Connect": "Připojit",
+ "Connect a calendar to see your meetings.": "Připojte kalendář, abyste viděli své schůzky.",
+ "Connect your calendar": "Připojte svůj kalendář",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Zkopírujte „Secret address in iCal format“ a vložte ji níže.",
+ "Copy the ICS link and paste it below.": "Zkopírujte odkaz ICS a vložte ho níže.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "V nastavení aplikace kalendáře najděte jeho soukromou adresu iCal. Končí na .ics nebo začíná webcal://.",
+ "Open Google Calendar settings": "Otevřít nastavení Google Calendar",
+ "Open Outlook calendar settings": "Otevřít nastavení kalendáře Outlook",
+ "Other": "Jiný",
+ "Paste it below.": "Vložte ji níže.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Tato adresa není kalendář. Zkopírujte adresu iCal, ne adresu stránky.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Tohle nevypadá jako adresa kalendáře. Měla by začínat https:// nebo webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adresa zůstává v tomto počítači. Kdo ji má, uvidí váš kalendář, proto ji držte v soukromí.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "V části „Publish a calendar“ vyberte svůj kalendář a „Can view all details“, pak Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "V části „Settings for my calendars“ vyberte svůj kalendář a pak „Integrate calendar“.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt se k té adrese nedostal. Zkontrolujte připojení a adresu.",
+ "{name} is connected. You can change this any time in Settings.": "{name} je připojený. Můžete to kdykoli změnit v Nastavení.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Vidíte jen „Public address in iCal format“? Vaše organizace vypnula tajné adresy, takže tento kalendář takto připojit nejde.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "To je veřejná adresa, která funguje jen u veřejného kalendáře. Zkopírujte místo ní „Secret address in iCal format“."
}
diff --git a/app/src/shared/locales/da.json b/app/src/shared/locales/da.json
index 2942b4e3..deaef967 100644
--- a/app/src/shared/locales/da.json
+++ b/app/src/shared/locales/da.json
@@ -699,5 +699,26 @@
"Later": "Senere",
"Restart": "Genstart",
"Yogurt couldn't restart. Try again.": "Yogurt kunne ikke genstarte. Prøv igen.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Tilføj en kalender mere",
+ "Calendar address": "Kalenderadresse",
+ "Connect": "Forbind",
+ "Connect a calendar to see your meetings.": "Forbind en kalender for at se dine møder.",
+ "Connect your calendar": "Forbind din kalender",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopiér \"Secret address in iCal format\", og indsæt den nedenfor.",
+ "Copy the ICS link and paste it below.": "Kopiér ICS-linket, og indsæt det nedenfor.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Find kalenderappens private iCal-adresse i dens indstillinger. Den ender på .ics eller starter med webcal://.",
+ "Open Google Calendar settings": "Åbn indstillinger for Google Calendar",
+ "Open Outlook calendar settings": "Åbn indstillinger for Outlook-kalender",
+ "Other": "Andet",
+ "Paste it below.": "Indsæt den nedenfor.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Den adresse er ikke en kalender. Kopiér iCal-adressen, ikke sidens adresse.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Det ligner ikke en kalenderadresse. Den skal starte med https:// eller webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adressen bliver på denne computer. Alle, der har den, kan se din kalender, så hold den privat.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Under \"Publish a calendar\" skal du vælge din kalender og \"Can view all details\" og derefter Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Under \"Settings for my calendars\" skal du vælge din kalender og derefter \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt kunne ikke nå den adresse. Tjek din forbindelse og adressen.",
+ "{name} is connected. You can change this any time in Settings.": "{name} er forbundet. Du kan ændre det når som helst i Indstillinger.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Ser du kun \"Public address in iCal format\"? Din organisation har slået hemmelige adresser fra, så kalenderen kan ikke forbindes på denne måde.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Det er den offentlige adresse, som kun virker, hvis din kalender er offentlig. Kopiér \"Secret address in iCal format\" i stedet."
}
diff --git a/app/src/shared/locales/de.json b/app/src/shared/locales/de.json
index 5f113b34..d4b6e325 100644
--- a/app/src/shared/locales/de.json
+++ b/app/src/shared/locales/de.json
@@ -699,5 +699,26 @@
"Later": "Später",
"Restart": "Neu starten",
"Yogurt couldn't restart. Try again.": "Yogurt konnte nicht neu starten. Versuche es erneut.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Weiteren Kalender hinzufügen",
+ "Calendar address": "Kalenderadresse",
+ "Connect": "Verbinden",
+ "Connect a calendar to see your meetings.": "Verbinde einen Kalender, um deine Meetings zu sehen.",
+ "Connect your calendar": "Verbinde deinen Kalender",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopiere „Secret address in iCal format“ und füge sie unten ein.",
+ "Copy the ICS link and paste it below.": "Kopiere den ICS-Link und füge ihn unten ein.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Suche in den Einstellungen deiner Kalender-App die private iCal-Adresse. Sie endet auf .ics oder beginnt mit webcal://.",
+ "Open Google Calendar settings": "Google Calendar-Einstellungen öffnen",
+ "Open Outlook calendar settings": "Outlook-Kalendereinstellungen öffnen",
+ "Other": "Andere",
+ "Paste it below.": "Füge sie unten ein.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Diese Adresse ist kein Kalender. Kopiere die iCal-Adresse, nicht die Adresse der Seite.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Das sieht nicht nach einer Kalenderadresse aus. Sie sollte mit https:// oder webcal:// beginnen.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Die Adresse bleibt auf diesem Computer. Wer sie hat, kann deinen Kalender sehen – halte sie also privat.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Wähle unter „Publish a calendar“ deinen Kalender und „Can view all details“, dann Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Wähle unter „Settings for my calendars“ deinen Kalender, dann „Integrate calendar“.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt konnte diese Adresse nicht erreichen. Prüfe deine Verbindung und die Adresse.",
+ "{name} is connected. You can change this any time in Settings.": "{name} ist verbunden. Du kannst das jederzeit in den Einstellungen ändern.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Siehst du nur „Public address in iCal format“? Deine Organisation hat geheime Adressen abgeschaltet, daher lässt sich dieser Kalender so nicht verbinden.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Das ist die öffentliche Adresse, die nur bei einem öffentlichen Kalender funktioniert. Kopiere stattdessen „Secret address in iCal format“."
}
diff --git a/app/src/shared/locales/el.json b/app/src/shared/locales/el.json
index 4d310019..fa1369bc 100644
--- a/app/src/shared/locales/el.json
+++ b/app/src/shared/locales/el.json
@@ -702,5 +702,26 @@
"Later": "Αργότερα",
"Restart": "Επανεκκίνηση",
"Yogurt couldn't restart. Try again.": "Το Yogurt δεν μπόρεσε να επανεκκινηθεί. Δοκιμάστε ξανά.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Προσθήκη άλλου ημερολογίου",
+ "Calendar address": "Διεύθυνση ημερολογίου",
+ "Connect": "Σύνδεση",
+ "Connect a calendar to see your meetings.": "Συνδέστε ένα ημερολόγιο για να βλέπετε τις συσκέψεις σας.",
+ "Connect your calendar": "Συνδέστε το ημερολόγιό σας",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Αντιγράψτε το «Secret address in iCal format» και επικολλήστε το παρακάτω.",
+ "Copy the ICS link and paste it below.": "Αντιγράψτε τον σύνδεσμο ICS και επικολλήστε τον παρακάτω.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Στις ρυθμίσεις της εφαρμογής ημερολογίου, βρείτε την ιδιωτική διεύθυνση iCal. Τελειώνει σε .ics ή ξεκινά με webcal://.",
+ "Open Google Calendar settings": "Άνοιγμα ρυθμίσεων Google Calendar",
+ "Open Outlook calendar settings": "Άνοιγμα ρυθμίσεων ημερολογίου Outlook",
+ "Other": "Άλλο",
+ "Paste it below.": "Επικολλήστε την παρακάτω.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Αυτή η διεύθυνση δεν είναι ημερολόγιο. Αντιγράψτε τη διεύθυνση iCal, όχι τη διεύθυνση της σελίδας.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Δεν μοιάζει με διεύθυνση ημερολογίου. Πρέπει να ξεκινά με https:// ή webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Η διεύθυνση μένει σε αυτόν τον υπολογιστή. Όποιος την έχει μπορεί να δει το ημερολόγιό σας, γι’ αυτό κρατήστε την ιδιωτική.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Στο «Publish a calendar», επιλέξτε το ημερολόγιό σας και «Can view all details», και μετά Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Στο «Settings for my calendars», επιλέξτε το ημερολόγιό σας και μετά «Integrate calendar».",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Το Yogurt δεν μπόρεσε να φτάσει σε αυτή τη διεύθυνση. Ελέγξτε τη σύνδεση και τη διεύθυνση.",
+ "{name} is connected. You can change this any time in Settings.": "Το {name} συνδέθηκε. Μπορείτε να το αλλάξετε όποτε θέλετε στις Ρυθμίσεις.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Βλέπετε μόνο το «Public address in iCal format»; Ο οργανισμός σας έχει απενεργοποιήσει τις μυστικές διευθύνσεις, οπότε αυτό το ημερολόγιο δεν μπορεί να συνδεθεί έτσι.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Αυτή είναι η δημόσια διεύθυνση, που λειτουργεί μόνο αν το ημερολόγιό σας είναι δημόσιο. Αντιγράψτε το «Secret address in iCal format»."
}
diff --git a/app/src/shared/locales/es.json b/app/src/shared/locales/es.json
index 398c076d..8f0e2972 100644
--- a/app/src/shared/locales/es.json
+++ b/app/src/shared/locales/es.json
@@ -712,5 +712,26 @@
"Later": "Más tarde",
"Restart": "Reiniciar",
"Yogurt couldn't restart. Try again.": "No se pudo reiniciar Yogurt. Inténtalo de nuevo.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Añadir otro calendario",
+ "Calendar address": "Dirección del calendario",
+ "Connect": "Conectar",
+ "Connect a calendar to see your meetings.": "Conecta un calendario para ver tus reuniones.",
+ "Connect your calendar": "Conecta tu calendario",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Copia \"Secret address in iCal format\" y pégala abajo.",
+ "Copy the ICS link and paste it below.": "Copia el enlace ICS y pégalo abajo.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "En los ajustes de tu app de calendario, busca su dirección iCal privada. Termina en .ics o empieza por webcal://.",
+ "Open Google Calendar settings": "Abrir ajustes de Google Calendar",
+ "Open Outlook calendar settings": "Abrir ajustes del calendario de Outlook",
+ "Other": "Otro",
+ "Paste it below.": "Pégala abajo.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Esa dirección no es un calendario. Copia la dirección iCal, no la de la página.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Eso no parece una dirección de calendario. Debe empezar por https:// o webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "La dirección se queda en este ordenador. Cualquiera que la tenga puede ver tu calendario, así que mantenla en privado.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "En \"Publish a calendar\", elige tu calendario y \"Can view all details\", y luego Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "En \"Settings for my calendars\", elige tu calendario y luego \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt no pudo acceder a esa dirección. Revisa tu conexión y la dirección.",
+ "{name} is connected. You can change this any time in Settings.": "{name} está conectado. Puedes cambiarlo cuando quieras en Ajustes.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "¿Solo ves \"Public address in iCal format\"? Tu organización desactivó las direcciones secretas, así que este calendario no se puede conectar así.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Esa es la dirección pública, que solo funciona si tu calendario es público. Copia \"Secret address in iCal format\" en su lugar."
}
diff --git a/app/src/shared/locales/fi.json b/app/src/shared/locales/fi.json
index d891ee3b..27bb1add 100644
--- a/app/src/shared/locales/fi.json
+++ b/app/src/shared/locales/fi.json
@@ -705,5 +705,26 @@
"Later": "Myöhemmin",
"Restart": "Käynnistä uudelleen",
"Yogurt couldn't restart. Try again.": "Yogurt ei voinut käynnistyä uudelleen. Yritä uudelleen.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Lisää toinen kalenteri",
+ "Calendar address": "Kalenterin osoite",
+ "Connect": "Yhdistä",
+ "Connect a calendar to see your meetings.": "Yhdistä kalenteri nähdäksesi tapaamisesi.",
+ "Connect your calendar": "Yhdistä kalenterisi",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopioi \"Secret address in iCal format\" ja liitä se alle.",
+ "Copy the ICS link and paste it below.": "Kopioi ICS-linkki ja liitä se alle.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Etsi kalenterisovelluksen asetuksista sen yksityinen iCal-osoite. Se päättyy .ics tai alkaa webcal://.",
+ "Open Google Calendar settings": "Avaa Google Calendarin asetukset",
+ "Open Outlook calendar settings": "Avaa Outlook-kalenterin asetukset",
+ "Other": "Muu",
+ "Paste it below.": "Liitä se alle.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Tuo osoite ei ole kalenteri. Kopioi iCal-osoite, ei sivun osoitetta.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Tuo ei näytä kalenterin osoitteelta. Sen pitäisi alkaa https:// tai webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Osoite pysyy tällä tietokoneella. Kuka tahansa, jolla se on, näkee kalenterisi, joten pidä se yksityisenä.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Valitse kohdassa \"Publish a calendar\" kalenterisi ja \"Can view all details\", sitten Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Valitse kohdassa \"Settings for my calendars\" kalenterisi ja sitten \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt ei saanut yhteyttä osoitteeseen. Tarkista yhteys ja osoite.",
+ "{name} is connected. You can change this any time in Settings.": "{name} on yhdistetty. Voit muuttaa tätä milloin tahansa Asetuksissa.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Näkyykö vain \"Public address in iCal format\"? Organisaatiosi on poistanut salaiset osoitteet käytöstä, joten tätä kalenteria ei voi yhdistää näin.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Tuo on julkinen osoite, joka toimii vain julkiselle kalenterille. Kopioi sen sijaan \"Secret address in iCal format\"."
}
diff --git a/app/src/shared/locales/fil.json b/app/src/shared/locales/fil.json
index 5840f98d..4a3cf670 100644
--- a/app/src/shared/locales/fil.json
+++ b/app/src/shared/locales/fil.json
@@ -699,5 +699,26 @@
"Later": "Mamaya",
"Restart": "I-restart",
"Yogurt couldn't restart. Try again.": "Hindi ma-restart ang Yogurt. Subukan muli.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Magdagdag ng isa pang calendar",
+ "Calendar address": "Address ng calendar",
+ "Connect": "Ikonekta",
+ "Connect a calendar to see your meetings.": "Magkonekta ng calendar para makita ang mga meeting mo.",
+ "Connect your calendar": "Ikonekta ang calendar mo",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopyahin ang \"Secret address in iCal format\" at i-paste sa ibaba.",
+ "Copy the ICS link and paste it below.": "Kopyahin ang ICS link at i-paste sa ibaba.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Sa settings ng calendar app mo, hanapin ang pribadong iCal address nito. Nagtatapos ito sa .ics o nagsisimula sa webcal://.",
+ "Open Google Calendar settings": "Buksan ang settings ng Google Calendar",
+ "Open Outlook calendar settings": "Buksan ang settings ng Outlook calendar",
+ "Other": "Iba pa",
+ "Paste it below.": "I-paste ito sa ibaba.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Hindi calendar ang address na iyan. Kopyahin ang iCal address, hindi ang address ng page.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Mukhang hindi iyan address ng calendar. Dapat itong magsimula sa https:// o webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Nananatili ang address sa computer na ito. Makikita ng sinumang may hawak nito ang calendar mo, kaya panatilihin itong pribado.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Sa ilalim ng \"Publish a calendar\", piliin ang calendar mo at \"Can view all details\", saka Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Sa ilalim ng \"Settings for my calendars\", piliin ang calendar mo, saka \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Hindi maabot ng Yogurt ang address na iyan. Tingnan ang koneksyon mo at ang address.",
+ "{name} is connected. You can change this any time in Settings.": "Nakakonekta na ang {name}. Puwede mo itong baguhin anumang oras sa Settings.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "\"Public address in iCal format\" lang ang nakikita mo? In-off ng organisasyon mo ang mga secret address, kaya hindi maikokonekta ang calendar na ito sa ganitong paraan.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Iyan ang public address, na gumagana lang kung public ang calendar mo. Kopyahin na lang ang \"Secret address in iCal format\"."
}
diff --git a/app/src/shared/locales/fr.json b/app/src/shared/locales/fr.json
index 86468cce..e56d898f 100644
--- a/app/src/shared/locales/fr.json
+++ b/app/src/shared/locales/fr.json
@@ -715,5 +715,26 @@
"Later": "Plus tard",
"Restart": "Redémarrer",
"Yogurt couldn't restart. Try again.": "Yogurt n’a pas pu redémarrer. Réessayez.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Ajouter un autre calendrier",
+ "Calendar address": "Adresse du calendrier",
+ "Connect": "Connecter",
+ "Connect a calendar to see your meetings.": "Connectez un calendrier pour voir vos réunions.",
+ "Connect your calendar": "Connectez votre calendrier",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Copiez « Secret address in iCal format » et collez-la ci-dessous.",
+ "Copy the ICS link and paste it below.": "Copiez le lien ICS et collez-le ci-dessous.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Dans les réglages de votre application de calendrier, trouvez son adresse iCal privée. Elle se termine par .ics ou commence par webcal://.",
+ "Open Google Calendar settings": "Ouvrir les réglages de Google Calendar",
+ "Open Outlook calendar settings": "Ouvrir les réglages du calendrier Outlook",
+ "Other": "Autre",
+ "Paste it below.": "Collez-la ci-dessous.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Cette adresse n’est pas un calendrier. Copiez l’adresse iCal, pas celle de la page.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Cela ne ressemble pas à une adresse de calendrier. Elle doit commencer par https:// ou webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "L’adresse reste sur cet ordinateur. Toute personne qui l’a peut voir votre calendrier : gardez-la privée.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Sous « Publish a calendar », choisissez votre calendrier et « Can view all details », puis Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Sous « Settings for my calendars », choisissez votre calendrier, puis « Integrate calendar ».",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt n’a pas pu joindre cette adresse. Vérifiez votre connexion et l’adresse.",
+ "{name} is connected. You can change this any time in Settings.": "{name} est connecté. Vous pouvez changer cela à tout moment dans les Réglages.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Vous ne voyez que « Public address in iCal format » ? Votre organisation a désactivé les adresses secrètes : ce calendrier ne peut pas être connecté de cette façon.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "C’est l’adresse publique, qui ne fonctionne que si votre calendrier est public. Copiez plutôt « Secret address in iCal format »."
}
diff --git a/app/src/shared/locales/he.json b/app/src/shared/locales/he.json
index ca464e99..9d9b9abe 100644
--- a/app/src/shared/locales/he.json
+++ b/app/src/shared/locales/he.json
@@ -709,5 +709,26 @@
"Later": "מאוחר יותר",
"Restart": "הפעלה מחדש",
"Yogurt couldn't restart. Try again.": "לא ניתן היה להפעיל מחדש את Yogurt. נסו שוב.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "הוספת יומן נוסף",
+ "Calendar address": "כתובת היומן",
+ "Connect": "חיבור",
+ "Connect a calendar to see your meetings.": "חברו יומן כדי לראות את הפגישות שלכם.",
+ "Connect your calendar": "חברו את היומן שלכם",
+ "Copy \"Secret address in iCal format\" and paste it below.": "העתיקו את \"Secret address in iCal format\" והדביקו אותה למטה.",
+ "Copy the ICS link and paste it below.": "העתיקו את קישור ה־ICS והדביקו אותו למטה.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "בהגדרות אפליקציית היומן, מצאו את כתובת ה־iCal הפרטית שלו. היא מסתיימת ב־‎.ics או מתחילה ב־webcal://.",
+ "Open Google Calendar settings": "פתיחת ההגדרות של Google Calendar",
+ "Open Outlook calendar settings": "פתיחת ההגדרות של יומן Outlook",
+ "Other": "אחר",
+ "Paste it below.": "הדביקו אותה למטה.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "הכתובת הזו אינה יומן. העתיקו את כתובת ה־iCal, לא את כתובת הדף.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "זה לא נראה כמו כתובת של יומן. היא צריכה להתחיל ב־https://‎ או ב־webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "הכתובת נשארת במחשב הזה. כל מי שיש לו אותה יכול לראות את היומן שלכם, לכן שמרו אותה בסוד.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "תחת \"Publish a calendar\", בחרו את היומן שלכם ואת \"Can view all details\", ואז Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "תחת \"Settings for my calendars\", בחרו את היומן שלכם, ואז \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt לא הצליח להגיע לכתובת הזו. בדקו את החיבור ואת הכתובת.",
+ "{name} is connected. You can change this any time in Settings.": "{name} מחובר. אפשר לשנות זאת בכל עת בהגדרות.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "רואים רק את \"Public address in iCal format\"? הארגון שלכם כיבה כתובות סודיות, ולכן אי אפשר לחבר את היומן הזה כך.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "זו הכתובת הציבורית, והיא עובדת רק אם היומן שלכם ציבורי. העתיקו במקומה את \"Secret address in iCal format\"."
}
diff --git a/app/src/shared/locales/hi.json b/app/src/shared/locales/hi.json
index 3cc48e2d..6ad94359 100644
--- a/app/src/shared/locales/hi.json
+++ b/app/src/shared/locales/hi.json
@@ -687,5 +687,26 @@
"Later": "बाद में",
"Restart": "फिर शुरू करें",
"Yogurt couldn't restart. Try again.": "Yogurt फिर शुरू नहीं हो सका। फिर कोशिश करें।",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "एक और कैलेंडर जोड़ें",
+ "Calendar address": "कैलेंडर का पता",
+ "Connect": "कनेक्ट करें",
+ "Connect a calendar to see your meetings.": "अपनी मीटिंग देखने के लिए कैलेंडर कनेक्ट करें।",
+ "Connect your calendar": "अपना कैलेंडर कनेक्ट करें",
+ "Copy \"Secret address in iCal format\" and paste it below.": "\"Secret address in iCal format\" कॉपी करें और नीचे पेस्ट करें।",
+ "Copy the ICS link and paste it below.": "ICS लिंक कॉपी करें और नीचे पेस्ट करें।",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "अपने कैलेंडर ऐप की सेटिंग्स में उसका निजी iCal पता ढूंढें। यह .ics पर खत्म होता है या webcal:// से शुरू होता है।",
+ "Open Google Calendar settings": "Google Calendar सेटिंग्स खोलें",
+ "Open Outlook calendar settings": "Outlook कैलेंडर सेटिंग्स खोलें",
+ "Other": "अन्य",
+ "Paste it below.": "इसे नीचे पेस्ट करें।",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "यह पता कैलेंडर नहीं है। पेज का पता नहीं, iCal पता कॉपी करें।",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "यह कैलेंडर का पता नहीं लगता। इसे https:// या webcal:// से शुरू होना चाहिए।",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "पता इसी कंप्यूटर पर रहता है। जिसके पास यह होगा वह आपका कैलेंडर देख सकता है, इसलिए इसे निजी रखें।",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "\"Publish a calendar\" में अपना कैलेंडर और \"Can view all details\" चुनें, फिर Publish करें।",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "\"Settings for my calendars\" में अपना कैलेंडर चुनें, फिर \"Integrate calendar\"।",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt उस पते तक नहीं पहुंच सका। अपना कनेक्शन और पता जांचें।",
+ "{name} is connected. You can change this any time in Settings.": "{name} कनेक्ट हो गया है। आप इसे कभी भी सेटिंग्स में बदल सकते हैं।",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "सिर्फ \"Public address in iCal format\" दिख रहा है? आपके संगठन ने सीक्रेट पते बंद कर रखे हैं, इसलिए इस कैलेंडर को इस तरह कनेक्ट नहीं किया जा सकता।",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "यह पब्लिक पता है, जो सिर्फ तभी काम करता है जब आपका कैलेंडर पब्लिक हो। इसकी जगह \"Secret address in iCal format\" कॉपी करें।"
}
diff --git a/app/src/shared/locales/hu.json b/app/src/shared/locales/hu.json
index 353948c5..9eea5f66 100644
--- a/app/src/shared/locales/hu.json
+++ b/app/src/shared/locales/hu.json
@@ -687,5 +687,26 @@
"Later": "Később",
"Restart": "Újraindítás",
"Yogurt couldn't restart. Try again.": "A Yogurt nem tudott újraindulni. Próbáld újra.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Másik naptár hozzáadása",
+ "Calendar address": "Naptár címe",
+ "Connect": "Csatlakoztatás",
+ "Connect a calendar to see your meetings.": "Csatlakoztass egy naptárt, hogy lásd a megbeszéléseidet.",
+ "Connect your calendar": "Csatlakoztasd a naptáradat",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Másold ki a „Secret address in iCal format” címet, és illeszd be lent.",
+ "Copy the ICS link and paste it below.": "Másold ki az ICS-linket, és illeszd be lent.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "A naptáralkalmazás beállításaiban keresd meg a privát iCal-címét. .ics-re végződik, vagy webcal://-lal kezdődik.",
+ "Open Google Calendar settings": "Google Calendar beállításainak megnyitása",
+ "Open Outlook calendar settings": "Outlook-naptár beállításainak megnyitása",
+ "Other": "Egyéb",
+ "Paste it below.": "Illeszd be lent.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Ez a cím nem naptár. Az iCal-címet másold ki, ne az oldal címét.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Ez nem tűnik naptárcímnek. https://-sel vagy webcal://-lal kell kezdődnie.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "A cím ezen a számítógépen marad. Akinél megvan, látja a naptáradat, ezért tartsd titokban.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "A „Publish a calendar” résznél válaszd ki a naptárad és a „Can view all details” lehetőséget, majd Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "A „Settings for my calendars” résznél válaszd ki a naptárad, majd „Integrate calendar”.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "A Yogurt nem érte el ezt a címet. Ellenőrizd a kapcsolatot és a címet.",
+ "{name} is connected. You can change this any time in Settings.": "{name} csatlakoztatva. Bármikor módosíthatod a Beállításokban.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Csak a „Public address in iCal format” látszik? A szervezeted kikapcsolta a titkos címeket, így ez a naptár így nem csatlakoztatható.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Ez a nyilvános cím, ami csak nyilvános naptárnál működik. Másold ki helyette a „Secret address in iCal format” címet."
}
diff --git a/app/src/shared/locales/id.json b/app/src/shared/locales/id.json
index abb34ee7..5e921eec 100644
--- a/app/src/shared/locales/id.json
+++ b/app/src/shared/locales/id.json
@@ -657,5 +657,26 @@
"Later": "Nanti",
"Restart": "Mulai ulang",
"Yogurt couldn't restart. Try again.": "Yogurt tidak dapat dimulai ulang. Coba lagi.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Tambah kalender lain",
+ "Calendar address": "Alamat kalender",
+ "Connect": "Hubungkan",
+ "Connect a calendar to see your meetings.": "Hubungkan kalender untuk melihat rapat Anda.",
+ "Connect your calendar": "Hubungkan kalender Anda",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Salin \"Secret address in iCal format\" lalu tempel di bawah.",
+ "Copy the ICS link and paste it below.": "Salin tautan ICS lalu tempel di bawah.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Di pengaturan aplikasi kalender Anda, cari alamat iCal pribadinya. Alamat itu berakhiran .ics atau diawali webcal://.",
+ "Open Google Calendar settings": "Buka pengaturan Google Calendar",
+ "Open Outlook calendar settings": "Buka pengaturan kalender Outlook",
+ "Other": "Lainnya",
+ "Paste it below.": "Tempel di bawah.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Alamat itu bukan kalender. Salin alamat iCal, bukan alamat halamannya.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Itu tidak tampak seperti alamat kalender. Alamat harus diawali https:// atau webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Alamat tetap di komputer ini. Siapa pun yang memilikinya bisa melihat kalender Anda, jadi rahasiakan.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Di \"Publish a calendar\", pilih kalender Anda dan \"Can view all details\", lalu Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Di \"Settings for my calendars\", pilih kalender Anda, lalu \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt tidak bisa menjangkau alamat itu. Periksa koneksi dan alamatnya.",
+ "{name} is connected. You can change this any time in Settings.": "{name} terhubung. Anda bisa mengubahnya kapan saja di Pengaturan.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Hanya melihat \"Public address in iCal format\"? Organisasi Anda menonaktifkan alamat rahasia, jadi kalender ini tidak bisa dihubungkan dengan cara ini.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Itu alamat publik, yang hanya berfungsi jika kalender Anda publik. Salin \"Secret address in iCal format\" sebagai gantinya."
}
diff --git a/app/src/shared/locales/it.json b/app/src/shared/locales/it.json
index 46ecce28..fc294953 100644
--- a/app/src/shared/locales/it.json
+++ b/app/src/shared/locales/it.json
@@ -718,5 +718,26 @@
"Later": "Più tardi",
"Restart": "Riavvia",
"Yogurt couldn't restart. Try again.": "Impossibile riavviare Yogurt. Riprova.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Aggiungi un altro calendario",
+ "Calendar address": "Indirizzo del calendario",
+ "Connect": "Collega",
+ "Connect a calendar to see your meetings.": "Collega un calendario per vedere le tue riunioni.",
+ "Connect your calendar": "Collega il tuo calendario",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Copia \"Secret address in iCal format\" e incollalo qui sotto.",
+ "Copy the ICS link and paste it below.": "Copia il link ICS e incollalo qui sotto.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Nelle impostazioni della tua app di calendario, trova il suo indirizzo iCal privato. Finisce con .ics o inizia con webcal://.",
+ "Open Google Calendar settings": "Apri le impostazioni di Google Calendar",
+ "Open Outlook calendar settings": "Apri le impostazioni del calendario di Outlook",
+ "Other": "Altro",
+ "Paste it below.": "Incollalo qui sotto.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Quell’indirizzo non è un calendario. Copia l’indirizzo iCal, non quello della pagina.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Non sembra un indirizzo di calendario. Deve iniziare con https:// o webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "L’indirizzo resta su questo computer. Chiunque lo abbia può vedere il tuo calendario, quindi tienilo privato.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "In \"Publish a calendar\", scegli il tuo calendario e \"Can view all details\", poi Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "In \"Settings for my calendars\", scegli il tuo calendario, poi \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt non è riuscito a raggiungere quell’indirizzo. Controlla la connessione e l’indirizzo.",
+ "{name} is connected. You can change this any time in Settings.": "{name} è collegato. Puoi cambiarlo quando vuoi in Impostazioni.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Vedi solo \"Public address in iCal format\"? La tua organizzazione ha disattivato gli indirizzi segreti, quindi questo calendario non si può collegare così.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Quello è l’indirizzo pubblico, che funziona solo se il calendario è pubblico. Copia invece \"Secret address in iCal format\"."
}
diff --git a/app/src/shared/locales/ja.json b/app/src/shared/locales/ja.json
index c61dac88..6f9effa3 100644
--- a/app/src/shared/locales/ja.json
+++ b/app/src/shared/locales/ja.json
@@ -657,5 +657,26 @@
"Later": "後で",
"Restart": "再起動",
"Yogurt couldn't restart. Try again.": "Yogurtを再起動できませんでした。もう一度お試しください。",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "カレンダーを追加",
+ "Calendar address": "カレンダーのアドレス",
+ "Connect": "接続",
+ "Connect a calendar to see your meetings.": "カレンダーを接続すると会議が表示されます。",
+ "Connect your calendar": "カレンダーを接続",
+ "Copy \"Secret address in iCal format\" and paste it below.": "「Secret address in iCal format」をコピーして下に貼り付けてください。",
+ "Copy the ICS link and paste it below.": "ICS リンクをコピーして下に貼り付けてください。",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "カレンダーアプリの設定で非公開の iCal アドレスを探してください。.ics で終わるか webcal:// で始まります。",
+ "Open Google Calendar settings": "Google カレンダーの設定を開く",
+ "Open Outlook calendar settings": "Outlook カレンダーの設定を開く",
+ "Other": "その他",
+ "Paste it below.": "下に貼り付けてください。",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "そのアドレスはカレンダーではありません。ページのアドレスではなく iCal アドレスをコピーしてください。",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "カレンダーのアドレスではないようです。https:// または webcal:// で始まる必要があります。",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "アドレスはこのコンピュータにだけ保存されます。知っている人は誰でもカレンダーを見られるので、他の人に教えないでください。",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "「Publish a calendar」でカレンダーと「Can view all details」を選び、Publish をクリックします。",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "「Settings for my calendars」でカレンダーを選び、「Integrate calendar」を開きます。",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt はそのアドレスにアクセスできませんでした。接続とアドレスを確認してください。",
+ "{name} is connected. You can change this any time in Settings.": "{name}を接続しました。設定でいつでも変更できます。",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "「Public address in iCal format」しか表示されませんか?組織が非公開アドレスをオフにしているため、このカレンダーはこの方法では接続できません。",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "それは公開アドレスで、カレンダーが公開されている場合にしか使えません。代わりに「Secret address in iCal format」をコピーしてください。"
}
diff --git a/app/src/shared/locales/ko.json b/app/src/shared/locales/ko.json
index 833d5c1d..5d99a4c4 100644
--- a/app/src/shared/locales/ko.json
+++ b/app/src/shared/locales/ko.json
@@ -657,5 +657,26 @@
"Later": "나중에",
"Restart": "다시 시작",
"Yogurt couldn't restart. Try again.": "Yogurt를 다시 시작하지 못했습니다. 다시 시도하세요.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "다른 캘린더 추가",
+ "Calendar address": "캘린더 주소",
+ "Connect": "연결",
+ "Connect a calendar to see your meetings.": "캘린더를 연결하면 회의가 보여요.",
+ "Connect your calendar": "캘린더 연결하기",
+ "Copy \"Secret address in iCal format\" and paste it below.": "\"Secret address in iCal format\"을 복사해 아래에 붙여 넣으세요.",
+ "Copy the ICS link and paste it below.": "ICS 링크를 복사해 아래에 붙여 넣으세요.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "캘린더 앱 설정에서 비공개 iCal 주소를 찾으세요. .ics로 끝나거나 webcal://로 시작해요.",
+ "Open Google Calendar settings": "Google 캘린더 설정 열기",
+ "Open Outlook calendar settings": "Outlook 캘린더 설정 열기",
+ "Other": "기타",
+ "Paste it below.": "아래에 붙여 넣으세요.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "그 주소는 캘린더가 아니에요. 페이지 주소가 아닌 iCal 주소를 복사하세요.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "캘린더 주소가 아닌 것 같아요. https:// 또는 webcal://로 시작해야 해요.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "주소는 이 컴퓨터에만 저장돼요. 주소를 가진 사람은 누구나 캘린더를 볼 수 있으니 비공개로 지켜 주세요.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "\"Publish a calendar\"에서 캘린더와 \"Can view all details\"를 고른 뒤 Publish를 누르세요.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "\"Settings for my calendars\"에서 캘린더를 고른 뒤 \"Integrate calendar\"로 가세요.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt가 그 주소에 연결하지 못했어요. 인터넷 연결과 주소를 확인하세요.",
+ "{name} is connected. You can change this any time in Settings.": "{name}이(가) 연결됐어요. 설정에서 언제든 바꿀 수 있어요.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "\"Public address in iCal format\"만 보이나요? 조직에서 비밀 주소를 꺼 두어서 이 캘린더는 이 방법으로 연결할 수 없어요.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "그건 공개 주소라서 캘린더가 공개일 때만 작동해요. 대신 \"Secret address in iCal format\"을 복사하세요."
}
diff --git a/app/src/shared/locales/ms.json b/app/src/shared/locales/ms.json
index b766318d..b3c774b9 100644
--- a/app/src/shared/locales/ms.json
+++ b/app/src/shared/locales/ms.json
@@ -657,5 +657,26 @@
"Later": "Kemudian",
"Restart": "Mula semula",
"Yogurt couldn't restart. Try again.": "Yogurt tidak dapat dimulakan semula. Cuba lagi.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Tambah kalendar lain",
+ "Calendar address": "Alamat kalendar",
+ "Connect": "Sambung",
+ "Connect a calendar to see your meetings.": "Sambungkan kalendar untuk melihat mesyuarat anda.",
+ "Connect your calendar": "Sambungkan kalendar anda",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Salin \"Secret address in iCal format\" dan tampal di bawah.",
+ "Copy the ICS link and paste it below.": "Salin pautan ICS dan tampal di bawah.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Dalam tetapan aplikasi kalendar anda, cari alamat iCal peribadinya. Ia berakhir dengan .ics atau bermula dengan webcal://.",
+ "Open Google Calendar settings": "Buka tetapan Google Calendar",
+ "Open Outlook calendar settings": "Buka tetapan kalendar Outlook",
+ "Other": "Lain-lain",
+ "Paste it below.": "Tampal di bawah.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Alamat itu bukan kalendar. Salin alamat iCal, bukan alamat halaman.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Itu tidak kelihatan seperti alamat kalendar. Ia harus bermula dengan https:// atau webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Alamat kekal di komputer ini. Sesiapa yang memilikinya boleh melihat kalendar anda, jadi rahsiakannya.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Di bawah \"Publish a calendar\", pilih kalendar anda dan \"Can view all details\", kemudian Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Di bawah \"Settings for my calendars\", pilih kalendar anda, kemudian \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt tidak dapat mencapai alamat itu. Semak sambungan dan alamat anda.",
+ "{name} is connected. You can change this any time in Settings.": "{name} disambungkan. Anda boleh menukarnya bila-bila masa dalam Tetapan.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Hanya nampak \"Public address in iCal format\"? Organisasi anda telah mematikan alamat rahsia, jadi kalendar ini tidak boleh disambungkan dengan cara ini.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Itu alamat awam, yang hanya berfungsi jika kalendar anda awam. Salin \"Secret address in iCal format\" sebaliknya."
}
diff --git a/app/src/shared/locales/nb.json b/app/src/shared/locales/nb.json
index d433e3ac..72158a66 100644
--- a/app/src/shared/locales/nb.json
+++ b/app/src/shared/locales/nb.json
@@ -699,5 +699,26 @@
"Later": "Senere",
"Restart": "Start på nytt",
"Yogurt couldn't restart. Try again.": "Yogurt kunne ikke starte på nytt. Prøv igjen.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Legg til en kalender til",
+ "Calendar address": "Kalenderadresse",
+ "Connect": "Koble til",
+ "Connect a calendar to see your meetings.": "Koble til en kalender for å se møtene dine.",
+ "Connect your calendar": "Koble til kalenderen din",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopier «Secret address in iCal format» og lim den inn nedenfor.",
+ "Copy the ICS link and paste it below.": "Kopier ICS-lenken og lim den inn nedenfor.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Finn den private iCal-adressen i innstillingene til kalenderappen. Den slutter på .ics eller starter med webcal://.",
+ "Open Google Calendar settings": "Åpne innstillingene for Google Calendar",
+ "Open Outlook calendar settings": "Åpne innstillingene for Outlook-kalenderen",
+ "Other": "Annet",
+ "Paste it below.": "Lim den inn nedenfor.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Den adressen er ikke en kalender. Kopier iCal-adressen, ikke adressen til siden.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Det ser ikke ut som en kalenderadresse. Den skal starte med https:// eller webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adressen blir på denne datamaskinen. Alle som har den, kan se kalenderen din, så hold den privat.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Under «Publish a calendar» velger du kalenderen din og «Can view all details», og så Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Under «Settings for my calendars» velger du kalenderen din, og så «Integrate calendar».",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt nådde ikke den adressen. Sjekk tilkoblingen og adressen.",
+ "{name} is connected. You can change this any time in Settings.": "{name} er koblet til. Du kan endre dette når som helst i Innstillinger.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Ser du bare «Public address in iCal format»? Organisasjonen din har slått av hemmelige adresser, så denne kalenderen kan ikke kobles til på denne måten.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Det er den offentlige adressen, som bare fungerer hvis kalenderen er offentlig. Kopier «Secret address in iCal format» i stedet."
}
diff --git a/app/src/shared/locales/nl.json b/app/src/shared/locales/nl.json
index 63e2a46b..2861527c 100644
--- a/app/src/shared/locales/nl.json
+++ b/app/src/shared/locales/nl.json
@@ -699,5 +699,26 @@
"Later": "Later",
"Restart": "Herstarten",
"Yogurt couldn't restart. Try again.": "Yogurt kon niet herstarten. Probeer het opnieuw.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Nog een agenda toevoegen",
+ "Calendar address": "Agenda-adres",
+ "Connect": "Koppelen",
+ "Connect a calendar to see your meetings.": "Koppel een agenda om je meetings te zien.",
+ "Connect your calendar": "Koppel je agenda",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopieer \"Secret address in iCal format\" en plak het hieronder.",
+ "Copy the ICS link and paste it below.": "Kopieer de ICS-link en plak die hieronder.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Zoek in de instellingen van je agenda-app het privé-iCal-adres. Het eindigt op .ics of begint met webcal://.",
+ "Open Google Calendar settings": "Instellingen van Google Calendar openen",
+ "Open Outlook calendar settings": "Instellingen van Outlook-agenda openen",
+ "Other": "Anders",
+ "Paste it below.": "Plak het hieronder.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Dat adres is geen agenda. Kopieer het iCal-adres, niet het adres van de pagina.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Dat lijkt geen agenda-adres. Het moet beginnen met https:// of webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Het adres blijft op deze computer. Iedereen die het heeft, kan je agenda zien, dus houd het privé.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Kies onder \"Publish a calendar\" je agenda en \"Can view all details\", en dan Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Kies onder \"Settings for my calendars\" je agenda, en dan \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt kon dat adres niet bereiken. Controleer je verbinding en het adres.",
+ "{name} is connected. You can change this any time in Settings.": "{name} is gekoppeld. Je kunt dit altijd wijzigen in Instellingen.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Zie je alleen \"Public address in iCal format\"? Je organisatie heeft geheime adressen uitgezet, dus deze agenda kan niet op deze manier worden gekoppeld.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Dat is het openbare adres, dat alleen werkt als je agenda openbaar is. Kopieer in plaats daarvan \"Secret address in iCal format\"."
}
diff --git a/app/src/shared/locales/pl.json b/app/src/shared/locales/pl.json
index 7015b4d7..73027ec8 100644
--- a/app/src/shared/locales/pl.json
+++ b/app/src/shared/locales/pl.json
@@ -735,5 +735,26 @@
"Later": "Później",
"Restart": "Uruchom ponownie",
"Yogurt couldn't restart. Try again.": "Nie udało się ponownie uruchomić Yogurt. Spróbuj ponownie.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Dodaj kolejny kalendarz",
+ "Calendar address": "Adres kalendarza",
+ "Connect": "Połącz",
+ "Connect a calendar to see your meetings.": "Połącz kalendarz, aby widzieć swoje spotkania.",
+ "Connect your calendar": "Połącz swój kalendarz",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Skopiuj „Secret address in iCal format” i wklej poniżej.",
+ "Copy the ICS link and paste it below.": "Skopiuj link ICS i wklej poniżej.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "W ustawieniach aplikacji kalendarza znajdź jego prywatny adres iCal. Kończy się na .ics albo zaczyna od webcal://.",
+ "Open Google Calendar settings": "Otwórz ustawienia Google Calendar",
+ "Open Outlook calendar settings": "Otwórz ustawienia kalendarza Outlook",
+ "Other": "Inny",
+ "Paste it below.": "Wklej go poniżej.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Ten adres nie jest kalendarzem. Skopiuj adres iCal, a nie adres strony.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "To nie wygląda na adres kalendarza. Powinien zaczynać się od https:// lub webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adres zostaje na tym komputerze. Każdy, kto go ma, widzi Twój kalendarz, więc zachowaj go dla siebie.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "W sekcji „Publish a calendar” wybierz swój kalendarz i „Can view all details”, a potem Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "W sekcji „Settings for my calendars” wybierz swój kalendarz, a potem „Integrate calendar”.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt nie mógł połączyć się z tym adresem. Sprawdź połączenie i adres.",
+ "{name} is connected. You can change this any time in Settings.": "{name} jest połączony. Możesz to zmienić w dowolnej chwili w Ustawieniach.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Widzisz tylko „Public address in iCal format”? Twoja organizacja wyłączyła tajne adresy, więc tego kalendarza nie da się tak połączyć.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "To adres publiczny, który działa tylko dla publicznego kalendarza. Skopiuj zamiast niego „Secret address in iCal format”."
}
diff --git a/app/src/shared/locales/pt-BR.json b/app/src/shared/locales/pt-BR.json
index 356a37b7..8eebac2b 100644
--- a/app/src/shared/locales/pt-BR.json
+++ b/app/src/shared/locales/pt-BR.json
@@ -715,5 +715,26 @@
"Later": "Mais tarde",
"Restart": "Reiniciar",
"Yogurt couldn't restart. Try again.": "Não foi possível reiniciar o Yogurt. Tente novamente.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Adicionar outro calendário",
+ "Calendar address": "Endereço do calendário",
+ "Connect": "Conectar",
+ "Connect a calendar to see your meetings.": "Conecte um calendário para ver suas reuniões.",
+ "Connect your calendar": "Conecte seu calendário",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Copie \"Secret address in iCal format\" e cole abaixo.",
+ "Copy the ICS link and paste it below.": "Copie o link ICS e cole abaixo.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Nas configurações do seu app de calendário, encontre o endereço iCal privado. Ele termina em .ics ou começa com webcal://.",
+ "Open Google Calendar settings": "Abrir configurações do Google Calendar",
+ "Open Outlook calendar settings": "Abrir configurações do calendário do Outlook",
+ "Other": "Outro",
+ "Paste it below.": "Cole abaixo.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Esse endereço não é um calendário. Copie o endereço iCal, não o da página.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Isso não parece um endereço de calendário. Ele deve começar com https:// ou webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "O endereço fica neste computador. Qualquer pessoa que o tenha pode ver seu calendário, então mantenha-o privado.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Em \"Publish a calendar\", escolha seu calendário e \"Can view all details\", depois Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Em \"Settings for my calendars\", escolha seu calendário e depois \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "O Yogurt não conseguiu acessar esse endereço. Verifique sua conexão e o endereço.",
+ "{name} is connected. You can change this any time in Settings.": "{name} está conectado. Você pode mudar isso quando quiser nos Ajustes.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Só aparece \"Public address in iCal format\"? Sua organização desativou os endereços secretos, então este calendário não pode ser conectado assim.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Esse é o endereço público, que só funciona se o seu calendário for público. Copie \"Secret address in iCal format\" no lugar."
}
diff --git a/app/src/shared/locales/ro.json b/app/src/shared/locales/ro.json
index 6e3b6b8d..602a72db 100644
--- a/app/src/shared/locales/ro.json
+++ b/app/src/shared/locales/ro.json
@@ -716,5 +716,26 @@
"Later": "Mai târziu",
"Restart": "Repornește",
"Yogurt couldn't restart. Try again.": "Yogurt nu a putut reporni. Încearcă din nou.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Adăugați alt calendar",
+ "Calendar address": "Adresa calendarului",
+ "Connect": "Conectați",
+ "Connect a calendar to see your meetings.": "Conectați un calendar ca să vă vedeți întâlnirile.",
+ "Connect your calendar": "Conectați-vă calendarul",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Copiați „Secret address in iCal format” și lipiți-o mai jos.",
+ "Copy the ICS link and paste it below.": "Copiați linkul ICS și lipiți-l mai jos.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "În setările aplicației de calendar, găsiți adresa iCal privată. Se termină cu .ics sau începe cu webcal://.",
+ "Open Google Calendar settings": "Deschideți setările Google Calendar",
+ "Open Outlook calendar settings": "Deschideți setările calendarului Outlook",
+ "Other": "Altul",
+ "Paste it below.": "Lipiți-o mai jos.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Această adresă nu este un calendar. Copiați adresa iCal, nu adresa paginii.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Nu pare o adresă de calendar. Trebuie să înceapă cu https:// sau webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adresa rămâne pe acest computer. Oricine o are vă poate vedea calendarul, așa că păstrați-o privată.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "La „Publish a calendar”, alegeți calendarul și „Can view all details”, apoi Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "La „Settings for my calendars”, alegeți calendarul, apoi „Integrate calendar”.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt nu a putut accesa această adresă. Verificați conexiunea și adresa.",
+ "{name} is connected. You can change this any time in Settings.": "{name} este conectat. Puteți schimba asta oricând din Setări.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Vedeți doar „Public address in iCal format”? Organizația dvs. a dezactivat adresele secrete, așa că acest calendar nu poate fi conectat astfel.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Aceasta este adresa publică, care funcționează doar dacă calendarul este public. Copiați în schimb „Secret address in iCal format”."
}
diff --git a/app/src/shared/locales/ru.json b/app/src/shared/locales/ru.json
index b86a1752..8f67ad25 100644
--- a/app/src/shared/locales/ru.json
+++ b/app/src/shared/locales/ru.json
@@ -727,5 +727,26 @@
"Later": "Позже",
"Restart": "Перезапустить",
"Yogurt couldn't restart. Try again.": "Не удалось перезапустить Yogurt. Попробуйте ещё раз.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Добавить ещё календарь",
+ "Calendar address": "Адрес календаря",
+ "Connect": "Подключить",
+ "Connect a calendar to see your meetings.": "Подключите календарь, чтобы видеть свои встречи.",
+ "Connect your calendar": "Подключите свой календарь",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Скопируйте «Secret address in iCal format» и вставьте ниже.",
+ "Copy the ICS link and paste it below.": "Скопируйте ссылку ICS и вставьте ниже.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "В настройках приложения календаря найдите его закрытый адрес iCal. Он заканчивается на .ics или начинается с webcal://.",
+ "Open Google Calendar settings": "Открыть настройки Google Calendar",
+ "Open Outlook calendar settings": "Открыть настройки календаря Outlook",
+ "Other": "Другой",
+ "Paste it below.": "Вставьте его ниже.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Этот адрес — не календарь. Скопируйте адрес iCal, а не адрес страницы.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Это не похоже на адрес календаря. Он должен начинаться с https:// или webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Адрес хранится только на этом компьютере. Любой, у кого он есть, увидит ваш календарь, поэтому никому его не передавайте.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "В разделе «Publish a calendar» выберите свой календарь и «Can view all details», затем Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "В разделе «Settings for my calendars» выберите свой календарь, затем «Integrate calendar».",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt не удалось открыть этот адрес. Проверьте подключение и адрес.",
+ "{name} is connected. You can change this any time in Settings.": "{name}: подключено. Это можно изменить в любой момент в Настройках.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Видите только «Public address in iCal format»? Ваша организация отключила секретные адреса, поэтому этот календарь так подключить нельзя.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Это общедоступный адрес, он работает только для общедоступного календаря. Скопируйте вместо него «Secret address in iCal format»."
}
diff --git a/app/src/shared/locales/sv.json b/app/src/shared/locales/sv.json
index c9823ac1..38756f2e 100644
--- a/app/src/shared/locales/sv.json
+++ b/app/src/shared/locales/sv.json
@@ -699,5 +699,26 @@
"Later": "Senare",
"Restart": "Starta om",
"Yogurt couldn't restart. Try again.": "Yogurt kunde inte starta om. Försök igen.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Lägg till en kalender till",
+ "Calendar address": "Kalenderadress",
+ "Connect": "Anslut",
+ "Connect a calendar to see your meetings.": "Anslut en kalender för att se dina möten.",
+ "Connect your calendar": "Anslut din kalender",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Kopiera ”Secret address in iCal format” och klistra in den nedan.",
+ "Copy the ICS link and paste it below.": "Kopiera ICS-länken och klistra in den nedan.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Hitta kalenderappens privata iCal-adress i dess inställningar. Den slutar på .ics eller börjar med webcal://.",
+ "Open Google Calendar settings": "Öppna inställningar för Google Calendar",
+ "Open Outlook calendar settings": "Öppna inställningar för Outlook-kalendern",
+ "Other": "Annat",
+ "Paste it below.": "Klistra in den nedan.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Den adressen är ingen kalender. Kopiera iCal-adressen, inte sidans adress.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Det ser inte ut som en kalenderadress. Den ska börja med https:// eller webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adressen stannar på den här datorn. Alla som har den kan se din kalender, så håll den privat.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Under ”Publish a calendar” väljer du din kalender och ”Can view all details”, sedan Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Under ”Settings for my calendars” väljer du din kalender, sedan ”Integrate calendar”.",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt nådde inte den adressen. Kontrollera anslutningen och adressen.",
+ "{name} is connected. You can change this any time in Settings.": "{name} är ansluten. Du kan ändra det när som helst i Inställningar.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Ser du bara ”Public address in iCal format”? Din organisation har stängt av hemliga adresser, så den här kalendern kan inte anslutas på det här sättet.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Det är den offentliga adressen, som bara fungerar om kalendern är offentlig. Kopiera ”Secret address in iCal format” i stället."
}
diff --git a/app/src/shared/locales/th.json b/app/src/shared/locales/th.json
index 45b23f52..64277a2d 100644
--- a/app/src/shared/locales/th.json
+++ b/app/src/shared/locales/th.json
@@ -657,5 +657,26 @@
"Later": "ภายหลัง",
"Restart": "เริ่มใหม่",
"Yogurt couldn't restart. Try again.": "เริ่ม Yogurt ใหม่ไม่ได้ ลองอีกครั้ง",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "เพิ่มปฏิทินอื่น",
+ "Calendar address": "ที่อยู่ปฏิทิน",
+ "Connect": "เชื่อมต่อ",
+ "Connect a calendar to see your meetings.": "เชื่อมต่อปฏิทินเพื่อดูการประชุมของคุณ",
+ "Connect your calendar": "เชื่อมต่อปฏิทินของคุณ",
+ "Copy \"Secret address in iCal format\" and paste it below.": "คัดลอก \"Secret address in iCal format\" แล้ววางด้านล่าง",
+ "Copy the ICS link and paste it below.": "คัดลอกลิงก์ ICS แล้ววางด้านล่าง",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "ในการตั้งค่าแอปปฏิทินของคุณ ให้หาที่อยู่ iCal ส่วนตัว ที่อยู่จะลงท้ายด้วย .ics หรือขึ้นต้นด้วย webcal://",
+ "Open Google Calendar settings": "เปิดการตั้งค่า Google Calendar",
+ "Open Outlook calendar settings": "เปิดการตั้งค่าปฏิทิน Outlook",
+ "Other": "อื่นๆ",
+ "Paste it below.": "วางด้านล่าง",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "ที่อยู่นี้ไม่ใช่ปฏิทิน ให้คัดลอกที่อยู่ iCal ไม่ใช่ที่อยู่ของหน้าเว็บ",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "ดูไม่เหมือนที่อยู่ปฏิทิน ต้องขึ้นต้นด้วย https:// หรือ webcal://",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "ที่อยู่จะอยู่บนคอมพิวเตอร์เครื่องนี้ ใครที่มีที่อยู่นี้จะเห็นปฏิทินของคุณได้ จึงควรเก็บเป็นความลับ",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "ใต้ \"Publish a calendar\" ให้เลือกปฏิทินของคุณและ \"Can view all details\" แล้วกด Publish",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "ใต้ \"Settings for my calendars\" ให้เลือกปฏิทินของคุณ แล้วไปที่ \"Integrate calendar\"",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt เข้าถึงที่อยู่นั้นไม่ได้ ตรวจสอบการเชื่อมต่อและที่อยู่",
+ "{name} is connected. You can change this any time in Settings.": "เชื่อมต่อ {name} แล้ว เปลี่ยนได้ทุกเมื่อในการตั้งค่า",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "เห็นแค่ \"Public address in iCal format\" ใช่ไหม องค์กรของคุณปิดที่อยู่ลับไว้ จึงเชื่อมต่อปฏิทินนี้ด้วยวิธีนี้ไม่ได้",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "นั่นคือที่อยู่สาธารณะ ซึ่งใช้ได้เฉพาะเมื่อปฏิทินเป็นแบบสาธารณะ ให้คัดลอก \"Secret address in iCal format\" แทน"
}
diff --git a/app/src/shared/locales/tr.json b/app/src/shared/locales/tr.json
index d54be114..929ea147 100644
--- a/app/src/shared/locales/tr.json
+++ b/app/src/shared/locales/tr.json
@@ -687,5 +687,26 @@
"Later": "Daha sonra",
"Restart": "Yeniden başlat",
"Yogurt couldn't restart. Try again.": "Yogurt yeniden başlatılamadı. Tekrar deneyin.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Başka bir takvim ekle",
+ "Calendar address": "Takvim adresi",
+ "Connect": "Bağla",
+ "Connect a calendar to see your meetings.": "Toplantılarınızı görmek için bir takvim bağlayın.",
+ "Connect your calendar": "Takviminizi bağlayın",
+ "Copy \"Secret address in iCal format\" and paste it below.": "\"Secret address in iCal format\" adresini kopyalayıp aşağıya yapıştırın.",
+ "Copy the ICS link and paste it below.": "ICS bağlantısını kopyalayıp aşağıya yapıştırın.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Takvim uygulamanızın ayarlarında gizli iCal adresini bulun. Adres .ics ile biter veya webcal:// ile başlar.",
+ "Open Google Calendar settings": "Google Calendar ayarlarını aç",
+ "Open Outlook calendar settings": "Outlook takvim ayarlarını aç",
+ "Other": "Diğer",
+ "Paste it below.": "Aşağıya yapıştırın.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Bu adres bir takvim değil. Sayfanın adresini değil, iCal adresini kopyalayın.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Bu bir takvim adresine benzemiyor. https:// veya webcal:// ile başlamalı.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Adres bu bilgisayarda kalır. Adrese sahip olan herkes takviminizi görebilir, bu yüzden gizli tutun.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "\"Publish a calendar\" altında takviminizi ve \"Can view all details\" seçeneğini seçin, ardından Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "\"Settings for my calendars\" altında takviminizi seçin, ardından \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt bu adrese ulaşamadı. Bağlantınızı ve adresi kontrol edin.",
+ "{name} is connected. You can change this any time in Settings.": "{name} bağlandı. Bunu istediğiniz zaman Ayarlar’dan değiştirebilirsiniz.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Yalnızca \"Public address in iCal format\" mı görünüyor? Kuruluşunuz gizli adresleri kapatmış, bu yüzden bu takvim bu yolla bağlanamaz.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Bu, yalnızca takviminiz herkese açıksa çalışan genel adres. Bunun yerine \"Secret address in iCal format\" adresini kopyalayın."
}
diff --git a/app/src/shared/locales/uk.json b/app/src/shared/locales/uk.json
index e522d0e9..efc6ff1f 100644
--- a/app/src/shared/locales/uk.json
+++ b/app/src/shared/locales/uk.json
@@ -727,5 +727,26 @@
"Later": "Пізніше",
"Restart": "Перезапустити",
"Yogurt couldn't restart. Try again.": "Не вдалося перезапустити Yogurt. Спробуйте ще раз.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Додати ще календар",
+ "Calendar address": "Адреса календаря",
+ "Connect": "Під’єднати",
+ "Connect a calendar to see your meetings.": "Під’єднайте календар, щоб бачити свої зустрічі.",
+ "Connect your calendar": "Під’єднайте свій календар",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Скопіюйте «Secret address in iCal format» і вставте нижче.",
+ "Copy the ICS link and paste it below.": "Скопіюйте посилання ICS і вставте нижче.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "У налаштуваннях застосунку календаря знайдіть його приватну адресу iCal. Вона закінчується на .ics або починається з webcal://.",
+ "Open Google Calendar settings": "Відкрити налаштування Google Calendar",
+ "Open Outlook calendar settings": "Відкрити налаштування календаря Outlook",
+ "Other": "Інше",
+ "Paste it below.": "Вставте її нижче.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Ця адреса — не календар. Скопіюйте адресу iCal, а не адресу сторінки.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Це не схоже на адресу календаря. Вона має починатися з https:// або webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Адреса зберігається лише на цьому комп’ютері. Будь-хто, у кого вона є, бачитиме ваш календар, тож нікому її не передавайте.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "У розділі «Publish a calendar» виберіть свій календар і «Can view all details», потім Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "У розділі «Settings for my calendars» виберіть свій календар, потім «Integrate calendar».",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt не зміг відкрити цю адресу. Перевірте з’єднання та адресу.",
+ "{name} is connected. You can change this any time in Settings.": "{name}: під’єднано. Це можна змінити будь-коли в Параметрах.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Бачите лише «Public address in iCal format»? Ваша організація вимкнула секретні адреси, тож цей календар так під’єднати не вийде.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Це загальнодоступна адреса, вона працює лише для загальнодоступного календаря. Скопіюйте натомість «Secret address in iCal format»."
}
diff --git a/app/src/shared/locales/vi.json b/app/src/shared/locales/vi.json
index e225d8f9..4fc52319 100644
--- a/app/src/shared/locales/vi.json
+++ b/app/src/shared/locales/vi.json
@@ -657,5 +657,26 @@
"Later": "Để sau",
"Restart": "Khởi động lại",
"Yogurt couldn't restart. Try again.": "Không thể khởi động lại Yogurt. Hãy thử lại.",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "Thêm lịch khác",
+ "Calendar address": "Địa chỉ lịch",
+ "Connect": "Kết nối",
+ "Connect a calendar to see your meetings.": "Kết nối lịch để xem các cuộc họp của bạn.",
+ "Connect your calendar": "Kết nối lịch của bạn",
+ "Copy \"Secret address in iCal format\" and paste it below.": "Sao chép \"Secret address in iCal format\" rồi dán vào bên dưới.",
+ "Copy the ICS link and paste it below.": "Sao chép liên kết ICS rồi dán vào bên dưới.",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "Trong cài đặt của ứng dụng lịch, tìm địa chỉ iCal riêng tư. Địa chỉ này kết thúc bằng .ics hoặc bắt đầu bằng webcal://.",
+ "Open Google Calendar settings": "Mở cài đặt Google Calendar",
+ "Open Outlook calendar settings": "Mở cài đặt lịch Outlook",
+ "Other": "Khác",
+ "Paste it below.": "Dán vào bên dưới.",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "Địa chỉ đó không phải lịch. Hãy sao chép địa chỉ iCal, không phải địa chỉ của trang.",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "Đó không giống địa chỉ lịch. Địa chỉ phải bắt đầu bằng https:// hoặc webcal://.",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "Địa chỉ chỉ nằm trên máy tính này. Ai có địa chỉ đều xem được lịch của bạn, nên hãy giữ kín.",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "Trong \"Publish a calendar\", chọn lịch của bạn và \"Can view all details\", rồi Publish.",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "Trong \"Settings for my calendars\", chọn lịch của bạn, rồi \"Integrate calendar\".",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt không truy cập được địa chỉ đó. Hãy kiểm tra kết nối và địa chỉ.",
+ "{name} is connected. You can change this any time in Settings.": "Đã kết nối {name}. Bạn có thể đổi bất cứ lúc nào trong Cài đặt.",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "Chỉ thấy \"Public address in iCal format\"? Tổ chức của bạn đã tắt địa chỉ bí mật, nên không thể kết nối lịch này theo cách này.",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "Đó là địa chỉ công khai, chỉ dùng được khi lịch của bạn ở chế độ công khai. Hãy sao chép \"Secret address in iCal format\" thay vào đó."
}
diff --git a/app/src/shared/locales/zh-CN.json b/app/src/shared/locales/zh-CN.json
index 2b3cfc37..8a7c12f2 100644
--- a/app/src/shared/locales/zh-CN.json
+++ b/app/src/shared/locales/zh-CN.json
@@ -657,5 +657,26 @@
"Later": "稍后",
"Restart": "重启",
"Yogurt couldn't restart. Try again.": "无法重启 Yogurt。请重试。",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "添加另一个日历",
+ "Calendar address": "日历地址",
+ "Connect": "连接",
+ "Connect a calendar to see your meetings.": "连接日历后即可查看你的会议。",
+ "Connect your calendar": "连接你的日历",
+ "Copy \"Secret address in iCal format\" and paste it below.": "复制“Secret address in iCal format”,然后粘贴到下方。",
+ "Copy the ICS link and paste it below.": "复制 ICS 链接,然后粘贴到下方。",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "在日历应用的设置中找到它的私密 iCal 地址。地址以 .ics 结尾或以 webcal:// 开头。",
+ "Open Google Calendar settings": "打开 Google 日历设置",
+ "Open Outlook calendar settings": "打开 Outlook 日历设置",
+ "Other": "其他",
+ "Paste it below.": "粘贴到下方。",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "该地址不是日历。请复制 iCal 地址,而不是网页地址。",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "这看起来不像日历地址。它应以 https:// 或 webcal:// 开头。",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "地址只保存在这台电脑上。任何拿到它的人都能看到你的日历,请妥善保管。",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "在“Publish a calendar”下选择你的日历和“Can view all details”,然后点 Publish。",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "在“Settings for my calendars”下选择你的日历,然后打开“Integrate calendar”。",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt 无法访问该地址。请检查网络连接和地址。",
+ "{name} is connected. You can change this any time in Settings.": "{name}已连接。你随时可以在设置中更改。",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "只看到“Public address in iCal format”?你的组织关闭了私密地址,因此无法通过这种方式连接此日历。",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "这是公开地址,只有日历公开时才能使用。请改为复制“Secret address in iCal format”。"
}
diff --git a/app/src/shared/locales/zh-TW.json b/app/src/shared/locales/zh-TW.json
index f4cacdf7..3da01255 100644
--- a/app/src/shared/locales/zh-TW.json
+++ b/app/src/shared/locales/zh-TW.json
@@ -657,5 +657,26 @@
"Later": "稍後",
"Restart": "重新啟動",
"Yogurt couldn't restart. Try again.": "無法重新啟動 Yogurt。請重試。",
- "Yogurt {version}": "Yogurt {version}"
+ "Yogurt {version}": "Yogurt {version}",
+ "Add another calendar": "新增其他行事曆",
+ "Calendar address": "行事曆地址",
+ "Connect": "連接",
+ "Connect a calendar to see your meetings.": "連接行事曆即可查看你的會議。",
+ "Connect your calendar": "連接你的行事曆",
+ "Copy \"Secret address in iCal format\" and paste it below.": "複製「Secret address in iCal format」,然後貼在下方。",
+ "Copy the ICS link and paste it below.": "複製 ICS 連結,然後貼在下方。",
+ "In your calendar app's settings, find its private iCal address. It ends in .ics or starts with webcal://.": "在行事曆 App 的設定中找到它的私人 iCal 地址。地址以 .ics 結尾或以 webcal:// 開頭。",
+ "Open Google Calendar settings": "開啟 Google 日曆設定",
+ "Open Outlook calendar settings": "開啟 Outlook 行事曆設定",
+ "Other": "其他",
+ "Paste it below.": "貼在下方。",
+ "That address isn't a calendar. Copy the iCal address, not the page's address.": "這個地址不是行事曆。請複製 iCal 地址,而不是網頁地址。",
+ "That doesn't look like a calendar address. It should start with https:// or webcal://.": "這看起來不像行事曆地址。它應以 https:// 或 webcal:// 開頭。",
+ "The address stays on this computer. Anyone who has it can see your calendar, so keep it private.": "地址只存在這台電腦上。任何拿到它的人都能看到你的行事曆,請妥善保管。",
+ "Under \"Publish a calendar\", choose your calendar and \"Can view all details\", then Publish.": "在「Publish a calendar」下選擇你的行事曆和「Can view all details」,然後按 Publish。",
+ "Under \"Settings for my calendars\", choose your calendar, then \"Integrate calendar\".": "在「Settings for my calendars」下選擇你的行事曆,然後開啟「Integrate calendar」。",
+ "Yogurt couldn't reach that address. Check your connection and the address.": "Yogurt 無法連到這個地址。請檢查網路連線和地址。",
+ "{name} is connected. You can change this any time in Settings.": "{name}已連接。你隨時可以在設定中更改。",
+ "Only see \"Public address in iCal format\"? Your organization turned off secret addresses, so this calendar can't be connected this way.": "只看到「Public address in iCal format」?你的組織已關閉私人地址,因此無法用這種方式連接這個行事曆。",
+ "That's the public address, which only works if your calendar is public. Copy \"Secret address in iCal format\" instead.": "這是公開地址,只有行事曆公開時才能使用。請改為複製「Secret address in iCal format」。"
}
diff --git a/app/src/shared/onboarding.ts b/app/src/shared/onboarding.ts
index a9cc4307..22254e8f 100644
--- a/app/src/shared/onboarding.ts
+++ b/app/src/shared/onboarding.ts
@@ -13,9 +13,12 @@ const open = (a: Access) => a === 'unknown' || a === 'denied'
* ask: whether this run may show it at all (fake mode only when a test sets the permissions).
* kinds: the permissions this computer has (supportedKinds in platform.ts); a Mac has them all.
*/
-export function firstRunPlan(o: { ask: boolean; welcomed: boolean; introSeen: boolean; status: PermissionStatus; kinds?: readonly PermissionKind[] }): OnboardingPlan {
+export function firstRunPlan(o: { ask: boolean; welcomed: boolean; introSeen: boolean; status: PermissionStatus; kinds?: readonly PermissionKind[]
+ /** Windows and Linux: the calendar is a calendar link; its screen asks for one while none is connected */
+ calendarLink?: { linked: boolean } }): OnboardingPlan {
if (!o.ask || o.welcomed) return { intro: false, steps: [] }
const steps: OnboardingStep[] = (o.kinds ?? PERMISSION_KINDS).filter((k) => open(o.status[k])).map((kind) => ({ kind, status: o.status[kind] }))
+ if (o.calendarLink && !o.calendarLink.linked) steps.push({ kind: 'calendar', status: 'unknown' })
return { intro: !o.introSeen, steps }
}
diff --git a/app/src/shared/platform.ts b/app/src/shared/platform.ts
index a954b64e..00361bf7 100644
--- a/app/src/shared/platform.ts
+++ b/app/src/shared/platform.ts
@@ -6,8 +6,10 @@ import type { PermissionKind } from './types'
* A Mac has everything, as it always had. Windows and Linux turn features on here as each one gets its own helper.
*/
export type Capabilities = {
- /** the computer's own calendars (EventKit): the agenda, linking a note to an event, the calendar permission */
+ /** a calendar: the agenda, linking a note to an event. The Mac's own (EventKit, its permission) or a calendar link */
calendar: boolean
+ /** the calendar comes from a pasted private calendar address (Windows and Linux: no system calendar to read) */
+ calendarLink: boolean
/** names of the people in a call, read through Accessibility, and that permission */
callNames: boolean
/**
@@ -25,7 +27,7 @@ export type Capabilities = {
export function capabilities(platform: string): Capabilities {
const mac = platform === 'darwin'
// Linux reads call names through AT-SPI, Windows through UI Automation (yogurt-system call-watch), the same WatchLine JSON as the Mac
- return { calendar: mac, callNames: mac || platform === 'linux' || platform === 'win32', permissionPrompts: mac, mediaPause: mac }
+ return { calendar: true, calendarLink: !mac, callNames: mac || platform === 'linux' || platform === 'win32', permissionPrompts: mac, mediaPause: mac }
}
/** permission kinds Windows has a Settings page for (main/permissions.ts WINDOWS_SETTINGS has their links) */
@@ -54,7 +56,8 @@ export const micListHelper = (platform: string): HelperKind => (platform === 'da
/** The permissions this computer has: no calendar or names from calls means those are never asked for */
export function supportedKinds(c: Capabilities): PermissionKind[] {
- return PERMISSION_KINDS.filter((k) => (k !== 'calendar' || c.calendar) && (k !== 'accessibility' || c.callNames))
+ // a calendar link is no permission: it lives in Settings' calendars and the first run's calendar screen
+ return PERMISSION_KINDS.filter((k) => (k !== 'calendar' || (c.calendar && !c.calendarLink)) && (k !== 'accessibility' || c.callNames))
}
/** keys a Mac shortcut means something else on Windows and Linux (⌃⌘ is no pair there; full screen is F11) */
diff --git a/app/src/shared/types.ts b/app/src/shared/types.ts
index e1e2ea18..25277698 100644
--- a/app/src/shared/types.ts
+++ b/app/src/shared/types.ts
@@ -5,6 +5,8 @@ import type { FolderAppearance } from './folderAppearance'
import type { LiveWord } from './liveWords'
import type { Meeting, MeetingCard as StoredMeetingCard, Person, Segment, SnippetPart, Folder } from '../main/store'
import type { CalEvent, CalendarSource, CalendarStatus } from '../main/calendar'
+/** a connected calendar link, as the window sees it: never its address */
+export type CalendarLinkInfo = { id: string; name: string; host: string }
import type { Access, PermissionKind, PermissionStatus } from '../main/permissions'
import type { Capabilities } from './platform'
export type { Access, PermissionKind, PermissionStatus }
@@ -220,7 +222,8 @@ export type YogurtApi = {
}
/** the Mac's calendar: what is still to come today and tomorrow */
calendar: {
- list(): Promise<{ status: CalendarStatus; calendars: (CalendarSource & { enabled: boolean })[]; hideEventsWithoutCallLink: boolean }>
+ /** status: any calendar at all; systemStatus: the Mac's own calendars, apart from calendar links. link: a calendar link (removable) */
+ list(): Promise<{ status: CalendarStatus; systemStatus?: CalendarStatus; calendars: (CalendarSource & { enabled: boolean; link?: boolean })[]; hideEventsWithoutCallLink: boolean }>
setEnabled(id: string, enabled: boolean): Promise<boolean>
setHideWithoutLink(hide: boolean): Promise<boolean>
onChange(cb: () => void): () => void
@@ -229,6 +232,11 @@ export type YogurtApi = {
connect(): Promise<CalendarStatus>
/** the events on the day of this time, earliest first (none without Calendar access) */
day(at: number): Promise<{ status: CalendarStatus; events: AgendaEvent[] }>
+ /** Windows and Linux: the calendar links connected (never their addresses) */
+ links(): Promise<CalendarLinkInfo[]>
+ /** connect a private calendar address; why not when it can't be */
+ addLink(url: string): Promise<{ ok: true; id: string; name: string } | { ok: false; error: 'bad-url' | 'unreachable' | 'not-calendar' | 'public-address' }>
+ removeLink(id: string): Promise<boolean>
}
/** what Yogurt may use: read it, ask for it (the Mac's own prompt), or open its pane of System Settings */
permissions: {
diff --git a/app/test/calendar.test.ts b/app/test/calendar.test.ts
index 490db030..7ab1edd6 100644
--- a/app/test/calendar.test.ts
+++ b/app/test/calendar.test.ts
@@ -3,7 +3,7 @@ import { join } from 'node:path'
import { tmpdir } from 'node:os'
import { loadSettings, updateSettings } from '../src/main/settings'
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
-import { calendars, calendarStatus, meetingLink, parseEvents, refreshCalendarStatus, requestCalendarAccess, setCalendarSelection, setCalendarSupported, setHelper, upcoming } from '../src/main/calendar'
+import { calendars, calendarStatus, meetingLink, parseEvents, refreshCalendarStatus, requestCalendarAccess, setCalendarLinkSource, setCalendarSelection, setCalendarSupported, setHelper, upcoming } from '../src/main/calendar'
const fixture = JSON.parse(readFileSync(join(__dirname, 'fixtures/helper-events.json'), 'utf8'))
@@ -180,3 +180,60 @@ describe('a computer without a calendar (Windows, Linux)', () => {
expect(calls).toEqual([])
})
})
+
+describe('Windows and Linux: the calendar comes from calendar links, not the system helper', () => {
+ afterEach(() => { setCalendarLinkSource(null); setCalendarSupported(true) })
+ it('status, calendars and events come from the links; the helper is never asked; hidden calendars stay out', async () => {
+ const asked: string[] = []
+ setHelper(async (args) => { asked.push(args[0]); return null })
+ setCalendarSupported(false)
+ let linked = false
+ setCalendarLinkSource({
+ status: () => (linked ? 'granted' : 'notDetermined'),
+ calendars: async () => [{ id: 'l1', name: 'Work', source: 'calendar.google.com' }, { id: 'l2', name: 'Home', source: 'example.com' }],
+ events: async () => [
+ { id: 'a|1', externalId: 'a', title: 'Standup', start: '2026-11-17T17:00:00.000Z', end: '2026-11-17T17:15:00.000Z', attendees: [{ name: 'Dana Smith', email: '[email protected]' }], url: null, location: null, notes: 'https://meet.google.com/abc-defg-hij', calendarId: 'l1', calendar: 'Work', calendarSource: 'Calendar link', me: null },
+ { id: 'b|1', externalId: 'b', title: 'Dentist', start: '2026-11-17T19:00:00.000Z', end: '2026-11-17T20:00:00.000Z', attendees: [], url: null, location: null, notes: null, calendarId: 'l2', calendar: 'Home', calendarSource: 'Calendar link', me: null },
+ ],
+ })
+ expect(await refreshCalendarStatus()).toBe('notDetermined')
+ linked = true
+ expect(await requestCalendarAccess()).toBe('granted')
+ expect((await calendars()).map((c) => c.name)).toEqual(['Work', 'Home'])
+ setCalendarSelection(() => ({ hiddenCalendarIds: ['l2'] }))
+ const got = await upcoming(Date.parse('2026-11-17T00:00:00Z'), Date.parse('2026-11-18T00:00:00Z'))
+ expect(got).toEqual([expect.objectContaining({ title: 'Standup', url: 'https://meet.google.com/abc-defg-hij', attendees: [{ name: 'Dana Smith', email: '[email protected]' }] })])
+ expect(asked).toEqual([])
+ setCalendarSelection(() => ({}))
+ })
+})
+
+describe('a Mac: calendar links sit alongside the built-in calendar (Settings → Calendars → Add a calendar link)', () => {
+ afterEach(() => { setCalendarLinkSource(null); setCalendarSupported(true); setCalendarSelection(() => ({})) })
+ const linkEvent = { id: 'x|1', externalId: 'x', title: 'Book club', start: '2026-11-17T20:00:00.000Z', end: '2026-11-17T21:00:00.000Z', attendees: [], url: null, location: null, notes: null, calendarId: 'l1', calendar: 'Club', calendarSource: 'Calendar link', me: null }
+ const macRow = { id: 'm1', title: 'Standup', start: '2026-11-17T17:00:00.000Z', end: '2026-11-17T17:15:00.000Z', attendees: [], calendarId: 'work', calendar: 'Work' }
+ const links = (linked: boolean) => ({ status: () => (linked ? 'granted' as const : 'notDetermined' as const), calendars: async () => (linked ? [{ id: 'l1', name: 'Club', source: 'example.com' }] : []), events: async () => (linked ? [linkEvent] : []) })
+ const day = [Date.parse('2026-11-17T00:00:00Z'), Date.parse('2026-11-18T00:00:00Z')] as const
+
+ it('both: the Mac calendars and the links, their events together', async () => {
+ setHelper(async (args) => args[0] === 'calendar-status' ? { status: 'granted' } : args[0] === 'calendars' ? [{ id: 'work', name: 'Work', source: 'iCloud' }] : [macRow])
+ setCalendarLinkSource(links(true), { alongside: true })
+ expect(await refreshCalendarStatus()).toBe('granted')
+ expect((await calendars()).map((c) => c.name)).toEqual(['Work', 'Club'])
+ expect((await upcoming(...day)).map((e) => e.title).sort()).toEqual(['Book club', 'Standup'])
+ })
+ it('a link alone, without the Mac calendar allowed, still fills the agenda; the Mac is still asked with its own prompt', async () => {
+ const asked: string[] = []
+ setHelper(async (args) => { asked.push(args[0]); return args[0] === 'calendar-status' || args[0] === 'calendar-auth' ? { status: 'notDetermined' } : [] })
+ setCalendarLinkSource(links(true), { alongside: true })
+ expect(await refreshCalendarStatus()).toBe('granted')
+ expect((await upcoming(...day)).map((e) => e.title)).toEqual(['Book club'])
+ await requestCalendarAccess()
+ expect(asked).toContain('calendar-auth')
+ })
+ it('no link: exactly the Mac as before', async () => {
+ setHelper(async (args) => args[0] === 'calendar-status' ? { status: 'denied' } : [])
+ setCalendarLinkSource(links(false), { alongside: true })
+ expect(await refreshCalendarStatus()).toBe('denied')
+ })
+})
diff --git a/app/test/calendarLinkIcs.test.ts b/app/test/calendarLinkIcs.test.ts
new file mode 100644
index 00000000..d2a15deb
--- /dev/null
+++ b/app/test/calendarLinkIcs.test.ts
@@ -0,0 +1,109 @@
+import { describe, expect, it } from 'vitest'
+import { icsEvents, icsName } from '../src/main/calendarLink/ics'
+
+// A made-up feed in the shape Google's "Secret address in iCal format" gives: its own time zone, attendees, a Meet link
+const feed = (events: string) => `BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Google Inc//Google Calendar 70.9054//EN
+X-WR-CALNAME:[email protected]
+BEGIN:VTIMEZONE
+TZID:America/Los_Angeles
+BEGIN:STANDARD
+DTSTART:19701101T020000
+RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
+TZOFFSETFROM:-0700
+TZOFFSETTO:-0800
+END:STANDARD
+BEGIN:DAYLIGHT
+DTSTART:19700308T020000
+RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
+TZOFFSETFROM:-0800
+TZOFFSETTO:-0700
+END:DAYLIGHT
+END:VTIMEZONE
+${events}
+END:VCALENDAR
+`
+const sync = `BEGIN:VEVENT
+SUMMARY:Weekly sync
+DTSTART;TZID=America/Los_Angeles:20261102T100000
+DTEND;TZID=America/Los_Angeles:20261102T103000
+RRULE:FREQ=WEEKLY;BYDAY=MO
+EXDATE;TZID=America/Los_Angeles:20261109T100000
+ORGANIZER;CN=Dana Smith:mailto:[email protected]
+ATTENDEE;CN=Dana Smith;PARTSTAT=ACCEPTED:mailto:[email protected]
+ATTENDEE;CN=Alex Morgan;PARTSTAT=ACCEPTED:mailto:[email protected]
+ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:[email protected]
+DESCRIPTION:Join: https://meet.google.com/abc-defg-hij
+END:VEVENT
+BEGIN:VEVENT
+RECURRENCE-ID;TZID=America/Los_Angeles:20261116T100000
+SUMMARY:Weekly sync (moved)
+DTSTART;TZID=America/Los_Angeles:20261116T140000
+DTEND;TZID=America/Los_Angeles:20261116T143000
+ATTENDEE;CN=Dana Smith:mailto:[email protected]
+END:VEVENT
+BEGIN:VEVENT
+SUMMARY:Lunch
+DTSTART:20261117T200000Z
+DTEND:20261117T210000Z
+LOCATION:Cafe
+END:VEVENT
+BEGIN:VEVENT
+SUMMARY:Day off
+DTSTART;VALUE=DATE:20261118
+DTEND;VALUE=DATE:20261119
+END:VEVENT
+BEGIN:VEVENT
+SUMMARY:Cancelled review
+STATUS:CANCELLED
+DTSTART:20261117T180000Z
+DTEND:20261117T183000Z
+END:VEVENT`
+
+const at = (iso: string) => Date.parse(iso)
+const link = { id: 'link-1', name: 'Work' }
+
+describe('a calendar link: events from an iCal feed, in the shape the Mac helper gives', () => {
+ it('names the calendar after the feed, and knows the address it belongs to', () => {
+ expect(icsName(feed(sync))).toEqual({ name: '[email protected]', me: '[email protected]' })
+ })
+
+ it('expands a weekly meeting in its own time zone, skips an excluded week, and uses a moved one', () => {
+ const got = icsEvents(feed(sync), at('2026-11-02T00:00:00Z'), at('2026-11-24T00:00:00Z'), link)
+ const syncs = got.filter((e) => e.externalId === '[email protected]')
+ // Nov 2 and 23 at 10:00 PST (18:00Z); Nov 9 excluded; Nov 16 moved to 14:00 PST (22:00Z) with its own title
+ expect(syncs.map((e) => [e.title, e.start])).toEqual([
+ ['Weekly sync', '2026-11-02T18:00:00.000Z'],
+ ['Weekly sync (moved)', '2026-11-16T22:00:00.000Z'],
+ ['Weekly sync', '2026-11-23T18:00:00.000Z'],
+ ])
+ // every occurrence has its own id, so the agenda and meeting links can tell them apart
+ expect(new Set(syncs.map((e) => e.id)).size).toBe(3)
+ })
+
+ it('gives attendees by name and email (an address alone stands for the name), the call link, and the calendar', () => {
+ const [first] = icsEvents(feed(sync), at('2026-11-02T00:00:00Z'), at('2026-11-03T00:00:00Z'), link)
+ expect(first).toMatchObject({
+ title: 'Weekly sync', end: '2026-11-02T18:30:00.000Z', calendarId: 'link-1', calendar: 'Work', calendarSource: 'Calendar link',
+ notes: 'Join: https://meet.google.com/abc-defg-hij', me: '[email protected]',
+ })
+ // the person the feed belongs to is left out, as the Mac helper does
+ expect(first.attendees).toEqual([{ name: 'Dana Smith', email: '[email protected]' }, { name: '[email protected]', email: '[email protected]' }])
+ })
+
+ it('leaves out all-day events and cancelled ones, and keeps one-off events in range', () => {
+ const got = icsEvents(feed(sync), at('2026-11-17T00:00:00Z'), at('2026-11-19T00:00:00Z'), link)
+ expect(got.map((e) => e.title)).toEqual(['Lunch'])
+ expect(got[0]).toMatchObject({ start: '2026-11-17T20:00:00.000Z', location: 'Cafe' })
+ })
+
+ it('a feed that is not a calendar is an error, not an empty week', () => {
+ expect(() => icsEvents('<html>Sign in</html>', 0, 1, link)).toThrow()
+ })
+})
diff --git a/app/test/calendarLinks.test.ts b/app/test/calendarLinks.test.ts
new file mode 100644
index 00000000..45632759
--- /dev/null
+++ b/app/test/calendarLinks.test.ts
@@ -0,0 +1,72 @@
+import { mkdtempSync, readFileSync, rmSync } from 'node:fs'
+import { tmpdir } from 'node:os'
+import { join } from 'node:path'
+import { afterEach, describe, expect, it } from 'vitest'
+import { createCalendarLinks } from '../src/main/calendarLink'
+
+const ics = (name: string) => `BEGIN:VCALENDAR\nVERSION:2.0\nX-WR-CALNAME:${name}\nBEGIN:VEVENT\nUID:[email protected]\nSUMMARY:Standup\nDTSTART:20261117T170000Z\nDTEND:20261117T171500Z\nEND:VEVENT\nEND:VCALENDAR\n`
+const dirs: string[] = []
+afterEach(() => dirs.splice(0).forEach((d) => rmSync(d, { recursive: true, force: true })))
+
+function rig(answer: (url: string) => Promise<string> | string) {
+ const dir = mkdtempSync(join(tmpdir(), 'yogurt-callinks-')); dirs.push(dir)
+ const file = join(dir, 'settings.json')
+ const fetched: string[] = []
+ let clock = 1_000_000
+ const links = createCalendarLinks({
+ file, now: () => clock,
+ get: async (url) => { fetched.push(url); return answer(url) },
+ // a stand-in for the keychain: Yogurt never writes the address as it is
+ seal: (s) => `sealed:${Buffer.from(s).toString('base64')}`, open: (s) => Buffer.from(s.slice(7), 'base64').toString(),
+ })
+ return { links, file, fetched, tick: (ms: number) => { clock += ms } }
+}
+const day = [Date.parse('2026-11-17T00:00:00Z'), Date.parse('2026-11-18T00:00:00Z')] as const
+
+describe('calendar links (Windows and Linux): a private calendar address, kept on this computer', () => {
+ it('connects a Google address: checks it is a calendar, names it, and stores the address sealed', async () => {
+ const r = rig(() => ics('[email protected]'))
+ const got = await r.links.add(' https://calendar.google.com/calendar/ical/alex%40example.com/private-abc123/basic.ics ')
+ expect(got).toMatchObject({ name: '[email protected]' })
+ expect(r.links.list()).toEqual([{ id: expect.any(String), name: '[email protected]', host: 'calendar.google.com' }])
+ expect(readFileSync(r.file, 'utf8')).not.toContain('private-abc123')
+ expect(r.links.status()).toBe('granted')
+ expect(await r.links.calendars()).toEqual([{ id: got.ok ? got.id : '', name: '[email protected]', source: 'calendar.google.com' }])
+ })
+ it('a webcal:// address is the same as https://', async () => {
+ const r = rig(() => ics('Team'))
+ await r.links.add('webcal://outlook.office365.com/owa/calendar/abc/reachcalendar.ics')
+ expect(r.fetched[0]).toBe('https://outlook.office365.com/owa/calendar/abc/reachcalendar.ics')
+ })
+ it('says why an address does not work: not a web address, cannot be reached, or not a calendar', async () => {
+ expect(await rig(() => '').links.add('not a link')).toEqual({ ok: false, error: 'bad-url' })
+ expect(await rig(() => '').links.add('ftp://example.com/cal.ics')).toEqual({ ok: false, error: 'bad-url' })
+ expect(await rig(() => { throw new Error('offline') }).links.add('https://example.com/cal.ics')).toEqual({ ok: false, error: 'unreachable' })
+ expect(await rig(() => '<html>Sign in</html>').links.add('https://example.com/cal.ics')).toEqual({ ok: false, error: 'not-calendar' })
+ })
+ it("Google's public address says so when it fails (it works only for a public calendar), and works when the calendar is public", async () => {
+ const pub = 'https://calendar.google.com/calendar/ical/alex%40example.com/public/basic.ics'
+ expect(await rig(() => { throw new Error('404') }).links.add(pub)).toEqual({ ok: false, error: 'public-address' })
+ expect(await rig(() => '<html>Not found</html>').links.add(pub)).toEqual({ ok: false, error: 'public-address' })
+ expect(await rig(() => ics('Team')).links.add(pub)).toMatchObject({ ok: true, name: 'Team' })
+ })
+ it('reads events, fetching again only after five minutes, and keeps the last good copy when the network fails', async () => {
+ let fail = false
+ const r = rig(() => { if (fail) throw new Error('offline'); return ics('Work') })
+ await r.links.add('https://example.com/cal.ics')
+ expect((await r.links.events(...day)).map((e) => e.title)).toEqual(['Standup'])
+ await r.links.events(...day)
+ expect(r.fetched).toHaveLength(1)
+ r.tick(5 * 60_000 + 1); fail = true
+ expect((await r.links.events(...day)).map((e) => e.title)).toEqual(['Standup'])
+ expect(r.fetched).toHaveLength(2)
+ })
+ it('removing the last address leaves no calendar', async () => {
+ const r = rig(() => ics('Work'))
+ const got = await r.links.add('https://example.com/cal.ics')
+ r.links.remove(got.ok ? got.id : '')
+ expect(r.links.list()).toEqual([])
+ expect(r.links.status()).toBe('notDetermined')
+ expect(await r.links.events(...day)).toEqual([])
+ })
+})
diff --git a/app/test/catalog.test.ts b/app/test/catalog.test.ts
index 1e3476a3..e636c244 100644
--- a/app/test/catalog.test.ts
+++ b/app/test/catalog.test.ts
@@ -24,7 +24,8 @@ describe('nothing leaves the Mac', () => {
it('only model downloads (pinned URLs) and whisper-server on 127.0.0.1 make requests; the update check is electron-updater', () => {
const src = join(__dirname, '../src')
// files allowed to make requests: model downloads from the catalog's pinned URLs, whisper-server on 127.0.0.1
- const allowed = new Set(['main/downloader.ts', 'main/asr/server.ts', 'main/asr/transcribe.ts'])
+ // and the person's own calendar link (Windows and Linux), straight from this computer to their calendar provider
+ const allowed = new Set(['main/downloader.ts', 'main/asr/server.ts', 'main/asr/transcribe.ts', 'main/calendarLink/get.ts'])
const calls = files(src).filter((f) => /\.(ts|tsx)$/.test(f))
.filter((f) => /(?<![.\w]|async )fetch\(|(\?\?|=) fetch\b|net\.request|from 'node:https?'|require\('https?'\)|new WebSocket|XMLHttpRequest|raw\.githubusercontent/.test(readFileSync(f, 'utf8')))
.map((f) => f.slice(src.length + 1).replaceAll('\\', '/'))
diff --git a/app/test/onboarding.test.ts b/app/test/onboarding.test.ts
index b931328c..c518ed1c 100644
--- a/app/test/onboarding.test.ts
+++ b/app/test/onboarding.test.ts
@@ -127,3 +127,16 @@ describe('a Linux computer with names from calls', () => {
expect(finishSetupPercent({ ...all('granted'), calendar: 'unknown' }, kinds)).toBe(100)
})
})
+
+
+describe('the first run on Windows and Linux: a calendar link step, the same form as Settings', () => {
+ const kinds = ['mic', 'systemAudio', 'notifications', 'accessibility'] as const
+ it('asks for a calendar link when none is connected, as the calendar screen', () => {
+ const plan = firstRunPlan({ ask: true, welcomed: false, introSeen: true, status: { ...all('granted'), calendar: 'unknown' }, kinds, calendarLink: { linked: false } })
+ expect(screensOf(plan.steps).map((s) => s.id)).toEqual(['calendar'])
+ })
+ it('a connected link (or a Mac, which asks for its own calendar) adds no link step', () => {
+ expect(firstRunPlan({ ask: true, welcomed: false, introSeen: true, status: all('granted'), kinds, calendarLink: { linked: true } }).steps).toEqual([])
+ expect(screensOf(firstRunPlan({ ask: true, welcomed: false, introSeen: true, status: { ...all('granted'), calendar: 'unknown' } }).steps).map((s) => s.id)).toEqual(['calendar'])
+ })
+})
diff --git a/app/test/platform.test.ts b/app/test/platform.test.ts
index 74352b68..e7a6f58c 100644
--- a/app/test/platform.test.ts
+++ b/app/test/platform.test.ts
@@ -4,11 +4,11 @@ import { PERMISSION_KINDS } from '../src/main/permissions'
describe('what each computer can do', () => {
it('a Mac has every feature, exactly as before', () => {
- expect(capabilities('darwin')).toEqual({ calendar: true, callNames: true, permissionPrompts: true, mediaPause: true })
+ expect(capabilities('darwin')).toEqual({ calendar: true, calendarLink: false, callNames: true, permissionPrompts: true, mediaPause: true })
})
- it('Windows and Linux have no calendar; both read names from calls (UI Automation, AT-SPI)', () => {
- expect(capabilities('win32')).toEqual({ calendar: false, callNames: true, permissionPrompts: false, mediaPause: false })
- expect(capabilities('linux')).toEqual({ calendar: false, callNames: true, permissionPrompts: false, mediaPause: false })
+ it('Windows and Linux have a calendar through a calendar link (no system calendar to ask), and names from calls', () => {
+ expect(capabilities('win32')).toEqual({ calendar: true, calendarLink: true, callNames: true, permissionPrompts: false, mediaPause: false })
+ expect(capabilities('linux')).toEqual({ calendar: true, calendarLink: true, callNames: true, permissionPrompts: false, mediaPause: false })
})
it('only fake mode can pretend to be another computer, so the Mac CI can try the Windows and Linux screens', () => {
expect(platformOf('darwin', { YOGURT_FAKE: '1', YOGURT_FAKE_PLATFORM: 'win32' })).toBe('win32')
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8d99aa7c..1c99dffd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -21,6 +21,9 @@ importers:
electron-updater:
specifier: 6.8.10
version: 6.8.10
+ ical.js:
+ specifier: 2.2.1
+ version: 2.2.1
node-llama-cpp:
specifier: 3.22.1
version: 3.22.1(patch_hash=fb1b72ef61aee31b92af3fbf2624ad8cd9db513628681b7d141f463433c6ef4c)([email protected])
@@ -1737,6 +1740,9 @@ packages:
resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
engines: {node: '>= 14'}
+ resolution: {integrity: sha512-yK/UlPbEs316igb/tjRgbFA8ZV75rCsBJp/hWOatpyaPNlgw0dGDmU+FoicOcwX4xXkeXOkYiOmCqNPFpNPkQg==}
+
resolution: {integrity: sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==}
engines: {node: '>= 4'}
@@ -4397,6 +4403,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+