Remove incorrect assertions
[qBittorrent.git] / src / base / unicodestrings.h
blob102fe164a0a77f61c67f58cb1c559563ce135a21
1 /*
2 * Bittorrent Client using Qt and libtorrent.
3 * Copyright (C) 2015 Mike Tzou
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 * In addition, as a special exception, the copyright holders give permission to
20 * link this program with the OpenSSL project's "OpenSSL" library (or with
21 * modified versions of it that use the same license as the "OpenSSL" library),
22 * and distribute the linked executables. You must obey the GNU General Public
23 * License in all respects for all of the code used other than "OpenSSL". If you
24 * modify file(s), you may extend this exception to your version of the file(s),
25 * but you are not obligated to do so. If you do not wish to do so, delete this
26 * exception statement from your version.
29 #pragma once
31 #include "global.h"
33 // Because of the poor handling of UTF-8 characters in MSVC (emits warning C4819),
34 // we put all problematic UTF-8 chars/strings in this file.
35 // See issue #3059 for more details (https://github.com/qbittorrent/qBittorrent/issues/3059).
37 inline const QString C_COPYRIGHT = u"©"_s;
38 inline const QString C_INEQUALITY = u"≠"_s;
39 inline const QString C_INFINITY = u"∞"_s;
40 inline const QString C_UTP = u"μTP"_s;
42 inline const QString C_LOCALE_ARABIC = u"عربي"_s;
43 inline const QString C_LOCALE_ARMENIAN = u"Հայերեն"_s;
44 inline const QString C_LOCALE_AZERBAIJANI = u"Azərbaycan dili"_s;
45 inline const QString C_LOCALE_BASQUE = u"Euskara"_s;
46 inline const QString C_LOCALE_BULGARIAN = u"Български"_s;
47 inline const QString C_LOCALE_BYELORUSSIAN = u"Беларуская"_s;
48 inline const QString C_LOCALE_CATALAN = u"Català"_s;
49 inline const QString C_LOCALE_CHINESE_SIMPLIFIED = u"简体中文"_s;
50 inline const QString C_LOCALE_CHINESE_TRADITIONAL_HK = u"香港正體字"_s;
51 inline const QString C_LOCALE_CHINESE_TRADITIONAL_TW = u"正體中文"_s;
52 inline const QString C_LOCALE_CROATIAN = u"Hrvatski"_s;
53 inline const QString C_LOCALE_CZECH = u"Čeština"_s;
54 inline const QString C_LOCALE_DANISH = u"Dansk"_s;
55 inline const QString C_LOCALE_DUTCH = u"Nederlands"_s;
56 inline const QString C_LOCALE_ENGLISH = u"English"_s;
57 inline const QString C_LOCALE_ENGLISH_AUSTRALIA = u"English (Australia)"_s;
58 inline const QString C_LOCALE_ENGLISH_UNITEDKINGDOM = u"English (United Kingdom)"_s;
59 inline const QString C_LOCALE_ESPERANTO = u"Esperanto"_s;
60 inline const QString C_LOCALE_ESTONIAN = u"Eesti, eesti keel"_s;
61 inline const QString C_LOCALE_FINNISH = u"Suomi"_s;
62 inline const QString C_LOCALE_FRENCH = u"Français"_s;
63 inline const QString C_LOCALE_GALICIAN = u"Galego"_s;
64 inline const QString C_LOCALE_GEORGIAN = u"ქართული"_s;
65 inline const QString C_LOCALE_GERMAN = u"Deutsch"_s;
66 inline const QString C_LOCALE_GREEK = u"Ελληνικά"_s;
67 inline const QString C_LOCALE_HEBREW = u"עברית"_s;
68 inline const QString C_LOCALE_HINDI = u"हिन्दी, हिंदी"_s;
69 inline const QString C_LOCALE_HUNGARIAN = u"Magyar"_s;
70 inline const QString C_LOCALE_ICELANDIC = u"Íslenska"_s;
71 inline const QString C_LOCALE_INDONESIAN = u"Bahasa Indonesia"_s;
72 inline const QString C_LOCALE_ITALIAN = u"Italiano"_s;
73 inline const QString C_LOCALE_JAPANESE = u"日本語"_s;
74 inline const QString C_LOCALE_KOREAN = u"한국어"_s;
75 inline const QString C_LOCALE_LATGALIAN = u"Latgalīšu volūda"_s;
76 inline const QString C_LOCALE_LATVIAN = u"Latviešu valoda"_s;
77 inline const QString C_LOCALE_LITHUANIAN = u"Lietuvių"_s;
78 inline const QString C_LOCALE_MALAY = u"بهاس ملايو"_s;
79 inline const QString C_LOCALE_MONGOLIAN = u"Монгол хэл"_s;
80 inline const QString C_LOCALE_NORWEGIAN = u"Norsk"_s;
81 inline const QString C_LOCALE_OCCITAN = u"lenga d'òc"_s;
82 inline const QString C_LOCALE_PERSIAN = u"فارسی"_s;
83 inline const QString C_LOCALE_POLISH = u"Polski"_s;
84 inline const QString C_LOCALE_PORTUGUESE = u"Português"_s;
85 inline const QString C_LOCALE_PORTUGUESE_BRAZIL = u"Português brasileiro"_s;
86 inline const QString C_LOCALE_ROMANIAN = u"Română"_s;
87 inline const QString C_LOCALE_RUSSIAN = u"Русский"_s;
88 inline const QString C_LOCALE_SERBIAN = u"Српски"_s;
89 inline const QString C_LOCALE_SLOVAK = u"Slovenčina"_s;
90 inline const QString C_LOCALE_SLOVENIAN = u"Slovenščina"_s;
91 inline const QString C_LOCALE_SPANISH = u"Español"_s;
92 inline const QString C_LOCALE_SWEDISH = u"Svenska"_s;
93 inline const QString C_LOCALE_THAI = u"ไทย"_s;
94 inline const QString C_LOCALE_TURKISH = u"Türkçe"_s;
95 inline const QString C_LOCALE_UKRAINIAN = u"Українська"_s;
96 inline const QString C_LOCALE_UZBEK = u"أۇزبېك‎"_s;
97 inline const QString C_LOCALE_VIETNAMESE = u"Tiếng Việt"_s;