[vlc-commits] sd: add missing N_() in probe helpers

Rémi Denis-Courmont git at videolan.org
Tue Nov 15 19:02:05 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 15 19:18:14 2016 +0200| [3012eb8913854918a6c51199e0ea4b9a20ac498d] | committer: Rémi Denis-Courmont

sd: add missing N_() in probe helpers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3012eb8913854918a6c51199e0ea4b9a20ac498d
---

 modules/access/dsm/access.c           | 2 +-
 modules/services_discovery/avahi.c    | 2 +-
 modules/services_discovery/bonjour.m  | 2 +-
 modules/services_discovery/microdns.c | 2 +-
 modules/services_discovery/mtp.c      | 2 +-
 modules/services_discovery/os2drive.c | 2 +-
 modules/services_discovery/podcast.c  | 2 +-
 modules/services_discovery/pulse.c    | 2 +-
 modules/services_discovery/sap.c      | 2 +-
 modules/services_discovery/upnp.cpp   | 2 +-
 modules/services_discovery/windrive.c | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 44b6098..ec25a75 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -58,7 +58,7 @@ int bdsm_sd_probe_Open( vlc_object_t * );
 static int Open( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER( "dsm", "Windows networks", SD_CAT_LAN )
+VLC_SD_PROBE_HELPER( "dsm", N_("Windows networks"), SD_CAT_LAN )
 
 #define BDSM_HELP N_("libdsm's SMB (Windows network shares) input and browser")
 
diff --git a/modules/services_discovery/avahi.c b/modules/services_discovery/avahi.c
index 5b8c6fc..c1f7a78 100644
--- a/modules/services_discovery/avahi.c
+++ b/modules/services_discovery/avahi.c
@@ -49,7 +49,7 @@
 static int  Open ( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER("avahi", "Zeroconf network services", SD_CAT_LAN)
+VLC_SD_PROBE_HELPER("avahi", N_("Zeroconf network services"), SD_CAT_LAN)
 
 vlc_module_begin ()
     set_shortname( "Avahi" )
diff --git a/modules/services_discovery/bonjour.m b/modules/services_discovery/bonjour.m
index edb1b0a..0cc076b 100644
--- a/modules/services_discovery/bonjour.m
+++ b/modules/services_discovery/bonjour.m
@@ -34,7 +34,7 @@
 static int Open( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER( "Bonjour", "Bonjour Network Discovery", SD_CAT_LAN )
+VLC_SD_PROBE_HELPER( "Bonjour", N_("Bonjour Network Discovery"), SD_CAT_LAN )
 
 /*
  * Module descriptor
diff --git a/modules/services_discovery/microdns.c b/modules/services_discovery/microdns.c
index 7727d0d..83bdf9e 100644
--- a/modules/services_discovery/microdns.c
+++ b/modules/services_discovery/microdns.c
@@ -41,7 +41,7 @@ static void CloseSD( vlc_object_t * );
 static int OpenRD( vlc_object_t * );
 static void CloseRD( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER( "microdns", "mDNS Network Discovery", SD_CAT_LAN )
+VLC_SD_PROBE_HELPER( "microdns", N_("mDNS Network Discovery"), SD_CAT_LAN )
 VLC_RD_PROBE_HELPER( "microdns_renderer", "mDNS renderer Discovery" )
 
 #define CFG_PREFIX "sd-microdns-"
diff --git a/modules/services_discovery/mtp.c b/modules/services_discovery/mtp.c
index 07195ad..99f15d8 100644
--- a/modules/services_discovery/mtp.c
+++ b/modules/services_discovery/mtp.c
@@ -37,7 +37,7 @@
 static int Open( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER("mtp", "MTP devices", SD_CAT_DEVICES)
+VLC_SD_PROBE_HELPER("mtp", N_("MTP devices"), SD_CAT_DEVICES)
 
 vlc_module_begin()
     set_shortname( "MTP" )
diff --git a/modules/services_discovery/os2drive.c b/modules/services_discovery/os2drive.c
index 427f500..8a44e8c 100644
--- a/modules/services_discovery/os2drive.c
+++ b/modules/services_discovery/os2drive.c
@@ -33,7 +33,7 @@
 
 static int Open (vlc_object_t *);
 
-VLC_SD_PROBE_HELPER("disc", "Discs", SD_CAT_DEVICES)
+VLC_SD_PROBE_HELPER("disc", N_("Discs"), SD_CAT_DEVICES)
 
 /*
  * Module descriptor
diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c
index e19f4af..265c251 100644
--- a/modules/services_discovery/podcast.c
+++ b/modules/services_discovery/podcast.c
@@ -50,7 +50,7 @@
 static int  Open ( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER("podcast", "Podcasts", SD_CAT_INTERNET)
+VLC_SD_PROBE_HELPER("podcast", N_("Podcasts"), SD_CAT_INTERNET)
 
 #define URLS_TEXT N_("Podcast URLs list")
 #define URLS_LONGTEXT N_("Enter the list of podcasts to retrieve, " \
diff --git a/modules/services_discovery/pulse.c b/modules/services_discovery/pulse.c
index 5cd6647..cca8c4b 100644
--- a/modules/services_discovery/pulse.c
+++ b/modules/services_discovery/pulse.c
@@ -36,7 +36,7 @@
 static int Open (vlc_object_t *);
 static void Close (vlc_object_t *);
 
-VLC_SD_PROBE_HELPER("pulse", "Audio capture", SD_CAT_DEVICES);
+VLC_SD_PROBE_HELPER("pulse", N_("Audio capture"), SD_CAT_DEVICES);
 
 vlc_module_begin ()
     set_shortname (N_("Audio capture"))
diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 92f04ce..2de7e50 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -103,7 +103,7 @@
     static int  OpenDemux ( vlc_object_t * );
     static void CloseDemux ( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER("sap", "Network streams (SAP)", SD_CAT_LAN)
+VLC_SD_PROBE_HELPER("sap", N_("Network streams (SAP)"), SD_CAT_LAN)
 
 vlc_module_begin ()
     set_shortname( N_("SAP"))
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 83a138e..08a69bb 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -86,7 +86,7 @@ namespace Access
     static void Close( vlc_object_t* );
 }
 
-VLC_SD_PROBE_HELPER( "upnp", "Universal Plug'n'Play", SD_CAT_LAN )
+VLC_SD_PROBE_HELPER( "upnp", N_("Universal Plug'n'Play"), SD_CAT_LAN )
 
 /*
  * Module descriptor
diff --git a/modules/services_discovery/windrive.c b/modules/services_discovery/windrive.c
index fbface0..62481d6 100644
--- a/modules/services_discovery/windrive.c
+++ b/modules/services_discovery/windrive.c
@@ -30,7 +30,7 @@
 
 static int Open (vlc_object_t *);
 
-VLC_SD_PROBE_HELPER("disc", "Discs", SD_CAT_DEVICES)
+VLC_SD_PROBE_HELPER("disc", N_("Discs"), SD_CAT_DEVICES)
 
 /*
  * Module descriptor



More information about the vlc-commits mailing list