File: spelling-error-in-binary

package info (click to toggle)
connman-gtk 1.1.1%2Bgit20180626.b72c6ab-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,236 kB
  • sloc: ansic: 5,815; xml: 13; sh: 12; python: 8; makefile: 7
file content (31 lines) | stat: -rw-r--r-- 1,059 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
Description: Fix spelling-error-in-binary lintian report
 prefered/preferred
 credintial/credential
Author: Nick Morrott <nickm@debian.org>
Bug: https://github.com/jgke/connman-gtk/pull/34
Last-Update: 2022-02-11
---
--- a/src/settings.c
+++ b/src/settings.c
@@ -290,8 +290,8 @@
 		                      _("Disabled"), TRUE);
 		add_page_to_combo_box(sett, ipv6_privacy, "enabled",
 		                      _("Enabled"), !strcmp("enabled", cur));
-		add_page_to_combo_box(sett, ipv6_privacy, "prefered",
-		                      _("Prefered"), !strcmp("prefered", cur));
+		add_page_to_combo_box(sett, ipv6_privacy, "preferred",
+		                      _("Preferred"), !strcmp("preferred", cur));
 		g_free(cur);
 	}
 }
--- a/src/openconnect_helper.c
+++ b/src/openconnect_helper.c
@@ -370,7 +370,7 @@
 			g_ptr_array_add(tokens, elem);
 	}
 
-	if(!dialog_ask_tokens(_("Enter AnyConnect credintials"), tokens)) {
+	if(!dialog_ask_tokens(_("Enter AnyConnect credentials"), tokens)) {
 		g_ptr_array_free(tokens, TRUE);
 		return OC_FORM_RESULT_CANCELLED;
 	}