templates: rename `Last change' column in hgwebdir repository list.
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>
Sun, 24 Jan 2010 20:51:53 +0100
changeset 10301 56b50194617f
parent 10300 c437745f50ec
child 10302 00099580ca35
templates: rename `Last change' column in hgwebdir repository list. This patch changes column headers in the templates that previously said `Last change' to `Last modified'. Neither code nor functionality are changed other than that. For some time now, I have been annoyed by the fact the `Last change' column didn't list the age of the youngest changeset in the repository, or at least tip. It just occurred to me that this is because the wording is slightly misleading; what the column in fact lists is when the repository was last *modified*, that is, when changesets was last added or removed from it. The word `change' can be understood as referring to the changeset itself. Using `changed' would be ever so slightly less amigous. However, the standard nomenclature in this case is `modification date' and `Last modified', which is incidentally entirely unambigous. Hence, `Last modified' is the wording used.
mercurial/templates/gitweb/index.tmpl
mercurial/templates/monoblue/index.tmpl
mercurial/templates/paper/index.tmpl
mercurial/templates/spartan/index.tmpl
tests/test-hgwebdir.out
--- a/mercurial/templates/gitweb/index.tmpl	Thu Dec 10 17:21:31 2009 +0900
+++ b/mercurial/templates/gitweb/index.tmpl	Sun Jan 24 20:51:53 2010 +0100
@@ -13,7 +13,7 @@
         <td><a href="?sort={sort_name}">Name</a></td>
         <td><a href="?sort={sort_description}">Description</a></td>
         <td><a href="?sort={sort_contact}">Contact</a></td>
-        <td><a href="?sort={sort_lastchange}">Last change</a></td>
+        <td><a href="?sort={sort_lastchange}">Last modified</a></td>
         <td>&nbsp;</td>
         <td>&nbsp;</td>
     </tr>
--- a/mercurial/templates/monoblue/index.tmpl	Thu Dec 10 17:21:31 2009 +0900
+++ b/mercurial/templates/monoblue/index.tmpl	Sun Jan 24 20:51:53 2010 +0100
@@ -15,7 +15,7 @@
             <td><a href="?sort={sort_name}">Name</a></td>
             <td><a href="?sort={sort_description}">Description</a></td>
             <td><a href="?sort={sort_contact}">Contact</a></td>
-            <td><a href="?sort={sort_lastchange}">Last change</a></td>
+            <td><a href="?sort={sort_lastchange}">Last modified</a></td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
         </tr>
--- a/mercurial/templates/paper/index.tmpl	Thu Dec 10 17:21:31 2009 +0900
+++ b/mercurial/templates/paper/index.tmpl	Sun Jan 24 20:51:53 2010 +0100
@@ -16,7 +16,7 @@
         <th><a href="?sort={sort_name}">Name</a></th>
         <th><a href="?sort={sort_description}">Description</a></th>
         <th><a href="?sort={sort_contact}">Contact</a></th>
-        <th><a href="?sort={sort_lastchange}">Last change</a></th>
+        <th><a href="?sort={sort_lastchange}">Last modified</a></th>
         <th>&nbsp;</th>
     </tr>
     {entries%indexentry}
--- a/mercurial/templates/spartan/index.tmpl	Thu Dec 10 17:21:31 2009 +0900
+++ b/mercurial/templates/spartan/index.tmpl	Sun Jan 24 20:51:53 2010 +0100
@@ -10,7 +10,7 @@
         <td><a href="?sort={sort_name}">Name</a></td>
         <td><a href="?sort={sort_description}">Description</a></td>
         <td><a href="?sort={sort_contact}">Contact</a></td>
-        <td><a href="?sort={sort_lastchange}">Last change</a></td>
+        <td><a href="?sort={sort_lastchange}">Last modified</a></td>
         <td>&nbsp;</td>
     </tr>
     {entries%indexentry}
--- a/tests/test-hgwebdir.out	Thu Dec 10 17:21:31 2009 +0900
+++ b/tests/test-hgwebdir.out	Sun Jan 24 20:51:53 2010 +0100
@@ -67,7 +67,7 @@
         <th><a href="?sort=name">Name</a></th>
         <th><a href="?sort=description">Description</a></th>
         <th><a href="?sort=contact">Contact</a></th>
-        <th><a href="?sort=lastchange">Last change</a></th>
+        <th><a href="?sort=lastchange">Last modified</a></th>
         <th>&nbsp;</th>
     </tr>
     
@@ -203,7 +203,7 @@
         <th><a href="?sort=name">Name</a></th>
         <th><a href="?sort=description">Description</a></th>
         <th><a href="?sort=contact">Contact</a></th>
-        <th><a href="?sort=lastchange">Last change</a></th>
+        <th><a href="?sort=lastchange">Last modified</a></th>
         <th>&nbsp;</th>
     </tr>