summaryrefslogtreecommitdiffstats
path: root/src/tdeioslave/bluetooth
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-03-09 05:33:19 +0100
committerSlávek Banko <[email protected]>2023-03-09 05:52:54 +0100
commit66c9d2a5920b30474b595603a79915d2be38cdbe (patch)
treec896bdcef6cba137863cebb6106c62a9fd01c6ca /src/tdeioslave/bluetooth
parent0c8df48682481faa5249ab010e09d67af08e6457 (diff)
downloadtdebluez-66c9d2a5920b30474b595603a79915d2be38cdbe.tar.gz
tdebluez-66c9d2a5920b30474b595603a79915d2be38cdbe.zip
Added CMakeL10n rules.
Added template for translations. Added translation of .desktop files. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/tdeioslave/bluetooth')
-rw-r--r--src/tdeioslave/bluetooth/CMakeLists.txt15
-rw-r--r--src/tdeioslave/bluetooth/bluetooth.protocol31
-rw-r--r--src/tdeioslave/bluetooth/bluetooth_sidebarentry.desktop30
3 files changed, 16 insertions, 60 deletions
diff --git a/src/tdeioslave/bluetooth/CMakeLists.txt b/src/tdeioslave/bluetooth/CMakeLists.txt
index f74af27..aabceb6 100644
--- a/src/tdeioslave/bluetooth/CMakeLists.txt
+++ b/src/tdeioslave/bluetooth/CMakeLists.txt
@@ -21,6 +21,8 @@ include_directories(
${DBUS_INCLUDE_DIRS}
${DBUS_TQT_INCLUDE_DIRS}
)
+
+
##### tdeio_bluetooth (static) #############################
set( target tdeio_bluetooth )
@@ -31,10 +33,11 @@ tde_add_kpart( ${target} AUTOMOC
)
# konqueror sidebar entry
-install(
- FILES bluetooth.protocol
- DESTINATION ${SERVICES_INSTALL_DIR} )
-install(
- FILES bluetooth_sidebarentry.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services
+tde_create_translated_desktop(
+ SOURCE bluetooth.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+tde_create_translated_desktop(
+ SOURCE bluetooth_sidebarentry.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services
)
diff --git a/src/tdeioslave/bluetooth/bluetooth.protocol b/src/tdeioslave/bluetooth/bluetooth.protocol
index b99a1f5..9253aad 100644
--- a/src/tdeioslave/bluetooth/bluetooth.protocol
+++ b/src/tdeioslave/bluetooth/bluetooth.protocol
@@ -1,33 +1,12 @@
[Protocol]
-exec=tdeio_bluetooth
+Description=Bluetooth inquiry protocol
+
+Icon=tdebluez
protocol=bluetooth
+exec=tdeio_bluetooth
+maxInstances=3
input=none
output=filesystem
reading=true
listing=Name,Type
-Icon=tdebluez
-Description=Bluetooth inquiry protocol
-Description[bg]=Протокол за заявка към Bluetooth
-Description[ca]=Protocol de recerca Bluetooth
-Description[da]=Bluetooth forespørgselsprotokol
-Description[de]=Bluetooth-Anfrageprotokoll
-Description[el]=Πρωτόκολλο έρευνας Bluetooth
-Description[es]=Protocolo de búsqueda Bluetooth
-Description[et]=Bluetoothi päringuprotokoll
-Description[fr]=Protocole de Demande de renseignements Bluetooth
-Description[gl]=Protocolo de pestquisa Bluetooth
-Description[it]=Protocollo di richiesta Bluetooth
-Description[ja]=Bluetooth 問い合わせプロトコル
-Description[lt]=Bluetooth užklausų protokolas
-Description[nl]=Bluetooth inquiry-protocol
-Description[pl]=Protokół wyszukiwania Bluetooth
-Description[pt]=Protocolo de intquisição Bluetooth
-Description[pt_BR]=Protocolo de intquisição Bluetooth
-Description[sr]=Протокол испитивања Bluetooth-а
-Description[sr@Latn]=Protokol ispitivanja Bluetooth-a
-Description[sv]=Blåtand frågeprotokoll
-Description[ta]=புளூடூத்தை உள்ளிடும் நெறிமுறை
-Description[tr]=Bluetooth sorgulama protokolü
-Description[xx]=xxBluetooth inquiry protocolxx
-maxInstances=3
DocPath=tdebluez/components.tdeio_sdp.html
diff --git a/src/tdeioslave/bluetooth/bluetooth_sidebarentry.desktop b/src/tdeioslave/bluetooth/bluetooth_sidebarentry.desktop
index 79306e0..8d8461f 100644
--- a/src/tdeioslave/bluetooth/bluetooth_sidebarentry.desktop
+++ b/src/tdeioslave/bluetooth/bluetooth_sidebarentry.desktop
@@ -1,35 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
+Name=Bluetooth Browser
+
Type=Link
URL=bluetooth:/
Icon=tdebluez
-Name=Bluetooth Browser
-Name[ar]= متصفح Bluetooth
-Name[bg]=Браузър за Bluetooth
-Name[br]=Furcher Bluetooth
-Name[ca]=Fullejador Bluetooth
-Name[da]=Bluetooth-browser
-Name[de]=Bluetooth-Browser
-Name[el]=Περιηγητής Bluetooth
-Name[es]=Navegador Bluetooth
-Name[et]=Bluetoothi brauser
-Name[fr]=Navigateur Bluetooth
-Name[ga]=Brabhsálaí Bluetooth
-Name[gl]=Navegador Bluetooth
-Name[it]=Navigatore Bluetooth
-Name[ja]=Bluetooth ブラウザ
-Name[lt]=Bluetooth naršyklė
-Name[pa]=ਬਲਿਊਟੁੱਥ ਝਲਕਾਰਾ
-Name[pl]=Przeglądarka Bluetooth
-Name[pt]=Navegador Bluetooth
-Name[pt_BR]=Navegador Bluetooth
-Name[ru]=Обозреватель Bluetooth
-Name[sr]=Bluetooth прегледач
-Name[sr@Latn]=Bluetooth pregledač
-Name[sv]=Blåtandsbläddrare
-Name[ta]=புலுடுத் உலாவி
-Name[tr]=Bluetooth Tarayıcısı
-Name[xx]=xxBluetooth Browserxx
Open=false
X-TDE-TreeModule=Directory
X-TDE-KonqSidebarModule=konqsidebar_tree