From 28017495733c8df05c44c17eecb5c5f2a6f98b27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 19:19:24 +0600 Subject: [PATCH 1/3] Bump github/codeql-action from 2 to 3 (#849) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4f10a83e4..db11c1028 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,7 +43,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From 48a7b473192fa222f8666191b50da2048d2824a6 Mon Sep 17 00:00:00 2001 From: Alexandre Neto Date: Sun, 24 Dec 2023 06:32:38 +0000 Subject: [PATCH 2/3] Specify European Portuguese (#854) --- README.md | 2 +- i18n/pt-br.toml | 4 ++++ i18n/{pt.toml => pt-pt.toml} | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) rename i18n/{pt.toml => pt-pt.toml} (97%) diff --git a/README.md b/README.md index cfc391a5c..ca33208b3 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ For more details about the features please visit [here](https://toha-guides.netl - Tiếng Việt - Turkish - Arabic (العربية) -- Português +- Português Europeu - Català - Português Brasileiro diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index 7642dc895..01671a42b 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -124,3 +124,7 @@ other = "Nota legal" [search] other = "Pesquisar" + +[minute] +one = "minuto" +other = "minutos" \ No newline at end of file diff --git a/i18n/pt.toml b/i18n/pt-pt.toml similarity index 97% rename from i18n/pt.toml rename to i18n/pt-pt.toml index 65f770321..eddbbca44 100644 --- a/i18n/pt.toml +++ b/i18n/pt-pt.toml @@ -124,3 +124,7 @@ other = "Nota legal" [search] other = "Pesquisar" + +[minute] +one = "minuto" +other = "minutos" From d3968ca711efbaa1e699e231ee72759db86c5c53 Mon Sep 17 00:00:00 2001 From: Augusto Pace Date: Fri, 29 Dec 2023 18:04:27 +0100 Subject: [PATCH 3/3] Fixed and improved circular progess animation on about section (#850) Co-authored-by: Emruz Hossain --- assets/styles/sections/about.scss | 15 +++++++++------ layouts/partials/misc/badge.html | 10 ++++++++-- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/assets/styles/sections/about.scss b/assets/styles/sections/about.scss index f3ba9740a..5f58333a2 100644 --- a/assets/styles/sections/about.scss +++ b/assets/styles/sections/about.scss @@ -20,20 +20,25 @@ $progress-bar-colors: ( } @mixin circular-progress-animation-breakpoints() { - $progress: 50; + $progress: 0; $duration: 0; + $delay: 1.8; - @for $i from 1 through 10 { + @for $i from 0 through 20 { .circular-progress-percentage-#{$progress} { animation: circular-loading-#{$progress} #{$duration}s linear forwards 1.8s; } + .circular-progress-percentage-#{$progress}-delay { + animation-delay: #{$delay}s; + } $progress: $progress + 5; $duration: $duration + 0.18; + $delay: $duration + 1.8; } } @mixin circular-progress-animation-keyframes($progress, $degree, $keyframes) { - @for $i from 1 through $keyframes { + @for $i from 0 through $keyframes { @keyframes circular-loading-#{$progress} { 0% { transform: rotate(0); @@ -122,7 +127,6 @@ $progress-bar-colors: ( border-bottom-left-radius: 80px; border-right: 0; transform-origin: center right; - animation: circular-loading-1 1.8s linear forwards; } } .circular-progress-value { @@ -144,8 +148,7 @@ $progress-bar-colors: ( } @include circular-progress-bar-color(); @include circular-progress-animation-breakpoints(); - @include circular-progress-animation-keyframes($progress: 50, $degree: 0, $keyframes: 10); - @include circular-progress-animation-keyframes($progress: 1, $degree: 180, $keyframes: 5); + @include circular-progress-animation-keyframes($progress: 0, $degree: 0, $keyframes: 20); } @include media('<=large') { diff --git a/layouts/partials/misc/badge.html b/layouts/partials/misc/badge.html index cfd8eeb78..a55eab4fb 100644 --- a/layouts/partials/misc/badge.html +++ b/layouts/partials/misc/badge.html @@ -12,10 +12,16 @@ {{ if hasPrefix .color "#"}} {{ $predefinedColor = false }} {{ end }} + {{ $leftProgress := 0 }} + {{ $rightProgress := .percentage }} + {{ if ge .percentage 50 }} + {{ $rightProgress = 50 }} + {{ $leftProgress = sub .percentage 50 }} + {{ end }}