Add somo languages

pull/22/head
reionwong 5 years ago
parent b8ed544099
commit 4130d51c56

@ -1,66 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
viewBox="0 0 4.2333332 4.2333335"
version="1.1"
id="svg8"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="language.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="31.678384"
inkscape:cx="9.2727919"
inkscape:cy="5.3664169"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1770"
inkscape:window-height="997"
inkscape:window-x="128"
inkscape:window-y="215"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
transform="matrix(0.11364409,0,0,0.09317682,-1.5119494,-0.87156054)"
aria-label="A"
id="g31"
style="fill:#ffffff;fill-opacity:1">
<path
d="m 26.7,35.255 1.6735,-5.2065 c 1.2087,-3.8584 2.3243,-7.5309 3.3935,-11.529 h 0.18595 c 1.1157,3.9514 2.1849,7.6703 3.44,11.529 l 1.627,5.2065 z m 14.643,13.853 h 4.5557 L 34.3237,15.033 h -4.7881 l -11.575,34.075 h 4.3698 L 25.631,38.695 h 12.458 z"
id="path29"
style="fill:#ffffff;fill-opacity:1" />
</g>
</g>
<svg width="16" height="16" version="1.1" viewBox="0 0 4.2333 4.2333" xmlns="http://www.w3.org/2000/svg">
<path d="m2.1147 0.13229c-1.0954 0-1.9824 0.889-1.9824 1.9844s0.88702 1.9844 1.9824 1.9844c1.0974 0 1.9864-0.889 1.9864-1.9844s-0.889-1.9844-1.9864-1.9844zm1.3752 1.1906h-0.58539c-0.0635-0.24805-0.15478-0.48617-0.27384-0.70644 0.36512 0.12502 0.66873 0.37902 0.85923 0.70644zm-1.3732-0.78581c0.1647 0.23812 0.29369 0.50205 0.37902 0.78581h-0.75803c0.085328-0.28377 0.21431-0.54769 0.37902-0.78581zm-1.5359 1.9764c-0.03175-0.127-0.051594-0.25995-0.051594-0.39687 0-0.13692 0.019844-0.26988 0.051594-0.39688h0.67072c-0.015875 0.13097-0.027781 0.26194-0.027781 0.39688 0 0.13494 0.011907 0.26591 0.027781 0.39687zm0.16272 0.39688h0.58539c0.0635 0.24805 0.15478 0.48617 0.27384 0.70644-0.36512-0.12502-0.66873-0.37703-0.85923-0.70644zm0.58539-1.5875h-0.58539c0.1905-0.32941 0.49411-0.58142 0.85923-0.70644-0.11906 0.22027-0.21034 0.45839-0.27384 0.70644zm0.7878 2.3733c-0.1647-0.23812-0.29369-0.50205-0.37902-0.78581h0.75803c-0.085328 0.28377-0.21431 0.54769-0.37902 0.78581zm0.46434-1.1827h-0.92869c-0.01786-0.13097-0.03175-0.26194-0.03175-0.39687 0-0.13494 0.013891-0.26789 0.03175-0.39688h0.92869c0.017859 0.12898 0.03175 0.26194 0.03175 0.39688 0 0.13494-0.013891 0.26591-0.03175 0.39687zm0.049609 1.1033c0.11906-0.22027 0.21034-0.45839 0.27384-0.70644h0.58539c-0.1905 0.32742-0.49411 0.58142-0.85923 0.70644zm0.35123-1.1033c0.015875-0.13097 0.027781-0.26194 0.027781-0.39687 0-0.13494-0.011906-0.26591-0.027781-0.39688h0.67072c0.03175 0.127 0.051594 0.25995 0.051594 0.39688 0 0.13692-0.019844 0.26988-0.051594 0.39687z" fill="#fff" stroke-width=".19844"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -26,16 +26,17 @@
#include <unicode/unistr.h>
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<QString, QString> s_displayName = { {"zh_CN", "简体中文"},
{"zh_HK", "繁體中文(香港)"},
{"zh_TW", "正體中文"}
};
static const QMap<QString, QString> s_displayName = {{"zh_CN", "简体中文"},
{"zh_HK", "繁體中文(香港)"},
{"zh_TW", "正體中文"}
};
Language::Language(QObject *parent)
: QObject(parent)

@ -1,20 +1,21 @@
/*
* Copyright (C) 2021 CutefishOS Team.
* Copyright (C) 2015 David Edmundson <david@davidedmundson.co.uk>
* Copyright (C) 2021 Reion Wong <reionwong@gmail.com>
*
* Author: revenmartin <revenmartin@gmail.com>
* 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 <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.12

Loading…
Cancel
Save