diff --git a/resources/OpenBoard.qrc b/resources/OpenBoard.qrc
index fe437a3f..51ff69a3 100644
--- a/resources/OpenBoard.qrc
+++ b/resources/OpenBoard.qrc
@@ -291,6 +291,65 @@
images/flags/vi.png
images/flags/zh-hans.png
images/flags/zh-hant.png
+
+
+
+
+
+
+
+ images/flags/ar.svg
+ images/flags/bg.svg
+ images/flags/ca.svg
+ images/flags/cs.svg
+ images/flags/da.svg
+ images/flags/de.svg
+ images/flags/el.svg
+ images/flags/en.svg
+ images/flags/eo.svg
+ images/flags/es.svg
+ images/flags/et.svg
+ images/flags/eu.svg
+ images/flags/fa.svg
+ images/flags/fi.svg
+ images/flags/fo.svg
+ images/flags/fr.svg
+ images/flags/ga.svg
+ images/flags/gl.svg
+ images/flags/he.svg
+ images/flags/hr.svg
+ images/flags/hu.svg
+ images/flags/id.svg
+ images/flags/is.svg
+ images/flags/it.svg
+ images/flags/ja.svg
+ images/flags/km.svg
+ images/flags/lb.svg
+ images/flags/lt.svg
+ images/flags/lv.svg
+ images/flags/nb.svg
+ images/flags/nl.svg
+ images/flags/nn.svg
+ images/flags/pl.svg
+ images/flags/pt-br.svg
+ images/flags/pt-pt.svg
+ images/flags/ro.svg
+ images/flags/ru.svg
+ images/flags/sco.svg
+ images/flags/se.svg
+ images/flags/sk.svg
+ images/flags/sl.svg
+ images/flags/sq.svg
+ images/flags/sv.svg
+ images/flags/tg.svg
+ images/flags/th.svg
+ images/flags/tl.svg
+ images/flags/tr.svg
+ images/flags/uk.svg
+ images/flags/vi.svg
+ images/flags/zh-hans.svg
+ images/flags/zh-hant.svg
+
images/libpalette/notFound.png
images/libpalette/trash_favorite.svg
images/libpalette/back.png
diff --git a/resources/images/flags/ar.svg b/resources/images/flags/ar.svg
new file mode 100644
index 00000000..9df9fb79
--- /dev/null
+++ b/resources/images/flags/ar.svg
@@ -0,0 +1,108 @@
+
+
diff --git a/resources/images/flags/bg.svg b/resources/images/flags/bg.svg
new file mode 100644
index 00000000..1b7fb2c0
--- /dev/null
+++ b/resources/images/flags/bg.svg
@@ -0,0 +1,117 @@
+
+
diff --git a/resources/images/flags/ca.svg b/resources/images/flags/ca.svg
new file mode 100644
index 00000000..467c23ae
--- /dev/null
+++ b/resources/images/flags/ca.svg
@@ -0,0 +1,101 @@
+
+
diff --git a/resources/images/flags/cs.svg b/resources/images/flags/cs.svg
new file mode 100644
index 00000000..9d40df25
--- /dev/null
+++ b/resources/images/flags/cs.svg
@@ -0,0 +1,118 @@
+
+
diff --git a/resources/images/flags/da.svg b/resources/images/flags/da.svg
new file mode 100644
index 00000000..5302c3a4
--- /dev/null
+++ b/resources/images/flags/da.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/de.svg b/resources/images/flags/de.svg
new file mode 100644
index 00000000..c965831a
--- /dev/null
+++ b/resources/images/flags/de.svg
@@ -0,0 +1,117 @@
+
+
diff --git a/resources/images/flags/el.svg b/resources/images/flags/el.svg
new file mode 100644
index 00000000..9d0d4c30
--- /dev/null
+++ b/resources/images/flags/el.svg
@@ -0,0 +1,117 @@
+
+
diff --git a/resources/images/flags/en.svg b/resources/images/flags/en.svg
new file mode 100644
index 00000000..b725be89
--- /dev/null
+++ b/resources/images/flags/en.svg
@@ -0,0 +1,113 @@
+
+
diff --git a/resources/images/flags/eo.svg b/resources/images/flags/eo.svg
new file mode 100644
index 00000000..f7e9698f
--- /dev/null
+++ b/resources/images/flags/eo.svg
@@ -0,0 +1,134 @@
+
+
diff --git a/resources/images/flags/es.svg b/resources/images/flags/es.svg
new file mode 100644
index 00000000..7d2daab8
--- /dev/null
+++ b/resources/images/flags/es.svg
@@ -0,0 +1,1691 @@
+
+
diff --git a/resources/images/flags/et.svg b/resources/images/flags/et.svg
new file mode 100644
index 00000000..8e9ab953
--- /dev/null
+++ b/resources/images/flags/et.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/eu.svg b/resources/images/flags/eu.svg
new file mode 100644
index 00000000..b064b2ed
--- /dev/null
+++ b/resources/images/flags/eu.svg
@@ -0,0 +1,124 @@
+
+
diff --git a/resources/images/flags/fa.svg b/resources/images/flags/fa.svg
new file mode 100644
index 00000000..162912d4
--- /dev/null
+++ b/resources/images/flags/fa.svg
@@ -0,0 +1,122 @@
+
+
diff --git a/resources/images/flags/fi.svg b/resources/images/flags/fi.svg
new file mode 100644
index 00000000..565877a2
--- /dev/null
+++ b/resources/images/flags/fi.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/fo.svg b/resources/images/flags/fo.svg
new file mode 100644
index 00000000..8d617b4e
--- /dev/null
+++ b/resources/images/flags/fo.svg
@@ -0,0 +1,130 @@
+
+
diff --git a/resources/images/flags/fr.svg b/resources/images/flags/fr.svg
new file mode 100644
index 00000000..fbe78f9c
--- /dev/null
+++ b/resources/images/flags/fr.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/ga.svg b/resources/images/flags/ga.svg
new file mode 100644
index 00000000..05406647
--- /dev/null
+++ b/resources/images/flags/ga.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/gl.svg b/resources/images/flags/gl.svg
new file mode 100644
index 00000000..fab254e9
--- /dev/null
+++ b/resources/images/flags/gl.svg
@@ -0,0 +1,836 @@
+
+
diff --git a/resources/images/flags/he.svg b/resources/images/flags/he.svg
new file mode 100644
index 00000000..c21f69b8
--- /dev/null
+++ b/resources/images/flags/he.svg
@@ -0,0 +1,128 @@
+
+
diff --git a/resources/images/flags/hr.svg b/resources/images/flags/hr.svg
new file mode 100644
index 00000000..a136a7a3
--- /dev/null
+++ b/resources/images/flags/hr.svg
@@ -0,0 +1,809 @@
+
+
diff --git a/resources/images/flags/hu.svg b/resources/images/flags/hu.svg
new file mode 100644
index 00000000..afbcd3ce
--- /dev/null
+++ b/resources/images/flags/hu.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/id.svg b/resources/images/flags/id.svg
new file mode 100644
index 00000000..ebcfc727
--- /dev/null
+++ b/resources/images/flags/id.svg
@@ -0,0 +1,108 @@
+
+
diff --git a/resources/images/flags/is.svg b/resources/images/flags/is.svg
new file mode 100644
index 00000000..1b4333ce
--- /dev/null
+++ b/resources/images/flags/is.svg
@@ -0,0 +1,130 @@
+
+
diff --git a/resources/images/flags/it.svg b/resources/images/flags/it.svg
new file mode 100644
index 00000000..c6e9b590
--- /dev/null
+++ b/resources/images/flags/it.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/ja.svg b/resources/images/flags/ja.svg
new file mode 100644
index 00000000..2367b4fc
--- /dev/null
+++ b/resources/images/flags/ja.svg
@@ -0,0 +1,108 @@
+
+
diff --git a/resources/images/flags/km.svg b/resources/images/flags/km.svg
new file mode 100644
index 00000000..ddcb488d
--- /dev/null
+++ b/resources/images/flags/km.svg
@@ -0,0 +1,317 @@
+
+
diff --git a/resources/images/flags/lb.svg b/resources/images/flags/lb.svg
new file mode 100644
index 00000000..bb1ced55
--- /dev/null
+++ b/resources/images/flags/lb.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/lt.svg b/resources/images/flags/lt.svg
new file mode 100644
index 00000000..1579d368
--- /dev/null
+++ b/resources/images/flags/lt.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/lv.svg b/resources/images/flags/lv.svg
new file mode 100644
index 00000000..457d066b
--- /dev/null
+++ b/resources/images/flags/lv.svg
@@ -0,0 +1,110 @@
+
+
diff --git a/resources/images/flags/nb.svg b/resources/images/flags/nb.svg
new file mode 100644
index 00000000..d47f4f58
--- /dev/null
+++ b/resources/images/flags/nb.svg
@@ -0,0 +1,130 @@
+
+
diff --git a/resources/images/flags/nl.svg b/resources/images/flags/nl.svg
new file mode 100644
index 00000000..a79646f6
--- /dev/null
+++ b/resources/images/flags/nl.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/nn.svg b/resources/images/flags/nn.svg
new file mode 100644
index 00000000..d47f4f58
--- /dev/null
+++ b/resources/images/flags/nn.svg
@@ -0,0 +1,130 @@
+
+
diff --git a/resources/images/flags/pl.svg b/resources/images/flags/pl.svg
new file mode 100644
index 00000000..61eadd78
--- /dev/null
+++ b/resources/images/flags/pl.svg
@@ -0,0 +1,108 @@
+
+
diff --git a/resources/images/flags/pt-br.svg b/resources/images/flags/pt-br.svg
new file mode 100644
index 00000000..04b03269
--- /dev/null
+++ b/resources/images/flags/pt-br.svg
@@ -0,0 +1,130 @@
+
+
diff --git a/resources/images/flags/pt-pt.svg b/resources/images/flags/pt-pt.svg
new file mode 100644
index 00000000..bab1c71d
--- /dev/null
+++ b/resources/images/flags/pt-pt.svg
@@ -0,0 +1,364 @@
+
+
diff --git a/resources/images/flags/ro.svg b/resources/images/flags/ro.svg
new file mode 100644
index 00000000..547e3606
--- /dev/null
+++ b/resources/images/flags/ro.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/ru.svg b/resources/images/flags/ru.svg
new file mode 100644
index 00000000..9701ee1c
--- /dev/null
+++ b/resources/images/flags/ru.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/sco.svg b/resources/images/flags/sco.svg
new file mode 100644
index 00000000..8578c8e8
--- /dev/null
+++ b/resources/images/flags/sco.svg
@@ -0,0 +1,109 @@
+
+
diff --git a/resources/images/flags/se.svg b/resources/images/flags/se.svg
new file mode 100644
index 00000000..c09551dc
--- /dev/null
+++ b/resources/images/flags/se.svg
@@ -0,0 +1,138 @@
+
+
diff --git a/resources/images/flags/sk.svg b/resources/images/flags/sk.svg
new file mode 100644
index 00000000..e48b37b1
--- /dev/null
+++ b/resources/images/flags/sk.svg
@@ -0,0 +1,134 @@
+
+
diff --git a/resources/images/flags/sl.svg b/resources/images/flags/sl.svg
new file mode 100644
index 00000000..649a45a3
--- /dev/null
+++ b/resources/images/flags/sl.svg
@@ -0,0 +1,190 @@
+
+
diff --git a/resources/images/flags/sq.svg b/resources/images/flags/sq.svg
new file mode 100644
index 00000000..6b0f6b72
--- /dev/null
+++ b/resources/images/flags/sq.svg
@@ -0,0 +1,109 @@
+
+
diff --git a/resources/images/flags/sv.svg b/resources/images/flags/sv.svg
new file mode 100644
index 00000000..73d9f219
--- /dev/null
+++ b/resources/images/flags/sv.svg
@@ -0,0 +1,116 @@
+
+
diff --git a/resources/images/flags/tg.svg b/resources/images/flags/tg.svg
new file mode 100644
index 00000000..f0e26e9e
--- /dev/null
+++ b/resources/images/flags/tg.svg
@@ -0,0 +1,277 @@
+
+
diff --git a/resources/images/flags/th.svg b/resources/images/flags/th.svg
new file mode 100644
index 00000000..699bea58
--- /dev/null
+++ b/resources/images/flags/th.svg
@@ -0,0 +1,124 @@
+
+
diff --git a/resources/images/flags/tl.svg b/resources/images/flags/tl.svg
new file mode 100644
index 00000000..d32e16d8
--- /dev/null
+++ b/resources/images/flags/tl.svg
@@ -0,0 +1,181 @@
+
+
diff --git a/resources/images/flags/tr.svg b/resources/images/flags/tr.svg
new file mode 100644
index 00000000..e97ef5ed
--- /dev/null
+++ b/resources/images/flags/tr.svg
@@ -0,0 +1,128 @@
+
+
diff --git a/resources/images/flags/uk.svg b/resources/images/flags/uk.svg
new file mode 100644
index 00000000..b23868ec
--- /dev/null
+++ b/resources/images/flags/uk.svg
@@ -0,0 +1,108 @@
+
+
diff --git a/resources/images/flags/vi.svg b/resources/images/flags/vi.svg
new file mode 100644
index 00000000..43df3720
--- /dev/null
+++ b/resources/images/flags/vi.svg
@@ -0,0 +1,122 @@
+
+
diff --git a/resources/images/flags/zh-hans.svg b/resources/images/flags/zh-hans.svg
new file mode 100644
index 00000000..bf5fe094
--- /dev/null
+++ b/resources/images/flags/zh-hans.svg
@@ -0,0 +1,196 @@
+
+
diff --git a/resources/images/flags/zh-hant.svg b/resources/images/flags/zh-hant.svg
new file mode 100644
index 00000000..d39326f1
--- /dev/null
+++ b/resources/images/flags/zh-hant.svg
@@ -0,0 +1,112 @@
+
+
diff --git a/src/frameworks/UBPlatformUtils_linux.cpp b/src/frameworks/UBPlatformUtils_linux.cpp
index 641cda9e..d3693ced 100644
--- a/src/frameworks/UBPlatformUtils_linux.cpp
+++ b/src/frameworks/UBPlatformUtils_linux.cpp
@@ -407,11 +407,11 @@ void UBPlatformUtils::initializeKeyboardLayouts()
{
nKeyboardLayouts = 5;
keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts];
- keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE);
- keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE);
- keyboardLayouts[2] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE);
- keyboardLayouts[3] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE);
- keyboardLayouts[4] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE);
+ keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.svg"), ENGLISH_LOCALE);
+ keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.svg"),RUSSIAN_LOCALE);
+ keyboardLayouts[2] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.svg"), GERMAN_LOCALE);
+ keyboardLayouts[3] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.svg"), FRENCH_LOCALE);
+ keyboardLayouts[4] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.svg"), SWISS_FRENCH_LOCALE);
}
void UBPlatformUtils::destroyKeyboardLayouts()
diff --git a/src/frameworks/UBPlatformUtils_win.cpp b/src/frameworks/UBPlatformUtils_win.cpp
index 523376d1..da8ee123 100644
--- a/src/frameworks/UBPlatformUtils_win.cpp
+++ b/src/frameworks/UBPlatformUtils_win.cpp
@@ -406,11 +406,11 @@ void UBPlatformUtils::initializeKeyboardLayouts()
{
nKeyboardLayouts = 5;
keyboardLayouts = new UBKeyboardLocale*[nKeyboardLayouts];
- keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.png"), ENGLISH_LOCALE);
- keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.png"),RUSSIAN_LOCALE);
- keyboardLayouts[2] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.png"), FRENCH_LOCALE);
- keyboardLayouts[3] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.png"), SWISS_FRENCH_LOCALE);
- keyboardLayouts[4] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.png"), GERMAN_LOCALE);
+ keyboardLayouts[0] = new UBKeyboardLocale(tr("English"), "en", "", new QIcon(":/images/flags/en.svg"), ENGLISH_LOCALE);
+ keyboardLayouts[1] = new UBKeyboardLocale(tr("Russian"), "ru", "", new QIcon(":/images/flags/ru.svg"),RUSSIAN_LOCALE);
+ keyboardLayouts[2] = new UBKeyboardLocale(tr("French"), "fr", "", new QIcon(":/images/flags/fr.svg"), FRENCH_LOCALE);
+ keyboardLayouts[3] = new UBKeyboardLocale(tr("Swiss French"), "fr-CH", "", new QIcon(":/images/flags/fr.svg"), SWISS_FRENCH_LOCALE);
+ keyboardLayouts[4] = new UBKeyboardLocale(tr("German"), "de", "", new QIcon(":/images/flags/de.svg"), GERMAN_LOCALE);
}
void UBPlatformUtils::destroyKeyboardLayouts()