Merge branch 'main' into main
This commit is contained in:
commit
9e8de59fa3
13 changed files with 566 additions and 459 deletions
16
.github/workflows/enforce-lablel.yml
vendored
Normal file
16
.github/workflows/enforce-lablel.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Label Enforcer
|
||||
|
||||
# Run action on pull request creation, reopening, or label changes
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, labeled, unlabeled]
|
||||
|
||||
jobs:
|
||||
# Ensure that PR has desired labels
|
||||
enforce-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yogevbd/enforce-label-action@2.2.2
|
||||
with:
|
||||
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
||||
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
9
.github/workflows/pull-request.yml
vendored
9
.github/workflows/pull-request.yml
vendored
|
@ -73,15 +73,6 @@ jobs:
|
|||
timeout: 5
|
||||
urls: "${{ steps.preview.outputs.url }},${{ steps.preview.outputs.url }}/posts/,${{ steps.preview.outputs.url }}/posts/markdown-sample/,${{ steps.preview.outputs.url }}/posts/shortcodes/"
|
||||
|
||||
# Ensure that PR has desired labels
|
||||
enforce-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yogevbd/enforce-label-action@2.2.2
|
||||
with:
|
||||
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
||||
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
||||
|
||||
# Check for any broken links
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -64,6 +64,7 @@ For more details about the features please visit [here](https://toha-guides.netl
|
|||
- русский
|
||||
- suomi
|
||||
- Tiếng Việt
|
||||
- Azerbaijan
|
||||
- Turkish
|
||||
- Arabic (العربية)
|
||||
- Português Europeu
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
flags:
|
||||
styles:
|
||||
- flag-icon-css/css/flag-icons
|
||||
- flag-icons/css/flag-icons
|
||||
|
||||
videoplayer:
|
||||
services:
|
||||
|
|
|
@ -22,7 +22,7 @@ module:
|
|||
mounts:
|
||||
- source: static/files
|
||||
target: static/files
|
||||
- source: ./node_modules/flag-icon-css/flags
|
||||
- source: ./node_modules/flag-icons/flags
|
||||
target: static/flags
|
||||
- source: ./node_modules/@fontsource/mulish/files
|
||||
target: static/files
|
||||
|
|
14
exampleSite/package-lock.json
generated
14
exampleSite/package-lock.json
generated
|
@ -21,7 +21,7 @@
|
|||
"eslint-plugin-promise": "^6.1.1",
|
||||
"feather-icons": "^4.29.1",
|
||||
"filterizr": "^2.2.4",
|
||||
"flag-icon-css": "^4.1.7",
|
||||
"flag-icons": "^7.2.3",
|
||||
"fuse.js": "^6.6.2",
|
||||
"highlight.js": "^11.6.0",
|
||||
"imagesloaded": "^5.0.0",
|
||||
|
@ -2033,12 +2033,12 @@
|
|||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/flag-icon-css": {
|
||||
"version": "4.1.7",
|
||||
"resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-4.1.7.tgz",
|
||||
"integrity": "sha512-AFjSU+fv98XbU0vnTQ32vcLj89UEr1MhwDFcooQv14qWJCjg9fGZzfh9BVyDhAhIOZW/pGmJmq38RqpgPaeybQ==",
|
||||
"deprecated": "The project has been renamed to flag-icons",
|
||||
"dev": true
|
||||
"node_modules/flag-icons": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/flag-icons/-/flag-icons-7.2.3.tgz",
|
||||
"integrity": "sha512-X2gUdteNuqdNqob2KKTJTS+ZCvyWeLCtDz9Ty8uJP17Y4o82Y+U/Vd4JNrdwTAjagYsRznOn9DZ+E/Q52qbmqg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/flat-cache": {
|
||||
"version": "3.2.0",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"eslint-plugin-promise": "github.com/hugo-toha/toha/v4",
|
||||
"feather-icons": "github.com/hugo-toha/toha/v4",
|
||||
"filterizr": "github.com/hugo-toha/toha/v4",
|
||||
"flag-icon-css": "github.com/hugo-toha/toha/v4",
|
||||
"flag-icons": "github.com/hugo-toha/toha/v4",
|
||||
"fuse.js": "github.com/hugo-toha/toha/v4",
|
||||
"highlight.js": "github.com/hugo-toha/toha/v4",
|
||||
"imagesloaded": "github.com/hugo-toha/toha/v4",
|
||||
|
@ -45,7 +45,7 @@
|
|||
"eslint-plugin-promise": "^6.1.1",
|
||||
"feather-icons": "^4.29.1",
|
||||
"filterizr": "^2.2.4",
|
||||
"flag-icon-css": "^4.1.7",
|
||||
"flag-icons": "^7.2.3",
|
||||
"fuse.js": "^6.6.2",
|
||||
"highlight.js": "^11.6.0",
|
||||
"imagesloaded": "^5.0.0",
|
||||
|
|
|
@ -17,7 +17,7 @@ module:
|
|||
target: i18n
|
||||
- source: archetypes
|
||||
target: archetypes
|
||||
- source: ../../node_modules/flag-icon-css/flags
|
||||
- source: ../../node_modules/flag-icons/flags
|
||||
target: static/flags
|
||||
- source: ../../node_modules/@fontsource/mulish/files
|
||||
target: static/files
|
||||
|
|
130
i18n/az.toml
Normal file
130
i18n/az.toml
Normal file
|
@ -0,0 +1,130 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Əsas Səhifə"
|
||||
|
||||
[posts]
|
||||
other = "Yazılar"
|
||||
|
||||
[toc_heading]
|
||||
other = "Məzmun Cədvəli"
|
||||
|
||||
[tags]
|
||||
other = "Etiketlər"
|
||||
|
||||
[categories]
|
||||
other = "Kateqoriyalar"
|
||||
|
||||
[at]
|
||||
other = ","
|
||||
|
||||
[resume]
|
||||
other = "CV"
|
||||
|
||||
[navigation]
|
||||
other = "Menyu"
|
||||
|
||||
[contact_me]
|
||||
other = "Əlaqə:"
|
||||
|
||||
[email]
|
||||
other = "E-Poçt"
|
||||
|
||||
[phone]
|
||||
other = "Telefon"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Yeni məzmunlardan xəbərdar olmaq üçün E-Poçt ünvanınızı daxil edin."
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "E-Poçt ünvanını daxil edin."
|
||||
|
||||
[newsletter_warning]
|
||||
other = "E-Poçt ünvanınızı daxil etsəniz, bu veb saytın xəbər bülletenini almağı qəbul etmiş olursunuz."
|
||||
|
||||
[submit]
|
||||
other = "Təsdiqlə"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = ""
|
||||
|
||||
[prev]
|
||||
other = "Əvvəlki"
|
||||
|
||||
[next]
|
||||
other = "Sonraki"
|
||||
|
||||
[share_on]
|
||||
other = "Paylaş"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Bu səhifəyə töhfə verin"
|
||||
|
||||
[out_of]
|
||||
other = "/"
|
||||
|
||||
[publications]
|
||||
other = "Akademik Nəşrlər"
|
||||
|
||||
[taken_courses]
|
||||
other = "Keçirilmiş Kurslar"
|
||||
|
||||
[course_name]
|
||||
other = "Kursun Adı"
|
||||
|
||||
[total_credit]
|
||||
other = "Ümumi Kredit"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Qazandırılmış Kredit"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Kursdankənar Fəaliyyətlər"
|
||||
|
||||
[show_more]
|
||||
other = "Daha Çox Göstər"
|
||||
|
||||
[show_less]
|
||||
other = "Gizlət"
|
||||
|
||||
[responsibilities]
|
||||
other = "Məsuliyyətlər:"
|
||||
|
||||
[present]
|
||||
other = "Hal-hazırda"
|
||||
|
||||
[comments_javascript]
|
||||
other = "Görmək üçün xahiş edirəm JavaScript-i aktiv edin"
|
||||
|
||||
[comments_by]
|
||||
other = "Şərh edən"
|
||||
|
||||
[read]
|
||||
other = "Oxu"
|
||||
|
||||
[project_star]
|
||||
other = "Ulduz"
|
||||
|
||||
[project_details]
|
||||
other = "Təfərrüatlar"
|
||||
|
||||
[err_404]
|
||||
other = "Axtardığınız səhifə tapılmadı."
|
||||
|
||||
[more]
|
||||
other = "Daha Çox"
|
||||
|
||||
[view_certificate]
|
||||
other = "Sertifikatı Görüntülə"
|
||||
|
||||
[notes]
|
||||
other = "Qeydlər"
|
||||
|
||||
[disclaimer_text]
|
||||
other = "Məsuliyyət İnkarı"
|
||||
|
||||
[search]
|
||||
other = "Axtar"
|
||||
|
||||
[minute]
|
||||
one = "dəqiqə"
|
||||
other = "dəqiqə"
|
|
@ -6,7 +6,7 @@
|
|||
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{{ if ne site.Params.features.flags.enable false }}
|
||||
{{ $countryCode := partial "helpers/country-code.html" . }}
|
||||
<span class="flag-icon flag-icon-{{$countryCode}}"></span>
|
||||
<span class="fi fi-{{$countryCode}}"></span>
|
||||
{{ end }}
|
||||
{{ site.Language.LanguageName }}
|
||||
</a>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang $.Sites.Default.Language.Lang) "" .Language.Lang) $pageURL }}">
|
||||
{{ if ne site.Params.features.flags.enable false }}
|
||||
{{ $countryCode := partial "helpers/country-code.html" . }}
|
||||
<span class="flag-icon flag-icon-{{$countryCode}}"></span>
|
||||
<span class="fi fi-{{$countryCode}}"></span>
|
||||
{{ end }}
|
||||
{{ .Language.LanguageName }}
|
||||
</a>
|
||||
|
|
835
package-lock.json
generated
835
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -33,7 +33,7 @@
|
|||
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||
"bootstrap": "^5.3.3",
|
||||
"filterizr": "^2.2.4",
|
||||
"flag-icon-css": "^4.1.7",
|
||||
"flag-icons": "^7.2.3",
|
||||
"fuse.js": "^6.6.2",
|
||||
"highlight.js": "^11.6.0",
|
||||
"imagesloaded": "^5.0.0",
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"eslint-plugin-promise": "project",
|
||||
"feather-icons": "project",
|
||||
"filterizr": "project",
|
||||
"flag-icon-css": "project",
|
||||
"flag-icons": "project",
|
||||
"fuse.js": "project",
|
||||
"highlight.js": "project",
|
||||
"imagesloaded": "project",
|
||||
|
@ -50,7 +50,7 @@
|
|||
"eslint-plugin-promise": "^6.1.1",
|
||||
"feather-icons": "^4.29.1",
|
||||
"filterizr": "^2.2.4",
|
||||
"flag-icon-css": "^4.1.7",
|
||||
"flag-icons": "^7.2.3",
|
||||
"fuse.js": "^6.6.2",
|
||||
"highlight.js": "^11.6.0",
|
||||
"imagesloaded": "^5.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue