const std = @import("std"); pub const help_page = \\wttr.in - Weather Forecast Service \\ \\Usage: \\ curl wttr.in # Weather for your location \\ curl wttr.in/London # Weather for London \\ curl wttr.in/~Eiffel+Tower # Weather for special location \\ curl wttr.in/@github.com # Weather for domain location \\ curl wttr.in/muc # Weather for airport (IATA code) \\ \\Query Parameters: \\ ?format=FORMAT Output format (1,2,3,4,j1,p1,v2) \\ ?lang=LANG Language code (en,de,fr,etc) \\ ?u Use USCS units \\ ?m Use metric units \\ ?t Transparency for PNG \\ \\Special Endpoints: \\ /:help This help page \\ /:translation Translation information \\ \\Examples: \\ curl wttr.in/Paris?format=3 \\ curl wttr.in/Berlin?lang=de \\ curl wttr.in/Tokyo?m \\ \\For more information visit: https://github.com/chubin/wttr.in \\ ; pub const translation_page = \\wttr.in Translation \\ \\wttr.in is currently translated into 54 languages. \\ \\Language Support: \\ - Automatic detection via Accept-Language header \\ - Manual selection via ?lang=CODE parameter \\ - Subdomain selection (e.g., de.wttr.in) \\ \\Contributing: \\ To help translate wttr.in, visit: \\ https://github.com/chubin/wttr.in \\ ; test "help page exists" { try std.testing.expect(help_page.len > 0); } test "translation page exists" { try std.testing.expect(translation_page.len > 0); }