root/main/trunk/greenstone3/web/WEB-INF/classes/GS2Construct.properties @ 31662

Revision 31537, 2.5 KB (checked in by ak19, 3 years ago)

First commit for getting user comments working for GS3. It all works, but there's debugging statements still and haven't cleaned up commented out code. After that, would like to make POST rather than GET AJAX calls, so more refactoring required. 1. config_format.xsl is just minor spelling corrections. 2. header.xsl has a new function generateLogoutURL. 3. document.xsl imports and calls new usercomments.xsl to set up the user comments area. 4. New usercomments.js is imported by new usercomments.xsl, and sets up the interaction of the usercomments area. 5. javascript-global-functions.js now contains setMetadataArray and getMetadataArray functions to parallel what GS2 used in gsajaxapi.js, but for GS3 need to go through GS2Construct.processModifyMetadata() service in java code. 5. GS2Construct.java does different checking for users adding user comments versus users doing document editing. For the latter, the user needs to have editing permissions for the document. But any user is allowed to add comments on any accessible document. But ModifyMetadata? should not allow any other metadata to be modified other than meta fields. 6. New language strings for usercomment area and GS2Construct errors in the 2 changed properties files.

  • Property svn:keywords set to Author Date Id Revision
Line 
1#the params used by the services
2param.collection=Collection
3param.creator=Creator's email address
4param.collTitle=Collection title
5param.collAbout=Collection description
6param.buildType=Building type
7param.buildType.mg=MG
8param.buildType.mgpp=MGPP
9
10#service names and submit buttons
11DeleteCollection.name=Delete
12DeleteCollection.description=Delete a collection
13DeleteCollection.submit=Delete
14NewCollection.name=Create
15NewCollection.description=Create a new collection
16NewCollection.submit=Create
17ImportCollection.name=Import
18ImportCollection.description=Import a collection: take the original documents and convert them to Greenstone internal format
19ImportCollection.submit=Import
20BuildCollection.name=Build
21BuildCollection.description=Build a collection: create the indexes and browsable hierarchies.
22BuildCollection.submit=Build
23ActivateCollection.name=Activate
24ActivateCollection.description=Activate a collection: Replace the old built collection with the new version
25ActivateCollection.submit=Activate
26ReloadCollection.name=Reload
27ReloadCollection.description=Reload a collection into the library
28ReloadCollection.submit=Reload
29
30#error messages used by each service - {0} is the collection name
31#DeleteCollection######
32delete.configure_error=Couldn't deactivate {0} from the library.
33delete.delete_error=Couldn't delete {0}.
34delete.success=Collection {0} deleted successfully.
35delete.exists_error=Collection {0} did not exist and couldn't be deleted.
36
37#NewCollection######
38new.success=Collection {0} created successfully.
39
40#ImportCollection#####
41import.success=Collection {0} imported successfully.
42
43#BuildCollection#####
44build.success=Collection {0} built successfully.
45
46#ActivateCollection#####
47activate.build_dir_error=Collection {0} had no building directory: couldn't be activated.
48activate.build_config_error=Collection {0} had no building config file: couldn't be activated.
49activate.rm_index_error=Couldn't remove the index directory.
50activate.rename_building_error=Couldn't rename building to index.
51activate.success=Collection {0} activated successfully.
52
53#ReloadCollection#####
54reload.success=Collection {0} reloaded successfully.
55reload.activate_error=Couldn't activate collection {0} in the library.
56
57#general stuff
58general.process_id_error=Invalid process id.
59general.configure_constructor_error=Couldn't configure the collection constructor.
60general.process_start=Starting process...
61general.no_valid_docid_error=Both oid and docids are null. Could happen if adding user comments attempted to set non-usercomment meta.
62
63
64
65
66
67
Note: See TracBrowser for help on using the browser.