From 1dd08fce8dcc6f03553f8eefef658da710ca1e54 Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 17 Oct 2024 08:21:07 +0000 Subject: [PATCH] Improve report contact field --- app/src/main/java/io/xpipe/app/issue/UserReportComp.java | 4 +++- lang/app/strings/translations_da.properties | 2 +- lang/app/strings/translations_de.properties | 2 +- lang/app/strings/translations_en.properties | 2 +- lang/app/strings/translations_es.properties | 2 +- lang/app/strings/translations_fr.properties | 2 +- lang/app/strings/translations_it.properties | 2 +- lang/app/strings/translations_ja.properties | 2 +- lang/app/strings/translations_nl.properties | 2 +- lang/app/strings/translations_pt.properties | 2 +- lang/app/strings/translations_ru.properties | 2 +- lang/app/strings/translations_tr.properties | 2 +- lang/app/strings/translations_zh.properties | 2 +- 13 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/issue/UserReportComp.java b/app/src/main/java/io/xpipe/app/issue/UserReportComp.java index b6d892f70..b4bad79ac 100644 --- a/app/src/main/java/io/xpipe/app/issue/UserReportComp.java +++ b/app/src/main/java/io/xpipe/app/issue/UserReportComp.java @@ -91,7 +91,7 @@ public class UserReportComp extends SimpleComp { var tf = new TextArea(); text.bind(tf.textProperty()); VBox.setVgrow(tf, Priority.ALWAYS); - var reportSection = new VBox(emailHeader, email, new Spacer(8, Orientation.VERTICAL), header, tf); + var reportSection = new VBox(header, tf, new Spacer(8, Orientation.VERTICAL)); reportSection.setSpacing(5); reportSection.getStyleClass().add("report"); @@ -103,6 +103,8 @@ public class UserReportComp extends SimpleComp { reportSection.getChildren().add(at); } + reportSection.getChildren().addAll(new Spacer(8, Orientation.VERTICAL), emailHeader, email); + var layout = new BorderPane(); layout.setCenter(reportSection); layout.setBottom(buttons); diff --git a/lang/app/strings/translations_da.properties b/lang/app/strings/translations_da.properties index 26b0098b7..bc2763563 100644 --- a/lang/app/strings/translations_da.properties +++ b/lang/app/strings/translations_da.properties @@ -162,7 +162,7 @@ reportOnGithubDescription=Åbn et nyt problem i GitHub-repositoriet reportErrorDescription=Send en fejlrapport med brugerfeedback og diagnostisk info ignoreError=Ignorer fejl ignoreErrorDescription=Ignorer denne fejl, og fortsæt, som om intet var hændt -provideEmail=Hvordan kan vi kontakte dig (valgfrit, kun hvis du ønsker at få besked om rettelser) +provideEmail=Hvordan kan vi kontakte dig (valgfrit, kun hvis du ønsker at få et svar). Din rapport er som standard anonym, så du kan angive kontaktoplysninger som f.eks. en e-mailadresse her. additionalErrorInfo=Giv yderligere oplysninger (valgfrit) additionalErrorAttachments=Vælg vedhæftede filer (valgfrit) dataHandlingPolicies=Politik for beskyttelse af personlige oplysninger diff --git a/lang/app/strings/translations_de.properties b/lang/app/strings/translations_de.properties index f6ff93f56..be853a10c 100644 --- a/lang/app/strings/translations_de.properties +++ b/lang/app/strings/translations_de.properties @@ -159,7 +159,7 @@ reportOnGithubDescription=Eröffne ein neues Thema im GitHub-Repository reportErrorDescription=Senden eines Fehlerberichts mit optionalem Benutzerfeedback und Diagnoseinformationen ignoreError=Fehler ignorieren ignoreErrorDescription=Ignoriere diesen Fehler und mach weiter, als wäre nichts passiert -provideEmail=Wie können wir dich kontaktieren (optional, nur wenn du über Korrekturen informiert werden möchtest) +provideEmail=Wie können wir dich kontaktieren (optional, nur wenn du eine Antwort erhalten möchtest). Dein Bericht ist standardmäßig anonym. Du kannst hier Kontaktinformationen wie eine E-Mail-Adresse angeben. additionalErrorInfo=Zusätzliche Informationen bereitstellen (optional) additionalErrorAttachments=Anhänge auswählen (optional) dataHandlingPolicies=Datenschutzrichtlinie diff --git a/lang/app/strings/translations_en.properties b/lang/app/strings/translations_en.properties index a6eaa24af..1bfdfa46a 100644 --- a/lang/app/strings/translations_en.properties +++ b/lang/app/strings/translations_en.properties @@ -158,7 +158,7 @@ reportOnGithubDescription=Open a new issue in the GitHub repository reportErrorDescription=Send an error report with optional user feedback and diagnostics info ignoreError=Ignore error ignoreErrorDescription=Ignore this error and continue like nothing happened -provideEmail=How can we contact you (optional, only if you want to get notified about fixes) +provideEmail=How can we contact you (optional, only if you want to get a response). Your report is anonymous by default, so you can provide contact info like an email address here. additionalErrorInfo=Provide additional information (optional) additionalErrorAttachments=Select attachments (optional) dataHandlingPolicies=Privacy policy diff --git a/lang/app/strings/translations_es.properties b/lang/app/strings/translations_es.properties index 174c2fbe9..e9be041f3 100644 --- a/lang/app/strings/translations_es.properties +++ b/lang/app/strings/translations_es.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Abre una nueva incidencia en el repositorio de GitHub reportErrorDescription=Enviar un informe de error con comentarios opcionales del usuario e información de diagnóstico ignoreError=Ignorar error ignoreErrorDescription=Ignora este error y continúa como si no hubiera pasado nada -provideEmail=Cómo podemos ponernos en contacto contigo (opcional, sólo si quieres recibir notificaciones sobre correcciones) +provideEmail=Cómo podemos ponernos en contacto contigo (opcional, sólo si quieres obtener una respuesta). Tu informe es anónimo por defecto, así que puedes proporcionar aquí información de contacto como una dirección de correo electrónico. additionalErrorInfo=Proporcionar información adicional (opcional) additionalErrorAttachments=Selecciona archivos adjuntos (opcional) dataHandlingPolicies=Política de privacidad diff --git a/lang/app/strings/translations_fr.properties b/lang/app/strings/translations_fr.properties index a3d26a85f..2742d7600 100644 --- a/lang/app/strings/translations_fr.properties +++ b/lang/app/strings/translations_fr.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Ouvre un nouveau problème dans le dépôt GitHub reportErrorDescription=Envoyer un rapport d'erreur avec un retour d'information optionnel de l'utilisateur et des informations de diagnostic ignoreError=Ignorer l'erreur ignoreErrorDescription=Ignore cette erreur et continue comme si de rien n'était -provideEmail=Comment pouvons-nous te contacter (facultatif, uniquement si tu veux être informé des correctifs) +provideEmail=Comment pouvons-nous te contacter (facultatif, uniquement si tu souhaites obtenir une réponse). Ton rapport est anonyme par défaut, tu peux donc fournir des informations de contact comme une adresse électronique ici. additionalErrorInfo=Fournir des informations supplémentaires (facultatif) additionalErrorAttachments=Sélectionne les pièces jointes (facultatif) dataHandlingPolicies=Politique de confidentialité diff --git a/lang/app/strings/translations_it.properties b/lang/app/strings/translations_it.properties index 6b763121c..396ec6063 100644 --- a/lang/app/strings/translations_it.properties +++ b/lang/app/strings/translations_it.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Apri un nuovo problema nel repository di GitHub reportErrorDescription=Inviare un rapporto di errore con un feedback opzionale dell'utente e informazioni di diagnostica ignoreError=Ignora errore ignoreErrorDescription=Ignora questo errore e continua come se niente fosse -provideEmail=Come possiamo contattarti (facoltativo, solo se vuoi essere avvisato delle correzioni) +provideEmail=Come possiamo contattarti (facoltativo, solo se vuoi ricevere una risposta). La tua segnalazione è anonima per impostazione predefinita, quindi puoi fornire informazioni di contatto come un indirizzo e-mail. additionalErrorInfo=Fornisce informazioni aggiuntive (facoltative) additionalErrorAttachments=Seleziona gli allegati (opzionale) dataHandlingPolicies=Politica sulla privacy diff --git a/lang/app/strings/translations_ja.properties b/lang/app/strings/translations_ja.properties index 04d86e9cc..201cddaff 100644 --- a/lang/app/strings/translations_ja.properties +++ b/lang/app/strings/translations_ja.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=GitHub リポジトリに新しい課題を投稿す reportErrorDescription=任意のユーザーフィードバックと診断情報を含むエラーレポートを送信する ignoreError=エラーを無視する ignoreErrorDescription=このエラーを無視して、何事もなかったかのように続ける -provideEmail=連絡方法(任意、修正に関する通知を希望する場合のみ) +provideEmail=連絡方法(任意、返信を希望する場合のみ)。あなたの報告はデフォルトでは匿名である。 additionalErrorInfo=追加情報(オプション) additionalErrorAttachments=添付ファイルを選択する(オプション) dataHandlingPolicies=プライバシーポリシー diff --git a/lang/app/strings/translations_nl.properties b/lang/app/strings/translations_nl.properties index fa0c5b67a..7243d8276 100644 --- a/lang/app/strings/translations_nl.properties +++ b/lang/app/strings/translations_nl.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Open een nieuw probleem in de GitHub repository reportErrorDescription=Een foutenrapport verzenden met optionele feedback van de gebruiker en diagnose-info ignoreError=Fout negeren ignoreErrorDescription=Negeer deze foutmelding en ga verder alsof er niets is gebeurd -provideEmail=Hoe kunnen we contact met je opnemen (optioneel, alleen als je bericht wilt krijgen over fixes) +provideEmail=Hoe kunnen we contact met je opnemen (optioneel, alleen als je een reactie wilt)? Je melding is standaard anoniem, dus je kunt hier contactgegevens opgeven zoals een e-mailadres. additionalErrorInfo=Aanvullende informatie geven (optioneel) additionalErrorAttachments=Selecteer bijlagen (optioneel) dataHandlingPolicies=Privacybeleid diff --git a/lang/app/strings/translations_pt.properties b/lang/app/strings/translations_pt.properties index 98124cb59..7c9d4d1dd 100644 --- a/lang/app/strings/translations_pt.properties +++ b/lang/app/strings/translations_pt.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Abre um novo problema no repositório do GitHub reportErrorDescription=Envia um relatório de erro com feedback opcional do utilizador e informações de diagnóstico ignoreError=Ignora o erro ignoreErrorDescription=Ignora este erro e continua como se nada tivesse acontecido -provideEmail=Como podemos entrar em contacto contigo (opcional, apenas se quiseres ser notificado sobre correcções) +provideEmail=Como te podemos contactar (opcional, apenas se quiseres obter uma resposta). O teu relatório é anónimo por defeito, por isso podes fornecer informações de contacto, como um endereço de e-mail, aqui. additionalErrorInfo=Fornece informações adicionais (opcional) additionalErrorAttachments=Selecionar anexos (opcional) dataHandlingPolicies=Política de privacidade diff --git a/lang/app/strings/translations_ru.properties b/lang/app/strings/translations_ru.properties index c0ca6ab43..67338fa8f 100644 --- a/lang/app/strings/translations_ru.properties +++ b/lang/app/strings/translations_ru.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=Открой новую проблему в репоз reportErrorDescription=Отправь отчет об ошибке с дополнительным отзывом пользователя и информацией о диагностике ignoreError=Игнорировать ошибку ignoreErrorDescription=Игнорируй эту ошибку и продолжай как ни в чем не бывало -provideEmail=Как мы можем с тобой связаться (необязательно, только если ты хочешь получать уведомления об исправлениях) +provideEmail=Как мы можем с тобой связаться (необязательно, только если ты хочешь получить ответ). По умолчанию твой отчет анонимен, поэтому здесь ты можешь указать контактную информацию вроде адреса электронной почты. additionalErrorInfo=Предоставьте дополнительную информацию (необязательно) additionalErrorAttachments=Выберите вложения (необязательно) dataHandlingPolicies=Политика конфиденциальности diff --git a/lang/app/strings/translations_tr.properties b/lang/app/strings/translations_tr.properties index 7cd9fe0aa..45e1e471f 100644 --- a/lang/app/strings/translations_tr.properties +++ b/lang/app/strings/translations_tr.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=GitHub deposunda yeni bir sorun açın reportErrorDescription=İsteğe bağlı kullanıcı geri bildirimi ve tanılama bilgileri içeren bir hata raporu gönderin ignoreError=Hatayı yoksay ignoreErrorDescription=Bu hatayı görmezden gelin ve hiçbir şey olmamış gibi devam edin -provideEmail=Sizinle nasıl iletişime geçebiliriz (isteğe bağlı, yalnızca düzeltmeler hakkında bilgilendirilmek istiyorsanız) +provideEmail=Sizinle nasıl iletişime geçebiliriz (isteğe bağlı, yalnızca yanıt almak istiyorsanız). Raporunuz varsayılan olarak anonimdir, bu nedenle burada bir e-posta adresi gibi iletişim bilgileri sağlayabilirsiniz. additionalErrorInfo=Ek bilgi sağlayın (isteğe bağlı) additionalErrorAttachments=Ekleri seçin (isteğe bağlı) dataHandlingPolicies=Gizlilik Politikası diff --git a/lang/app/strings/translations_zh.properties b/lang/app/strings/translations_zh.properties index 4cb7e7232..aacd7a1d0 100644 --- a/lang/app/strings/translations_zh.properties +++ b/lang/app/strings/translations_zh.properties @@ -154,7 +154,7 @@ reportOnGithubDescription=在 GitHub 仓库中打开一个新问题 reportErrorDescription=发送包含可选用户反馈和诊断信息的错误报告 ignoreError=忽略错误 ignoreErrorDescription=忽略此错误,若无其事地继续运行 -provideEmail=我们如何与您联系(可选,仅在您希望收到修复通知时使用) +provideEmail=我们如何与您联系(可选,仅在您希望得到回复时)。您的报告默认为匿名,因此您可以在此处提供电子邮件地址等联系信息。 additionalErrorInfo=提供补充信息(可选) additionalErrorAttachments=选择附件(可选) dataHandlingPolicies=隐私政策