Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 7848914

Browse files
committed
i18n: Add Romanian as demo
1 parent 0dbe670 commit 7848914

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/public/app/services/i18n.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import library_loader from "./library_loader.js";
33
await library_loader.requireLibrary(library_loader.I18NEXT);
44

55
i18next.init({
6-
lng: "en",
6+
lng: "ro",
77
debug: true,
88
resources: {
99
en: {
@@ -19,6 +19,20 @@ i18next.init({
1919
data_directory: "Data directory:"
2020
}
2121
}
22+
},
23+
ro: {
24+
translation: {
25+
about: {
26+
title: "Despre TriliumNext Notes",
27+
homepage: "Site web:",
28+
app_version: "Versiune aplicație:",
29+
db_version: "Versiune bază de date:",
30+
sync_version: "Versiune sincronizare:",
31+
build_date: "Data compilării:",
32+
build_revision: "Revizia compilării:",
33+
data_directory: "Directorul de date:"
34+
}
35+
}
2236
}
2337
}
2438
});

src/public/app/widgets/dialogs/about.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const TPL = `
3838
</tr>
3939
4040
<tr>
41-
<th>${t("about.build_date")}</th>
41+
<th>${t("about.build_revision")}</th>
4242
<td><a href="" class="build-revision external" target="_blank"></a></td>
4343
</tr>
4444

0 commit comments

Comments
 (0)