Move remaining string literals over to FatMessages.

This commit is contained in:
Michael Drake 2013-07-26 12:49:41 +01:00
parent f2476a1e20
commit bb870de150
2 changed files with 23 additions and 5 deletions

View File

@ -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));

View File

@ -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
#