diff --git a/src/images/sidebar/dark/language.svg b/src/images/sidebar/dark/language.svg index 291c162..03a7707 100644 --- a/src/images/sidebar/dark/language.svg +++ b/src/images/sidebar/dark/language.svg @@ -1,66 +1,3 @@ - - - - - - - - image/svg+xml - - - - - - - - - - + + diff --git a/src/language.cpp b/src/language.cpp index 5b673b9..c261584 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -26,16 +26,17 @@ #include static const QStringList supportList = {"en_US", "en_GB", "de_DE", "cs_CZ", "es_ES", - "es_MX", "fa_IR", "fi_FI", "fr_FR", "id_ID", + "es_MX", "fa_IR", "fi_FI", "fr_FR", + "uk_UA", "uz_UZ", "hu_HU", "hi_IN", "id_ID" "it_IT", "ja_JP", "nb_NO", "ne_NP", "pl_PL", - "pt_BR", "pt_PT", "ru_RU", "id_ID", "sv_SE", - "be_BY", "tr_TR", "zh_CN", "zh_HK", "zh_TW" + "pt_BR", "pt_PT", "ru_RU", "sv_SE", "so", + "be_BY", "be_Latn", "tr_TR", "zh_CN", "zh_HK", "zh_TW" }; -static const QMap s_displayName = { {"zh_CN", "简体中文"}, - {"zh_HK", "繁體中文(香港)"}, - {"zh_TW", "正體中文"} - }; +static const QMap s_displayName = {{"zh_CN", "简体中文"}, + {"zh_HK", "繁體中文(香港)"}, + {"zh_TW", "正體中文"} + }; Language::Language(QObject *parent) : QObject(parent) diff --git a/src/qml/Battery/HistoryGraph.qml b/src/qml/Battery/HistoryGraph.qml index b2a87b8..81ee8bb 100644 --- a/src/qml/Battery/HistoryGraph.qml +++ b/src/qml/Battery/HistoryGraph.qml @@ -1,20 +1,21 @@ /* - * Copyright (C) 2021 CutefishOS Team. + * Copyright (C) 2015 David Edmundson + * Copyright (C) 2021 Reion Wong * - * Author: revenmartin + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ import QtQuick 2.12