Skip to content
This repository was archived by the owner on Jul 12, 2021. It is now read-only.

Commit 95873b1

Browse files
committed
Make translations optional for all languages
1 parent 915c79b commit 95873b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/i18n/translations/de.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Translations } from "../../../shared/types";
22

3-
const translationsDe: Translations = {
3+
const translationsDe: Partial<Translations> = {
44
// Menu (defined by macOS)
55
"about-app": "Über {appName}",
66
"bring-all-to-front": "Alle nach vorne bringen",

src/main/i18n/translations/it.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Translations } from "../../../shared/types";
22

3-
const translationsIt: Translations = {
3+
const translationsIt: Partial<Translations> = {
44
// Menu (defined by macOS)
55
"about-app": "Informazioni su {appName}",
66
"bring-all-to-front": "Porta tutto in primo piano",

src/main/i18n/translations/no.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Translations } from "../../../shared/types";
22

3-
const translationsNo: Translations = {
3+
const translationsNo: Partial<Translations> = {
44
// Menu (defined by macOS)
55
"about-app": "Om {appName}",
66
"bring-all-to-front": "Vis Alle Foran",

0 commit comments

Comments
 (0)