Foxtrott has uploaded a new change for review. https://gerrit.wikimedia.org/r/268889
Change subject: Remove input type regexp ...................................................................... Remove input type regexp Input type regexp is now available directly from SemanticForms Change-Id: I4db5c6dfbc6daa1baa9d13eaeea18a98a5da0948 --- M SemanticFormsInputs.php M i18n/af.json D i18n/ar.json D i18n/arc.json M i18n/ast.json D i18n/az.json M i18n/be-tarask.json D i18n/bg.json D i18n/bn.json M i18n/br.json M i18n/bs.json M i18n/ca.json D i18n/ce.json D i18n/cs.json D i18n/cu.json D i18n/cv.json M i18n/de.json D i18n/diq.json M i18n/dsb.json M i18n/el.json M i18n/en.json M i18n/es.json D i18n/et.json M i18n/fa.json M i18n/fi.json M i18n/fr.json D i18n/frp.json D i18n/fy.json D i18n/ga.json M i18n/gl.json M i18n/gsw.json M i18n/he.json M i18n/hsb.json D i18n/hu.json M i18n/ia.json M i18n/id.json M i18n/it.json M i18n/ja.json D i18n/ka.json D i18n/km.json M i18n/ko.json M i18n/ksh.json D i18n/ku-latn.json M i18n/lb.json M i18n/mk.json D i18n/ml.json M i18n/ms.json M i18n/nb.json M i18n/nl.json M i18n/oc.json D i18n/pdc.json D i18n/pfl.json M i18n/pl.json M i18n/pms.json D i18n/ps.json M i18n/pt-br.json M i18n/pt.json M i18n/qqq.json D i18n/ro.json M i18n/roa-tara.json M i18n/ru.json M i18n/si.json D i18n/sr-ec.json D i18n/sr-el.json M i18n/sv.json D i18n/ta.json D i18n/te.json M i18n/tl.json D i18n/tr.json M i18n/uk.json D i18n/vi.json D i18n/yi.json M i18n/zh-hans.json M i18n/zh-hant.json D includes/SFI_RegExp.php D libs/regexp.js 76 files changed, 13 insertions(+), 753 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticFormsInputs refs/changes/89/268889/1 diff --git a/SemanticFormsInputs.php b/SemanticFormsInputs.php index 870679f..b4722fe 100644 --- a/SemanticFormsInputs.php +++ b/SemanticFormsInputs.php @@ -55,7 +55,6 @@ $wgAutoloadClasses['SFITimePicker'] = $dir . '/includes/SFI_TimePicker.php'; $wgAutoloadClasses['SFIDateTimePicker'] = $dir . '/includes/SFI_DateTimePicker.php'; $wgAutoloadClasses['SFIMenuSelect'] = $dir . '/includes/SFI_MenuSelect.php'; -$wgAutoloadClasses['SFIRegExp'] = $dir . '/includes/SFI_RegExp.php'; $wgAutoloadClasses['SFITwoListBoxes'] = $dir . '/includes/SFI_TwoListBoxes.php'; $wgAutoloadClasses['SFIDateCheck'] = $dir . '/includes/SFI_DateCheck.php'; @@ -84,15 +83,6 @@ 'remoteExtPath' => 'SemanticFormsInputs', 'scripts' => 'libs/menuselect.js', 'styles' => 'skins/SFI_Menuselect.css', - 'dependencies' => array( - 'ext.semanticforms.main' - ), -); - -$wgResourceModules['ext.semanticformsinputs.regexp'] = array( - 'localBasePath' => $dir, - 'remoteExtPath' => 'SemanticFormsInputs', - 'scripts' => 'libs/regexp.js', 'dependencies' => array( 'ext.semanticforms.main' ), @@ -141,7 +131,6 @@ $sfgFormPrinter->registerInputType( 'SFITimePicker' ); $sfgFormPrinter->registerInputType( 'SFIDateTimePicker' ); $sfgFormPrinter->registerInputType( 'SFIMenuSelect' ); - $sfgFormPrinter->registerInputType( 'SFIRegExp' ); $sfgFormPrinter->registerInputType( 'SFITwoListBoxes' ); $sfgFormPrinter->registerInputType( 'SFIDateCheck' ); diff --git a/i18n/af.json b/i18n/af.json index 7a0fc62..797dd6d 100644 --- a/i18n/af.json +++ b/i18n/af.json @@ -4,6 +4,5 @@ "Naudefj" ] }, - "semanticformsinputs-desc": "Ekstra invoertipes vir [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Verkeerde formaat." + "semanticformsinputs-desc": "Ekstra invoertipes vir [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]" } diff --git a/i18n/ar.json b/i18n/ar.json deleted file mode 100644 index 265d877..0000000 --- a/i18n/ar.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "OsamaK" - ] - } -} diff --git a/i18n/arc.json b/i18n/arc.json deleted file mode 100644 index de5b7af..0000000 --- a/i18n/arc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Basharh" - ] - } -} diff --git a/i18n/ast.json b/i18n/ast.json index 3178caa..a12f50e 100644 --- a/i18n/ast.json +++ b/i18n/ast.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Más tribes d'entrada pa los [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formularios Semánticos]", - "semanticformsinputs-wrongformat": "Formatu incorreutu.", - "semanticformsinputs-malformedregexp": "Espresión regular mal formada ($1).", "semanticformsinputs-timepicker-mintime": "La primera hora a amosar. Formatu: hh:mm", "semanticformsinputs-timepicker-maxtime": "La última hora a amosar. Formatu: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalu ente los minutos. Númberu ente 1 y 60.", "semanticformsinputs-timepicker-enableinputfield": "¿Tendría de poder l'usuariu rellenar el campu d'entrada direutamente o sólo col selector de datos?", "semanticformsinputs-timepicker-showresetbutton": "¿Tien d'apaecer un botón de reestablecimientu? Esta ye la única manera que tien l'usuariu de llimpiar el campu d'entrada si tien la entrada direuta desactivada.", - "semanticformsinputs-regexp-regexp": "La espresión regular que tien de casar cola entrada pa ser válida. ¡Tien de dase incluyendo les barres inclinaes! De mou predetermináu \"/.*/\", esto ye, cualquier valor.", - "semanticformsinputs-regexp-basetype": "El tipu de base a usar. Pue ser cualquier tipu d'entrada que xenere un elementu de formulariu HTML de tipu \"input\" o \"select\" (p. ex., testu, cuadru de llista, selector de datos) o otra espresión regular. De mou predetermináu ye \"testu\".", - "semanticformsinputs-regexp-baseprefix": "Prefixu pa los parámetros del tipu de base.", - "semanticformsinputs-regexp-orchar": "El carácter \"O\" a usar na espresión regular en llugar de \"|\". De mou predetermináu, \"!\"", - "semanticformsinputs-regexp-inverse": "Si se define, la entrada NUN tien de casar cola espresión regular pa ser válida. Esto ye, invierte la espresión regular.", - "semanticformsinputs-regexp-message": "El mensaxe d'error qu'apaecerá si falla la coincidencia. De mou predetermináu \"¡Formatu incorreutu!\" (o un equivalente na llingua llocal)", "semanticformsinputs-menuselect-structure": "La estructura del menú como llista ensin ordenar.", "semanticformsinputs-menuselect-enableinputfield": "¿Tendría de poder l'usuariu rellenar el campu d'entrada direutamente?" } diff --git a/i18n/az.json b/i18n/az.json deleted file mode 100644 index 78f98f6..0000000 --- a/i18n/az.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Cekli829" - ] - } -} diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json index ea35546..22bce87 100644 --- a/i18n/be-tarask.json +++ b/i18n/be-tarask.json @@ -5,6 +5,5 @@ "Jim-by" ] }, - "semanticformsinputs-desc": "Дадатковыя тыпы ўводу для [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms сэмантычных формаў]", - "semanticformsinputs-wrongformat": "Няслушны фармат." + "semanticformsinputs-desc": "Дадатковыя тыпы ўводу для [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms сэмантычных формаў]" } diff --git a/i18n/bg.json b/i18n/bg.json deleted file mode 100644 index 00b287d..0000000 --- a/i18n/bg.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "DCLXVI", - "පසිඳු කාවින්ද" - ] - }, - "semanticformsinputs-wrongformat": "Грешен формат." -} diff --git a/i18n/bn.json b/i18n/bn.json deleted file mode 100644 index 812fee5..0000000 --- a/i18n/bn.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bellayet", - "Wikitanvir" - ] - }, - "semanticformsinputs-wrongformat": "ভুল বিন্যাস" -} diff --git a/i18n/br.json b/i18n/br.json index 3b75006..e8dbd8d 100644 --- a/i18n/br.json +++ b/i18n/br.json @@ -5,6 +5,5 @@ "Y-M D" ] }, - "semanticformsinputs-desc": "Doareoù moned ouzhpenn evit [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Furmad fall." + "semanticformsinputs-desc": "Doareoù moned ouzhpenn evit [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]" } diff --git a/i18n/bs.json b/i18n/bs.json index d59c6d0..c0e55ef 100644 --- a/i18n/bs.json +++ b/i18n/bs.json @@ -4,6 +4,5 @@ "CERminator" ] }, - "semanticformsinputs-desc": "Dodatne vrste unosa za [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantičke forme]", - "semanticformsinputs-wrongformat": "Pogrešan format." + "semanticformsinputs-desc": "Dodatne vrste unosa za [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantičke forme]" } diff --git a/i18n/ca.json b/i18n/ca.json index 21a9eec..66d0318 100644 --- a/i18n/ca.json +++ b/i18n/ca.json @@ -5,8 +5,6 @@ ] }, "semanticformsinputs-desc": "Tipus d'entrada addicionals per al [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Format incorrecte.", - "semanticformsinputs-malformedregexp": "Expressió regular mal formada ($1).", "semanticformsinputs-timepicker-interval": "Interval entre minuts. Nombre entre 1 i 60.", "semanticformsinputs-menuselect-structure": "L'estructura de menú com una llista no ordenada.", "semanticformsinputs-menuselect-enableinputfield": "L'usuari hauria de poder emplenar el camp d'entrada directament?" diff --git a/i18n/ce.json b/i18n/ce.json deleted file mode 100644 index e606f6e..0000000 --- a/i18n/ce.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Умар" - ] - } -} diff --git a/i18n/cs.json b/i18n/cs.json deleted file mode 100644 index 5683bc9..0000000 --- a/i18n/cs.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Reaperman" - ] - }, - "semanticformsinputs-wrongformat": "Chybný formát." -} diff --git a/i18n/cu.json b/i18n/cu.json deleted file mode 100644 index f4851d2..0000000 --- a/i18n/cu.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "ОйЛ" - ] - } -} diff --git a/i18n/cv.json b/i18n/cv.json deleted file mode 100644 index 772e2bf..0000000 --- a/i18n/cv.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Chuvash2014" - ] - } -} diff --git a/i18n/de.json b/i18n/de.json index d709690..3b59825 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "Ermöglicht verschiedene zusätzliche Eingabearten für [https://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Falsches Format.", - "semanticformsinputs-malformedregexp": "Fehlerhafter regulärer Ausdruck ($1)", "semanticformsinputs-timepicker-mintime": "Die früheste anzuzeigende Zeit (im Format hh:mm).", "semanticformsinputs-timepicker-maxtime": "Die späteste anzuzeigende Zeit (im Format hh:mm).", "semanticformsinputs-timepicker-interval": "Der Intervall zwischen den Minuten (Zahlen zwischen 1 und 60).", "semanticformsinputs-timepicker-enableinputfield": "Sollen die Benutzer die Eingabefelder direkt bearbeiten können, oder nur über die Datumsauswahl?", "semanticformsinputs-timepicker-showresetbutton": "Soll eine Schaltfläche zum Zurücksetzen angezeigt werden? Dies ist für die Benutzer die einzige Möglichkeit die Eingabe im Eingabefeld zu entfernen, sofern das direkte Bearbeiten deaktiviert wurde.", - "semanticformsinputs-regexp-regexp": "Der reguläre Ausdruck mit dem die Eingabe übereinstimmen muss, um gültig zu sein. Der Wert muss einschließlich der Schrägstriche angegeben werden. Der Standardwert ist „/.*/“ und bedeutet „alle Werte“.", - "semanticformsinputs-regexp-basetype": "Der Basiseingabetyp der verwendet werden soll. Dies kann jeder Eingabetyp sein, der ein HTML-Formularelement für die Typen Eingabe oder Auswahl generieren kann (z. B. „text“, „listbox“, „datepicker“), oder ein anderer regulärer Ausdruck. Der Standardwert ist „text“.", - "semanticformsinputs-regexp-baseprefix": "Das Präfix für die Parameter des Basiseingabetyps.", - "semanticformsinputs-regexp-orchar": "Das OR-Zeichen, das bei regulären Ausdrücken, anstatt von „|“ verwendet werden soll. Der Standardwert ist „!“.", - "semanticformsinputs-regexp-inverse": "Sofern festgelegt, darf die Eingabe nicht dem regulären Ausdruck entsprechen, um gültig zu sein. Dies bedeutet, dass der reguläre Ausdruck invertiert wird.", - "semanticformsinputs-regexp-message": "Die Fehlermeldung, die angezeigt werden soll, sofern der Vergleich scheitert. Der Standardwert ist „Das Format ist falsch.“, oder das Äquivalent der zutreffenden Übersetzung.", "semanticformsinputs-menuselect-structure": "Die Menüstruktur als ungeordnete Liste.", "semanticformsinputs-menuselect-enableinputfield": "Sollen die Benutzer die Eingabefelder direkt bearbeiten können?" } diff --git a/i18n/diq.json b/i18n/diq.json deleted file mode 100644 index 23bbcdc..0000000 --- a/i18n/diq.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Erdemaslancan", - "Mirzali" - ] - } -} diff --git a/i18n/dsb.json b/i18n/dsb.json index 4a03127..262a86c 100644 --- a/i18n/dsb.json +++ b/i18n/dsb.json @@ -4,6 +4,5 @@ "Michawiki" ] }, - "semanticformsinputs-desc": "Pśidatne zapódawańske typy [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Wopacny format" + "semanticformsinputs-desc": "Pśidatne zapódawańske typy [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]" } diff --git a/i18n/el.json b/i18n/el.json index bd7c44e..f874c18 100644 --- a/i18n/el.json +++ b/i18n/el.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Επιπρόσθετοι τύποι εισαγωγής δεδομένων για τις [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Σημασιολογικές Φόρμες]", - "semanticformsinputs-wrongformat": "Εσφαλμένη μορφή.", - "semanticformsinputs-malformedregexp": "Κακή μορφή κανονικής έκφρασης ($1).", "semanticformsinputs-timepicker-mintime": "Η πιο παλιά ώρα που θα εμφανίζεται. Μορφή: ωω:λλ", "semanticformsinputs-timepicker-maxtime": "Η πιο πρόσφατη ώρα που θα εμφανίζεται. Μορφή: ωω:λλ", "semanticformsinputs-timepicker-interval": "Χρονικό διάστημα μεταξύ λεπτών. Αριθμός μεταξύ 1 και 60.", "semanticformsinputs-timepicker-enableinputfield": "Να μπορεί ο χρήστης να συμπληρώσει το πλαίσιο εισόδου δεδομένων απευθείας ή μόνο μέσω του επιλογέα ημερομηνίας;", "semanticformsinputs-timepicker-showresetbutton": "Να εμφανίζεται κουμπί επαναφοράς; Αυτός είναι ο μόνος τρόπος για να σβήσει ο χρήστης το πλαίσιο εισαγωγής δεδομένων εάν είναι απενεργοποιημένη η άμεση εισαγωγή.", - "semanticformsinputs-regexp-regexp": "Η κανονική έκφραση που πρέπει να πληρούν τα δεδομένα που εισάγονται για να είναι έγκυρα. Πρέπει να αποδοθεί συμπεριλαμβανομένων των καθέτων! Η προεπιλογή είναι «/.*/», δηλαδή οποιαδήποτε τιμή.", - "semanticformsinputs-regexp-basetype": "Ο βασικός τύπος που θα χρησιμοποιηθεί. Μπορεί να είναι οποιοσδήποτε τύπος εισόδου που παράγει στοιχεία φόρμας html τύπου πλαισίου εισόδου ή τύπου επιλογέα (π.χ. κείμενο, πλαίσιο λίστας, επιλογέας ημερομηνίας) ή μια άλλη κανονική έκφραση. Η προεπιλογή είναι «κείμενο».", - "semanticformsinputs-regexp-baseprefix": "Πρόθεμα για τις παραμέτρους του βασικού τύπου.", - "semanticformsinputs-regexp-orchar": "Ο χαρακτήρας OR που θα χρησιμοποιηθεί στην κανονική έκφραση αντί του |. Η προεπιλογή είναι «!»", - "semanticformsinputs-regexp-inverse": "Αν οριστεί, η είσοδος πρέπει να ΜΗΝ πληροί την κανονική έκφραση για να είναι έγκυρη. Δηλαδή η κανονική έκφραση αντιστρέφεται.", - "semanticformsinputs-regexp-message": "Το μήνυμα λάθους που θα εμφανίζεται εάν δεν πληροίται η κανονική έκφραση. Η προεπιλογή είναι «Εσφαλμένη μορφή!» (ή το ισοδύναμο στη γλώσσα που ορίζεται από τις τοπικές ρυθμίσεις)", "semanticformsinputs-menuselect-structure": "Η δομή του μενού ως αταξινόμητη λίστα.", "semanticformsinputs-menuselect-enableinputfield": "Να μπορεί ο χρήστης να συμπληρώσει το πλαίσιο εισόδου δεδομένων απευθείας;" } diff --git a/i18n/en.json b/i18n/en.json index 36a2f17..61ad51e 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3,19 +3,11 @@ "authors": [] }, "semanticformsinputs-desc": "Additional input types for [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Wrong format.", - "semanticformsinputs-malformedregexp": "Malformed regular expression ($1).", "semanticformsinputs-timepicker-mintime": "The earliest time to show. Format: hh:mm", "semanticformsinputs-timepicker-maxtime": "The latest time to show. Format: hh:mm", "semanticformsinputs-timepicker-interval": "Interval between minutes. Number between 1 and 60.", "semanticformsinputs-timepicker-enableinputfield": "Should the user be able to fill the input field directly or only via the date picker?", "semanticformsinputs-timepicker-showresetbutton": "Should a reset button be shown? This is the only way for the user to erase the input field if it is disabled for direct input.", - "semanticformsinputs-regexp-regexp": "The regular expression the input has to match to be valid. This must be given including the slashes! Defaults to \"/.*/\", i.e. any value.", - "semanticformsinputs-regexp-basetype": "The base type to be used. May be any input type that generates an html form element of type input or select (e.g. text, listbox, datepicker) or another regular expression. Defaults to \"text\".", - "semanticformsinputs-regexp-baseprefix": "Prefix for the parameters of the base type.", - "semanticformsinputs-regexp-orchar": "The OR-character to be used in the regular expression instead of |. Defaults to \"!\"", - "semanticformsinputs-regexp-inverse": "If set, the input must NOT match the regular expression to be valid. I.e. the regular expression is inverted.", - "semanticformsinputs-regexp-message": "The error message to be displayed if the match fails. Defaults to \"Wrong format!\" (or equivalent in the current locale)", "semanticformsinputs-menuselect-structure": "The menu structure as an unordered list.", "semanticformsinputs-menuselect-enableinputfield": "Should the user be able to fill the input field directly?" } diff --git a/i18n/es.json b/i18n/es.json index f054e1a..0357398 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "Tipos de entrada adicionales para [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formularios Semánticos]", - "semanticformsinputs-wrongformat": "Formato incorrecto.", - "semanticformsinputs-malformedregexp": "Expresión regular formada incorrectamente ($1).", "semanticformsinputs-timepicker-mintime": "La primera hora a mostrar. Formato: hh:mm", "semanticformsinputs-timepicker-maxtime": "La última hora a mostrar. Formato: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalo entre los minutos. Número entre 1 y 60.", "semanticformsinputs-timepicker-enableinputfield": "¿Debe ser capaz el usuario de completar el campo de entrada directamente o únicamente a través del selector de fechas?", "semanticformsinputs-timepicker-showresetbutton": "¿Debe mostrarse un botón de restablecimiento (reset)? Este es el único modo que tiene el usuario de limpiar el campo de entrada si está deshabilitado para la entrada directa.", - "semanticformsinputs-regexp-regexp": "La expresión regular que debe respetar la entrada para que sea válida. ¡Debe ser especificada entre barras inclinadas! Por defecto \"/.*/\", para cualquier valor.", - "semanticformsinputs-regexp-basetype": "El tipo de base a usar. Puede ser cualquier tipo de entrada que genere un elemento de formulario HTML del tipo \"input\" o \"select\" (por exemplo, texto, caja de listas, selector de fecha) u otra expresión regular. Por defecto es \"texto\".", - "semanticformsinputs-regexp-baseprefix": "Prefijo para los parámetros del tipo de base.", - "semanticformsinputs-regexp-orchar": "El carácter \"O\" a usar en la expresión regular en vez de \"|\". Por defecto es \"!\".", - "semanticformsinputs-regexp-inverse": "En caso de estar definida, la entrada NO debe coincidir con la expresión regular para ser válida. Es decir, la expresión regular está invertida.", - "semanticformsinputs-regexp-message": "El mensaje de error a mostrar si falla la coincidencia. Por defecto es \"¡Formato incorrecto!\" (o una forma equivalente en el idioma local)", "semanticformsinputs-menuselect-structure": "La estructura del menú como lista no ordenada.", "semanticformsinputs-menuselect-enableinputfield": "¿Debe el usuario ser capaz de completar el campo de entrada directamente?" } diff --git a/i18n/et.json b/i18n/et.json deleted file mode 100644 index 50f4f9d..0000000 --- a/i18n/et.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Avjoska", - "Pikne" - ] - } -} diff --git a/i18n/fa.json b/i18n/fa.json index 11397a1..fcf77a5 100644 --- a/i18n/fa.json +++ b/i18n/fa.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "انواع ورودی اضافه برای [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "فرمت اشتباه.", - "semanticformsinputs-malformedregexp": "عبارت ناقص ($1).", "semanticformsinputs-timepicker-mintime": "اولین زمان برای نمایش. فرمت: اچاچ:امام", "semanticformsinputs-timepicker-maxtime": "آخرین زمان برای نمایش. فرمت: hh:mm", "semanticformsinputs-timepicker-interval": "فاصله بین دقیقهها. عدد بین ۱ و۶۰.", "semanticformsinputs-timepicker-enableinputfield": "آیا کاربر قادر به پرکردن زمینه ورودی به طور مستقیم است یا تنها از طریق انتخاب کننده تاریخ قادر است؟", "semanticformsinputs-timepicker-showresetbutton": "آیا باید دکمه تنظیم مجدد نشان داده شود؟ اگر برای ورودی مستقیم غیرفعال است،این تنها راه برای کاربر برای پاک کردن زمینه ورودی است .", - "semanticformsinputs-regexp-regexp": "عبارت منظم ورودی باید برای معتبر شدن مطابقت داشته باشد. این باید شامل اسلشهایی باشدکه داده میشود! پیشفرض به\"/. * /\"، یعنی هر مقدار.", - "semanticformsinputs-regexp-basetype": "نوع پایه مورد استفاده قرار گیرد. ممکن است هر نوع ورودی که یک عنصر نوع ورودی فرم اچتیامال تولید شود یا (برای مثال text, جعبه فهرست, انتخابکننده تاریخ) را انتخاب کنید یا رگایایکسپی دیگری را انتخاب کنید. پیشفرض برای \"متن\".", - "semanticformsinputs-regexp-baseprefix": "پیشوند برای پارامترهای نوع پایه.", - "semanticformsinputs-regexp-orchar": "یا خصیصه اُ آر در عبارت منظم به جای | مورد استفاده قرار میگیرد. پیش فرض به \"!\"", - "semanticformsinputs-regexp-inverse": "اگر تنظیم شود، ورودی نباید یا با عبارت منظمی که معتبر میشود مطابقت داشته باشد. یعنی عبارت منظم وارونه است.", - "semanticformsinputs-regexp-message": "پیام خطا نمایش داده میشود اگر نتواند مطابقت داشته باشد. پیشفرضها برای \"فرمت غلط!\" (یا معادل آن در مکان فعلی)", "semanticformsinputs-menuselect-structure": "ساختار منو به عنوان یک فهرست نامرتب.", "semanticformsinputs-menuselect-enableinputfield": "آیا کاربر باید قادر به پر کردن زمینه ورودی به طور مستقیم باشد؟" } diff --git a/i18n/fi.json b/i18n/fi.json index 9c410f5..b15c6ac 100644 --- a/i18n/fi.json +++ b/i18n/fi.json @@ -7,15 +7,11 @@ ] }, "semanticformsinputs-desc": "[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semanttisten lomakkeiden] lisäsyötetyypit", - "semanticformsinputs-wrongformat": "Väärä muoto.", - "semanticformsinputs-malformedregexp": "Virheellisesti muodostettu säännöllinen lauseke ($1).", "semanticformsinputs-timepicker-mintime": "Ensimmäinen näytettävä aika. Muoto: hh:mm", "semanticformsinputs-timepicker-maxtime": "Viimeinen näytettävä aika. Muoto: hh:mm", "semanticformsinputs-timepicker-interval": "Väli minuutteina. Numerot 1 ja 60 välillä.", "semanticformsinputs-timepicker-enableinputfield": "Saako käyttäjä syöttää tiedon kirjoittamalla vai vain päimääräpoimijan avulla?", "semanticformsinputs-timepicker-showresetbutton": "Näytetäänkö \"Tyhjennä\" -painike? Se on ainoa tapa tyhjentää kentät, jos käyttäjä ei saa kirjoittaa niihin.", - "semanticformsinputs-regexp-baseprefix": "Perustyypin parametrien etuliite.", - "semanticformsinputs-regexp-orchar": "Säännöllisessä lausekkeessa |-merkin sijasta käytettävä TAI-merkki. Oletuksena ”!”.", "semanticformsinputs-menuselect-structure": "Valikkorakenne numeroimattomana luettelona.", "semanticformsinputs-menuselect-enableinputfield": "Saako käyttäjä kirjoittaa tiedon kenttään?" } diff --git a/i18n/fr.json b/i18n/fr.json index c428fec..213ee2c 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -8,19 +8,11 @@ ] }, "semanticformsinputs-desc": "Types d'entrées additionnelles pour [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formulaires sémantiques]", - "semanticformsinputs-wrongformat": "Format erroné.", - "semanticformsinputs-malformedregexp": "Expression régulière mal formée ($1).", "semanticformsinputs-timepicker-mintime": "Le premier horaire à afficher. Format: hh:mm", "semanticformsinputs-timepicker-maxtime": "Le dernier horaire à afficher. Format: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalle entre les minutes. Nombre entre 1 et 60.", "semanticformsinputs-timepicker-enableinputfield": "L'utilisateur doit-il pouvoir remplir le champ d'entrée directement ou seulement par l'intermédiaire du sélecteur de dates?", "semanticformsinputs-timepicker-showresetbutton": "Faut-il afficher un bouton de réinitialisation? C'est la seule manière pour l'utilisateur d'effacer le champ d'entrée s'il est désactivé pour la saisie directe.", - "semanticformsinputs-regexp-regexp": "L'expression régulière que l'entrée doit respecter pour être valide. Cela doit comprendre les barres obliques ! Par défaut, \"/.*/\", c'est-à-dire n'importe quelle valeur.", - "semanticformsinputs-regexp-basetype": "Le type de base à utiliser. Peut être n'importe quel type d'entrée qui génère un élément de formulaire html de type input ou select (par ex., texte, liste déroulante, sélecteur de date) ou une autre expression régulière. Par défaut, \"texte\".", - "semanticformsinputs-regexp-baseprefix": "Préfixe pour les paramètres du type de base.", - "semanticformsinputs-regexp-orchar": "Le caractère OU à utiliser dans l'expression régulière au lieu de |. Par défaut, \"!\"", - "semanticformsinputs-regexp-inverse": "S'il est activé, l'entrée ne doit PAS correspondre à l'expression régulière pour être valide. C'est-à-dire que l'expression régulière est inversée.", - "semanticformsinputs-regexp-message": "Le message d'erreur à afficher si la correspondance échoue. Par défaut, «Format incorrect!» (ou l'équivalent dans la langue locale)", "semanticformsinputs-menuselect-structure": "La structure du menu sous forme de liste non ordonnée.", "semanticformsinputs-menuselect-enableinputfield": "L'utilisateur doit-il pouvoir remplir le champ d'entrée directement?" } diff --git a/i18n/frp.json b/i18n/frp.json deleted file mode 100644 index 47653d5..0000000 --- a/i18n/frp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "ChrisPtDe" - ] - }, - "semanticformsinputs-wrongformat": "Crouyo format." -} diff --git a/i18n/fy.json b/i18n/fy.json deleted file mode 100644 index b124408..0000000 --- a/i18n/fy.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robin0van0der0vliet" - ] - } -} diff --git a/i18n/ga.json b/i18n/ga.json deleted file mode 100644 index 8d4f906..0000000 --- a/i18n/ga.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "පසිඳු කාවින්ද" - ] - } -} diff --git a/i18n/gl.json b/i18n/gl.json index c9e1dfd..19fd8fd 100644 --- a/i18n/gl.json +++ b/i18n/gl.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Tipos de entrada adicionais para os [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms formularios semánticos]", - "semanticformsinputs-wrongformat": "Formato incorrecto.", - "semanticformsinputs-malformedregexp": "Expresión regular formada incorrectamente ($1).", "semanticformsinputs-timepicker-mintime": "A primeira hora a mostrar. Formato: hh:mm", "semanticformsinputs-timepicker-maxtime": "A última hora a mostrar. Formato: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalo entre os minutos. Número entre 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "Debe o usuario ser capaz de encher o campo de entrada directamente ou unicamente a través do selector de datas?", "semanticformsinputs-timepicker-showresetbutton": "Debe mostrarse un botón de restablecemento? Este é o único xeito que o usuario ten de limpar o campo de entrada se está desactivado para a entrada directa.", - "semanticformsinputs-regexp-regexp": "A expresión regular que debe coincidir coa entrada para que sexa válida. Cómpre especificala coas barras inclunadas! Por defecto \"/.*/\", para calquera valor.", - "semanticformsinputs-regexp-basetype": "O tipo de base a usar. Pode ser calquera tipo de entrada que xere un elemento de formulario HTML do tipo \"input\" ou \"select\" (por exemplo, texto, caixa de listas, selector de data) ou outra expresión regular. Por defecto é \"texto\".", - "semanticformsinputs-regexp-baseprefix": "Prefixo para os parámetros do tipo de base.", - "semanticformsinputs-regexp-orchar": "O carácter OU a usar na expresión regular no canto de \"|\". Por defecto é \"!\".", - "semanticformsinputs-regexp-inverse": "En caso de estar definida, a entrada NON debe coincidir coa expresión regular para ser válida. Por exemplo, se a expresión regular está invertida.", - "semanticformsinputs-regexp-message": "A mensaxe de erro a mostrar se falla a coincidencia. Por defecto é \"Formato incorrecto!\" (ou a forma equivalente na lingua local)", "semanticformsinputs-menuselect-structure": "A estrutura do menú como lista non ordenada.", "semanticformsinputs-menuselect-enableinputfield": "Debe o usuario ser capaz de encher o campo de entrada directamente?" } diff --git a/i18n/gsw.json b/i18n/gsw.json index 16224fa..b506042 100644 --- a/i18n/gsw.json +++ b/i18n/gsw.json @@ -4,6 +4,5 @@ "Als-Holder" ] }, - "semanticformsinputs-desc": "Mecht zuesätzligi Arte vu Yygabe megli fir [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Falsch Format." + "semanticformsinputs-desc": "Mecht zuesätzligi Arte vu Yygabe megli fir [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]" } diff --git a/i18n/he.json b/i18n/he.json index 81ce03a..fcbf0f2 100644 --- a/i18n/he.json +++ b/i18n/he.json @@ -5,6 +5,5 @@ "ערן" ] }, - "semanticformsinputs-desc": "סוגי קלט נוספים עבור [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms טפסים סמנטיים]", - "semanticformsinputs-wrongformat": "מבנה שגוי." + "semanticformsinputs-desc": "סוגי קלט נוספים עבור [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms טפסים סמנטיים]" } diff --git a/i18n/hsb.json b/i18n/hsb.json index fb61bd0..097496e 100644 --- a/i18n/hsb.json +++ b/i18n/hsb.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Přidatne zapodawanske typy za [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Wopačny format", - "semanticformsinputs-malformedregexp": "Njepłaćiwy regularny wuraz ($1)", "semanticformsinputs-timepicker-mintime": "Najzažniši čas, kotryž ma so pokazać. Format: hh:mm", "semanticformsinputs-timepicker-maxtime": "Najpózdźiši čas, kotryž ma so pokazać. Format: hh:mm", "semanticformsinputs-timepicker-interval": "Interwal mjez mjeńšinami. Ličba mjez 1 a 60.", "semanticformsinputs-timepicker-enableinputfield": "Ma wužiwar móc zapodawanske polo direktnje wupjelnić abo jenož přez datumowy wuběr?", "semanticformsinputs-timepicker-showresetbutton": "Ma so tłóčatko za wróćostajenje pokazać? To je jenička móžnosć za wužiwarja, zo by zapodawanske polo wuprózdnił, jeli je za direktne zapodaće zawrjene.", - "semanticformsinputs-regexp-regexp": "Regularny wuraz zapodaća, z kotrymž zapodaće dyrbi so kryć, zo by płaćiwy był. Hódnota dyrbi so z nakósnymaj smužkomaj podać. Standard je \"/.*/\", t.r. někajka hódnota.", - "semanticformsinputs-regexp-basetype": "Zakładny typ, kotryž ma so wužiwać. To móže kóždy zapodawanski typ być, kotryž móže element HTML-formulara typa zapodaće płodźić abo wubrać (na př. text, listbox, datepicker) abo někajki druhi regularny wuraz. Standard je \"text\".", - "semanticformsinputs-regexp-baseprefix": "Prefiks za parametry zakładneho typa.", - "semanticformsinputs-regexp-orchar": "OR-znamješko, kotrež ma so w regularnym wurazu město | pokazać. Standard je \"!\".", - "semanticformsinputs-regexp-inverse": "Jeli to je nastajene, zapodaće njesmě regularnemu wurazej wotpowědać, zo by płaćiwe było. To rěka, zo regularny wuraz so wobroći.", - "semanticformsinputs-regexp-message": "Zmylkowa zdźělenka, kotraž ma so zwobraznić, jeli přirunanje so njeporadźi. Standard je \"Wopačny format!\" (abo něšto podobne w přełožku).", "semanticformsinputs-menuselect-structure": "Menijowa struktura jako naličenje.", "semanticformsinputs-menuselect-enableinputfield": "Ma wužiwar zapodawanske polo direktnje móc wupjelnić?" } diff --git a/i18n/hu.json b/i18n/hu.json deleted file mode 100644 index 54c0949..0000000 --- a/i18n/hu.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Dani" - ] - }, - "semanticformsinputs-wrongformat": "Hibás formátum." -} diff --git a/i18n/ia.json b/i18n/ia.json index 2ef8082..84af06c 100644 --- a/i18n/ia.json +++ b/i18n/ia.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Additional typos de entrata pro [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formularios Semantic]", - "semanticformsinputs-wrongformat": "Formato incorrecte.", - "semanticformsinputs-malformedregexp": "Expression regular mal formate ($1).", "semanticformsinputs-timepicker-mintime": "Le prime hora a monstrar. Formato: hh:mm", "semanticformsinputs-timepicker-maxtime": "Le ultime hora a monstrar. Formato: hh:mm", "semanticformsinputs-timepicker-interval": "Intervallo inter minutas. Numero inter 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "Debe le usator poter plenar le campo de entrata directemente o solmente via le selector de data?", "semanticformsinputs-timepicker-showresetbutton": "Monstrar un button de reinitialisation? Isto es le sol maniera in que le usator pote rader le campo de entrata si illo es disactivate pro entrata directe.", - "semanticformsinputs-regexp-regexp": "Le expression regular a que le entrata debe corresponder pro esser valide. Isto debe esser specificate includente le barras oblique! Le predefinition es \"/.*/\", i.e. omne valor.", - "semanticformsinputs-regexp-basetype": "Le typo de base a usar. Pote esser omne typo de entrata que genera un elemento de formulario HTML del typo \"input\" o \"select\" (p.ex. texto, quadro de lista, selector de data) o un altere expression regular. Le predefinition es \"text\".", - "semanticformsinputs-regexp-baseprefix": "Prefixo pro le parametros del typo de base.", - "semanticformsinputs-regexp-orchar": "Le character pro separar alternativas a usar in le expression regular in loco de \"|\". Le predefinition es \"!\".", - "semanticformsinputs-regexp-inverse": "Si definite, le entrata NON debe corresponder al expression regular pro esser valide. Isto vole dicer, le expression regular es invertite.", - "semanticformsinputs-regexp-message": "Le message de error a presentar in caso de non-correspondentia. Le predefinition es \"Formato incorrecte!\" (o le equivalente in le lingua actualmente configurate)", "semanticformsinputs-menuselect-structure": "Le structura de menu como un lista non ordinate.", "semanticformsinputs-menuselect-enableinputfield": "Debe le usator poter plenar le campo de entrata directemente?" } diff --git a/i18n/id.json b/i18n/id.json index 024b5d0..b7bd8e0 100644 --- a/i18n/id.json +++ b/i18n/id.json @@ -5,6 +5,5 @@ "IvanLanin" ] }, - "semanticformsinputs-desc": "Jenis masukan tambahan untuk [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Format salah." + "semanticformsinputs-desc": "Jenis masukan tambahan untuk [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]" } diff --git a/i18n/it.json b/i18n/it.json index dd4cb55..1a5ffaf 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -6,16 +6,11 @@ ] }, "semanticformsinputs-desc": "Ulteriori tipi di input per [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Formato errato.", - "semanticformsinputs-malformedregexp": "Espressione regolare mal formattata ($1).", "semanticformsinputs-timepicker-mintime": "Il primo orario da mostrare. Formato hh:mm", "semanticformsinputs-timepicker-maxtime": "L'ultimo orario da mostrare. Formato hh:mm", "semanticformsinputs-timepicker-interval": "Intervallo in minuti. Numero compreso tra 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "L'utente dovrebbe essere in grado di immettere manualmente la data o dovrebbe farlo solo attraverso la selezione?", "semanticformsinputs-timepicker-showresetbutton": "Dovrebbe essere mostrato un pulsante di reset? Questo sarebbe il solo modo che avrebbe l'utente di cancellare il campo se l'immissione manuale è disabilitata.", - "semanticformsinputs-regexp-baseprefix": "Prefisso per i parametri di tipo base.", - "semanticformsinputs-regexp-orchar": "Il carattere OR da usare nelle espressioni regolari, al posto di |. Il valore predefinito è \"!\"", - "semanticformsinputs-regexp-message": "Il messaggio di errore da visualizzare se la corrispondenza non riesce. Il valore predefinito è \"Formato non valido!\" (o equivalente nella lingua selezionata)", "semanticformsinputs-menuselect-structure": "La struttura del menu come una lista non ordinata.", "semanticformsinputs-menuselect-enableinputfield": "L'utente dovrebbe essere in grado di immettere manualmente il valore?" } diff --git a/i18n/ja.json b/i18n/ja.json index cd59a5a..1fa8aae 100644 --- a/i18n/ja.json +++ b/i18n/ja.json @@ -6,6 +6,5 @@ "青子守歌" ] }, - "semanticformsinputs-desc": "[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms] のための追加の入力タイプ", - "semanticformsinputs-wrongformat": "間違った形式です。" + "semanticformsinputs-desc": "[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms] のための追加の入力タイプ" } diff --git a/i18n/ka.json b/i18n/ka.json deleted file mode 100644 index bcd2aa9..0000000 --- a/i18n/ka.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "David1010" - ] - }, - "semanticformsinputs-wrongformat": "არასწორი ფორმატი." -} diff --git a/i18n/km.json b/i18n/km.json deleted file mode 100644 index e5cd7f5..0000000 --- a/i18n/km.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "គីមស៊្រុន", - "វ័ណថារិទ្ធ" - ] - } -} diff --git a/i18n/ko.json b/i18n/ko.json index c296fdd..4cb2b6d 100644 --- a/i18n/ko.json +++ b/i18n/ko.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]에 대한 추가 입력 형태", - "semanticformsinputs-wrongformat": "잘못된 형식입니다.", - "semanticformsinputs-malformedregexp": "잘못된 형식의 정규 표현식($1)입니다.", "semanticformsinputs-timepicker-mintime": "표시할 이전의 시간. 형식: hh:mm", "semanticformsinputs-timepicker-maxtime": "표시할 최근의 시간. 형식: hh:mm", "semanticformsinputs-timepicker-interval": "분 간격. 1에서 60 사이의 숫자.", "semanticformsinputs-timepicker-enableinputfield": "사용자가 입력 필드를 직접 채우거나 날짜 선택기를 사용할 수 있어야 합니까?", "semanticformsinputs-timepicker-showresetbutton": "재설정 버튼이 보영 합니까? 직접 입력이 비활성화되어 있으면 사용자가 입력 필드를 지웁니다.", - "semanticformsinputs-regexp-regexp": "입력한 정규식은 유효하도록 일치시켜야 합니다. 슬래시 문자를 포함해야 합니다. 모든 값인 \"/.*/\"이 기본값입니다.", - "semanticformsinputs-regexp-basetype": "기본형이 사용되야 합니다. 입력하거나 선택할 형태(예 - 텍스트, 목록 상자, 날짜 선택기)의 html 형태 요소를 생성하는 입력 형태여야 합니다. \"텍스트\"가 기본 값입니다.", - "semanticformsinputs-regexp-baseprefix": "기본 유형의 매개변수에 대한 접두어", - "semanticformsinputs-regexp-orchar": "OR-문자가 정규식에 | 문자 대신 사용되어야 합니다. 기본값은 \"!\"입니다", - "semanticformsinputs-regexp-inverse": "설정되면 입력 값은 유효하도록 정규식이 일치하지 않아야 합니다. 정규식은 반전됩니다.", - "semanticformsinputs-regexp-message": "일치에 실패하면 오류메시지가 표시됩니다. 기본값은 \"잘못된 형식!\"입니다. (또는 현재 위치와 동일)", "semanticformsinputs-menuselect-structure": "순서 없는 목록의 메뉴 구조", "semanticformsinputs-menuselect-enableinputfield": "사용자가 입력 필드를 직접 채울 수 있어야 합니까?" } diff --git a/i18n/ksh.json b/i18n/ksh.json index 4d9936d..e1d14e9 100644 --- a/i18n/ksh.json +++ b/i18n/ksh.json @@ -4,6 +4,5 @@ "Purodha" ] }, - "semanticformsinputs-desc": "Zohsäzlejje Zoote Einjabe för „[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantesch Fommulaare]“.", - "semanticformsinputs-wrongformat": "Dat Fommaat es verkiehrt" + "semanticformsinputs-desc": "Zohsäzlejje Zoote Einjabe för „[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantesch Fommulaare]“." } diff --git a/i18n/ku-latn.json b/i18n/ku-latn.json deleted file mode 100644 index ba9e841..0000000 --- a/i18n/ku-latn.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "George Animal" - ] - } -} diff --git a/i18n/lb.json b/i18n/lb.json index 5ed17f0..c302ac8 100644 --- a/i18n/lb.json +++ b/i18n/lb.json @@ -6,7 +6,6 @@ ] }, "semanticformsinputs-desc": "Zousätzlech Manéieren fir d'Eraginn fir [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Formulairen]", - "semanticformsinputs-wrongformat": "Falsche Format.", "semanticformsinputs-timepicker-mintime": "Déi fréisten Zäit déi gewise gëtt. Format: hh:mm", "semanticformsinputs-timepicker-maxtime": "Déi spéitsten Zäit déi gewise gëtt: Format: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalle tëscht de Minutten. Zuel tëscht 1 a 60.", diff --git a/i18n/mk.json b/i18n/mk.json index 53246bb..97f4606 100644 --- a/i18n/mk.json +++ b/i18n/mk.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "Дополнителни типови на внос за [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Семантички обрасци]", - "semanticformsinputs-wrongformat": "Погрешен формат.", - "semanticformsinputs-malformedregexp": "Погрешно срочен регуларен израз ($1).", "semanticformsinputs-timepicker-mintime": "Најрано време за приказ. Формат: чч:мм", "semanticformsinputs-timepicker-maxtime": "Последно време за приказ. Формат: чч:мм", "semanticformsinputs-timepicker-interval": "Интервал помеѓу минутите. Број помеѓу 1 и 60.", "semanticformsinputs-timepicker-enableinputfield": "Дали корисникот да може да го пополни полето за внос непосредно или преку одбирачот на датуми?", "semanticformsinputs-timepicker-showresetbutton": "Дали да се прикажува копчето „одново“? Ова е единствениот начин корисникот да го избрише внесеното во полето ако за тоа поле е оневозможен непосредниот внос.", - "semanticformsinputs-regexp-regexp": "Регуларниот израз на вносот мора да се совпаѓа за да биде важечки. Мора да се внесе заедно со косите црти. По основно: „/.*/“, т.е. било која вредност.", - "semanticformsinputs-regexp-basetype": "Основен тип за употреба. Може да биде било кој тип на внос што создава html-елемент за образец од типот на внос или одбирање (на пр. текст, список, одбирач на датум) или некој друг регуларен израз. По основно: „текст“.", - "semanticformsinputs-regexp-baseprefix": "Претставка за параметрите од основен тип.", - "semanticformsinputs-regexp-orchar": "Знакот за ИЛИ што ќе се користи во регуларниот израз наместо |. По основно „!“", - "semanticformsinputs-regexp-inverse": "Ако е зададено, вносот НЕ смее да се совпаѓа со регуларниот израз за да биде важечки, т.е. регуларниот израз станува обратен.", - "semanticformsinputs-regexp-message": "Пораката за грешка што ќе се прикаже ако нема совпаѓање. По основно: „Погрешен формат!“", "semanticformsinputs-menuselect-structure": "Состав на менито како неподреден список.", "semanticformsinputs-menuselect-enableinputfield": "Дали корисникот да може непосредно да го пополни полето за внос?" } diff --git a/i18n/ml.json b/i18n/ml.json deleted file mode 100644 index faaf933..0000000 --- a/i18n/ml.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Praveenp" - ] - } -} diff --git a/i18n/ms.json b/i18n/ms.json index 4f9078d..c39d9a1 100644 --- a/i18n/ms.json +++ b/i18n/ms.json @@ -5,6 +5,5 @@ "Pizza1016" ] }, - "semanticformsinputs-desc": "Jenis-jenis input tambahan untuk [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Borang Semantik]", - "semanticformsinputs-regexp-basetype": "Jenis asas yang hendak digunakan. Barangkali itu sebarang jenis input yang menghasilkan elemen borang HTML dalam bentuk jenis input atau pilihan (cth. text, listbox, datepicker) atau ungkapan nalar yang lain. Asalinya \"text\"." + "semanticformsinputs-desc": "Jenis-jenis input tambahan untuk [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Borang Semantik]" } diff --git a/i18n/nb.json b/i18n/nb.json index 4f9d065..0168fbf 100644 --- a/i18n/nb.json +++ b/i18n/nb.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "Ekstra inndatatyper for [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Feil format.", - "semanticformsinputs-malformedregexp": "Feilutformet regulæruttrykk: $1", "semanticformsinputs-timepicker-mintime": "Tidligste tidspunkt som vises. Format: hh:mm", "semanticformsinputs-timepicker-maxtime": "Seneste tidspunkt som vises. Format: hh:mm", "semanticformsinputs-timepicker-interval": "Intervall mellom minutter. Tall mellom 1 og 60.", "semanticformsinputs-timepicker-enableinputfield": "Skal brukeren kunne fylle ut datofeltet direkte eller bare via datovelgeren?", "semanticformsinputs-timepicker-showresetbutton": "Skal en tilbakestillingsknapp vises? Dette vil da være eneste muligheten for en bruker å kunne slette inndatafeltet hvis det er blokkert for direkte innskriving.", - "semanticformsinputs-regexp-regexp": "Regulæruttrykket som et inndatafelt må oppfylle for å være gyldig. Dette må angis inklusive skråstrek-tegnene! Standard er \"/.*/\", dvs. vilkårlig verdi.", - "semanticformsinputs-regexp-basetype": "Basistypen som skal brukes. Denne kan være en hvilken som helst type som genererer et HTML-skjemaelement av type \"input\" eller \"select\" (f. eks. tekst, listeboks, datavelger) eller annet regulæruttrykk. Standard er \"tekst\".", - "semanticformsinputs-regexp-baseprefix": "Prefiks for basistype-parametrene.", - "semanticformsinputs-regexp-orchar": "ELLER-tegnet som kan bruker i et regulæruttrykk istedenfor |. Standard er \"!\".", - "semanticformsinputs-regexp-inverse": "Hvis valgt, skal inndata IKKE oppfylle regulæruttrykket for å være gyldig. Dvs. regulæruttrykket er invertert.", - "semanticformsinputs-regexp-message": "Feilmeldingen som vises hvis betingelsen ikke oppfylles. Standardverdi er \"Feil format!\"", "semanticformsinputs-menuselect-structure": "Menystrukturen som en unummerert liste.", "semanticformsinputs-menuselect-enableinputfield": "Skal brukeren kunne fylle ut inndatafeltet direkte?" } diff --git a/i18n/nl.json b/i18n/nl.json index 48f14c6..271afce 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "Extra invoertypen voor [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Onjuiste opmaak.", - "semanticformsinputs-malformedregexp": "Ongeldige reguliere expressie ($1).", "semanticformsinputs-timepicker-mintime": "De vroegste tijd om weer te geven. Opmaak: uu:mm", "semanticformsinputs-timepicker-maxtime": "De laatste tijd om weer te geven. Opmaak: uu:mm.", "semanticformsinputs-timepicker-interval": "Interval tussen minuten. Getal tussen 1 en 60.", "semanticformsinputs-timepicker-enableinputfield": "Kan de gebruiker het invoerveld rechtstreeks bewerken, of alleen via de datumkiezer?", "semanticformsinputs-timepicker-showresetbutton": "Knop voor leegmaken weergeven? Dit is de enige manier voor de gebruiker om het invoerveld te wissen als directe invoer voor het veld is uitgeschakeld.", - "semanticformsinputs-regexp-regexp": "De reguliere expressie waarmee de invoer moet overeenkomen om geldig te zijn. Dit moet worden opgegeven met inbegrip van de schraptekens (slashes)! Standaard ingesteld op \"/. * /\", ofwel een willekeurige waarde.", - "semanticformsinputs-regexp-basetype": "Het basistype dat moet worden gebruikt. Dit kan elk invoertype zijn dat een HTML-formulierelement van het type \"input\" of \"select\" (bijvoorbeeld \"text\", \"listbox\" of \"datepicker\") of een andere reguliere expressie genereert. Standaard ingesteld op \"text\".", - "semanticformsinputs-regexp-baseprefix": "Voorvoegsel voor de parameters van het basistype.", - "semanticformsinputs-regexp-orchar": "Het OR-teken (\"of\") dat in de reguliere expressie wordt gebruikt in plaats van |. Standaard ingesteld op \"!\"", - "semanticformsinputs-regexp-inverse": "Als dit is ingesteld moet de invoer NIET overeen komen met de reguliere expressie om geldig te zijn. Dat wil zeggen, de reguliere expressie is omgekeerd.", - "semanticformsinputs-regexp-message": "Het foutbericht dat moet worden weergegeven als het vergelijken mislukt. De standaardinstelling is \"Verkeerde opmaak!\" (of het equivalent in de geldende landinstelling).", "semanticformsinputs-menuselect-structure": "De menustructuur als een ongeordende lijst.", "semanticformsinputs-menuselect-enableinputfield": "Moet de gebruiker het invoerveld rechtstreeks kunnen invullen?" } diff --git a/i18n/oc.json b/i18n/oc.json index 7384077..4733c92 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Tipes d'entradas adicionalas per [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formularis semantics]", - "semanticformsinputs-wrongformat": "Format erronèu.", - "semanticformsinputs-malformedregexp": "Expression regulara mal formada ($1).", "semanticformsinputs-timepicker-mintime": "Lo primièr orari d'afichar. Format : hh:mm", "semanticformsinputs-timepicker-maxtime": "Lo darrièr orari d'afichar. Format : hh:mm", "semanticformsinputs-timepicker-interval": "Interval entre las minutas. Nombre entre 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "L'utilizaire deu poder emplenar lo camp d'entrada dirèctament o solament per l'intermediari del selector de datas ?", "semanticformsinputs-timepicker-showresetbutton": "Cal afichar un boton de reïnicializacion ? Es lo sol biais per l'utilizaire d'escafar lo camp d'entrada s'es desactivat per la picada dirècta.", - "semanticformsinputs-regexp-regexp": "L'expression regulara que l'entrada deu respectar per èsser valida. Aquò deu comprene las barras oblicas ! Per defaut, \"/.*/\", es a dire quina valor que siá.", - "semanticformsinputs-regexp-basetype": "Lo tipe de basa d'utilizar. Pòt èsser quina tipe d'entrada que siá que genèra un element de formulari html de tipe input o select (per ex., tèxte, lista desenrotlanta, selector de data) o una autra expression regulara. Per defaut, \"tèxte\".", - "semanticformsinputs-regexp-baseprefix": "Prefix pels paramètres del tipe de basa.", - "semanticformsinputs-regexp-orchar": "Lo caractèr O d'utilizar dins l'expression regulara al luòc de |. Per defaut, \"!\"", - "semanticformsinputs-regexp-inverse": "S'es activat, l'entrada deu PAS correspondre a l'expression regulara per èsser valida. Es a dire que l'expression regulara es inversada.", - "semanticformsinputs-regexp-message": "Lo messatge d'error d'afichar se la correspondéncia fracassa. Per defaut, «Format incorrècte !» (o l'equivalent dins la lenga locala)", "semanticformsinputs-menuselect-structure": "L'estructura del menú jos la forma de lista pas ordenada.", "semanticformsinputs-menuselect-enableinputfield": "L'utilizaire deu poder emplenar lo camp d'entrada dirèctament?" } diff --git a/i18n/pdc.json b/i18n/pdc.json deleted file mode 100644 index 104f4b7..0000000 --- a/i18n/pdc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xqt" - ] - } -} diff --git a/i18n/pfl.json b/i18n/pfl.json deleted file mode 100644 index 104f4b7..0000000 --- a/i18n/pfl.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xqt" - ] - } -} diff --git a/i18n/pl.json b/i18n/pl.json index 2ec0e0b..81e1e82 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -6,13 +6,10 @@ ] }, "semanticformsinputs-desc": "Dodatkowe typy wejściowe dla [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formularzy Semantycznych]", - "semanticformsinputs-wrongformat": "Niewłaściwy format.", - "semanticformsinputs-malformedregexp": "Nieprawidłowe wyrażenie regularne ( $1 ).", "semanticformsinputs-timepicker-mintime": "Najwcześniejszy czas do wyświetlenia. Format: gg:mm", "semanticformsinputs-timepicker-maxtime": "Najpóźniejszy czas do wyświetlenia. Format: gg:mm", "semanticformsinputs-timepicker-interval": "Interwał między minutami. Liczba między 1 i 60.", "semanticformsinputs-timepicker-enableinputfield": "Czy użytkownik ma możliwość bezpośredniego wpisania daty, czy tylko przez kalendarzyk?", - "semanticformsinputs-regexp-orchar": "Znak LUB stosowany w wyrażeniu regularnym zamiast |. Domyślnie \"!\"", "semanticformsinputs-menuselect-structure": "Struktura menu jako lista nieuporządkowana.", "semanticformsinputs-menuselect-enableinputfield": "Czy użytkownik może bezpośrednio wprowadzać zawartość pola?" } diff --git a/i18n/pms.json b/i18n/pms.json index 4c97ca4..c30ba5c 100644 --- a/i18n/pms.json +++ b/i18n/pms.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "Sòrt d'imission adissionaj për [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formolari Semàntich]", - "semanticformsinputs-wrongformat": "Formà pa bon.", - "semanticformsinputs-malformedregexp": "Espression regolar malformà ($1).", "semanticformsinputs-timepicker-mintime": "Ël prim orari da smon-e. Formà: oo:mm", "semanticformsinputs-timepicker-maxtime": "L'ùltim orari da smon-e. Formà: oo:mm", "semanticformsinputs-timepicker-interval": "Antërval antra le minute. Nùmer tra 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "L'utent a dev podèj compilé ël camp d'anseriment diretament o mach con ël selessionator ëd dàite?", "semanticformsinputs-timepicker-showresetbutton": "A venta smon-e un boton d'anulament? A l'é la sola manera për l'utent d'anulé ël camp d'anseriment se a l'é disabilità për l'anseriment diret.", - "semanticformsinputs-regexp-regexp": "L'espression regolare che l'anseriment a dev rëspeté për esse bon. Sòn a dev comprende le sbare obliche! Predefinì a \"/.*/\", visadì qualsëssìa valor.", - "semanticformsinputs-regexp-basetype": "La sòrt ëd base da dovré. A peul esse qualsëssìa sòrt d'anseriment ch'a génera n'element ëd formolari html ëd sòrt anseriment o selession (visadì test, lista dësrolanta, seletor ëd dàite) o n'àutra espression regolar. Predefinì a «test».", - "semanticformsinputs-regexp-baseprefix": "Prefiss për ël paràmetr dla sòrt ëd base.", - "semanticformsinputs-regexp-orchar": "Ël caràter O da dovré ant n'espression regolar nopà che |. Predefinì a «!»", - "semanticformsinputs-regexp-inverse": "Se ampostà, l'anseriment a dev NEN corisponde a l'espression regolar për esse bon. Visadì l'espression regolar a l'é anvërtìa.", - "semanticformsinputs-regexp-message": "Ël mëssagi d'eror da smon-e se la corëspondensa a faliss. Predefinì a «Formà cioch!» (o l'equivalent ant la lenga local)", "semanticformsinputs-menuselect-structure": "La strutura dlë mnù sot forma ëd lista nen ordinà.", "semanticformsinputs-menuselect-enableinputfield": "L'utent a dev podèj compilé ël camp d'anseriment diretament?" } diff --git a/i18n/ps.json b/i18n/ps.json deleted file mode 100644 index f558057..0000000 --- a/i18n/ps.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ahmed-Najib-Biabani-Ibrahimkhel" - ] - } -} diff --git a/i18n/pt-br.json b/i18n/pt-br.json index 1984185..a95ff9d 100644 --- a/i18n/pt-br.json +++ b/i18n/pt-br.json @@ -6,19 +6,11 @@ ] }, "semanticformsinputs-desc": "Tipos de entrada adicionais para [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formulários Semânticos]", - "semanticformsinputs-wrongformat": "Formato incorreto.", - "semanticformsinputs-malformedregexp": "Expressão regular incorreta ($1).", "semanticformsinputs-timepicker-mintime": "A primeira hora a ser exibida. Formato: hh:mm", "semanticformsinputs-timepicker-maxtime": "A última hora a ser exibida. Formato: hh:mm", "semanticformsinputs-timepicker-interval": "Intervalo entre minutos. Número entre 1 e 60.", "semanticformsinputs-timepicker-enableinputfield": "O usuário pode preencher o campo diretamente ou somente pelo selecionador de datas?", "semanticformsinputs-timepicker-showresetbutton": "A opção de reset deve ser exibida? Esse é o único modo do usuário apagar o campo se ele estiver desabilitado para entrada manual.", - "semanticformsinputs-regexp-regexp": "A expressão regular que o campo exige para aceitar valores. É necessário incluir as barras. O padrão é \"/.*/\", ou seja, qualquer valor.", - "semanticformsinputs-regexp-basetype": "O tipo base a ser utilizado. Pode ser qualquer tipo de entrada que gere um elemento de formulário html de entrada ou seleção (por exemplo, text, listbox, datepicker) ou outra regexp. O padrão é \"text\".", - "semanticformsinputs-regexp-baseprefix": "Prefixo para os parâmetros do tipo base.", - "semanticformsinputs-regexp-orchar": "O caractere OR a ser utilizado em expressões regulares ao invés de |. O padrão é \"!\"", - "semanticformsinputs-regexp-inverse": "Se definido, o valor de entrada NÃO pode corresponder a expressão regular para ser válido. Isto é, a expressão regular está invertida.", - "semanticformsinputs-regexp-message": "A mensagem de erro a ser exibida se a correspondência falhar. O padrão é \"Formato incorreto!\" (ou equivalente no idioma local)", "semanticformsinputs-menuselect-structure": "A estrutura de menu como uma lista não ordenada.", "semanticformsinputs-menuselect-enableinputfield": "O usuário pode preencher o campo diretamente?" } diff --git a/i18n/pt.json b/i18n/pt.json index cd0ed3e..5ba8906 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -5,6 +5,5 @@ "Luckas" ] }, - "semanticformsinputs-desc": "Tipos de entrada adicionais para [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formulários Semânticos]", - "semanticformsinputs-wrongformat": "Formato incorreto." + "semanticformsinputs-desc": "Tipos de entrada adicionais para [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Formulários Semânticos]" } diff --git a/i18n/qqq.json b/i18n/qqq.json index 130f932..5420299 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -12,19 +12,11 @@ ] }, "semanticformsinputs-desc": "{{desc|name=Semantic Forms Inputs|url=https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms_Inputs}}", - "semanticformsinputs-wrongformat": "Used as error message.", - "semanticformsinputs-malformedregexp": "Unused at this time.\n\nAn error message.\n\nParameters:\n* $1 - regular expression", "semanticformsinputs-timepicker-mintime": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-timepicker-maxtime": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-timepicker-interval": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-timepicker-enableinputfield": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-timepicker-showresetbutton": "This is a help text for the [[Special:CreateForm]] page.", - "semanticformsinputs-regexp-regexp": "This is a help text for the [[Special:CreateForm]] page.", - "semanticformsinputs-regexp-basetype": "This is a help text for the [[Special:CreateForm]] page.", - "semanticformsinputs-regexp-baseprefix": "This is a help text for the [[Special:CreateForm]] page.", - "semanticformsinputs-regexp-orchar": "This is a help text for the [[Special:CreateForm]] page. OR is an operator to handle [[wikipedia:Logical_disjunction|disjunctions]].", - "semanticformsinputs-regexp-inverse": "This is a help text for the [[Special:CreateForm]] page.", - "semanticformsinputs-regexp-message": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-menuselect-structure": "This is a help text for the [[Special:CreateForm]] page.", "semanticformsinputs-menuselect-enableinputfield": "This is a help text for the [[Special:CreateForm]] page." } diff --git a/i18n/ro.json b/i18n/ro.json deleted file mode 100644 index c68fba9..0000000 --- a/i18n/ro.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Stelistcristi" - ] - } -} diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json index 4701223..1742ddb 100644 --- a/i18n/roa-tara.json +++ b/i18n/roa-tara.json @@ -5,8 +5,5 @@ ] }, "semanticformsinputs-desc": "Tipe de input aggiundive pe le [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Module Semandece]", - "semanticformsinputs-wrongformat": "Formate sbagliate", - "semanticformsinputs-malformedregexp": "Espressione regolare male formate ($1).", - "semanticformsinputs-timepicker-interval": "Indervalle 'mbrà minute. Numere 'mbrà 1 e 60.", - "semanticformsinputs-regexp-baseprefix": "Prefisse pe le parametre d'u tipe de base." + "semanticformsinputs-timepicker-interval": "Indervalle 'mbrà minute. Numere 'mbrà 1 e 60." } diff --git a/i18n/ru.json b/i18n/ru.json index 618a9f2..a11febd 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -10,19 +10,11 @@ ] }, "semanticformsinputs-desc": "Дополнительные входящие типы для [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Семантических Форм]", - "semanticformsinputs-wrongformat": "Неверный формат.", - "semanticformsinputs-malformedregexp": "Неверно сформированное регулярное выражение ($1).", "semanticformsinputs-timepicker-mintime": "Самое раннее время, которое будет отображено. Формат: чч:мм", "semanticformsinputs-timepicker-maxtime": "Самое позднее время, которое будет отображено. Формат: чч:мм", "semanticformsinputs-timepicker-interval": "Интервал между минутами. Число от 1 до 60.", "semanticformsinputs-timepicker-enableinputfield": "Пользователь может заполнить поле ввода напрямую или только через поле выбора даты?", "semanticformsinputs-timepicker-showresetbutton": "Должна ли отображаться кнопка сброса? Для пользователя это единственная возможность очистить поле ввода, если отключен непосредственный ввод данных.", - "semanticformsinputs-regexp-regexp": "Регулярное выражение, которому должно соответствовать значение поля ввода. Оно должно содержать слэши! По умолчанию \"/.*/\", т.е. любое значение.", - "semanticformsinputs-regexp-basetype": "Базовый тип, который будет использоваться. Может быть любым типом элемента input или select html-формы (например: text, listbox, datepicker) или другой regexp. По умолчанию \"text\".", - "semanticformsinputs-regexp-baseprefix": "Префикс для параметров базового типа.", - "semanticformsinputs-regexp-orchar": "ИЛИ-символ, который используется в регулярном выражении вместо |. По умолчанию «!»", - "semanticformsinputs-regexp-inverse": "Если задано, входные данные не должны соответствовать регулярному выражению. Т.е. регулярное выражение инвертируется.", - "semanticformsinputs-regexp-message": "Отображаемое сообщение об ошибке, если сопоставление потерпит неудачу. По умолчанию \"Wrong format!\" (или эквивалент для текущей локали)", "semanticformsinputs-menuselect-structure": "Структура меню в виде неупорядоченного списка.", "semanticformsinputs-menuselect-enableinputfield": "Позволить непосредственное заполнение поля ввода пользователем?" } diff --git a/i18n/si.json b/i18n/si.json index fb50ab9..08a730f 100644 --- a/i18n/si.json +++ b/i18n/si.json @@ -4,11 +4,8 @@ "පසිඳු කාවින්ද" ] }, - "semanticformsinputs-wrongformat": "වැරදි ආකෘතිය.", - "semanticformsinputs-malformedregexp": "විකෘති වූ ක්රමික උච්චාරණය ($1).", "semanticformsinputs-timepicker-mintime": "පෙන්වීමට ඇති වේලාසනම කාලය. ආකෘතිය: hh:mm", "semanticformsinputs-timepicker-maxtime": "පෙන්වීමට ඇති නවතම කාලය. ආකෘතිය: hh:mm", "semanticformsinputs-timepicker-interval": "මිනිත්තු අතර විරාම කාලය. 1 සහ 60 අතර අංකයක්.", - "semanticformsinputs-regexp-baseprefix": "පාදක වර්ගයේ පරාමිතීන් සඳහා උපසර්ගය.", "semanticformsinputs-menuselect-structure": "නිප්පටිපාටිගත ලයිස්තුවක් ලෙස මෙනුවේ ව්යුහය." } diff --git a/i18n/sr-ec.json b/i18n/sr-ec.json deleted file mode 100644 index 7f1cfd5..0000000 --- a/i18n/sr-ec.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Rancher" - ] - } -} diff --git a/i18n/sr-el.json b/i18n/sr-el.json deleted file mode 100644 index 34db5a4..0000000 --- a/i18n/sr-el.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "@metadata": [] -} diff --git a/i18n/sv.json b/i18n/sv.json index 411d5bb..0f74774 100644 --- a/i18n/sv.json +++ b/i18n/sv.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Ännu mer indata-typer för [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]", - "semanticformsinputs-wrongformat": "Fel format.", - "semanticformsinputs-malformedregexp": "Felaktig regexp ($1)", "semanticformsinputs-timepicker-mintime": "Den tidigaste tiden som visas. Formatet: tt:mm", "semanticformsinputs-timepicker-maxtime": "Den senaste tiden som visas: Formatet: tt:mm", "semanticformsinputs-timepicker-interval": "Intervall mellan minuter. Nummer mellan 1 och 60.", "semanticformsinputs-timepicker-enableinputfield": "Ska användaren kunna fylla i indata-fältet direkt, eller enbart med hjälp av datumväljaren.", "semanticformsinputs-timepicker-showresetbutton": "Ska en återställningsknapp visas? Det här är enda sättet att radera innehållet i indata-fältet om det inte är tillåtet att skriva i det.", - "semanticformsinputs-regexp-regexp": "Det reguljära uttryck som indatan måste motsvara för att godkännas. Även snedstreck måste anges! Förvalt innehåll är \"/.*/\", d.v.s. vilket värde som helst.", - "semanticformsinputs-regexp-basetype": "Bas-typen som ska användas. Måste vara någon indata-typ som skapar en \"HTML-form-tagg\", såsom \"input\" eller \"select\" (d.v.s. text, listbox, datepicker) eller ett annat reguljärt uttryck. Förvalt värde är \"text\".", - "semanticformsinputs-regexp-baseprefix": "Prefix för parametrar av bas-typen.", - "semanticformsinputs-regexp-orchar": "Det tecken som ska motsvara ELLER i det reguljära uttrycket istället för tecknet |. Förvalt tecken är \"!\".", - "semanticformsinputs-regexp-inverse": "Indata får INTE motsvara det reguljära uttrycket. D.v.s. det reguljära uttrycket är inverterat.", - "semanticformsinputs-regexp-message": "Felmeddelandet som ska visas om matchningen misslyckas. Förvalt värde är \"Fel format!\".", "semanticformsinputs-menuselect-structure": "Menystrukturen är en onumrerad lista.", "semanticformsinputs-menuselect-enableinputfield": "Ska användaren kunna fylla i indata-fältet direkt?" } diff --git a/i18n/ta.json b/i18n/ta.json deleted file mode 100644 index dc7df34..0000000 --- a/i18n/ta.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Shanmugamp7" - ] - } -} diff --git a/i18n/te.json b/i18n/te.json deleted file mode 100644 index 306083b..0000000 --- a/i18n/te.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Veeven" - ] - } -} diff --git a/i18n/tl.json b/i18n/tl.json index 5aad350..4a0ccc6 100644 --- a/i18n/tl.json +++ b/i18n/tl.json @@ -5,19 +5,11 @@ ] }, "semanticformsinputs-desc": "Karagdagang mga tipo ng pagpasok para sa [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Anyong Semantiko]", - "semanticformsinputs-wrongformat": "Maling anyo.", - "semanticformsinputs-malformedregexp": "Karaniwang pagsasaad na may masamang anyo ($1).", "semanticformsinputs-timepicker-mintime": "Ang pinaka maagang oras na ipapakita. Anyo: oo:mm", "semanticformsinputs-timepicker-maxtime": "Ang pinaka huling oras na ipapakita: Anyo: oo:mm", "semanticformsinputs-timepicker-interval": "Agwat sa pagitan ng mga minuto. Bilang sa pagitan ng 1 at 60.", "semanticformsinputs-timepicker-enableinputfield": "Dapat ba na ang tagagamit ay tuwirang makakagawa ng pagpupuno sa hanay ng pagpapasok o sa pamamagitan lamang ng pampili ng petsa?", "semanticformsinputs-timepicker-showresetbutton": "Dapat bang ipakita ang isang pindutan ng muling pagtatakda? Ito lamang ang paraan para sa tagagamit upang mabura ang hanay ng pagpapasok kung hindi ito pinagagana para sa tuwirang pagpapasok.", - "semanticformsinputs-regexp-regexp": "Ang karaniwang pagsasaad na dapat tugmain ng lahok upang maging katanggap-tanggap. Dapat itong ibigay na kasama ang mga sakyod! Likas na nakatakda sa \"/.*/\", iyong anumang halaga.", - "semanticformsinputs-regexp-basetype": "Ang uri ng saligang gagamitin. Maaaring maging anumang uri ng pagpapasok na lumilikha ng isang elemento ng pormularyo ng html ng lahok na uri o pinili (iyong teksto, kahong listahan, pampili ng petsa) o iba pang karaniwang pagsasaad. Likas na nakatakda sa \"teksto\".", - "semanticformsinputs-regexp-baseprefix": "Unlapi para sa mga parametro ng uri ng saligan.", - "semanticformsinputs-regexp-orchar": "Ang panitik na O na gagamitin sa loob ng karaniwang pagsasaad sa halip na |. Likas na nakatakda sa \"!\"", - "semanticformsinputs-regexp-inverse": "Kung nakatakda, ang lahok ay HINDI dapat tumugma sa karaniwang pagsasaad upang maging katanggap-tanggap. Iyong nakabaligtad ang karaniwang pagsasaad.", - "semanticformsinputs-regexp-message": "Ang ipapakitang mensahe ng kamalian kung nabigo ang pagtutugma. Likas na nakatakda sa \"Maling kaanyuan!\" (o katumbas sa loob ng pangkasalukuyang lugar)", "semanticformsinputs-menuselect-structure": "Ang kayarian ng menu bilang isang listahang walang pagkakasunud-sunod.", "semanticformsinputs-menuselect-enableinputfield": "Dapat ba na ang tagagamit ay tuwirang makakagawa ng pagpupuno sa hanay ng pagpapasok?" } diff --git a/i18n/tr.json b/i18n/tr.json deleted file mode 100644 index 693faf6..0000000 --- a/i18n/tr.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Suelnur" - ] - } -} diff --git a/i18n/uk.json b/i18n/uk.json index 70bc129..079ac82 100644 --- a/i18n/uk.json +++ b/i18n/uk.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "Додаткові типи вводу для [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Семантичних форм]", - "semanticformsinputs-wrongformat": "Неправильний формат.", - "semanticformsinputs-malformedregexp": "Неправильний регулярний вираз ($1).", "semanticformsinputs-timepicker-mintime": "Найновіший час для відображення. Формат: гг:хх", "semanticformsinputs-timepicker-maxtime": "Найпізніший час для відображення. Формат: гг:хх", "semanticformsinputs-timepicker-interval": "Інтервал між хвилинами. Число від 1 до 60.", "semanticformsinputs-timepicker-enableinputfield": "Користувач зможе заповнити поле введення безпосередньо або тільки за допомогою елемента вибору дати?", "semanticformsinputs-timepicker-showresetbutton": "Слід показувати кнопку Очистити? Це єдиний спосіб для користувачів, щоб стерти поле введення, якщо вимкнено пряме введення даних.", - "semanticformsinputs-regexp-regexp": "Регулярний вираз, якому повинно відповідати значення поля вводу. Він повинен містити слеші! Типово \"/.*/\", тобто будь-яке значення.", - "semanticformsinputs-regexp-basetype": "Базовий тип, який буде використовуватися. Може бути будь-яким типом елемента input або select html-форми (наприклад: text, listbox, datepicker) або інший regexp. За замовчуванням \"text\".", - "semanticformsinputs-regexp-baseprefix": "Префікс для параметрів базового типу.", - "semanticformsinputs-regexp-orchar": "АБО-символ, використовуваний в регулярному виразі замість |. Типово \"!\"", - "semanticformsinputs-regexp-inverse": "Якщо задано, то вхідні дані не повинні відповідати регулярному виразу. Тобто регулярний вираз інвертується.", - "semanticformsinputs-regexp-message": "Коротке повідомлення про помилку, якщо зіставлення зазнає невдачі. Типово \"Wrong format!\" (або еквівалент для поточної мови)", "semanticformsinputs-menuselect-structure": "Структура меню у вигляді невпорядкованого списку.", "semanticformsinputs-menuselect-enableinputfield": "Дозволити безпосереднє заповнення поля вводу користувачем?" } diff --git a/i18n/vi.json b/i18n/vi.json deleted file mode 100644 index 9690498..0000000 --- a/i18n/vi.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Minh Nguyen" - ] - }, - "semanticformsinputs-wrongformat": "Định dạng sai" -} diff --git a/i18n/yi.json b/i18n/yi.json deleted file mode 100644 index 8d4f906..0000000 --- a/i18n/yi.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@metadata": { - "authors": [ - "පසිඳු කාවින්ද" - ] - } -} diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json index 6933ac9..c2a654a 100644 --- a/i18n/zh-hans.json +++ b/i18n/zh-hans.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "用于[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]的附加输入项类型", - "semanticformsinputs-wrongformat": "格式错误。", - "semanticformsinputs-malformedregexp": "格式错误的正则表达式($1)。", "semanticformsinputs-timepicker-mintime": "要显示的最早时间。格式:hh:mm", "semanticformsinputs-timepicker-maxtime": "要显示的最晚时间。格式:hh:mm", "semanticformsinputs-timepicker-interval": "分钟之间的间隔。1 和 60 之间的数字。", "semanticformsinputs-timepicker-enableinputfield": "用户究竟应当能够直接填写输入文本框,还是只能借助于日期选取器?", "semanticformsinputs-timepicker-showresetbutton": "是否应当显示一个重置按钮?如果禁止直接输入,这将是用户删除输入文本框的唯一方法。", - "semanticformsinputs-regexp-regexp": "输入所必须匹配的正则表达式必须有效。给出时必须包括那些斜杠!默认值为\"/.*/\",即任何取值。", - "semanticformsinputs-regexp-basetype": "所要使用的基本类型。可以是任何的输入类型产生输入、选择(如文本框、 列表框、日期选取器)或别的类型的html表单元素。默认值为\"text\"。", - "semanticformsinputs-regexp-baseprefix": "基本类型参数的前缀。", - "semanticformsinputs-regexp-orchar": "正则表达式当中所要使用的逻辑或字符,而不是“|”。默认值为\"!\"。", - "semanticformsinputs-regexp-inverse": "如果加以设置,输入要有效的话,不得与正则表达式相匹配。也就是说,正则表达式是倒转的。", - "semanticformsinputs-regexp-message": "匹配失败时所要显示的错误信息。默认值为\"格式错误!\"(或者是当前区域的等效取值)。", "semanticformsinputs-menuselect-structure": "作为无序列表的菜单结构。", "semanticformsinputs-menuselect-enableinputfield": "用户是否应该能够直接填写输入文本框?" } diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json index 2996a92..ea2cd25 100644 --- a/i18n/zh-hant.json +++ b/i18n/zh-hant.json @@ -7,19 +7,11 @@ ] }, "semanticformsinputs-desc": "用於[https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Semantic_Forms Semantic Forms]的附加輸入項類型", - "semanticformsinputs-wrongformat": "格式不正確。", - "semanticformsinputs-malformedregexp": "格式錯誤的正則表達式($1)。", "semanticformsinputs-timepicker-mintime": "要顯示的最早時間。格式:hh:mm", "semanticformsinputs-timepicker-maxtime": "要顯示的最晚時間。格式:hh:mm", "semanticformsinputs-timepicker-interval": "分鐘之間的間隔。1 和 60 之間的數字。", "semanticformsinputs-timepicker-enableinputfield": "用戶究竟應當能夠直接填寫輸入文本框,還是只能藉助於日期選取器?", "semanticformsinputs-timepicker-showresetbutton": "是否應當顯示一個重置按鈕?如果禁止直接輸入,這將是用戶刪除輸入文本框的唯一方法。", - "semanticformsinputs-regexp-regexp": "輸入所必須匹配的正則表達式必須有效。給出時必須包括那些斜杠!默認值為\"/.*/\",即任何取值。", - "semanticformsinputs-regexp-basetype": "所要使用的基本類型。可以是任何的輸入類型產生輸入、選擇(如文本框、 列表框、日期選取器)或別的類型的html表單元素。默認值為\"text\"。", - "semanticformsinputs-regexp-baseprefix": "基本類型參數的字首。", - "semanticformsinputs-regexp-orchar": "正則表達式當中所要使用的邏輯或字符,而不是“|”。默認值為\"!\"。", - "semanticformsinputs-regexp-inverse": "如果加以設置,輸入要有效的話,不得與正則表達式相匹配。也就是說,正則表達式是倒轉的。", - "semanticformsinputs-regexp-message": "匹配失敗時所要顯示的錯誤信息。默認值為\"格式錯誤!\"(或者是當前區域的等效取值)。", "semanticformsinputs-menuselect-structure": "作為無序列表的菜單結構。", "semanticformsinputs-menuselect-enableinputfield": "用戶是否應該能夠直接填寫輸入文本框?" } diff --git a/includes/SFI_RegExp.php b/includes/SFI_RegExp.php deleted file mode 100644 index 7f1a811..0000000 --- a/includes/SFI_RegExp.php +++ /dev/null @@ -1,246 +0,0 @@ -<?php - -/** - * File holding the SFIRegExp class - * - * @author Stephan Gambke - * @file - * @ingroup SemanticFormsInputs - */ -if ( !defined( 'SFI_VERSION' ) ) { - die( 'This file is part of the SemanticFormsInputs extension, it is not a valid entry point.' ); -} - -/** - * This class represents the RegExp input. - * - * @ingroup SFI - */ -class SFIRegExp extends SFFormInput { - - /** @var SFFormInput */ - protected $mBaseInput; - - /** - * Constructor. - * - * @param String $input_number - * The number of the input in the form. - * @param String $cur_value - * The current value of the input field. - * @param String $input_name - * The name of the input. - * @param String $disabled - * Is this input disabled? - * @param Array $other_args - * An associative array of other parameters that were present in the - * input definition. - */ - public function __construct( $input_number, $cur_value, $input_name, $disabled, $other_args ) { - - global $sfgFormPrinter; - - parent::__construct( $input_number, $cur_value, $input_name, $disabled, $other_args ); - - // set OR character - if ( array_key_exists( 'or char', $this->mOtherArgs ) ) { - $orChar = trim( $this->mOtherArgs['or char'] ); - unset( $this->mOtherArgs['or char'] ); - } else { - $orChar = '!'; - } - - // set regexp string - if ( array_key_exists( 'regexp', $this->mOtherArgs ) ) { - - $this->mRegExp = str_replace( $orChar, '|', trim( $this->mOtherArgs['regexp'] ) ); - unset( $this->mOtherArgs['regexp'] ); - - // check for leading/trailing delimiter and remove it (else reset regexp) - if ( preg_match( "/^\/.*\/\$/", $this->mRegExp ) ) { - - $this->mRegExp = substr( $this->mRegExp, 1, strlen( $this->mRegExp ) - 2 ); - } else { - $this->mRegExp = '.*'; - } - } else { - $this->mRegExp = '.*'; - } - - // set inverse string - $invertRegexp = array_key_exists( 'inverse', $this->mOtherArgs ); - unset( $this->mOtherArgs['inverse'] ); - - // set failure message string - if ( array_key_exists( 'message', $this->mOtherArgs ) ) { - $this->mErrorMessage = trim( $this->mOtherArgs['message'] ); - unset( $this->mOtherArgs['message'] ); - } else { - $this->mErrorMessage = wfMessage( 'semanticformsinputs-wrongformat' )->text(); - } - - // sanitize error message and regexp for JS - $jsFunctionData = array( - 'retext' => $this->mRegExp, - 'inverse' => $invertRegexp, - 'message' => $this->mErrorMessage, - ); - - // Finally set name and parameters for the validation function - $this->addJsValidationFunctionData( 'SFI_RE_validate', $jsFunctionData ); - - - // set base input type name - if ( array_key_exists( 'base type', $this->mOtherArgs ) ) { - - $baseType = trim( $this->mOtherArgs['base type'] ); - unset( $this->mOtherArgs['base type'] ); - - // if unknown set default base input type - if ( !array_key_exists( $baseType, $sfgFormPrinter->mInputTypeClasses ) ) { - $baseType = 'text'; - } - } else { - $baseType = 'text'; - } - - // create other_args array for base input type if base prefix was set - if ( array_key_exists( 'base prefix', $this->mOtherArgs ) ) { - - // set base prefix - $basePrefix = trim( $this->mOtherArgs['base prefix'] ) . "."; - unset( $this->mOtherArgs['base prefix'] ); - - // create new other_args param - $newOtherArgs = array(); - - foreach ( $this->mOtherArgs as $key => $value ) { - if ( strpos( $key, $basePrefix ) === 0 ) { - $newOtherArgs[substr( $key, strlen( $basePrefix ) )] = $value; - } else { - $newOtherArgs[$key] = $value; - } - } - - } else { - $newOtherArgs = $this->mOtherArgs; - } - - // create base input - $this->mBaseInput = new $sfgFormPrinter->mInputTypeClasses[ $baseType ] ( - $this->mInputNumber, $this->mCurrentValue, $this->mInputName, $this->mIsDisabled, $newOtherArgs - ); - - } - - /** - * Returns the name of the input type this class handles. - * - * This is the name to be used in the field definition for the "input type" - * parameter. - * - * @return String The name of the input type this class handles. - */ - public static function getName() { - return 'regexp'; - } - - /** - * Returns the names of the resource modules this input type uses. - * - * Returns the names of the modules as an array or - if there is only one - * module - as a string. - * - * @return null|string|array - */ - public function getResourceModuleNames() { - $modules = $this->mBaseInput->getResourceModuleNames(); - if ( is_array( $modules ) ) { - return array_merge( $modules, array( 'ext.semanticformsinputs.regexp' )); - } elseif ( is_string( $modules ) ) { - return array( $modules, 'ext.semanticformsinputs.regexp' ); - } else { - return 'ext.semanticformsinputs.regexp'; - } - - } - - /** - * Returns the set of parameters for this form input. - */ - public static function getParameters() { - $params = parent::getParameters(); - $params['regexp'] = array( - 'name' => 'regexp', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-regexp' )->text() - ); - $params['base type'] = array( - 'name' => 'base type', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-basetype' )->text() - ); - $params['base prefix'] = array( - 'name' => 'base prefix', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-baseprefix' )->text() - ); - $params['or char'] = array( - 'name' => 'or char', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-orchar' )->text() - ); - $params['inverse'] = array( - 'name' => 'inverse', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-inverse' )->text() - ); - $params['message'] = array( - 'name' => 'message', - 'type' => 'string', - 'description' => wfMessage( 'semanticformsinputs-regexp-message' )->text() - ); - - return $params; - } - - /** - * Returns the HTML code to be included in the output page for this input. - * - * Ideally this HTML code should provide a basic functionality even if the - * browser is not JavaScript capable. I.e. even without JavaScript the user - * should be able to input values. - * - */ - public function getHtmlText() { - - return $this->mBaseInput->getHtmlText(); - } - - /** - * Returns the set of SMW property types which this input can - * handle, but for which it isn't the default input. - * - * @deprecated - * @return Array of strings - */ - public static function getOtherPropTypesHandled() { - return array('_str', '_num', '_dat', '_geo', '_ema', '_tel', '_wpg', '_tem', '_qty'); - } - - /** - * Returns the name and parameters for the initialization JavaScript - * function for this input type, if any. - */ - public function getJsInitFunctionData() { - return array_merge( $this->mJsInitFunctionData, $this->mBaseInput->getJsInitFunctionData() ); - } - - /** - * Returns the name and parameters for the validation JavaScript - * functions for this input type, if any. - */ - public function getJsValidationFunctionData() { - return array_merge( $this->mJsValidationFunctionData, $this->mBaseInput->getJsValidationFunctionData() ); - } -} diff --git a/libs/regexp.js b/libs/regexp.js deleted file mode 100644 index 6d252d3..0000000 --- a/libs/regexp.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Javascript code to be used with input type regexp. - * - * @author Stephan Gambke - * - */ - -/** - * Validates inputs of type regexp. - * - * @param input_id (String) the id string of the input to check - * @param params (Object) the parameter object for the check, contains - * retext: (String) regular expression the input's value has to match - * inverse: (Boolean) if the check result shall be inverted - * message: (String) the message too be printed if the input's value does not match - * @return (Boolean) true, if the input's value matches the regular expression in - * retext, false otherwise; the value is inverted if inverse is true - */ - -window.SFI_RE_validate = function( input_id, params ) { //input_number, retext, inverse, message, multiple - - var match; - var message; - try { - var re = new RegExp( params.retext ); - var value = jQuery('#' + input_id).val(); - match = re.test( value ); - message = params.message; - } catch (e) { - match = false; - message = params.error.replace('$1', e ); - } - - if ( ( match && ! params.inverse ) || ( ! match && params.inverse ) ) { - return true; - } else { - jQuery( '#' + input_id ).parent().addErrorMessage( message ); - return false; - } -}; -- To view, visit https://gerrit.wikimedia.org/r/268889 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4db5c6dfbc6daa1baa9d13eaeea18a98a5da0948 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SemanticFormsInputs Gerrit-Branch: master Gerrit-Owner: Foxtrott <s7ep...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits