From a64262b2d17ccd389bb0449d15cd7aaa664ee439 Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 21:10:54 +0530 Subject: [PATCH 1/7] Make app_name non-translatable --- .idea/compiler.xml | 2 +- .idea/gradle.xml | 5 ++--- .idea/misc.xml | 9 ++++++++- .idea/runConfigurations.xml | 12 ------------ app/src/main/res/values/strings.xml | 2 +- 5 files changed, 12 insertions(+), 18 deletions(-) delete mode 100644 .idea/runConfigurations.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 61a9130..fb7f4a8 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 23a89bb..e9969a1 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,10 +4,10 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index d5d35ec..253b422 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,13 @@ - + + + + diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 7f68460..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 073c717..3ed5693 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,5 +1,5 @@ - Mutify + Mutify Settings Open Spotify Mute Ads From 549e30e6d2503e0f345cf9b688f2181fb34f7928 Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 21:12:52 +0530 Subject: [PATCH 2/7] Create German(Germany) string resource --- app/src/main/res/values-de-rDE/strings.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/src/main/res/values-de-rDE/strings.xml diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml new file mode 100644 index 0000000..b15d667 --- /dev/null +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -0,0 +1,33 @@ + + + Mutify + Einstellungen + Offen Spotify + Anzeigen stummschalten + Stumm + Stummschaltung aufheben + Tipps + Tipps ausblenden + -> Lassen Sie Mutify im Hintergrund laufen und deaktivieren Sie alle Batterieeinschränkungsfunktionen, damit Mutify ordnungsgemäß funktioniert. + -> Wenn beim Stummschalten/Aufheben der Stummschaltung eine Verzögerung auftritt, versuchen Sie, die Überblendung zwischen den Songs in den Spotify-Einstellungen zu deaktivieren. + -> Anzeigen, die abgespielt werden, nachdem Sie einen Titel manuell übersprungen haben, können nicht stummgeschaltet werden. In diesem Fall können Sie die Stummschaltung/Stummschaltung manuell aufheben. + -> Bitte kontaktieren Sie uns, wenn Sie andere Probleme haben. + Bitte erwägen Sie, eine Bewertung im Play Store zu hinterlassen, wenn Sie diese App unterstützen möchten;) + nächste + abspielen + früher + App im Play Store bewerten + Spielt gerade + Letztes erkanntes Lied + Stummschalttimer abgebrochen + Gerät wurde stummgeschaltet + Geräte-Broadcast-Status aktivieren + Bitte aktivieren Sie \\n\\\'Geräteübertragungsstatus\\\'\\n in den Spotify-Einstellungen, damit Mutify funktioniert. \\nMutify funktioniert ohne es nicht. + Kontaktiere uns + Ich habe es aktiviert + Spotify automatisch starten + Musik Bild + pause + Nur dunkler Modus + Offen Spotify + \ No newline at end of file From 7991096fe9b03b419a7bebf0300a4c9a0eea0e07 Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 21:15:03 +0530 Subject: [PATCH 3/7] Create Spanish(Spain) string resource --- app/src/main/res/values-es-rES/strings.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/src/main/res/values-es-rES/strings.xml diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml new file mode 100644 index 0000000..ba9a591 --- /dev/null +++ b/app/src/main/res/values-es-rES/strings.xml @@ -0,0 +1,33 @@ + + + Mutify + Ajustes + Abierto Spotify + Silenciar anuncios + Mudo + Activar sonido + Consejos + Ocultar consejos + -> Permita que Mutify se ejecute en segundo plano y desactive las funciones de restricción de batería para que Mutify funcione correctamente. + -> Si encuentra algún retraso al silenciar / reactivar, intente deshabilitar el fundido cruzado entre canciones desde la configuración de Spotify. + -> Los anuncios que se reproducen después de omitir manualmente una pista no se pueden silenciar. En ese caso, puede presionar silenciar / reactivar manualmente. + Siguiente + -> Póngase en contacto con nosotros si tiene algún otro problema. + Considere dejar una reseña en Play Store si desea admitir esta aplicación;) + pausa + juego + Previo + Modo solo oscuro + Calificar la aplicación en Play Store + Reproduciendo + Última canción detectada + Temporizador de silencio cancelado + El dispositivo fue silenciado + Habilitar estado de transmisión del dispositivo + Habilite \ n \ \'Estado de transmisión del dispositivo \' \ n en la configuración de Spotify para que Mutify funcione. \nMutify no funcionará sin él + Lo he habilitado + Contacta con nosotros + Lanzamiento automático de Spotify + Imagen musical + Abierto Spotify + \ No newline at end of file From 9af4f979777de8d5f01d58b03825523d72b5178f Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 21:15:50 +0530 Subject: [PATCH 4/7] Create French(France) string resource --- app/src/main/res/values-fr-rFR/strings.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/src/main/res/values-fr-rFR/strings.xml diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml new file mode 100644 index 0000000..cbf0c2a --- /dev/null +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -0,0 +1,33 @@ + + + Mutify + Settings + Ouvrez Spotify + Ignorer les annonces + Muet + Rétablir le son + Des astuces + Masquer les astuces + -> Autorisez Mutify à s\'exécuter en arrière-plan et désactivez toutes les fonctionnalités de restriction de la batterie pour que Mutify fonctionne correctement. + -> Si vous rencontrez un retard dans la mise en sourdine/rétablissement du son, essayez de désactiver le fondu enchaîné entre les chansons à partir des paramètres Spotify. + -> Les annonces diffusées après que vous ayez sauté manuellement une piste ne peuvent pas être mises en sourdine. Vous pouvez appuyer manuellement sur mute/unmute dans ce cas. + -> Veuillez nous contacter si vous rencontrez d\'autres problèmes. + Veuillez envisager de laisser un avis sur le Play Store si vous souhaitez soutenir cette application ;) + suivant + pause + jouer + précédent + Mode sombre uniquement + Évaluer l\'application dans le Play Store + Joue actuellement + Dernière chanson détectée + Minuterie de sourdine annulée + L\'appareil a été mis en sourdine + Activer l\'état de diffusion de l\'appareil + Veuillez activer \\n\\\'Device Broadcast Status\\\'\\n dans les paramètres Spotify pour que Mutify fonctionne. \\nMutify ne fonctionnera pas sans lui + je l\'ai activé + Nous contacter + Lancer automatiquement Spotify + Image musicale + Ouvrez Spotify + \ No newline at end of file From f09e38d9efe41567efdc2704f5a0433b4611f2de Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 21:16:21 +0530 Subject: [PATCH 5/7] Create Vietnamese(Vietnam) string resource --- app/src/main/res/values-vi-rVN/strings.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/src/main/res/values-vi-rVN/strings.xml diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml new file mode 100644 index 0000000..65c777c --- /dev/null +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -0,0 +1,33 @@ + + + Mutify + Hình ảnh âm nhạc + Cài đặt + Mở Spotify + Tắt tiếng Quảng cáo + Mute + Bật tiếng + Lời khuyên + Ẩn Mẹo + -> Cho phép Mutify chạy nền và tắt mọi tính năng hạn chế pin để Mutify hoạt động bình thường. + -> Nếu bạn gặp bất kỳ sự chậm trễ nào trong việc tắt tiếng / bật tiếng, hãy thử tắt chế độ làm mờ chéo giữa các bài hát từ cài đặt Spotify. + -> Không thể tắt tiếng các quảng cáo phát sau khi bạn bỏ qua một bản nhạc theo cách thủ công. Bạn có thể nhấn tắt tiếng / bật tiếng theo cách thủ công trong trường hợp đó. + -> Vui lòng liên hệ với chúng tôi, nếu bạn gặp bất kỳ vấn đề nào khác. + Vui lòng xem xét để lại đánh giá trên Cửa hàng Play nếu bạn muốn hỗ trợ ứng dụng này;) + Kế tiếp + tạm ngừng + chơi + Trước + Chế độ chỉ tối + Xếp hạng ứng dụng trong Cửa hàng Play + Hiện đang chơi + Bài hát được phát hiện lần cuối + Đã hủy hẹn giờ tắt tiếng + Thiết bị đã bị tắt tiếng + Bật trạng thái phát sóng trên thiết bị + Vui lòng bật \ n \ \'Trạng thái phát sóng trên thiết bị \' \ n trong cài đặt Spotify để Mutify hoạt động. \ nMutify sẽ không hoạt động nếu không có nó. + Tôi đã kích hoạt nó + Liên hệ chúng tôi + Tự động khởi chạy Spotify + Mở Spotify + \ No newline at end of file From ea37d9185257a89687f5cffb99bef3dff3a81c07 Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Tue, 26 Oct 2021 22:28:51 +0530 Subject: [PATCH 6/7] Remove usage of redundant string resource 'dialog_positive_btn' --- app/src/main/java/live/teekamsuthar/mutify/MainActivity.java | 2 +- app/src/main/res/values-de-rDE/strings.xml | 1 - app/src/main/res/values-es-rES/strings.xml | 1 - app/src/main/res/values-fr-rFR/strings.xml | 1 - app/src/main/res/values-vi-rVN/strings.xml | 1 - app/src/main/res/values/strings.xml | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java b/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java index 2d96e38..35e02f4 100644 --- a/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java +++ b/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java @@ -581,7 +581,7 @@ private void showAlertDialog() { builder.setView(messageView); builder.setCancelable(false); // Do nothing inside click listeners because we override this button later to change the close behaviour. - builder.setPositiveButton(R.string.dialog_positive_btn, (dialog, which) -> { + builder.setPositiveButton(R.string.open_spotify, (dialog, which) -> { }); builder.setNegativeButton(R.string.dialog_negative_btn, (dialog, which) -> { }); diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index b15d667..3e01a4c 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -29,5 +29,4 @@ Musik Bild pause Nur dunkler Modus - Offen Spotify \ No newline at end of file diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index ba9a591..b509072 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -29,5 +29,4 @@ Contacta con nosotros Lanzamiento automático de Spotify Imagen musical - Abierto Spotify \ No newline at end of file diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index cbf0c2a..9241967 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -29,5 +29,4 @@ Nous contacter Lancer automatiquement Spotify Image musicale - Ouvrez Spotify \ No newline at end of file diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index 65c777c..1fe05b7 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -29,5 +29,4 @@ Tôi đã kích hoạt nó Liên hệ chúng tôi Tự động khởi chạy Spotify - Mở Spotify \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3ed5693..063deea 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,7 +24,6 @@ Device was Muted Enable Device Broadcast Status Please enable \n\'Device Broadcast Status\'\n in Spotify settings for Mutify to work. \nMutify won\'t work without it. - Open Spotify I have enabled it Contact Us Auto-launch Spotify From 82ea9c493a295a8c6152af2fd5359983fd91eb81 Mon Sep 17 00:00:00 2001 From: Gupta Shrinath Date: Sat, 6 Nov 2021 13:10:07 +0530 Subject: [PATCH 7/7] Revert "Remove usage of redundant string resource 'dialog_positive_btn'" This reverts commit ea37d9185257a89687f5cffb99bef3dff3a81c07. --- app/src/main/java/live/teekamsuthar/mutify/MainActivity.java | 2 +- app/src/main/res/values-de-rDE/strings.xml | 1 + app/src/main/res/values-es-rES/strings.xml | 1 + app/src/main/res/values-fr-rFR/strings.xml | 1 + app/src/main/res/values-vi-rVN/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java b/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java index 35e02f4..2d96e38 100644 --- a/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java +++ b/app/src/main/java/live/teekamsuthar/mutify/MainActivity.java @@ -581,7 +581,7 @@ private void showAlertDialog() { builder.setView(messageView); builder.setCancelable(false); // Do nothing inside click listeners because we override this button later to change the close behaviour. - builder.setPositiveButton(R.string.open_spotify, (dialog, which) -> { + builder.setPositiveButton(R.string.dialog_positive_btn, (dialog, which) -> { }); builder.setNegativeButton(R.string.dialog_negative_btn, (dialog, which) -> { }); diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index 3e01a4c..b15d667 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -29,4 +29,5 @@ Musik Bild pause Nur dunkler Modus + Offen Spotify \ No newline at end of file diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index b509072..ba9a591 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -29,4 +29,5 @@ Contacta con nosotros Lanzamiento automático de Spotify Imagen musical + Abierto Spotify \ No newline at end of file diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index 9241967..cbf0c2a 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -29,4 +29,5 @@ Nous contacter Lancer automatiquement Spotify Image musicale + Ouvrez Spotify \ No newline at end of file diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index 1fe05b7..65c777c 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -29,4 +29,5 @@ Tôi đã kích hoạt nó Liên hệ chúng tôi Tự động khởi chạy Spotify + Mở Spotify \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 063deea..3ed5693 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,6 +24,7 @@ Device was Muted Enable Device Broadcast Status Please enable \n\'Device Broadcast Status\'\n in Spotify settings for Mutify to work. \nMutify won\'t work without it. + Open Spotify I have enabled it Contact Us Auto-launch Spotify