Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 739 of 807  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  68601   Wed Apr 12 13:52:34 2017 Idea Francois CloutierFrancois@fcmail.caCommentWindows3.1.2-7933898Re: rename menu commands

Somehow, I've missed to see that option :)

Thanks :)

Andreas Luedeke wrote:

Hm, maybe my question is silly, but why don't you just use the "Duplicate" command instead of renaming and misusing "Copy to"??

Here is the relevant excerpt from the documentation (https://midas.psi.ch/elog/config.html#general):

Menu commands = <list>
This option specifies the menu commands displayed on top of a single logbook page. For certain installations, it can be useful to disable some commands. Following commands are possible:

  • New - Enter new logbook entry
  • Edit - Edit current logbook entry
  • Delete - Delete current logbook entry
  • Reply - Submit a reply to current entry
  • Duplicate - Duplicate the current entry with the possibility to change some values
  • [...]
  • Copy to - Copy entry to other logbook
  • [...]

The commands are always in English, independent of the language = ... setting, and are automatically translated into the specified language.
If this option is not present, following default is used:

Menu commands = List, New, Edit, Delete, Reply, Duplicate, Find, Config, Help
Francois Cloutier wrote:

Hi !

I do have an setup were I would like to rename the menu command but keeping their fonction. Namely, I would like to rename the "copy to" button to "Duplicate" since thats the option I would like to put in place ( Copy to = Same logbook only).

I tried to do so with css but it is not possible since the button doesn't have a specific id... Would you have another solution ? 

Thanks for your help !

 

 

  1431   Sat Oct 8 05:08:40 2005 Reply Exaos LeeExaos.Lee@gmail.comQuestion  Re: ELOG repository moved from CVS to Subversion
Hi, Stefan,
I cannot checkout due to the following error:
------------
$ svn checkout svn+ssh://svn@savannah.psi.ch:/afs/psi.ch/project/meg/svn/elog/trunk elog
ssh: savannah.psi.ch:: Name or service not known
svn: Connection closed unexpectedly
------------

It seems that my PC cannot find the host savannah.psi.ch within CIAE. Maybe it's the problem of our DNS server. Anyway, what is the IP of savannah?
  1433   Sun Oct 9 20:18:23 2005 Entry Exaos LeeExaos.Lee@gmail.comOtherAll2.6.0beta5The Chinese Language,Demo Configuration and Help Files
Hi, Stefan,
The days from Oct.1~7 are our Nation Day's vacation, so I delayed the translation to Chinese. I just finished these files today:

  1. eloglang.zh_CN-GB2312 : This is for simplified Chinese using GB2312 encoding.
  2. eloglang.zh_CN-UTF-8 : This is for simplified Chinese using UTF-8 encoding.
  3. eloghelp.zh-CN.html : Help file for elog in simplified Chinese.
  4. elcode_zh-CN.html : The help file for ELCode in simplified Chinese.
  5. elogd-zh_CN-GB2312.cfg : Demo configuration file for simplified Chinese with GB2312 encoding.
  6. elogd-zh_CN-UTF-8.cfg : Demo configuration file for simplified Chinese with UTF-8 encoding.

I have to provide the language files in different encodings because the elogd cannot creat new logbook file named in Chinese with GB2312 encoding under MacOS X. The default charset under MacOS X is UTF-16, and elogd works with UTF-8 while processing Chinese contents and logbooks named in Chinese.

I want to make elogd display the date in Chinese format. Please tell me howto.
Thanks.
Attachment 1: chinese_trans.tar.gz
  1434   Sun Oct 9 20:39:50 2005 Angy Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5"Error: Cannot find hostname"
I usually access hosts in LAN with their IPs. But elogd seems to prefer hostnames to IPs. I cannot ask each one to add the hostname to their system config file while they visit my host. I encounter several problems which seems to be related to the hostname resolution:
  • I can visit remote elog service through IP and port, but cannot submit entry and cannot open the config page remotely. For example, my powerbook's name is "exaos-pb-12" and its IP is 10.10.2.96. I run elogd on my PB and try to access it through URL http://10.10.2.96:8080/ on host 10.10.2.99. While I submit a new entry or open the config page, my firefox alway blames: "exaos-pb-12.local could not be found. Please check the name and try again."
  • Sometimes, all the images, colors are missing. It looks like that my firefox cannot find the correct URL of these images or CSS files. It might be the same problem of "cannot find hostname".
  1435   Sun Oct 9 20:43:31 2005 Angy Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5Cannot submit admin password while logbook is named in Chinese
As the title.
  1436   Sun Oct 9 20:49:41 2005 Blink Exaos LeeExaos.Lee@gmail.comRequestAll2.6.0beta5Some spell mistakes
I find some new strings from the warnings like this:

Quote:
Language error: string "HelpELCode" not found for language "chinese"


I have added these new string to the languages files in Chinese. I think:
"Enter name of hypelink" should be "Enter name of hyperlink".
  1438   Mon Oct 10 10:52:02 2005 Reply Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5Re: "Error: Cannot find hostname"
Yes, the "URL" works. Thanks!
  1444   Mon Oct 10 19:22:51 2005 Warning Exaos LeeExaos.Lee@gmail.comBug reportMac OSX2.6.0-betaInstall error on MacOS X
Executing "make" on MacOS X is OK, but "make install" failed due to the following error:
/usr/bin/install -m 0755 -d /usr/local/bin /usr/local/sbin /usr/local/man/man1/ /usr/local/man/man8/
/usr/bin/install -m 0755 -o bin -g bin elog elconv /usr/local/bin
install: bin: Invalid argument
make: *** [install] Error 67

The reason is that the account "bin" and group "bin" are missing on MacOS X. I also found that the following lines in "Makefile" doesn't work:
ifeq ($(OSTYPE),darwin)
CC = cc
endif

I have fixed this problem. The diff of Makefile as following:
diff Makefile.darwin Makefile.origin
====================================
24,25d23
< BINOWNER = bin
< BINGROUP = bin
30,31d27
< OSTYPE = $(shell uname)
<
40,43d35
< ifeq ($(OSTYPE),Darwin)
< OSTYPE=darwin
< endif
<
46,47d37
< BINOWNER = root
< BINGROUP = admin
89,90c79,80
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elog elconv $(DESTDIR)
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elogd $(SDESTDIR)
---
>       $(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
>       $(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)


The modified Makefiles have been attached.
Attachment 1: makefile_modified.tgz
ELOG V3.1.5-3fb85fa6