Author: sshyrkov
Date: Fri Sep  7 10:05:39 2007
New Revision: 18386

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18386&repname=
=3Djahia
Log:
VOD-47: No "Source" Link on Linked Copies =

http://www.jahia.net/jira/browse/VOD-47
Resolution: missing message resources added to "today at" and "yestersay at=
" labels

Modified:
    branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources.properties
    branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_de.properties
    branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_en.properties
    branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_fr.properties
    branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/webapp/jsp/jahia/engin=
es/importexport/dispPickers.jsp

Modified: branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaE=
nginesResources.properties
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-VODAFO=
NE-5-0-2-SP%20BRANCH/core/src/conf/java/JahiaEnginesResources.properties&re=
v=3D18386&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources.properties (original)
+++ branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources.properties Fri Sep  7 10:05:39 2007
@@ -1489,6 +1489,8 @@
 org.jahia.engines.importexport.contentpick.resultmessage.label =3D please =
specify one or more keywords
 org.jahia.engines.importexport.contentpick.postfix.author.label =3D is
 org.jahia.engines.importexport.contentpick.postfix.keywords.label =3D are =
the following
+org.jahia.engines.importexport.contentpick.today.at =3D today at
+org.jahia.engines.importexport.contentpick.yesterday.at =3D yesterday at
 org.jahia.engines.importexport.contentpick.welcome.label1 =3D I search a c=
ontent object of type
 org.jahia.engines.importexport.contentpick.welcome.label2 =3D with
 =


Modified: branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaE=
nginesResources_de.properties
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-VODAFO=
NE-5-0-2-SP%20BRANCH/core/src/conf/java/JahiaEnginesResources_de.properties=
&rev=3D18386&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_de.properties (original)
+++ branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_de.properties Fri Sep  7 10:05:39 2007
@@ -1395,6 +1395,8 @@
 org.jahia.engines.importexport.contentpick.resultmessage.label =3D Geben S=
ie mindestens ein Schl\u00FCsselwort ein.
 org.jahia.engines.importexport.contentpick.postfix.author.label =3D ist
 org.jahia.engines.importexport.contentpick.postfix.keywords.label =3D sind=
 die folgenden
+org.jahia.engines.importexport.contentpick.today.at =3D Heute um
+org.jahia.engines.importexport.contentpick.yesterday.at =3D Gestern um
 org.jahia.engines.importexport.contentpick.welcome.label1 =3D Ich suche na=
ch einem Content Objekt vom Typ
 org.jahia.engines.importexport.contentpick.welcome.label2 =3D mit
 =


Modified: branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaE=
nginesResources_en.properties
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-VODAFO=
NE-5-0-2-SP%20BRANCH/core/src/conf/java/JahiaEnginesResources_en.properties=
&rev=3D18386&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_en.properties (original)
+++ branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_en.properties Fri Sep  7 10:05:39 2007
@@ -1489,6 +1489,8 @@
 org.jahia.engines.importexport.contentpick.resultmessage.label =3D please =
specify one or more keywords
 org.jahia.engines.importexport.contentpick.postfix.author.label =3D is
 org.jahia.engines.importexport.contentpick.postfix.keywords.label =3D are =
the following
+org.jahia.engines.importexport.contentpick.today.at =3D today at
+org.jahia.engines.importexport.contentpick.yesterday.at =3D yesterday at
 org.jahia.engines.importexport.contentpick.welcome.label1 =3D I search a c=
ontent object of type
 org.jahia.engines.importexport.contentpick.welcome.label2 =3D with
 =


Modified: branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaE=
nginesResources_fr.properties
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-VODAFO=
NE-5-0-2-SP%20BRANCH/core/src/conf/java/JahiaEnginesResources_fr.properties=
&rev=3D18386&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_fr.properties (original)
+++ branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/conf/java/JahiaEngines=
Resources_fr.properties Fri Sep  7 10:05:39 2007
@@ -434,6 +434,8 @@
 org.jahia.engines.importexport.contentpick.searchsite.all.label =3D sur to=
us les sites
 org.jahia.engines.importexport.contentpick.searchsite.allpos.label =3D sur
 org.jahia.engines.importexport.contentpick.searchsite.onesite.label =3D su=
r le site
+org.jahia.engines.importexport.contentpick.today.at =3D aujourd'hui =C3=A0
+org.jahia.engines.importexport.contentpick.yesterday.at =3D hier =C3=A0
 org.jahia.engines.importexport.contentpick.welcome.label1 =3D Je cherche u=
n objet de contenu de type
 org.jahia.engines.importexport.contentpick.welcome.label2 =3D avec
 org.jahia.engines.importexport.export.Differential.label =3D Diff=C3=A9ren=
tiel

Modified: branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/webapp/jsp/jahia=
/engines/importexport/dispPickers.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-VODAFO=
NE-5-0-2-SP%20BRANCH/core/src/webapp/jsp/jahia/engines/importexport/dispPic=
kers.jsp&rev=3D18386&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/webapp/jsp/jahia/engin=
es/importexport/dispPickers.jsp (original)
+++ branches/JAHIA-VODAFONE-5-0-2-SP BRANCH/core/src/webapp/jsp/jahia/engin=
es/importexport/dispPickers.jsp Fri Sep  7 10:05:39 2007
@@ -218,7 +218,7 @@
      * @param l
      * @return a date string
      */
-    public String printFriendlyDate(String date, Locale l) {
+    public String printFriendlyDate(String date, Locale l, ResourceBundle =
enginebundle) {
         String s =3D "NA";
         long d =3D 0;
 =

@@ -260,10 +260,9 @@
                 Calendar c =3D Calendar.getInstance(l);
                 c.setTime(new Date(d));
                 if (c.after(now)) {
-                    //TODO ressource bundle
-                    return "aujourd'hui a " + sd.format(new Date=
(d));
+                    return getRessource(enginebundle, ".today.at") + "&nbs=
p;" + sd.format(new Date(d));
                 } else if (c.after(hier) && c.before(now)) {
-                    return "hier a " + sd.format(new Date(d));
+                    return getRessource(enginebundle, ".yesterday.at") + "=
 " + sd.format(new Date(d));
                 }
 =

                 s =3D df.format(new Date(d));
@@ -490,7 +489,7 @@
                         %>
                         <tr style=3D"background-color:<%=3Dcolor%>" onMous=
eOver=3D"this.style.backgroundColor=3D'#FFFFEE'"
                             onMouseOut=3D"this.style.backgroundColor=3D'<%=
=3Dcolor%>'">
-                            <td><%=3Dinfo%></td><td><%=3DprintFriendlyDate=
(lastpublishingdate,request.getLocale())%></td>
+                            <td><%=3Dinfo%></td><td><%=3DprintFriendlyDate=
(lastpublishingdate,request.getLocale(), enginebundle)%></td>
                         </tr>
                         <%
                                 count++;

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to