From 105e8c21052bbd820dd901ff640afd56a365abda Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 21 Dec 2023 16:33:25 +1300 Subject: [PATCH 1/2] MNT Run module-standardiser (#414) --- .github/ISSUE_TEMPLATE.md | 1 + .github/ISSUE_TEMPLATE/1_bug_report.yml | 72 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2_feature_request.yml | 35 ++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/PULL_REQUEST_TEMPLATE.md | 39 +++++++++++ 5 files changed, 155 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/1_bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/2_feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..cb5f0580 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1 @@ + diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yml b/.github/ISSUE_TEMPLATE/1_bug_report.yml new file mode 100644 index 00000000..c9566535 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yml @@ -0,0 +1,72 @@ +name: 🪳 Bug Report +description: Tell us if something isn't working the way it's supposed to + +body: + - type: markdown + attributes: + value: | + We strongly encourage you to [submit a pull request](https://docs.silverstripe.org/en/contributing/code/) which fixes the issue. + Bug reports which are accompanied with a pull request are a lot more likely to be resolved quickly. + - type: input + id: affected-versions + attributes: + label: Module version(s) affected + description: | + What version of _this module_ have you reproduced this bug on? + Run `composer info` to see the specific version of each module installed in your project. + If you don't have access to that, check inside the help menu in the bottom left of the CMS. + placeholder: x.y.z + validations: + required: true + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of the problem + validations: + required: true + - type: textarea + id: how-to-reproduce + attributes: + label: How to reproduce + description: | + ⚠️ This is the most important part of the report ⚠️ + Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix. + - Please, take the time to show us some code and/or configuration that is needed for others to reproduce the problem easily. + - If the bug is too complex to reproduce with some short code samples, please reproduce it in a public repository and provide a link to the repository along with steps for setting up and reproducing the bug using that repository. + - If part of the bug includes an error or exception, please provide a full stack trace. + - If any user interaction is required to reproduce the bug, please add an ordered list of steps that are required to reproduce it. + - Be as clear as you can, but don't miss any steps out. Simply saying "create a page" is less useful than guiding us through the steps you're taking to create a page, for example. + placeholder: | + + #### Code sample + ```php + + ``` + + #### Reproduction steps + 1. + validations: + required: true + - type: textarea + id: possible-solution + attributes: + label: Possible Solution + description: | + *Optional: only if you have suggestions on a fix/reason for the bug* + Please consider [submitting a pull request](https://docs.silverstripe.org/en/contributing/code/) with your solution! It helps get faster feedback and greatly increases the chance of the bug being fixed. + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: "*Optional: any other context about the problem: log messages, screenshots, etc.*" + - type: checkboxes + id: validations + attributes: + label: Validations + description: "Before submitting the issue, please make sure you do the following:" + options: + - label: Check that there isn't already an issue that reports the same bug + required: true + - label: Double check that your reproduction steps work in a fresh installation of [`silverstripe/installer`](https://github.com/silverstripe/silverstripe-installer) (with any code examples you've provided) + required: true diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.yml b/.github/ISSUE_TEMPLATE/2_feature_request.yml new file mode 100644 index 00000000..fe808a5f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.yml @@ -0,0 +1,35 @@ +name: 🚀 Feature Request +description: Submit a feature request (but only if you're planning on implementing it) +body: + - type: markdown + attributes: + value: | + Please only submit feature requests if you plan on implementing the feature yourself. + See the [contributing code documentation](https://docs.silverstripe.org/en/contributing/code/#make-or-find-a-github-issue) for more guidelines about submitting feature requests. + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of the new feature, and why it belongs in core + validations: + required: true + - type: textarea + id: more-info + attributes: + label: Additional context or points of discussion + description: | + *Optional: Any additional context, points of discussion, etc that might help validate and refine your idea* + - type: checkboxes + id: validations + attributes: + label: Validations + description: "Before submitting the issue, please confirm the following:" + options: + - label: You intend to implement the feature yourself + required: true + - label: You have read the [contributing guide](https://docs.silverstripe.org/en/contributing/code/) + required: true + - label: You strongly believe this feature should be in core, rather than being its own community module + required: true + - label: You have checked for existing issues or pull requests related to this feature (and didn't find any) + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..f7652003 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Security Vulnerability + url: https://docs.silverstripe.org/en/contributing/issues_and_bugs/#reporting-security-issues + about: ⚠️ We do not use GitHub issues to track security vulnerability reports. Click "open" on the right to see how to report security vulnerabilities. + - name: Support Question + url: https://www.silverstripe.org/community/ + about: We use GitHub issues only to discuss bugs and new features. For support questions, please use one of the support options available in our community channels. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..0e44db18 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,39 @@ + +## Description + + +## Manual testing steps + + +## Issues + +- # + +## Pull request checklist + +- [ ] The target branch is correct + - See [picking the right version](https://docs.silverstripe.org/en/contributing/code/#picking-the-right-version) +- [ ] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting) + - Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR. +- [ ] The commit messages follow our [commit message guidelines](https://docs.silverstripe.org/en/contributing/code/#commit-messages) +- [ ] The PR follows our [contribution guidelines](https://docs.silverstripe.org/en/contributing/code/) +- [ ] Code changes follow our [coding conventions](https://docs.silverstripe.org/en/contributing/coding_conventions/) +- [ ] This change is covered with tests (or tests aren't necessary for this change) +- [ ] Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release +- [ ] CI is green From 892dbba99626cc2a9e4ecec6efd03600008b7aca Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:15:53 +1300 Subject: [PATCH 2/2] TLN Update translations (#419) --- lang/sv.yml | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 lang/sv.yml diff --git a/lang/sv.yml b/lang/sv.yml new file mode 100644 index 00000000..a7e3566f --- /dev/null +++ b/lang/sv.yml @@ -0,0 +1,128 @@ +sv: + CleanupJob: + Title: 'Rensa upp gamla jobb från databasen' + DeleteObjectJob: + DELETE_JOB: 'Radera nod' + DELETE_OBJ2: 'Radera {title}' + GenerateSitemapJob: + REGENERATE: 'Återskapa .xml-filen för Google sitemap' + ProcessJobQueueTask: + Description: 'Används via ett cron-jobb för att utföra köade jobb som måste köras.' + PublishItemsJob: + Title: 'Publicera objekt under {title}' + QueuedJobRule: + PLURALNAME: 'Uppköat jobb regler' + QueuedJobs: + CREATE_JOB_TYPE: 'Skapa jobb av typ' + CREATE_NEW_JOB: 'Skapa nytt jobb' + JOB_EXCEPT: 'Jobbet orsakade erroret %s i %s vid linje %s' + JOB_PAUSED: 'Jobb pausat vid %s' + JOB_STALLED: 'Jobbet stannade efter %s försök, vänligen kontrollera' + JOB_TYPE: Jobbtyp + JOB_TYPE_PARAMS: 'Konstruktörsparametrar för att skapa jobb' + JobsFieldTitle: Jobb + MEMORY_RELEASE: 'Jobbet frigör minne och väntar (%s används)' + STALLED_JOB: 'Stannat jobb' + START_JOB_TIME: 'Börja jobbet vid' + TABLE_ADDE: 'Lagt till' + TABLE_MESSAGES: Meddelande + TABLE_NUM_PROCESSED: Färdig + TABLE_STARTED: Startad + TABLE_START_AFTER: 'Börja efter' + TABLE_STATUS: Status + TABLE_TITLE: Titel + TABLE_TOTAL: Totalt + TIME_LIMIT: 'Kön har passerat tidsgränsen och kommer att starta om innan den fortsätter' + QueuedJobsAdmin: + MENUTITLE: Jobb + RunBuildTaskJob: + JOB_TITLE: 'Kör BuildTask {task}' + ScheduledExecution: + EXECUTE_EVERY: 'Kör varje' + EXECUTE_FREE: 'Schemalagt (i strtotime-format från första körning)' + ExecuteEveryDay: Dag + ExecuteEveryFortnight: 'Två veckor' + ExecuteEveryHour: Timme + ExecuteEveryMinute: Minut + ExecuteEveryMonth: Månad + ExecuteEveryWeek: Vecka + ExecuteEveryYear: År + FIRST_EXECUTION: 'Första exekvering' + NEXT_RUN_DATE: 'Nästa körningsdatum' + ScheduleTabTitle: Schema + ScheduledExecutionJob: + Title: 'Schemalagd körning för {title}' + Symbiote\QueuedJobs\Controllers\QueuedJobsAdmin: + CREATE_JOB_TYPE: 'Skapa jobb av typ' + CREATE_NEW_JOB: 'Skapa nytt jobb' + JobsFieldTitle: Jobb + MENUTITLE: Jobb + START_JOB_TIME: 'Börja jobbet vid' + Symbiote\QueuedJobs\DataObjects\QueuedJobDescriptor: + JOB_TYPE: Jobbtyp + TABLE_ADDE: 'Lagt till' + TABLE_FINISHED: Slutförd + TABLE_MESSAGES: Meddelande + TABLE_NUM_PROCESSED: Färdig + TABLE_STARTED: Startad + TABLE_START_AFTER: 'Börja efter' + TABLE_STATUS: Status + TABLE_TITLE: Titel + TABLE_TOTAL: Totalt + TYPE_IMMEDIATE: Direkt + TYPE_LARGE: Stor + TYPE_QUEUED: 'I kö' + db_Expiry: Upphör + db_Implementation: Implementation + db_JobFinished: 'Jobbet avslutat' + db_JobRestarted: 'Jobbet startade om' + db_JobStarted: 'Jobb börjat' + db_JobStatus: Jobbstatus + db_JobTitle: 'Jobb titel' + db_JobType: Jobbtyp + db_LastProcessedCount: 'Antal senast behandlade' + db_NotifiedBroken: 'Anmäld sönder' + db_ResumeCounts: 'Antal gånger återupptagen' + db_SavedJobData: 'Sparad jobbdata' + db_SavedJobMessages: 'Sparade jobbmeddelanden' + db_Signature: Signatur + db_StartAfter: 'Börja efter' + db_StepsProcessed: 'Steg bearbetade' + db_TotalSteps: 'Totalt antal steg' + db_Worker: Arbetare + db_WorkerCount: 'Antal arbetare' + has_one_RunAs: 'Kör som' + Symbiote\QueuedJobs\DataObjects\QueuedJobRule: + PLURALNAME: 'Uppköat jobb regler' + db_Processes: Processer + Symbiote\QueuedJobs\Extensions\ScheduledExecutionExtension: + EXECUTE_EVERY: 'Kör varje' + EXECUTE_FREE: 'Schemalagt (i strtotime-format från första körning)' + ExecuteEveryDay: Dag + ExecuteEveryFortnight: 'Två veckor' + ExecuteEveryHour: Timme + ExecuteEveryMinute: Minut + ExecuteEveryMonth: Månad + ExecuteEveryWeek: Vecka + ExecuteEveryYear: År + FIRST_EXECUTION: 'Första exekvering' + NEXT_RUN_DATE: 'Nästa körningsdatum' + ScheduleTabTitle: Schema + db_ExecuteEvery: 'Kör varje' + has_one_ScheduledJob: 'Schemalagda jobb' + Symbiote\QueuedJobs\Jobs\CleanupJob: + Title: 'Rensa upp gamla jobb från databasen' + Symbiote\QueuedJobs\Jobs\DeleteObjectJob: + DELETE_JOB: 'Radera nod' + DELETE_OBJ2: 'Radera {title}' + Symbiote\QueuedJobs\Jobs\GenerateGoogleSitemapJob: + REGENERATE: 'Återskapa .xml-filen för Google sitemap' + Symbiote\QueuedJobs\Jobs\PublishItemsJob: + Title: 'Publicera objekt under {title}' + Symbiote\QueuedJobs\Jobs\ScheduledExecutionJob: + Title: 'Schemalagd körning för {title}' + Symbiote\QueuedJobs\Services\QueuedJobService: + STALLED_JOB: 'Stannat jobb' + TIME_LIMIT: 'Kön har passerat tidsgränsen och kommer att starta om innan den fortsätter' + Symbiote\QueuedJobs\Tasks\ProcessJobQueueTask: + Description: 'Används via ett cron-jobb för att utföra köade jobb som måste köras.'