mirror of
https://github.com/zadam/trilium.git
synced 2025-10-18 22:29:57 +02:00
chore(website/i18n): address requested changes
This commit is contained in:
parent
c28cf4da16
commit
51b00a5407
2
.vscode/i18n-ally-custom-framework.yml
vendored
2
.vscode/i18n-ally-custom-framework.yml
vendored
@ -14,7 +14,7 @@ usageMatchRegex:
|
||||
# the `{key}` will be placed by a proper keypath matching regex,
|
||||
# you can ignore it and use your own matching rules as well
|
||||
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"
|
||||
- <Trans\s*i18nKey=\"(.*)\"
|
||||
- <Trans\s*i18nKey="({key})"[^>]*>
|
||||
|
||||
# A RegEx to set a custom scope range. This scope will be used as a prefix when detecting keys
|
||||
# and works like how the i18next framework identifies the namespace scope from the
|
||||
|
@ -57,7 +57,8 @@
|
||||
"others_relation_map": "relation map",
|
||||
"others_saved_searches": "saved searches",
|
||||
"others_render_note": "render note",
|
||||
"others_webview": "web views"
|
||||
"others_webview": "web views",
|
||||
"others_list": "and others: <0>note map</0>, <1>relation map</1>, <2>saved searches</2>, <3>render note</3>, and <4>web views</4>."
|
||||
},
|
||||
"extensibility_benefits": {
|
||||
"title": "Sharing & extensibility",
|
||||
@ -89,7 +90,7 @@
|
||||
"server_question": "Do I need a server to use Trilium?",
|
||||
"server_answer": "No, the server allows access via a web browser and manages the synchronization if you have multiple devices. To get started, it's enough to download the desktop application and start using it.",
|
||||
"scaling_question": "How well does the application scale with a large amount of notes?",
|
||||
"scaling_answer": "Depending on usage, the application should be able to handle at least 100.000 notes without an issue. Do note that the sync process can sometimes fail if uploading many large files (1 GB per file) since Trilium is meant more as a knowledge base application rather than a file store (like NextCloud, for example).",
|
||||
"scaling_answer": "Depending on usage, the application should be able to handle at least 100,000 notes without an issue. Do note that the sync process can sometimes fail if uploading many large files (1 GB per file) since Trilium is meant more as a knowledge base application rather than a file store (like NextCloud, for example).",
|
||||
"network_share_question": "Can I share my database over a network drive?",
|
||||
"network_share_answer": "No, it's generally not a good idea to share a SQLite database over a network drive. Although sometimes it might work, there are chances that the database will get corrupted due to imperfect file locks over a network.",
|
||||
"security_question": "How is my data protected?",
|
||||
|
@ -40,7 +40,7 @@ export default function DownloadButton({ big }: DownloadButtonProps) {
|
||||
text={<>
|
||||
{t("download_now.text")}
|
||||
{big
|
||||
? <span class="platform">{t("download_now.linux_big")}</span>
|
||||
? <span class="platform">{t("download_now.linux_big", { version: packageJson.version })}</span>
|
||||
: <span class="platform">{t("download_now.linux_small")}</span>
|
||||
}
|
||||
</>}
|
||||
|
@ -32,6 +32,7 @@ import geomapIcon from "../../assets/boxicons/bx-map.svg?raw";
|
||||
import { getPlatform } from '../../download-helper.js';
|
||||
import { useEffect, useState } from 'preact/hooks';
|
||||
import { t } from '../../i18n.js';
|
||||
import { Trans } from 'react-i18next';
|
||||
|
||||
export function Home() {
|
||||
usePageTitle("");
|
||||
@ -173,12 +174,16 @@ function NoteTypesSection() {
|
||||
}
|
||||
]} />
|
||||
<p>
|
||||
{t("note_types.others_prefix")}
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Note%20Map.html" openExternally>{t("note_types.others_note_map")}</Link>{t("note_types.others_separator")}
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Relation%20Map.html" openExternally>{t("note_types.others_relation_map")}</Link>{t("note_types.others_separator")}
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Saved%20Search.html" openExternally>{t("note_types.others_saved_searches")}</Link>{t("note_types.others_separator")}
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Render%20Note.html" openExternally>{t("note_types.others_render_note")}</Link>{t("note_types.others_separator")}
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Web%20View.html" openExternally>{t("note_types.others_webview")}</Link>.
|
||||
<Trans
|
||||
i18nKey="note_types.others_list"
|
||||
components={[
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Note%20Map.html" openExternally />,
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Relation%20Map.html" openExternally />,
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Saved%20Search.html" openExternally />,
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Render%20Note.html" openExternally />,
|
||||
<Link href="https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Web%20View.html" openExternally />
|
||||
]}
|
||||
/>
|
||||
</p>
|
||||
</Section>
|
||||
);
|
||||
@ -215,7 +220,7 @@ function CollectionsSection() {
|
||||
iconSvg: tableIcon,
|
||||
imageUrl: "/collection_table.webp",
|
||||
moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Table%20View.html",
|
||||
description: t("collections.calendar_description")
|
||||
description: t("collections.table_description")
|
||||
},
|
||||
{
|
||||
title: t("collections.board_title"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user