From 8651d18669a3e8db1e9c707748f07f94859a5790 Mon Sep 17 00:00:00 2001 From: Adrian Date: Wed, 17 Nov 2021 22:42:09 +0200 Subject: [PATCH] various spelling fixes, some terminology fixes --- composer.lock | 2 +- src/README.txt | 2 +- src/assets/css/spectrum.css | 2 +- src/assets/scss/_comments.scss | 4 +- src/assets/scss/_footer.scss | 4 +- src/assets/scss/_gutenberg-support.scss | 4 +- src/assets/scss/_header-taxonomy.scss | 6 +- src/assets/scss/_simple-search.scss | 2 +- src/assets/scss/_single-item-collection.scss | 10 +- src/assets/scss/editor-style.scss | 144 +++++++++--------- src/assets/scss/style.scss | 28 ++-- src/functions.php | 44 +++--- .../class-tainacanthemecollectioncolor.php | 2 +- src/functions/customizer.php | 10 +- src/functions/customizer/footer-info.php | 2 +- src/functions/customizer/header-general.php | 21 ++- src/functions/customizer/header-search.php | 14 +- .../tainacan-items-page-filters-panel.php | 4 +- .../tainacan-items-page-pagination.php | 4 +- .../tainacan-items-page-search-area.php | 8 +- .../tainacan-single-item-page-document.php | 2 +- .../tainacan-single-item-page-general.php | 9 +- .../tainacan-single-item-page-metadata.php | 4 +- src/functions/enqueues.php | 4 +- src/languages/pt_BR.po | 36 ++--- src/languages/tainacan-interface.pot | 36 ++--- 26 files changed, 203 insertions(+), 205 deletions(-) diff --git a/composer.lock b/composer.lock index f16d76f..007485a 100644 --- a/composer.lock +++ b/composer.lock @@ -22,7 +22,7 @@ }, "type": "library", "notification-url": "https://packagist.org/downloads/", - "description": "This is the atualized Slick Slider used in Wordpress", + "description": "This is the atualized Slick Slider used in WordPress", "time": "2018-06-29T17:54:50+00:00" }, { diff --git a/src/README.txt b/src/README.txt index b7cbb17..5905ea1 100644 --- a/src/README.txt +++ b/src/README.txt @@ -66,5 +66,5 @@ License: CC0 4. https://pxhere.com/en/photo/1432253 License: CC0 -Bundled images, Copyright Taincan.org +Bundled images, Copyright Tainacan.org License: CC0 1.0 Universal (CC0 1.0) diff --git a/src/assets/css/spectrum.css b/src/assets/css/spectrum.css index fe9ec77..4b9d16b 100644 --- a/src/assets/css/spectrum.css +++ b/src/assets/css/spectrum.css @@ -395,7 +395,7 @@ See http://bgrins.github.io/spectrum/themes/ for instructions. line-height: 16px; float:left; font-size:10px; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } .sp-preview { position:relative; diff --git a/src/assets/scss/_comments.scss b/src/assets/scss/_comments.scss index 7b03102..049e53b 100644 --- a/src/assets/scss/_comments.scss +++ b/src/assets/scss/_comments.scss @@ -1,5 +1,5 @@ #comments{ - border-top-color: var(--tainacan-interface--link-color, #298596) !important; + border-top-color: var(--tainacan-interface--link-color, #298596) !important; div[for=comment]{ span{ @@ -149,7 +149,7 @@ } } .comment-reply-link, .comment-edit-link{ - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); font-size: 0.75rem; } } diff --git a/src/assets/scss/_footer.scss b/src/assets/scss/_footer.scss index e226fed..43df19d 100644 --- a/src/assets/scss/_footer.scss +++ b/src/assets/scss/_footer.scss @@ -10,7 +10,7 @@ footer.tainacan-footer { } } .tainacan-footer-area-separator { - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); } .tainacan-footer-widgets-area { @@ -172,7 +172,7 @@ footer.tainacan-footer { } } &.tainacan-footer-colored { - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); a { color: #e6f6f8; } diff --git a/src/assets/scss/_gutenberg-support.scss b/src/assets/scss/_gutenberg-support.scss index 9d77ff7..3a14299 100644 --- a/src/assets/scss/_gutenberg-support.scss +++ b/src/assets/scss/_gutenberg-support.scss @@ -91,12 +91,12 @@ border-color: transparent; } &:not(.is-style-outline) .btn.btn-jelly-bean { - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); } } .wp-block-button.is-style-outline .btn { background: transparent !important; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); border: 1px solid #555758 !important; } .wp-block-button.aligncenter, diff --git a/src/assets/scss/_header-taxonomy.scss b/src/assets/scss/_header-taxonomy.scss index 2f7565c..694a19f 100644 --- a/src/assets/scss/_header-taxonomy.scss +++ b/src/assets/scss/_header-taxonomy.scss @@ -64,7 +64,7 @@ } > .page-header-content-title { width: 100%; - border-color: var(--tainacan-interface--link-color, #298596) !important; + border-color: var(--tainacan-interface--link-color, #298596) !important; .page-header-title { color: #01295c; font: { @@ -98,7 +98,7 @@ padding-right: 0; } a { - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); font: { size: inherit; weight: 400; @@ -149,7 +149,7 @@ } } .icon-export { - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); color: #fff; border-radius: 100%; padding: .282rem .4rem; diff --git a/src/assets/scss/_simple-search.scss b/src/assets/scss/_simple-search.scss index 017147b..2dd751b 100644 --- a/src/assets/scss/_simple-search.scss +++ b/src/assets/scss/_simple-search.scss @@ -6,7 +6,7 @@ box-shadow: none; } &::after { - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } } &.dropdown-sorting{ diff --git a/src/assets/scss/_single-item-collection.scss b/src/assets/scss/_single-item-collection.scss index cf830b9..acac0e5 100644 --- a/src/assets/scss/_single-item-collection.scss +++ b/src/assets/scss/_single-item-collection.scss @@ -24,7 +24,7 @@ .title-content-items { font-size: 1.125rem !important; font-weight: 500; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); margin-left: 4.16666666667%; margin-right: 4.16666666667%; margin-left: 4.16666666667vw; @@ -154,7 +154,7 @@ position: relative; .tainacan-media-component { - --swiper-navigation-color: var(--tainacan-interface--link-color, #298596); + --swiper-navigation-color: var(--tainacan-interface--link-color, #298596); } .tainacan-item-file-download { @@ -168,7 +168,7 @@ right: calc(50% - 18px); cursor: pointer; font-size: 0; - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); color: white; transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.3s ease; @@ -315,7 +315,7 @@ width: 45px; line-height: 0px; font-size: 3.75rem; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); cursor: pointer; background: transparent; top: 50%; @@ -392,7 +392,7 @@ .slick-current{ font-weight: bold; img { - border-bottom: 4px solid var(--tainacan-interface--link-color, #298596); + border-bottom: 4px solid var(--tainacan-interface--link-color, #298596); } } } diff --git a/src/assets/scss/editor-style.scss b/src/assets/scss/editor-style.scss index 85d9d8a..17f1b7f 100644 --- a/src/assets/scss/editor-style.scss +++ b/src/assets/scss/editor-style.scss @@ -10,7 +10,7 @@ .editor-styles-wrapper, .components-modal__screen-overlay { font-family: 'Roboto', sans-serif !important; - + // Register palette classes for colors .has-carmine-color { color: #8c442c } .has-carmine-background-color { background-color: #8c442c } @@ -100,9 +100,9 @@ padding: 0; max-width: calc(1400px - 4.1666667%); width: calc(100% - 8.33333%); - border-bottom: 2px solid var(--tainacan-interface--link-color, #298596); - border-bottom: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); - + border-bottom: 2px solid var(--tainacan-interface--link-color, #298596); + border-bottom: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + &>.wp-block { margin: 0 !important; padding: 0px; @@ -111,11 +111,11 @@ .wp-block.editor-post-title__block, .editor-post-title__block .editor-post-title__input{ font-size: 1.25rem; - font-family: 'Roboto', sans-serif; + font-family: 'Roboto', sans-serif; textarea { padding: 3px 6px; - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } } @@ -147,10 +147,10 @@ margin-right: 0; padding: 0; } - .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child) { + .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child) { padding-left: 2.0833333%; // Half column } - .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child) { + .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child) { padding-right: 2.0833333%; // Half column } .wp-block-columns>.wp-block-column[data-type="core/column"]>.wp-block { @@ -165,8 +165,8 @@ .wp-block[data-type="core/heading"] h1, h1.wp-block[data-type="core/heading"] { font-size: 1.802rem; - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); padding-top: .4rem; margin-bottom: .5rem; } @@ -247,14 +247,14 @@ line-height: 1.2rem; } .components-button.is-button.is-primary { - background-color: var(--tainacan-interface--link-color, #298596); - background-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } .components-button.is-button.is-default { background: white; border: 1px solid #555758; - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } .components-icon-button:hover:not(.is-default), .components-icon-button:focus:not(.is-default), @@ -275,8 +275,8 @@ } .wp-block-button__link { &:not(.has-background) { - background-color: var(--tainacan-interface--link-color, #298596); - background-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } border-radius: 4px; font-size: 0.875rem; @@ -286,8 +286,8 @@ background-color: transparent !important; border: 1px solid #555758; &:not(.has-text-color) { - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } } .is-style-squared .wp-block-button__link { @@ -295,37 +295,37 @@ } /* Text input */ - .components-modal__content .input-control, - .components-modal__content input[type="date"], - .components-modal__content input[type="datetime-local"], - .components-modal__content input[type="datetime"], - .components-modal__content input[type="email"], - .components-modal__content input[type="month"], - .components-modal__content input[type="number"], + .components-modal__content .input-control, + .components-modal__content input[type="date"], + .components-modal__content input[type="datetime-local"], + .components-modal__content input[type="datetime"], + .components-modal__content input[type="email"], + .components-modal__content input[type="month"], + .components-modal__content input[type="number"], .components-modal__content input[type="password"], - .components-modal__content input[type="search"], - .components-modal__content input[type="tel"], - .components-modal__content input[type="text"], - .components-modal__content input[type="time"], - .components-modal__content input[type="url"], - .components-modal__content input[type="week"], - .components-modal__content select, - .components-modal__content textarea, + .components-modal__content input[type="search"], + .components-modal__content input[type="tel"], + .components-modal__content input[type="text"], + .components-modal__content input[type="time"], + .components-modal__content input[type="url"], + .components-modal__content input[type="week"], + .components-modal__content select, + .components-modal__content textarea, .components-popover .input-control, - .components-popover input[type="date"], - .components-popover input[type="datetime-local"], - .components-popover input[type="datetime"], - .components-popover input[type="email"], - .components-popover input[type="month"], - .components-popover input[type="number"], + .components-popover input[type="date"], + .components-popover input[type="datetime-local"], + .components-popover input[type="datetime"], + .components-popover input[type="email"], + .components-popover input[type="month"], + .components-popover input[type="number"], .components-popover input[type="password"], - .components-popover input[type="search"], - .components-popover input[type="tel"], - .components-popover input[type="text"], - .components-popover input[type="time"], - .components-popover input[type="url"], - .components-popover input[type="week"], - .components-popover select, + .components-popover input[type="search"], + .components-popover input[type="tel"], + .components-popover input[type="text"], + .components-popover input[type="time"], + .components-popover input[type="url"], + .components-popover input[type="week"], + .components-popover select, .components-popover textarea { border-radius: 0; border-color: #cbcbcb; @@ -375,7 +375,7 @@ height: 32px; margin: 0 12px 32px 12px; padding: 0; - border-bottom: 1px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-bottom: 1px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); .components-modal__header-heading, h1 { @@ -398,7 +398,7 @@ font-family: 'Roboto', sans-serif; } .wp-block-quote:not(.is-style-large):not(.is-large) { - border-left: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-left: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } .wp-block-quote__citation { font-weight: 500; @@ -411,8 +411,8 @@ /* Pullquote */ .wp-block-pullquote { &:not(.is-style-solid-color) { - border-top: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); - border-bottom: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-top: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-bottom: 2px solid var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } padding: 0; @@ -428,8 +428,8 @@ } :not(.has-text-color) .block-library-pullquote__content.editor-rich-text p, :not(.has-text-color) .rich-text.block-editor-rich-text__editable p { - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } .wp-block-pullquote__citation { color: #555758; @@ -440,11 +440,11 @@ } } - /* Separator */ + /* Separator */ .wp-block-separator { &:not(.has-background-color) { - border-color: var(--tainacan-interface--link-color, #298596); - border-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-color: var(--tainacan-interface--link-color, #298596); + border-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } width: 50%; max-width: 300px; @@ -453,8 +453,8 @@ } &.is-style-dots { &:not(.has-background-color)::before { - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } &::before { font-weight: 600; @@ -472,8 +472,8 @@ /* Code */ .wp-block-code textarea { - color: var(--tainacan-interface--link-color, #298596); - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } /* Tables */ @@ -489,7 +489,7 @@ /* Tainacan Selection Modal */ .wp-block-tainacan-modal.dynamic-modal { - + iframe { width: calc(100% + 64px); height: calc(100% - 104px); @@ -532,30 +532,30 @@ /* Extra title group class, that can be added for styling special headings */ .wp-block-group.tainacan-group-heading { .wp-block-heading { - color: var(--tainacan-interface--link-color, #298596) !important; - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)) !important; + color: var(--tainacan-interface--link-color, #298596) !important; + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)) !important; } h1:not(.has-text-color), h2:not(.has-text-color), h3:not(.has-text-color), h4:not(.has-text-color) { - color: var(--tainacan-interface--link-color, #298596) !important; - color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + color: var(--tainacan-interface--link-color, #298596) !important; + color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } h1.wp-block-heading, - h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { + h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { font-size: 1.6rem; } h2.wp-block-heading, - h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { + h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { font-size: 1.5rem; } h3.wp-block-heading, - h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { + h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { font-size: 1.25rem; } h4.wp-block-heading, - h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { + h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size) { font-size: 1.125rem; } p { @@ -567,8 +567,8 @@ hr.wp-block-separator:not(.is-style-wide) { margin-left: 0; max-width: 200px; - border-color: var(--tainacan-interface--link-color, #298596); - border-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); + border-color: var(--tainacan-interface--link-color, #298596); + border-color: var(--tainacan-color-default, var(--tainacan-interface--link-color, #298596)); } hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { border-width: 2px; @@ -596,4 +596,4 @@ border-width: 2px; height: 3px; } -} \ No newline at end of file +} diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index d36e2b1..19b9a72 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -19,9 +19,9 @@ body{ font-family: 'Roboto' !important; overflow-x: hidden; a{ - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); &:hover{ - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } } &.error404 { @@ -73,7 +73,7 @@ body{ .wp-block-code { code { font-size: 0.875rem; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); word-break: break-word; } } @@ -95,7 +95,7 @@ body{ font-style: italic; } &:not(.is-style-large) { - border-left: 2px solid var(--tainacan-interface--link-color, #298596); + border-left: 2px solid var(--tainacan-interface--link-color, #298596); } &.is-style-large { font-size: 1.375rem; @@ -129,7 +129,7 @@ body{ h2:not(.has-text-color), h3:not(.has-text-color), h4:not(.has-text-color) { - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } p { font-style: italic; @@ -334,7 +334,7 @@ body{ padding: 0; &:not(.is-style-solid-color) { - border-color:var(--tainacan-interface--link-color, #298596); + border-color:var(--tainacan-interface--link-color, #298596); border-top-width: 2px; border-bottom-width: 2px; border-top-style: solid; @@ -350,7 +350,7 @@ body{ font-weight: 500; } :not(.has-text-color) p { - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } cite { color: #555758; @@ -503,7 +503,7 @@ body.loading-content main:before { right: 4.16666666667%; right: 4.16666666667vw; background: rgb(0, 0, 0); - background: var(--tainacan-interface--link-color, #298596); + background: var(--tainacan-interface--link-color, #298596); width: 36px; height: 36px; text-decoration: none; @@ -578,7 +578,7 @@ nav { } &[data-toggle='dropdown']{ &::after{ - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); margin-left: 5px; } } @@ -729,7 +729,7 @@ nav { white-space: nowrap; position: relative; &::after{ - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); margin-left: 10px; margin-bottom: -2px; } @@ -746,7 +746,7 @@ nav { position: absolute; left: 0; bottom: 0.375rem; - background-color: var(--tainacan-interface--link-color, #298596); + background-color: var(--tainacan-interface--link-color, #298596); } } &.dropdown-item { @@ -771,7 +771,7 @@ nav { &.current_page_item, &.current-menu-item { > a { - border-bottom: 1px solid var(--tainacan-interface--link-color, #298596); + border-bottom: 1px solid var(--tainacan-interface--link-color, #298596); padding: 0; margin-top: 0.5rem; padding-right: .5rem; @@ -826,7 +826,7 @@ nav { .breadcrumb-item + .breadcrumb-item{ &:before{ content: ">"; - color: var(--tainacan-interface--link-color, #298596); + color: var(--tainacan-interface--link-color, #298596); } } } @@ -1168,7 +1168,7 @@ nav { .tainacan-title{ .tainacan-title-page{ margin-bottom: 0.75rem; - border-bottom: 2px solid var(--tainacan-interface--link-color, #298596); + border-bottom: 2px solid var(--tainacan-interface--link-color, #298596); .title-page h1{ font-size: 1.25rem !important; font-weight: bold; diff --git a/src/functions.php b/src/functions.php index c7462b0..7050b64 100644 --- a/src/functions.php +++ b/src/functions.php @@ -14,9 +14,9 @@ if ( ! function_exists( 'tainacan_setup' ) ) { * Observe que esta função está conectada ao gancho (`hook`) `after_setup_theme`, que é executado antes do gancho de init. */ function tainacan_setup() { - + load_theme_textdomain( 'tainacan-interface', get_template_directory() . '/languages' ); - + /** * Display in gutenberg plugin the full width for image */ @@ -29,7 +29,7 @@ if ( ! function_exists( 'tainacan_setup' ) ) { * Removes support for Gutenberg widgets editor, by now... */ remove_theme_support( 'widgets-block-editor' ); - + /** * Custom header to change the banner image */ @@ -86,12 +86,12 @@ if ( ! function_exists( 'tainacan_setup' ) ) { ' )); } - + /** * Gutenberg support */ $default_color = '#298596'; - + if (function_exists('tainacan_get_color_scheme')) { $color_scheme = tainacan_get_color_scheme(); @@ -183,7 +183,7 @@ add_action( 'after_setup_theme', 'tainacan_setup' ); function tainacan_customize_editor_css() { $default_color = '#298596'; - + if (function_exists('tainacan_get_color_scheme')) { $color_scheme = tainacan_get_color_scheme(); @@ -194,9 +194,9 @@ function tainacan_customize_editor_css() { ?> set( 'post_type', array_merge( $existing_post_types, ['post', 'page', 'tainacan-collection'], $collections_post_types ) ); } else if ( isset($_GET['onlypages']) && $_GET['onlypages'] && $query->is_main_query() && $query->is_search() && ! is_admin() ) { $query->set( 'post_type', 'pages' ); @@ -315,7 +315,7 @@ function tainacan_block_patterns_init() { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ((is_plugin_active('gutenberg/gutenberg.php') || $wp_version >= '5') && function_exists('register_block_pattern_category')) { - register_block_pattern_category( + register_block_pattern_category( 'tainacan-interface', array( 'label' => _x( 'Tainacan Interface', 'Block pattern category', 'tainacan-interface' ) ) ); } @@ -325,9 +325,9 @@ function tainacan_block_patterns_init() { 'tainacan-interface/tainacan-heading-section-pattern', array( 'title' => __( 'Tainacan heading section', 'tainacan-interface' ), - 'description' => _x( 'A left-aligned heading section containing a light sub-heading and an underline bellow the title.', 'Block pattern description', 'tainacan-interface' ), + 'description' => _x( 'A left-aligned heading section containing a light sub-heading and an underline below the title.', 'Block pattern description', 'tainacan-interface' ), 'content' => '

' . esc_html__( 'Section title', 'tainacan-interface' ) . '

' . esc_html__( 'Section optional description...', 'tainacan-interface' ) . '


', - 'categories' => array('tainacan-interface') + 'categories' => array('tainacan-interface') ) ); register_block_pattern( @@ -338,7 +338,7 @@ function tainacan_block_patterns_init() { 'content' => '
- +
@@ -358,13 +358,13 @@ function tainacan_block_patterns_init() {
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

- +

' .esc_html__( 'View more...', 'tainacan-interface' ) . '

@@ -402,13 +402,13 @@ function tainacan_block_patterns_init() {
- +

' . esc_html__( 'Section title', 'tainacan-interface' ) . '

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

@@ -420,7 +420,7 @@ function tainacan_block_patterns_init() {

Sed at orci ex. Nulla pulvinar, lorem vel eleifend maximus, nunc elit porta felis, id placerat orci dui sit amet ligula. Mauris fermentum dui quam, eget blandit ligula vulputate sit amet. Integer aliquet eget urna ac tempor. Nunc viverra faucibus magna ac aliquet. Integer ullamcorper lacinia elit quis gravida. Duis placerat pulvinar arcu nec faucibus. Sed sit amet enim iaculis, facilisis est non, venenatis nibh.

- +

' .esc_html__( 'View more...', 'tainacan-interface' ) . '

@@ -539,7 +539,7 @@ add_action( 'pre_get_posts', 'tainacan_theme_collection_query' ); function tainacan_customizer_gutenberg_colors() { // Retrieve the link color from the Customizer. - $link_color = get_theme_mod( 'tainacan_link_color', 'default' ); + $link_color = get_theme_mod( 'tainacan_link_color', 'default' ); // Build styles. $css = ''; @@ -555,7 +555,7 @@ function tainacan_editor_styles() { // Adds Tainacan editor style for Gutenberg. wp_enqueue_style( 'tainacan-editor-style', get_template_directory_uri() . '/editor-style.css', [], TAINACAN_INTERFACE_VERSION ); - + // Adds Robot fonts to Gutenberg. wp_enqueue_style( 'RobotoFonts', 'https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i' ); diff --git a/src/functions/class-tainacanthemecollectioncolor.php b/src/functions/class-tainacanthemecollectioncolor.php index 4518a1a..c6750d4 100644 --- a/src/functions/class-tainacanthemecollectioncolor.php +++ b/src/functions/class-tainacanthemecollectioncolor.php @@ -46,7 +46,7 @@ class TainacanThemeCollectionColor { ?>
-

+


diff --git a/src/functions/customizer.php b/src/functions/customizer.php index 92e0ab1..aa58ada 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -17,14 +17,14 @@ function tainacan_customize_register( $wp_customize ) { */ $wp_customize->add_panel( 'tainacan_header_settings', array( 'title' => __( 'Site header settings', 'tainacan-interface' ), - 'description' => __( 'Settings related to the site header, such as the menu and logo position.', 'tainacan-interface' ), + 'description' => __( 'Settings related to the site header, such as the menu and logo position.', 'tainacan-interface' ), 'priority' => 40, // Mixed with top-level-section hierarchy., 'capability' => 'edit_theme_options' ) ); /** - * Bellow are customizer options exclusivelly related to Tainacan pages. + * Below are customizer options exclusivelly related to Tainacan pages. */ if ( defined ( 'TAINACAN_VERSION' ) ) { @@ -33,7 +33,7 @@ function tainacan_customize_register( $wp_customize ) { */ $wp_customize->add_panel( 'tainacan_single_item_page', array( 'title' => __( 'Tainacan single item page', 'tainacan-interface' ), - 'description' => __( 'Settings related to Tainacan single Items page only.', 'tainacan-interface' ), + 'description' => __( 'Settings related to Tainacan single Items page only.', 'tainacan-interface' ), 'priority' => 160, // Mixed with top-level-section hierarchy., 'capability' => 'edit_theme_options' ) ); @@ -46,7 +46,7 @@ function tainacan_customize_register( $wp_customize ) { */ $wp_customize->add_panel( 'tainacan_items_page', array( 'title' => __( 'Tainacan items list page', 'tainacan-interface' ), - 'description' => __( 'Settings related to Tainacan items list pages, such as the repository items list, the collection item list and the term items list. Some settings ins this section may be overrided by collection settings or user preference.', 'tainacan-interface' ), + 'description' => __( 'Settings related to Tainacan items list pages, such as the repository items list, the collection item list and the term items list. Some settings ins this section may be overrided by collection settings or user preference.', 'tainacan-interface' ), 'priority' => 160 // Mixed with top-level-section hierarchy., ) ); @@ -89,4 +89,4 @@ require get_template_directory() . '/functions/customizer/tainacan-items-page-se require get_template_directory() . '/functions/customizer/tainacan-items-page-filters-panel.php'; require get_template_directory() . '/functions/customizer/tainacan-items-page-pagination.php'; require get_template_directory() . '/functions/customizer/footer-info.php'; -require get_template_directory() . '/functions/customizer/social-share.php'; \ No newline at end of file +require get_template_directory() . '/functions/customizer/social-share.php'; diff --git a/src/functions/customizer/footer-info.php b/src/functions/customizer/footer-info.php index a538d95..538a5a5 100644 --- a/src/functions/customizer/footer-info.php +++ b/src/functions/customizer/footer-info.php @@ -127,7 +127,7 @@ if ( !function_exists('tainacan_interface_customize_register_footer_info') ) { 'settings' => 'tainacan_display_powered', 'section' => 'tainacan_interface_footer_info', 'label' => __( 'Display "Proudly Powered by..."', 'tainacan-interface' ), - 'description' => __( 'This checkbox shows the "Proudly Powered by Tainacan and Wordpress" sentence.', 'tainacan-interface' ), + 'description' => __( 'This checkbox shows the "Proudly Powered by WordPress and Tainacan" sentence.', 'tainacan-interface' ), ) ); diff --git a/src/functions/customizer/header-general.php b/src/functions/customizer/header-general.php index 50f2d06..e7e9542 100644 --- a/src/functions/customizer/header-general.php +++ b/src/functions/customizer/header-general.php @@ -3,12 +3,12 @@ /** * Functions that register the options for the customizer * related to the header general settings - * + * */ if ( !function_exists('tainacan_interface_customize_register_header_general') ) { function tainacan_interface_customize_register_header_general( $wp_customize ) { - + /** * Adds section to control Header search settings */ @@ -47,9 +47,9 @@ if ( !function_exists('tainacan_interface_customize_register_header_general') ) 'type' => 'checkbox', 'settings' => 'tainacan_fixed_header', 'section' => 'tainacan_header_general', - 'label' => __( 'Fix header position after scroll', 'tainacan-interface' ) + 'label' => __( 'Fix header position during scroll', 'tainacan-interface' ) ) ); - + /** * Allows setting min heigth of site header --------------------------------------------------------- */ @@ -205,20 +205,19 @@ function tainacan_header_settings_style_output() { .tainacan-logo .logo { max-width: 100% !important; } - }' . ( $is_fixed_header ? - 'body nav.navbar { + }' . ( $is_fixed_header ? + 'body nav.navbar { position: sticky; z-index: 9999; } - body:not(.admin-bar) nav.navbar { + body:not(.admin-bar) nav.navbar { top: 0; } - body.admin-bar nav.navbar { + body.admin-bar nav.navbar { top: 32px; - }' + }' : ''); - + echo ''; } add_action( 'wp_head', 'tainacan_header_settings_style_output'); - diff --git a/src/functions/customizer/header-search.php b/src/functions/customizer/header-search.php index 048c216..8956b99 100644 --- a/src/functions/customizer/header-search.php +++ b/src/functions/customizer/header-search.php @@ -3,12 +3,12 @@ /** * Functions that register the options for the customizer * related to the header search settings - * + * */ if ( !function_exists('tainacan_interface_customize_register_header_search') ) { function tainacan_interface_customize_register_header_search( $wp_customize ) { - + /** * Adds section to control Header search settings */ @@ -49,7 +49,7 @@ if ( !function_exists('tainacan_interface_customize_register_header_search') ) { 'settings' => 'tainacan_search_global_label', 'section' => 'tainacan_header_search', 'label' => __( 'Label for "Global" search option', 'tainacan-interface' ), - 'description' => __( 'Includes all kinds of post types. This option will only be visible if at least one of the bellow are selected.', 'tainacan-interface') + 'description' => __( 'Includes all kinds of post types. This option will only be visible if at least one of the below are selected.', 'tainacan-interface') ) ); /** @@ -68,10 +68,10 @@ if ( !function_exists('tainacan_interface_customize_register_header_search') ) { 'settings' => 'tainacan_search_default_option', 'section' => 'tainacan_header_search', 'label' => __( 'Default search option', 'tainacan-interface' ), - 'description' => __( 'This option will only be valid if at least one of the bellow are selected, otherwise the default search happens on WordPress posts.', 'tainacan-interface'), + 'description' => __( 'This option will only be valid if at least one of the below are selected, otherwise the default search happens on WordPress posts.', 'tainacan-interface'), 'choices' => tainacan_get_search_options() ) ); - + // Option to search directly on repository items list $wp_customize->add_setting( 'tainacan_search_on_items', array( 'type' => 'theme_mod', @@ -83,7 +83,7 @@ if ( !function_exists('tainacan_interface_customize_register_header_search') ) { 'type' => 'checkbox', 'settings' => 'tainacan_search_on_items', 'section' => 'tainacan_header_search', - 'label' => __( 'Display option to search on tainacan items repository list', 'tainacan-interface' ) + 'label' => __( 'Display option to search on Tainacan items repository list', 'tainacan-interface' ) ) ); /** @@ -113,7 +113,7 @@ if ( !function_exists('tainacan_interface_customize_register_header_search') ) { 'type' => 'checkbox', 'settings' => 'tainacan_search_on_collections', 'section' => 'tainacan_header_search', - 'label' => __( 'Display option to search on tainacan collections list', 'tainacan-interface' ) + 'label' => __( 'Display option to search on Tainacan collections list', 'tainacan-interface' ) ) ); /** diff --git a/src/functions/customizer/tainacan-items-page-filters-panel.php b/src/functions/customizer/tainacan-items-page-filters-panel.php index 07ffe14..c28f355 100644 --- a/src/functions/customizer/tainacan-items-page-filters-panel.php +++ b/src/functions/customizer/tainacan-items-page-filters-panel.php @@ -56,7 +56,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 1, // Within the section. 'section' => 'tainacan_items_page_filters_panel', 'label' => __( 'Hide the "Hide filters" button.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the "Hide filters" button for users.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the "Hide filters" button for users.', 'tainacan-interface' ) ) ); /** @@ -74,7 +74,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 8, // Within the section. 'section' => 'tainacan_items_page_filters_panel', 'label' => __( 'Show Filters button inside the search control bar.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do display the Filters button inside the search control bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to display the Filters button inside the search control bar.', 'tainacan-interface' ) ) ); /** diff --git a/src/functions/customizer/tainacan-items-page-pagination.php b/src/functions/customizer/tainacan-items-page-pagination.php index 96929d1..1bcb71c 100644 --- a/src/functions/customizer/tainacan-items-page-pagination.php +++ b/src/functions/customizer/tainacan-items-page-pagination.php @@ -51,7 +51,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 6, // Within the section. 'section' => 'tainacan_items_page_pagination', 'label' => __( 'Hide the "Items per Page" button.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the "Items per Page" button on the pagination bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the "Items per Page" button on the pagination bar.', 'tainacan-interface' ) ) ); /** @@ -69,7 +69,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 7, // Within the section. 'section' => 'tainacan_items_page_pagination', 'label' => __( 'Hide the "Go to Page" button.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the "Go to Page" button on the pagination bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the "Go to Page" button on the pagination bar.', 'tainacan-interface' ) ) ); } diff --git a/src/functions/customizer/tainacan-items-page-search-area.php b/src/functions/customizer/tainacan-items-page-search-area.php index 4be43cd..4233e86 100644 --- a/src/functions/customizer/tainacan-items-page-search-area.php +++ b/src/functions/customizer/tainacan-items-page-search-area.php @@ -65,7 +65,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 3, // Within the section. 'section' => 'tainacan_items_page_search_area', 'label' => __( 'Hide the Search block.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the search block on the control bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the search block on the control bar.', 'tainacan-interface' ) ) ); $wp_customize->selective_refresh->add_partial( 'tainacan_items_page_hide_search', array( 'selector' => '.theme-items-list .search-area', @@ -88,7 +88,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 3, // Within the section. 'section' => 'tainacan_items_page_search_area', 'label' => __( 'Hide the Advanced Search link.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the advanced search link on the control bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the advanced search link on the control bar.', 'tainacan-interface' ) ) ); $wp_customize->selective_refresh->add_partial( 'tainacan_items_page_hide_advanced_search', array( 'selector' => '.theme-items-list .search-area a.has-text-secondary ', @@ -111,7 +111,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 4, // Within the section. 'section' => 'tainacan_items_page_search_area', 'label' => __( 'Hide the "Sort by" button.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the "Sort by" button on the control bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the "Sort by" button on the control bar.', 'tainacan-interface' ) ) ); $wp_customize->selective_refresh->add_partial( 'tainacan_items_page_hide_sort_by_button', array( 'selector' => '.theme-items-list #tainacanSortByDropdown ', @@ -134,7 +134,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_items_page 'priority' => 5, // Within the section. 'section' => 'tainacan_items_page_search_area', 'label' => __( 'Hide the "View as..." button.', 'tainacan-interface' ), - 'description' => __( 'Toggle to do not show the "View as..." button, also referred to as "Exposers modal" on the control bar.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not show the "View as..." button, also referred to as "Exposers modal" on the control bar.', 'tainacan-interface' ) ) ); $wp_customize->selective_refresh->add_partial( 'tainacan_items_page_hide_exposers_button', array( 'selector' => '.theme-items-list #tainacanExposersButton ', diff --git a/src/functions/customizer/tainacan-single-item-page-document.php b/src/functions/customizer/tainacan-single-item-page-document.php index 29eb4aa..24ddaa9 100644 --- a/src/functions/customizer/tainacan-single-item-page-document.php +++ b/src/functions/customizer/tainacan-single-item-page-document.php @@ -164,7 +164,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_single_ite 'priority' => 3, // Within the section. 'section' => 'tainacan_single_item_page_document', 'label' => __( 'Hide the attachments label (on carousel)', 'tainacan-interface' ), - 'description' => __( 'Toggle to not display the document and attachments name below its thumbnail.', 'tainacan-interface' ) + 'description' => __( 'Toggle to not display the document and attachments name below their thumbnails.', 'tainacan-interface' ) ) ); if (version_compare(TAINACAN_VERSION, '0.18RC') >= 0) { diff --git a/src/functions/customizer/tainacan-single-item-page-general.php b/src/functions/customizer/tainacan-single-item-page-general.php index 285bfeb..cd90285 100644 --- a/src/functions/customizer/tainacan-single-item-page-general.php +++ b/src/functions/customizer/tainacan-single-item-page-general.php @@ -3,12 +3,12 @@ /** * Functions that register the options for the customizer * related to the Tainacan plugin Item single page - General layout settings. - * + * */ if ( !function_exists('tainacan_interface_customize_register_tainacan_single_item_page_general') ) { - + function tainacan_interface_customize_register_tainacan_single_item_page_general( $wp_customize ) { - + /* If the Tainacan plugin is installed */ if (defined ( 'TAINACAN_VERSION' ) ) { @@ -128,7 +128,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_single_ite 'priority' => 3, // Within the section. 'section' => 'tainacan_single_item_page_general', 'label' => __( 'Navigation links to adjacent items', 'tainacan-interface' ), - 'description' => __( 'Sets how next and previous items links will be displayed. If your Tainacan version is bellow 0.17, this links only obey creation date order inside their collection.', 'tainacan-interface' ), + 'description' => __( 'Sets how next and previous items links will be displayed. If your Tainacan version is below 0.17, these links only obey creation date order inside their collection.', 'tainacan-interface' ), 'choices' => tainacan_get_single_item_navigation_links_options() ) ); @@ -251,4 +251,3 @@ if ( ! function_exists( 'tainacan_sanitize_single_item_navigation_links_options' return $option; } endif; // tainacan_sanitize_single_item_navigation_links_options - diff --git a/src/functions/customizer/tainacan-single-item-page-metadata.php b/src/functions/customizer/tainacan-single-item-page-metadata.php index 3c1e62a..cbbee7c 100644 --- a/src/functions/customizer/tainacan-single-item-page-metadata.php +++ b/src/functions/customizer/tainacan-single-item-page-metadata.php @@ -93,7 +93,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_single_ite ) ); /** - * Adds options to hide or no the core metadada in the metadada list. + * Adds options to hide or no the core metadata in the metadata list. */ $wp_customize->add_setting( 'tainacan_single_item_hide_core_title_metadata', array( 'type' => 'theme_mod', @@ -107,7 +107,7 @@ if ( !function_exists('tainacan_interface_customize_register_tainacan_single_ite 'priority' => 2, // Within the section. 'section' => 'tainacan_single_item_page_metadata', 'label' => __( 'Hide core title from metadata list', 'tainacan-interface' ), - 'description' => __( 'Toggle to hide or not the core title from the metadada list, as it already appears on the page title.', 'tainacan-interface' ) + 'description' => __( 'Toggle to hide or not the core title from the metadata list, as it already appears on the page title.', 'tainacan-interface' ) ) ); $wp_customize->selective_refresh->add_partial( 'tainacan_single_item_hide_core_title_metadata', array( 'selector' => '.metadata-type-core_title', diff --git a/src/functions/enqueues.php b/src/functions/enqueues.php index ab7ada5..eca18b2 100644 --- a/src/functions/enqueues.php +++ b/src/functions/enqueues.php @@ -71,7 +71,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) { wp_enqueue_script( 'tainacan_copyLink', get_template_directory_uri() . '/assets/js/copy-link.js', [] , TAINACAN_INTERFACE_VERSION, false ); wp_localize_script( 'tainacan_copyLink', 'tainacan_copyLinkVars', array( - 'linkCopied' => __( 'Copied! Link sent to the transfer area.', 'tainacan-interface' ) + 'linkCopied' => __( 'Copied! Link copied to clipboard.', 'tainacan-interface' ) )); // Tainacan Icons @@ -84,7 +84,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) { if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } - + } // tainacan_enqueues } add_action( 'wp_enqueue_scripts', 'tainacan_enqueues' ); diff --git a/src/languages/pt_BR.po b/src/languages/pt_BR.po index bedad39..b9363ce 100644 --- a/src/languages/pt_BR.po +++ b/src/languages/pt_BR.po @@ -193,7 +193,7 @@ msgstr "Sessão de título Tainacan" msgctxt "Block pattern description" msgid "" "A left-aligned heading section containing a light sub-heading and an " -"underline bellow the title." +"underline below the title." msgstr "" "Uma sessão de título alinhada à esquerda contendo um discreto sub-título e " "uma linha abaixo do título." @@ -299,7 +299,7 @@ msgid "No Color Selected" msgstr "Nenhuma Cor Selecionada" #: functions/class-tainacanthemecollectioncolor.php:49 -msgid "Taincan theme header settings" +msgid "Tainacan theme header settings" msgstr "Configurações de cabeçalho do tema Tainacan" #: functions/class-tainacanthemecollectioncolor.php:54 @@ -370,10 +370,10 @@ msgstr "Exibir \"Orgulhosamente feito com...\"" #: functions/customizer.php:135 msgid "" -"This checkbox shows the \"Proudly Powered by Tainacan and Wordpress\" " +"This checkbox shows the \"Proudly Powered by WordPress and Tainacan\" " "sentence." msgstr "" -"Este checkbox mostra a frase \"Orgulhosamente feito com Tainacan e Wordpress" +"Este checkbox mostra a frase \"Orgulhosamente feito com Tainacan e WordPress" "\"." #: functions/customizer.php:144 @@ -438,13 +438,13 @@ msgstr "Rótulo para a opção de busca \"Global\"" #: functions/customizer.php:307 msgid "" "The Global search is the default. Its option will only be visible if at " -"least one of the bellow are selected." +"least one of the below are selected." msgstr "" "A busca Global é a padrão. Esta opção só estará visível se pelo menos uma " "das a seguir estiver selecionada." #: functions/customizer.php:321 -msgid "Display option to search on tainacan items repository list" +msgid "Display option to search on Tainacan items repository list" msgstr "Mostrar opção de busca específica para a lista de itens do Tainacan" #: functions/customizer.php:330 searchform.php:54 @@ -456,7 +456,7 @@ msgid "Label for the \"items\" search option" msgstr "Rótulo para a opção de busca \"Itens\"" #: functions/customizer.php:351 -msgid "Display option to search on tainacan collections list" +msgid "Display option to search on Tainacan collections list" msgstr "" "Mostrar opção de busca específica para as lista de coleções do tainacan" @@ -730,7 +730,7 @@ msgstr "Esconder rótulo dos anexos (no carrossel)" #: functions/customizer.php:901 msgid "" -"Toggle to not display the document and attachments name below its thumbnail." +"Toggle to not display the document and attachments name below their thumbnails." msgstr "" "Troque para não mostrar o nome do documento ou anexos abaixo de suas " "miniaturas." @@ -831,7 +831,7 @@ msgstr "Esconder o título principal da lista de metadados" #: functions/customizer.php:1112 msgid "" -"Toggle to hide or not the core title from the metadada list, as it already " +"Toggle to hide or not the core title from the metadata list, as it already " "appears on the page title." msgstr "" "Troque para esconder a faixa com o título do site que aparece sobre o banner " @@ -872,7 +872,7 @@ msgstr "Links de navegação para os itens adjacentes" #: functions/customizer.php:1204 msgid "" "Sets how next and previous items links will be displayed. If your Tainacan " -"version is bellow 0.17, this links only obey creation date order inside " +"version is below 0.17, these links only obey creation date order inside " "their collection." msgstr "" "Determina como os links de itens próximos e anteriores serão exibidos. Se a " @@ -937,7 +937,7 @@ msgid "Hide the Search block." msgstr "Esconder o bloco de Busca." #: functions/customizer.php:1311 -msgid "Toggle to do not show the search block on the control bar." +msgid "Toggle to not show the search block on the control bar." msgstr "Troque para não mostrar o bloco de busca na barra de controle." #: functions/customizer.php:1333 @@ -945,7 +945,7 @@ msgid "Hide the Advanced Search link." msgstr "Esconder o link para a Busca Avançada." #: functions/customizer.php:1334 -msgid "Toggle to do not show the advanced search link on the control bar." +msgid "Toggle to not show the advanced search link on the control bar." msgstr "" "Troque para não mostrar o link para a busca avançada na barra de controle." @@ -954,7 +954,7 @@ msgid "Hide the \"Sort by\" button." msgstr "Esconder o botão \"Ordenar por\"." #: functions/customizer.php:1357 -msgid "Toggle to do not show the \"Sort by\" button on the control bar." +msgid "Toggle to not show the \"Sort by\" button on the control bar." msgstr "Troque para não esconder botão \"Ordenar por\" na barra de controle ." #: functions/customizer.php:1379 @@ -963,7 +963,7 @@ msgstr "Esconder o botão \"Ver como...\"." #: functions/customizer.php:1380 msgid "" -"Toggle to do not show the \"View as...\" button, also referred to as " +"Toggle to not show the \"View as...\" button, also referred to as " "\"Exposers modal\" on the control bar." msgstr "" "Troque para não esconder o botão \"Ver como...\", também chamado de \"Modal " @@ -1017,7 +1017,7 @@ msgid "Hide the \"Hide filters\" button." msgstr "Esconder o botão \"Esconder filtros\"." #: functions/customizer.php:1478 -msgid "Toggle to do not show the \"Hide filters\" button for users." +msgid "Toggle to not show the \"Hide filters\" button for users." msgstr "Troque para não mostrar o botão \"Esconder filtros\" para usuários." #: functions/customizer.php:1495 @@ -1025,7 +1025,7 @@ msgid "Show Filters button inside the search control bar." msgstr "Mostrar o botão de filtros dentro da barra de controle da busca." #: functions/customizer.php:1496 -msgid "Toggle to do display the Filters button inside the search control bar." +msgid "Toggle to display the Filters button inside the search control bar." msgstr "" "Troque para mostrar o botão de Filtros dentro da lista de controle da busca." @@ -1089,7 +1089,7 @@ msgstr "Esconder o botão \"Itens por Página\"." #: functions/customizer.php:1605 msgid "" -"Toggle to do not show the \"Items per Page\" button on the pagination bar." +"Toggle to not show the \"Items per Page\" button on the pagination bar." msgstr "" "Troque para não mostrar o botão \"Itens por Página\" na barra de paginação." @@ -1098,7 +1098,7 @@ msgid "Hide the \"Go to Page\" button." msgstr "Esconder o botão \"Ir para a página\"." #: functions/customizer.php:1623 -msgid "Toggle to do not show the \"Go to Page\" button on the pagination bar." +msgid "Toggle to not show the \"Go to Page\" button on the pagination bar." msgstr "" "Toque para não mostrar o botão \"Ir para a página\" na barra de paginação." diff --git a/src/languages/tainacan-interface.pot b/src/languages/tainacan-interface.pot index 8af9916..16b7a65 100644 --- a/src/languages/tainacan-interface.pot +++ b/src/languages/tainacan-interface.pot @@ -193,7 +193,7 @@ msgstr "" msgctxt "Block pattern description" msgid "" "A left-aligned heading section containing a light sub-heading and an " -"underline bellow the title." +"underline below the title." msgstr "" #: functions.php:285 functions.php:303 functions.php:365 @@ -290,7 +290,7 @@ msgid "No Color Selected" msgstr "" #: functions/class-tainacanthemecollectioncolor.php:52 -msgid "Taincan theme header settings" +msgid "Tainacan theme header settings" msgstr "" #: functions/class-tainacanthemecollectioncolor.php:57 @@ -349,7 +349,7 @@ msgstr "" #: functions/customizer.php:106 msgid "" -"This checkbox shows the \"Proudly Powered by Tainacan and Wordpress\" " +"This checkbox shows the \"Proudly Powered by WordPress and Tainacan\" " "sentence." msgstr "" @@ -372,11 +372,11 @@ msgstr "" #: functions/customizer.php:146 msgid "" "The Global search is the default. Its option will only be visible if at " -"least one of the bellow are selected." +"least one of the below are selected." msgstr "" #: functions/customizer.php:160 -msgid "Display option to search on tainacan items repository list" +msgid "Display option to search on Tainacan items repository list" msgstr "" #: functions/customizer.php:169 searchform.php:54 @@ -388,7 +388,7 @@ msgid "Label for the \"items\" search option" msgstr "" #: functions/customizer.php:190 -msgid "Display option to search on tainacan collections list" +msgid "Display option to search on Tainacan collections list" msgstr "" #: functions/customizer.php:206 @@ -579,7 +579,7 @@ msgstr "" #: functions/customizer.php:666 msgid "" -"Toggle to not display the document and attachments name below its thumbnail." +"Toggle to not display the document and attachments name below their thumbnails." msgstr "" #: functions/customizer.php:683 @@ -636,7 +636,7 @@ msgstr "" #: functions/customizer.php:796 msgid "" -"Toggle to hide or not the core title from the metadada list, as it already " +"Toggle to hide or not the core title from the metadata list, as it already " "appears on the page title." msgstr "" @@ -673,7 +673,7 @@ msgstr "" #: functions/customizer.php:888 msgid "" "Sets how next and previous items links will be displayed. If your Tainacan " -"version is bellow 0.17, this links only obey creation date order inside " +"version is below 0.17, these links only obey creation date order inside " "their collection." msgstr "" @@ -711,7 +711,7 @@ msgid "Hide the Search block." msgstr "" #: functions/customizer.php:956 -msgid "Toggle to do not show the search block on the control bar." +msgid "Toggle to not show the search block on the control bar." msgstr "" #: functions/customizer.php:978 @@ -719,7 +719,7 @@ msgid "Hide the Advanced Search link." msgstr "" #: functions/customizer.php:979 -msgid "Toggle to do not show the advanced search link on the control bar." +msgid "Toggle to not show the advanced search link on the control bar." msgstr "" #: functions/customizer.php:1001 @@ -727,7 +727,7 @@ msgid "Hide the \"Sort by\" button." msgstr "" #: functions/customizer.php:1002 -msgid "Toggle to do not show the \"Sort by\" button on the control bar." +msgid "Toggle to not show the \"Sort by\" button on the control bar." msgstr "" #: functions/customizer.php:1024 @@ -736,7 +736,7 @@ msgstr "" #: functions/customizer.php:1025 msgid "" -"Toggle to do not show the \"View as...\" button, also referred to as " +"Toggle to not show the \"View as...\" button, also referred to as " "\"Exposers modal\" on the control bar." msgstr "" @@ -780,7 +780,7 @@ msgid "Hide the \"Hide filters\" button." msgstr "" #: functions/customizer.php:1123 -msgid "Toggle to do not show the \"Hide filters\" button for users." +msgid "Toggle to not show the \"Hide filters\" button for users." msgstr "" #: functions/customizer.php:1140 @@ -788,7 +788,7 @@ msgid "Show Filters button inside the search control bar." msgstr "" #: functions/customizer.php:1141 -msgid "Toggle to do display the Filters button inside the search control bar." +msgid "Toggle to display the Filters button inside the search control bar." msgstr "" #: functions/customizer.php:1158 @@ -831,7 +831,7 @@ msgstr "" #: functions/customizer.php:1230 msgid "" -"Toggle to do not show the \"Items per Page\" button on the pagination bar." +"Toggle to not show the \"Items per Page\" button on the pagination bar." msgstr "" #: functions/customizer.php:1247 @@ -839,7 +839,7 @@ msgid "Hide the \"Go to Page\" button." msgstr "" #: functions/customizer.php:1248 -msgid "Toggle to do not show the \"Go to Page\" button on the pagination bar." +msgid "Toggle to not show the \"Go to Page\" button on the pagination bar." msgstr "" #: functions/customizer.php:1475 @@ -899,7 +899,7 @@ msgid "Show less" msgstr "" #: functions/enqueues.php:65 -msgid "Copied! Link sent to the transfer area." +msgid "Copied! Link copied to clipboard." msgstr "" #: functions/single-functions.php:28