ObjFW  Check-in [cead04ef07]

Overview
Comment:ofhttp: Small string fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cead04ef07addcfa8f38051028966192b30bc3ba95419a98523d3c57197b9d9c
User & Date: js on 2017-06-03 18:41:38
Other Links: manifest | tags
Context
2017-06-03
21:45
PLATFORMS.md: Update MorphOS check-in: 8077ba4633 user: js tags: trunk
18:41
ofhttp: Small string fix check-in: cead04ef07 user: js tags: trunk
18:37
Properly check for sys/types.h check-in: 4ec0948b1b user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [fd3994865b] to [4a96f71a53].

714
715
716
717
718
719
720
721

722
723

724
725
726
727
728
729
730
714
715
716
717
718
719
720

721
722

723
724
725
726
727
728
729
730







-
+

-
+







		_errorCode = 1;
		goto next;
	}

	if (![[URL scheme] isEqual: @"http"] &&
	    ![[URL scheme] isEqual: @"https"]) {
		[of_stderr writeLine: OF_LOCALIZED(@"invalid_scheme",
		    @"%[prog]: Invalid scheme: <%[scheme]:>!",
		    @"%[prog]: Invalid scheme: <%[url]>!",
		    @"prog", [OFApplication programName],
		    @"scheme", URLString)];
		    @"url", URLString)];

		_errorCode = 1;
		goto next;
	}

	clientHeaders = [[_clientHeaders mutableCopy] autorelease];

Modified utils/ofhttp/lang/de.json from [4101cbff1a] to [8f934f3140].

60
61
62
63
64
65
66
67

68
69
70
71
72
73
74
60
61
62
63
64
65
66

67
68
69
70
71
72
73
74







-
+







    ],
    "download_failed": "%[prog]: Fehler beim Download von <%[url]>!",
    "download_failed_exception": [
        "%[prog]: Fehler beim Download von <%[url]>: %[exception]"
    ],
    "download_done": "Fertig!",
    "invalid_url": "%[prog]: Ungültige URL: <%[url]>!",
    "invalid_scheme": "%[prog]: Ungültiges Schema: <%[scheme]:>!",
    "invalid_scheme": "%[prog]: Ungültiges Schema: <%[url]>!",
    "type_unknown": "unbekannt",
    "size_gib": "%[num] GiB",
    "size_mib": "%[num] MiB",
    "size_kib": "%[num] KiB",
    "size_bytes": "%[num] Bytes",
    "size_unknown": "unbekannt",
    "info_name_unaligned": "Name: %[name]",