diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d792f2ed..c4eb4efa 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 updates: - - package-ecosystem: "github-actions" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: 'github-actions' # See documentation for possible values + directory: '/' # Location of package manifests schedule: - interval: "daily" + interval: 'daily' diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 6a6f1de3..9870c366 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -15,7 +15,7 @@ jobs: - name: Install dependencies run: sudo apt-get install build-essential - - name: "GCC Version" + - name: 'GCC Version' run: | gcc --version @@ -36,7 +36,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: "GCC Version" + - name: 'GCC Version' run: | gcc --version @@ -61,7 +61,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: "GCC Version" + - name: 'GCC Version' run: | gcc --version @@ -195,9 +195,9 @@ jobs: - name: Create new GitHub Release and Tag uses: softprops/action-gh-release@v2 with: - tag_name: "v${{ env.VERSION }}" - name: "Salam Release v${{ env.VERSION }}" - body: "This release includes the latest build for Linux, macOS, and Windows." + tag_name: 'v${{ env.VERSION }}' + name: 'Salam Release v${{ env.VERSION }}' + body: 'This release includes the latest build for Linux, macOS, and Windows.' files: | release/salam-linux release/salam-mac diff --git a/.github/workflows/first_interaction.yml b/.github/workflows/first_interaction.yml index 6d6cafa3..3f2bf36e 100644 --- a/.github/workflows/first_interaction.yml +++ b/.github/workflows/first_interaction.yml @@ -14,5 +14,5 @@ jobs: uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "Thank you for your interest in Salam language! We appreciate you opening your first issue. Contributions like yours help make Salam language better." - pr-message: "Welcome and thank you for your first pull request! We appreciate your contribution to Salam language. Your code changes will be reviewed shortly." + issue-message: 'Thank you for your interest in Salam language! We appreciate you opening your first issue. Contributions like yours help make Salam language better.' + pr-message: 'Welcome and thank you for your first pull request! We appreciate your contribution to Salam language. Your code changes will be reviewed shortly.' diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 012f609c..ef961d22 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -2,18 +2,18 @@ name: Lint on: [pull_request] -permissions: # added using https://github.com/step-security/secure-workflows +permissions: # added using https://github.com/step-security/secure-workflows contents: read jobs: build: permissions: - contents: read # for actions/checkout to fetch code - statuses: write # for super-linter/super-linter/slim to mark status of each linter run + contents: read # for actions/checkout to fetch code + statuses: write # for super-linter/super-linter/slim to mark status of each linter run name: Super-Linter runs-on: ubuntu-latest steps: - - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" + - name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )' uses: actions/checkout@v4 with: # Full git history is needed to get a proper list of changed files within `super-linter` diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c495397c..0706129f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,21 +2,21 @@ name: Test on: [pull_request] -permissions: # added using https://github.com/step-security/secure-workflows +permissions: # added using https://github.com/step-security/secure-workflows contents: read jobs: pre-commit: - name: Run pre-commit # https://pre-commit.com/ + name: Run pre-commit # https://pre-commit.com/ runs-on: ubuntu-latest steps: - - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" + - name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )' uses: actions/checkout@v4 - - uses: actions/setup-python@v5 # https://www.python.org/ + - uses: actions/setup-python@v5 # https://www.python.org/ with: - python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - name: Install dependencies # https://pip.pypa.io/en/stable/ + python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax + architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified + - name: Install dependencies # https://pip.pypa.io/en/stable/ run: | python -m pip install --upgrade pip pip install pre-commit @@ -30,8 +30,8 @@ jobs: run: pre-commit run --all-files test-git-clone: timeout-minutes: 10 - name: "Test git clone on ${{ matrix.os }}" - runs-on: "${{ matrix.os }}" + name: 'Test git clone on ${{ matrix.os }}' + runs-on: '${{ matrix.os }}' strategy: fail-fast: false matrix: @@ -45,7 +45,7 @@ jobs: - {os: windows-latest} - {os: windows-2019} steps: - - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" + - name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )' uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f34631c..ad224f3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,12 +4,23 @@ default_stages: [commit, push] default_language_version: # force all unspecified Python hooks to run python3 python: python3 + node: 22.2.0 minimum_pre_commit_version: '3.2.0' repos: - repo: meta hooks: - id: identity - id: check-hooks-apply + name: check hooks apply to the repository + - repo: local + hooks: + - id: prettier + name: run prettier + description: format files with prettier + entry: prettier --write . + files: \.(css|html|md|ya?ml)$ + language: node + additional_dependencies: ['prettier@3.3.3'] - repo: https://github.com/psf/black-pre-commit-mirror rev: 24.10.0 hooks: @@ -18,6 +29,7 @@ repos: rev: v8.20.1 hooks: - id: gitleaks + name: detect hardcoded secrets - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: @@ -53,12 +65,13 @@ repos: rev: v3.12.2 hooks: - id: markdown-link-check + name: markdown link check args: [-q] - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.42.0 hooks: - id: markdownlint - name: Run markdownlint + name: run markdownlint description: Check Markdown files with markdownlint args: [--config=.github/linters/.markdown-lint.yml] types: [markdown] @@ -67,12 +80,12 @@ repos: rev: v9.1.2 hooks: - id: oxipng - args: ["-o", "4", "--strip", "safe", "--alpha"] + args: ['-o', '4', '--strip', 'safe', '--alpha'] - repo: https://github.com/adrienverge/yamllint rev: v1.35.1 hooks: - id: yamllint - name: Run yamllint + name: run yamllint description: Check YAML files with yamllint args: [--strict, -c=.github/linters/.yaml-lint.yml] exclude: ^config/layout/attribute/style/value\.yaml$ @@ -82,5 +95,5 @@ repos: rev: v19.1.3 hooks: - id: clang-format - args: ["--style=file"] + args: ['--style=file'] files: \.(c|h)$ diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..2ca340a5 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +# Ignore artifacts: +build +config/layout/attribute/style/value.yaml +coverage diff --git a/.prettierrc b/.prettierrc index 8db60caa..7f5dba43 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { - "singleQuote": true + "bracketSpacing": false, + "singleQuote": true } diff --git a/config/layout/attribute/style/state.yaml b/config/layout/attribute/style/state.yaml index 2a55d840..c701bede 100644 --- a/config/layout/attribute/style/state.yaml +++ b/config/layout/attribute/style/state.yaml @@ -1,7 +1,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_ERROR - id: AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_GLOBAL - generate_name: "*" + generate_name: '*' text: en: global fa: سراسری diff --git a/config/layout/attribute/style/type.yaml b/config/layout/attribute/style/type.yaml index 646f1c6f..87320037 100644 --- a/config/layout/attribute/style/type.yaml +++ b/config/layout/attribute/style/type.yaml @@ -18,7 +18,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_ACCENT_COLOR generate_name: accent-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: accent-color fa: رنگ برجسته @@ -42,7 +42,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BACKDROP_FILTER generate_name: backdrop-filter type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: backdrop-filter fa: فیلتر پسزمینه @@ -50,7 +50,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BACKDROP_FILTER generate_name: backdrop-filter type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: backdrop-filter fa: @@ -197,7 +197,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_RADIUS generate_name: border-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZES124 - reserved_values: "" + reserved_values: '' text: en: border-radius fa: گردی @@ -205,7 +205,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER generate_name: border type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: border fa: مرز @@ -213,7 +213,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_BLOCK_END_COLOR generate_name: border-block-end-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-block-end-color fa: رنگ مرز انتهایی بلوک @@ -237,7 +237,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_BLOCK_START_COLOR generate_name: border-block-start-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-block-start-color fa: رنگ مرز ابتدایی بلوک @@ -269,7 +269,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_BOTTOM_LEFT_RADIUS generate_name: border-bottom-left-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-bottom-left-radius fa: گردی پایین چپ @@ -277,7 +277,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_BOTTOM_RIGHT_RADIUS generate_name: border-bottom-right-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-bottom-right-radius fa: گردی پایین راست @@ -312,7 +312,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_END_END_RADIUS generate_name: border-end-end-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-end-end-radius fa: گردی انتها @@ -320,7 +320,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_END_START_RADIUS generate_name: border-end-start-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-end-start-radius fa: گردی شروع @@ -328,7 +328,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_IMAGE_OUTSET generate_name: border-image-outset type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-image-outset fa: برآمدگی تصویر مرز @@ -344,7 +344,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_IMAGE_SLICE generate_name: border-image-slice type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_NUMBER - reserved_values: "" + reserved_values: '' text: en: border-image-slice fa: برش تصویر مرز @@ -368,7 +368,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_INLINE_END_COLOR generate_name: border-inline-end-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-inline-end-color fa: رنگ مرز انتهایی خطی @@ -384,7 +384,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_INLINE_END_WIDTH generate_name: border-inline-end-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-inline-end-width fa: عرض مرز انتهایی خطی @@ -392,7 +392,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_INLINE_START_COLOR generate_name: border-inline-start-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-inline-start-color fa: رنگ مرز ابتدایی خطی @@ -408,7 +408,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_INLINE_START_WIDTH generate_name: border-inline-start-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-inline-start-width fa: عرض مرز ابتدایی خطی @@ -416,7 +416,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_LEFT_COLOR generate_name: border-left-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-left-color fa: رنگ مرز چپ @@ -432,7 +432,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_LEFT_WIDTH generate_name: border-left-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-left-width fa: عرض مرز چپ @@ -440,7 +440,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_RIGHT_COLOR generate_name: border-right-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-right-color fa: رنگ مرز راست @@ -456,7 +456,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_RIGHT_WIDTH generate_name: border-right-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-right-width fa: عرض مرز راست @@ -464,7 +464,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_SPACING generate_name: border-spacing type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-spacing fa: فاصله مرز @@ -472,7 +472,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_START_END_RADIUS generate_name: border-start-end-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-start-end-radius fa: گردی ابتدا و انتها @@ -480,7 +480,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_START_START_RADIUS generate_name: border-start-start-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-start-start-radius fa: شعاع ابتدایی شروع مرز @@ -488,7 +488,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_TOP_COLOR generate_name: border-top-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-top-color fa: رنگ مرز بالا @@ -496,7 +496,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_TOP_LEFT_RADIUS generate_name: border-top-left-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: border-top-left-radius fa: گردی بالا چپ @@ -504,7 +504,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BORDER_TOP_RIGHT_RADIUS generate_name: border-top-right-radius type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: border-top-right-radius fa: گردی بالا راست @@ -546,7 +546,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_BOX_SHADOW generate_name: box-shadow type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: box-shadow fa: سایه جعبه @@ -586,7 +586,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_CARET_COLOR generate_name: caret-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: caret-color fa: رنگ نشانگر متنی @@ -620,7 +620,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_COLOR generate_name: color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: color fa: رنگ @@ -694,7 +694,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_COLUMN_GAP generate_name: column-gap type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: column-gap fa: @@ -704,7 +704,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_COLUMN_RULE_COLOR generate_name: column-rule-color type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_COLOR - reserved_values: "" + reserved_values: '' text: en: column-rule-color fa: رنگ خط افقی ستون @@ -720,7 +720,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_COLUMN_RULE_WIDTH generate_name: column-rule-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: column-rule-width fa: عرض خط افقی ستون @@ -744,7 +744,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_COLUMNS generate_name: columns type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: columns fa: @@ -978,7 +978,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_FLEX_GROW generate_name: flex-grow type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_INTEGER - reserved_values: "" + reserved_values: '' text: en: flex-grow fa: رشد انعطاف @@ -986,7 +986,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_FLEX_SHRINK generate_name: flex-shrink type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_INTEGER - reserved_values: "" + reserved_values: '' text: en: flex-shrink fa: @@ -1060,7 +1060,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_FONT_SIZE generate_name: font-size type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: font-size fa: اندازه فونت @@ -1292,7 +1292,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_LETTER_SPACING generate_name: letter-spacing type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: letter-spacing fa: فاصله بین حروف @@ -1300,7 +1300,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_LINE_HEIGHT generate_name: line-height type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: line-height fa: ارتفاع خط @@ -1372,7 +1372,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_MAX_HEIGHT generate_name: max-height type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: max-height fa: حداکثر ارتفاع @@ -1380,7 +1380,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_MAX_WIDTH generate_name: max-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: max-width fa: حداکثر عرض @@ -1388,7 +1388,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_MIN_HEIGHT generate_name: min-height type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: min-height fa: حداقل ارتفاع @@ -1396,7 +1396,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_MIN_WIDTH generate_name: min-width type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: min-width fa: حداقل عرض @@ -1412,7 +1412,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_OPACITY generate_name: opacity type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_PERCENTAGE - reserved_values: "" + reserved_values: '' text: en: opacity fa: شفافیت @@ -1526,7 +1526,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_OUTLINE_OFFSET generate_name: outline-offset type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: outline-offset fa: فاصله حاشیه @@ -1566,7 +1566,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_OVERFLOW_CLIP_MARGIN generate_name: overflow-clip-margin type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: overflow-clip-margin fa: فاصله برش بیش از حد @@ -1590,7 +1590,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_PADDING_BLOCK generate_name: padding-block type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: padding-block fa: فاصله بلوک @@ -1766,7 +1766,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_R generate_name: r type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: r fa: شعاع @@ -1830,7 +1830,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_RX generate_name: rx type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: rx fa: شعاع X @@ -1838,7 +1838,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_RY generate_name: ry type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: ry fa: شعاع Y @@ -1846,7 +1846,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCALE generate_name: scale type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_STRING_ANY - reserved_values: "" + reserved_values: '' text: en: scale fa: مقیاس @@ -1862,7 +1862,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN generate_name: scroll-margin type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin fa: فاصله پیمایش @@ -1870,7 +1870,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_BLOCK generate_name: scroll-margin-block type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-block fa: فاصله بلوک پیمایش @@ -1878,7 +1878,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_BLOCK_END generate_name: scroll-margin-block-end type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-block-end fa: فاصله انتهای بلوک پیمایش @@ -1886,7 +1886,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_BLOCK_START generate_name: scroll-margin-block-start type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-block-start fa: فاصله شروع بلوک پیمایش @@ -1894,7 +1894,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_BOTTOM generate_name: scroll-margin-bottom type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-bottom fa: فاصله پایین پیمایش @@ -1902,7 +1902,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_INLINE generate_name: scroll-margin-inline type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-inline fa: فاصله درون خطی پیمایش @@ -1910,7 +1910,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_INLINE_END generate_name: scroll-margin-inline-end type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-inline-end fa: فاصله انتهای درون خطی پیمایش @@ -1918,7 +1918,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_INLINE_START generate_name: scroll-margin-inline-start type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-inline-start fa: فاصله شروع درون خطی پیمایش @@ -1926,7 +1926,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_LEFT generate_name: scroll-margin-left type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-left fa: فاصله چپ پیمایش @@ -1934,7 +1934,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_RIGHT generate_name: scroll-margin-right type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-right fa: فاصله راست پیمایش @@ -1942,7 +1942,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_MARGIN_TOP generate_name: scroll-margin-top type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-margin-top fa: فاصله بالا پیمایش @@ -1950,7 +1950,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING generate_name: scroll-padding type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding fa: فاصله پیمایش @@ -1958,7 +1958,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_BLOCK generate_name: scroll-padding-block type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-block fa: فاصله بلوک پیمایش @@ -1966,7 +1966,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_BLOCK_END generate_name: scroll-padding-block-end type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-block-end fa: فاصله انتهای بلوک پیمایش @@ -1974,7 +1974,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_BLOCK_START generate_name: scroll-padding-block-start type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-block-start fa: فاصله شروع بلوک پیمایش @@ -1982,7 +1982,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_BOTTOM generate_name: scroll-padding-bottom type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-bottom fa: فاصله پایین پیمایش @@ -1990,7 +1990,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_INLINE generate_name: scroll-padding-inline type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-inline fa: فاصله درون خطی پیمایش @@ -1998,7 +1998,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_INLINE_END generate_name: scroll-padding-inline-end type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-inline-end fa: فاصله انتهای درون خطی پیمایش @@ -2006,7 +2006,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_INLINE_START generate_name: scroll-padding-inline-start type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-inline-start fa: فاصله شروع درون خطی پیمایش @@ -2014,7 +2014,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_LEFT generate_name: scroll-padding-left type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-left fa: فاصله چپ پیمایش @@ -2022,7 +2022,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_RIGHT generate_name: scroll-padding-right type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-right fa: فاصله راست پیمایش @@ -2030,7 +2030,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_SCROLL_PADDING_TOP generate_name: scroll-padding-top type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: scroll-padding-top fa: فاصله بالا پیمایش @@ -2152,7 +2152,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_TRANSLATE generate_name: translate type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: translate fa: ترجمه @@ -2280,7 +2280,7 @@ items: - id: AST_LAYOUT_ATTRIBUTE_TYPE_STYLE_WIDOWS generate_name: widows type: AST_LAYOUY_ATTRIBUTE_STYLE_FILTER_SIZE - reserved_values: "" + reserved_values: '' text: en: widows fa: diff --git a/config/layout/attribute/style/value.yaml b/config/layout/attribute/style/value.yaml index 97e67e60..57c48cc4 100644 --- a/config/layout/attribute/style/value.yaml +++ b/config/layout/attribute/style/value.yaml @@ -1663,7 +1663,7 @@ items: text: en: "brightness()" fa: کنتراست - - generate_name: "drop-shadow()"" + - generate_name: "drop-shadow()" text: en: "drop-shadow()" fa: گرادیان diff --git a/config/layout/type.yaml b/config/layout/type.yaml index 4a4b36a1..f3395cc4 100644 --- a/config/layout/type.yaml +++ b/config/layout/type.yaml @@ -559,7 +559,7 @@ items: fa: فونت is_mother: true - id: AST_LAYOUT_TYPE_MEDIA - generate_name: "@media" + generate_name: '@media' text: en: responsive fa: diff --git a/src/salam-online.html b/src/salam-online.html index 82ccfd08..aeedbdff 100644 --- a/src/salam-online.html +++ b/src/salam-online.html @@ -1,14 +1,20 @@ - + - -
-