diff --git a/.gitignore b/.gitignore index 827cce4851..161d6548d9 100644 --- a/.gitignore +++ b/.gitignore @@ -58,6 +58,7 @@ app/gui/qt/moc_mainwindow.cpp app/gui/qt/moc_sonicpiudpserver.cpp app/gui/qt/qrc_SonicPi.cpp app/gui/qt/utils/ruby_help.h +app/gui/qt/utils/lang_list.h app/gui/qt/help app/gui/qt/help_files.qrc app/gui/qt/lang/*.qm diff --git a/app/gui/qt/CMakeLists.txt b/app/gui/qt/CMakeLists.txt index 105a4dc4e2..e643275822 100644 --- a/app/gui/qt/CMakeLists.txt +++ b/app/gui/qt/CMakeLists.txt @@ -110,6 +110,7 @@ set(SOURCES ${QTAPP_ROOT}/utils/sonicpiapis.h ${QTAPP_ROOT}/utils/sonic_pi_i18n.h ${QTAPP_ROOT}/utils/ruby_help.h + ${QTAPP_ROOT}/utils/lang_list.h ${QTAPP_ROOT}/utils/paths.h ${QTAPP_ROOT}/model/settings.h ) diff --git a/app/gui/qt/utils/lang_list.h b/app/gui/qt/utils/lang_list.h deleted file mode 100644 index 5ce73582b0..0000000000 --- a/app/gui/qt/utils/lang_list.h +++ /dev/null @@ -1,75 +0,0 @@ -//-- -// This file is part of Sonic Pi: http://sonic-pi.net -// Full project source: https://github.com/samaaron/sonic-pi -// License: https://github.com/samaaron/sonic-pi/blob/main/LICENSE.md -// -// Copyright 2020 by Sam Aaron (http://sam.aaron.name). -// All rights reserved. -// -// Permission is granted for use, copying, modification, distribution, -// and distribution of modified versions of this work as long as this -// notice is included. -//++ - -// AUTO-GENERATED HEADER FILE -// Do not add any code to this file -// as it will be removed/overwritten - -#ifndef LANG_LIST_H -#define LANG_LIST_H -#include -std::map SonicPii18n::native_language_names = { -{"system_locale", ""}, -{"bg", "български"}, -{"bn", "বাংলা"}, -{"bs", "Bosanski/босански"}, -{"ca", "Català"}, -{"ca@valencia", "Valencià"}, -{"cs", "Čeština"}, -{"da", "Dansk"}, -{"de", "Deutsch"}, -{"el", "ελληνικά"}, -{"en_AU", "English (Australian)"}, -{"en_GB", "English (UK)"}, -{"en_US", "English (US)"}, -{"eo", "Esperanto"}, -{"es", "Español"}, -{"et", "Eesti keel"}, -{"fa", "فارسی"}, -{"fi", "Suomi"}, -{"fr", "Français"}, -{"ga", "Gaeilge"}, -{"gl", "Galego"}, -{"he", "עברית"}, -{"hi", "हिन्दी"}, -{"hu", "Magyar"}, -{"hy", "Հայերեն"}, -{"id", "Bahasa Indonesia"}, -{"is", "Íslenska"}, -{"it", "Italiano"}, -{"ja", "日本語"}, -{"ka", "ქართული"}, -{"ko", "한국어"}, -{"nb", "Norsk Bokmål"}, -{"nl", "Nederlands"}, -{"pl", "Polski"}, -{"pt", "Português"}, -{"pt_BR", "Português do Brasil"}, -{"ro", "Română"}, -{"ru", "Pусский"}, -{"si", "සිංහල"}, -{"sk", "Slovenčina"}, -{"sl", "Slovenščina"}, -{"sv", "Svenska"}, -{"sw", "Kiswahili"}, -{"th", "ไทย"}, -{"tr", "Türkçe"}, -{"ug", "ئۇيغۇر تىلى"}, -{"uk", "Українська"}, -{"vi", "Tiếng Việt"}, -{"zh", "简体中文"}, -{"zh_Hans", "简体中文"}, -{"zh_HK", "廣東話"}, -{"zh_TW", "臺灣華語"} -}; -#endif