mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-26 14:32:58 +00:00
Describe saved connections consistently
This commit is contained in:
@@ -66,6 +66,8 @@ export const liveSyncProvisionalEnglishMessages = {
|
||||
"This file has ${COUNT} unresolved versions. They will be reviewed one pair at a time.",
|
||||
"Sync now": "Sync now",
|
||||
"Apply pending changes now": "Apply pending changes now",
|
||||
"Connection settings": "Connection settings",
|
||||
"Saved connections": "Saved connections",
|
||||
} as const;
|
||||
|
||||
export type LiveSyncProvisionalMessageKey = keyof typeof liveSyncProvisionalEnglishMessages;
|
||||
|
||||
@@ -30,6 +30,8 @@ describe("LiveSync-owned translation catalogue", () => {
|
||||
it("uses LiveSync-owned provisional English without extending Commonlib's message contract", () => {
|
||||
expect($msg("This file has unresolved conflicts.")).toBe("This file has unresolved conflicts.");
|
||||
expect($msg("More actions for ${DEVICE}", { DEVICE: "phone" })).toBe("More actions for phone");
|
||||
expect($msg("Connection settings")).toBe("Connection settings");
|
||||
expect($msg("Saved connections")).toBe("Saved connections");
|
||||
expect(
|
||||
$msg("This file has ${COUNT} unresolved versions. They will be reviewed one pair at a time.", {
|
||||
COUNT: "3",
|
||||
|
||||
@@ -133,8 +133,8 @@ export function paneRemoteConfig(
|
||||
}
|
||||
{
|
||||
// TODO: very WIP. need to refactor the UI.
|
||||
void addPanel(paneEl, $msg("obsidianLiveSyncSettingTab.titleRemoteServer"), () => {}).then((paneEl) => {
|
||||
const actions = new Setting(paneEl).setName("Remote Databases");
|
||||
void addPanel(paneEl, $msg("Connection settings"), () => {}).then((paneEl) => {
|
||||
const actions = new Setting(paneEl).setName($msg("Saved connections"));
|
||||
// actions.addButton((button) =>
|
||||
// button
|
||||
// .setButtonText("Change Remote and Setup")
|
||||
|
||||
Reference in New Issue
Block a user