mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-05-26 01:01:34 +00:00
Reemplazar $tf por $msg
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { ItemView, WorkspaceLeaf } from "obsidian";
|
||||
import LogPaneComponent from "./LogPane.svelte";
|
||||
import type ObsidianLiveSyncPlugin from "../../../main.ts";
|
||||
import { $tf } from "src/lib/src/common/i18n.ts";
|
||||
import { $msg } from "src/lib/src/common/i18n.ts";
|
||||
export const VIEW_TYPE_LOG = "log-log";
|
||||
//Log view
|
||||
export class LogPaneView extends ItemView {
|
||||
@@ -26,7 +26,7 @@ export class LogPaneView extends ItemView {
|
||||
|
||||
getDisplayText() {
|
||||
// TODO: This function is not reactive and does not update the title based on the current language
|
||||
return $tf("logPane.title");
|
||||
return $msg("logPane.title");
|
||||
}
|
||||
|
||||
async onOpen() {
|
||||
|
||||
Reference in New Issue
Block a user