diff --git a/.github/ISSUE_TEMPLATE/issue_pr_management.yml b/.github/ISSUE_TEMPLATE/issue_pr_management.yml new file mode 100644 index 000000000..3a7509236 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_pr_management.yml @@ -0,0 +1,27 @@ +name: Close Inactive Issues And PRs +on: + schedule: + - cron: "30 1 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v9 + with: + days-before-issue-stale: 365 + days-before-issue-close: 14 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 365 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + stale-pr-message: "This pull request is stale because it has been open for 365 days with no activity." + close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale." + days-before-pr-stale: 365 + days-before-pr-close: 14 + exempt-milestones: true + exempt-assignees: krille-chan + operations-per-run: 500 + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 808c00bc4..a184bfa1b 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -3209,7 +3209,7 @@ } } }, - "sentVoiceMessage": "🎙️ {duration} - {sender}", + "sentVoiceMessage": "🎙️ {duration} - Voice message from {sender}", "@sentVoiceMessage": { "type": "String", "placeholders": { @@ -4928,6 +4928,9 @@ "ban": "Ban", "unban": "Unban", "kick": "Kick", + "approve": "Approve", + "youHaveKnocked": "You have knocked", + "pleaseWaitUntilInvited": "Please wait now, until someone from the room invites you.", "lemma": "Lemma", "grammarFeature": "Grammar feature", "grammarTag": "Grammar tag", diff --git a/lib/utils/matrix_sdk_extensions/matrix_locals.dart b/lib/utils/matrix_sdk_extensions/matrix_locals.dart index ea8206734..123580134 100644 --- a/lib/utils/matrix_sdk_extensions/matrix_locals.dart +++ b/lib/utils/matrix_sdk_extensions/matrix_locals.dart @@ -361,6 +361,6 @@ class MatrixLocals extends MatrixLocalizations { senderName, duration == null ? '' - : '${duration.inMinutes}:${duration.inSeconds % 60}', + : '${duration.inMinutes.toString().padLeft(2, '0')}:${(duration.inSeconds % 60).toString().padLeft(2, '0')}', ); }