Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions i18n/en.msg
Original file line number Diff line number Diff line change
Expand Up @@ -4978,3 +4978,24 @@ gpui.keys.mgmt.plan = Plan panel beside the design: open or close
web.plan.awaiting = {n} awaiting approval
web.plan.net.one = 1 net
web.plan.nets = {n} nets
gpui.mgmt.plan.view.canvas = Canvas
gpui.mgmt.plan.view.split = Split
gpui.mgmt.plan.view.list = List
gpui.mgmt.plan.grid.all = All layers
gpui.mgmt.plan.grid.pair = Side by side
gpui.mgmt.plan.grid.single = Single
gpui.mgmt.plan.expand = Expand
gpui.mgmt.plan.compact = Compact
gpui.mgmt.plan.sync = Link zoom
gpui.mgmt.plan.fit = Fit
gpui.mgmt.plan.lock = Lock
gpui.mgmt.plan.unlock = Unlock
gpui.mgmt.plan.layer.move = Move to layer
gpui.mgmt.plan.width = Width
gpui.mgmt.plan.addnote = Add note
gpui.mgmt.plan.note.placeholder = Steering note for router…
gpui.mgmt.plan.hint = Drag waypoints to steer · Click + on edge to insert · Right-click vertex to remove
gpui.mgmt.plan.rejectlayer = Reject layer
gpui.mgmt.plan.edited = Edited
gpui.mgmt.plan.locked = Locked
gpui.mgmt.plan.noitems = No corridors or planes on this layer
21 changes: 21 additions & 0 deletions i18n/es.msg
Original file line number Diff line number Diff line change
Expand Up @@ -4978,3 +4978,24 @@ gpui.keys.mgmt.plan = Panel de plan junto al diseño: abrir o cerrar
web.plan.awaiting = {n} esperando aprobación
web.plan.net.one = 1 red
web.plan.nets = {n} redes
gpui.mgmt.plan.view.canvas = Lienzo
gpui.mgmt.plan.view.split = Dividido
gpui.mgmt.plan.view.list = Lista
gpui.mgmt.plan.grid.all = Todas las capas
gpui.mgmt.plan.grid.pair = Lado a lado
gpui.mgmt.plan.grid.single = Única
gpui.mgmt.plan.expand = Expandir
gpui.mgmt.plan.compact = Compacto
gpui.mgmt.plan.sync = Vincular zoom
gpui.mgmt.plan.fit = Ajustar
gpui.mgmt.plan.lock = Bloquear
gpui.mgmt.plan.unlock = Desbloquear
gpui.mgmt.plan.layer.move = Mover a capa
gpui.mgmt.plan.width = Ancho
gpui.mgmt.plan.addnote = Añadir nota
gpui.mgmt.plan.note.placeholder = Nota de guiado para el router…
gpui.mgmt.plan.hint = Arrastra vértices para guiar · Clic en + del borde para insertar · Clic derecho en vértice para quitar
gpui.mgmt.plan.rejectlayer = Rechazar capa
gpui.mgmt.plan.edited = Editado
gpui.mgmt.plan.locked = Bloqueado
gpui.mgmt.plan.noitems = Sin corredores ni planos en esta capa
21 changes: 21 additions & 0 deletions i18n/ja.msg
Original file line number Diff line number Diff line change
Expand Up @@ -5001,3 +5001,24 @@ gpui.keys.mgmt.plan = 設計横の計画パネル: 開くまたは閉じる
web.plan.awaiting = {n} 件が承認待ち
web.plan.net.one = 1 ネット
web.plan.nets = {n} ネット
gpui.mgmt.plan.view.canvas = キャンバス
gpui.mgmt.plan.view.split = 分割
gpui.mgmt.plan.view.list = リスト
gpui.mgmt.plan.grid.all = 全レイヤー
gpui.mgmt.plan.grid.pair = 並べて表示
gpui.mgmt.plan.grid.single = 単一
gpui.mgmt.plan.expand = 拡大
gpui.mgmt.plan.compact = 標準
gpui.mgmt.plan.sync = ズーム連動
gpui.mgmt.plan.fit = 全体表示
gpui.mgmt.plan.lock = ロック
gpui.mgmt.plan.unlock = ロック解除
gpui.mgmt.plan.layer.move = レイヤー移動
gpui.mgmt.plan.width = 幅
gpui.mgmt.plan.addnote = メモを追加
gpui.mgmt.plan.note.placeholder = ルーターへの指示メモ…
gpui.mgmt.plan.hint = 頂点をドラッグして誘導 · 辺の + をクリックで追加 · 頂点を右クリックで削除
gpui.mgmt.plan.rejectlayer = レイヤーを却下
gpui.mgmt.plan.edited = 編集済み
gpui.mgmt.plan.locked = ロック中
gpui.mgmt.plan.noitems = このレイヤーにコリドーまたはプレーンがありません
123 changes: 122 additions & 1 deletion mobile/android/app/src/main/java/dev/backplane/mobile/Msg.kt

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions mobile/ios/Shared/TrCatalog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4838,6 +4838,27 @@ gpui.keys.mgmt.plan Plan panel beside the design: open or close 設計横の計
web.plan.awaiting {n} awaiting approval {n} 件が承認待ち {n} esperando aprobación
web.plan.net.one 1 net 1 ネット 1 red
web.plan.nets {n} nets {n} ネット {n} redes
gpui.mgmt.plan.view.canvas Canvas キャンバス Lienzo
gpui.mgmt.plan.view.split Split 分割 Dividido
gpui.mgmt.plan.view.list List リスト Lista
gpui.mgmt.plan.grid.all All layers 全レイヤー Todas las capas
gpui.mgmt.plan.grid.pair Side by side 並べて表示 Lado a lado
gpui.mgmt.plan.grid.single Single 単一 Única
gpui.mgmt.plan.expand Expand 拡大 Expandir
gpui.mgmt.plan.compact Compact 標準 Compacto
gpui.mgmt.plan.sync Link zoom ズーム連動 Vincular zoom
gpui.mgmt.plan.fit Fit 全体表示 Ajustar
gpui.mgmt.plan.lock Lock ロック Bloquear
gpui.mgmt.plan.unlock Unlock ロック解除 Desbloquear
gpui.mgmt.plan.layer.move Move to layer レイヤー移動 Mover a capa
gpui.mgmt.plan.width Width 幅 Ancho
gpui.mgmt.plan.addnote Add note メモを追加 Añadir nota
gpui.mgmt.plan.note.placeholder Steering note for router… ルーターへの指示メモ… Nota de guiado para el router…
gpui.mgmt.plan.hint Drag waypoints to steer · Click + on edge to insert · Right-click vertex to remove 頂点をドラッグして誘導 · 辺の + をクリックで追加 · 頂点を右クリックで削除 Arrastra vértices para guiar · Clic en + del borde para insertar · Clic derecho en vértice para quitar
gpui.mgmt.plan.rejectlayer Reject layer レイヤーを却下 Rechazar capa
gpui.mgmt.plan.edited Edited 編集済み Editado
gpui.mgmt.plan.locked Locked ロック中 Bloqueado
gpui.mgmt.plan.noitems No corridors or planes on this layer このレイヤーにコリドーまたはプレーンがありません Sin corredores ni planos en esta capa
"""#

/// thread.count = {n, plural, one {# thread} other {# threads}}
Expand Down
4 changes: 3 additions & 1 deletion native/gpui/src/screens/mgmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub struct Mgmt {
pub plan_next: Option<(String, Instant, bool)>,
pub plan_sel: Option<String>,
pub plan_stackup_open: bool,
pub plan_ui: super::mgmt_plan_canvas::State,
}
/// What a pressed plan review link does now, on the page drawn: open the Plan panel (the board shown is the plan's, or its board could not be shown
/// within a few seconds: the panel then names the board whose plan waits), show its board first, or wait for the page.
Expand Down Expand Up @@ -122,14 +123,15 @@ impl Mgmt {
fn want(app: &mut Backplane, project: &str) {
if app.screens.mgmt.asked == project { return }
app.screens.mgmt.asked = project.to_string();
if app.screens.mgmt.project != project { app.screens.mgmt.digest.clear(); app.screens.mgmt.bom = Default::default(); app.screens.mgmt.checks.reset(); app.screens.mgmt.error.clear(); app.screens.mgmt.plan_sel = None; app.screens.mgmt.plan_stackup_open = false; }
if app.screens.mgmt.project != project { app.screens.mgmt.digest.clear(); app.screens.mgmt.bom = Default::default(); app.screens.mgmt.checks.reset(); app.screens.mgmt.error.clear(); app.screens.mgmt.plan_sel = None; app.screens.mgmt.plan_stackup_open = false; app.screens.mgmt.plan_ui.reset(); }
let _ = app.tx.try_send(Command::Ask("mgmt.watch".into(), json!({"project": project}), WATCH_TAG));
}
/// `mgmt.watch`'s answer: the project's digest (what its info keys end in).
pub fn answered(app: &mut Backplane, id: u64, reply: &Value, cx: &mut Context<Backplane>) -> bool {
if id == super::mgmt_bom::EDIT_TAG { super::mgmt_bom::edited(app, reply, cx); return true }
if id == super::mgmt_life::PART_TAG { super::mgmt_life::answered(app, reply, cx); return true }
if id == super::mgmt_bom::ALTS_TAG { super::mgmt_bom::alts_answered(app, reply, cx); return true }
if super::mgmt_plan_canvas::is_board_tag(id) { super::mgmt_plan_canvas::board_answered(app, id, reply, cx); return true }
if id != WATCH_TAG { return false }
let r = if reply["result"].is_object() { &reply["result"] } else { reply };
if reply["ok"] == false { app.screens.mgmt.error = crate::hub::rpc_error(reply); }
Expand Down
Loading
Loading