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 ++++----- resources/FatMessages | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 5 deletions(-) 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)); diff --git a/resources/FatMessages b/resources/FatMessages index 25c53a78f..49486b569 100644 --- a/resources/FatMessages +++ b/resources/FatMessages @@ -1214,6 +1214,25 @@ it.all.TreeviewLabelDomainFolder:Domain folder nl.all.TreeviewLabelDomainFolder:Domain folder +# Cookie Manager field values +# +en.all.CookieManagerHTTPS:Secure hosts via https only +de.all.CookieManagerHTTPS:Secure hosts via https only +fr.all.CookieManagerHTTPS:Secure hosts via https only +it.all.CookieManagerHTTPS:Secure hosts via https only +nl.all.CookieManagerHTTPS:Secure hosts via https only +en.all.CookieManagerSecure:Secure hosts only +de.all.CookieManagerSecure:Secure hosts only +fr.all.CookieManagerSecure:Secure hosts only +it.all.CookieManagerSecure:Secure hosts only +nl.all.CookieManagerSecure:Secure hosts only +en.all.CookieManagerHTTP:HTTP connections only +de.all.CookieManagerHTTP:HTTP connections only +fr.all.CookieManagerHTTP:HTTP connections only +it.all.CookieManagerHTTP:HTTP connections only +nl.all.CookieManagerHTTP:HTTP connections only + + # Tree export # -- cgit v1.2.3