Skip to content

Commit

Permalink
#1 Updated directions and provided ref lang pack
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeach47 committed Nov 2, 2018
1 parent dc41ab0 commit 31877e4
Show file tree
Hide file tree
Showing 8 changed files with 9,188 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ Repository for theming the 'old UI' of openEQUELLA (6.5).
Uses a Javascript script in the language pack to enhance the stability of the theme.

## Quickstart ##
1. Clone repo, and run `npm install`, and `npm run zip-css`
2. Take the resulting `css.zip` and upload it into your openEQUELLA instance as the theme
3. Update the language pack to reference the `customer.js` file (TODO - explain a bit)
4. Contribute a resource that is viewable by `Everyone` that contains the `customer.js` file
5. Setup a shortcut URL that references the resource's `customer.js` via `custom-scripts`
1. Clone this repo
2. Contribute a resource that is viewable by `Everyone` that contains the `customer.js` file
3. Setup a shortcut URL that references the resource's `customer.js` via `custom-scripts`
4. Update the language pack's `resource-centre.properties` to reference the `custom-scripts` shortcut
```Java
com.tle.web.itemlist.footer.thankyou=Thank you for using <a href\="https\://equella.github.io/">openEQUELLA</a><script type="text/javascript" src="s/custom-scripts"></script>
com.tle.web.myresources.label.myresources.action=My resources<script type="text/javascript" src="s/custom-scripts"></script>
com.tle.web.sections.equella.footer.thankyou=Thank you for using <a href\="https\://equella.github.io/">openEQUELLA</a><script type="text/javascript" src="s/custom-scripts"></script>
com.tle.web.selection.home.label.home.action=Home<script type="text/javascript" src="s/custom-scripts"></script>
```
5. Run `npm install`, and `npm run zip-css`
6. Take the resulting `css.zip` and upload it as the theme

Home
![Screenshot](docs/images/oeq-home.png)
Expand Down
2,068 changes: 2,068 additions & 0 deletions language-pack-reference/admin-console.properties

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions language-pack-reference/file-manager.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#
#Tue Dec 05 05:33:13 UTC 2017
com.tle.web.applet.filemanager.action.abstractcache.progress=Downloading {0}
com.tle.web.applet.filemanager.action.delete.confirm.multiple.message=Are you sure you want to delete these {0} items?
com.tle.web.applet.filemanager.action.delete.confirm.multiple.title=Confirm multiple file delete
com.tle.web.applet.filemanager.action.delete.confirm.singlefile.message=Are you sure you want to delete ''{0}''?
com.tle.web.applet.filemanager.action.delete.confirm.singlefile.title=Confirm file delete
com.tle.web.applet.filemanager.action.delete.confirm.singlefolder.message=Are you sure you want to delete the folder ''{0}'' and all of its contents?
com.tle.web.applet.filemanager.action.delete.confirm.singlefolder.title=Confirm folder delete
com.tle.web.applet.filemanager.action.delete.desc=Delete the currently selected file(s)
com.tle.web.applet.filemanager.action.delete.name=Delete
com.tle.web.applet.filemanager.action.delete.progress.deleting=Deleting ''{0}''
com.tle.web.applet.filemanager.action.delete.progress.unknown=Preparing for deletion
com.tle.web.applet.filemanager.action.download.desc=Download the selected files to your local computer
com.tle.web.applet.filemanager.action.download.error.message=Could not download file for viewing or editing
com.tle.web.applet.filemanager.action.download.error.title=Error downloading file
com.tle.web.applet.filemanager.action.download.name=Download files
com.tle.web.applet.filemanager.action.download.notdir.message=You must choose an existing directory for downloading to
com.tle.web.applet.filemanager.action.download.notdir.title=Directory not selected
com.tle.web.applet.filemanager.action.download.overwrite.msg=Files or folders with the same name already exists. Do you want to replace them?
com.tle.web.applet.filemanager.action.download.progress.downloading=Downloading {0}
com.tle.web.applet.filemanager.action.download.progress.unknown=Preparing to download selected files
com.tle.web.applet.filemanager.action.edit.desc=Open the currently selected file for editing
com.tle.web.applet.filemanager.action.edit.error.message=Could not edit the file. Maybe an application has not been\nregistered to edit files of this type. Try to 'open' the file\ninstead
com.tle.web.applet.filemanager.action.edit.error.title=Error editing file
com.tle.web.applet.filemanager.action.edit.name=Edit
com.tle.web.applet.filemanager.action.extract.desc=Extract the selected archive
com.tle.web.applet.filemanager.action.extract.name=Extract archive
com.tle.web.applet.filemanager.action.extract.progress=Extracting ''{0}''
com.tle.web.applet.filemanager.action.markasres.altname=Remove from resource summary
com.tle.web.applet.filemanager.action.markasres.desc=Marks or unmarks the selected file(s) as resources that should be displayed on the item summary page.
com.tle.web.applet.filemanager.action.markasres.name=Show in resource summary
com.tle.web.applet.filemanager.action.markasres.progress.marking=Marking ''{0}''
com.tle.web.applet.filemanager.action.markasres.progress.unknown=Preparing to mark as resources
com.tle.web.applet.filemanager.action.newfolder.desc=Create a new folder in the current directory
com.tle.web.applet.filemanager.action.newfolder.dialog.cancelbutton=Cancel
com.tle.web.applet.filemanager.action.newfolder.dialog.duplicate=A file or folder with this name already exists. Please specify a different name.
com.tle.web.applet.filemanager.action.newfolder.dialog.empty=The name you have specified is invalid. It must contain more than whitespace.
com.tle.web.applet.filemanager.action.newfolder.dialog.instruction=Provide a name for the new folder\:
com.tle.web.applet.filemanager.action.newfolder.dialog.okbutton=Create folder
com.tle.web.applet.filemanager.action.newfolder.dialog.popuptitle=Error creating folder
com.tle.web.applet.filemanager.action.newfolder.dialog.title=New folder
com.tle.web.applet.filemanager.action.newfolder.name=New folder
com.tle.web.applet.filemanager.action.open.desc=Open the currently selected file for viewing
com.tle.web.applet.filemanager.action.open.error.message=Could not open the file. Maybe an application has not been\nregistered to open files of this type. Try to 'edit' the file\ninstead
com.tle.web.applet.filemanager.action.open.error.title=Error opening file
com.tle.web.applet.filemanager.action.open.name=Open
com.tle.web.applet.filemanager.action.rename.desc=Rename the currently selected file
com.tle.web.applet.filemanager.action.rename.dialog.cancelbutton=Cancel
com.tle.web.applet.filemanager.action.rename.dialog.duplicate=A file or folder with this name already exists. Please specify a different name.
com.tle.web.applet.filemanager.action.rename.dialog.empty=The name you have specified is invalid. It must contain more than whitespace.
com.tle.web.applet.filemanager.action.rename.dialog.instruction=Rename ''{0}'' to\:
com.tle.web.applet.filemanager.action.rename.dialog.okbutton=Rename
com.tle.web.applet.filemanager.action.rename.dialog.popuptitle=Error renaming file or folder
com.tle.web.applet.filemanager.action.rename.dialog.title=Rename
com.tle.web.applet.filemanager.action.rename.failure=Rename failed due to an error on the server, or attempted to rename to a banned file extension.
com.tle.web.applet.filemanager.action.rename.name=Rename
com.tle.web.applet.filemanager.action.sync.error.message=Could not upload file to server for synchronisation
com.tle.web.applet.filemanager.action.sync.error.title=Error synchronising file
com.tle.web.applet.filemanager.action.sync.name=Synchronise now
com.tle.web.applet.filemanager.action.sync.progress.syncing=Synchronising {0}
com.tle.web.applet.filemanager.action.sync.progress.unknown=Preparing to synchronise local changes
com.tle.web.applet.filemanager.action.sync.select.docancel=Cancel
com.tle.web.applet.filemanager.action.sync.select.dosync=Synchronise now
com.tle.web.applet.filemanager.action.sync.select.message=There are {0} files that have been edited locally on your computer. Please select which files you wish to synchronise with the item on the server.
com.tle.web.applet.filemanager.action.sync.select.title=Select changes to synchronise
com.tle.web.applet.filemanager.action.upload.desc=Upload files from your local computer to the currently shown folder of the item
com.tle.web.applet.filemanager.action.upload.error.message=Could not upload the file(s) to the server.
com.tle.web.applet.filemanager.action.upload.error.title=Error uploading file
com.tle.web.applet.filemanager.action.upload.name=Upload files
com.tle.web.applet.filemanager.action.upload.overwrite.msg=Files or folders with the same name already exist. Do you want to replace them?
com.tle.web.applet.filemanager.action.upload.progress.unknown=Preparing to upload selected files
com.tle.web.applet.filemanager.action.upload.progress.uploading=Uploading {0}
com.tle.web.applet.filemanager.caching.notcached=File is not locally cached\: {0}
com.tle.web.applet.filemanager.cell.modified=Modified\:
com.tle.web.applet.filemanager.cell.size=Size\:
com.tle.web.applet.filemanager.common.overwrite.no=Cancel
com.tle.web.applet.filemanager.common.overwrite.title=Replace files?
com.tle.web.applet.filemanager.common.overwrite.yes=Replace
com.tle.web.applet.filemanager.dragaction.copy.name=Copy
com.tle.web.applet.filemanager.dragaction.move.name=Move
com.tle.web.applet.filemanager.error.filewrite=Error writing file
com.tle.web.applet.filemanager.rootpath=Resource folder
com.tle.web.applet.filemanager.sync.notice=Unsynchronised changes detected to {0} files
com.tle.web.applet.filemanager.title=EQUELLA File Manager
com.tle.web.applet.filemanager.updir=Up
7 changes: 7 additions & 0 deletions language-pack-reference/inplaceeditor-applet.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
#Tue Dec 05 05:33:13 UTC 2017
com.tle.applet.inplaceeditor.button.cancel=Ignore changes
com.tle.applet.inplaceeditor.button.save=Upload changes
com.tle.applet.inplaceeditor.downloading=Downloading {0}
com.tle.applet.inplaceeditor.label.downloading=Downloading file
com.tle.applet.inplaceeditor.label.uploading=Uploading file
Binary file not shown.
4 changes: 4 additions & 0 deletions language-pack-reference/locale.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#Thu Sep 20 21:59:08 UTC 2018
variant=
country=
language=
Loading

0 comments on commit 31877e4

Please sign in to comment.