Extract file/directory not found strings
Extract file/directory not found strings

--- a/locale/gitphp.pot
+++ b/locale/gitphp.pot
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: GitPHP 0.2.7\n"
 "Report-Msgid-Bugs-To: xiphux@gmail.com\n"
-"POT-Creation-Date: 2012-07-29 00:24-0500\n"
+"POT-Creation-Date: 2012-10-10 20:32-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -35,7 +35,7 @@
 #: templates/treelist.tpl
 #: templates/searchfiles.tpl
 #: templates/blob.tpl
-#: include/controller/Controller_History.class.php:53
+#: include/controller/Controller_History.class.php:56
 msgid "history"
 msgstr ""
 
@@ -54,10 +54,10 @@
 msgstr ""
 
 # Used as link to download a copy of the files in a given commit
-#: templates/jsconst.tpl
 #: templates/search.tpl
 #: templates/commit.tpl
 #: templates/taglist.tpl
+#: templates/main.tpl
 #: templates/treelist.tpl
 #: templates/projectlist.tpl
 #: templates/shortloglist.tpl
@@ -125,22 +125,33 @@
 
 # Used as a link to the first page in a list of results
 #: templates/search.tpl
+#: templates/tags.tpl
+#: templates/heads.tpl
 #: templates/searchfiles.tpl
+#: templates/history.tpl
 msgid "first"
 msgstr ""
 
 # Used as a link to the previous page in a list of results
 #: templates/search.tpl
+#: templates/tags.tpl
+#: templates/heads.tpl
 #: templates/searchfiles.tpl
 #: templates/log.tpl
+#: templates/history.tpl
 #: templates/shortlog.tpl
 msgid "prev"
 msgstr ""
 
 # Used as a link to the next page in a list of results
 #: templates/search.tpl
+#: templates/tags.tpl
+#: templates/headlist.tpl
+#: templates/taglist.tpl
+#: templates/heads.tpl
 #: templates/searchfiles.tpl
 #: templates/log.tpl
+#: templates/history.tpl
 #: templates/shortlog.tpl
 #: templates/shortloglist.tpl
 msgid "next"
@@ -247,6 +258,7 @@
 
 # Used as link to diff this file version with the previous version
 #: templates/commit.tpl
+#: templates/history.tpl
 msgid "diff"
 msgstr ""
 
@@ -296,7 +308,7 @@
 # Link back to the list of projects
 #: templates/main.tpl
 #: templates/projectbase.tpl
-#: include/controller/ControllerBase.class.php:467
+#: include/controller/ControllerBase.class.php:487
 #: include/controller/Controller_ProjectList.class.php:76
 msgid "projects"
 msgstr ""
@@ -342,13 +354,13 @@
 
 # Used as link to and title for page showing all tags in a project
 #: templates/title.tpl
-#: include/controller/Controller_Tags.class.php:42
+#: include/controller/Controller_Tags.class.php:53
 msgid "tags"
 msgstr ""
 
 # Used as link to and title for page showing all heads in a project
 #: templates/title.tpl
-#: include/controller/Controller_Heads.class.php:42
+#: include/controller/Controller_Heads.class.php:53
 msgid "heads"
 msgstr ""
 
@@ -426,7 +438,7 @@
 msgstr ""
 
 # Error message when user tries to do an action that requires a project but a project isn't specified
-#: include/controller/Controller_Message.class.php:140
+#: include/controller/Controller_Message.class.php:142
 msgid "Project is required"
 msgstr ""
 
@@ -443,7 +455,7 @@
 
 # Error message when user tries to access a project that doesn't exist
 # %1$s: the project the user tried to access
-#: include/controller/Controller_Message.class.php:134
+#: include/controller/Controller_Message.class.php:136
 #, php-format
 msgid "Invalid project %1$s"
 msgstr ""
@@ -460,18 +472,18 @@
 msgstr ""
 
 # Error message when a user tries to search but searching has been disabled in the config
-#: include/controller/Controller_Message.class.php:151
+#: include/controller/Controller_Message.class.php:153
 msgid "Search has been disabled"
 msgstr ""
 
 # Error message when a user tries to do a file search but searching files has been disabled in the config
-#: include/controller/Controller_Message.class.php:147
+#: include/controller/Controller_Message.class.php:149
 msgid "File search has been disabled"
 msgstr ""
 
 # Error message when a user's search query is too short
 # %1$d: the minimum number of characters
-#: include/controller/Controller_Message.class.php:164
+#: include/controller/Controller_Message.class.php:166
 #, php-format
 msgid "You must enter search text of at least %1$d character"
 msgid_plural "You must enter search text of at least %1$d characters"
@@ -479,7 +491,7 @@
 msgstr[1] ""
 
 # Error message when the user enters an unsupported search type
-#: include/controller/Controller_Message.class.php:158
+#: include/controller/Controller_Message.class.php:160
 msgid "Invalid search type"
 msgstr ""
 
@@ -508,49 +520,49 @@
 
 # Error message when user specifies a path for a project root or project, but the path given isn't a directory
 # %1$s: the path the user specified
-#: include/controller/Controller_Message.class.php:194
+#: include/controller/Controller_Message.class.php:196
 #, php-format
 msgid "%1$s is not a directory"
 msgstr ""
 
 # Error message when a path specified in the config is not a git repository
 # %1$s: the specified path
-#: include/controller/Controller_Message.class.php:206
+#: include/controller/Controller_Message.class.php:208
 #, php-format
 msgid "%1$s is not a git repository"
 msgstr ""
 
 # Error message when a path specified is using '..' to break out of the project root (a hack attempt)
 # %1$s: The specified path
-#: include/controller/Controller_Message.class.php:218
+#: include/controller/Controller_Message.class.php:220
 #, php-format
 msgid "%1$s is attempting directory traversal"
 msgstr ""
 
 # Error message when a path specified is outside of the project root
 # %1$s: The specified path
-#: include/controller/Controller_Message.class.php:224
+#: include/controller/Controller_Message.class.php:226
 #, php-format
 msgid "%1$s is outside of the projectroot"
 msgstr ""
 
 # Error message when user tries to specify a file with a list of the projects, but it isn't a file
 # %1$s: the path the user specified
-#: include/controller/Controller_Message.class.php:200
+#: include/controller/Controller_Message.class.php:202
 #, php-format
 msgid "%1$s is not a file"
 msgstr ""
 
 # Error message when user tries to specify a file with a list of the projects, but the system can't read the file
 # %1$s: the file the user specified
-#: include/controller/Controller_Message.class.php:212
+#: include/controller/Controller_Message.class.php:214
 #, php-format
 msgid "Failed to open project list file %1$s"
 msgstr ""
 
 # Error message when a hash specified in a URL isn't a valid git hash
 # %1$s: the hash entered
-#: include/controller/Controller_Message.class.php:170
+#: include/controller/Controller_Message.class.php:172
 #, php-format
 msgid "Invalid hash %1$s"
 msgstr ""
@@ -625,7 +637,7 @@
 
 # Error message when user hasn't defined a project root in the config
 # "projectroot" refers to a root directory where the user's git projects are stored
-#: include/controller/Controller_Message.class.php:182
+#: include/controller/Controller_Message.class.php:184
 msgid "A projectroot must be set in the config"
 msgstr ""
 
@@ -672,13 +684,13 @@
 msgstr ""
 
 # Used as an alternate text on javascript "loading" images
-#: templates/jsconst.tpl
+#: templates/main.tpl
 #: templates/projectlist.tpl
 msgid "Loading…"
 msgstr ""
 
 # Used as a loading message while blame data is being pulled from the server
-#: templates/jsconst.tpl
+#: templates/main.tpl
 msgid "Loading blame data…"
 msgstr ""
 
@@ -707,14 +719,14 @@
 
 # Used as an error message when memcache is turned
 # on without the appropriate PHP extension installed
-#: include/controller/Controller_Message.class.php:188
+#: include/controller/Controller_Message.class.php:190
 msgid ""
 "The Memcached or Memcache PHP extension is required for Memcache support"
 msgstr ""
 
 # Message when searching the project list, and nothing is found
 # %1: the search string entered
-#: templates/jsconst.tpl
+#: templates/main.tpl
 #: templates/projectlist.tpl
 msgid "No matches found for \"%1\""
 msgstr ""
@@ -727,7 +739,7 @@
 # Error message displayed when the git executable isn't found or doesn't work
 # %1$s: the git executable the system is trying to run
 # %2$s: the config value the user needs to set to specify the correct path
-#: include/controller/Controller_Message.class.php:176
+#: include/controller/Controller_Message.class.php:178
 #, php-format
 msgid ""
 "Could not run the git executable \"%1$s\".  You may need to set the \"%2$s\" "
@@ -762,19 +774,18 @@
 # You want this in your native language so speakers of your language
 # will recognize it.  For example, a french translation would translate
 # this as "Français".
-#: include/Resource.class.php:115
+#: include/Resource.class.php:130
 msgid "English"
 msgstr ""
 
 # Message when the config file failed to load
 # %1$s: the config file that we tried to load
-#: include/controller/Controller_Message.class.php:230
+#: include/controller/Controller_Message.class.php:232
 #, php-format
 msgid "Could not load config file %1$s"
 msgstr ""
 
 # Used as a link to and title of the graph page
-#: templates/nav.tpl
 #: include/controller/Controller_Graph.class.php:56
 msgid "graph"
 msgstr ""
@@ -792,8 +803,22 @@
 # Message displayed when an abbreviated hash is given
 # but it is ambiguous because there are multiple hashes
 # in the system with this abbreviation
-#: include/controller/Controller_Message.class.php:236
+#: include/controller/Controller_Message.class.php:238
 #, php-format
 msgid "Ambiguous abbreviated hash %1$s"
 msgstr ""
 
+# Message displayed when a directory that doesn't exist
+# is specified
+#: include/controller/Controller_Message.class.php:245
+#, php-format
+msgid "Directory %1$s not found"
+msgstr ""
+
+# Message displayed when a file that doesn't exist is
+# specified
+#: include/controller/Controller_Message.class.php:252
+#, php-format
+msgid "File %1$s not found"
+msgstr ""
+

comments