[Bug]: EventMerger.php->getExtendedSubject() uses server default language for "and" in activity emails instead of user preference
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- php
調査の方向性
lib/private/Activity/EventMerger.php の getExtendedSubject() から始めてください。ここで、統合されたファイルアクティビティ用の接続語 'and' が作られています。翻訳オブジェクトがどのように取得されているか、また受信者の言語ではなくサーバーの既定言語を使っていないかを確認してください。既定以外の言語を設定しているユーザーの統合された件名が、アクティビティのメールでその言語の 'and' を使い、アクティビティのテストがすべて引き続き通れば完了です。
索引モデルが issue の本文から書いたものです。
説明
Submit a report and help us improve Nextcloud Server
Bug description
When receiving an email notification for file activity, the language of those emails is set to the user's preferred language.
However, the word "and" in sentences like {user} created {folder} and {file}, parsed by https://github.com/nextcloud/server/blob/master/lib/private/Activity/EventMerger.php#L182 uses the server's default language.
Steps to reproduce
- Enable email notifications for file changes
- Set your user's (interface) language to anything different from the default
- Upload a few files at once
- Receive an email that says
You created {file} AND {file} AND {file}, whereANDis not in the same language as the rest of the email.
Expected behavior
and should be in the same preferred language.
Nextcloud Server version
34
Additional info
and is correctly translated in the Activity app.
gitGost helps developers protect their privacy by removing identifying information from commits and squashing changes.
While this may limit context for maintainers, remember that not everyone enjoys the same freedoms. For some, privacy is a necessity.
Learn more at gitGost.
- 主要言語
- PHP
- スター
- 37.6k
- フォーク
- 5.4k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 623
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/server のほかの issue
-
0. Needs triage 35-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: GET /js/../<anything> returns 500 (NotPermittedException from JsController::getJs) instead of 404対応中かも @lazerg が 7 日前に担当しました。 オープン35-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Dashboard widgets registered via OCA.Dashboard.register() sometimes never mount (spinner forever) – Vue 3 non-deep `callbacks` watcher race対応中かも @lazerg が 7 日前に担当しました。 オープン35-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
[Bug]:対応中かも @lazerg が 7 日前に担当しました。 オープン0. Needs triage 35-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
nextcloud/server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sonata-project/SonataAdminBundle#8426 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
erkamyaman/rust-anything#942 ·
メンテナーはふだん 1 日以内に返信
-
CPU core labels missing for Low-Power E-cores on hybrid Intel CPUs (Arrow Lake-H) — get_intel_core_types() ignores /sys/devices/cpu_lowpower対応中かも @dgongut が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
area/plugins area/tests type/enhancement when/later
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信