From c1c23e20dba5d935b39cc7603e5c496560a2bac3 Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 9 May 2008 07:29:50 +0000 Subject: [PATCH] Interface fix: enable sorting bookmarks asc or desc; improve navigation links git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@119 b3834d28-1941-0410-a4f8-b48e95affb8f --- index.php | 2 +- locales/fr_FR/LC_MESSAGES/messages.mo | Bin 19818 -> 20039 bytes locales/fr_FR/LC_MESSAGES/messages.po | 55 +++++++++++++++++++------- locales/messages.po | 43 ++++++++++++++------ templates/bookmarks.tpl.php | 11 ++++-- templates/sidebar.block.menu.php | 8 ++++ templates/sidebar.block.users.php | 3 +- 7 files changed, 91 insertions(+), 31 deletions(-) diff --git a/index.php b/index.php index 41b1a05..a4ce6a7 100644 --- a/index.php +++ b/index.php @@ -71,7 +71,7 @@ $tplVars['popCount'] = 30; $tplVars['sidebar_blocks'] = $GLOBALS["index_sidebar_blocks"]; $tplVars['range'] = 'all'; $tplVars['pagetitle'] = T_('Store, share and tag your favourite links'); -$tplVars['subtitle'] = T_('Recent Bookmarks'); +$tplVars['subtitle'] = T_('All Bookmarks'); $tplVars['bookmarkCount'] = $start + 1; $bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, 0, $dtend); $tplVars['total'] = $bookmarks['total']; diff --git a/locales/fr_FR/LC_MESSAGES/messages.mo b/locales/fr_FR/LC_MESSAGES/messages.mo index 384f10f2535a792ba44cfc6ea03114b918db41a2..56cfc7cf809f7b730979c77f976d3f01a559dd4d 100644 GIT binary patch delta 5304 zcmZwL3v^9a9>?(=d6AGHo{h*wNJTCNxSfM!kwE>1Z=r zMysk)Z3U@Ti>Z3G7*mhdG=^e4X3WGWomn+&=KH(nWYy~GUVi!PbM8H7@AE(VoZxna z*U^n$?n_O5UN*E_qz%dOH>QV|F_l5uYs~TxWB6lM@MAXnU&9t`2RApS8Fs=VOvW+z z4mzk3VX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}Z}X5bd-5aRrg~HOCx%QxVh3JK{l?))O$)CuxWEpu-=2NL4 z+VM4HEqR)-g5I))&qcQ0#VS&qy6&GHN-D_}GJ^2#@Ro8u57_z~tH>wuq==*wl~yEy z=n++!MBXOaUroppV0S8FHB{C*BvtbyX;zlPTUB{};gDlCdO}G$-$n*GNmE zQcIrn){ObR^$4~jzaw9f45BiV3?xsHYEni##NCXKPUHf~C7+P9WFomp#*^pB`y_&> zbR-A8HRt07yg)XQ=Sd_{*+yEEXf+-xSE-+K+RpmFN8>GWjg*kCq%Rporjkse(w@YS z56Qb^2~qjT!F+9f26vOkh_0}XsB9#&$Y!#Nc)#5b6UZ^566ElIpDk#OCdbK%hrU@z zy_5u!6(o_&BhyI-a+*9&Tx0<;uBxf7%BtduD%Xt4iRGm(&+70ee0>XxOFe$AmIXJ> znmV;?N^wP5rRUXzkv^XPB$oSoYEnk}_@(yl)3fekmjrLc\n" "Language-Team: fr-FR \n" "MIME-Version: 1.0\n" @@ -226,8 +226,8 @@ msgid "Store, share and tag your favourite links" msgstr "Conservez, partagez et taggez vos liens favoris" #: ../../../index.php:74 -msgid "Recent Bookmarks" -msgstr "Signets récents" +msgid "All Bookmarks" +msgstr "Tous les signets" #: ../../../jsScuttle.php:22 #: ../../../templates/tag2tagadd.tpl.php:21 @@ -316,6 +316,7 @@ msgstr "Mot de passe oublié" #: ../../../populartags.php:49 #: ../../../templates/dynamictags.inc.php:101 #: ../../../templates/sidebar.block.common.php:9 +#: ../../../templates/sidebar.block.menu.php:68 #: ../../../templates/sidebar.block.popular.php:15 #: ../../../templates/sidebar.block.recent.php:30 #: ../../../templates/toolbar.inc.php:24 @@ -398,7 +399,7 @@ msgstr "Signets ajoutés récemment à %s" #: ../../../search.inc.php:13 #: ../../../search.inc.php:41 msgid "Search" -msgstr "Chercher" +msgstr "Chercher dans" #: ../../../search.inc.php:19 msgid "this user's bookmarks" @@ -692,12 +693,12 @@ msgstr "Suivant" msgid "Last" msgstr "Dernière" -#: ../../../templates/bookmarks.tpl.php:238 +#: ../../../templates/bookmarks.tpl.php:246 #, php-format msgid "Page %d of %d" msgstr "Page %d de %d" -#: ../../../templates/bookmarks.tpl.php:240 +#: ../../../templates/bookmarks.tpl.php:252 msgid "No bookmarks available" msgstr "Pas de signets disponibles." @@ -1004,16 +1005,29 @@ msgstr "Tags inclus dans le tag '%s'" #: ../../../templates/sidebar.block.menu.php:29 msgid "Menu Tags" -msgstr "Menu Tags" +msgstr "Tags Menu" -#: ../../../templates/sidebar.block.menu.php:60 +#: ../../../templates/sidebar.block.menu.php:62 msgid "See all your tags" msgstr "Voir tous vos tags" -#: ../../../templates/sidebar.block.menu.php:60 +#: ../../../templates/sidebar.block.menu.php:62 msgid "all your tags" msgstr "Tous vos tags" +#: ../../../templates/sidebar.block.menu.php:64 +msgid "See all tags from this user" +msgstr "Voir tous les tags de cet utilisateur" + +#: ../../../templates/sidebar.block.menu.php:64 +msgid "all tags from this user" +msgstr "tous les tags de cet utilisateur" + +#: ../../../templates/sidebar.block.menu.php:68 +#, fuzzy +msgid "See popular tags" +msgstr "Voir tous vos tags" + #: ../../../templates/sidebar.block.recent.php:15 msgid "Recent Tags" msgstr "Tags récents" @@ -1043,6 +1057,15 @@ msgstr "Derniers utilisateurs" msgid "bookmarks" msgstr "signets" +#: ../../../templates/sidebar.block.users.php:29 +#, fuzzy +msgid "See all users" +msgstr "Voir tous vos tags" + +#: ../../../templates/sidebar.block.users.php:29 +msgid "All users" +msgstr "Tous les utilisateurs" + #: ../../../templates/sidebar.block.watchstatus.php:10 msgid "Remove from Watchlist" msgstr "Enlever de la liste des consultés" @@ -1059,15 +1082,15 @@ msgstr "Editer un lien" msgid "Synonyms:" msgstr "Synonymes :" -#: ../../../templates/tag2tagadd.tpl.php:10 +#: ../../../templates/tag2tagadd.tpl.php:12 +msgid "Create new link:" +msgstr "Créer un nouveau lien" + +#: ../../../templates/tag2tagadd.tpl.php:19 #, php-format msgid "Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into the menu box" msgstr "Note : inclure un tag dans le tag '%s' (e.g. %s>countries) affiche ce tag dans la boîte de menu" -#: ../../../templates/tag2tagadd.tpl.php:13 -msgid "Create new link:" -msgstr "Créer un nouveau lien" - #: ../../../templates/tag2tagadd.tpl.php:23 #: ../../../templates/tag2tagedit.tpl.php:37 msgid "Create" @@ -1127,6 +1150,8 @@ msgstr "Profil" msgid "created in" msgstr "Créé en " +#~ msgid "Recent Bookmarks" +#~ msgstr "Signets récents" #~ msgid "plus" #~ msgstr "plus" #~ msgid "" diff --git a/locales/messages.po b/locales/messages.po index d56bb44..4184184 100644 --- a/locales/messages.po +++ b/locales/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-04-24 09:43+0200\n" +"POT-Creation-Date: 2008-04-24 19:03+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -208,7 +208,7 @@ msgid "Store, share and tag your favourite links" msgstr "" #: ../../../index.php:74 -msgid "Recent Bookmarks" +msgid "All Bookmarks" msgstr "" #: ../../../jsScuttle.php:22 ../../../templates/tag2tagadd.tpl.php:21 @@ -298,6 +298,7 @@ msgstr "" #: ../../../populartags.php:49 ../../../templates/dynamictags.inc.php:101 #: ../../../templates/sidebar.block.common.php:9 +#: ../../../templates/sidebar.block.menu.php:68 #: ../../../templates/sidebar.block.popular.php:15 #: ../../../templates/sidebar.block.recent.php:30 #: ../../../templates/toolbar.inc.php:24 @@ -672,12 +673,12 @@ msgstr "" msgid "Last" msgstr "" -#: ../../../templates/bookmarks.tpl.php:238 +#: ../../../templates/bookmarks.tpl.php:246 #, php-format msgid "Page %d of %d" msgstr "" -#: ../../../templates/bookmarks.tpl.php:240 +#: ../../../templates/bookmarks.tpl.php:252 msgid "No bookmarks available" msgstr "" @@ -1000,14 +1001,26 @@ msgstr "" msgid "Menu Tags" msgstr "" -#: ../../../templates/sidebar.block.menu.php:60 +#: ../../../templates/sidebar.block.menu.php:62 msgid "See all your tags" msgstr "" -#: ../../../templates/sidebar.block.menu.php:60 +#: ../../../templates/sidebar.block.menu.php:62 msgid "all your tags" msgstr "" +#: ../../../templates/sidebar.block.menu.php:64 +msgid "See all tags from this user" +msgstr "" + +#: ../../../templates/sidebar.block.menu.php:64 +msgid "all tags from this user" +msgstr "" + +#: ../../../templates/sidebar.block.menu.php:68 +msgid "See popular tags" +msgstr "" + #: ../../../templates/sidebar.block.recent.php:15 msgid "Recent Tags" msgstr "" @@ -1037,6 +1050,14 @@ msgstr "" msgid "bookmarks" msgstr "" +#: ../../../templates/sidebar.block.users.php:29 +msgid "See all users" +msgstr "" + +#: ../../../templates/sidebar.block.users.php:29 +msgid "All users" +msgstr "" + #: ../../../templates/sidebar.block.watchstatus.php:10 msgid "Remove from Watchlist" msgstr "" @@ -1053,17 +1074,17 @@ msgstr "" msgid "Synonyms:" msgstr "" -#: ../../../templates/tag2tagadd.tpl.php:10 +#: ../../../templates/tag2tagadd.tpl.php:12 +msgid "Create new link:" +msgstr "" + +#: ../../../templates/tag2tagadd.tpl.php:19 #, php-format msgid "" "Note: include a tag into '%s' tag (e.g. %s>countries) display the tag into " "the menu box" msgstr "" -#: ../../../templates/tag2tagadd.tpl.php:13 -msgid "Create new link:" -msgstr "" - #: ../../../templates/tag2tagadd.tpl.php:23 #: ../../../templates/tag2tagedit.tpl.php:37 msgid "Create" diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 9277083..6a778bb 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -63,12 +63,17 @@ window.onload = playerLoad;

- - / - / + + / + / - + diff --git a/templates/sidebar.block.menu.php b/templates/sidebar.block.menu.php index de4f0f7..0c7087a 100644 --- a/templates/sidebar.block.menu.php +++ b/templates/sidebar.block.menu.php @@ -57,8 +57,16 @@ if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) { getUser($userid); ?> +0): ?> +

+ +

+ + +

+ '.T_('bookmarks').')'; echo ''; } -echo '...'; +//echo '...'; ?> +