From 647ed049013d398ca760c4a7fc133e061ad70ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 1 Jun 2025 13:07:05 +0200 Subject: [PATCH 1/3] chore: Follow up voice message localization --- lib/utils/matrix_sdk_extensions/matrix_locals.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/matrix_sdk_extensions/matrix_locals.dart b/lib/utils/matrix_sdk_extensions/matrix_locals.dart index 8faf1c9c6..82d6e5f05 100644 --- a/lib/utils/matrix_sdk_extensions/matrix_locals.dart +++ b/lib/utils/matrix_sdk_extensions/matrix_locals.dart @@ -358,6 +358,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')}', ); } From 29a20f342ed109b73692c2c79766542fb0d0e8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 1 Jun 2025 13:07:49 +0200 Subject: [PATCH 2/3] chore: Update voice message localization --- lib/l10n/intl_en.arb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 3c379340f..d99b4b6c6 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": { From 4ca098cc655fca8404155d396156e249b445fda7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 1 Jun 2025 14:26:16 +0200 Subject: [PATCH 3/3] ci: Bring back stale bot but with much longer issue life time of one year --- .../ISSUE_TEMPLATE/issue_pr_management.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue_pr_management.yml 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