Sfoglia il codice sorgente

made translatable block page title

bach 3 anni fa
parent
commit
f0b69fa76a

+ 1 - 1
config/sync/language.content_settings.taxonomy_term.showroom.yml

@@ -14,5 +14,5 @@ third_party_settings:
 id: taxonomy_term.showroom
 target_entity_type_id: taxonomy_term
 target_bundle: showroom
-default_langcode: und
+default_langcode: en
 language_alterable: true

+ 4 - 0
config/sync/language/fr/views.view.pricing_products.yml

@@ -3,3 +3,7 @@ display:
     display_options:
       menu:
         title: Tarifs
+  default:
+    display_options:
+      title: Tarifs
+label: Tarifs

+ 7 - 1
config/sync/taxonomy.vocabulary.showroom.yml

@@ -1,7 +1,13 @@
 uuid: f91607a8-ccf5-4dc6-b9eb-f205a9f89d79
 langcode: und
 status: true
-dependencies: {  }
+dependencies:
+  module:
+    - unique_content_field_validation
+third_party_settings:
+  unique_content_field_validation:
+    unique: false
+    unique_text: ''
 name: Showroom
 vid: showroom
 description: ''

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz


File diff suppressed because it is too large
+ 1 - 1
web/themes/custom/materiotheme/assets/dist/report.html


+ 1 - 1
web/themes/custom/materiotheme/assets/scripts/main.js

@@ -251,7 +251,7 @@ export let _v_sitebranding_block, _v_user_block, _v_header_menu,
         store.commit('Common/setPagetitle', title)
       }
       // replace in template the pagetitle by vue binding
-      $h2.innerText = '{{ pagetitle }}'
+      $h2.innerText = '{{ $t("materio."+pagetitle) }}'
       // create the vue
       _v_pagetitle_block = new Vue({
         store,

Some files were not shown because too many files changed in this diff