diff --git a/env/env.obf b/env/env.obf index 5fae2c521ee91..b6395d07f86c7 100644 --- a/env/env.obf +++ b/env/env.obf @@ -5,3 +5,4 @@ COMPOSE_PROJECT_NAME=po_obf PRODUCT_OPENER_FLAVOR=openbeautyfacts PRODUCT_OPENER_FLAVOR_SHORT=obf +ROBOTOFF_URL=https://robotoff.openfoodfacts.org \ No newline at end of file diff --git a/po/common/common.pot b/po/common/common.pot index 188519b1f4d1d..f7e7040c2fc3e 100644 --- a/po/common/common.pot +++ b/po/common/common.pot @@ -6822,82 +6822,6 @@ msgctxt "description" msgid "Description" msgstr "Description" -# Overrides by flavor (e.g. obf) or product type (e.g. beauty) - -# OFF - food - -msgctxt "site_description_off" -msgid "A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world" -msgstr "A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world" - -msgctxt "tagline_off" -msgid "Open Food Facts gathers information and data on food products from around the world." -msgstr "Open Food Facts gathers information and data on food products from around the world." - -msgctxt "footer_tagline_off" -msgid "A collaborative, free and open database of food products from around the world." -msgstr "A collaborative, free and open database of food products from around the world." - -#. make sure the text file exists for your language, otherwise ask @teolemon -msgctxt "get_the_app_link_off" -msgid "/open-food-facts-mobile-app" -msgstr "/open-food-facts-mobile-app" - -# OBF - beauty - -msgctxt "site_description_obf" -msgid "A collaborative, free and open database of ingredients, and information on cosmetic products from around the world" -msgstr "" - -msgctxt "tagline_obf" -msgid "Open Beauty Facts gathers information and data on cosmetic products from around the world." -msgstr "" - -msgctxt "footer_tagline_obf" -msgid "A collaborative, free and open database of cosmetic products from around the world." -msgstr "" - -#. make sure the text file exists for your language, otherwise ask @teolemon -msgctxt "get_the_app_link_obf" -msgid "/open-beauty-facts-mobile-app" -msgstr "" - -msgctxt "footer_and_the_facebook_group_obf" -msgid "and the Facebook group for contributors" -msgstr "" - -msgctxt "search_description_opensearch_obf" -msgid "Open Beauty Facts product search" -msgstr "" - -msgctxt "warning_not_complete_obf" -msgid "This product page is not complete. You can help to complete it by editing it and adding more data from the photos we have, or by taking more photos using the app for Android or iPhone/iPad. Thank you!" -msgstr "" - -msgctxt "brands_example_beauty" -msgid "Nivea, Nivea Men" -msgstr "" - -msgctxt "categories_example_beauty" -msgid "Anti-dandruff shampoo, Whitening toothpaste" -msgstr "" - -msgctxt "emb_codes_example_beauty" -msgid "EMB 53062" -msgstr "" - -msgctxt "generic_name_example_beauty" -msgid "Anti-dandruff shampoo" -msgstr "" - -msgctxt "product_name_example_beauty" -msgid "Anti-Perspirant Stress Protect" -msgstr "" - -msgctxt "ingredients_text_example_beauty" -msgid "AQUA/WATER, SODIUM LAURETH SULFATE, DISODIUM COCOAMPHODIACETATE, GLYCOL DISTEARATE, COCAMIDE MEA" -msgstr "" - -msgctxt "report_problem_navigation" -msgid "Report a problem" -msgstr "Report a problem" +msgctxt "skip_to_content" +msgid "Skip to Content" +msgstr "Skip to Content" \ No newline at end of file diff --git a/po/common/en.po b/po/common/en.po index f01da80cfbee1..32c41609f382d 100644 --- a/po/common/en.po +++ b/po/common/en.po @@ -6840,6 +6840,10 @@ msgctxt "description" msgid "Description" msgstr "Description" +msgctxt "skip_to_content" +msgid "Skip to Content" +msgstr "Skip to Content" + # Overrides by flavor (e.g. obf) or product type (e.g. beauty) # OFF diff --git a/po/common/fr.po b/po/common/fr.po index 83226e51dc05b..0b99d1a336f90 100644 --- a/po/common/fr.po +++ b/po/common/fr.po @@ -6814,6 +6814,10 @@ msgctxt "sweetener" msgid "sweetener" msgstr "édulcorant" +msgctxt "skip_to_content" +msgid "Skip to Content" +msgstr "Aller au contenu" + #. make sure the text file exists for your language, otherwise ask @teolemon msgctxt "get_the_app_link_off" msgid "/open-food-facts-mobile-app" @@ -6915,3 +6919,4 @@ msgstr "AQUA / EAU, LAURETH SULFATE DE SODIUM, COCOAMPHODIACETATE DISODIQUE, DIS msgctxt "report_problem_navigation" msgid "Signaler un problème" msgstr "Signaler un problème" + diff --git a/scss/_topbar.scss b/scss/_topbar.scss index 501f7d00973de..262dba39c95d3 100644 --- a/scss/_topbar.scss +++ b/scss/_topbar.scss @@ -353,3 +353,24 @@ } } } + +//skip to content styling +.skip a { + background: #FFFFFF; + left: 0; + padding: 6px; + position: absolute; + top: -40px; + -webkit-transition: top 1s ease-out; + -o-transition: top 1s ease-out; + transition: top 1s ease-out; + z-index: 1; + + &:focus { + top:20px; + color: #000000; + -webkit-text-decoration-style: solid; + text-decoration-style: solid; + z-index: 6; + } +} diff --git a/templates/web/common/site_layout.tt.html b/templates/web/common/site_layout.tt.html index 4babd89a6a6aa..1a6017039085d 100644 --- a/templates/web/common/site_layout.tt.html +++ b/templates/web/common/site_layout.tt.html @@ -28,6 +28,7 @@ [% google_analytics %] +
diff --git a/templates/web/pages/export_products/export_products.tt.html b/templates/web/pages/export_products/export_products.tt.html index 06e58910f7766..9e2ace587d3a2 100644 --- a/templates/web/pages/export_products/export_products.tt.html +++ b/templates/web/pages/export_products/export_products.tt.html @@ -22,7 +22,6 @@ [% IF allow_submit %] -