From: bhutani.92 Date: Wed, 4 Jan 2017 10:44:25 +0000 (+0530) Subject: [TSAM-12337, TSAM-12336] Fixed Call and PO File issue X-Git-Tag: submit/tizen/20170524.061254~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a2b45653d948ca2a827ef9f547701dca000846a;p=profile%2Fmobile%2Fapps%2Fnative%2Fmusic-player.git [TSAM-12337, TSAM-12336] Fixed Call and PO File issue Change-Id: I7abdfe8d144ae2dd455a26b3545690ad62331a3f Signed-off-by: bhutani.92 --- diff --git a/inc/mp-resource.h b/inc/mp-resource.h index 52d7f42..d6ff693 100644 --- a/inc/mp-resource.h +++ b/inc/mp-resource.h @@ -167,8 +167,9 @@ #define STR_MP_SHUFFLE_1_TRACK "IDS_MUSIC_HEADER_SHUFFLE_1_TRACK" #define STR_MP_SCAN_FOR_NEARBY_DEVICE "IDS_MUSIC_OPT_SCAN_FOR_NEARBY_DEVICES" -#define STR_MP_UNABLE_TO_PLAY_DURING_CALL "IDS_MUSIC_TPOP_UNABLE_TO_PLAY_MUSIC_DURING_CALLS" +#define STR_MP_UNABLE_TO_PLAY_DURING_CALL "IDS_MUSIC_TPOP_UNABLE_TO_PLAY_MUSIC_DURING_CALLS" #define STR_MP_UNABLE_TO_PLAY_ERROR_OCCURED "IDS_MUSIC_POP_UNABLE_TO_PLAY_ERROR_OCCURRED" +#define STR_MP_UNABLE_TO_PLAY_DURING_RECORDING "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" #define STR_MP_SQURE_NO_SONGS "IDS_MUSIC_HEADER_NO_SONGS" #define STR_MP_UPDATING_FAILED "IDS_MUSIC_POP_MUSICPLAYER_UPDATING_FAILED" diff --git a/res/po/ar.po b/res/po/ar.po index f95a025..a6533f5 100644 --- a/res/po/ar.po +++ b/res/po/ar.po @@ -1677,3 +1677,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "تم تجاوز الحد الأقصى لحجم الملفات." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "يتعذر تشغيل الموسيقى أثناء تسجيل الصوت أو الفيديو." + diff --git a/res/po/az.po b/res/po/az.po index 8705384..e201d56 100644 --- a/res/po/az.po +++ b/res/po/az.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Faylların maksimum sayını keçib." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Audio və ya video yazan zaman musiqi səsləndirmək olmadı." + diff --git a/res/po/bg.po b/res/po/bg.po index c4920d8..623cf15 100644 --- a/res/po/bg.po +++ b/res/po/bg.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Максималният размер на файловете е надхвърлен." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Не може да се възпроизвежда музика, докато се аудио или видео." + diff --git a/res/po/ca.po b/res/po/ca.po index a7ba282..e19269e 100644 --- a/res/po/ca.po +++ b/res/po/ca.po @@ -1685,3 +1685,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "S'ha excedit la mida màxima de fitxers" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "No es pot reproduir música mentre es graven àudios o vídeos." + diff --git a/res/po/cs.po b/res/po/cs.po index c184450..795cd08 100644 --- a/res/po/cs.po +++ b/res/po/cs.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Byla překročena maximální velikost souborů." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Během nahrávání zvuku nebo obrazu není možné přehrávat hudbu." + diff --git a/res/po/da.po b/res/po/da.po index 301ef75..0f1d346 100644 --- a/res/po/da.po +++ b/res/po/da.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Den maksimale filstørrelse overskredet." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Kan ikke afspille musik under optagelse af lyd eller video." + diff --git a/res/po/de.po b/res/po/de.po index 793a060..c71dfaa 100644 --- a/res/po/de.po +++ b/res/po/de.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maximale Dateigröße überschritten" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Musikwiedergabe während Audio- oder Videoaufzeichnung nicht möglich." + diff --git a/res/po/el_GR.po b/res/po/el_GR.po index c5aedde..1d1f24c 100644 --- a/res/po/el_GR.po +++ b/res/po/el_GR.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Υπέρβαση μέγιστου μεγέθους αρχείων." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Δεν είναι δυνατή η αναπαραγωγή μουσικής κατά την εγγραφή ήχου ή βίντεο." + diff --git a/res/po/en.po b/res/po/en.po index 689466d..5a5ab32 100644 --- a/res/po/en.po +++ b/res/po/en.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maximum size of files exceeded." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Unable to play music while recording audio or video." + diff --git a/res/po/en_PH.po b/res/po/en_PH.po index 9f1813c..01934e5 100644 --- a/res/po/en_PH.po +++ b/res/po/en_PH.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maximum size of files exceeded." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Unable to play music while recording audio or video." + diff --git a/res/po/en_US.po b/res/po/en_US.po index f0e860b..84ef43d 100644 --- a/res/po/en_US.po +++ b/res/po/en_US.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maximum size of files exceeded." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Unable to play music while recording audio or video." + diff --git a/res/po/es_ES.po b/res/po/es_ES.po index d85f35e..357dddf 100644 --- a/res/po/es_ES.po +++ b/res/po/es_ES.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Tamaño máximo de archivos superado" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "No se puede reproducir música mientras se graba audio o vídeo." + diff --git a/res/po/es_US.po b/res/po/es_US.po index 9eac737..7d05b8d 100644 --- a/res/po/es_US.po +++ b/res/po/es_US.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Tamaño máximo de archivos superado." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "No es posible reproducir música mientras se graba audio o video." + diff --git a/res/po/et.po b/res/po/et.po index 03f6576..bf479c8 100644 --- a/res/po/et.po +++ b/res/po/et.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maksimaalne failide suurus on ületatud." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Heli või video salvestamise ajal ei saa muusikat esitada." + diff --git a/res/po/eu.po b/res/po/eu.po index 6d4220d..40480b5 100644 --- a/res/po/eu.po +++ b/res/po/eu.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Fitxategien gehienezko neurria gaindituta" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Ezin da erreproduzitu musika audioa edo bideoak grabatu bitartean." + diff --git a/res/po/fi.po b/res/po/fi.po index 339daf2..1a429c6 100644 --- a/res/po/fi.po +++ b/res/po/fi.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Tiedostojen enimmäiskoko on saavutettu." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Musiikkia ei voi toistaa äänen tai videoiden tallennuksen aikana." + diff --git a/res/po/fr.po b/res/po/fr.po index e946791..70ddef4 100644 --- a/res/po/fr.po +++ b/res/po/fr.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Taille maximale des fichiers dépassée" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Impossible de lire de la musique pendant un enregistrement audio ou vidéo." + diff --git a/res/po/fr_CA.po b/res/po/fr_CA.po index 84eb2d3..253baa3 100644 --- a/res/po/fr_CA.po +++ b/res/po/fr_CA.po @@ -1675,3 +1675,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Taille maximale des fichiers dépassée." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Impossible de lire de la musique pendant un enregistrement audio ou vidéo." + diff --git a/res/po/ga.po b/res/po/ga.po index 2255ed5..2beaa4c 100644 --- a/res/po/ga.po +++ b/res/po/ga.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Uasmhéid na gcomhad sáraithe." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Ní féidir ceol a sheinm agus fuaim nó físeán á dtaifeadadh." + diff --git a/res/po/gl.po b/res/po/gl.po index ca991d9..3b07545 100644 --- a/res/po/gl.po +++ b/res/po/gl.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Superouse o tamaño máximo dos arquivos" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Non se pode reproducir música durante a gravación de audio ou vídeo." + diff --git a/res/po/hr.po b/res/po/hr.po index ca0e093..18f174d 100644 --- a/res/po/hr.po +++ b/res/po/hr.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maks. veličina datoteke." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Nije moguće reproducirati glazbu dok se snima zvuk ili videozapis." + diff --git a/res/po/hu.po b/res/po/hu.po index 3dd9517..747c3d2 100644 --- a/res/po/hu.po +++ b/res/po/hu.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Túllépte a maximális fájlméretet." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Hang- vagy videórögzítés közben nincs mód zenelejátszásra." + diff --git a/res/po/hy.po b/res/po/hy.po index 145210c..133d40b 100644 --- a/res/po/hy.po +++ b/res/po/hy.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Ֆայլերի առավելագույն քանակը գերազանցվել է:" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Անհնար է երաժշտություն նվագարկել ձայնագրելու կամ տեսագրելու ընթացքում:" + diff --git a/res/po/is.po b/res/po/is.po index 2410b96..82ff013 100644 --- a/res/po/is.po +++ b/res/po/is.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Hámarksstærð skráa er náð." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Ekki er hægt að spila tónlist meðan á hljóð- eða myndupptöku stendur." + diff --git a/res/po/it_IT.po b/res/po/it_IT.po index c8195f9..8199aab 100644 --- a/res/po/it_IT.po +++ b/res/po/it_IT.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Dimensioni massime dei file superate." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Impossibile riprodurre la musica durante la registrazione di audio o video." + diff --git a/res/po/ja_JP.po b/res/po/ja_JP.po index fe1c0b7..d3baac1 100644 --- a/res/po/ja_JP.po +++ b/res/po/ja_JP.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "ファイルの最大サイズを超えました。" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "音声の録音中または動画の録画中は、音楽を再生できません。" + diff --git a/res/po/ka.po b/res/po/ka.po index 116732f..8b63ebf 100644 --- a/res/po/ka.po +++ b/res/po/ka.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "გადაჭარბებულია ფაილების მაქსიმალური ზომა." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "მუსიკის დაკვრა შეუძლებელია, როდესაც გაშვებულია აუდიო ან ვიდეო." + diff --git a/res/po/kk.po b/res/po/kk.po index 720fed9..461303b 100644 --- a/res/po/kk.po +++ b/res/po/kk.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Файлдардың ең үлкен өлшемінен асып кетті." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Аудио не бейнені жазу кезінде, музыканы ойнату мүмкін емес." + diff --git a/res/po/ko_KR.po b/res/po/ko_KR.po index afb2512..2cc400c 100644 --- a/res/po/ko_KR.po +++ b/res/po/ko_KR.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "최대 파일 크기를 초과하였습니다." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "오디오 또는 동영상 촬영 중에는 음악을 재생할 수 없습니다." + diff --git a/res/po/lt.po b/res/po/lt.po index 5125dbd..faaaf37 100644 --- a/res/po/lt.po +++ b/res/po/lt.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Viršytas leistinas failų dydis." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Negalima paleisti muzikos, kol įrašomas garsas arba vaizdas." + diff --git a/res/po/lv.po b/res/po/lv.po index 640fbd7..2c11feb 100644 --- a/res/po/lv.po +++ b/res/po/lv.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Pārsniegts maksimālais failu lielums." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Audio vai video ierakstīšanas laikā nevar atskaņot mūziku." + diff --git a/res/po/mk.po b/res/po/mk.po index e8a51c5..a788c50 100644 --- a/res/po/mk.po +++ b/res/po/mk.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Надмината е максималната големина за фајловите." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Не може да се пушта музика додека се снима звук или видео." + diff --git a/res/po/nb.po b/res/po/nb.po index 13956fc..d0371d0 100644 --- a/res/po/nb.po +++ b/res/po/nb.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maksimal filstørrelse oversteget." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Kan ikke spille av musikk mens du tar opp lyd eller video." + diff --git a/res/po/nl.po b/res/po/nl.po index ebeee98..2eb5215 100644 --- a/res/po/nl.po +++ b/res/po/nl.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maximumgrootte van bestanden overschreden." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Kan muziek niet afspelen terwijl audio of video wordt opgenomen." + diff --git a/res/po/pl.po b/res/po/pl.po index adce2bd..cf1bc89 100644 --- a/res/po/pl.po +++ b/res/po/pl.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Przekroczono maksymalny rozmiar plików." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Nie można odtwarzać muzyki podczas nagrywania dźwięku lub filmów." + diff --git a/res/po/pt_BR.po b/res/po/pt_BR.po index f967bef..2b394e8 100644 --- a/res/po/pt_BR.po +++ b/res/po/pt_BR.po @@ -1675,3 +1675,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Tamanho máximo dos arquivos excedido." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Não é possível reproduzir música durante a gravação de áudio ou vídeo." + diff --git a/res/po/pt_PT.po b/res/po/pt_PT.po index 1d9f886..1af88b2 100644 --- a/res/po/pt_PT.po +++ b/res/po/pt_PT.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Tamanho máximo dos ficheiros excedido." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Impossível reproduzir música durante a gravação de áudio ou vídeo." + diff --git a/res/po/ro.po b/res/po/ro.po index 2fc8cdf..1b70755 100644 --- a/res/po/ro.po +++ b/res/po/ro.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Dimensiune maximă de fişiere depăşită" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Nu se poate reda muzică în timp ce se înregistrează conținut audio sau video." + diff --git a/res/po/ru_RU.po b/res/po/ru_RU.po index 17b574e..d941702 100644 --- a/res/po/ru_RU.po +++ b/res/po/ru_RU.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Превышен максимальный размер файлов." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Невозможно воспроизводить музыку во время записи видео или аудио." + diff --git a/res/po/sk.po b/res/po/sk.po index 9e05c1c..33b024b 100644 --- a/res/po/sk.po +++ b/res/po/sk.po @@ -1678,3 +1678,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Prekročila sa maximálna veľkosť súborov." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Počas nahrávania zvuku alebo videa sa nedá prehrávať hudba." + diff --git a/res/po/sl.po b/res/po/sl.po index 4cd62ed..3653848 100644 --- a/res/po/sl.po +++ b/res/po/sl.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Največja dovoljena velikost datotek je presežena." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Med snemanjem zvoka ali videa ni mogoče predvajati glasbe." + diff --git a/res/po/sr.po b/res/po/sr.po index bde2e35..26df9d2 100644 --- a/res/po/sr.po +++ b/res/po/sr.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Pređena maksimalna veličina fajlova." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Nije moguće reprodukovati muziku tokom snimanja audio ili video zapisa." + diff --git a/res/po/sv.po b/res/po/sv.po index 076d083..07b5872 100644 --- a/res/po/sv.po +++ b/res/po/sv.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Högsta filstorlek överskreds." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Det går inte att spela musik när ljud eller video spelas in." + diff --git a/res/po/tr_TR.po b/res/po/tr_TR.po index 843acdd..fa98df8 100644 --- a/res/po/tr_TR.po +++ b/res/po/tr_TR.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Maksimum dosya boyutu aşıldı." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Ses veya video kaydı sırasında müzik oynatılamaz." + diff --git a/res/po/uk.po b/res/po/uk.po index a0f69ab..63ca9b1 100644 --- a/res/po/uk.po +++ b/res/po/uk.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Перевищено максимальний розмір файлів." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Неможливо відтворювати музику під час запису відео чи аудіо." + diff --git a/res/po/uz.po b/res/po/uz.po index aac90ca..2106fc2 100644 --- a/res/po/uz.po +++ b/res/po/uz.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "Fayllar o‘lchami ruxsat etilgan maksimal qiymatdan oshdi." +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "Audio yoki videoni yozib olish vaqtida musiqa qo‘yish imkoni yo‘q." + diff --git a/res/po/zh_CN.po b/res/po/zh_CN.po index 3573422..cca1e40 100644 --- a/res/po/zh_CN.po +++ b/res/po/zh_CN.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "已达到文件最大尺寸。" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "录制音频或视频时无法播放音乐" + diff --git a/res/po/zh_HK.po b/res/po/zh_HK.po index 788f7a2..f4002e8 100644 --- a/res/po/zh_HK.po +++ b/res/po/zh_HK.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "超出檔案大小上限。" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "錄製音訊或影片時無法播放音樂。" + diff --git a/res/po/zh_TW.po b/res/po/zh_TW.po index 8a9bcf7..bc5a7a8 100644 --- a/res/po/zh_TW.po +++ b/res/po/zh_TW.po @@ -1676,3 +1676,6 @@ msgstr "Unable to play during call." msgid "IDS_IM_POP_MAXIMUM_SIZE_OF_FILES_EXCEEDED" msgstr "檔案最大的大小已超過。" +msgid "IDS_CAM_TPOP_UNABLE_TO_PLAY_MUSIC_WHILE_RECORDING_AUDIO_OR_VIDEO" +msgstr "錄音或錄影時無法播放音樂。" + diff --git a/src/common/mp-app.c b/src/common/mp-app.c index 42e28e6..a6ec380 100644 --- a/src/common/mp-app.c +++ b/src/common/mp-app.c @@ -680,25 +680,17 @@ _mp_app_media_key_event_cb(media_key_e key, media_key_event_e event, return; } + if (key == MEDIA_KEY_PLAY) { + ad->isPlayBtn = true; + } else { + ad->isPlayBtn = false; + } + DEBUG_TRACE("Media Key : %d", key); if (_mp_is_current_focus_available(ad) != 0) { if (key == MEDIA_KEY_PLAY) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE - ("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } else { ERROR_TRACE diff --git a/src/include/music.h b/src/include/music.h index 6a9c4b0..a4188f0 100644 --- a/src/include/music.h +++ b/src/include/music.h @@ -422,6 +422,7 @@ struct appdata { int album_image_w; int album_image_h; + bool isPlayBtn; bool paused_by_other_player; mp_track_info_t *current_track_info; diff --git a/src/mp-main.c b/src/mp-main.c index c936e59..9bf7874 100644 --- a/src/mp-main.c +++ b/src/mp-main.c @@ -1227,22 +1227,10 @@ static bool mp_create(void *data) PROFILE_OUT("bindtextdomain"); #ifdef MP_SOUND_PLAYER + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return false; } #endif diff --git a/src/view/mp-player-view.c b/src/view/mp-player-view.c index 1f068bc..0253219 100644 --- a/src/view/mp-player-view.c +++ b/src/view/mp-player-view.c @@ -2427,22 +2427,10 @@ static void _mp_player_view_play_pause_btn_clicked_cb(void *data, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -2540,6 +2528,7 @@ static void _mp_player_view_prev_btn_pressed_cb(void *data, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = false; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Changing state in paused state..."); @@ -2576,6 +2565,7 @@ static void _mp_player_view_next_btn_pressed_cb(void *data, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = false; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Changing state in paused state..."); diff --git a/src/widget/mp-album-detail-list.c b/src/widget/mp-album-detail-list.c index 356e63f..8b1ccfc 100644 --- a/src/widget/mp-album-detail-list.c +++ b/src/widget/mp-album-detail-list.c @@ -206,22 +206,11 @@ _mp_album_detail_genlist_sel_cb(void *data, Evas_Object * obj, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -438,6 +427,16 @@ _mp_album_detail_list_shuffle_cb(void *data, Evas_Object * obj, MpList_t *list = data; MP_CHECK(list); + struct appdata *ad = mp_util_get_appdata(); + MP_CHECK(ad); + + ad->isPlayBtn = true; + if (_mp_is_current_focus_available(ad) != 0) { + ERROR_TRACE + ("Some other application has the focus currently... Returning..."); + return; + } + mp_list_item_data_t *item = (mp_list_item_data_t *) elm_object_item_data_get(gli); MP_CHECK(item); diff --git a/src/widget/mp-artist-detail-list.c b/src/widget/mp-artist-detail-list.c index 4046981..50a9e77 100644 --- a/src/widget/mp-artist-detail-list.c +++ b/src/widget/mp-artist-detail-list.c @@ -365,22 +365,11 @@ _mp_artist_detail_list_select_cb(void *data, Evas_Object * obj, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -622,6 +611,16 @@ _mp_artist_detail_list_shuffle_cb(void *data, Evas_Object * obj, MpList_t *list = data; MP_CHECK(list); + struct appdata *ad = mp_util_get_appdata(); + MP_CHECK(ad); + + ad->isPlayBtn = true; + if (_mp_is_current_focus_available(ad) != 0) { + ERROR_TRACE + ("Some other application has the focus currently... Returning..."); + return; + } + mp_list_item_data_t *item = (mp_list_item_data_t *) elm_object_item_data_get(gli); MP_CHECK(item); diff --git a/src/widget/mp-minicontroller.c b/src/widget/mp-minicontroller.c index 52bb93d..7e8813f 100644 --- a/src/widget/mp-minicontroller.c +++ b/src/widget/mp-minicontroller.c @@ -412,6 +412,21 @@ int _mp_is_current_focus_available(struct appdata *ad) if (!g_strcmp0(additional_info, "video_recorder")) { DEBUG_TRACE ("Video Recorder Timer is active. Cannot resume Music Player"); + if (ad->isPlayBtn) { + char *message = STR_MP_UNABLE_TO_PLAY_DURING_RECORDING; + if (message) { + int ret = + notification_status_message_post(dgettext + ("music-player", + message)); + if (ret != 0) { + ERROR_TRACE("notification_status_message_post()... [0x%x]", + ret); + } else { + DEBUG_TRACE("message: [%s]", message); + } + } + } return -1; } @@ -437,6 +452,21 @@ int _mp_is_current_focus_available(struct appdata *ad) || changed_by == SOUND_STREAM_FOCUS_CHANGED_BY_VOIP || changed_by == SOUND_STREAM_FOCUS_CHANGED_BY_RINGTONE) { DEBUG_TRACE("Cannot resume Music Player due to call"); + if (ad->isPlayBtn) { + char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; + if (message) { + int ret = + notification_status_message_post(dgettext + ("music-player", + message)); + if (ret != 0) { + ERROR_TRACE("notification_status_message_post()... [0x%x]", + ret); + } else { + DEBUG_TRACE("message: [%s]", message); + } + } + } return -1; } @@ -444,6 +474,21 @@ int _mp_is_current_focus_available(struct appdata *ad) || ad->recorder_state == RECORDER_DEVICE_STATE_PAUSED) { DEBUG_TRACE ("Cannot resume Music Player. Video Recorder is in use"); + if (ad->isPlayBtn) { + char *message = STR_MP_UNABLE_TO_PLAY_DURING_RECORDING; + if (message) { + int ret = + notification_status_message_post(dgettext + ("music-player", + message)); + if (ret != 0) { + ERROR_TRACE("notification_status_message_post()... [0x%x]", + ret); + } else { + DEBUG_TRACE("message: [%s]", message); + } + } + } return -1; } @@ -459,22 +504,10 @@ static void _mp_minicontroller_play_pause_btn_clicked_cb(void *data, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -495,6 +528,7 @@ static void _mp_minicontroller_ff_rew_btn_pressed_cb(void *data, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = false; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Changing to paused state..."); diff --git a/src/widget/mp-now-playing-list.c b/src/widget/mp-now-playing-list.c index 8ce3153..d3da376 100644 --- a/src/widget/mp-now-playing-list.c +++ b/src/widget/mp-now-playing-list.c @@ -209,22 +209,10 @@ _mp_now_playing_genlist_sel_cb(void *data, Evas_Object * obj, MP_CHECK(ad->win_main); /* Checking if user is on call */ + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } diff --git a/src/widget/mp-now-playing.c b/src/widget/mp-now-playing.c index 981dfaa..9aec23a 100644 --- a/src/widget/mp-now-playing.c +++ b/src/widget/mp-now-playing.c @@ -587,22 +587,10 @@ static void _mp_now_playing_btn_clicked_cb(void *data, Evas_Object * obj, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -624,6 +612,7 @@ static void _mp_now_playing_btn_pressed_cb(void *data, Evas_Object * obj, struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = false; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Changing state in paused state..."); diff --git a/src/widget/mp-track-list.c b/src/widget/mp-track-list.c index e7d45d5..cb24f63 100644 --- a/src/widget/mp-track-list.c +++ b/src/widget/mp-track-list.c @@ -279,22 +279,11 @@ _mp_track_genlist_sel_cb(void *data, Evas_Object * obj, void *event_info) struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; } @@ -740,22 +729,10 @@ _mp_track_list_shuffle_cb(void *data, Evas_Object * obj, void *event_info) struct appdata *ad = mp_util_get_appdata(); MP_CHECK(ad); + ad->isPlayBtn = true; if (_mp_is_current_focus_available(ad) != 0) { ERROR_TRACE ("Some other application has the focus currently... Returning..."); - char *message = STR_MP_UNABLE_TO_PLAY_DURING_CALL; - if (message) { - int ret = - notification_status_message_post(dgettext - ("music-player", - message)); - if (ret != 0) { - ERROR_TRACE("notification_status_message_post()... [0x%x]", - ret); - } else { - DEBUG_TRACE("message: [%s]", message); - } - } return; }