Skip to content

Commit

Permalink
Merge branch 'main' into granular-webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
lis2 committed Oct 9, 2023
2 parents c5ff1b3 + 9fbf43e commit 712ba93
Show file tree
Hide file tree
Showing 27 changed files with 235 additions and 10 deletions.
1 change: 1 addition & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
< 3.2.0.beta2-dev: 9fbf43e2f077e86f0a1ff769af6036d4e78bfff1
3.1.999: b5d487d6a5bfe2571d936eec5911d02a5f3fcc32
3.1.0.beta1: 62fe282c756ac7de43a22a09b0d675882a507743
2.9.0.beta11: 882dd61e11f9bab8e99510296938b0cdbc3269c4
2.9.0.beta1: e6cce5486df906ede74aa1b17ab308a145a99b88
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export default class SolvedStatusFilter extends Component {

if (
!helper.siteSettings.show_filter_by_solved_status ||
router.currentRouteName === "discovery.categories"
router.currentRouteName === "discovery.categories" ||
args.editingCategory
) {
return false;
} else if (helper.siteSettings.allow_solved_on_all_topics) {
Expand Down
1 change: 1 addition & 0 deletions assets/stylesheets/solutions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $solved-color: green;
.select-kit {
&.solved-status-filter {
min-width: auto;
margin-right: 0.5em;
.select-kit-header {
margin: 0;
}
Expand Down
8 changes: 8 additions & 0 deletions config/locales/client.ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ar:
solved:
title: "تم الحل"
allow_accepted_answers: "السماح لصاحب الموضوع وفريق العمل بوضع علامة على أحد الردود على أنه الحل"
solved_topics_auto_close_hours: "إغلاق الموضوع تلقائيًا بعد مرور (n) من الساعات على آخر رد بمجرد وضع علامة على الموضوع على أنه محلول."
accept_answer: "التحديد إذا كان هذا الرد يحل المشكلة"
accepted_description: "هذا هو الحل المقبول لهذا الموضوع"
has_no_accepted_answer: "لا يوجد حل لهذا الموضوع"
Expand All @@ -39,6 +40,8 @@ ar:
no_answer:
title: هل تمت الإجابة على سؤالك؟
description: "ميِّز الإجابة وساعد الآخرين عن طريق استخدام زر الحل أسفل الرد الصحيح."
notification:
title: "تم وضع علامة \"حل\" على منشورك"
topic_statuses:
solved:
help: "هناك حل لهذا الموضوع"
Expand All @@ -52,6 +55,11 @@ ar:
solved_event:
name: "حدث الحل"
details: "عندما يضع المستخدم علامة على أحد المنشورات على أنه الإجابة المقبولة أو غير المقبولة"
api:
scopes:
descriptions:
solved:
answer: قبول/عدم قبول حل.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 7 additions & 0 deletions config/locales/client.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ de:
no_answer:
title: Wurde deine Frage beantwortet?
description: "Hebe die Antwort hervor und hilf anderen, indem du die Lösungsschaltfläche unter der richtigen Antwort verwendest."
notification:
title: "dein Beitrag wurde als Lösung markiert"
topic_statuses:
solved:
help: "Dieses Thema hat eine Lösung"
Expand All @@ -49,6 +51,11 @@ de:
solved_event:
name: "Gelöstes Ereignis"
details: "Wenn ein Benutzer einen Beitrag als akzeptierte oder nicht akzeptierte Antwort markiert."
api:
scopes:
descriptions:
solved:
answer: Eine Lösung akzeptieren/nicht mehr akzeptieren.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 7 additions & 0 deletions config/locales/client.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ es:
no_answer:
title: '¿Se ha respondido a tu pregunta?'
description: "Destaca la respuesta y ayuda a los demás utilizando el botón de solución que hay debajo de la respuesta correcta."
notification:
title: "tu publicación se ha marcado como solución"
topic_statuses:
solved:
help: "Este tema tiene una solución"
Expand All @@ -49,6 +51,11 @@ es:
solved_event:
name: "Evento resuelto"
details: "Cuando un usuario marca o desmarca una publicación como la respuesta aceptada."
api:
scopes:
descriptions:
solved:
answer: Aceptar/No aceptar una solución.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
9 changes: 8 additions & 1 deletion config/locales/client.fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi:
solved:
title: "Ratkaistu"
allow_accepted_answers: "Salli ketjun omistajan ja henkilökunnan merkitä viesti ratkaisuksi"
solved_topics_auto_close_hours: "Sulje ketju automaattisesti (n) tunnin kuluttua viimeisestä vastauksesta, kun aihe on ratkaistu."
solved_topics_auto_close_hours: "Sulje ketju automaattisesti (n) tunnin kuluttua viimeisestä vastauksesta, kun ketjun on ratkaistu."
accept_answer: "Valitse, jos tämä vastaus ratkaisee ongelman"
accepted_description: "Tämä on ketjun hyväksytty ratkaisu"
has_no_accepted_answer: "Tässä ketjussa ei ole ratkaisua"
Expand All @@ -36,6 +36,8 @@ fi:
no_answer:
title: Onko kysymykseesi vastattu?
description: "Korosta vastaus ja auta muita käyttämällä oikean vastauksen alla olevaa ratkaisupainiketta."
notification:
title: "viestisi merkittiin ratkaisuksi"
topic_statuses:
solved:
help: "Tämä ketju on ratkaistu"
Expand All @@ -49,6 +51,11 @@ fi:
solved_event:
name: "Ratkaistu tapahtuma"
details: "Kun käyttäjä merkitsee viestin hyväksytyksi tai hyväksymättömäksi vastaukseksi."
api:
scopes:
descriptions:
solved:
answer: Hyväksy tai hylkää ratkaisu.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 7 additions & 0 deletions config/locales/client.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ fr:
no_answer:
title: Votre question a-t-elle reçu une réponse ?
description: "Mettez la réponse en surbrillance et aidez les autres utilisateurs en utilisant le bouton de solution sous la réponse adéquate."
notification:
title: "votre message a été marqué comme solution"
topic_statuses:
solved:
help: "Ce sujet a une solution"
Expand All @@ -49,6 +51,11 @@ fr:
solved_event:
name: "Événement résolu"
details: "Lorsqu'un utilisateur marque un message comme étant une réponse acceptée ou non acceptée."
api:
scopes:
descriptions:
solved:
answer: Accepter/refuser une solution.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 7 additions & 0 deletions config/locales/client.it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ it:
no_answer:
title: La tua domanda ha avuto risposta?
description: "Evidenzia la risposta e aiuta gli altri utilizzando il pulsante della soluzione sotto la risposta corretta."
notification:
title: "il tuo messaggio è stato contrassegnato come soluzione"
topic_statuses:
solved:
help: "Questo argomento ha una soluzione"
Expand All @@ -49,6 +51,11 @@ it:
solved_event:
name: "Evento risolto"
details: "Quando un utente contrassegna un messaggio come risposta accettata o non accettata."
api:
scopes:
descriptions:
solved:
answer: Accetta/Rifiuta una soluzione.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
8 changes: 8 additions & 0 deletions config/locales/client.ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ja:
solved:
title: "解決済み"
allow_accepted_answers: "トピックオーナーとスタッフが返信を解決策としてマークすることを許可する"
solved_topics_auto_close_hours: "トピックが解決済みとマークされたら、最後の返信から (n) 時間後にトピックを自動クローズします。"
accept_answer: "この返信が問題を解決したか選択してください"
accepted_description: "これは、このトピックについて受け入れられた解決策です。"
has_no_accepted_answer: "このトピックには解決策がありません"
Expand All @@ -34,6 +35,8 @@ ja:
no_answer:
title: 質問の回答は得られましたか?
description: "適切な返信の下にある解決策ボタンを使って回答をハイライトし、他のユーザーを助けましょう。"
notification:
title: "あなたの投稿が解決策としてマークされました"
topic_statuses:
solved:
help: "このトピックには解決策があります"
Expand All @@ -47,6 +50,11 @@ ja:
solved_event:
name: "解決済みイベント"
details: "ユーザーが投稿を受け入れられる回答または受け入れられない回答としてマークした場合。"
api:
scopes:
descriptions:
solved:
answer: 解決策に同意/非同意します。
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 7 additions & 0 deletions config/locales/client.nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ nl:
no_answer:
title: Is je vraag beantwoord?
description: "Markeer het antwoord en help anderen door de oplossingsknop onder het juiste antwoord te gebruiken."
notification:
title: "Je bericht is gemarkeerd als oplossing"
topic_statuses:
solved:
help: "Dit topic heeft een oplossing"
Expand All @@ -49,6 +51,11 @@ nl:
solved_event:
name: "Oplossingsgebeurtenis"
details: "Wanneer een gebruiker een bericht als geaccepteerd of niet-geaccepteerd antwoord markeert."
api:
scopes:
descriptions:
solved:
answer: Accepteer/deaccepteer een oplossing.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
9 changes: 8 additions & 1 deletion config/locales/client.pt_BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pt_BR:
solved:
title: "Resolvido"
allow_accepted_answers: "Permitir que o(a) proprietário(a) do tópico e a equipe marquem uma resposta como a solução"
solved_topics_auto_close_hours: "Fechar tópico automaticamente (n) horas após a última resposta, uma vez que o tópico foi marcado como resolvido."
solved_topics_auto_close_hours: "Fechar tópico automaticamente (n) horas após a última resposta quando o tópico tiver sido marcado como resolvido."
accept_answer: "Selecione se esta resposta resolve o problema"
accepted_description: "Esta é a solução aceita para este tópico"
has_no_accepted_answer: "Este tópico não tem solução"
Expand All @@ -36,6 +36,8 @@ pt_BR:
no_answer:
title: Sua pergunta foi respondida?
description: "Destaque a resposta e ajude as outras pessoas ao usar o botão de solução abaixo para responder corretamente."
notification:
title: "sua postagem foi marcada como uma solução"
topic_statuses:
solved:
help: "Este tópico tem uma solução"
Expand All @@ -49,6 +51,11 @@ pt_BR:
solved_event:
name: "Evento solucionado"
details: "Quando um(a) usuário(a) marca uma postagem como uma resposta aceita ou não aceita."
api:
scopes:
descriptions:
solved:
answer: Aceitar/não aceitar uma solução.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
7 changes: 6 additions & 1 deletion config/locales/client.ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ru:
solved:
title: "Решённые"
allow_accepted_answers: "Разрешать автору темы и модераторам помечать ответ статусом 'Вопрос решён'"
solved_topics_auto_close_hours: "Автоматически закрывать тему через указанное здесь количество часов после того, как тема была отмечена как решённая."
solved_topics_auto_close_hours: "Автоматически закрывать тему через указанное здесь количество часов после того, как тема была отмечена как решенная."
accept_answer: "Выберите, если этот ответ решает проблему"
accepted_description: "Этот ответ решает вопрос, обсуждаемый в этой теме"
has_no_accepted_answer: "Тема не содержит решения вопроса"
Expand Down Expand Up @@ -53,6 +53,11 @@ ru:
solved_event:
name: "Событие решения вопроса"
details: "При пометке сообщения статусом 'Вопрос решён'."
api:
scopes:
descriptions:
solved:
answer: Принять решение (отменить принятие).
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
9 changes: 8 additions & 1 deletion config/locales/client.tr_TR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tr_TR:
solved:
title: "Çözüldü"
allow_accepted_answers: "Konu sahibinin ve personelin bir yanıtı çözüm olarak işaretlemesine izin verin"
solved_topics_auto_close_hours: "Konu çözüldü işaretlendikten (n) saat sonra otomatik olarak kapatılsın."
solved_topics_auto_close_hours: "Konu çözüldü olarak işaretlendiğinde, son yanıttan (n) saat sonra otomatik olarak kapatılsın."
accept_answer: "Bu yanıtın sorunu çözüp çözmediğini seçin"
accepted_description: "Bu, bu konu için kabul edilen çözümdür"
has_no_accepted_answer: "Bu konunun çözümü yok"
Expand All @@ -36,6 +36,8 @@ tr_TR:
no_answer:
title: Sorunuz yanıtlandı mı?
description: "Yanıtı vurgulayın ve doğru cevabın altındaki çözüm düğmesini kullanarak başkalarına yardımcı olun."
notification:
title: "gönderiniz çözüm olarak işaretlendi"
topic_statuses:
solved:
help: "Bu konunun bir çözümü var"
Expand All @@ -49,6 +51,11 @@ tr_TR:
solved_event:
name: "Çözülmüş Olay"
details: "Bir kullanıcı bir gönderiyi kabul edilen veya kabul edilmeyen yanıt olarak işaretlediğinde."
api:
scopes:
descriptions:
solved:
answer: Bir çözümü kabul edin/kabulünü kaldırın.
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
9 changes: 8 additions & 1 deletion config/locales/client.zh_CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ zh_CN:
solved:
title: "已解决"
allow_accepted_answers: "允许话题所有者和管理人员将回复标记为解决方案"
solved_topics_auto_close_hours: "若主题标记为已解决,在最后回复 (n) 小时后自动关闭主题."
solved_topics_auto_close_hours: "当话题被标记为已解决后,在最后回复 (n) 小时后自动关闭话题。"
accept_answer: "如果此回复解决了问题,请选择"
accepted_description: "这是此话题被接受的解决方案"
has_no_accepted_answer: "此话题尚无解决方案"
Expand All @@ -35,6 +35,8 @@ zh_CN:
no_answer:
title: 您的问题是否已被解答?
description: "在正确回复下方使用解决方案按钮突出显示回答并帮助他人。"
notification:
title: "您的帖子已被标记为解决方案"
topic_statuses:
solved:
help: "此话题已有解决方案"
Expand All @@ -48,6 +50,11 @@ zh_CN:
solved_event:
name: "已解决的事件"
details: "当用户将帖子标记为被接受或遭拒的回答时。"
api:
scopes:
descriptions:
solved:
answer: 接受/不接受解决方案。
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
15 changes: 15 additions & 0 deletions config/locales/server.ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ar:
accept_solutions_topic_author: "السماح لكاتب الموضوع بقبول حل"
solved_add_schema_markup: "إضافة علامات مخطط Qapage إلى HTML"
enable_solved_tags: "الوسوم التي ستسمح للمستخدمين بتحديد الحلول"
prioritize_solved_topics_in_search: "منح الأولوية للموضوعات التي تم حلها في نتائج البحث."
reports:
accepted_solutions:
title: "الحلول المقبولة"
Expand All @@ -31,6 +32,20 @@ ar:
badges:
solved_1:
name: "تم الحل!"
description: "وضع علامة \"حل\" على أحد الردود"
long_description: "يتم منح هذه الشارة عند وضع علامة \"حل\" على أحد ردودك في أحد الموضوعات. :white_check_mark: أحسنت. :+1:"
solved_2:
name: "مستشار التوجيه"
description: "وضع علامة \"حل\" على 10 من ردودك"
long_description: "يتم منح هذه الشارة عند وضع علامة \"حل\" على 10 من ردودك على الموضوعات. :white_check_mark: أنت تمثِّل قيمة مضافة حقيقة لزملائك من أعضاء المجتمع."
solved_3:
name: "تعرف كل شيء"
description: "وضع علامة \"حل\" على 50 من ردودك"
long_description: "يتم منح هذه الشارة عند وضع علامة \"حل\" على 50 من ردودك على الموضوعات. :white_check_mark: أنت تتمتَّع حقًا ببعض المعرفة. :clap:"
solved_4:
name: "مؤسسة تقديم الحلول"
description: "وضع علامة \"حل\" على 150 من ردودك"
long_description: "يتم منح هذه الشارة عند وضع علامة \"حل\" على 150 من ردودك على الموضوعات. :white_check_mark: عمل رائع. :slightly_smiling_face: لقد أصبحت رسميًا مؤسسةً لتقديم الحلول. :brain:"
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
15 changes: 15 additions & 0 deletions config/locales/server.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ de:
accept_solutions_topic_author: "Erlaube dem Themenverfasser, eine Lösung zu akzeptieren."
solved_add_schema_markup: "Füge QAPage-Schema-Mark-up zu HTML hinzu."
enable_solved_tags: "Schlagwörter, die es Benutzern ermöglichen, Lösungen auszuwählen."
prioritize_solved_topics_in_search: "Gelöste Themen in den Suchergebnissen priorisieren."
reports:
accepted_solutions:
title: "Akzeptierte Lösungen"
Expand All @@ -31,6 +32,20 @@ de:
badges:
solved_1:
name: "Gelöst!"
description: "Eine Antwort wurde als Lösung markiert"
long_description: "Dieses Abzeichen bekommst du, wenn deine Antwort als Lösung für ein Thema markiert wurde :white_check_mark: Gute Arbeit :+1:"
solved_2:
name: "Berater"
description: "10 Antworten wurden als Lösungen markiert"
long_description: "Dieses Abzeichen bekommst du, wenn 10 deiner Antworten als Lösungen für Themen markiert wurden :white_check_mark: Du bist wahrlich eine Bereicherung für die Mitglieder deiner Community."
solved_3:
name: "Kluges Köpfchen"
description: "50 Antworten wurden als Lösungen markiert"
long_description: "Dieses Abzeichen bekommst du, wenn 50 deiner Antworten als Lösungen für Themen markiert wurden :white_check_mark: Du weißt echt, wovon du sprichst :clap:"
solved_4:
name: "Anlaufstelle für Lösungen"
description: "150 Antworten wurden als Lösungen markiert"
long_description: "Dieses Abzeichen bekommst du, wenn 150 deiner Antworten als Lösungen für Themen markiert wurden :white_check_mark: Ausgezeichnete Arbeit :slightly_smiling_face: Du bist offiziell eine Anlaufstelle für Lösungen :brain:"
discourse_automation:
triggerables:
first_accepted_solution:
Expand Down
Loading

0 comments on commit 712ba93

Please sign in to comment.