diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-27 12:44:01 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-27 12:44:01 +0100 |
commit | fb9353f2208eb8cf3dc6055399d2efd6ac609d94 (patch) | |
tree | c183a1aa9b9e32455defd0dafa13f7414c55035d | |
parent | 00f108f4a24d623d63168fcbe7251db4dd9c1436 (diff) | |
download | netsurf-fb9353f2208eb8cf3dc6055399d2efd6ac609d94.tar.gz netsurf-fb9353f2208eb8cf3dc6055399d2efd6ac609d94.tar.bz2 |
Use Messages for default folder name.
-rw-r--r-- | desktop/hotlist.c | 3 | ||||
-rw-r--r-- | resources/FatMessages | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 9679cd2f3..cde038a4a 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -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; diff --git a/resources/FatMessages b/resources/FatMessages index 47eaf7d8a..b27df8da8 100644 --- a/resources/FatMessages +++ b/resources/FatMessages @@ -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 # |