From bb870de150eb3c38a76daa802c82a6383a483a1d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 26 Jul 2013 12:49:41 +0100 Subject: Move remaining string literals over to FatMessages. --- desktop/cookie_manager.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'desktop/cookie_manager.c') diff --git a/desktop/cookie_manager.c b/desktop/cookie_manager.c index a38cafb2a..c35251e9c 100644 --- a/desktop/cookie_manager.c +++ b/desktop/cookie_manager.c @@ -626,20 +626,19 @@ static nserror cookie_manager_init_common_values(void) const char *temp; /* Set the Restrictions text */ - /* TODO: use messages */ - temp = "Secure hosts via https only"; + temp = messages_get("CookieManagerHTTPS"); cookie_manager_field_builder(CM_RESTRICTIONS, &cm_ctx.values[CM_HTTPS], strdup(temp)); - temp = "Secure hosts only"; + temp = messages_get("CookieManagerSecure"); cookie_manager_field_builder(CM_RESTRICTIONS, &cm_ctx.values[CM_SECURE], strdup(temp)); - temp = "HTTP connections only"; + temp = messages_get("CookieManagerHTTP"); cookie_manager_field_builder(CM_RESTRICTIONS, &cm_ctx.values[CM_HTTP], strdup(temp)); - temp = "None"; + temp = messages_get("None"); cookie_manager_field_builder(CM_RESTRICTIONS, &cm_ctx.values[CM_NONE], strdup(temp)); -- cgit v1.2.3