From 7d3ed27eb4e3354d94eead25be05e7256a6f58c1 Mon Sep 17 00:00:00 2001
From: Colin Kuskie
Date: Thu, 16 Jun 2005 04:37:53 +0000
Subject: [PATCH] internationalize directory index label
---
lib/WebGUI/Asset.pm | 2 +-
lib/WebGUI/i18n/English/Asset.pm | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm
index 7577ec667..433630796 100644
--- a/lib/WebGUI/Asset.pm
+++ b/lib/WebGUI/Asset.pm
@@ -3119,7 +3119,7 @@ sub www_export {
-value=>[1],
);
$f->text(
- -label=>"Directory Index",
+ -label=>WebGUI::International::get("directory index","Asset"),
-name=>"index",
-value=>"index.html"
);
diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm
index 9ee211392..988ae4128 100644
--- a/lib/WebGUI/i18n/English/Asset.pm
+++ b/lib/WebGUI/i18n/English/Asset.pm
@@ -605,6 +605,7 @@ each asset under the tab "Meta" in the asset properties.
lastUpdated =>1092748557,
context => q|asset property|
},
+
'asset list title' => {
lastUpdated => 1112220921,
message => q|Asset, List of Available|
@@ -614,6 +615,12 @@ each asset under the tab "Meta" in the asset properties.
lastUpdated => 1112291919,
message => q|These Assets are available for use at your site:|
},
+
+ 'directory index' => {
+ lastUpdated => 1118896675,
+ message => q|Directory Index|,
+ },
+
};
1;