Use Messages for default folder name.

This commit is contained in:
Michael Drake 2013-08-27 12:44:01 +01:00
parent 00f108f4a2
commit fb9353f220
2 changed files with 11 additions and 1 deletions

View File

@ -1101,8 +1101,9 @@ nserror hotlist_add_url(nsurl *url)
/* Make the default folder, if we don't have one */
if (hl_ctx.default_folder == NULL) {
const char *temp = messages_get("HotlistDefaultFolderName");
struct hotlist_folder *f;
err = hotlist_add_folder_internal(strdup("Unsorted entries"),
err = hotlist_add_folder_internal(strdup(temp),
NULL, TREE_REL_FIRST_CHILD, &f);
if (err != NSERROR_OK)
return err;

View File

@ -1275,6 +1275,15 @@ it.all.CookieManagerHTTP:HTTP connections only
nl.all.CookieManagerHTTP:HTTP connections only
# Hotlist default folder's default name
#
en.all.HotlistDefaultFolderName:Unsorted entries
de.all.HotlistDefaultFolderName:Unsorted entries
fr.all.HotlistDefaultFolderName:Unsorted entries
it.all.HotlistDefaultFolderName:Unsorted entries
nl.all.HotlistDefaultFolderName:Unsorted entries
# Tree export
#