add fr to language switcher

This commit is contained in:
erinn 2019-03-25 13:21:32 -07:00
parent 78d958e5f0
commit 8a30cc20a1
3 changed files with 26 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="en_US"> <TS version="2.1" language="fr_FR">
<context> <context>
<name>AddGroupPane</name> <name>AddGroupPane</name>
<message> <message>

View File

@ -30,8 +30,9 @@
<file>qml/widgets/controls/Loader.qml</file> <file>qml/widgets/controls/Loader.qml</file>
<file>qml/widgets/controls/Text.qml</file> <file>qml/widgets/controls/Text.qml</file>
<file>qml/widgets/controls/Variables.qml</file> <file>qml/widgets/controls/Variables.qml</file>
<file>i18n/translation_en.qm</file>
<file>i18n/translation_de.qm</file> <file>i18n/translation_de.qm</file>
<file>i18n/translation_en.qm</file>
<file>i18n/translation_fr.qm</file>
<file>i18n/translation_pt.qm</file> <file>i18n/translation_pt.qm</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@ -57,20 +57,31 @@ ColumnLayout { // settingsPane
size: 8 size: 8
} }
FlagButton { GridLayout {
emoji: "1f1e8-1f1e6" columns: 2
locale: "en" columnSpacing: 10
}
FlagButton {
emoji: "1f1e9-1f1ea"
locale: "de"
}
FlagButton { FlagButton {
locale: "pt" emoji: "1f1e9-1f1ea"
emoji: "1f1e7-1f1f7" locale: "de"
selected: true }
FlagButton {
emoji: "1f1e8-1f1e6"
locale: "en"
selected: true
}
FlagButton {
locale: "fr"
emoji: "1f1eb-1f1f7"
}
FlagButton {
locale: "pt"
emoji: "1f1e7-1f1f7"
}
} }
}//end of column with padding }//end of column with padding