Show one view control and name the file once
Phase 5-3. - One radio group shows Write, Source, and Read at all times, with an icon and a name. Narrow panes show only the icons. The arrow keys move the choice, and the group has one Tab stop. The current choice gets the selection fill and an accent bar. Hover gets only a fill. - A Split toggle shows Read beside Write or Source. Each document pane keeps a split flag beside its reading flag. Read ends Split. - Ctrl+Shift+E switches between Read and the editor. Ctrl+E still switches between Write and Source. - "IDE" becomes "Source" in the Chrome type, the tab menu (a View submenu), the status bar, the catalog, the tests, and the docs. - Settings, General, File name title hides the title in Write and Read. It is on by default. - The breadcrumb shows only the folder of the file. The status bar shows the view, not the path. - ModeSwitcher.svelte and its hover test are gone. The new test layout/viewModes covers the control. - The command palette from 5-2 gets its row in docs/menu-surfaces.json. - The user guide Format table is whole again. The 5-2 edit had put the Paragraph and Insert rows under the shortcut table. - 8 new catalog rows and 10 removed rows, in French, Japanese, and Simplified Chinese. - Docs: UI-049, the user guide, ui-design.md, document-tools.md, development.md, and the README feature list. Tests: the new layout/viewModes, new cases in documentPanes.spec.ts and settings.spec.ts, and the chooseView harness helper. 21 smoke tests use the new control. Tests that read the full path from the breadcrumb now read its tooltip.
This commit is contained in:
@@ -1043,18 +1043,6 @@ export const messageRows: [string, string, string, string][] = [
|
||||
"ブラウザーを開く",
|
||||
"打开浏览器"
|
||||
],
|
||||
[
|
||||
"Document view",
|
||||
"Vue du document",
|
||||
"ドキュメント表示",
|
||||
"文档视图"
|
||||
],
|
||||
[
|
||||
"Edit",
|
||||
"Modifier",
|
||||
"編集",
|
||||
"编辑"
|
||||
],
|
||||
[
|
||||
"Read",
|
||||
"Lire",
|
||||
@@ -1067,24 +1055,6 @@ export const messageRows: [string, string, string, string][] = [
|
||||
"分割",
|
||||
"分栏"
|
||||
],
|
||||
[
|
||||
"Editor layout",
|
||||
"Disposition de l’éditeur",
|
||||
"エディターのレイアウト",
|
||||
"编辑器布局"
|
||||
],
|
||||
[
|
||||
"IDE",
|
||||
"IDE",
|
||||
"IDE",
|
||||
"IDE"
|
||||
],
|
||||
[
|
||||
"Writer",
|
||||
"Rédaction",
|
||||
"ライター",
|
||||
"写作"
|
||||
],
|
||||
[
|
||||
"Editor",
|
||||
"Éditeur",
|
||||
@@ -1115,30 +1085,6 @@ export const messageRows: [string, string, string, string][] = [
|
||||
"テンプレートとして保存",
|
||||
"保存为模板"
|
||||
],
|
||||
[
|
||||
"Editing view",
|
||||
"Vue de modification",
|
||||
"編集表示",
|
||||
"编辑视图"
|
||||
],
|
||||
[
|
||||
"Reading view",
|
||||
"Vue de lecture",
|
||||
"閲覧表示",
|
||||
"阅读视图"
|
||||
],
|
||||
[
|
||||
"Writing mode",
|
||||
"Mode rédaction",
|
||||
"文章モード",
|
||||
"写作模式"
|
||||
],
|
||||
[
|
||||
"Source mode",
|
||||
"Mode source",
|
||||
"ソースモード",
|
||||
"源码模式"
|
||||
],
|
||||
[
|
||||
"Rename…",
|
||||
"Renommer…",
|
||||
@@ -3500,7 +3446,6 @@ export const messageRows: [string, string, string, string][] = [
|
||||
["{count} commands", "{count} commandes", "{count} 個のコマンド", "{count} 个命令"],
|
||||
["run", "exécuter", "実行", "运行"],
|
||||
["Show all commands", "Afficher toutes les commandes", "すべてのコマンドを表示", "显示所有命令"],
|
||||
["Switch between writing and source editing", "Alterner entre rédaction et code source", "文章編集とソース編集を切り替え", "在写作和源码编辑之间切换"],
|
||||
["Show or hide the terminal", "Afficher ou masquer le terminal", "ターミナルを表示または非表示", "显示或隐藏终端"],
|
||||
["Close the tab", "Fermer l’onglet", "タブを閉じる", "关闭标签页"],
|
||||
["Show or hide the side pane", "Afficher ou masquer le panneau latéral", "サイドパネルを表示または非表示", "显示或隐藏侧边栏"],
|
||||
@@ -3510,7 +3455,15 @@ export const messageRows: [string, string, string, string][] = [
|
||||
["Write", "Écrire", "書く", "写作"],
|
||||
["Find in the document", "Rechercher dans le document", "ドキュメント内を検索", "在文档中查找"],
|
||||
["Move to the Recycle Bin", "Placer dans la Corbeille", "ごみ箱に移動", "移到回收站"],
|
||||
["Open the context menu", "Ouvrir le menu contextuel", "コンテキストメニューを開く", "打开上下文菜单"]
|
||||
["Open the context menu", "Ouvrir le menu contextuel", "コンテキストメニューを開く", "打开上下文菜单"],
|
||||
["Documents", "Documents", "ドキュメント", "文档"],
|
||||
["File name title", "Titre du nom de fichier", "ファイル名のタイトル", "文件名标题"],
|
||||
["Show the file name above each Markdown note in Write and Read.", "Afficher le nom du fichier au-dessus de chaque note Markdown dans Écrire et Lire.", "「書く」と「閲覧」で、各 Markdown ノートの上にファイル名を表示します。", "在“写作”和“阅读”中,在每篇 Markdown 笔记上方显示文件名。"],
|
||||
["Source", "Source", "ソース", "源码"],
|
||||
["View", "Affichage", "表示", "视图"],
|
||||
["Split: Read beside the editor", "Diviser : Lire à côté de l’éditeur", "分割: エディターの横に閲覧を表示", "分栏:在编辑器旁显示阅读"],
|
||||
["Switch between Write and Source", "Alterner entre Écrire et Source", "「書く」と「ソース」を切り替え", "在写作和源码之间切换"],
|
||||
["Switch between Read and the editor", "Alterner entre Lire et l’éditeur", "「閲覧」とエディターを切り替え", "在阅读和编辑器之间切换"],
|
||||
];
|
||||
export const catalogs: Record<Exclude<Locale, 'en'>, Record<string, string>> = {
|
||||
fr: Object.fromEntries(messageRows.map(row => [row[0], row[1]])),
|
||||
|
||||
Reference in New Issue
Block a user