From 3b0a3f40152aaa07e73627672190092b74a1eb0f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 May 2020 13:29:48 +0100 Subject: [PATCH] Theme translations --- README.md | 2 ++ translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/zh.json | 3 ++- 16 files changed, 32 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 033ac97b6..6e84b9a98 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,8 @@ systemctl restart epicyon If you want to add a new theme then open `theme.py` and add the theme name to the list within `getThemesList`. Add a function with the name `setTheme[YourThemeName]`. Have a look at the other themes to get an idea of how to set the colors and fonts. +Add the name of your theme to the translations files. + On a running instance you can experiment with colors or fonts by editing `epicyon.css` and then reloading the web page. Once you are happy with the results then you can update the changed values within your `setTheme` function. diff --git a/translations/ar.json b/translations/ar.json index fc74f01ab..1979a6ce8 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "قائمة بأسماء المشاريع التي ترغب في تلقي تصحيحات git لها", "Show/Hide Buttons": "إظهار / إخفاء الأزرار", "Custom Font": "خط مخصص", - "Remove the custom font": "إزالة الخط المخصص" + "Remove the custom font": "إزالة الخط المخصص", + "LCD": "LCD" } diff --git a/translations/ca.json b/translations/ca.json index bac4607a0..04c541c5d 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Llista de noms de projectes dels quals voleu rebre els pedaços de git", "Show/Hide Buttons": "Mostra / Oculta els botons", "Custom Font": "Tipus de lletra personalitzats", - "Remove the custom font": "Elimineu el tipus de lletra personalitzat" + "Remove the custom font": "Elimineu el tipus de lletra personalitzat", + "LCD": "LCD" } diff --git a/translations/cy.json b/translations/cy.json index 2ce14f6fe..ecd835e42 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Rhestr o enwau prosiectau yr ydych yn dymuno derbyn darnau git ar eu cyfer", "Show/Hide Buttons": "Dangos / Cuddio Botymau", "Custom Font": "Ffont Custom", - "Remove the custom font": "Tynnwch y ffont arferiad" + "Remove the custom font": "Tynnwch y ffont arferiad", + "LCD": "LCD" } diff --git a/translations/de.json b/translations/de.json index be75eaa2b..92f3acc0e 100644 --- a/translations/de.json +++ b/translations/de.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Liste der Projektnamen, für die Sie Git-Patches erhalten möchten", "Show/Hide Buttons": "Schaltflächen ein- / ausblenden", "Custom Font": "Benutzerdefinierte Schriftart", - "Remove the custom font": "Entfernen Sie die benutzerdefinierte Schriftart" + "Remove the custom font": "Entfernen Sie die benutzerdefinierte Schriftart", + "LCD": "LCD" } diff --git a/translations/en.json b/translations/en.json index fbc0cbf47..697244ca1 100644 --- a/translations/en.json +++ b/translations/en.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "List of project names that you wish to receive git patches for", "Show/Hide Buttons": "Show/Hide Buttons", "Custom Font": "Custom Font", - "Remove the custom font": "Remove the custom font" + "Remove the custom font": "Remove the custom font", + "LCD": "LCD" } diff --git a/translations/es.json b/translations/es.json index 8eb2cc387..e1c59df19 100644 --- a/translations/es.json +++ b/translations/es.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Lista de nombres de proyectos para los que desea recibir parches git", "Show/Hide Buttons": "Botones Mostrar / Ocultar", "Custom Font": "Fuente personalizada", - "Remove the custom font": "Eliminar la fuente personalizada" + "Remove the custom font": "Eliminar la fuente personalizada", + "LCD": "LCD" } diff --git a/translations/fr.json b/translations/fr.json index a767d8f87..7c091a17c 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Liste des noms de projets pour lesquels vous souhaitez recevoir des correctifs git", "Show/Hide Buttons": "Afficher / masquer les boutons", "Custom Font": "Police personnalisée", - "Remove the custom font": "Supprimer la police personnalisée" + "Remove the custom font": "Supprimer la police personnalisée", + "LCD": "LCD" } diff --git a/translations/ga.json b/translations/ga.json index d8b2f00c7..fcb3595c9 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Liosta d’ainmneacha tionscadail ar mhaith leat paistí git a fháil dóibh", "Show/Hide Buttons": "Taispeáin / Folaigh Cnaipí", "Custom Font": "Cló Saincheaptha", - "Remove the custom font": "Bain an cló saincheaptha" + "Remove the custom font": "Bain an cló saincheaptha", + "LCD": "LCD" } diff --git a/translations/hi.json b/translations/hi.json index 865f59928..787ea3c2d 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "उन प्रोजेक्ट नामों की सूची, जिनके लिए आप git पैच प्राप्त करना चाहते हैं", "Show/Hide Buttons": "बटन दिखाएँ / छिपाएँ", "Custom Font": "कस्टम फ़ॉन्ट", - "Remove the custom font": "कस्टम फ़ॉन्ट निकालें" + "Remove the custom font": "कस्टम फ़ॉन्ट निकालें", + "LCD": "LCD" } diff --git a/translations/it.json b/translations/it.json index 6334f7966..83d12ed1e 100644 --- a/translations/it.json +++ b/translations/it.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Elenco di nomi di progetti per i quali si desidera ricevere patch git", "Show/Hide Buttons": "Mostra / Nascondi pulsanti", "Custom Font": "Carattere personalizzato", - "Remove the custom font": "Rimuovi il carattere personalizzato" + "Remove the custom font": "Rimuovi il carattere personalizzato", + "LCD": "LCD" } diff --git a/translations/ja.json b/translations/ja.json index edf639844..0cc793f2e 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "gitパッチを受け取りたいプロジェクト名のリスト", "Show/Hide Buttons": "ボタンの表示/非表示", "Custom Font": "カスタムフォント", - "Remove the custom font": "カスタムフォントを削除する" + "Remove the custom font": "カスタムフォントを削除する", + "LCD": "LCD" } diff --git a/translations/oc.json b/translations/oc.json index d43dd48a1..c688069fb 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -220,5 +220,6 @@ "List of project names that you wish to receive git patches for": "List of project names that you wish to receive git patches for", "Show/Hide Buttons": "Show/Hide Buttons", "Custom Font": "Custom Font", - "Remove the custom font": "Remove the custom font" + "Remove the custom font": "Remove the custom font", + "LCD": "LCD" } diff --git a/translations/pt.json b/translations/pt.json index 9f89dabdb..a4d415d59 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Lista de nomes de projetos para os quais você deseja receber patches git", "Show/Hide Buttons": "Botões Mostrar / Ocultar", "Custom Font": "Fonte Personalizada", - "Remove the custom font": "Remova a fonte personalizada" + "Remove the custom font": "Remova a fonte personalizada", + "LCD": "LCD" } diff --git a/translations/ru.json b/translations/ru.json index 7ded0f1f6..d7947dbe4 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -224,5 +224,6 @@ "List of project names that you wish to receive git patches for": "Список имен проектов, для которых вы хотите получать git-патчи", "Show/Hide Buttons": "Показать / Скрыть кнопки", "Custom Font": "Пользовательский шрифт", - "Remove the custom font": "Удалить пользовательский шрифт" + "Remove the custom font": "Удалить пользовательский шрифт", + "LCD": "LCD" } diff --git a/translations/zh.json b/translations/zh.json index fd34bca56..35ef69f3b 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -223,5 +223,6 @@ "List of project names that you wish to receive git patches for": "您希望收到git补丁的项目名称列表", "Show/Hide Buttons": "显示/隐藏按钮", "Custom Font": "自定义字体", - "Remove the custom font": "删除自定义字体" + "Remove the custom font": "删除自定义字体", + "LCD": "LCD" }