File: 0013_more-spelling.patch

package info (click to toggle)
gerbera 1.1.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 4,684 kB
  • sloc: cpp: 29,611; xml: 967; ansic: 463; perl: 328; sh: 316; sql: 135; python: 75; makefile: 11; fortran: 9
file content (47 lines) | stat: -rw-r--r-- 1,792 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: More spelling fixes found by lintian
Author: James Cowgill <jcowgill@debian.org>
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/cds_objects.cc
+++ b/src/cds_objects.cc
@@ -277,7 +277,7 @@ void CdsItemInternalURL::validate()
     CdsItemExternalURL::validate();
 
     if (this->location.startsWith(_("http://")))
-        throw _Exception(_("Internal URL item validation failed: only realative URLs allowd\n"));
+        throw _Exception(_("Internal URL item validation failed: only realative URLs allowed\n"));
 }
 
 CdsContainer::CdsContainer() : CdsObject()
--- a/src/config_manager.cc
+++ b/src/config_manager.cc
@@ -393,7 +393,7 @@ String ConfigManager::createDefaultConfi
 
     Ref<Comment> docinfo(new Comment(_("\n\
      See http://gerbera.io or read the docs for more\n\
-     information on creating and using config.xml configration files.\n\
+     information on creating and using config.xml configuration files.\n\
     "),
         true));
     config->appendChild(RefCast(docinfo, Node));
@@ -800,7 +800,7 @@ void ConfigManager::migrate()
     if (migrated_flag) {
         root->indent();
         save();
-        log_info("Migration of configuration successfull\n");
+        log_info("Migration of configuration successful\n");
     }
 }
 
--- a/src/server.cc
+++ b/src/server.cc
@@ -206,7 +206,7 @@ void Server::upnp_init()
         throw _UpnpException(ret, _("upnp_init: UpnpRegisterRootDevice failed"));
     }
 
-    log_debug("Sending UPnP Alive advertisment\n");
+    log_debug("Sending UPnP Alive advertisement\n");
     ret = UpnpSendAdvertisement(device_handle, alive_advertisement);
     if (ret != UPNP_E_SUCCESS) {
         throw _UpnpException(ret, _("upnp_init: UpnpSendAdvertisement failed"));