Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix(i18n): add missing unifiedBilling plural keys in ja/zh locales
Chadpihaf2b9e90aa63e
diff --git a/src/helpers/database.js b/src/helpers/database.jsindex 03eb2dcf2..a1c485aa2 100644--- a/src/helpers/database.js+++ b/src/helpers/database.js@@ -2244,9 +2244,7 @@ class DatabaseManager {const updatedAt = space.updated_at || space.created_at || new Date().toISOString();const teams = Array.isArray(space.teams) ? space.teams : [];const teamsJson = JSON.stringify(teams);- let existing = this.db- .prepare("SELECT * FROM spaces WHERE cloud_space_id = ?")- .get(space.id);+ let existing = this.db.prepare("SELECT * FROM spaces WHERE cloud_space_id = ?").get(space.id);if (!existing && teams.length === 1) {// Adopt a pre-spaces row: the server backfilled one space per legacy// team, so a single-team space claims the local row that mirrored that@@ -2272,7 +2270,9 @@ class DatabaseManager {updatedAt,existing.id);- return this._spaceRow(this.db.prepare("SELECT * FROM spaces WHERE id = ?").get(existing.id));+ return this._spaceRow(+ this.db.prepare("SELECT * FROM spaces WHERE id = ?").get(existing.id)+ );}const maxOrder = this.db.prepare("SELECT MAX(sort_order) as max_order FROM spaces").get();// New spaces insert as 'pending' (skeletons until the content backfilldiff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.jsonindex e19b3eef6..18ef62f90 100644--- a/src/locales/ja/translation.json+++ b/src/locales/ja/translation.json@@ -1120,15 +1120,18 @@"nonBillableSeat": "管理者専用アクセス · 有料シートなし","managedBy": "請求は {{owner}} が管理しています。","addSeat": "シートを追加",- "startWithSeats": "{{count}} シートで Business を開始",- "seatUpdated": "ワークスペースの容量を {{count}} シートに更新しました",+ "startWithSeats_one": "{{count}} シートで Business を開始",+ "startWithSeats_other": "{{count}} シートで Business を開始",+ "seatUpdated_one": "ワークスペースの容量を {{count}} シートに更新しました",+ "seatUpdated_other": "ワークスペースの容量を {{count}} シートに更新しました","seatUpdateFailed": "ワークスペースのシートを更新できませんでした","businessWorkspaceOnly": "ワークスペースで利用可能","personalPlanTitle": "個人プラン","providedBy": "個人プラン: Free · 有料アクセスは {{workspaces}} から提供","confirmSeats": {"title": "ワークスペースのシートを追加しますか?",- "description": "{{workspace}} を {{count}} シートに拡張します。Stripe が日割りで請求します。",+ "description_one": "{{workspace}} を {{count}} シートに拡張します。Stripe が日割りで請求します。",+ "description_other": "{{workspace}} を {{count}} シートに拡張します。Stripe が日割りで請求します。","newCapacity": "新しい容量","chargeToday": "本日の請求額","confirm": "シートを追加"diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.jsonindex 52bdd889f..3c66f2aeb 100644--- a/src/locales/zh-CN/translation.json+++ b/src/locales/zh-CN/translation.json@@ -1120,15 +1120,18 @@"nonBillableSeat": "仅管理员访问 · 无付费席位","managedBy": "账单由 {{owner}} 管理。","addSeat": "添加席位",- "startWithSeats": "以 {{count}} 个席位开始 Business",- "seatUpdated": "工作区容量已更新为 {{count}} 个席位",+ "startWithSeats_one": "以 {{count}} 个席位开始 Business",+ "startWithSeats_other": "以 {{count}} 个席位开始 Business",+ "seatUpdated_one": "工作区容量已更新为 {{count}} 个席位",+ "seatUpdated_other": "工作区容量已更新为 {{count}} 个席位","seatUpdateFailed": "无法更新工作区席位","businessWorkspaceOnly": "适用于工作区","personalPlanTitle": "个人套餐","providedBy": "个人套餐:免费版 · 付费权限由 {{workspaces}} 提供","confirmSeats": {"title": "要添加工作区席位吗?",- "description": "将 {{workspace}} 增加到 {{count}} 个席位。Stripe 将按比例计费。",+ "description_one": "将 {{workspace}} 增加到 {{count}} 个席位。Stripe 将按比例计费。",+ "description_other": "将 {{workspace}} 增加到 {{count}} 个席位。Stripe 将按比例计费。","newCapacity": "新容量","chargeToday": "今日收费","confirm": "添加席位"diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.jsonindex c4031eadb..b5862c549 100644--- a/src/locales/zh-TW/translation.json+++ b/src/locales/zh-TW/translation.json@@ -1120,15 +1120,18 @@"nonBillableSeat": "僅管理員存取 · 無付費席次","managedBy": "帳單由 {{owner}} 管理。","addSeat": "新增席次",- "startWithSeats": "以 {{count}} 個席次開始 Business",- "seatUpdated": "工作區容量已更新為 {{count}} 個席次",+ "startWithSeats_one": "以 {{count}} 個席次開始 Business",+ "startWithSeats_other": "以 {{count}} 個席次開始 Business",+ "seatUpdated_one": "工作區容量已更新為 {{count}} 個席次",+ "seatUpdated_other": "工作區容量已更新為 {{count}} 個席次","seatUpdateFailed": "無法更新工作區席次","businessWorkspaceOnly": "適用於工作區","personalPlanTitle": "個人方案","providedBy": "個人方案:免費 · 付費存取由 {{workspaces}} 提供","confirmSeats": {"title": "要新增工作區席次嗎?",- "description": "將 {{workspace}} 增加至 {{count}} 個席次。Stripe 將按比例計費。",+ "description_one": "將 {{workspace}} 增加至 {{count}} 個席次。Stripe 將按比例計費。",+ "description_other": "將 {{workspace}} 增加至 {{count}} 個席次。Stripe 將按比例計費。","newCapacity": "新容量","chargeToday": "今日收費","confirm": "新增席次"