beremiz

Altered DropDown widget (#60)

13 months ago, Dino Kosic
dde2bbf2c43a
Altered DropDown widget (#60)

* Altered DropDown widget: Added another mandatory path variable - selection value (depending on use case, one could prefer direct access to selection value rather than selection index); and another optional path variable - options (string variable to allow for dynamic change of options, as opposed to providing static list of options through arguments); and example with both static and dynamic dropdowns.

* Make second path variable optional, for backwards compatibility
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR ORGANIZATION
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2021-02-14 18:36+CET\n"
"PO-Revision-Date: 2021-02-14 18:37+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: SVGHMI 1.0\n"
"X-Generator: Poedit 2.4.2\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "height is %d meters"
msgstr "la hauteur est de %d metres"
msgid "This is an integer value : %d"
msgstr "C'est un nombre entier : %d"
msgid "Some \"other\" ČĆĐš english text"
msgstr "De l'\"autre\" texte en français žfšŽŠĐĆČ"
msgid ""
"Some english text\n"
"another line\n"
"a third one"
msgstr ""
"Trois lignes en francais\n"
"blah\n"
"blah"
#~ msgid "Some english text"
#~ msgstr "Du texte en français"
#~ msgid "Blah"
#~ msgstr "Blup"