[Bug]: EventMerger.php->getExtendedSubject() uses server default language for "and" in activity emails instead of user preference
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 75/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- php
- Domínio
- backend, internationalization
Direção de pesquisa
Comece em lib/private/Activity/EventMerger.php, em getExtendedSubject(), onde é construída a palavra de ligação 'and' para a atividade de arquivo mesclada. Verifique como o objeto de tradução é obtido ali e se ele usa o idioma padrão do servidor em vez do idioma do destinatário. Está pronto quando o assunto mesclado para um usuário com idioma não padrão usa o 'and' desse idioma no e-mail de atividade e os testes de atividade continuam passando.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- PHP
- Estrelas
- 37.6k
- Forks
- 5.4k
- Merge médio
- 1d 13h
- PRs com merge (30d)
- 623
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de nextcloud/server
-
[Bug]: Axios Update NeededAberta0. Needs triage 35-feedback bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
[Bug]: GET /js/../<anything> returns 500 (NotPermittedException from JsController::getJs) instead of 404Talvez já em andamento @lazerg assumiu há 7 dias. Aberta35-feedback
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
[Bug]: Dashboard widgets registered via OCA.Dashboard.register() sometimes never mount (spinner forever) – Vue 3 non-deep `callbacks` watcher raceTalvez já em andamento @lazerg assumiu há 7 dias. Aberta35-feedback
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
[Bug]:Talvez já em andamento @lazerg assumiu há 7 dias. Aberta0. Needs triage 35-feedback bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
Todas as issues de nextcloud/server
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
sonata-project/SonataAdminBundle#8426 ·
Mantenedores costumam responder em até 1 dia
-
good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
erkamyaman/rust-anything#942 ·
Mantenedores costumam responder em até 1 dia
-
CPU core labels missing for Low-Power E-cores on hybrid Intel CPUs (Arrow Lake-H) — get_intel_core_types() ignores /sys/devices/cpu_lowpowerTalvez já em andamento @dgongut assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
Mantenedores costumam responder em até 1 dia
-
area/plugins area/tests type/enhancement when/later
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia