# SPDX-FileCopyrightText: 2025 Devin Lin # SPDX-License-Identifier: BSD-2-Clause include: /gitlab-templates/blocks/workflow.yml qml-lint: image: name: debian:latest entrypoint: [""] tags: - Linux stage: validate script: - echo "Checking for i18n* usage in QML files to make sure single quotes aren't used..." - if grep -RIn --include="*.qml" -E "i18n(c(p)?|d(c?p)?|n(p)?)?\('" .; then echo "Found single quote i18n* usage in QML. Please correct these to use double quotes instead, as single quotes are not supported."; exit 1; else echo "No single quote i18n* usage found in QML."; fi