Author: jflesch
Date: 2007-01-05 18:30:56 +0000 (Fri, 05 Jan 2007)
New Revision: 11573
Modified:
trunk/apps/Thaw/src/thaw/i18n/thaw.properties
trunk/apps/Thaw/src/thaw/plugins/index/IndexRoot.java
Log:
very little change in the translation file
Modified: trunk/apps/Thaw/src/thaw/i18n/thaw.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw.properties 2007-01-05 13:44:58 UTC
(rev 11572)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw.properties 2007-01-05 18:30:56 UTC
(rev 11573)
@@ -269,8 +269,8 @@
thaw.plugin.index.importExportPlugin=Index Import / Export
thaw.plugin.index.export=Export
thaw.plugin.index.import=Import
-thaw.plugin.index.export.indexKeys=Index keys (+ folders)
-thaw.plugin.index.export.all=Indexes keys + file lists + link lists
+thaw.plugin.index.export.indexKeys=Index keys + folders
+thaw.plugin.index.export.all=Indexes keys + folders + file lists + link lists
thaw.plugin.index.importedFolderName=Imported indexes
Modified: trunk/apps/Thaw/src/thaw/plugins/index/IndexRoot.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/IndexRoot.java 2007-01-05
13:44:58 UTC (rev 11572)
+++ trunk/apps/Thaw/src/thaw/plugins/index/IndexRoot.java 2007-01-05
18:30:56 UTC (rev 11573)
@@ -27,6 +27,13 @@
if (!areChildrenLoaded())
loadChildren();
+ /* TODO : Don't use getDirectChild()
+ * Use the database :
+ * ask '[importedFolderName]%' ORDER BY name DESC
LIMIT 1
+ * and pray there is no importedFolder n?10 or more,
+ * or that the database will return the good one :p
+ */
+
idx = 0;
name = I18n.getMessage("thaw.plugin.index.importedFolderName");
node = getDirectChild(name);