diff --git a/app.py b/app.py index d7cde5c..a7d3066 100755 --- a/app.py +++ b/app.py @@ -112,6 +112,9 @@ def create_app(): 'Number of nodes': gettext('Number of nodes'), 'Head node': gettext('Head node'), 'Grew-match URL': gettext('Grew-match URL'), + '%DIFF': gettext('%DIFF'), + 'OR': gettext('OR'), + 'BIC': gettext('BIC'), 'MI': gettext('MI'), 'logDice': gettext('logDice'), 't-score': gettext('t-score') diff --git a/messages.pot b/messages.pot index 56de7bc..57d45c6 100644 --- a/messages.pot +++ b/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-03-06 09:29+0100\n" +"POT-Creation-Date: 2024-03-13 09:03+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,96 +26,108 @@ msgid "Frequency" msgstr "" #: app.py:110 -msgid "Number of nodes" +msgid "Frequency in B" msgstr "" #: app.py:111 -msgid "Head node" +msgid "Order" msgstr "" #: app.py:112 -msgid "Grew-match URL" +msgid "Number of nodes" msgstr "" #: app.py:113 -msgid "Order" +msgid "Head node" msgstr "" #: app.py:114 -msgid "MI" +msgid "Grew-match URL" msgstr "" #: app.py:115 -msgid "logDice" +msgid "%DIFF" msgstr "" #: app.py:116 -msgid "t-score" +msgid "OR" +msgstr "" + +#: app.py:117 +msgid "BIC" +msgstr "" + +#: app.py:118 +msgid "MI" msgstr "" #: app.py:119 -msgid "Frequency in A" +msgid "logDice" msgstr "" #: app.py:120 -msgid "Frequency in B" +msgid "t-score" msgstr "" -#: app.py:175 app.py:176 +#: app.py:123 +msgid "Frequency in A" +msgstr "" + +#: app.py:181 app.py:182 msgid "Please insert either input url or file, not both of them." msgstr "" -#: app.py:186 app.py:281 +#: app.py:192 app.py:287 msgid "Incorrect URL!" msgstr "" -#: app.py:188 app.py:189 +#: app.py:194 app.py:195 msgid "Please insert either input url or provide a file." msgstr "" -#: app.py:201 +#: app.py:207 msgid "Please provide information about minimum and maximum tree size." msgstr "" -#: app.py:205 +#: app.py:211 msgid "Tree size minimum should be smaller than tree size maximum." msgstr "" -#: app.py:216 +#: app.py:222 msgid "Please select at least one node type." msgstr "" -#: app.py:221 +#: app.py:227 msgid "Node option" msgstr "" -#: app.py:221 +#: app.py:227 msgid "is not supported. Please enter valid options." msgstr "" -#: app.py:269 app.py:270 +#: app.py:275 app.py:276 msgid "Please insert either compare url or file, not both of them." msgstr "" -#: app.py:293 +#: app.py:299 msgid "Please insert an Integer." msgstr "" -#: app.py:318 +#: app.py:324 msgid "" "Processing failed! Please recheck your settings, e.g. input format or " "head node description." msgstr "" -#: app.py:327 +#: app.py:333 msgid "Frequency " msgstr "" -#: app.py:327 +#: app.py:333 msgid "Frequency in A " msgstr "" -#: app.py:328 templates/base.html:20 templates/base.html:22 +#: app.py:334 templates/base.html:20 templates/base.html:22 #: templates/index.html:8 templates/result.html:15 msgid "code" msgstr "" @@ -125,7 +137,39 @@ msgid "About" msgstr "" #: templates/about.html:10 -msgid "intro_description" +msgid "stark_description" +msgstr "" + +#: templates/about.html:13 +msgid "stark_goal1" +msgstr "" + +#: templates/about.html:13 +msgid "stark_goal2" +msgstr "" + +#: templates/about.html:13 +msgid "user-defined parameters" +msgstr "" + +#: templates/about.html:13 +msgid "stark_goal3" +msgstr "" + +#: templates/about.html:16 +msgid "stark_credits" +msgstr "" + +#: templates/about.html:16 +msgid "SPOT: A Treebank-Driven Approach to the Study of Spoken Slovenian" +msgstr "" + +#: templates/about.html:16 +msgid "stark_credits2" +msgstr "" + +#: templates/about.html:16 +msgid "stark_credits3" msgstr "" #: templates/base.html:23 diff --git a/static/css/style.css b/static/css/style.css index 998eb36..86318a2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -40,7 +40,6 @@ label { } .table-wrapper { - overflow-x: scroll; overflow-y: scroll; height: 600px; border: #555555; @@ -291,6 +290,7 @@ h5 { transform: translateY(-50%); cursor: pointer; padding: 0 1.5em; + font-size: 0.75em; } .em-1 { @@ -322,4 +322,8 @@ footer { .ul-footer { padding: 0 0 !important; +} + +.clarin-footer { + padding: 0 4em !important; } \ No newline at end of file diff --git a/static/images/aris.jpg b/static/images/aris.jpg index 001116f..2f82018 100644 Binary files a/static/images/aris.jpg and b/static/images/aris.jpg differ diff --git a/templates/about.html b/templates/about.html index 0eefac9..5411651 100644 --- a/templates/about.html +++ b/templates/about.html @@ -7,7 +7,13 @@
{{ _('About') }}
- {{ _('intro_description') }} + STARK {{ _('stark_description') }} +
+
+ {{ _('stark_goal1') }}Universal Dependencies{{ _('stark_goal2') }}{{ _('user-defined parameters') }}{{ _('stark_goal3') }} +
+
+ {{ _('stark_credits') }}{{ _('SPOT: A Treebank-Driven Approach to the Study of Spoken Slovenian') }}{{ _('stark_credits2') }}https://github.com/clarinsi/STARK{{ _('stark_credits3') }}
diff --git a/templates/base.html b/templates/base.html index 424e2c3..b74d569 100644 --- a/templates/base.html +++ b/templates/base.html @@ -49,7 +49,7 @@