From 8ff2a8819982999eafa193fea9a68ec6b2ea9cfa Mon Sep 17 00:00:00 2001 From: xarkes Date: Wed, 31 Oct 2018 19:10:31 +0100 Subject: [PATCH] Added translations submodule (#895) * Added translations module * Updated translation files and submodule --- .gitmodules | 3 +++ src/Cutter.pro | 6 ++++-- src/translations | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 160000 src/translations diff --git a/.gitmodules b/.gitmodules index d3ca26d0..e6b55092 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "radare2"] path = radare2 url = https://github.com/radare/radare2 +[submodule "src/translations"] + path = src/translations + url = https://github.com/radareorg/cutter-translations diff --git a/src/Cutter.pro b/src/Cutter.pro index d8b2bcf4..a5663a06 100644 --- a/src/Cutter.pro +++ b/src/Cutter.pro @@ -11,11 +11,13 @@ VERSION = $${CUTTER_VERSION_MAJOR}.$${CUTTER_VERSION_MINOR}.$${CUTTER_VERSION_PA # Required QT version lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5") -TRANSLATIONS += translations/cutter_de.ts \ - translations/cutter_es.ts \ +TRANSLATIONS += translations/cutter_ca.ts \ + translations/cutter_de.ts \ + translations/cutter_es-ES.ts \ translations/cutter_fr.ts \ translations/cutter_it.ts \ translations/cutter_nl.ts \ + translations/cutter_pt-PT.ts \ translations/cutter_ru.ts # Icon for OS X diff --git a/src/translations b/src/translations new file mode 160000 index 00000000..7a30de5a --- /dev/null +++ b/src/translations @@ -0,0 +1 @@ +Subproject commit 7a30de5a4235baca657922757d844d58633a5c7b