$(PHONESTATUS_CFLAGS) \
$(SYSTEM_DEVICE_CFLAGS)
-if USE_NOTIFICATION
-COMMON_CFLAGS += $(STATUS_CFLAGS)
-endif
-
COMMON_LDADD = libmedia-utils.la \
$(GLIB_LIBS) \
$(GTHREAD_LIBS) \
$(USB_DEVICE_LIBS) \
-ldl
-if USE_NOTIFICATION
-COMMON_LDADD += $(STATUS_LIBS)
-endif
-
######################################################
#pkgconfig
######################################################
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(db-util)
-BuildRequires: pkgconfig(notification)
BuildRequires: pkgconfig(iniparser)
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(libsystemd-login)
%prep
%setup -q
cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} .
-cp po/* .
%build
%if "%{asan}" == "1"
--disable-static
%__make %{?jobs:-j%jobs}
-#install .po files
-/usr/bin/msgfmt -o ar.mo ar.po
-/usr/bin/msgfmt -o az.mo az.po
-/usr/bin/msgfmt -o bg.mo bg.po
-/usr/bin/msgfmt -o ca.mo ca.po
-/usr/bin/msgfmt -o cs.mo cs.po
-/usr/bin/msgfmt -o da.mo da.po
-/usr/bin/msgfmt -o el_GR.mo el_GR.po
-/usr/bin/msgfmt -o en.mo en.po
-/usr/bin/msgfmt -o en_PH.mo en_PH.po
-/usr/bin/msgfmt -o en_US.mo en_US.po
-/usr/bin/msgfmt -o es_ES.mo es_ES.po
-/usr/bin/msgfmt -o et.mo et.po
-/usr/bin/msgfmt -o eu.mo eu.po
-/usr/bin/msgfmt -o fi.mo fi.po
-/usr/bin/msgfmt -o fr_CA.mo fr_CA.po
-/usr/bin/msgfmt -o ga.mo ga.po
-/usr/bin/msgfmt -o gl.mo gl.po
-/usr/bin/msgfmt -o hi.mo hi.po
-/usr/bin/msgfmt -o hr.mo hr.po
-/usr/bin/msgfmt -o hu.mo hu.po
-/usr/bin/msgfmt -o hy.mo hy.po
-/usr/bin/msgfmt -o is.mo is.po
-/usr/bin/msgfmt -o it_IT.mo it_IT.po
-/usr/bin/msgfmt -o ja_JP.mo ja_JP.po
-/usr/bin/msgfmt -o ka.mo ka.po
-/usr/bin/msgfmt -o kk.mo kk.po
-/usr/bin/msgfmt -o ko_KR.mo ko_KR.po
-/usr/bin/msgfmt -o lt.mo lt.po
-/usr/bin/msgfmt -o lv.mo lv.po
-/usr/bin/msgfmt -o mk.mo mk.po
-/usr/bin/msgfmt -o nb.mo nb.po
-/usr/bin/msgfmt -o pl.mo pl.po
-/usr/bin/msgfmt -o pt_BR.mo pt_BR.po
-/usr/bin/msgfmt -o pt_PT.mo pt_PT.po
-/usr/bin/msgfmt -o ro.mo ro.po
-/usr/bin/msgfmt -o ru_RU.mo ru_RU.po
-/usr/bin/msgfmt -o sk.mo sk.po
-/usr/bin/msgfmt -o sl.mo sl.po
-/usr/bin/msgfmt -o sr.mo sr.po
-/usr/bin/msgfmt -o sv.mo sv.po
-/usr/bin/msgfmt -o tr_TR.mo tr_TR.po
-/usr/bin/msgfmt -o uk.mo uk.po
-/usr/bin/msgfmt -o uz.mo uz.po
-/usr/bin/msgfmt -o zh_CN.mo zh_CN.po
-/usr/bin/msgfmt -o zh_HK.mo zh_HK.po
-/usr/bin/msgfmt -o zh_TW.mo zh_TW.po
-
%install
-rm -rf %{buildroot}
-
-mkdir -p %{buildroot}%{_datadir}/locale/ar/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/az/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/bg/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/cs/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/da/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/el_GR/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/en/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/en_PH/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/en_US/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/es_ES/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/et/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/eu/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/fr_CA/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ga/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/hi/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/hr/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/hu/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/hy/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/is/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/it_IT/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ja_JP/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ka/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/kk/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ko_KR/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/lt/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/lv/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/mk/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/nb/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/pt_PT/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/ru_RU/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/sk/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/sl/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/sr/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/tr_TR/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/uz/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/zh_HK/LC_MESSAGES/
-mkdir -p %{buildroot}%{_datadir}/locale/zh_TW/LC_MESSAGES/
-
-cp ar.mo %{buildroot}%{_datadir}/locale/ar/LC_MESSAGES/media_svr.mo
-cp az.mo %{buildroot}%{_datadir}/locale/az/LC_MESSAGES/media_svr.mo
-cp bg.mo %{buildroot}%{_datadir}/locale/bg/LC_MESSAGES/media_svr.mo
-cp ca.mo %{buildroot}%{_datadir}/locale/ca/LC_MESSAGES/media_svr.mo
-cp cs.mo %{buildroot}%{_datadir}/locale/cs/LC_MESSAGES/media_svr.mo
-cp da.mo %{buildroot}%{_datadir}/locale/da/LC_MESSAGES/media_svr.mo
-cp el_GR.mo %{buildroot}%{_datadir}/locale/el_GR/LC_MESSAGES/media_svr.mo
-cp en.mo %{buildroot}%{_datadir}/locale/en/LC_MESSAGES/media_svr.mo
-cp en_PH.mo %{buildroot}%{_datadir}/locale/en_PH/LC_MESSAGES/media_svr.mo
-cp en_US.mo %{buildroot}%{_datadir}/locale/en_US/LC_MESSAGES/media_svr.mo
-cp es_ES.mo %{buildroot}%{_datadir}/locale/es_ES/LC_MESSAGES/media_svr.mo
-cp et.mo %{buildroot}%{_datadir}/locale/et/LC_MESSAGES/media_svr.mo
-cp eu.mo %{buildroot}%{_datadir}/locale/eu/LC_MESSAGES/media_svr.mo
-cp fi.mo %{buildroot}%{_datadir}/locale/fi/LC_MESSAGES/media_svr.mo
-cp fr_CA.mo %{buildroot}%{_datadir}/locale/fr_CA/LC_MESSAGES/media_svr.mo
-cp ga.mo %{buildroot}%{_datadir}/locale/ga/LC_MESSAGES/media_svr.mo
-cp gl.mo %{buildroot}%{_datadir}/locale/gl/LC_MESSAGES/media_svr.mo
-cp hi.mo %{buildroot}%{_datadir}/locale/hi/LC_MESSAGES/media_svr.mo
-cp hr.mo %{buildroot}%{_datadir}/locale/hr/LC_MESSAGES/media_svr.mo
-cp hu.mo %{buildroot}%{_datadir}/locale/hu/LC_MESSAGES/media_svr.mo
-cp hy.mo %{buildroot}%{_datadir}/locale/hy/LC_MESSAGES/media_svr.mo
-cp is.mo %{buildroot}%{_datadir}/locale/is/LC_MESSAGES/media_svr.mo
-cp it_IT.mo %{buildroot}%{_datadir}/locale/it_IT/LC_MESSAGES/media_svr.mo
-cp ja_JP.mo %{buildroot}%{_datadir}/locale/ja_JP/LC_MESSAGES/media_svr.mo
-cp ka.mo %{buildroot}%{_datadir}/locale/ka/LC_MESSAGES/media_svr.mo
-cp kk.mo %{buildroot}%{_datadir}/locale/kk/LC_MESSAGES/media_svr.mo
-cp ko_KR.mo %{buildroot}%{_datadir}/locale/ko_KR/LC_MESSAGES/media_svr.mo
-cp lt.mo %{buildroot}%{_datadir}/locale/lt/LC_MESSAGES/media_svr.mo
-cp lv.mo %{buildroot}%{_datadir}/locale/lv/LC_MESSAGES/media_svr.mo
-cp mk.mo %{buildroot}%{_datadir}/locale/mk/LC_MESSAGES/media_svr.mo
-cp nb.mo %{buildroot}%{_datadir}/locale/nb/LC_MESSAGES/media_svr.mo
-cp pl.mo %{buildroot}%{_datadir}/locale/pl/LC_MESSAGES/media_svr.mo
-cp pt_BR.mo %{buildroot}%{_datadir}/locale/pt_BR/LC_MESSAGES/media_svr.mo
-cp pt_PT.mo %{buildroot}%{_datadir}/locale/pt_PT/LC_MESSAGES/media_svr.mo
-cp ro.mo %{buildroot}%{_datadir}/locale/ro/LC_MESSAGES/media_svr.mo
-cp ru_RU.mo %{buildroot}%{_datadir}/locale/ru_RU/LC_MESSAGES/media_svr.mo
-cp sk.mo %{buildroot}%{_datadir}/locale/sk/LC_MESSAGES/media_svr.mo
-cp sl.mo %{buildroot}%{_datadir}/locale/sl/LC_MESSAGES/media_svr.mo
-cp sr.mo %{buildroot}%{_datadir}/locale/sr/LC_MESSAGES/media_svr.mo
-cp sv.mo %{buildroot}%{_datadir}/locale/sv/LC_MESSAGES/media_svr.mo
-cp tr_TR.mo %{buildroot}%{_datadir}/locale/tr_TR/LC_MESSAGES/media_svr.mo
-cp uk.mo %{buildroot}%{_datadir}/locale/uk/LC_MESSAGES/media_svr.mo
-cp uz.mo %{buildroot}%{_datadir}/locale/uz/LC_MESSAGES/media_svr.mo
-cp zh_CN.mo %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/media_svr.mo
-cp zh_HK.mo %{buildroot}%{_datadir}/locale/zh_HK/LC_MESSAGES/media_svr.mo
-cp zh_TW.mo %{buildroot}%{_datadir}/locale/zh_TW/LC_MESSAGES/media_svr.mo
%make_install
/etc/multimedia/media-server-plugin
/etc/gumd/useradd.d/30_media-server-add.post
/etc/multimedia/.media.db
-%{_datadir}/locale/*/LC_MESSAGES/*
%license LICENSE.APLv2.0
%{upgrade_script_path}/500.media-server.upgrade.sh
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "جارٍي إعداد بطاقة SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "تمت إزالة بطاقة SD بشكل غير متوقع."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD কাৰ্ড প্ৰস্তুত কৰি আছে..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "আভ্যন্তৰিণ SD কাৰ্ড অপ্ৰত্যাশিতভাৱে আঁতৰোৱা হৈছে৷"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD kart hazırlanır..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD kart gözlənilməz halda çıxarıldı."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Падрыхтоўка SD-карты..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-карта была нечакана вынута."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Подготвяне на SD картата..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD картата е била неочаквано премахната."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD কার্ড প্রস্তুত করা হচ্ছে..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD কার্ড অপ্রত্যাশিতভাবে অপসারণ করা হয়েছে।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD কার্ড প্রস্তুত করা হচ্ছে..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD কার্ড অপ্রত্যাশিতভাবে অপসারণ করা হয়েছে।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "S'està preparant la targeta SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "La targeta SD s'ha retirat de forma imprevista"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Probíhá příprava SD karty..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD karta byla neočekávaně vyjmuta."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Klargør SD-kort..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kortet blev fjernet uventet."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-Karte wird vorbereitet..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-Karte wurde unerwartet entfernt"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Προετοιμασία κάρτας SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Η κάρτα SD αφαιρέθηκε απρόσμενα."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparing SD card..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD card unexpectedly removed."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparing SD card..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD card unexpectedly removed."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparing SD card..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD card unexpectedly removed."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparando tarjeta SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "La tarjeta SD ha sido extraída inesperadamente"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparando tarjeta de memoria..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "La tarjeta de memoria ha sido extraída."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-kaardi ettevalmistamine..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kaart eemaldati ootamatult."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD txartela prestatzen..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD txartela ezustean atera da"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "آماده سازی کارت SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "کارت حافظه بطور غیر منتظره خارج شد."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Valmistellaan SD-korttia..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kortti poistettu odottamattomasti."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Préparation de la carte SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Carte SD retirée de manière inattendue"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Préparation de la carte SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Carte SD retirée de manière inattendue."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Cárta SD á ullmhú..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Baineadh cárta SD gan coinne."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparando tarxeta SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "A tarxeta SD extraeuse inesperadamente"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD કાર્ડ તૈયાર કરવામાં આવે છે..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD કાર્ડ અનપેક્ષિત રીતે કાઢવામાં આવ્યું."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "מכין כרטיס SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "כרטיס SD הוסר במפתיע."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD कार्ड तैयार हो रहा है..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD कार्ड को अनपेक्षित रूप से हटाया गया।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Učitavanje SD kartice..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD kartica neočekivano izvađena."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-kártya előkészítése..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Az SD-kártyát váratlanul eltávolították."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Նախապատրաստվում է SD քարտ..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD քարտը անակնկալ հեռացվել է:"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Menyiapkan kartu SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Kartu SD dilepas tak terduga."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Undirbý SD-kort..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kortið var fjarlægt óvænt."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparazione scheda SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "La scheda SD è stata improvvisamente rimossa."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "外部SDカードを準備中..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "外部SDカードが不意に取り外されました。"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD ბარათი მზადდება..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD ბარათის მოცილება მოხდა მოულოდნელად."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD картасы дайындалуда..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD картасы байқаусызда алынып қалды."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "កំពុងរៀបចំកាត SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "បានដោះកាត SD ដោយមិនបានរំពឹងទុក។"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD ಕಾರ್ಡ್ ಸಿದ್ಧಗೊಳಿಸುತ್ತಿದೆ..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD ಕಾರ್ಡನ್ನು ಅನಿರೀಕ್ಷಿತವಾಗಿ ತೆಗೆಯಲಾಗಿದೆ."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD 카드 준비 중..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "예상치 못한 상황에서 SD 카드를 분리하였습니다."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD картасын даярдоодо..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD карта күтүлбөгөн жерден алып салынды"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "ກໍາລັງກຽມແຜ່ນ SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "ແຜ່ນ SD ໄດ້ຖືກເອົາອອກໄປໂດຍກະທັນຫັນ."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Ruošiama SD kortelė..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD kortelė buvo netikėtai pašalinta."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Sagatavo SD karti..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD karte neparedzēti izņemta."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-картичката се подготвува..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-картичката е извадена неочекувано."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD കാര്ഡ് തയ്യാറാക്കുന്നു..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD കാര്ഡ് അപ്രതീക്ഷിതമായി നീക്കം ചെയ്തു."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD картыг бэлдэж байна..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD карт санамсаргүй салгагдлаа"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD कार्ड बनवत आहे..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD कार्ड अनपेक्षितपणे काढले."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Menyediakan kad SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Kad SD dialihkan keluar secara tidak disangka."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD ကဒ်ကို ပြင်ဆင်နေပါသည်…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD ကဒ် မမျှော်လင့်ပဲ ဖယ်ထုတ်ခြင်းခံလိုက်ရပါသည်။"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD ကဒ္ကုိ ျပင္ဆင္ေနပါသည္…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD ကဒ္ မေမွ်ာ္လင့္ပဲ ဖယ္ထုတ္ျခင္းခံလိုက္ရပါသည္။"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Forbereder SD-kort..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kort ble uventet fjernet."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD कार्ड तयार गर्दै..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD कार्ड नसोचेको रुपमा हटाइयो।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-kaart voorbereiden..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kaart onverwachts verwijderd."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD କାର୍ଡ୍ ପ୍ରସ୍ତୁତ କରୁଛି..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD କାର୍ଡ୍ ଅଣଆଶାଦିତ ଭାବେ ଅପସାରିତ।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD ਕਾਰਡ ਤਿਆਰ ਹੋ ਰਿਹਾ ਹੈ..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD ਕਾਰਡ ਅਚਾਨਕ ਹਟਾ ਦਿੱਤਾ ਗਿਆ।"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Przygotowywanie karty pamięci..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Niespodziewanie wyjęto kartę pamięci."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Rychtowanie karty pamiyńci…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Niyspodzianie wyjynto karta pamiyńci."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Preparando cartão SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Cartão SD removido inesperadamente."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "A preparar cartão SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Cartão SD inesperadamente removido."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Se pregăteşte cartela SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Cartela SD a fost îndepărtată în mod neaşteptat."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Подготовка карты памяти SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Непредвиденное извлечение карты памяти SD."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD කාඩ්පත සූදානම් වෙමින්..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD කාඩ්පත හදිසියේ ඉවත් කරන ලදී."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Pripravuje sa karta SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Karta SD bola neočakávane odstránená."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Pripravljam kartico SD ..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Kartica SD je bila nepričakovano odstranjena."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Po përgatit kartën SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Karta SD u hoq papritur."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Priprema SD kartice..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD kartica izvađena neočekivano."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Förbereder SD-kort..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-kortet togs oväntat bort."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD அட்டை தயாராகிறது..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "எதிர்பாராத விதமாக SD அட்டை நீக்கப்பட்டது."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD కార్డ్ను తయారుచేస్తోంది..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD కార్డ్ అనుకోకుండా తొలగించారు."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Омодасозии корти SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Корти SD ногаҳон бароварда шуд."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "กำลังเตรียม SD การ์ด..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD การ์ดถูกถอดออกกระทันหัน"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD kart taýýarlanyp dur…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD karty garaşylmadyk ýagdaýda çykaryldy."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Hinahanda ang SD card..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Hindi inaasahang inalis ang SD card."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD kart hazırlanıyor..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD kart beklenmedik şekilde çıkartıldı."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Підготовка карти пам’яті..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Карту пам’яті неочікувано вийнято."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD کارڈ تیار کررہا ہے..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD کارڈ غیر متوقع طور پر ہٹا لیا گیا۔"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "SD-karta tayyorlanmoqda..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD-karta kutilmaganda chiqarib olindi."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "Đang chuẩn bị thẻ nhớ SD..."
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "Thẻ nhớ SD bị gỡ đột ngột."
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "正在准备SD卡…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD 卡已意外移除。"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "正在準備SD卡…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD 卡意外移除。"
-
+++ /dev/null
-msgid "IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"
-msgstr "正在準備 SD 卡…"
-
-msgid "IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"
-msgstr "SD 卡未正常移除。"
-
#include "media-common-types.h"
-#ifndef DISABLE_NOTIFICATION
-int ms_present_mmc_status(ms_sdcard_status_type_t status);
-#endif
-
int ms_get_mmc_id(char **cid);
int ms_get_stg_changed_event(void);
*/
#include <stdio.h>
-#include <locale.h>
-#include <libintl.h>
-#include <vconf.h>
#include <glib.h>
-#include <notification.h>
#include "media-util.h"
#include "media-server-ipc.h"
return MS_MEDIA_ERR_NONE;
}
-#define _GETSYSTEMSTR(ID) dgettext("media_svr", (ID))
-
-void update_lang(void)
-{
- char *lang = NULL;
- char *r = NULL;
-
- lang = vconf_get_str(VCONFKEY_LANGSET);
- if (lang) {
- setenv("LANG", lang, 1);
- setenv("LC_MESSAGES", lang, 1);
- r = setlocale(LC_ALL, "");
- if (r == NULL) {
- r = setlocale(LC_ALL, lang);
- if (r != NULL)
- MS_DBG_WARN("Appcore setlocale[%s]", r);
- }
- MS_SAFE_FREE(lang);
- }
-}
-
-int ms_present_mmc_status(ms_sdcard_status_type_t status)
-{
- int ret = NOTIFICATION_ERROR_NONE;
-
- update_lang();
-
- if (status == MS_SDCARD_INSERTED)
- ret = notification_status_message_post(_GETSYSTEMSTR("IDS_MEDIABR_POP_PREPARING_SD_CARD_ING"));
- else if (status == MS_SDCARD_REMOVED)
- ret = notification_status_message_post(_GETSYSTEMSTR("IDS_MUSIC_BODY_SD_CARD_UNEXPECTEDLY_REMOVED"));
-
- if (ret != NOTIFICATION_ERROR_NONE)
- return MS_MEDIA_ERR_INTERNAL;
- return MS_MEDIA_ERR_NONE;
-}
-
#define DEVICE_INFO_FILE ".device_info_"
int ms_read_device_info(const char *root_path, char **device_uuid)
return MS_MEDIA_ERR_INTERNAL;
}
- ms_present_mmc_status(MS_SDCARD_INSERTED);
-
ms_get_mmc_id(&cid);
/* CHECK DB HERE!! */
ret = ms_check_db_upgrade(db_handle, uid);
ms_mmc_insert_handler(mount_path);
} else if (mount_status == MS_STG_REMOVED) {
/*remove added watch descriptors */
- /* flags - 1: unmounted unsafely */
- if (flags == 1)
- ms_present_mmc_status(MS_SDCARD_REMOVED);
ms_mmc_remove_handler(mount_path);
}