From e2f8ac30858f11b209bcc2286a761037b2331ae6 Mon Sep 17 00:00:00 2001 From: Andy Fuchs Date: Thu, 2 Mar 2023 10:24:32 +0100 Subject: [PATCH] add localization --- src/com.elgato.template.sdPlugin/app.js | 2 +- src/com.elgato.template.sdPlugin/de.json | 7 ++++++- src/com.elgato.template.sdPlugin/en.json | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/com.elgato.template.sdPlugin/app.js b/src/com.elgato.template.sdPlugin/app.js index 2115ab5..e39743c 100644 --- a/src/com.elgato.template.sdPlugin/app.js +++ b/src/com.elgato.template.sdPlugin/app.js @@ -16,4 +16,4 @@ myAction.onKeyUp(({ action, context, device, event, payload }) => { myAction.onDialRotate(({ action, context, device, event, payload }) => { console.log('Your dial code goes here!'); -}); \ No newline at end of file +}); diff --git a/src/com.elgato.template.sdPlugin/de.json b/src/com.elgato.template.sdPlugin/de.json index 6250712..815c73d 100644 --- a/src/com.elgato.template.sdPlugin/de.json +++ b/src/com.elgato.template.sdPlugin/de.json @@ -10,6 +10,11 @@ "More info": "Mehr Infos", "Message": "Nachricht", "Click Me": "Klicke mich", - "Button": "Taste" + "Button": "Taste", + "My name": "Mein Name", + "My title": "Mein Titel", + "My message": "Meine Nachricht", + "My button": "Meine Taste" + } } diff --git a/src/com.elgato.template.sdPlugin/en.json b/src/com.elgato.template.sdPlugin/en.json index 09fdcd4..6bae2b5 100644 --- a/src/com.elgato.template.sdPlugin/en.json +++ b/src/com.elgato.template.sdPlugin/en.json @@ -10,6 +10,10 @@ "More info": "More info", "Message": "Message", "Click Me": "Click Me", - "Button": "Button" + "Button": "Button", + "My name": "My name", + "My title": "My title", + "My message": "My message", + "My button": "My button" } }